@openc3/vue-common 7.1.1 → 7.2.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.
Files changed (448) hide show
  1. package/dist/{ArrayWidget-CmKZQfWB.js → ArrayWidget-D1PArcGr.js} +5 -5
  2. package/dist/{ArrayWidget-CmKZQfWB.js.map → ArrayWidget-D1PArcGr.js.map} +1 -1
  3. package/dist/{ArrayWidget-D_zfyp9k.cjs → ArrayWidget-sQ40q9fv.cjs} +2 -2
  4. package/dist/{ArrayWidget-D_zfyp9k.cjs.map → ArrayWidget-sQ40q9fv.cjs.map} +1 -1
  5. package/dist/{ArrayplotWidget-CK5o4lO8.cjs → ArrayplotWidget-CEBmTpZH.cjs} +2 -2
  6. package/dist/{ArrayplotWidget-CK5o4lO8.cjs.map → ArrayplotWidget-CEBmTpZH.cjs.map} +1 -1
  7. package/dist/{ArrayplotWidget-D5McM1rY.js → ArrayplotWidget-DPUPy0qM.js} +5 -5
  8. package/dist/{ArrayplotWidget-D5McM1rY.js.map → ArrayplotWidget-DPUPy0qM.js.map} +1 -1
  9. package/dist/{BarColumn-BsS8Fdyl.cjs → BarColumn-BHCgIHhm.cjs} +2 -2
  10. package/dist/{BarColumn-BsS8Fdyl.cjs.map → BarColumn-BHCgIHhm.cjs.map} +1 -1
  11. package/dist/{BarColumn-BtP1cQcf.js → BarColumn-BpdscDQf.js} +3 -3
  12. package/dist/{BarColumn-BtP1cQcf.js.map → BarColumn-BpdscDQf.js.map} +1 -1
  13. package/dist/{BlockWidget-CtBgkMYu.cjs → BlockWidget-BzUgw2-i.cjs} +2 -2
  14. package/dist/{BlockWidget-CtBgkMYu.cjs.map → BlockWidget-BzUgw2-i.cjs.map} +1 -1
  15. package/dist/{BlockWidget-BKMse4hP.js → BlockWidget-_VUsK5T9.js} +5 -5
  16. package/dist/{BlockWidget-BKMse4hP.js.map → BlockWidget-_VUsK5T9.js.map} +1 -1
  17. package/dist/{ButtonWidget-hNa6zzSd.cjs → ButtonWidget-D8BhMKz_.cjs} +3 -3
  18. package/dist/{ButtonWidget-hNa6zzSd.cjs.map → ButtonWidget-D8BhMKz_.cjs.map} +1 -1
  19. package/dist/{ButtonWidget-BLNVL46w.js → ButtonWidget-DE41o-cg.js} +7 -7
  20. package/dist/{ButtonWidget-BLNVL46w.js.map → ButtonWidget-DE41o-cg.js.map} +1 -1
  21. package/dist/{CanvasWidget-1jy1JskS.js → CanvasWidget-BEi8h3Mq.js} +2 -2
  22. package/dist/{CanvasWidget-1jy1JskS.js.map → CanvasWidget-BEi8h3Mq.js.map} +1 -1
  23. package/dist/{CanvasWidget-BldZDkOl.cjs → CanvasWidget-DplsGt-k.cjs} +2 -2
  24. package/dist/{CanvasWidget-BldZDkOl.cjs.map → CanvasWidget-DplsGt-k.cjs.map} +1 -1
  25. package/dist/{CanvasdotWidget-D1yQLRDN.cjs → CanvasdotWidget-CLzrz9dr.cjs} +2 -2
  26. package/dist/{CanvasdotWidget-D1yQLRDN.cjs.map → CanvasdotWidget-CLzrz9dr.cjs.map} +1 -1
  27. package/dist/{CanvasdotWidget-DxuFGoWt.js → CanvasdotWidget-eZuMgkhL.js} +2 -2
  28. package/dist/{CanvasdotWidget-DxuFGoWt.js.map → CanvasdotWidget-eZuMgkhL.js.map} +1 -1
  29. package/dist/{CanvasimageWidget-D8DConb8.cjs → CanvasimageWidget-66HcpffG.cjs} +2 -2
  30. package/dist/{CanvasimageWidget-D8DConb8.cjs.map → CanvasimageWidget-66HcpffG.cjs.map} +1 -1
  31. package/dist/{CanvasimageWidget-B_JxCI_f.js → CanvasimageWidget-COv_Qnc8.js} +3 -3
  32. package/dist/{CanvasimageWidget-B_JxCI_f.js.map → CanvasimageWidget-COv_Qnc8.js.map} +1 -1
  33. package/dist/{CanvasimagevalueWidget-DwHIZzWo.js → CanvasimagevalueWidget-BhuUqLOo.js} +3 -3
  34. package/dist/{CanvasimagevalueWidget-DwHIZzWo.js.map → CanvasimagevalueWidget-BhuUqLOo.js.map} +1 -1
  35. package/dist/{CanvasimagevalueWidget-BL08pdLh.cjs → CanvasimagevalueWidget-DcoH1Rzz.cjs} +2 -2
  36. package/dist/{CanvasimagevalueWidget-BL08pdLh.cjs.map → CanvasimagevalueWidget-DcoH1Rzz.cjs.map} +1 -1
  37. package/dist/CanvaslabelWidget-DtvbgeYH.js +27 -0
  38. package/dist/CanvaslabelWidget-DtvbgeYH.js.map +1 -0
  39. package/dist/CanvaslabelWidget-wcraOzwr.cjs +2 -0
  40. package/dist/CanvaslabelWidget-wcraOzwr.cjs.map +1 -0
  41. package/dist/{CanvaslabelvalueWidget-D1-kZsi-.js → CanvaslabelvalueWidget-C_FRIeNb.js} +2 -2
  42. package/dist/{CanvaslabelvalueWidget-D1-kZsi-.js.map → CanvaslabelvalueWidget-C_FRIeNb.js.map} +1 -1
  43. package/dist/{CanvaslabelvalueWidget-BhL55tjO.cjs → CanvaslabelvalueWidget-CkkDoL8i.cjs} +2 -2
  44. package/dist/{CanvaslabelvalueWidget-BhL55tjO.cjs.map → CanvaslabelvalueWidget-CkkDoL8i.cjs.map} +1 -1
  45. package/dist/{CanvaslineWidget-Din8LMyF.js → CanvaslineWidget-D1K_6mAY.js} +2 -2
  46. package/dist/{CanvaslineWidget-Din8LMyF.js.map → CanvaslineWidget-D1K_6mAY.js.map} +1 -1
  47. package/dist/{CanvaslineWidget-DtkdP3Bb.cjs → CanvaslineWidget-Da1Bf4Df.cjs} +2 -2
  48. package/dist/{CanvaslineWidget-DtkdP3Bb.cjs.map → CanvaslineWidget-Da1Bf4Df.cjs.map} +1 -1
  49. package/dist/{CanvaslinevalueWidget-ELgzjZeY.cjs → CanvaslinevalueWidget-ChY93jQz.cjs} +2 -2
  50. package/dist/{CanvaslinevalueWidget-ELgzjZeY.cjs.map → CanvaslinevalueWidget-ChY93jQz.cjs.map} +1 -1
  51. package/dist/{CanvaslinevalueWidget-DOrasE2j.js → CanvaslinevalueWidget-D4eaxWhR.js} +2 -2
  52. package/dist/{CanvaslinevalueWidget-DOrasE2j.js.map → CanvaslinevalueWidget-D4eaxWhR.js.map} +1 -1
  53. package/dist/{CheckbuttonWidget-A07FryqU.js → CheckbuttonWidget-ByxMDkiS.js} +2 -2
  54. package/dist/{CheckbuttonWidget-A07FryqU.js.map → CheckbuttonWidget-ByxMDkiS.js.map} +1 -1
  55. package/dist/{CheckbuttonWidget-BFjaAmt-.cjs → CheckbuttonWidget-C1iDNOXO.cjs} +2 -2
  56. package/dist/{CheckbuttonWidget-BFjaAmt-.cjs.map → CheckbuttonWidget-C1iDNOXO.cjs.map} +1 -1
  57. package/dist/{ClassificationBanners-ClraI2Ns.js → ClassificationBanners-By6aaadq.js} +2 -2
  58. package/dist/{ClassificationBanners-ClraI2Ns.js.map → ClassificationBanners-By6aaadq.js.map} +1 -1
  59. package/dist/{ClassificationBanners-DCL0KBCW.cjs → ClassificationBanners-D0wqqFTp.cjs} +2 -2
  60. package/dist/{ClassificationBanners-DCL0KBCW.cjs.map → ClassificationBanners-D0wqqFTp.cjs.map} +1 -1
  61. package/dist/{ComboboxWidget-CqZ79bCh.cjs → ComboboxWidget-B6kRwkHm.cjs} +2 -2
  62. package/dist/{ComboboxWidget-CqZ79bCh.cjs.map → ComboboxWidget-B6kRwkHm.cjs.map} +1 -1
  63. package/dist/{ComboboxWidget-xayce-aY.js → ComboboxWidget-CAGxGv2r.js} +2 -2
  64. package/dist/{ComboboxWidget-xayce-aY.js.map → ComboboxWidget-CAGxGv2r.js.map} +1 -1
  65. package/dist/{CriticalCmdDialog-ne9rOh2L.js → CriticalCmdDialog-BOA6-qrE.js} +4 -4
  66. package/dist/{CriticalCmdDialog-ne9rOh2L.js.map → CriticalCmdDialog-BOA6-qrE.js.map} +1 -1
  67. package/dist/{CriticalCmdDialog-DmhxVXdn.cjs → CriticalCmdDialog-DB9iMK3r.cjs} +2 -2
  68. package/dist/{CriticalCmdDialog-DmhxVXdn.cjs.map → CriticalCmdDialog-DB9iMK3r.cjs.map} +1 -1
  69. package/dist/{DateWidget-xU2zuIE3.cjs → DateWidget-C3iCuWog.cjs} +2 -2
  70. package/dist/{DateWidget-xU2zuIE3.cjs.map → DateWidget-C3iCuWog.cjs.map} +1 -1
  71. package/dist/{DateWidget-DrYZJta_.js → DateWidget-DkNWx28s.js} +4 -4
  72. package/dist/{DateWidget-DrYZJta_.js.map → DateWidget-DkNWx28s.js.map} +1 -1
  73. package/dist/{DetailsDialog-V6X078bY.cjs → DetailsDialog-C0q3d_JF.cjs} +2 -2
  74. package/dist/{DetailsDialog-V6X078bY.cjs.map → DetailsDialog-C0q3d_JF.cjs.map} +1 -1
  75. package/dist/{DetailsDialog-CFCaJZWz.js → DetailsDialog-F4KgYM6m.js} +10 -10
  76. package/dist/{DetailsDialog-CFCaJZWz.js.map → DetailsDialog-F4KgYM6m.js.map} +1 -1
  77. package/dist/EventListDialog-CDZFdKNU.cjs +2 -0
  78. package/dist/EventListDialog-CDZFdKNU.cjs.map +1 -0
  79. package/dist/{EventListDialog-CIc8RCyY.js → EventListDialog-g0Y3PS7i.js} +26 -23
  80. package/dist/EventListDialog-g0Y3PS7i.js.map +1 -0
  81. package/dist/{FilechecksumWidget-CTf0XGST.js → FilechecksumWidget-DSfNEnDJ.js} +6 -6
  82. package/dist/{FilechecksumWidget-CTf0XGST.js.map → FilechecksumWidget-DSfNEnDJ.js.map} +1 -1
  83. package/dist/{FilechecksumWidget-JeWqA6dh.cjs → FilechecksumWidget-DxpkQwol.cjs} +2 -2
  84. package/dist/{FilechecksumWidget-JeWqA6dh.cjs.map → FilechecksumWidget-DxpkQwol.cjs.map} +1 -1
  85. package/dist/{FiledisplayWidget-DLJuesmU.js → FiledisplayWidget-D2cxMmrP.js} +5 -5
  86. package/dist/{FiledisplayWidget-DLJuesmU.js.map → FiledisplayWidget-D2cxMmrP.js.map} +1 -1
  87. package/dist/{FiledisplayWidget-B6XFz4P6.cjs → FiledisplayWidget-DZ186686.cjs} +2 -2
  88. package/dist/{FiledisplayWidget-B6XFz4P6.cjs.map → FiledisplayWidget-DZ186686.cjs.map} +1 -1
  89. package/dist/{FormatvalueWidget-DODmUWPH.js → FormatvalueWidget-6-bj_PJO.js} +3 -3
  90. package/dist/{FormatvalueWidget-DODmUWPH.js.map → FormatvalueWidget-6-bj_PJO.js.map} +1 -1
  91. package/dist/{FormatvalueWidget-DHHKnH8A.cjs → FormatvalueWidget-DYvEvnXQ.cjs} +2 -2
  92. package/dist/{FormatvalueWidget-DHHKnH8A.cjs.map → FormatvalueWidget-DYvEvnXQ.cjs.map} +1 -1
  93. package/dist/{Graph-Cwghj5Pc.js → Graph-Cz0Ns1FD.js} +9 -9
  94. package/dist/{Graph-Cwghj5Pc.js.map → Graph-Cz0Ns1FD.js.map} +1 -1
  95. package/dist/{Graph-BtMRutcx.cjs → Graph-Dz9GecGm.cjs} +2 -2
  96. package/dist/{Graph-BtMRutcx.cjs.map → Graph-Dz9GecGm.cjs.map} +1 -1
  97. package/dist/{GraphWidget-Rc-fnHCt.js → GraphWidget-COXK3Dab.js} +5 -5
  98. package/dist/{GraphWidget-Rc-fnHCt.js.map → GraphWidget-COXK3Dab.js.map} +1 -1
  99. package/dist/{GraphWidget-CROq9BtI.cjs → GraphWidget-Duz0GLrA.cjs} +2 -2
  100. package/dist/{GraphWidget-CROq9BtI.cjs.map → GraphWidget-Duz0GLrA.cjs.map} +1 -1
  101. package/dist/{HorizontalWidget-CZqN6UYp.js → HorizontalWidget-C9UFBPsk.js} +2 -2
  102. package/dist/{HorizontalWidget-CZqN6UYp.js.map → HorizontalWidget-C9UFBPsk.js.map} +1 -1
  103. package/dist/{HorizontalWidget-TdOhYEM1.cjs → HorizontalWidget-DXqgBfii.cjs} +2 -2
  104. package/dist/{HorizontalWidget-TdOhYEM1.cjs.map → HorizontalWidget-DXqgBfii.cjs.map} +1 -1
  105. package/dist/{HorizontalboxWidget-JzKHl3o_.cjs → HorizontalboxWidget-B-7LJM-K.cjs} +2 -2
  106. package/dist/{HorizontalboxWidget-JzKHl3o_.cjs.map → HorizontalboxWidget-B-7LJM-K.cjs.map} +1 -1
  107. package/dist/{HorizontalboxWidget-BV7cyhwN.js → HorizontalboxWidget-CWLfmRtr.js} +5 -5
  108. package/dist/{HorizontalboxWidget-BV7cyhwN.js.map → HorizontalboxWidget-CWLfmRtr.js.map} +1 -1
  109. package/dist/{HorizontallineWidget-Bln3Q-pv.cjs → HorizontallineWidget-CQ_PbiXH.cjs} +2 -2
  110. package/dist/{HorizontallineWidget-Bln3Q-pv.cjs.map → HorizontallineWidget-CQ_PbiXH.cjs.map} +1 -1
  111. package/dist/{HorizontallineWidget-ChDLR_8D.js → HorizontallineWidget-DeFkOaYO.js} +2 -2
  112. package/dist/{HorizontallineWidget-ChDLR_8D.js.map → HorizontallineWidget-DeFkOaYO.js.map} +1 -1
  113. package/dist/{IframeWidget-DmCr3YW6.cjs → IframeWidget-BAIs-bzc.cjs} +2 -2
  114. package/dist/{IframeWidget-DmCr3YW6.cjs.map → IframeWidget-BAIs-bzc.cjs.map} +1 -1
  115. package/dist/{IframeWidget-BdOS5sm_.js → IframeWidget-Bn9eGzrq.js} +2 -2
  116. package/dist/{IframeWidget-BdOS5sm_.js.map → IframeWidget-Bn9eGzrq.js.map} +1 -1
  117. package/dist/{ImageLoader-D0-l7mY3.cjs → ImageLoader-C8ZJSOzF.cjs} +2 -2
  118. package/dist/{ImageLoader-D0-l7mY3.cjs.map → ImageLoader-C8ZJSOzF.cjs.map} +1 -1
  119. package/dist/{ImageLoader-CnlQ4xLd.js → ImageLoader-_gAudhVo.js} +2 -2
  120. package/dist/{ImageLoader-CnlQ4xLd.js.map → ImageLoader-_gAudhVo.js.map} +1 -1
  121. package/dist/{ImageviewerWidget-B-TRYlMs.cjs → ImageviewerWidget-BDxMpWzy.cjs} +2 -2
  122. package/dist/{ImageviewerWidget-B-TRYlMs.cjs.map → ImageviewerWidget-BDxMpWzy.cjs.map} +1 -1
  123. package/dist/{ImageviewerWidget-DoJBe5eZ.js → ImageviewerWidget-BUWhF32Z.js} +2 -2
  124. package/dist/{ImageviewerWidget-DoJBe5eZ.js.map → ImageviewerWidget-BUWhF32Z.js.map} +1 -1
  125. package/dist/{InterfacesTab-CITUnMac.js → InterfacesTab-CZsnR6xB.js} +4 -4
  126. package/dist/{InterfacesTab-CITUnMac.js.map → InterfacesTab-CZsnR6xB.js.map} +1 -1
  127. package/dist/{InterfacesTab-CIg-DS_I.cjs → InterfacesTab-oFTUZfti.cjs} +2 -2
  128. package/dist/{InterfacesTab-CIg-DS_I.cjs.map → InterfacesTab-oFTUZfti.cjs.map} +1 -1
  129. package/dist/{LabelWidget-DYwcB_S4.js → LabelWidget-BhzkN06D.js} +2 -2
  130. package/dist/{LabelWidget-DYwcB_S4.js.map → LabelWidget-BhzkN06D.js.map} +1 -1
  131. package/dist/{LabelWidget-B695rUxB.cjs → LabelWidget-agzCO9Rx.cjs} +2 -2
  132. package/dist/{LabelWidget-B695rUxB.cjs.map → LabelWidget-agzCO9Rx.cjs.map} +1 -1
  133. package/dist/{LabelledWidget-ubrlqe_n.cjs → LabelledWidget-CmlB3Yd-.cjs} +2 -2
  134. package/dist/{LabelledWidget-ubrlqe_n.cjs.map → LabelledWidget-CmlB3Yd-.cjs.map} +1 -1
  135. package/dist/{LabelledWidget-D4N2gPxJ.js → LabelledWidget-vx8NvW1b.js} +4 -4
  136. package/dist/{LabelledWidget-D4N2gPxJ.js.map → LabelledWidget-vx8NvW1b.js.map} +1 -1
  137. package/dist/{LabelprogressbarWidget-y__BgVQk.cjs → LabelprogressbarWidget-BB-420i0.cjs} +2 -2
  138. package/dist/{LabelprogressbarWidget-y__BgVQk.cjs.map → LabelprogressbarWidget-BB-420i0.cjs.map} +1 -1
  139. package/dist/{LabelprogressbarWidget-CRnteLAo.js → LabelprogressbarWidget-t5PvKuS4.js} +4 -4
  140. package/dist/{LabelprogressbarWidget-CRnteLAo.js.map → LabelprogressbarWidget-t5PvKuS4.js.map} +1 -1
  141. package/dist/{LabelsparklineWidget-B7h0ndrm.cjs → LabelsparklineWidget-CGg51THo.cjs} +2 -2
  142. package/dist/{LabelsparklineWidget-B7h0ndrm.cjs.map → LabelsparklineWidget-CGg51THo.cjs.map} +1 -1
  143. package/dist/{LabelsparklineWidget-Bbjjio1S.js → LabelsparklineWidget-CebbEH-j.js} +4 -4
  144. package/dist/{LabelsparklineWidget-Bbjjio1S.js.map → LabelsparklineWidget-CebbEH-j.js.map} +1 -1
  145. package/dist/{LabelvalueWidget-Bc6HtTMO.js → LabelvalueWidget-Cbs1DBK2.js} +4 -4
  146. package/dist/{LabelvalueWidget-Bc6HtTMO.js.map → LabelvalueWidget-Cbs1DBK2.js.map} +1 -1
  147. package/dist/{LabelvalueWidget-BE8r18n2.cjs → LabelvalueWidget-xIp1W4ZB.cjs} +2 -2
  148. package/dist/{LabelvalueWidget-BE8r18n2.cjs.map → LabelvalueWidget-xIp1W4ZB.cjs.map} +1 -1
  149. package/dist/{LabelvaluedescWidget-D5aDNr1o.js → LabelvaluedescWidget-B7OIOGc0.js} +5 -5
  150. package/dist/{LabelvaluedescWidget-D5aDNr1o.js.map → LabelvaluedescWidget-B7OIOGc0.js.map} +1 -1
  151. package/dist/{LabelvaluedescWidget-CEZeqLAB.cjs → LabelvaluedescWidget-DE5cZcfN.cjs} +2 -2
  152. package/dist/{LabelvaluedescWidget-CEZeqLAB.cjs.map → LabelvaluedescWidget-DE5cZcfN.cjs.map} +1 -1
  153. package/dist/{LabelvaluelimitsbarWidget-CMnJoNKz.js → LabelvaluelimitsbarWidget-C57kf-oQ.js} +4 -4
  154. package/dist/{LabelvaluelimitsbarWidget-CMnJoNKz.js.map → LabelvaluelimitsbarWidget-C57kf-oQ.js.map} +1 -1
  155. package/dist/{LabelvaluelimitsbarWidget-BhLZsBy5.cjs → LabelvaluelimitsbarWidget-RlJt1ReS.cjs} +2 -2
  156. package/dist/{LabelvaluelimitsbarWidget-BhLZsBy5.cjs.map → LabelvaluelimitsbarWidget-RlJt1ReS.cjs.map} +1 -1
  157. package/dist/{LabelvaluelimitscolumnWidget-7MEUPhe4.cjs → LabelvaluelimitscolumnWidget-B-TbUVpY.cjs} +2 -2
  158. package/dist/{LabelvaluelimitscolumnWidget-7MEUPhe4.cjs.map → LabelvaluelimitscolumnWidget-B-TbUVpY.cjs.map} +1 -1
  159. package/dist/{LabelvaluelimitscolumnWidget-R5ofG4q1.js → LabelvaluelimitscolumnWidget-BRlNDEqp.js} +5 -5
  160. package/dist/{LabelvaluelimitscolumnWidget-R5ofG4q1.js.map → LabelvaluelimitscolumnWidget-BRlNDEqp.js.map} +1 -1
  161. package/dist/{LabelvaluerangebarWidget-49fO9s25.cjs → LabelvaluerangebarWidget-BK08A6_N.cjs} +2 -2
  162. package/dist/{LabelvaluerangebarWidget-49fO9s25.cjs.map → LabelvaluerangebarWidget-BK08A6_N.cjs.map} +1 -1
  163. package/dist/{LabelvaluerangebarWidget-Qa3R2_4p.js → LabelvaluerangebarWidget-Pt_evm3v.js} +4 -4
  164. package/dist/{LabelvaluerangebarWidget-Qa3R2_4p.js.map → LabelvaluerangebarWidget-Pt_evm3v.js.map} +1 -1
  165. package/dist/{Layout-BBLYT0gE.js → Layout-CKmC50QZ.js} +2 -2
  166. package/dist/{Layout-BBLYT0gE.js.map → Layout-CKmC50QZ.js.map} +1 -1
  167. package/dist/{Layout-CilReWuB.cjs → Layout-CkSElGRo.cjs} +2 -2
  168. package/dist/{Layout-CilReWuB.cjs.map → Layout-CkSElGRo.cjs.map} +1 -1
  169. package/dist/{LedWidget-CL2dOxb7.js → LedWidget-D1lmNXpi.js} +5 -5
  170. package/dist/{LedWidget-CL2dOxb7.js.map → LedWidget-D1lmNXpi.js.map} +1 -1
  171. package/dist/{LedWidget-CioTReXJ.cjs → LedWidget-DaFZrKbt.cjs} +2 -2
  172. package/dist/{LedWidget-CioTReXJ.cjs.map → LedWidget-DaFZrKbt.cjs.map} +1 -1
  173. package/dist/{LimitsBar-Akh9OBX8.cjs → LimitsBar-Bkv0A0XE.cjs} +2 -2
  174. package/dist/{LimitsBar-Akh9OBX8.cjs.map → LimitsBar-Bkv0A0XE.cjs.map} +1 -1
  175. package/dist/{LimitsBar-59_qNqi8.js → LimitsBar-D5IZu7eX.js} +2 -2
  176. package/dist/{LimitsBar-59_qNqi8.js.map → LimitsBar-D5IZu7eX.js.map} +1 -1
  177. package/dist/{LimitsbarWidget-Bs2svA1K.cjs → LimitsbarWidget-B_cIeVXW.cjs} +2 -2
  178. package/dist/{LimitsbarWidget-Bs2svA1K.cjs.map → LimitsbarWidget-B_cIeVXW.cjs.map} +1 -1
  179. package/dist/{LimitsbarWidget-C0N2611W.js → LimitsbarWidget-VpxQXE-e.js} +3 -3
  180. package/dist/{LimitsbarWidget-C0N2611W.js.map → LimitsbarWidget-VpxQXE-e.js.map} +1 -1
  181. package/dist/{LimitscolorWidget-GfNCPo3i.js → LimitscolorWidget-79P41CX7.js} +5 -5
  182. package/dist/{LimitscolorWidget-GfNCPo3i.js.map → LimitscolorWidget-79P41CX7.js.map} +1 -1
  183. package/dist/{LimitscolorWidget-G_3Sc7Y3.cjs → LimitscolorWidget-z2tnAyFH.cjs} +2 -2
  184. package/dist/{LimitscolorWidget-G_3Sc7Y3.cjs.map → LimitscolorWidget-z2tnAyFH.cjs.map} +1 -1
  185. package/dist/{LimitscolumnWidget-ut6NX68S.js → LimitscolumnWidget-BFDXhJeZ.js} +2 -2
  186. package/dist/{LimitscolumnWidget-ut6NX68S.js.map → LimitscolumnWidget-BFDXhJeZ.js.map} +1 -1
  187. package/dist/{LimitscolumnWidget-B3OcZYau.cjs → LimitscolumnWidget-ClnN8sMJ.cjs} +2 -2
  188. package/dist/{LimitscolumnWidget-B3OcZYau.cjs.map → LimitscolumnWidget-ClnN8sMJ.cjs.map} +1 -1
  189. package/dist/{LinegraphWidget-BDda9hjY.cjs → LinegraphWidget-C-yffvsK.cjs} +2 -2
  190. package/dist/{LinegraphWidget-BDda9hjY.cjs.map → LinegraphWidget-C-yffvsK.cjs.map} +1 -1
  191. package/dist/{LinegraphWidget-DaCyvdnI.js → LinegraphWidget-VqkpOlws.js} +5 -5
  192. package/dist/{LinegraphWidget-DaCyvdnI.js.map → LinegraphWidget-VqkpOlws.js.map} +1 -1
  193. package/dist/{MatrixbycolumnsWidget-Cni63alW.js → MatrixbycolumnsWidget--ihvirDP.js} +3 -3
  194. package/dist/{MatrixbycolumnsWidget-Cni63alW.js.map → MatrixbycolumnsWidget--ihvirDP.js.map} +1 -1
  195. package/dist/{MatrixbycolumnsWidget-DibzZkF7.cjs → MatrixbycolumnsWidget-DGqVDsdg.cjs} +2 -2
  196. package/dist/{MatrixbycolumnsWidget-DibzZkF7.cjs.map → MatrixbycolumnsWidget-DGqVDsdg.cjs.map} +1 -1
  197. package/dist/{MicroservicesTab-CV_35ag8.cjs → MicroservicesTab-BEGNdUG3.cjs} +3 -3
  198. package/dist/{MicroservicesTab-CV_35ag8.cjs.map → MicroservicesTab-BEGNdUG3.cjs.map} +1 -1
  199. package/dist/{MicroservicesTab-gCXt9Jlh.js → MicroservicesTab-CQPpb7j1.js} +15 -15
  200. package/dist/{MicroservicesTab-gCXt9Jlh.js.map → MicroservicesTab-CQPpb7j1.js.map} +1 -1
  201. package/dist/{OpenC3TimePicker-WVlNQdKk.js → OpenC3TimePicker-B0lAIU91.js} +3 -3
  202. package/dist/{OpenC3TimePicker-WVlNQdKk.js.map → OpenC3TimePicker-B0lAIU91.js.map} +1 -1
  203. package/dist/{OpenC3TimePicker-BAzvaP-g.cjs → OpenC3TimePicker-DXhyDkOv.cjs} +2 -2
  204. package/dist/{OpenC3TimePicker-BAzvaP-g.cjs.map → OpenC3TimePicker-DXhyDkOv.cjs.map} +1 -1
  205. package/dist/{Openc3Screen-GLWnn7RG.cjs → Openc3Screen-051vwmN8.cjs} +5 -5
  206. package/dist/{Openc3Screen-GLWnn7RG.cjs.map → Openc3Screen-051vwmN8.cjs.map} +1 -1
  207. package/dist/{Openc3Screen-C4DL3LBY.js → Openc3Screen-Bew5BPgc.js} +8 -8
  208. package/dist/{Openc3Screen-C4DL3LBY.js.map → Openc3Screen-Bew5BPgc.js.map} +1 -1
  209. package/dist/{OutputDialog-DN4Qy6LH.cjs → OutputDialog-CgnRA-f-.cjs} +2 -2
  210. package/dist/{OutputDialog-DN4Qy6LH.cjs.map → OutputDialog-CgnRA-f-.cjs.map} +1 -1
  211. package/dist/{OutputDialog-wOewjnk2.js → OutputDialog-DtrpwjGL.js} +3 -3
  212. package/dist/{OutputDialog-wOewjnk2.js.map → OutputDialog-DtrpwjGL.js.map} +1 -1
  213. package/dist/{PackagesTab-D6UNkpw9.cjs → PackagesTab-BBFiRQN-.cjs} +2 -2
  214. package/dist/{PackagesTab-D6UNkpw9.cjs.map → PackagesTab-BBFiRQN-.cjs.map} +1 -1
  215. package/dist/{PackagesTab-DmsuQSmU.js → PackagesTab-DQ5s3nfh.js} +21 -21
  216. package/dist/{PackagesTab-DmsuQSmU.js.map → PackagesTab-DQ5s3nfh.js.map} +1 -1
  217. package/dist/{PluginsTab-CLQ0EbDl.js → PluginsTab-1tlTx4k1.js} +7 -7
  218. package/dist/{PluginsTab-CLQ0EbDl.js.map → PluginsTab-1tlTx4k1.js.map} +1 -1
  219. package/dist/{PluginsTab-D_cFEd7L.cjs → PluginsTab-DN_iK1D9.cjs} +4 -4
  220. package/dist/{PluginsTab-D_cFEd7L.cjs.map → PluginsTab-DN_iK1D9.cjs.map} +1 -1
  221. package/dist/{ProgressbarWidget-CYyOjBLI.cjs → ProgressbarWidget-B-ScYWwv.cjs} +2 -2
  222. package/dist/{ProgressbarWidget-CYyOjBLI.cjs.map → ProgressbarWidget-B-ScYWwv.cjs.map} +1 -1
  223. package/dist/{ProgressbarWidget-BWqCsk87.js → ProgressbarWidget-BIB3r9SL.js} +2 -2
  224. package/dist/{ProgressbarWidget-BWqCsk87.js.map → ProgressbarWidget-BIB3r9SL.js.map} +1 -1
  225. package/dist/{RadiobuttonWidget-Dza2r34f.js → RadiobuttonWidget-C5rxLM7K.js} +2 -2
  226. package/dist/{RadiobuttonWidget-Dza2r34f.js.map → RadiobuttonWidget-C5rxLM7K.js.map} +1 -1
  227. package/dist/{RadiobuttonWidget-zyCcviRt.cjs → RadiobuttonWidget-EBzI13by.cjs} +2 -2
  228. package/dist/{RadiobuttonWidget-zyCcviRt.cjs.map → RadiobuttonWidget-EBzI13by.cjs.map} +1 -1
  229. package/dist/{RadiogroupWidget-BK-b4dDV.cjs → RadiogroupWidget-BnT62bxt.cjs} +2 -2
  230. package/dist/{RadiogroupWidget-BK-b4dDV.cjs.map → RadiogroupWidget-BnT62bxt.cjs.map} +1 -1
  231. package/dist/{RadiogroupWidget-DWmZMNmr.js → RadiogroupWidget-CciTCv1U.js} +2 -2
  232. package/dist/{RadiogroupWidget-DWmZMNmr.js.map → RadiogroupWidget-CciTCv1U.js.map} +1 -1
  233. package/dist/{RangebarWidget-BKTLrzKd.cjs → RangebarWidget-Can_BQBL.cjs} +2 -2
  234. package/dist/{RangebarWidget-BKTLrzKd.cjs.map → RangebarWidget-Can_BQBL.cjs.map} +1 -1
  235. package/dist/{RangebarWidget-DsGCC1x7.js → RangebarWidget-MPQYi2Km.js} +2 -2
  236. package/dist/{RangebarWidget-DsGCC1x7.js.map → RangebarWidget-MPQYi2Km.js.map} +1 -1
  237. package/dist/{RedisTab-2wFbDYIY.cjs → RedisTab-Bkj57lOf.cjs} +2 -2
  238. package/dist/{RedisTab-2wFbDYIY.cjs.map → RedisTab-Bkj57lOf.cjs.map} +1 -1
  239. package/dist/{RedisTab-9hUKvLT7.js → RedisTab-DAeGow_e.js} +2 -2
  240. package/dist/{RedisTab-9hUKvLT7.js.map → RedisTab-DAeGow_e.js.map} +1 -1
  241. package/dist/{RollupWidget-DGElKXm3.js → RollupWidget-CfjGAhzg.js} +2 -2
  242. package/dist/{RollupWidget-DGElKXm3.js.map → RollupWidget-CfjGAhzg.js.map} +1 -1
  243. package/dist/{RollupWidget-B7x7pcGm.cjs → RollupWidget-IDDWGLom.cjs} +2 -2
  244. package/dist/{RollupWidget-B7x7pcGm.cjs.map → RollupWidget-IDDWGLom.cjs.map} +1 -1
  245. package/dist/{RoutersTab-PRDpocd3.cjs → RoutersTab-BtfVCL1C.cjs} +2 -2
  246. package/dist/{RoutersTab-PRDpocd3.cjs.map → RoutersTab-BtfVCL1C.cjs.map} +1 -1
  247. package/dist/{RoutersTab-Dpq_F5it.js → RoutersTab-G4WKtUOo.js} +4 -4
  248. package/dist/{RoutersTab-Dpq_F5it.js.map → RoutersTab-G4WKtUOo.js.map} +1 -1
  249. package/dist/{ScriptChooser-BIPvMV1Z.cjs → ScriptChooser-B6qtMbkx.cjs} +2 -2
  250. package/dist/{ScriptChooser-BIPvMV1Z.cjs.map → ScriptChooser-B6qtMbkx.cjs.map} +1 -1
  251. package/dist/{ScriptChooser-DSb-nUOY.js → ScriptChooser-BwYB6FOa.js} +16 -16
  252. package/dist/{ScriptChooser-DSb-nUOY.js.map → ScriptChooser-BwYB6FOa.js.map} +1 -1
  253. package/dist/{ScrollwindowWidget-CxCp6zl7.cjs → ScrollwindowWidget-BPTaWCGg.cjs} +2 -2
  254. package/dist/{ScrollwindowWidget-CxCp6zl7.cjs.map → ScrollwindowWidget-BPTaWCGg.cjs.map} +1 -1
  255. package/dist/{ScrollwindowWidget-BvKT59rV.js → ScrollwindowWidget-CupaygNN.js} +2 -2
  256. package/dist/{ScrollwindowWidget-BvKT59rV.js.map → ScrollwindowWidget-CupaygNN.js.map} +1 -1
  257. package/dist/{SecretsTab-DAZeb63H.js → SecretsTab-C9xAxuwO.js} +4 -4
  258. package/dist/{SecretsTab-DAZeb63H.js.map → SecretsTab-C9xAxuwO.js.map} +1 -1
  259. package/dist/{SecretsTab-CY-73DBl.cjs → SecretsTab-CRC8DUz8.cjs} +2 -2
  260. package/dist/{SecretsTab-CY-73DBl.cjs.map → SecretsTab-CRC8DUz8.cjs.map} +1 -1
  261. package/dist/{SettingsTab-CHcHYnay.js → SettingsTab-BUdeAh4o.js} +5 -5
  262. package/dist/{SettingsTab-CHcHYnay.js.map → SettingsTab-BUdeAh4o.js.map} +1 -1
  263. package/dist/{SettingsTab-BBi3rofi.cjs → SettingsTab-CXoTKykc.cjs} +2 -2
  264. package/dist/{SettingsTab-BBi3rofi.cjs.map → SettingsTab-CXoTKykc.cjs.map} +1 -1
  265. package/dist/{SignalWidget-NxN9VFAv.cjs → SignalWidget-BbXnGcy9.cjs} +2 -2
  266. package/dist/{SignalWidget-NxN9VFAv.cjs.map → SignalWidget-BbXnGcy9.cjs.map} +1 -1
  267. package/dist/{SignalWidget-DRAFunW0.js → SignalWidget-C-qecoTO.js} +2 -2
  268. package/dist/{SignalWidget-DRAFunW0.js.map → SignalWidget-C-qecoTO.js.map} +1 -1
  269. package/dist/{SimpleTextDialog-B9KuFMP5.cjs → SimpleTextDialog-5wMXYOXj.cjs} +2 -2
  270. package/dist/{SimpleTextDialog-B9KuFMP5.cjs.map → SimpleTextDialog-5wMXYOXj.cjs.map} +1 -1
  271. package/dist/{SimpleTextDialog-B7XASoZh.js → SimpleTextDialog-C-0ZC2bs.js} +2 -2
  272. package/dist/{SimpleTextDialog-B7XASoZh.js.map → SimpleTextDialog-C-0ZC2bs.js.map} +1 -1
  273. package/dist/{SpacerWidget-DnRV7NSQ.cjs → SpacerWidget-BSJsjARt.cjs} +2 -2
  274. package/dist/{SpacerWidget-DnRV7NSQ.cjs.map → SpacerWidget-BSJsjARt.cjs.map} +1 -1
  275. package/dist/{SpacerWidget-CUGpXBpA.js → SpacerWidget-VVkOCb6N.js} +2 -2
  276. package/dist/{SpacerWidget-CUGpXBpA.js.map → SpacerWidget-VVkOCb6N.js.map} +1 -1
  277. package/dist/{SparklineWidget-XWxWkTZw.cjs → SparklineWidget-COGPJfbo.cjs} +2 -2
  278. package/dist/{SparklineWidget-XWxWkTZw.cjs.map → SparklineWidget-COGPJfbo.cjs.map} +1 -1
  279. package/dist/{SparklineWidget-SBWjRrqq.js → SparklineWidget-Dsmn38z_.js} +5 -5
  280. package/dist/{SparklineWidget-SBWjRrqq.js.map → SparklineWidget-Dsmn38z_.js.map} +1 -1
  281. package/dist/{TabbookWidget-yfZK_n_2.cjs → TabbookWidget-B2geV2Qi.cjs} +2 -2
  282. package/dist/{TabbookWidget-yfZK_n_2.cjs.map → TabbookWidget-B2geV2Qi.cjs.map} +1 -1
  283. package/dist/{TabbookWidget-7l6fPoRA.js → TabbookWidget-CXklff-l.js} +2 -2
  284. package/dist/{TabbookWidget-7l6fPoRA.js.map → TabbookWidget-CXklff-l.js.map} +1 -1
  285. package/dist/{TargetPacketItemChooser-QPHy-p2u.js → TargetPacketItemChooser-DDHuygCl.js} +3 -3
  286. package/dist/{TargetPacketItemChooser-QPHy-p2u.js.map → TargetPacketItemChooser-DDHuygCl.js.map} +1 -1
  287. package/dist/{TargetPacketItemChooser-CvDABqt7.cjs → TargetPacketItemChooser-DgO3VgdY.cjs} +2 -2
  288. package/dist/{TargetPacketItemChooser-CvDABqt7.cjs.map → TargetPacketItemChooser-DgO3VgdY.cjs.map} +1 -1
  289. package/dist/{TargetsTab-DcHwCcSU.js → TargetsTab-Ci4cOsIa.js} +13 -13
  290. package/dist/{TargetsTab-DcHwCcSU.js.map → TargetsTab-Ci4cOsIa.js.map} +1 -1
  291. package/dist/{TargetsTab-GpduFeiA.cjs → TargetsTab-DSSFGLD_.cjs} +2 -2
  292. package/dist/{TargetsTab-GpduFeiA.cjs.map → TargetsTab-DSSFGLD_.cjs.map} +1 -1
  293. package/dist/{TextboxWidget-CcvPtdyE.cjs → TextboxWidget-B9vBiTFU.cjs} +2 -2
  294. package/dist/{TextboxWidget-CcvPtdyE.cjs.map → TextboxWidget-B9vBiTFU.cjs.map} +1 -1
  295. package/dist/{TextboxWidget-Qb0TNt4Y.js → TextboxWidget-CHs2VYIv.js} +5 -5
  296. package/dist/{TextboxWidget-Qb0TNt4Y.js.map → TextboxWidget-CHs2VYIv.js.map} +1 -1
  297. package/dist/{TextfieldWidget-D5v1Endh.cjs → TextfieldWidget-CHf6ER_G.cjs} +2 -2
  298. package/dist/{TextfieldWidget-D5v1Endh.cjs.map → TextfieldWidget-CHf6ER_G.cjs.map} +1 -1
  299. package/dist/{TextfieldWidget-DcSGRfnF.js → TextfieldWidget-CdANAW-6.js} +2 -2
  300. package/dist/{TextfieldWidget-DcSGRfnF.js.map → TextfieldWidget-CdANAW-6.js.map} +1 -1
  301. package/dist/{TimeWidget-j18gWgF-.cjs → TimeWidget-C8Za7zUx.cjs} +2 -2
  302. package/dist/{TimeWidget-j18gWgF-.cjs.map → TimeWidget-C8Za7zUx.cjs.map} +1 -1
  303. package/dist/{TimeWidget-aoMkDgRR.js → TimeWidget-D0xT1wXR.js} +5 -5
  304. package/dist/{TimeWidget-aoMkDgRR.js.map → TimeWidget-D0xT1wXR.js.map} +1 -1
  305. package/dist/{TitleWidget-C8b9Vp5r.js → TitleWidget-68NWCcXB.js} +2 -2
  306. package/dist/{TitleWidget-C8b9Vp5r.js.map → TitleWidget-68NWCcXB.js.map} +1 -1
  307. package/dist/{TitleWidget-CNZqa48C.cjs → TitleWidget-D0PYh7V7.cjs} +2 -2
  308. package/dist/{TitleWidget-CNZqa48C.cjs.map → TitleWidget-D0PYh7V7.cjs.map} +1 -1
  309. package/dist/{ToolsTab-MCjy5Bf6.js → ToolsTab-BCvmMDIZ.js} +4 -4
  310. package/dist/{ToolsTab-MCjy5Bf6.js.map → ToolsTab-BCvmMDIZ.js.map} +1 -1
  311. package/dist/{ToolsTab-C7ldaGOD.cjs → ToolsTab-UwVIeP-J.cjs} +2 -2
  312. package/dist/{ToolsTab-C7ldaGOD.cjs.map → ToolsTab-UwVIeP-J.cjs.map} +1 -1
  313. package/dist/{TopBar-Dv9AvR6L.cjs → TopBar-BhrJBXut.cjs} +2 -2
  314. package/dist/{TopBar-Dv9AvR6L.cjs.map → TopBar-BhrJBXut.cjs.map} +1 -1
  315. package/dist/{TopBar-S3ydRxjf.js → TopBar-Cg0kJvmG.js} +2 -2
  316. package/dist/{TopBar-S3ydRxjf.js.map → TopBar-Cg0kJvmG.js.map} +1 -1
  317. package/dist/{TsdbTab-4OaejSum.js → TsdbTab-BytqwnkN.js} +2 -2
  318. package/dist/{TsdbTab-4OaejSum.js.map → TsdbTab-BytqwnkN.js.map} +1 -1
  319. package/dist/{TsdbTab-d1l9Ak2R.cjs → TsdbTab-DatsFS_R.cjs} +2 -2
  320. package/dist/{TsdbTab-d1l9Ak2R.cjs.map → TsdbTab-DatsFS_R.cjs.map} +1 -1
  321. package/dist/{UpgradeToEnterpriseDialog-CkHl-BAB.js → UpgradeToEnterpriseDialog-B0lZup6_.js} +2 -2
  322. package/dist/{UpgradeToEnterpriseDialog-CkHl-BAB.js.map → UpgradeToEnterpriseDialog-B0lZup6_.js.map} +1 -1
  323. package/dist/{UpgradeToEnterpriseDialog-Cd1ulQkq.cjs → UpgradeToEnterpriseDialog-BFhTiNXm.cjs} +2 -2
  324. package/dist/{UpgradeToEnterpriseDialog-Cd1ulQkq.cjs.map → UpgradeToEnterpriseDialog-BFhTiNXm.cjs.map} +1 -1
  325. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-hv0QWZ6Z.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-DOidODWT.cjs} +76 -76
  326. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-hv0QWZ6Z.cjs.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-DOidODWT.cjs.map} +1 -1
  327. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-C6eLx1ow.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-JHbHqvBt.js} +1862 -1862
  328. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-C6eLx1ow.js.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-JHbHqvBt.js.map} +1 -1
  329. package/dist/{VWidget-CMHOOByt.cjs → VWidget-BZqlpdEk.cjs} +2 -2
  330. package/dist/{VWidget-CMHOOByt.cjs.map → VWidget-BZqlpdEk.cjs.map} +1 -1
  331. package/dist/{VWidget-BgNciXK1.js → VWidget-oMbywhLA.js} +5 -5
  332. package/dist/{VWidget-BgNciXK1.js.map → VWidget-oMbywhLA.js.map} +1 -1
  333. package/dist/{ValueWidget-B1OvCmXK.js → ValueWidget-B1aGUBP7.js} +5 -5
  334. package/dist/{ValueWidget-B1OvCmXK.js.map → ValueWidget-B1aGUBP7.js.map} +1 -1
  335. package/dist/{ValueWidget-C3T9tAUT.cjs → ValueWidget-CuMPXR-z.cjs} +2 -2
  336. package/dist/{ValueWidget-C3T9tAUT.cjs.map → ValueWidget-CuMPXR-z.cjs.map} +1 -1
  337. package/dist/{ValuelimitsbarWidget-CUd9P_Xg.js → ValuelimitsbarWidget-B7KcRjLS.js} +4 -4
  338. package/dist/{ValuelimitsbarWidget-CUd9P_Xg.js.map → ValuelimitsbarWidget-B7KcRjLS.js.map} +1 -1
  339. package/dist/{ValuelimitsbarWidget-DzJYkWOa.cjs → ValuelimitsbarWidget-elJnDGWA.cjs} +2 -2
  340. package/dist/{ValuelimitsbarWidget-DzJYkWOa.cjs.map → ValuelimitsbarWidget-elJnDGWA.cjs.map} +1 -1
  341. package/dist/{ValuelimitscolumnWidget-CbThSMma.js → ValuelimitscolumnWidget-BVt6nLXq.js} +4 -4
  342. package/dist/{ValuelimitscolumnWidget-CbThSMma.js.map → ValuelimitscolumnWidget-BVt6nLXq.js.map} +1 -1
  343. package/dist/{ValuelimitscolumnWidget-Dx_im9Qk.cjs → ValuelimitscolumnWidget-DyQjC-h-.cjs} +2 -2
  344. package/dist/{ValuelimitscolumnWidget-Dx_im9Qk.cjs.map → ValuelimitscolumnWidget-DyQjC-h-.cjs.map} +1 -1
  345. package/dist/{ValuerangebarWidget-C8n2hb3N.cjs → ValuerangebarWidget-E1xvTwhi.cjs} +2 -2
  346. package/dist/{ValuerangebarWidget-C8n2hb3N.cjs.map → ValuerangebarWidget-E1xvTwhi.cjs.map} +1 -1
  347. package/dist/{ValuerangebarWidget-DjL4ze3d.js → ValuerangebarWidget-uVZEI32U.js} +4 -4
  348. package/dist/{ValuerangebarWidget-DjL4ze3d.js.map → ValuerangebarWidget-uVZEI32U.js.map} +1 -1
  349. package/dist/{VerticalWidget-C81rZFvu.cjs → VerticalWidget-BxL_5yEC.cjs} +2 -2
  350. package/dist/{VerticalWidget-C81rZFvu.cjs.map → VerticalWidget-BxL_5yEC.cjs.map} +1 -1
  351. package/dist/{VerticalWidget-V5-vGq7l.js → VerticalWidget-DlftYBjH.js} +2 -2
  352. package/dist/{VerticalWidget-V5-vGq7l.js.map → VerticalWidget-DlftYBjH.js.map} +1 -1
  353. package/dist/{VerticalboxWidget-DQerkhfd.cjs → VerticalboxWidget-BHP0SPpV.cjs} +2 -2
  354. package/dist/{VerticalboxWidget-DQerkhfd.cjs.map → VerticalboxWidget-BHP0SPpV.cjs.map} +1 -1
  355. package/dist/{VerticalboxWidget-OigMLjH8.js → VerticalboxWidget-C7RrkfY0.js} +5 -5
  356. package/dist/{VerticalboxWidget-OigMLjH8.js.map → VerticalboxWidget-C7RrkfY0.js.map} +1 -1
  357. package/dist/{Widget-BiaunQ83.js → Widget-D_HaosJK.js} +3 -3
  358. package/dist/{Widget-BiaunQ83.js.map → Widget-D_HaosJK.js.map} +1 -1
  359. package/dist/{Widget-D23R5IBP.cjs → Widget-a5Y50rAX.cjs} +2 -2
  360. package/dist/{Widget-D23R5IBP.cjs.map → Widget-a5Y50rAX.cjs.map} +1 -1
  361. package/dist/{addMonths-DI1YMeKj.js → addMonths-8x2Zqxlu.js} +2 -2
  362. package/dist/{addMonths-DI1YMeKj.js.map → addMonths-8x2Zqxlu.js.map} +1 -1
  363. package/dist/{addMonths-SOmDn5_g.cjs → addMonths-BKZ-wlfT.cjs} +2 -2
  364. package/dist/{addMonths-SOmDn5_g.cjs.map → addMonths-BKZ-wlfT.cjs.map} +1 -1
  365. package/dist/components.cjs +1 -1
  366. package/dist/components.js +71 -71
  367. package/dist/{format-DMO5vfrX.cjs → format-MMgAFAGt.cjs} +10 -10
  368. package/dist/format-MMgAFAGt.cjs.map +1 -0
  369. package/dist/{format-BJTVXrSU.js → format-mcuVCYue.js} +921 -911
  370. package/dist/format-mcuVCYue.js.map +1 -0
  371. package/dist/getDefaultOptions-DFvSlHOQ.cjs +2 -0
  372. package/dist/{getDefaultOptions-DM-1w6JL.cjs.map → getDefaultOptions-DFvSlHOQ.cjs.map} +1 -1
  373. package/dist/getDefaultOptions-iOY0zDuv.js +8 -0
  374. package/dist/{getDefaultOptions-CK1Ea9CA.js.map → getDefaultOptions-iOY0zDuv.js.map} +1 -1
  375. package/dist/{index-0c3bHqHD.js → index-AU71Em-T.js} +683 -681
  376. package/dist/index-AU71Em-T.js.map +1 -0
  377. package/dist/{index-fyIAHTXk.js → index-CbFUkAzJ.js} +482 -471
  378. package/dist/index-CbFUkAzJ.js.map +1 -0
  379. package/dist/index-DpGzPeGX.cjs +10 -0
  380. package/dist/index-DpGzPeGX.cjs.map +1 -0
  381. package/dist/index-jFVMElAV.cjs +7 -0
  382. package/dist/index-jFVMElAV.cjs.map +1 -0
  383. package/dist/{parse-DVpJm282.cjs → parse-VYeg4sm9.cjs} +2 -2
  384. package/dist/parse-VYeg4sm9.cjs.map +1 -0
  385. package/dist/{parse-BDajhNCa.js → parse-tBX2kWMh.js} +3 -3
  386. package/dist/parse-tBX2kWMh.js.map +1 -0
  387. package/dist/plugins.cjs +2 -2
  388. package/dist/plugins.cjs.map +1 -1
  389. package/dist/plugins.js +362 -376
  390. package/dist/plugins.js.map +1 -1
  391. package/dist/purify.es-BgN5W7Gm.cjs +4 -0
  392. package/dist/purify.es-BgN5W7Gm.cjs.map +1 -0
  393. package/dist/purify.es-XBlcheTS.js +663 -0
  394. package/dist/purify.es-XBlcheTS.js.map +1 -0
  395. package/dist/{settings-TnQjO9IR.cjs → settings-CekhMYoq.cjs} +2 -2
  396. package/dist/{settings-TnQjO9IR.cjs.map → settings-CekhMYoq.cjs.map} +1 -1
  397. package/dist/{settings-08OS6cx2.js → settings-DZ910lLo.js} +2 -2
  398. package/dist/{settings-08OS6cx2.js.map → settings-DZ910lLo.js.map} +1 -1
  399. package/dist/settingsCache-BTZ8CWTD.js +28 -0
  400. package/dist/{settingsCache-CriaPeNM.js.map → settingsCache-BTZ8CWTD.js.map} +1 -1
  401. package/dist/{settingsCache-Bm4JOm9j.cjs → settingsCache-DmIdInSd.cjs} +2 -2
  402. package/dist/{settingsCache-Bm4JOm9j.cjs.map → settingsCache-DmIdInSd.cjs.map} +1 -1
  403. package/dist/{timeFilters-BacGikeM.cjs → timeFilters-DdEvgzim.cjs} +2 -2
  404. package/dist/{timeFilters-BacGikeM.cjs.map → timeFilters-DdEvgzim.cjs.map} +1 -1
  405. package/dist/{timeFilters-BjNif-pu.js → timeFilters-a8Cma3bj.js} +10 -10
  406. package/dist/{timeFilters-BjNif-pu.js.map → timeFilters-a8Cma3bj.js.map} +1 -1
  407. package/dist/tools/admin.cjs +1 -1
  408. package/dist/tools/admin.js +1 -1
  409. package/dist/tools/base.cjs +1 -1
  410. package/dist/tools/base.cjs.map +1 -1
  411. package/dist/tools/base.js +18 -18
  412. package/dist/tools/base.js.map +1 -1
  413. package/dist/tools/calendar.cjs +1 -1
  414. package/dist/tools/calendar.js +1 -1
  415. package/dist/tools/scriptrunner.cjs +8 -8
  416. package/dist/tools/scriptrunner.cjs.map +1 -1
  417. package/dist/tools/scriptrunner.js +1443 -1389
  418. package/dist/tools/scriptrunner.js.map +1 -1
  419. package/dist/util.cjs +1 -1
  420. package/dist/util.js +2 -2
  421. package/dist/vue-common.css +1 -1
  422. package/dist/widgets.cjs +1 -1
  423. package/dist/widgets.js +64 -64
  424. package/package.json +11 -11
  425. package/dist/CanvaslabelWidget-SuEi9yf4.cjs +0 -2
  426. package/dist/CanvaslabelWidget-SuEi9yf4.cjs.map +0 -1
  427. package/dist/CanvaslabelWidget-Tt4dmAOI.js +0 -23
  428. package/dist/CanvaslabelWidget-Tt4dmAOI.js.map +0 -1
  429. package/dist/EventListDialog-C57w2AlC.cjs +0 -2
  430. package/dist/EventListDialog-C57w2AlC.cjs.map +0 -1
  431. package/dist/EventListDialog-CIc8RCyY.js.map +0 -1
  432. package/dist/format-BJTVXrSU.js.map +0 -1
  433. package/dist/format-DMO5vfrX.cjs.map +0 -1
  434. package/dist/getDefaultOptions-CK1Ea9CA.js +0 -8
  435. package/dist/getDefaultOptions-DM-1w6JL.cjs +0 -2
  436. package/dist/index-0c3bHqHD.js.map +0 -1
  437. package/dist/index-BwjFEWGT.cjs +0 -10
  438. package/dist/index-BwjFEWGT.cjs.map +0 -1
  439. package/dist/index-D3OfXI7H.cjs +0 -7
  440. package/dist/index-D3OfXI7H.cjs.map +0 -1
  441. package/dist/index-fyIAHTXk.js.map +0 -1
  442. package/dist/parse-BDajhNCa.js.map +0 -1
  443. package/dist/parse-DVpJm282.cjs.map +0 -1
  444. package/dist/purify.es-C8CCt8xk.cjs +0 -3
  445. package/dist/purify.es-C8CCt8xk.cjs.map +0 -1
  446. package/dist/purify.es-cZjWcAUR.js +0 -595
  447. package/dist/purify.es-cZjWcAUR.js.map +0 -1
  448. package/dist/settingsCache-CriaPeNM.js +0 -28
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./format-DMO5vfrX.cjs");require("./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-hv0QWZ6Z.cjs");const e=require("vue"),k=require("./CustomIcon-8F08upeg.cjs"),L=require("./timeFilters-BacGikeM.cjs");require("./store-CiS35N-w.cjs");require("single-spa");const K=require("./SimpleTextDialog-B9KuFMP5.cjs"),S=require("./index-D3OfXI7H.cjs"),j=require("./settings-TnQjO9IR.cjs"),R="store_url",E="https://store.openc3.com",T={props:{id:Number,name:String,title:String,author:String,author_extra:Object,description:String,keywords:Array,img_path:String,image_url:String,licenses:Array,homepage:String,repository:String,gem_url:String,minimum_cosmos_version:String,checksum:String,versions:Array,current_version_id:Number,access:String,entitled:Boolean,installAllowed:{type:Boolean,default:!0}},data:function(){return{_api:new g.ji,_storeUrl:"",imageContents:null}},computed:{plugin:function(){return{id:this.id,name:this.name,title:this.title,author:this.author,author_extra:this.author_extra,description:this.description,keywords:this.keywords,img_path:this.img_path,image_url:this.image_url,licenses:this.licenses,homepage:this.homepage,repository:this.repository,gem_url:this.gem_url,minimum_cosmos_version:this.minimum_cosmos_version,checksum:this.checksum,versions:this.versions,current_version_id:this.current_version_id,access:this.access,entitled:this.entitled,installAllowed:this.installAllowed}},canInstall:function(){return this.entitled&&this.installAllowed},installTooltip:function(){return this.installAllowed?this.accessTooltip:"Only admin users can install plugins."},imageContentsWithMimeType:function(){if(this.imageContents){const t={"image/bmp":[66,77],"image/jpeg":[255,216,255],"image/png":[137,80,78,71],"image/gif":[71,73,70,56],"image/webp":[82,73,70,70]},o=new TextEncoder().encode(globalThis.atob(this.imageContents.slice(0,6))).slice(1),l=Object.entries(t).find(([c,i])=>i.every((n,a)=>n===o[a]));if(l){const[c]=l;return`data:${c};base64,${this.imageContents}`}}},_navigableStoreUrl:function(){return this._storeUrl.replace("host.docker.internal","localhost")},storeLink:function(){return this.hasStoreListing&&this._navigableStoreUrl?new URL(`/cosmos_plugins/${this.id}`,this._navigableStoreUrl):null},hasStoreListing:function(){return!!this.id},hasDetails:function(){return this.hasStoreListing?!0:!!this.title&&!!this.description},isPluginInstalled:function(){return!!this.name},accessTooltip:function(){return this.entitled?"":localStorage.getItem("pluginStore.isApiKeySet")!=="true"?"Please add your App Store API key using the settings cog icon.":this.access==="enterprise"?"A COSMOS Enterprise license is required for this plugin.":"Please contact sales@openc3.com for access to this plugin."}},created:async function(){try{this._storeUrl=await this._api.get_setting(R)||E}catch{this._storeUrl=E}if(this.img_path)try{const t=new URLSearchParams({volume:"OPENC3_GEMS_VOLUME",scope:globalThis.openc3Scope}),{data:o}=await g.es.get(`/openc3-api/storage/download_file/${encodeURIComponent(this.img_path)}?${t}`);this.imageContents=o.contents}catch{}}},z={mixins:[T],props:{modelValue:Boolean},emits:["triggerInstall","triggerUninstall","update:modelValue"],data(){return{showDialog:!1,showCopiedTooltip:!1,installedCosmosVersion:null,selectedVersionId:null}},computed:{isDialogOpen:{get:function(){return this.modelValue||this.showDialog},set:function(t){this.showDialog=t,this.$emit("update:modelValue",t)}},hasVersions:function(){return this.versions&&this.versions.length>0},selectedVersion:function(){if(!this.hasVersions)return null;const t=this.selectedVersionId||this.current_version_id;return this.versions.find(o=>o.id===t)||this.versions[0]},versionOptions:function(){return this.hasVersions?this.versions.map(t=>({title:t.version_number,value:t.id})):[]},versionTitle:function(){return this.selectedVersion?.title||this.title},versionDescription:function(){return this.selectedVersion?.description||this.description},versionKeywords:function(){return this.selectedVersion?.keywords||this.keywords},versionLicenses:function(){return this.selectedVersion?.licenses||this.licenses},versionHomepage:function(){return this.selectedVersion?.homepage||this.homepage},versionRepository:function(){return this.selectedVersion?.repository||this.repository},versionGemUrl:function(){return this.selectedVersion?.gem_url||this.gem_url},versionMinimumCosmosVersion:function(){return this.selectedVersion?.minimum_cosmos_version||this.minimum_cosmos_version},versionChecksum:function(){return this.selectedVersion?.checksum||this.checksum},versionImageUrl:function(){return this.selectedVersion?.image_url||this.image_url},formattedStoreLink:function(){return this._navigableStoreUrl.split("://").at(-1)},versionsAreCompatible:function(){return!this.installedCosmosVersion||!this.versionMinimumCosmosVersion?null:S.semverExports.gte(this.installedCosmosVersion,this.versionMinimumCosmosVersion)}},created:function(){g.es.get("/openc3-api/info").then(({data:t})=>{this.installedCosmosVersion=t.version})},mounted:function(){this.selectedVersionId=this.current_version_id},methods:{openDialog:function(){this.isDialogOpen=!0},closeDialog:function(){this.isDialogOpen=!1},install:function(){this.$emit("triggerInstall",{id:this.id,version_id:this.selectedVersionId||this.current_version_id})},uninstall:function(){this.$emit("triggerUninstall",{id:this.id,version_id:this.selectedVersionId||this.current_version_id})},copyChecksum:function(){navigator.clipboard.writeText(this.versionChecksum),this.showCopiedTooltip=!0,setTimeout(()=>{this.showCopiedTooltip=!1},1e3)}}},F=["textContent"],q={key:0,class:"ml-1 font-italic"},H={class:"plugin-image-backdrop"},G=["textContent"],Y={class:"mt-3 text-caption font-italic"},W={key:1,class:"font-italic"},Z={class:"mt-3 text-caption font-italic"},J={class:"mt-3"},Q={key:0},X={key:1};function $(t,o,l,c,i,n){const a=e.resolveComponent("v-spacer"),r=e.resolveComponent("v-btn"),s=e.resolveComponent("v-tooltip"),f=e.resolveComponent("v-toolbar"),h=e.resolveComponent("v-icon"),_=e.resolveComponent("v-select"),m=e.resolveComponent("v-card-subtitle"),v=e.resolveComponent("v-img"),C=e.resolveComponent("v-chip"),w=e.resolveComponent("v-text-field"),x=e.resolveComponent("v-card-text"),d=e.resolveComponent("v-card-actions"),V=e.resolveComponent("v-card"),N=e.resolveComponent("v-dialog");return e.openBlock(),e.createBlock(N,{modelValue:n.isDialogOpen,"onUpdate:modelValue":o[3]||(o[3]=p=>n.isDialogOpen=p),"max-width":"500"},{default:e.withCtx(()=>[e.createVNode(V,null,{default:e.withCtx(()=>[e.createVNode(f,{height:"24"},{default:e.withCtx(()=>[e.createVNode(a),e.createElementVNode("span",{textContent:e.toDisplayString(n.versionTitle)},null,8,F),e.createVNode(a),e.createVNode(s,{location:"top"},{activator:e.withCtx(({props:p})=>[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(p)),[e.createVNode(r,{href:t.storeLink,target:"_blank",icon:"mdi-open-in-new",size:"small",variant:"plain"},null,8,["href"])],16)]),default:e.withCtx(()=>[e.createElementVNode("span",null," View at "+e.toDisplayString(n.formattedStoreLink),1)]),_:1}),e.createVNode(r,{icon:"mdi-close-box",variant:"text",density:"compact",onClick:n.closeDialog},null,8,["onClick"])]),_:1}),e.createVNode(m,{class:"d-flex align-center justify-space-between subtitle-with-version"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[o[4]||(o[4]=e.createTextVNode(" By ",-1)),e.createElementVNode("strong",null,e.toDisplayString(t.author),1),t.author_extra?.badge_text?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(t.author_extra.badge_text),1)):e.createCommentVNode("",!0),t.author_extra?.badge_icon?(e.openBlock(),e.createBlock(h,{key:1,icon:t.author_extra.badge_icon,size:18,class:"ml-1"},null,8,["icon"])):e.createCommentVNode("",!0)]),n.hasVersions?(e.openBlock(),e.createBlock(_,{key:0,modelValue:i.selectedVersionId,"onUpdate:modelValue":o[0]||(o[0]=p=>i.selectedVersionId=p),items:n.versionOptions,"item-title":"title","item-value":"value",label:"Version",density:"compact",variant:"outlined","hide-details":"",class:"mt-1 version-select"},null,8,["modelValue","items"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(x,null,{default:e.withCtx(()=>[e.createElementVNode("div",H,[t.imageContentsWithMimeType?(e.openBlock(),e.createBlock(v,{key:0,src:t.imageContentsWithMimeType},null,8,["src"])):n.versionImageUrl?(e.openBlock(),e.createBlock(v,{key:1,src:n.versionImageUrl},null,8,["src"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"mt-3",textContent:e.toDisplayString(n.versionDescription)},null,8,G),e.createElementVNode("div",Y,[o[5]||(o[5]=e.createTextVNode(" Keywords: ",-1)),n.versionKeywords?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.versionKeywords,p=>(e.openBlock(),e.createBlock(C,{key:p,variant:"flat",color:"primary",size:"x-small",class:"ml-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p),1)]),_:2},1024))),128)):(e.openBlock(),e.createElementBlock("span",W," none "))]),e.createElementVNode("div",Z,[o[6]||(o[6]=e.createTextVNode(" Licenses: ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.versionLicenses,p=>(e.openBlock(),e.createBlock(C,{key:p,size:"x-small",class:"ml-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p),1)]),_:2},1024))),128))]),e.createElementVNode("div",J,[o[7]||(o[7]=e.createElementVNode("span",{class:"text-caption font-italic"}," Minimum COSMOS version: ",-1)),e.createTextVNode(" "+e.toDisplayString(n.versionMinimumCosmosVersion)+" ",1),n.versionsAreCompatible!==null?(e.openBlock(),e.createBlock(s,{key:0,"open-delay":600,location:"top"},{activator:e.withCtx(({props:p})=>[e.createElementVNode("span",e.normalizeProps(e.guardReactiveProps(p)),[e.createVNode(h,{icon:n.versionsAreCompatible?"mdi-check-circle":"mdi-alert",size:"small"},null,8,["icon"])],16)]),default:e.withCtx(()=>[n.versionsAreCompatible?(e.openBlock(),e.createElementBlock("span",Q," Your version of COSMOS meets the requirements. ")):(e.openBlock(),e.createElementBlock("span",X," Your version of COSMOS is out of date. You can still install this plugin, but it might not work correctly. "))]),_:1})):e.createCommentVNode("",!0)]),e.createVNode(w,{modelValue:n.versionChecksum,"onUpdate:modelValue":o[2]||(o[2]=p=>n.versionChecksum=p),class:"mt-3",label:"SHA256",variant:"solo",density:"compact","hide-details":"",readonly:""},{append:e.withCtx(()=>[e.createVNode(s,{modelValue:i.showCopiedTooltip,"onUpdate:modelValue":o[1]||(o[1]=p=>i.showCopiedTooltip=p),location:"top","open-on-hover":!1},{activator:e.withCtx(({props:p})=>[e.createVNode(r,e.mergeProps(p,{icon:"mdi-content-copy",variant:"text",density:"compact",onClick:n.copyChecksum}),null,16,["onClick"])]),default:e.withCtx(()=>[o[8]||(o[8]=e.createElementVNode("span",null,"Copied!",-1))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{class:"justify-start px-6"},{default:e.withCtx(()=>[t.isPluginInstalled?(e.openBlock(),e.createBlock(r,{key:0,text:"Uninstall","append-icon":"mdi-puzzle-remove",variant:"outlined",color:"red",onClick:n.uninstall},null,8,["onClick"])):(e.openBlock(),e.createBlock(s,{key:1,"open-delay":600,location:"top"},{activator:e.withCtx(({props:p})=>[e.createElementVNode("span",e.normalizeProps(e.guardReactiveProps(t.canInstall?null:p)),[e.createVNode(r,{text:"Install","append-icon":"mdi-puzzle-plus",variant:"elevated",disabled:!t.canInstall,onClick:n.install},null,8,["disabled","onClick"])],16)]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(t.installTooltip),1)]),_:1})),n.versionRepository?(e.openBlock(),e.createBlock(r,{key:2,text:"Repository","append-icon":"mdi-open-in-new",variant:"outlined",href:n.versionRepository,target:"_blank"},null,8,["href"])):e.createCommentVNode("",!0),n.versionHomepage?(e.openBlock(),e.createBlock(r,{key:3,text:"Homepage","append-icon":"mdi-open-in-new",variant:"outlined",href:n.versionHomepage,target:"_blank"},null,8,["href"])):e.createCommentVNode("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"])}const D=k._export_sfc(z,[["render",$],["__scopeId","data-v-ac4e664f"]]),ee={components:{PluginDetailsDialog:D},mixins:[T],emits:["triggerInstall"],data(){return{showDialog:!1}},methods:{openDialog:function(){this.showDialog=!0},install:function(t){this.$emit("triggerInstall",{id:this.id,version_id:t?.version_id||this.current_version_id})}}},te={key:0,class:"ml-1 font-italic"},oe={class:"plugin-image-backdrop"},ne=["textContent"];function ie(t,o,l,c,i,n){const a=e.resolveComponent("v-card-title"),r=e.resolveComponent("v-icon"),s=e.resolveComponent("v-card-subtitle"),f=e.resolveComponent("v-img"),h=e.resolveComponent("v-card-text"),_=e.resolveComponent("v-spacer"),m=e.resolveComponent("v-btn"),v=e.resolveComponent("v-tooltip"),C=e.resolveComponent("v-card-actions"),w=e.resolveComponent("v-card"),x=e.resolveComponent("plugin-details-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(w,{height:"350",class:"d-flex flex-column",onClick:n.openDialog},{default:e.withCtx(()=>[e.createVNode(a,{class:"d-flex align-center justify-content-space-between"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),e.createVNode(s,{class:"d-flex align-center justify-content-space-between"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[o[1]||(o[1]=e.createTextVNode(" By ",-1)),e.createElementVNode("strong",null,e.toDisplayString(t.author),1),t.author_extra?.badge_text?(e.openBlock(),e.createElementBlock("span",te,e.toDisplayString(t.author_extra.badge_text),1)):e.createCommentVNode("",!0),t.author_extra?.badge_icon?(e.openBlock(),e.createBlock(r,{key:1,icon:t.author_extra.badge_icon,size:18,class:"ml-1"},null,8,["icon"])):e.createCommentVNode("",!0)])]),_:1}),e.createVNode(h,null,{default:e.withCtx(()=>[e.createElementVNode("div",oe,[t.image_url?(e.openBlock(),e.createBlock(f,{key:0,src:t.image_url,"max-height":"160"},null,8,["src"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass({"truncate-description":!0,"truncate-2":!!t.image_url,"truncate-10":!t.image_url}),textContent:e.toDisplayString(t.description)},null,10,ne)]),_:1}),e.createVNode(_),e.createVNode(C,{class:"flex-wrap"},{default:e.withCtx(()=>[e.createVNode(v,{"open-delay":600,location:"top"},{activator:e.withCtx(({props:d})=>[e.createElementVNode("span",e.normalizeProps(e.guardReactiveProps(t.canInstall?null:d)),[e.createVNode(m,{text:"Install","append-icon":"mdi-puzzle-plus",variant:"elevated",disabled:!t.canInstall,onClick:e.withModifiers(n.install,["stop"])},null,8,["disabled","onClick"])],16)]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(t.installTooltip),1)]),_:1})]),_:1})]),_:1},8,["onClick"]),i.showDialog?(e.openBlock(),e.createBlock(x,e.mergeProps({key:0,modelValue:i.showDialog,"onUpdate:modelValue":o[0]||(o[0]=d=>i.showDialog=d)},t.plugin,{onTriggerInstall:n.install}),null,16,["modelValue","onTriggerInstall"])):e.createCommentVNode("",!0)],64)}const le=k._export_sfc(ee,[["render",ie],["__scopeId","data-v-825f4373"]]),P="store_url",b="store_api_key",y="DEFAULT",se="https://store.openc3.com",re={mixins:[j.Settings],props:{modelValue:Boolean},emits:["update:modelValue","update:storeUrl"],data(){return{showDialog:!1,storeUrl:"",apiKey:null,isEnterprise:!1,showApiKeyAlert:!1,suppressApiKeyAlert:!1,rules:{required:t=>!!t||"Required",url:t=>{try{new URL(t)}catch{return"Not a valid URL"}return!0}}}},computed:{accountSettingsUrl:function(){const t=this.storeUrl.replace("host.docker.internal","localhost");return new URL("account",t)}},watch:{apiKey:function(t){this.checkEnterpriseKey(),localStorage.setItem("pluginStore.isApiKeySet",!!t)},isEnterprise:function(t){this.checkEnterpriseKey()},suppressApiKeyAlert:function(t){localStorage.setItem("pluginStore.suppressApiKeyAlert",t)},modelValue:function(t){t&&(this.showDialog=t)},showDialog:function(t){t||this.$emit("update:modelValue",t)}},created:function(){g.es.get("/openc3-api/info").then(({data:t})=>{this.isEnterprise=t.enterprise}),this.loadSetting(P,{scope:y}),this.loadSetting(b,{scope:y}),this.$emit("update:storeUrl",this.storeUrl)},methods:{checkEnterpriseKey:function(){this.isEnterprise&&this.apiKey===""&&this.openApiKeyAlert()},openApiKeyAlert:function(){localStorage.getItem("pluginStore.suppressApiKeyAlert")!=="true"&&(this.showApiKeyAlert=!0)},closeApiKeyAlert:function(){this.showApiKeyAlert=!1},save:function(){this.saveSetting(P,this.storeUrl,{scope:y}),this.saveSetting(b,this.apiKey,{scope:y}),this.$emit("update:storeUrl",this.storeUrl),this.showDialog=!1},parseSetting:function(t,{setting:o}){switch(o){case P:this.storeUrl=t||se;break;case b:this.apiKey=t||"";break}}}},ae=["href"];function ce(t,o,l,c,i,n){const a=e.resolveComponent("v-spacer"),r=e.resolveComponent("v-toolbar"),s=e.resolveComponent("v-alert"),f=e.resolveComponent("v-text-field"),h=e.resolveComponent("v-card-text"),_=e.resolveComponent("v-btn"),m=e.resolveComponent("v-card-actions"),v=e.resolveComponent("v-card"),C=e.resolveComponent("v-dialog"),w=e.resolveComponent("v-icon"),x=e.resolveComponent("v-checkbox");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(C,{modelValue:i.showDialog,"onUpdate:modelValue":o[4]||(o[4]=d=>i.showDialog=d),width:"600"},{default:e.withCtx(()=>[e.createVNode(r,{height:"24"},{default:e.withCtx(()=>[e.createVNode(a),o[7]||(o[7]=e.createElementVNode("span",null,"Plugin Store Settings",-1)),e.createVNode(a)]),_:1}),e.createVNode(v,{class:"pa-3"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.errorLoading,"onUpdate:modelValue":o[0]||(o[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:e.withCtx(()=>[e.createTextVNode(" Error loading previous configuration due to "+e.toDisplayString(t.errorText),1)]),_:1},8,["modelValue"]),e.createVNode(s,{modelValue:t.errorSaving,"onUpdate:modelValue":o[1]||(o[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:e.withCtx(()=>[e.createTextVNode(" Error saving due to "+e.toDisplayString(t.errorText),1)]),_:1},8,["modelValue"]),e.createVNode(h,null,{default:e.withCtx(()=>[e.createVNode(f,{modelValue:i.storeUrl,"onUpdate:modelValue":o[2]||(o[2]=d=>i.storeUrl=d),label:"Store URL",rules:[i.rules.required,i.rules.url]},null,8,["modelValue","rules"]),e.createVNode(f,{modelValue:i.apiKey,"onUpdate:modelValue":o[3]||(o[3]=d=>i.apiKey=d),type:"password",label:"API Key"},null,8,["modelValue"])]),_:1}),e.createVNode(m,null,{default:e.withCtx(()=>[e.createVNode(_,{color:"success",variant:"text",text:"Save","data-test":"save-store-settings-btn",onClick:n.save},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),e.createVNode(C,{modelValue:i.showApiKeyAlert,"onUpdate:modelValue":o[6]||(o[6]=d=>i.showApiKeyAlert=d)},{default:e.withCtx(()=>[e.createVNode(v,{class:"pa-3"},{default:e.withCtx(()=>[e.createVNode(h,{class:"pb-0"},{default:e.withCtx(()=>[o[9]||(o[9]=e.createTextVNode(" You're using COSMOS Enterprise, but you haven't set an OpenC3 Store API key yet. You must set this to access Enterprise plugins. ",-1)),o[10]||(o[10]=e.createElementVNode("br",null,null,-1)),o[11]||(o[11]=e.createElementVNode("br",null,null,-1)),o[12]||(o[12]=e.createTextVNode(" Visit the ",-1)),e.createElementVNode("a",{href:n.accountSettingsUrl,target:"_blank"},[o[8]||(o[8]=e.createTextVNode(" OpenC3 Store account settings",-1)),e.createVNode(w,{icon:"mdi-open-in-new",size:"x-small"})],8,ae),o[13]||(o[13]=e.createTextVNode(" to generate an API key. Then, return here and open the Plugin Store settings with the ",-1)),e.createVNode(w,{icon:"mdi-cog",size:"small"}),o[14]||(o[14]=e.createTextVNode(" icon and paste your API key into the API key field. ",-1))]),_:1}),e.createVNode(m,null,{default:e.withCtx(()=>[e.createVNode(x,{modelValue:i.suppressApiKeyAlert,"onUpdate:modelValue":o[5]||(o[5]=d=>i.suppressApiKeyAlert=d),class:"px-3",label:"Don't show this message again","hide-details":""},null,8,["modelValue"]),e.createVNode(_,{variant:"elevated",text:"OK",onClick:n.closeApiKeyAlert},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const ue=k._export_sfc(re,[["render",ce]]),de="https://store.openc3.com",pe={components:{PluginCard:le,PluginStoreSettingsDialog:ue},emits:["close","triggerInstall"],data(){return{api:new g.ji,search:"",showSettingsDialog:!1,plugins:[],storeError:null,storeUrl:de,isEnterprise:!1,isAdmin:!0,loading:!1}},computed:{filteredPlugins:function(){let t=this.plugins;return this.search.length&&(t=t.filter(o=>o.title.toLowerCase().includes(this.search.toLowerCase()))),t},formattedStoreUrl:function(){return this.storeUrl.split("://").at(-1)},installAllowed:function(){return!this.isEnterprise||this.isAdmin}},mounted:function(){this.fetchPluginStoreData(),this.fetchUserContext()},methods:{fetchPluginStoreData:function(){this.loading=!0,g.es.get("/openc3-api/pluginstore").then(({data:t})=>{if(t.error){const{title:o,body:l}=t;this.storeError={title:o,body:l},this.plugins=[]}else this.storeError=null,this.plugins=t}).finally(()=>{this.loading=!1})},fetchUserContext:function(){g.es.get("/openc3-api/info").then(({data:o})=>{this.isEnterprise=!!o.enterprise});const t=OpenC3Auth.userroles()||[];this.isAdmin=t.includes("admin")},close:function(){this.$emit("close")},install:function(t){this.$emit("triggerInstall",t),this.close()},openSettings:function(){this.showSettingsDialog=!0},updatePluginStore:function(t){this.storeUrl=t,this.loading=!0,this.api.update_plugin_store().then(o=>{this.fetchPluginStoreData()})}}},me={class:"d-flex justify-content-space-between"},ge={class:"d-inline-flex align-center w-100"},he={key:1,class:"d-flex justify-center align-center py-12","data-test":"plugin-store-loading"};function fe(t,o,l,c,i,n){const a=e.resolveComponent("v-spacer"),r=e.resolveComponent("v-btn"),s=e.resolveComponent("v-tooltip"),f=e.resolveComponent("v-text-field"),h=e.resolveComponent("v-alert"),_=e.resolveComponent("v-progress-circular"),m=e.resolveComponent("plugin-card"),v=e.resolveComponent("v-col"),C=e.resolveComponent("v-row"),w=e.resolveComponent("v-container"),x=e.resolveComponent("v-sheet"),d=e.resolveComponent("plugin-store-settings-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(x,{class:"pb-11 pt-8 px-8",height:"100%"},{default:e.withCtx(()=>[e.createElementVNode("div",me,[o[2]||(o[2]=e.createElementVNode("div",null,[e.createElementVNode("div",{class:"text-h3 mb-3"},"OpenC3 Plugin Store"),e.createElementVNode("div",{class:"text-subtitle-1"}," Browse plugins made by OpenC3 and the COSMOS community ")],-1)),e.createVNode(a),e.createVNode(r,{icon:"mdi-cog",variant:"text",onClick:n.openSettings},null,8,["onClick"]),e.createVNode(s,{location:"top"},{activator:e.withCtx(({props:V})=>[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(V)),[e.createVNode(r,{href:i.storeUrl,target:"_blank",icon:"mdi-open-in-new",variant:"text",class:"mx-2"},null,8,["href"])],16)]),default:e.withCtx(()=>[e.createElementVNode("span",null," Open "+e.toDisplayString(n.formattedStoreUrl),1)]),_:1}),e.createVNode(r,{icon:"mdi-close",variant:"text",onClick:n.close},null,8,["onClick"])]),e.createElementVNode("div",ge,[e.createVNode(f,{modelValue:i.search,"onUpdate:modelValue":o[0]||(o[0]=V=>i.search=V),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"","data-test":"search-plugin-store"},null,8,["modelValue"])]),e.createVNode(a),o[4]||(o[4]=e.createElementVNode("span",{class:""}," Click on a plugin to see more information about it ",-1)),i.storeError?(e.openBlock(),e.createBlock(h,{key:0,class:"mt-6",color:"error",title:i.storeError.title,text:i.storeError.body},null,8,["title","text"])):i.loading?(e.openBlock(),e.createElementBlock("div",he,[e.createVNode(_,{indeterminate:"",color:"primary",size:"48"}),o[3]||(o[3]=e.createElementVNode("span",{class:"ml-4 text-subtitle-1"},"Loading plugins...",-1))])):(e.openBlock(),e.createBlock(w,{key:2},{default:e.withCtx(()=>[e.createVNode(C,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.filteredPlugins,V=>(e.openBlock(),e.createBlock(v,{key:V.id,cols:"4"},{default:e.withCtx(()=>[e.createVNode(m,e.mergeProps({ref_for:!0},V,{"install-allowed":n.installAllowed,onTriggerInstall:n.install}),null,16,["install-allowed","onTriggerInstall"])]),_:2},1024))),128))]),_:1})]),_:1}))]),_:1}),e.createVNode(d,{modelValue:i.showSettingsDialog,"onUpdate:modelValue":o[1]||(o[1]=V=>i.showSettingsDialog=V),"onUpdate:storeUrl":n.updatePluginStore},null,8,["modelValue","onUpdate:storeUrl"])],64)}const _e=k._export_sfc(pe,[["render",fe]]),ve={components:{PluginDetailsDialog:D},mixins:[T],props:{targets:{type:Array,default:()=>[]},isModified:Boolean,microservices:{type:Object,default:()=>({})}},emits:["edit","delete","upgrade"],data(){return{showCard:!1}},computed:{displayTitle:function(){return this.title?this.title:this.name.replace(/^openc3-cosmos-/,"").replace(/-?\d+\.\d+\.\d+(?:\.pre\.beta\d+\.\d+)?\.gem(?:__\d+)?$/,"")},getMicroservicesForPlugin:function(){const t=[];for(const[o,l]of Object.entries(this.microservices))l.plugin===this.name&&t.push(o);return t},microserviceCount:function(){return this.getMicroservicesForPlugin.length}},methods:{openDetails:function(){this.hasDetails&&(this.showCard=!0)},downloadPlugin:function(){g.es.post(`/openc3-api/packages/${this.name}/download`).then(t=>{const o=window.atob(t.data.contents),l=new Uint8Array(o.length);for(let n=0;n<o.length;++n)l[n]=o.charCodeAt(n);const c=new Blob([l],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(c),i.setAttribute("download",t.data.filename),i.click()})},downloadTarget:function(t){g.es.post(`/openc3-api/targets/${t}/download`).then(o=>{const l=window.atob(o.data.contents),c=new Uint8Array(l.length);for(let a=0;a<l.length;++a)c[a]=l.charCodeAt(a);const i=new Blob([c],{type:"application/zip"}),n=document.createElement("a");n.href=URL.createObjectURL(i),n.setAttribute("download",o.data.filename),n.click()})},edit:function(){this.$emit("edit")},upgrade:function(){this.$emit("upgrade")},viewMicroservices:function(){const t=this.getMicroservicesForPlugin.join(",");this.$router.push({path:"/tools/admin/microservices",query:{services:t}})},deletePrompt:function(){this.showCard=!1,this.$emit("delete")}}},Ce=["textContent"],Ve={class:"text-subtitle-2 v-list-item-subtitle pl-0"},we={key:0},xe=["onClick","textContent"],ke=["textContent"];function ye(t,o,l,c,i,n){const a=e.resolveComponent("v-img"),r=e.resolveComponent("v-icon"),s=e.resolveComponent("v-list-item"),f=e.resolveComponent("v-list"),h=e.resolveComponent("v-menu"),_=e.resolveComponent("plugin-details-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass({"cursor-pointer":t.hasDetails}),"data-test":"plugin-list-item"},[e.createElementVNode("td",null,[t.imageContentsWithMimeType?(e.openBlock(),e.createBlock(a,{key:0,src:t.imageContentsWithMimeType,"max-height":"56","min-width":"56"},null,8,["src"])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("div",{class:"text-h6",onClick:o[0]||(o[0]=(...m)=>n.openDetails&&n.openDetails(...m)),textContent:e.toDisplayString(n.displayTitle)},null,8,Ce),e.createElementVNode("div",Ve,[l.isModified?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" * ")],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.name),1)]),l.targets?.length?(e.openBlock(),e.createElementBlock("div",we,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.targets,(m,v)=>(e.openBlock(),e.createElementBlock("span",{key:v,class:"mr-2"},[m.modified?(e.openBlock(),e.createElementBlock("a",{key:0,style:{cursor:"pointer"},onClick:e.withModifiers(C=>n.downloadTarget(m.name),["prevent"]),textContent:e.toDisplayString(m.name)},null,8,xe)):(e.openBlock(),e.createElementBlock("span",{key:1,textContent:e.toDisplayString(m.name)},null,8,ke))]))),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createVNode(h,null,{activator:e.withCtx(({props:m})=>[e.createVNode(r,e.mergeProps(m,{icon:"mdi-dots-horizontal","data-test":"plugin-actions"}),null,16)]),default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createVNode(s,{title:"Download","prepend-icon":"mdi-download","data-test":"download-plugin",onClick:n.downloadPlugin},null,8,["onClick"]),e.createVNode(s,{title:"Edit Details","prepend-icon":"mdi-pencil","data-test":"edit-plugin",onClick:n.edit},null,8,["onClick"]),e.createVNode(s,{title:"Upgrade","prepend-icon":"mdi-update","data-test":"upgrade-plugin",onClick:n.upgrade},null,8,["onClick"]),e.createVNode(s,{title:`View Microservices (${n.microserviceCount})`,"prepend-icon":"mdi-tab","data-test":"view-microservices",onClick:n.viewMicroservices},null,8,["title","onClick"]),e.createVNode(s,{title:"Delete","prepend-icon":"mdi-delete","data-test":"delete-plugin",onClick:n.deletePrompt},null,8,["onClick"])]),_:1})]),_:1})])],2),i.showCard?(e.openBlock(),e.createBlock(_,e.mergeProps({key:0,modelValue:i.showCard,"onUpdate:modelValue":o[1]||(o[1]=m=>i.showCard=m)},t.plugin,{onTriggerUninstall:n.deletePrompt}),null,16,["modelValue","onTriggerUninstall"])):e.createCommentVNode("",!0)],64)}const Ne=k._export_sfc(ve,[["render",ye]]),Pe={components:{PluginListItem:Ne},props:{plugins:{type:Array,required:!0},targets:{type:Object,required:!0},showDefaultTools:{type:Boolean,default:!1},defaultPlugins:{type:Array,required:!0}},emits:["edit","delete","upgrade"],data(){return{showPluginDetails:!1,detailPlugin:null,microservices:{}}},computed:{shownPlugins(){const t=[],o=[];return this.plugins.forEach(l=>{const n=l.name.split("__")[0].split("-").slice(0,-1).join("-");this.defaultPlugins.includes(n)?o.push(l):t.push(l)}),t.sort((l,c)=>l.name<c.name?-1:l.name>c.name?1:0),this.showDefaultTools?(o.sort((l,c)=>l.name<c.name?-1:l.name>c.name?1:0),t.concat(o)):t}},mounted(){this.fetchMicroservices()},methods:{showDetails:function(t){this.detailPlugin=t,this.showPluginDetails=!0},pluginTargets:function(t){let o=[];for(const l in this.targets)this.targets[l].plugin===t&&o.push(this.targets[l]);return o},isModified:function(t){return Object.entries(this.targets).some(([o,l])=>l.plugin===t&&l.modified===!0)},editPlugin:function(t){this.$emit("edit",t)},upgradePlugin(t){this.$emit("upgrade",t)},deletePrompt:function(t){this.$emit("delete",t)},fetchMicroservices:function(){g.es.get("/openc3-api/microservices/all").then(t=>{this.microservices=t.data})}}};function be(t,o,l,c,i,n){const a=e.resolveComponent("plugin-list-item"),r=e.resolveComponent("v-data-table");return e.openBlock(),e.createBlock(r,{headers:[],items:n.shownPlugins,density:"compact",class:"list","data-test":"plugin-list"},{item:e.withCtx(({item:s})=>[(e.openBlock(),e.createBlock(a,e.mergeProps({key:s.name},s,{targets:n.pluginTargets(s.name),"is-modified":n.isModified(s.name),microservices:i.microservices,onEdit:()=>n.editPlugin(s.name),onUpgrade:()=>n.upgradePlugin(s.name),onDelete:()=>n.deletePrompt(s.name)}),null,16,["targets","is-modified","microservices","onEdit","onUpgrade","onDelete"]))]),_:1},8,["items"])}const Se=k._export_sfc(Pe,[["render",be],["__scopeId","data-v-16a76865"]]),Te={components:{PluginDialog:S.PluginDialog,PluginList:Se,PluginStore:_e,ModifiedPluginDialog:S.ModifiedPluginDialog,SimpleTextDialog:K.SimpleTextDialog},mixins:[L.TimeFilters],data(){return{pluginName:null,variables:{},storePluginId:null,storeVersionId:null,minCosmosVersion:null,pluginTxt:"",file:null,currentPlugin:null,pluginHashTmp:null,existingPluginTxt:null,progress:0,pluginDelete:!1,api:new g.ji,plugins:[],targets:{},processes:{},alert:"",alertType:"success",showAlert:!1,showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",showPluginStore:!1,showPluginDialog:!1,showModifiedPluginDialog:!1,showDefaultTools:!1,timeZone:"local",defaultPlugins:["openc3-cosmos-tool-admin","openc3-cosmos-tool-bucketexplorer","openc3-cosmos-tool-cmdsender","openc3-cosmos-tool-cmdqueue","openc3-cosmos-tool-cmdhistory","openc3-cosmos-tool-cmdtlmserver","openc3-cosmos-tool-dataextractor","openc3-cosmos-tool-dataviewer","openc3-cosmos-tool-docs","openc3-cosmos-tool-handbooks","openc3-cosmos-tool-iframe","openc3-cosmos-tool-limitsmonitor","openc3-cosmos-tool-packetviewer","openc3-cosmos-tool-scriptrunner","openc3-cosmos-tool-tablemanager","openc3-cosmos-tool-tlmgrapher","openc3-cosmos-tool-tlmviewer","openc3-cosmos-enterprise-tool-admin","openc3-cosmos-tool-autonomic","openc3-cosmos-tool-calendar","openc3-cosmos-tool-grafana","openc3-cosmos-tool-logexplorer","openc3-cosmos-tool-notebooks","openc3-cosmos-tool-systemhealth","openc3-enterprise-tool-base","openc3-tool-base"]}},watch:{showPluginDialog:function(t,o){t===!1&&(this.file=null,this.$refs.fileInput.value=null)}},created(){this.api.update_plugin_store(),this.api.get_setting("time_zone").then(t=>{t&&(this.timeZone=t)}).catch(()=>{})},mounted(){this.update(),this.updateProcesses();const t=this;window.onpopstate=function(){t.showPluginStore&&(t.showPluginStore=!1,history.go(1))}},methods:{resetControlState:function(){this.pluginName=null,this.variables={},this.storePluginId=null,this.storeVersionId=null,this.minCosmosVersion=null,this.pluginTxt="",this.file=null,this.currentPlugin=null,this.pluginHashTmp=null,this.existingPluginTxt=null,this.progress=0,this.pluginDelete=!1},pluginTargets:function(t){let o=[];for(const l in this.targets)this.targets[l].plugin===t&&o.push(this.targets[l]);return o},isModified:function(t){return Object.entries(this.targets).some(([o,l])=>l.plugin===t&&l.modified===!0)},showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){g.es.get("/openc3-api/plugins/all").then(t=>{this.plugins=Object.entries(t.data).map(([o,l])=>l)}),g.es.get("/openc3-api/targets_modified").then(t=>{this.targets=t.data})},updateProcesses:function(){g.es.get("openc3-api/process_status/plugin_?substr=true").then(t=>{this.processes=t.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},5e3)})},upload:function(t=null,o=null){const l=t?"put":"post",c=t?`/openc3-api/plugins/${t}`:"/openc3-api/plugins",i=new FormData;o===null?i.append("plugin",this.file,this.file.name):(i.append("store_plugin_id",o.id),i.append("store_version_id",o.version_id));let n=this;g.es[l](c,{data:i,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(r){let s=Math.round(r.loaded*100/r.total);n.progress=s}}).then(r=>{this.progress=100,this.alert="Uploaded file",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update();let s=null;r.data.existing_plugin_txt_lines!==void 0&&(s=r.data.existing_plugin_txt_lines.join(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./format-MMgAFAGt.cjs");require("./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_c790a82f_lang-DOidODWT.cjs");const e=require("vue"),k=require("./CustomIcon-8F08upeg.cjs"),L=require("./timeFilters-DdEvgzim.cjs");require("./store-CiS35N-w.cjs");require("single-spa");const F=require("./SimpleTextDialog-5wMXYOXj.cjs"),S=require("./index-jFVMElAV.cjs"),K=require("./settings-CekhMYoq.cjs"),R="store_url",E="https://store.openc3.com",T={props:{id:Number,name:String,title:String,author:String,author_extra:Object,description:String,keywords:Array,img_path:String,image_url:String,licenses:Array,homepage:String,repository:String,gem_url:String,minimum_cosmos_version:String,checksum:String,versions:Array,current_version_id:Number,access:String,entitled:Boolean,installAllowed:{type:Boolean,default:!0}},data:function(){return{_api:new g.qi,_storeUrl:"",imageContents:null}},computed:{plugin:function(){return{id:this.id,name:this.name,title:this.title,author:this.author,author_extra:this.author_extra,description:this.description,keywords:this.keywords,img_path:this.img_path,image_url:this.image_url,licenses:this.licenses,homepage:this.homepage,repository:this.repository,gem_url:this.gem_url,minimum_cosmos_version:this.minimum_cosmos_version,checksum:this.checksum,versions:this.versions,current_version_id:this.current_version_id,access:this.access,entitled:this.entitled,installAllowed:this.installAllowed}},canInstall:function(){return this.entitled&&this.installAllowed},installTooltip:function(){return this.installAllowed?this.accessTooltip:"Only admin users can install plugins."},imageContentsWithMimeType:function(){if(this.imageContents){const t={"image/bmp":[66,77],"image/jpeg":[255,216,255],"image/png":[137,80,78,71],"image/gif":[71,73,70,56],"image/webp":[82,73,70,70]},o=new TextEncoder().encode(globalThis.atob(this.imageContents.slice(0,6))).slice(1),l=Object.entries(t).find(([c,i])=>i.every((n,a)=>n===o[a]));if(l){const[c]=l;return`data:${c};base64,${this.imageContents}`}}},_navigableStoreUrl:function(){return this._storeUrl.replace("host.docker.internal","localhost")},storeLink:function(){return this.hasStoreListing&&this._navigableStoreUrl?new URL(`/cosmos_plugins/${this.id}`,this._navigableStoreUrl):null},hasStoreListing:function(){return!!this.id},hasDetails:function(){return this.hasStoreListing?!0:!!this.title&&!!this.description},isPluginInstalled:function(){return!!this.name},accessTooltip:function(){return this.entitled?"":localStorage.getItem("pluginStore.isApiKeySet")!=="true"?"Please add your App Store API key using the settings cog icon.":this.access==="enterprise"?"A COSMOS Enterprise license is required for this plugin.":"Please contact sales@openc3.com for access to this plugin."}},created:async function(){try{this._storeUrl=await this._api.get_setting(R)||E}catch{this._storeUrl=E}if(this.img_path)try{const t=new URLSearchParams({volume:"OPENC3_GEMS_VOLUME",scope:globalThis.openc3Scope}),{data:o}=await g.Fi.get(`/openc3-api/storage/download_file/${encodeURIComponent(this.img_path)}?${t}`);this.imageContents=o.contents}catch{}}},j={mixins:[T],props:{modelValue:Boolean},emits:["triggerInstall","triggerUninstall","update:modelValue"],data(){return{showDialog:!1,showCopiedTooltip:!1,installedCosmosVersion:null,selectedVersionId:null}},computed:{isDialogOpen:{get:function(){return this.modelValue||this.showDialog},set:function(t){this.showDialog=t,this.$emit("update:modelValue",t)}},hasVersions:function(){return this.versions&&this.versions.length>0},selectedVersion:function(){if(!this.hasVersions)return null;const t=this.selectedVersionId||this.current_version_id;return this.versions.find(o=>o.id===t)||this.versions[0]},versionOptions:function(){return this.hasVersions?this.versions.map(t=>({title:t.version_number,value:t.id})):[]},versionTitle:function(){return this.selectedVersion?.title||this.title},versionDescription:function(){return this.selectedVersion?.description||this.description},versionKeywords:function(){return this.selectedVersion?.keywords||this.keywords},versionLicenses:function(){return this.selectedVersion?.licenses||this.licenses},versionHomepage:function(){return this.selectedVersion?.homepage||this.homepage},versionRepository:function(){return this.selectedVersion?.repository||this.repository},versionGemUrl:function(){return this.selectedVersion?.gem_url||this.gem_url},versionMinimumCosmosVersion:function(){return this.selectedVersion?.minimum_cosmos_version||this.minimum_cosmos_version},versionChecksum:function(){return this.selectedVersion?.checksum||this.checksum},versionImageUrl:function(){return this.selectedVersion?.image_url||this.image_url},formattedStoreLink:function(){return this._navigableStoreUrl.split("://").at(-1)},versionsAreCompatible:function(){return!this.installedCosmosVersion||!this.versionMinimumCosmosVersion?null:S.semverExports.gte(this.installedCosmosVersion,this.versionMinimumCosmosVersion)}},created:function(){g.Fi.get("/openc3-api/info").then(({data:t})=>{this.installedCosmosVersion=t.version})},mounted:function(){this.selectedVersionId=this.current_version_id},methods:{openDialog:function(){this.isDialogOpen=!0},closeDialog:function(){this.isDialogOpen=!1},install:function(){this.$emit("triggerInstall",{id:this.id,version_id:this.selectedVersionId||this.current_version_id})},uninstall:function(){this.$emit("triggerUninstall",{id:this.id,version_id:this.selectedVersionId||this.current_version_id})},copyChecksum:function(){navigator.clipboard.writeText(this.versionChecksum),this.showCopiedTooltip=!0,setTimeout(()=>{this.showCopiedTooltip=!1},1e3)}}},z=["textContent"],q={key:0,class:"ml-1 font-italic"},H={class:"plugin-image-backdrop"},G=["textContent"],Y={class:"mt-3 text-caption font-italic"},W={key:1,class:"font-italic"},Z={class:"mt-3 text-caption font-italic"},J={class:"mt-3"},Q={key:0},X={key:1};function $(t,o,l,c,i,n){const a=e.resolveComponent("v-spacer"),r=e.resolveComponent("v-btn"),s=e.resolveComponent("v-tooltip"),f=e.resolveComponent("v-toolbar"),h=e.resolveComponent("v-icon"),_=e.resolveComponent("v-select"),m=e.resolveComponent("v-card-subtitle"),v=e.resolveComponent("v-img"),C=e.resolveComponent("v-chip"),w=e.resolveComponent("v-text-field"),x=e.resolveComponent("v-card-text"),d=e.resolveComponent("v-card-actions"),V=e.resolveComponent("v-card"),N=e.resolveComponent("v-dialog");return e.openBlock(),e.createBlock(N,{modelValue:n.isDialogOpen,"onUpdate:modelValue":o[3]||(o[3]=p=>n.isDialogOpen=p),"max-width":"500"},{default:e.withCtx(()=>[e.createVNode(V,null,{default:e.withCtx(()=>[e.createVNode(f,{height:"24"},{default:e.withCtx(()=>[e.createVNode(a),e.createElementVNode("span",{textContent:e.toDisplayString(n.versionTitle)},null,8,z),e.createVNode(a),e.createVNode(s,{location:"top"},{activator:e.withCtx(({props:p})=>[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(p)),[e.createVNode(r,{href:t.storeLink,target:"_blank",icon:"mdi-open-in-new",size:"small",variant:"plain"},null,8,["href"])],16)]),default:e.withCtx(()=>[e.createElementVNode("span",null," View at "+e.toDisplayString(n.formattedStoreLink),1)]),_:1}),e.createVNode(r,{icon:"mdi-close-box",variant:"text",density:"compact",onClick:n.closeDialog},null,8,["onClick"])]),_:1}),e.createVNode(m,{class:"d-flex align-center justify-space-between subtitle-with-version"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[o[4]||(o[4]=e.createTextVNode(" By ",-1)),e.createElementVNode("strong",null,e.toDisplayString(t.author),1),t.author_extra?.badge_text?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(t.author_extra.badge_text),1)):e.createCommentVNode("",!0),t.author_extra?.badge_icon?(e.openBlock(),e.createBlock(h,{key:1,icon:t.author_extra.badge_icon,size:18,class:"ml-1"},null,8,["icon"])):e.createCommentVNode("",!0)]),n.hasVersions?(e.openBlock(),e.createBlock(_,{key:0,modelValue:i.selectedVersionId,"onUpdate:modelValue":o[0]||(o[0]=p=>i.selectedVersionId=p),items:n.versionOptions,"item-title":"title","item-value":"value",label:"Version",density:"compact",variant:"outlined","hide-details":"",class:"mt-1 version-select"},null,8,["modelValue","items"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(x,null,{default:e.withCtx(()=>[e.createElementVNode("div",H,[t.imageContentsWithMimeType?(e.openBlock(),e.createBlock(v,{key:0,src:t.imageContentsWithMimeType},null,8,["src"])):n.versionImageUrl?(e.openBlock(),e.createBlock(v,{key:1,src:n.versionImageUrl},null,8,["src"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"mt-3",textContent:e.toDisplayString(n.versionDescription)},null,8,G),e.createElementVNode("div",Y,[o[5]||(o[5]=e.createTextVNode(" Keywords: ",-1)),n.versionKeywords?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.versionKeywords,p=>(e.openBlock(),e.createBlock(C,{key:p,variant:"flat",color:"primary",size:"x-small",class:"ml-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p),1)]),_:2},1024))),128)):(e.openBlock(),e.createElementBlock("span",W," none "))]),e.createElementVNode("div",Z,[o[6]||(o[6]=e.createTextVNode(" Licenses: ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.versionLicenses,p=>(e.openBlock(),e.createBlock(C,{key:p,size:"x-small",class:"ml-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p),1)]),_:2},1024))),128))]),e.createElementVNode("div",J,[o[7]||(o[7]=e.createElementVNode("span",{class:"text-caption font-italic"}," Minimum COSMOS version: ",-1)),e.createTextVNode(" "+e.toDisplayString(n.versionMinimumCosmosVersion)+" ",1),n.versionsAreCompatible!==null?(e.openBlock(),e.createBlock(s,{key:0,"open-delay":600,location:"top"},{activator:e.withCtx(({props:p})=>[e.createElementVNode("span",e.normalizeProps(e.guardReactiveProps(p)),[e.createVNode(h,{icon:n.versionsAreCompatible?"mdi-check-circle":"mdi-alert",size:"small"},null,8,["icon"])],16)]),default:e.withCtx(()=>[n.versionsAreCompatible?(e.openBlock(),e.createElementBlock("span",Q," Your version of COSMOS meets the requirements. ")):(e.openBlock(),e.createElementBlock("span",X," Your version of COSMOS is out of date. You can still install this plugin, but it might not work correctly. "))]),_:1})):e.createCommentVNode("",!0)]),e.createVNode(w,{modelValue:n.versionChecksum,"onUpdate:modelValue":o[2]||(o[2]=p=>n.versionChecksum=p),class:"mt-3",label:"SHA256",variant:"solo",density:"compact","hide-details":"",readonly:""},{append:e.withCtx(()=>[e.createVNode(s,{modelValue:i.showCopiedTooltip,"onUpdate:modelValue":o[1]||(o[1]=p=>i.showCopiedTooltip=p),location:"top","open-on-hover":!1},{activator:e.withCtx(({props:p})=>[e.createVNode(r,e.mergeProps(p,{icon:"mdi-content-copy",variant:"text",density:"compact",onClick:n.copyChecksum}),null,16,["onClick"])]),default:e.withCtx(()=>[o[8]||(o[8]=e.createElementVNode("span",null,"Copied!",-1))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{class:"justify-start px-6"},{default:e.withCtx(()=>[t.isPluginInstalled?(e.openBlock(),e.createBlock(r,{key:0,text:"Uninstall","append-icon":"mdi-puzzle-remove",variant:"outlined",color:"red",onClick:n.uninstall},null,8,["onClick"])):(e.openBlock(),e.createBlock(s,{key:1,"open-delay":600,location:"top"},{activator:e.withCtx(({props:p})=>[e.createElementVNode("span",e.normalizeProps(e.guardReactiveProps(t.canInstall?null:p)),[e.createVNode(r,{text:"Install","append-icon":"mdi-puzzle-plus",variant:"elevated",disabled:!t.canInstall,onClick:n.install},null,8,["disabled","onClick"])],16)]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(t.installTooltip),1)]),_:1})),n.versionRepository?(e.openBlock(),e.createBlock(r,{key:2,text:"Repository","append-icon":"mdi-open-in-new",variant:"outlined",href:n.versionRepository,target:"_blank"},null,8,["href"])):e.createCommentVNode("",!0),n.versionHomepage?(e.openBlock(),e.createBlock(r,{key:3,text:"Homepage","append-icon":"mdi-open-in-new",variant:"outlined",href:n.versionHomepage,target:"_blank"},null,8,["href"])):e.createCommentVNode("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"])}const D=k._export_sfc(j,[["render",$],["__scopeId","data-v-ac4e664f"]]),ee={components:{PluginDetailsDialog:D},mixins:[T],emits:["triggerInstall"],data(){return{showDialog:!1}},methods:{openDialog:function(){this.showDialog=!0},install:function(t){this.$emit("triggerInstall",{id:this.id,version_id:t?.version_id||this.current_version_id})}}},te={key:0,class:"ml-1 font-italic"},oe={class:"plugin-image-backdrop"},ne=["textContent"];function ie(t,o,l,c,i,n){const a=e.resolveComponent("v-card-title"),r=e.resolveComponent("v-icon"),s=e.resolveComponent("v-card-subtitle"),f=e.resolveComponent("v-img"),h=e.resolveComponent("v-card-text"),_=e.resolveComponent("v-spacer"),m=e.resolveComponent("v-btn"),v=e.resolveComponent("v-tooltip"),C=e.resolveComponent("v-card-actions"),w=e.resolveComponent("v-card"),x=e.resolveComponent("plugin-details-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(w,{height:"350",class:"d-flex flex-column",onClick:n.openDialog},{default:e.withCtx(()=>[e.createVNode(a,{class:"d-flex align-center justify-content-space-between"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),e.createVNode(s,{class:"d-flex align-center justify-content-space-between"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[o[1]||(o[1]=e.createTextVNode(" By ",-1)),e.createElementVNode("strong",null,e.toDisplayString(t.author),1),t.author_extra?.badge_text?(e.openBlock(),e.createElementBlock("span",te,e.toDisplayString(t.author_extra.badge_text),1)):e.createCommentVNode("",!0),t.author_extra?.badge_icon?(e.openBlock(),e.createBlock(r,{key:1,icon:t.author_extra.badge_icon,size:18,class:"ml-1"},null,8,["icon"])):e.createCommentVNode("",!0)])]),_:1}),e.createVNode(h,null,{default:e.withCtx(()=>[e.createElementVNode("div",oe,[t.image_url?(e.openBlock(),e.createBlock(f,{key:0,src:t.image_url,"max-height":"160"},null,8,["src"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass({"truncate-description":!0,"truncate-2":!!t.image_url,"truncate-10":!t.image_url}),textContent:e.toDisplayString(t.description)},null,10,ne)]),_:1}),e.createVNode(_),e.createVNode(C,{class:"flex-wrap"},{default:e.withCtx(()=>[e.createVNode(v,{"open-delay":600,location:"top"},{activator:e.withCtx(({props:d})=>[e.createElementVNode("span",e.normalizeProps(e.guardReactiveProps(t.canInstall?null:d)),[e.createVNode(m,{text:"Install","append-icon":"mdi-puzzle-plus",variant:"elevated",disabled:!t.canInstall,onClick:e.withModifiers(n.install,["stop"])},null,8,["disabled","onClick"])],16)]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(t.installTooltip),1)]),_:1})]),_:1})]),_:1},8,["onClick"]),i.showDialog?(e.openBlock(),e.createBlock(x,e.mergeProps({key:0,modelValue:i.showDialog,"onUpdate:modelValue":o[0]||(o[0]=d=>i.showDialog=d)},t.plugin,{onTriggerInstall:n.install}),null,16,["modelValue","onTriggerInstall"])):e.createCommentVNode("",!0)],64)}const le=k._export_sfc(ee,[["render",ie],["__scopeId","data-v-825f4373"]]),P="store_url",b="store_api_key",y="DEFAULT",se="https://store.openc3.com",re={mixins:[K.Settings],props:{modelValue:Boolean},emits:["update:modelValue","update:storeUrl"],data(){return{showDialog:!1,storeUrl:"",apiKey:null,isEnterprise:!1,showApiKeyAlert:!1,suppressApiKeyAlert:!1,rules:{required:t=>!!t||"Required",url:t=>{try{new URL(t)}catch{return"Not a valid URL"}return!0}}}},computed:{accountSettingsUrl:function(){const t=this.storeUrl.replace("host.docker.internal","localhost");return new URL("account",t)}},watch:{apiKey:function(t){this.checkEnterpriseKey(),localStorage.setItem("pluginStore.isApiKeySet",!!t)},isEnterprise:function(t){this.checkEnterpriseKey()},suppressApiKeyAlert:function(t){localStorage.setItem("pluginStore.suppressApiKeyAlert",t)},modelValue:function(t){t&&(this.showDialog=t)},showDialog:function(t){t||this.$emit("update:modelValue",t)}},created:function(){g.Fi.get("/openc3-api/info").then(({data:t})=>{this.isEnterprise=t.enterprise}),this.loadSetting(P,{scope:y}),this.loadSetting(b,{scope:y}),this.$emit("update:storeUrl",this.storeUrl)},methods:{checkEnterpriseKey:function(){this.isEnterprise&&this.apiKey===""&&this.openApiKeyAlert()},openApiKeyAlert:function(){localStorage.getItem("pluginStore.suppressApiKeyAlert")!=="true"&&(this.showApiKeyAlert=!0)},closeApiKeyAlert:function(){this.showApiKeyAlert=!1},save:function(){this.saveSetting(P,this.storeUrl,{scope:y}),this.saveSetting(b,this.apiKey,{scope:y}),this.$emit("update:storeUrl",this.storeUrl),this.showDialog=!1},parseSetting:function(t,{setting:o}){switch(o){case P:this.storeUrl=t||se;break;case b:this.apiKey=t||"";break}}}},ae=["href"];function ce(t,o,l,c,i,n){const a=e.resolveComponent("v-spacer"),r=e.resolveComponent("v-toolbar"),s=e.resolveComponent("v-alert"),f=e.resolveComponent("v-text-field"),h=e.resolveComponent("v-card-text"),_=e.resolveComponent("v-btn"),m=e.resolveComponent("v-card-actions"),v=e.resolveComponent("v-card"),C=e.resolveComponent("v-dialog"),w=e.resolveComponent("v-icon"),x=e.resolveComponent("v-checkbox");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(C,{modelValue:i.showDialog,"onUpdate:modelValue":o[4]||(o[4]=d=>i.showDialog=d),width:"600"},{default:e.withCtx(()=>[e.createVNode(r,{height:"24"},{default:e.withCtx(()=>[e.createVNode(a),o[7]||(o[7]=e.createElementVNode("span",null,"Plugin Store Settings",-1)),e.createVNode(a)]),_:1}),e.createVNode(v,{class:"pa-3"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.errorLoading,"onUpdate:modelValue":o[0]||(o[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:e.withCtx(()=>[e.createTextVNode(" Error loading previous configuration due to "+e.toDisplayString(t.errorText),1)]),_:1},8,["modelValue"]),e.createVNode(s,{modelValue:t.errorSaving,"onUpdate:modelValue":o[1]||(o[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:e.withCtx(()=>[e.createTextVNode(" Error saving due to "+e.toDisplayString(t.errorText),1)]),_:1},8,["modelValue"]),e.createVNode(h,null,{default:e.withCtx(()=>[e.createVNode(f,{modelValue:i.storeUrl,"onUpdate:modelValue":o[2]||(o[2]=d=>i.storeUrl=d),label:"Store URL",rules:[i.rules.required,i.rules.url]},null,8,["modelValue","rules"]),e.createVNode(f,{modelValue:i.apiKey,"onUpdate:modelValue":o[3]||(o[3]=d=>i.apiKey=d),type:"password",label:"API Key"},null,8,["modelValue"])]),_:1}),e.createVNode(m,null,{default:e.withCtx(()=>[e.createVNode(_,{color:"success",variant:"text",text:"Save","data-test":"save-store-settings-btn",onClick:n.save},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),e.createVNode(C,{modelValue:i.showApiKeyAlert,"onUpdate:modelValue":o[6]||(o[6]=d=>i.showApiKeyAlert=d)},{default:e.withCtx(()=>[e.createVNode(v,{class:"pa-3"},{default:e.withCtx(()=>[e.createVNode(h,{class:"pb-0"},{default:e.withCtx(()=>[o[9]||(o[9]=e.createTextVNode(" You're using COSMOS Enterprise, but you haven't set an OpenC3 Store API key yet. You must set this to access Enterprise plugins. ",-1)),o[10]||(o[10]=e.createElementVNode("br",null,null,-1)),o[11]||(o[11]=e.createElementVNode("br",null,null,-1)),o[12]||(o[12]=e.createTextVNode(" Visit the ",-1)),e.createElementVNode("a",{href:n.accountSettingsUrl,target:"_blank"},[o[8]||(o[8]=e.createTextVNode(" OpenC3 Store account settings",-1)),e.createVNode(w,{icon:"mdi-open-in-new",size:"x-small"})],8,ae),o[13]||(o[13]=e.createTextVNode(" to generate an API key. Then, return here and open the Plugin Store settings with the ",-1)),e.createVNode(w,{icon:"mdi-cog",size:"small"}),o[14]||(o[14]=e.createTextVNode(" icon and paste your API key into the API key field. ",-1))]),_:1}),e.createVNode(m,null,{default:e.withCtx(()=>[e.createVNode(x,{modelValue:i.suppressApiKeyAlert,"onUpdate:modelValue":o[5]||(o[5]=d=>i.suppressApiKeyAlert=d),class:"px-3",label:"Don't show this message again","hide-details":""},null,8,["modelValue"]),e.createVNode(_,{variant:"elevated",text:"OK",onClick:n.closeApiKeyAlert},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const ue=k._export_sfc(re,[["render",ce]]),de="https://store.openc3.com",pe={components:{PluginCard:le,PluginStoreSettingsDialog:ue},emits:["close","triggerInstall"],data(){return{api:new g.qi,search:"",showSettingsDialog:!1,plugins:[],storeError:null,storeUrl:de,isEnterprise:!1,isAdmin:!0,loading:!1}},computed:{filteredPlugins:function(){let t=this.plugins;return this.search.length&&(t=t.filter(o=>o.title.toLowerCase().includes(this.search.toLowerCase()))),t},formattedStoreUrl:function(){return this.storeUrl.split("://").at(-1)},installAllowed:function(){return!this.isEnterprise||this.isAdmin}},mounted:function(){this.fetchPluginStoreData(),this.fetchUserContext()},methods:{fetchPluginStoreData:function(){this.loading=!0,g.Fi.get("/openc3-api/pluginstore").then(({data:t})=>{if(t.error){const{title:o,body:l}=t;this.storeError={title:o,body:l},this.plugins=[]}else this.storeError=null,this.plugins=t}).finally(()=>{this.loading=!1})},fetchUserContext:function(){g.Fi.get("/openc3-api/info").then(({data:o})=>{this.isEnterprise=!!o.enterprise});const t=OpenC3Auth.userroles()||[];this.isAdmin=t.includes("admin")},close:function(){this.$emit("close")},install:function(t){this.$emit("triggerInstall",t),this.close()},openSettings:function(){this.showSettingsDialog=!0},updatePluginStore:function(t){this.storeUrl=t,this.loading=!0,this.api.update_plugin_store().then(o=>{this.fetchPluginStoreData()})}}},me={class:"d-flex justify-content-space-between"},ge={class:"d-inline-flex align-center w-100"},he={key:1,class:"d-flex justify-center align-center py-12","data-test":"plugin-store-loading"};function fe(t,o,l,c,i,n){const a=e.resolveComponent("v-spacer"),r=e.resolveComponent("v-btn"),s=e.resolveComponent("v-tooltip"),f=e.resolveComponent("v-text-field"),h=e.resolveComponent("v-alert"),_=e.resolveComponent("v-progress-circular"),m=e.resolveComponent("plugin-card"),v=e.resolveComponent("v-col"),C=e.resolveComponent("v-row"),w=e.resolveComponent("v-container"),x=e.resolveComponent("v-sheet"),d=e.resolveComponent("plugin-store-settings-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(x,{class:"pb-11 pt-8 px-8",height:"100%"},{default:e.withCtx(()=>[e.createElementVNode("div",me,[o[2]||(o[2]=e.createElementVNode("div",null,[e.createElementVNode("div",{class:"text-h3 mb-3"},"OpenC3 Plugin Store"),e.createElementVNode("div",{class:"text-subtitle-1"}," Browse plugins made by OpenC3 and the COSMOS community ")],-1)),e.createVNode(a),e.createVNode(r,{icon:"mdi-cog",variant:"text",onClick:n.openSettings},null,8,["onClick"]),e.createVNode(s,{location:"top"},{activator:e.withCtx(({props:V})=>[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(V)),[e.createVNode(r,{href:i.storeUrl,target:"_blank",icon:"mdi-open-in-new",variant:"text",class:"mx-2"},null,8,["href"])],16)]),default:e.withCtx(()=>[e.createElementVNode("span",null," Open "+e.toDisplayString(n.formattedStoreUrl),1)]),_:1}),e.createVNode(r,{icon:"mdi-close",variant:"text",onClick:n.close},null,8,["onClick"])]),e.createElementVNode("div",ge,[e.createVNode(f,{modelValue:i.search,"onUpdate:modelValue":o[0]||(o[0]=V=>i.search=V),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"","data-test":"search-plugin-store"},null,8,["modelValue"])]),e.createVNode(a),o[4]||(o[4]=e.createElementVNode("span",{class:""}," Click on a plugin to see more information about it ",-1)),i.storeError?(e.openBlock(),e.createBlock(h,{key:0,class:"mt-6",color:"error",title:i.storeError.title,text:i.storeError.body},null,8,["title","text"])):i.loading?(e.openBlock(),e.createElementBlock("div",he,[e.createVNode(_,{indeterminate:"",color:"primary",size:"48"}),o[3]||(o[3]=e.createElementVNode("span",{class:"ml-4 text-subtitle-1"},"Loading plugins...",-1))])):(e.openBlock(),e.createBlock(w,{key:2},{default:e.withCtx(()=>[e.createVNode(C,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.filteredPlugins,V=>(e.openBlock(),e.createBlock(v,{key:V.id,cols:"4"},{default:e.withCtx(()=>[e.createVNode(m,e.mergeProps({ref_for:!0},V,{"install-allowed":n.installAllowed,onTriggerInstall:n.install}),null,16,["install-allowed","onTriggerInstall"])]),_:2},1024))),128))]),_:1})]),_:1}))]),_:1}),e.createVNode(d,{modelValue:i.showSettingsDialog,"onUpdate:modelValue":o[1]||(o[1]=V=>i.showSettingsDialog=V),"onUpdate:storeUrl":n.updatePluginStore},null,8,["modelValue","onUpdate:storeUrl"])],64)}const _e=k._export_sfc(pe,[["render",fe]]),ve={components:{PluginDetailsDialog:D},mixins:[T],props:{targets:{type:Array,default:()=>[]},isModified:Boolean,microservices:{type:Object,default:()=>({})}},emits:["edit","delete","upgrade"],data(){return{showCard:!1}},computed:{displayTitle:function(){return this.title?this.title:this.name.replace(/^openc3-cosmos-/,"").replace(/-?\d+\.\d+\.\d+(?:\.pre\.beta\d+\.\d+)?\.gem(?:__\d+)?$/,"")},getMicroservicesForPlugin:function(){const t=[];for(const[o,l]of Object.entries(this.microservices))l.plugin===this.name&&t.push(o);return t},microserviceCount:function(){return this.getMicroservicesForPlugin.length}},methods:{openDetails:function(){this.hasDetails&&(this.showCard=!0)},downloadPlugin:function(){g.Fi.post(`/openc3-api/packages/${this.name}/download`).then(t=>{const o=window.atob(t.data.contents),l=new Uint8Array(o.length);for(let n=0;n<o.length;++n)l[n]=o.charCodeAt(n);const c=new Blob([l],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(c),i.setAttribute("download",t.data.filename),i.click()})},downloadTarget:function(t){g.Fi.post(`/openc3-api/targets/${t}/download`).then(o=>{const l=window.atob(o.data.contents),c=new Uint8Array(l.length);for(let a=0;a<l.length;++a)c[a]=l.charCodeAt(a);const i=new Blob([c],{type:"application/zip"}),n=document.createElement("a");n.href=URL.createObjectURL(i),n.setAttribute("download",o.data.filename),n.click()})},edit:function(){this.$emit("edit")},upgrade:function(){this.$emit("upgrade")},viewMicroservices:function(){const t=this.getMicroservicesForPlugin.join(",");this.$router.push({path:"/tools/admin/microservices",query:{services:t}})},deletePrompt:function(){this.showCard=!1,this.$emit("delete")}}},Ce=["textContent"],Ve={class:"text-subtitle-2 v-list-item-subtitle pl-0"},we={key:0},xe=["onClick","textContent"],ke=["textContent"];function ye(t,o,l,c,i,n){const a=e.resolveComponent("v-img"),r=e.resolveComponent("v-icon"),s=e.resolveComponent("v-list-item"),f=e.resolveComponent("v-list"),h=e.resolveComponent("v-menu"),_=e.resolveComponent("plugin-details-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass({"cursor-pointer":t.hasDetails}),"data-test":"plugin-list-item"},[e.createElementVNode("td",null,[t.imageContentsWithMimeType?(e.openBlock(),e.createBlock(a,{key:0,src:t.imageContentsWithMimeType,"max-height":"56","min-width":"56"},null,8,["src"])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createElementVNode("div",{class:"text-h6",onClick:o[0]||(o[0]=(...m)=>n.openDetails&&n.openDetails(...m)),textContent:e.toDisplayString(n.displayTitle)},null,8,Ce),e.createElementVNode("div",Ve,[l.isModified?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" * ")],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.name),1)]),l.targets?.length?(e.openBlock(),e.createElementBlock("div",we,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.targets,(m,v)=>(e.openBlock(),e.createElementBlock("span",{key:v,class:"mr-2"},[m.modified?(e.openBlock(),e.createElementBlock("a",{key:0,style:{cursor:"pointer"},onClick:e.withModifiers(C=>n.downloadTarget(m.name),["prevent"]),textContent:e.toDisplayString(m.name)},null,8,xe)):(e.openBlock(),e.createElementBlock("span",{key:1,textContent:e.toDisplayString(m.name)},null,8,ke))]))),128))])):e.createCommentVNode("",!0)]),e.createElementVNode("td",null,[e.createVNode(h,null,{activator:e.withCtx(({props:m})=>[e.createVNode(r,e.mergeProps(m,{icon:"mdi-dots-horizontal","data-test":"plugin-actions"}),null,16)]),default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createVNode(s,{title:"Download","prepend-icon":"mdi-download","data-test":"download-plugin",onClick:n.downloadPlugin},null,8,["onClick"]),e.createVNode(s,{title:"Edit Details","prepend-icon":"mdi-pencil","data-test":"edit-plugin",onClick:n.edit},null,8,["onClick"]),e.createVNode(s,{title:"Upgrade","prepend-icon":"mdi-update","data-test":"upgrade-plugin",onClick:n.upgrade},null,8,["onClick"]),e.createVNode(s,{title:`View Microservices (${n.microserviceCount})`,"prepend-icon":"mdi-tab","data-test":"view-microservices",onClick:n.viewMicroservices},null,8,["title","onClick"]),e.createVNode(s,{title:"Delete","prepend-icon":"mdi-delete","data-test":"delete-plugin",onClick:n.deletePrompt},null,8,["onClick"])]),_:1})]),_:1})])],2),i.showCard?(e.openBlock(),e.createBlock(_,e.mergeProps({key:0,modelValue:i.showCard,"onUpdate:modelValue":o[1]||(o[1]=m=>i.showCard=m)},t.plugin,{onTriggerUninstall:n.deletePrompt}),null,16,["modelValue","onTriggerUninstall"])):e.createCommentVNode("",!0)],64)}const Ne=k._export_sfc(ve,[["render",ye]]),Pe={components:{PluginListItem:Ne},props:{plugins:{type:Array,required:!0},targets:{type:Object,required:!0},showDefaultTools:{type:Boolean,default:!1},defaultPlugins:{type:Array,required:!0}},emits:["edit","delete","upgrade"],data(){return{showPluginDetails:!1,detailPlugin:null,microservices:{}}},computed:{shownPlugins(){const t=[],o=[];return this.plugins.forEach(l=>{const n=l.name.split("__")[0].split("-").slice(0,-1).join("-");this.defaultPlugins.includes(n)?o.push(l):t.push(l)}),t.sort((l,c)=>l.name<c.name?-1:l.name>c.name?1:0),this.showDefaultTools?(o.sort((l,c)=>l.name<c.name?-1:l.name>c.name?1:0),t.concat(o)):t}},mounted(){this.fetchMicroservices()},methods:{showDetails:function(t){this.detailPlugin=t,this.showPluginDetails=!0},pluginTargets:function(t){let o=[];for(const l in this.targets)this.targets[l].plugin===t&&o.push(this.targets[l]);return o},isModified:function(t){return Object.entries(this.targets).some(([o,l])=>l.plugin===t&&l.modified===!0)},editPlugin:function(t){this.$emit("edit",t)},upgradePlugin(t){this.$emit("upgrade",t)},deletePrompt:function(t){this.$emit("delete",t)},fetchMicroservices:function(){g.Fi.get("/openc3-api/microservices/all").then(t=>{this.microservices=t.data})}}};function be(t,o,l,c,i,n){const a=e.resolveComponent("plugin-list-item"),r=e.resolveComponent("v-data-table");return e.openBlock(),e.createBlock(r,{headers:[],items:n.shownPlugins,density:"compact",class:"list","data-test":"plugin-list"},{item:e.withCtx(({item:s})=>[(e.openBlock(),e.createBlock(a,e.mergeProps({key:s.name},s,{targets:n.pluginTargets(s.name),"is-modified":n.isModified(s.name),microservices:i.microservices,onEdit:()=>n.editPlugin(s.name),onUpgrade:()=>n.upgradePlugin(s.name),onDelete:()=>n.deletePrompt(s.name)}),null,16,["targets","is-modified","microservices","onEdit","onUpgrade","onDelete"]))]),_:1},8,["items"])}const Se=k._export_sfc(Pe,[["render",be],["__scopeId","data-v-16a76865"]]),Te={components:{PluginDialog:S.PluginDialog,PluginList:Se,PluginStore:_e,ModifiedPluginDialog:S.ModifiedPluginDialog,SimpleTextDialog:F.SimpleTextDialog},mixins:[L.TimeFilters],data(){return{pluginName:null,variables:{},storePluginId:null,storeVersionId:null,minCosmosVersion:null,pluginTxt:"",file:null,currentPlugin:null,pluginHashTmp:null,existingPluginTxt:null,progress:0,pluginDelete:!1,api:new g.qi,plugins:[],targets:{},processes:{},alert:"",alertType:"success",showAlert:!1,showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",showPluginStore:!1,showPluginDialog:!1,showModifiedPluginDialog:!1,showDefaultTools:!1,timeZone:"local",defaultPlugins:["openc3-cosmos-tool-admin","openc3-cosmos-tool-bucketexplorer","openc3-cosmos-tool-cmdsender","openc3-cosmos-tool-cmdqueue","openc3-cosmos-tool-cmdhistory","openc3-cosmos-tool-cmdtlmserver","openc3-cosmos-tool-dataextractor","openc3-cosmos-tool-dataviewer","openc3-cosmos-tool-docs","openc3-cosmos-tool-handbooks","openc3-cosmos-tool-iframe","openc3-cosmos-tool-limitsmonitor","openc3-cosmos-tool-packetviewer","openc3-cosmos-tool-scriptrunner","openc3-cosmos-tool-tablemanager","openc3-cosmos-tool-tlmgrapher","openc3-cosmos-tool-tlmviewer","openc3-cosmos-enterprise-tool-admin","openc3-cosmos-tool-autonomic","openc3-cosmos-tool-calendar","openc3-cosmos-tool-grafana","openc3-cosmos-tool-logexplorer","openc3-cosmos-tool-notebooks","openc3-cosmos-tool-systemhealth","openc3-enterprise-tool-base","openc3-tool-base"]}},watch:{showPluginDialog:function(t,o){t===!1&&(this.file=null,this.$refs.fileInput.value=null)}},created(){this.api.update_plugin_store(),this.api.get_setting("time_zone").then(t=>{t&&(this.timeZone=t)}).catch(()=>{})},mounted(){this.update(),this.updateProcesses();const t=this;window.onpopstate=function(){t.showPluginStore&&(t.showPluginStore=!1,history.go(1))}},methods:{resetControlState:function(){this.pluginName=null,this.variables={},this.storePluginId=null,this.storeVersionId=null,this.minCosmosVersion=null,this.pluginTxt="",this.file=null,this.currentPlugin=null,this.pluginHashTmp=null,this.existingPluginTxt=null,this.progress=0,this.pluginDelete=!1},pluginTargets:function(t){let o=[];for(const l in this.targets)this.targets[l].plugin===t&&o.push(this.targets[l]);return o},isModified:function(t){return Object.entries(this.targets).some(([o,l])=>l.plugin===t&&l.modified===!0)},showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){g.Fi.get("/openc3-api/plugins/all").then(t=>{this.plugins=Object.entries(t.data).map(([o,l])=>l)}),g.Fi.get("/openc3-api/targets_modified").then(t=>{this.targets=t.data})},updateProcesses:function(){g.Fi.get("openc3-api/process_status/plugin_?substr=true").then(t=>{this.processes=t.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},5e3)})},upload:function(t=null,o=null){const l=t?"put":"post",c=t?`/openc3-api/plugins/${t}`:"/openc3-api/plugins",i=new FormData;o===null?i.append("plugin",this.file,this.file.name):(i.append("store_plugin_id",o.id),i.append("store_version_id",o.version_id));let n=this;g.Fi[l](c,{data:i,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(r){let s=Math.round(r.loaded*100/r.total);n.progress=s}}).then(r=>{this.progress=100,this.alert="Uploaded file",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update();let s=null;r.data.existing_plugin_txt_lines!==void 0&&(s=r.data.existing_plugin_txt_lines.join(`
2
2
  `));let f=r.data.plugin_txt_lines.join(`
3
- `);this.pluginName=r.data.name,this.variables=r.data.variables,this.storePluginId=r.data.store_plugin_id,this.storeVersionId=r.data.store_version_id,this.minCosmosVersion=r.data.minimum_cosmos_version,this.pluginTxt=f,this.existingPluginTxt=s,this.showPluginDialog=!0,this.file=void 0}).catch(r=>{this.currentPlugin=null,this.file=void 0})},pluginCallback:function(t){this.showPluginDialog=!1,this.currentPlugin!==null&&(t.name=this.currentPlugin),this.pluginHashTmp=t,this.isModified(this.currentPlugin)?(this.pluginDelete=!1,this.showModifiedPluginDialog=!0):this.pluginInstall()},modifiedSubmit:async function(t){if(t===!0)for(let o of this.pluginTargets(this.currentPlugin))o.modified==!0&&await g.es.post(`/openc3-api/targets/${o.name}/delete_modified`);this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall()},pluginInstall:function(){g.es.post(`/openc3-api/plugins/install/${this.pluginName}`,{data:{plugin_hash:JSON.stringify(this.pluginHashTmp)}}).then(t=>{this.alert=`Started installing plugin ${this.pluginName} ...`,this.alertType="success",this.showAlert=!0,this.currentPlugin=null,this.file=void 0,this.variables={},this.pluginTxt="",this.existingPluginTxt=null,this.storePluginId=null,this.storeVersionId=null,setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3),this.update()})},editPlugin:function(t){this.resetControlState(),g.es.get(`/openc3-api/plugins/${t}`).then(o=>{let l=null;o.data.existing_plugin_txt_lines!==void 0&&(l=o.data.existing_plugin_txt_lines.join(`
3
+ `);this.pluginName=r.data.name,this.variables=r.data.variables,this.storePluginId=r.data.store_plugin_id,this.storeVersionId=r.data.store_version_id,this.minCosmosVersion=r.data.minimum_cosmos_version,this.pluginTxt=f,this.existingPluginTxt=s,this.showPluginDialog=!0,this.file=void 0}).catch(r=>{this.currentPlugin=null,this.file=void 0})},pluginCallback:function(t){this.showPluginDialog=!1,this.currentPlugin!==null&&(t.name=this.currentPlugin),this.pluginHashTmp=t,this.isModified(this.currentPlugin)?(this.pluginDelete=!1,this.showModifiedPluginDialog=!0):this.pluginInstall()},modifiedSubmit:async function(t){if(t===!0)for(let o of this.pluginTargets(this.currentPlugin))o.modified==!0&&await g.Fi.post(`/openc3-api/targets/${o.name}/delete_modified`);this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall()},pluginInstall:function(){g.Fi.post(`/openc3-api/plugins/install/${this.pluginName}`,{data:{plugin_hash:JSON.stringify(this.pluginHashTmp)}}).then(t=>{this.alert=`Started installing plugin ${this.pluginName} ...`,this.alertType="success",this.showAlert=!0,this.currentPlugin=null,this.file=void 0,this.variables={},this.pluginTxt="",this.existingPluginTxt=null,this.storePluginId=null,this.storeVersionId=null,setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3),this.update()})},editPlugin:function(t){this.resetControlState(),g.Fi.get(`/openc3-api/plugins/${t}`).then(o=>{let l=null;o.data.existing_plugin_txt_lines!==void 0&&(l=o.data.existing_plugin_txt_lines.join(`
4
4
  `)),this.pluginName=o.data.name,this.variables=o.data.variables,this.pluginTxt=o.data.plugin_txt_lines.join(`
5
- `),this.existingPluginTxt=l,this.showPluginDialog=!0})},deletePrompt:function(t){this.resetControlState(),this.$dialog.confirm(`Are you sure you want to remove: ${t}`,{okText:"Delete",cancelText:"Cancel"}).then(o=>{this.isModified(t)?(this.currentPlugin=t,this.pluginDelete=!0,this.showModifiedPluginDialog=!0):this.deletePlugin(t)})},deletePlugin:function(t){this.alert=`Removing plugin ${t} ...`,this.alertType="success",this.showAlert=!0,g.es.delete(`/openc3-api/plugins/${t}`).then(o=>{setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3)}),this.update()},upgradePlugin(t){this.resetControlState(),this.currentPlugin=t,this.$refs.fileInput.click()},selectFile(){this.resetControlState(),this.$refs.fileInput.click()},fileChange(t){const o=t.target.files;if(o.length>0)if(this.file=o[0],this.currentPlugin!==null)if(this.file.name.split(".gem")[0]==this.currentPlugin.split(".gem")[0])this.$dialog.confirm(`The new gem ${this.file.name} appears to be identical to the existing ${this.currentPlugin}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}).catch(l=>{});else{let l=this.file.name.split("-"),c=l.findIndex(a=>a.includes(".")),i=l.slice(0,c).join("-");l=this.currentPlugin.split("-"),c=l.findIndex(a=>a.includes("."));let n=l.slice(0,c).join("-");i!==n?this.$dialog.confirm(`The new gem base name ${i} doesn't match the existing ${n}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}):this.upload(this.currentPlugin)}else this.upload();else this.$refs.fileInput.value=null},openStore(){this.resetControlState(),this.showPluginStore=!0}}},Ee={class:"mt-2"},De=["textContent"],Be=["textContent"];function Ue(t,o,l,c,i,n){const a=e.resolveComponent("v-btn"),r=e.resolveComponent("v-icon"),s=e.resolveComponent("v-col"),f=e.resolveComponent("rux-progress"),h=e.resolveComponent("v-row"),_=e.resolveComponent("v-divider"),m=e.resolveComponent("v-alert"),v=e.resolveComponent("v-list-item-title"),C=e.resolveComponent("v-list-item-subtitle"),w=e.resolveComponent("v-progress-circular"),x=e.resolveComponent("v-tooltip"),d=e.resolveComponent("v-list-item"),V=e.resolveComponent("v-list"),N=e.resolveComponent("v-switch"),p=e.resolveComponent("plugin-list"),B=e.resolveComponent("plugin-dialog"),U=e.resolveComponent("modified-plugin-dialog"),A=e.resolveComponent("simple-text-dialog"),I=e.resolveComponent("plugin-store"),O=e.resolveComponent("v-bottom-sheet");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(h,{"no-gutters":"",align:"center",class:"px-2"},{default:e.withCtx(()=>[e.createVNode(s,{class:"pa-2 mt-2"},{default:e.withCtx(()=>[e.createVNode(a,{"append-icon":"mdi-store",onClick:n.openStore},{default:e.withCtx(()=>[...o[9]||(o[9]=[e.createTextVNode(" Browse Plugins ",-1)])]),_:1},8,["onClick"]),e.createVNode(a,{"append-icon":"mdi-paperclip",class:"mx-2",onClick:n.selectFile},{default:e.withCtx(()=>[...o[10]||(o[10]=[e.createTextVNode(" Install From File ",-1)])]),_:1},8,["onClick"]),e.createElementVNode("input",{ref:"fileInput",accept:".gem",style:{display:"none"},type:"file",onChange:o[0]||(o[0]=(...u)=>n.fileChange&&n.fileChange(...u))},null,544),o[14]||(o[14]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("p",Ee,[o[12]||(o[12]=e.createTextVNode(" Note: Use ",-1)),e.createVNode(r,null,{default:e.withCtx(()=>[...o[11]||(o[11]=[e.createTextVNode(" mdi-dots-horizontal ",-1)])]),_:1}),o[13]||(o[13]=e.createTextVNode(" in the Installed Plugins list to upgrade existing plugins ",-1))])]),_:1}),e.createVNode(s,{class:"ml-4 mr-2",cols:"4"},{default:e.withCtx(()=>[e.createVNode(f,{value:i.progress},null,8,["value"])]),_:1})]),_:1}),e.createVNode(h,{"no-gutters":"",class:"px-2"},{default:e.withCtx(()=>[e.createVNode(s,{align:"right",class:"mr-2"},{default:e.withCtx(()=>[...o[15]||(o[15]=[e.createElementVNode("div",null,"* indicates a modified plugin",-1),e.createElementVNode("div",null,"Click target link to download modifications",-1)])]),_:1})]),_:1}),e.createVNode(_),e.createVNode(m,{modelValue:i.showAlert,"onUpdate:modelValue":o[1]||(o[1]=u=>i.showAlert=u),closable:"",type:i.alertType,text:i.alert,"data-test":"plugin-alert"},null,8,["modelValue","type","text"]),Object.keys(i.processes).length>0?(e.openBlock(),e.createBlock(V,{key:0,class:"list","data-test":"process-list"},{default:e.withCtx(()=>[e.createVNode(h,{"no-gutters":"",class:"px-4"},{default:e.withCtx(()=>[e.createVNode(s,{class:"text-h5"},{default:e.withCtx(()=>[...o[16]||(o[16]=[e.createTextVNode(" Process List ",-1)])]),_:1}),e.createVNode(s,{align:"right"},{default:e.withCtx(()=>[...o[17]||(o[17]=[e.createElementVNode("div",null,"Showing last 10 min of activity",-1)])]),_:1})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.processes,u=>(e.openBlock(),e.createElementBlock("div",{key:u.name},[e.createVNode(d,null,{append:e.withCtx(()=>[u.state==="Running"?(e.openBlock(),e.createBlock(w,{key:0,indeterminate:"",color:"primary"})):(e.openBlock(),e.createBlock(x,{key:1,"open-delay":600,location:"top"},{activator:e.withCtx(({props:M})=>[e.createVNode(a,e.mergeProps({ref_for:!0},M,{icon:"mdi-eye",variant:"text","aria-label":"Show Output","data-test":"show-output",onClick:Ie=>n.showOutput(u)}),null,16,["onClick"])]),default:e.withCtx(()=>[o[18]||(o[18]=e.createElementVNode("span",null," Show Output ",-1))]),_:2},1024))]),default:e.withCtx(()=>[e.createVNode(v,null,{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(u.state.toLowerCase()),textContent:e.toDisplayString(`Processing ${u.process_type}: ${u.detail} - ${u.state}`)},null,10,De)]),_:2},1024),e.createVNode(C,null,{default:e.withCtx(()=>[e.createElementVNode("span",{textContent:e.toDisplayString(" Updated At: "+t.formatNanoseconds(u.updated_at,i.timeZone))},null,8,Be)]),_:2},1024)]),_:2},1024),e.createVNode(_)]))),128))]),_:1})):e.createCommentVNode("",!0),e.createVNode(h,{"no-gutters":"",class:"px-4"},{default:e.withCtx(()=>[e.createVNode(s,{class:"text-h5"},{default:e.withCtx(()=>[...o[19]||(o[19]=[e.createTextVNode(" Installed Plugins ",-1)])]),_:1}),e.createVNode(s,{class:"v-col-auto"},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:i.showDefaultTools,"onUpdate:modelValue":o[2]||(o[2]=u=>i.showDefaultTools=u),label:"Show Default Tools",density:"compact","hide-details":"","data-test":"show-default-tools"},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(p,{plugins:i.plugins,targets:i.targets,"show-default-tools":i.showDefaultTools,"default-plugins":i.defaultPlugins,onEdit:n.editPlugin,onUpgrade:n.upgradePlugin,onDelete:n.deletePrompt},null,8,["plugins","targets","show-default-tools","default-plugins","onEdit","onUpgrade","onDelete"]),i.showPluginDialog?(e.openBlock(),e.createBlock(B,{key:1,modelValue:i.showPluginDialog,"onUpdate:modelValue":o[3]||(o[3]=u=>i.showPluginDialog=u),"plugin-name":i.pluginName,variables:i.variables,"plugin-txt":i.pluginTxt,"existing-plugin-txt":i.existingPluginTxt,"store-plugin-id":i.storePluginId,"store-version-id":i.storeVersionId,"min-cosmos-version":i.minCosmosVersion,onCallback:n.pluginCallback},null,8,["modelValue","plugin-name","variables","plugin-txt","existing-plugin-txt","store-plugin-id","store-version-id","min-cosmos-version","onCallback"])):e.createCommentVNode("",!0),i.showModifiedPluginDialog?(e.openBlock(),e.createBlock(U,{key:2,modelValue:i.showModifiedPluginDialog,"onUpdate:modelValue":o[4]||(o[4]=u=>i.showModifiedPluginDialog=u),"plugin-name":i.currentPlugin,targets:n.pluginTargets(i.currentPlugin),"plugin-delete":i.pluginDelete,onSubmit:n.modifiedSubmit},null,8,["modelValue","plugin-name","targets","plugin-delete","onSubmit"])):e.createCommentVNode("",!0),e.createVNode(A,{modelValue:i.showProcessOutput,"onUpdate:modelValue":o[5]||(o[5]=u=>i.showProcessOutput=u),title:"Process Output",text:i.processOutput},null,8,["modelValue","text"]),e.createVNode(O,{modelValue:i.showPluginStore,"onUpdate:modelValue":o[8]||(o[8]=u=>i.showPluginStore=u),fullscreen:""},{default:e.withCtx(()=>[e.createVNode(I,{onClose:o[6]||(o[6]=()=>i.showPluginStore=!1),onTriggerInstall:o[7]||(o[7]=u=>n.upload(null,u))})]),_:1},8,["modelValue"])])}const Ae=k._export_sfc(Te,[["render",Ue],["__scopeId","data-v-31fcfb69"]]);exports.default=Ae;
6
- //# sourceMappingURL=PluginsTab-D_cFEd7L.cjs.map
5
+ `),this.existingPluginTxt=l,this.showPluginDialog=!0})},deletePrompt:function(t){this.resetControlState(),this.$dialog.confirm(`Are you sure you want to remove: ${t}`,{okText:"Delete",cancelText:"Cancel"}).then(o=>{this.isModified(t)?(this.currentPlugin=t,this.pluginDelete=!0,this.showModifiedPluginDialog=!0):this.deletePlugin(t)})},deletePlugin:function(t){this.alert=`Removing plugin ${t} ...`,this.alertType="success",this.showAlert=!0,g.Fi.delete(`/openc3-api/plugins/${t}`).then(o=>{setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3)}),this.update()},upgradePlugin(t){this.resetControlState(),this.currentPlugin=t,this.$refs.fileInput.click()},selectFile(){this.resetControlState(),this.$refs.fileInput.click()},fileChange(t){const o=t.target.files;if(o.length>0)if(this.file=o[0],this.currentPlugin!==null)if(this.file.name.split(".gem")[0]==this.currentPlugin.split(".gem")[0])this.$dialog.confirm(`The new gem ${this.file.name} appears to be identical to the existing ${this.currentPlugin}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}).catch(l=>{});else{let l=this.file.name.split("-"),c=l.findIndex(a=>a.includes(".")),i=l.slice(0,c).join("-");l=this.currentPlugin.split("-"),c=l.findIndex(a=>a.includes("."));let n=l.slice(0,c).join("-");i!==n?this.$dialog.confirm(`The new gem base name ${i} doesn't match the existing ${n}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}):this.upload(this.currentPlugin)}else this.upload();else this.$refs.fileInput.value=null},openStore(){this.resetControlState(),this.showPluginStore=!0}}},Ee={class:"mt-2"},De=["textContent"],Be=["textContent"];function Ue(t,o,l,c,i,n){const a=e.resolveComponent("v-btn"),r=e.resolveComponent("v-icon"),s=e.resolveComponent("v-col"),f=e.resolveComponent("rux-progress"),h=e.resolveComponent("v-row"),_=e.resolveComponent("v-divider"),m=e.resolveComponent("v-alert"),v=e.resolveComponent("v-list-item-title"),C=e.resolveComponent("v-list-item-subtitle"),w=e.resolveComponent("v-progress-circular"),x=e.resolveComponent("v-tooltip"),d=e.resolveComponent("v-list-item"),V=e.resolveComponent("v-list"),N=e.resolveComponent("v-switch"),p=e.resolveComponent("plugin-list"),B=e.resolveComponent("plugin-dialog"),U=e.resolveComponent("modified-plugin-dialog"),A=e.resolveComponent("simple-text-dialog"),I=e.resolveComponent("plugin-store"),O=e.resolveComponent("v-bottom-sheet");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(h,{"no-gutters":"",align:"center",class:"px-2"},{default:e.withCtx(()=>[e.createVNode(s,{class:"pa-2 mt-2"},{default:e.withCtx(()=>[e.createVNode(a,{"append-icon":"mdi-store",onClick:n.openStore},{default:e.withCtx(()=>[...o[9]||(o[9]=[e.createTextVNode(" Browse Plugins ",-1)])]),_:1},8,["onClick"]),e.createVNode(a,{"append-icon":"mdi-paperclip",class:"mx-2",onClick:n.selectFile},{default:e.withCtx(()=>[...o[10]||(o[10]=[e.createTextVNode(" Install From File ",-1)])]),_:1},8,["onClick"]),e.createElementVNode("input",{ref:"fileInput",accept:".gem",style:{display:"none"},type:"file",onChange:o[0]||(o[0]=(...u)=>n.fileChange&&n.fileChange(...u))},null,544),o[14]||(o[14]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("p",Ee,[o[12]||(o[12]=e.createTextVNode(" Note: Use ",-1)),e.createVNode(r,null,{default:e.withCtx(()=>[...o[11]||(o[11]=[e.createTextVNode(" mdi-dots-horizontal ",-1)])]),_:1}),o[13]||(o[13]=e.createTextVNode(" in the Installed Plugins list to upgrade existing plugins ",-1))])]),_:1}),e.createVNode(s,{class:"ml-4 mr-2",cols:"4"},{default:e.withCtx(()=>[e.createVNode(f,{value:i.progress},null,8,["value"])]),_:1})]),_:1}),e.createVNode(h,{"no-gutters":"",class:"px-2"},{default:e.withCtx(()=>[e.createVNode(s,{align:"right",class:"mr-2"},{default:e.withCtx(()=>[...o[15]||(o[15]=[e.createElementVNode("div",null,"* indicates a modified plugin",-1),e.createElementVNode("div",null,"Click target link to download modifications",-1)])]),_:1})]),_:1}),e.createVNode(_),e.createVNode(m,{modelValue:i.showAlert,"onUpdate:modelValue":o[1]||(o[1]=u=>i.showAlert=u),closable:"",type:i.alertType,text:i.alert,"data-test":"plugin-alert"},null,8,["modelValue","type","text"]),Object.keys(i.processes).length>0?(e.openBlock(),e.createBlock(V,{key:0,class:"list","data-test":"process-list"},{default:e.withCtx(()=>[e.createVNode(h,{"no-gutters":"",class:"px-4"},{default:e.withCtx(()=>[e.createVNode(s,{class:"text-h5"},{default:e.withCtx(()=>[...o[16]||(o[16]=[e.createTextVNode(" Process List ",-1)])]),_:1}),e.createVNode(s,{align:"right"},{default:e.withCtx(()=>[...o[17]||(o[17]=[e.createElementVNode("div",null,"Showing last 10 min of activity",-1)])]),_:1})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.processes,u=>(e.openBlock(),e.createElementBlock("div",{key:u.name},[e.createVNode(d,null,{append:e.withCtx(()=>[u.state==="Running"?(e.openBlock(),e.createBlock(w,{key:0,indeterminate:"",color:"primary"})):(e.openBlock(),e.createBlock(x,{key:1,"open-delay":600,location:"top"},{activator:e.withCtx(({props:M})=>[e.createVNode(a,e.mergeProps({ref_for:!0},M,{icon:"mdi-eye",variant:"text","aria-label":"Show Output","data-test":"show-output",onClick:Ie=>n.showOutput(u)}),null,16,["onClick"])]),default:e.withCtx(()=>[o[18]||(o[18]=e.createElementVNode("span",null," Show Output ",-1))]),_:2},1024))]),default:e.withCtx(()=>[e.createVNode(v,null,{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(u.state.toLowerCase()),textContent:e.toDisplayString(`Processing ${u.process_type}: ${u.detail} - ${u.state}`)},null,10,De)]),_:2},1024),e.createVNode(C,null,{default:e.withCtx(()=>[e.createElementVNode("span",{textContent:e.toDisplayString(" Updated At: "+t.formatNanoseconds(u.updated_at,i.timeZone))},null,8,Be)]),_:2},1024)]),_:2},1024),e.createVNode(_)]))),128))]),_:1})):e.createCommentVNode("",!0),e.createVNode(h,{"no-gutters":"",class:"px-4"},{default:e.withCtx(()=>[e.createVNode(s,{class:"text-h5"},{default:e.withCtx(()=>[...o[19]||(o[19]=[e.createTextVNode(" Installed Plugins ",-1)])]),_:1}),e.createVNode(s,{class:"v-col-auto"},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:i.showDefaultTools,"onUpdate:modelValue":o[2]||(o[2]=u=>i.showDefaultTools=u),label:"Show Default Tools",density:"compact","hide-details":"","data-test":"show-default-tools"},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(p,{plugins:i.plugins,targets:i.targets,"show-default-tools":i.showDefaultTools,"default-plugins":i.defaultPlugins,onEdit:n.editPlugin,onUpgrade:n.upgradePlugin,onDelete:n.deletePrompt},null,8,["plugins","targets","show-default-tools","default-plugins","onEdit","onUpgrade","onDelete"]),i.showPluginDialog?(e.openBlock(),e.createBlock(B,{key:1,modelValue:i.showPluginDialog,"onUpdate:modelValue":o[3]||(o[3]=u=>i.showPluginDialog=u),"plugin-name":i.pluginName,variables:i.variables,"plugin-txt":i.pluginTxt,"existing-plugin-txt":i.existingPluginTxt,"store-plugin-id":i.storePluginId,"store-version-id":i.storeVersionId,"min-cosmos-version":i.minCosmosVersion,onCallback:n.pluginCallback},null,8,["modelValue","plugin-name","variables","plugin-txt","existing-plugin-txt","store-plugin-id","store-version-id","min-cosmos-version","onCallback"])):e.createCommentVNode("",!0),i.showModifiedPluginDialog?(e.openBlock(),e.createBlock(U,{key:2,modelValue:i.showModifiedPluginDialog,"onUpdate:modelValue":o[4]||(o[4]=u=>i.showModifiedPluginDialog=u),"plugin-name":i.currentPlugin,targets:n.pluginTargets(i.currentPlugin),"plugin-delete":i.pluginDelete,onSubmit:n.modifiedSubmit},null,8,["modelValue","plugin-name","targets","plugin-delete","onSubmit"])):e.createCommentVNode("",!0),e.createVNode(A,{modelValue:i.showProcessOutput,"onUpdate:modelValue":o[5]||(o[5]=u=>i.showProcessOutput=u),title:"Process Output",text:i.processOutput},null,8,["modelValue","text"]),e.createVNode(O,{modelValue:i.showPluginStore,"onUpdate:modelValue":o[8]||(o[8]=u=>i.showPluginStore=u),fullscreen:""},{default:e.withCtx(()=>[e.createVNode(I,{onClose:o[6]||(o[6]=()=>i.showPluginStore=!1),onTriggerInstall:o[7]||(o[7]=u=>n.upload(null,u))})]),_:1},8,["modelValue"])])}const Ae=k._export_sfc(Te,[["render",Ue],["__scopeId","data-v-31fcfb69"]]);exports.default=Ae;
6
+ //# sourceMappingURL=PluginsTab-DN_iK1D9.cjs.map