@openc3/vue-common 6.10.2 → 6.10.4

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 (545) hide show
  1. package/dist/{ArrayWidget-ByKRAWXn.cjs → ArrayWidget-CIMbQsGW.cjs} +3 -3
  2. package/dist/{ArrayWidget-ByKRAWXn.cjs.map → ArrayWidget-CIMbQsGW.cjs.map} +1 -1
  3. package/dist/{ArrayWidget-CR7Wpw3N.js → ArrayWidget-DfiusKpM.js} +11 -11
  4. package/dist/{ArrayWidget-CR7Wpw3N.js.map → ArrayWidget-DfiusKpM.js.map} +1 -1
  5. package/dist/{ArrayplotWidget-Cty7KQ_h.cjs → ArrayplotWidget-DrrqqJEu.cjs} +2 -2
  6. package/dist/{ArrayplotWidget-Cty7KQ_h.cjs.map → ArrayplotWidget-DrrqqJEu.cjs.map} +1 -1
  7. package/dist/{ArrayplotWidget-DDEd-jRJ.js → ArrayplotWidget-DsvOovu9.js} +4 -4
  8. package/dist/{ArrayplotWidget-DDEd-jRJ.js.map → ArrayplotWidget-DsvOovu9.js.map} +1 -1
  9. package/dist/BarColumn-CWgcL5w1.cjs +2 -0
  10. package/dist/BarColumn-CWgcL5w1.cjs.map +1 -0
  11. package/dist/{BarColumn-XWs-3Cwb.js → BarColumn-DHHJBR3V.js} +11 -11
  12. package/dist/BarColumn-DHHJBR3V.js.map +1 -0
  13. package/dist/{BlockWidget-BDzoqpxO.cjs → BlockWidget-7Ecn_42c.cjs} +3 -3
  14. package/dist/{BlockWidget-BDzoqpxO.cjs.map → BlockWidget-7Ecn_42c.cjs.map} +1 -1
  15. package/dist/{BlockWidget-CfFgdNSv.js → BlockWidget-BdYXWS_0.js} +14 -14
  16. package/dist/{BlockWidget-CfFgdNSv.js.map → BlockWidget-BdYXWS_0.js.map} +1 -1
  17. package/dist/{ButtonWidget-BBMDS_YF.cjs → ButtonWidget-DFxBj0MG.cjs} +3 -3
  18. package/dist/ButtonWidget-DFxBj0MG.cjs.map +1 -0
  19. package/dist/{ButtonWidget-BaSvtElA.js → ButtonWidget-zpSJmiQT.js} +15 -15
  20. package/dist/ButtonWidget-zpSJmiQT.js.map +1 -0
  21. package/dist/{CanvasWidget-CFNpgqfW.cjs → CanvasWidget-C5-iZ-YT.cjs} +2 -2
  22. package/dist/{CanvasWidget-CFNpgqfW.cjs.map → CanvasWidget-C5-iZ-YT.cjs.map} +1 -1
  23. package/dist/{CanvasWidget-DcwDi5Zk.js → CanvasWidget-DaUB1G9X.js} +4 -4
  24. package/dist/{CanvasWidget-DcwDi5Zk.js.map → CanvasWidget-DaUB1G9X.js.map} +1 -1
  25. package/dist/{CanvasdotWidget--awMOWyz.js → CanvasdotWidget-C255aTVc.js} +3 -3
  26. package/dist/{CanvasdotWidget--awMOWyz.js.map → CanvasdotWidget-C255aTVc.js.map} +1 -1
  27. package/dist/{CanvasdotWidget-BZ9TrTvw.cjs → CanvasdotWidget-CCrgS1yO.cjs} +2 -2
  28. package/dist/{CanvasdotWidget-BZ9TrTvw.cjs.map → CanvasdotWidget-CCrgS1yO.cjs.map} +1 -1
  29. package/dist/CanvasimageWidget-B2Mm0dYq.cjs +2 -0
  30. package/dist/CanvasimageWidget-B2Mm0dYq.cjs.map +1 -0
  31. package/dist/{CanvasimageWidget-YP1pCtvb.js → CanvasimageWidget-CFlUUFqr.js} +8 -7
  32. package/dist/CanvasimageWidget-CFlUUFqr.js.map +1 -0
  33. package/dist/CanvasimagevalueWidget-B1xVa3FB.cjs +2 -0
  34. package/dist/CanvasimagevalueWidget-B1xVa3FB.cjs.map +1 -0
  35. package/dist/{CanvasimagevalueWidget-CjVHb2uj.js → CanvasimagevalueWidget-s4gR3fo5.js} +5 -4
  36. package/dist/CanvasimagevalueWidget-s4gR3fo5.js.map +1 -0
  37. package/dist/{CanvaslabelWidget-Dw1YmiY0.cjs → CanvaslabelWidget-CAtE3qq_.cjs} +2 -2
  38. package/dist/{CanvaslabelWidget-Dw1YmiY0.cjs.map → CanvaslabelWidget-CAtE3qq_.cjs.map} +1 -1
  39. package/dist/{CanvaslabelWidget-DoMplTTO.js → CanvaslabelWidget-CaOc-lTQ.js} +3 -3
  40. package/dist/{CanvaslabelWidget-DoMplTTO.js.map → CanvaslabelWidget-CaOc-lTQ.js.map} +1 -1
  41. package/dist/CanvaslabelvalueWidget-CvVMrZsu.cjs +2 -0
  42. package/dist/CanvaslabelvalueWidget-CvVMrZsu.cjs.map +1 -0
  43. package/dist/{CanvaslabelvalueWidget-Dyo_ogHn.js → CanvaslabelvalueWidget-hqJoPekq.js} +4 -3
  44. package/dist/CanvaslabelvalueWidget-hqJoPekq.js.map +1 -0
  45. package/dist/{CanvaslineWidget-tm194dw1.cjs → CanvaslineWidget-CjPnyDod.cjs} +2 -2
  46. package/dist/{CanvaslineWidget-tm194dw1.cjs.map → CanvaslineWidget-CjPnyDod.cjs.map} +1 -1
  47. package/dist/{CanvaslineWidget-D7W1TIxm.js → CanvaslineWidget-DebP2L43.js} +3 -3
  48. package/dist/{CanvaslineWidget-D7W1TIxm.js.map → CanvaslineWidget-DebP2L43.js.map} +1 -1
  49. package/dist/{CanvaslinevalueWidget-BOZyJuLE.js → CanvaslinevalueWidget-BkPG5Vtx.js} +11 -10
  50. package/dist/CanvaslinevalueWidget-BkPG5Vtx.js.map +1 -0
  51. package/dist/CanvaslinevalueWidget-Caadjtan.cjs +2 -0
  52. package/dist/CanvaslinevalueWidget-Caadjtan.cjs.map +1 -0
  53. package/dist/CheckbuttonWidget-CEOWZkt6.cjs +2 -0
  54. package/dist/{CheckbuttonWidget-BSvTWD3x.cjs.map → CheckbuttonWidget-CEOWZkt6.cjs.map} +1 -1
  55. package/dist/{CheckbuttonWidget-B1E4BC6v.js → CheckbuttonWidget-eQIcPATf.js} +6 -6
  56. package/dist/{CheckbuttonWidget-B1E4BC6v.js.map → CheckbuttonWidget-eQIcPATf.js.map} +1 -1
  57. package/dist/{ClassificationBanners-CzZoKcRy.cjs → ClassificationBanners--l3qMxLo.cjs} +2 -2
  58. package/dist/{ClassificationBanners-CzZoKcRy.cjs.map → ClassificationBanners--l3qMxLo.cjs.map} +1 -1
  59. package/dist/{ClassificationBanners-DQeVwmYp.js → ClassificationBanners-CFLQaZJ2.js} +2 -2
  60. package/dist/{ClassificationBanners-DQeVwmYp.js.map → ClassificationBanners-CFLQaZJ2.js.map} +1 -1
  61. package/dist/{ComboboxWidget-BExUBH57.js → ComboboxWidget-B5kzYxFk.js} +6 -6
  62. package/dist/{ComboboxWidget-BExUBH57.js.map → ComboboxWidget-B5kzYxFk.js.map} +1 -1
  63. package/dist/ComboboxWidget-BSs59QzI.cjs +2 -0
  64. package/dist/{ComboboxWidget-B_KAnIVB.cjs.map → ComboboxWidget-BSs59QzI.cjs.map} +1 -1
  65. package/dist/{CriticalCmdDialog-BtzhxuZi.js → CriticalCmdDialog-BYHZbX2w.js} +62 -52
  66. package/dist/CriticalCmdDialog-BYHZbX2w.js.map +1 -0
  67. package/dist/CriticalCmdDialog-BhjiJIo5.cjs +2 -0
  68. package/dist/CriticalCmdDialog-BhjiJIo5.cjs.map +1 -0
  69. package/dist/{CustomIcon-DTfsnDJn.js → CustomIcon-B9m73Gqm.js} +5 -4
  70. package/dist/{CustomIcon-DTfsnDJn.js.map → CustomIcon-B9m73Gqm.js.map} +1 -1
  71. package/dist/CustomIcon-CEc927h0.cjs +2 -0
  72. package/dist/{CustomIcon-eie3rPKh.cjs.map → CustomIcon-CEc927h0.cjs.map} +1 -1
  73. package/dist/{DateWidget-_ZmPsi2l.js → DateWidget-1IZOe50K.js} +3 -3
  74. package/dist/{DateWidget-_ZmPsi2l.js.map → DateWidget-1IZOe50K.js.map} +1 -1
  75. package/dist/{DateWidget-kTJBAHVp.cjs → DateWidget-DkVxE7Xj.cjs} +2 -2
  76. package/dist/{DateWidget-kTJBAHVp.cjs.map → DateWidget-DkVxE7Xj.cjs.map} +1 -1
  77. package/dist/{DetailsDialog-Bq7SS7bc.js → DetailsDialog-D-rjL4oc.js} +130 -100
  78. package/dist/DetailsDialog-D-rjL4oc.js.map +1 -0
  79. package/dist/DetailsDialog-lJG8eclU.cjs +2 -0
  80. package/dist/DetailsDialog-lJG8eclU.cjs.map +1 -0
  81. package/dist/DynamicWidget-C4V2H2VJ.cjs +2 -0
  82. package/dist/DynamicWidget-C4V2H2VJ.cjs.map +1 -0
  83. package/dist/{DynamicWidget-DHL7pbgW.js → DynamicWidget-DEHWYr8i.js} +7 -7
  84. package/dist/DynamicWidget-DEHWYr8i.js.map +1 -0
  85. package/dist/EventListDialog-5UXvnmNE.cjs +2 -0
  86. package/dist/EventListDialog-5UXvnmNE.cjs.map +1 -0
  87. package/dist/{EventListDialog-jdNF3szO.js → EventListDialog-Id3rEQKY.js} +242 -242
  88. package/dist/EventListDialog-Id3rEQKY.js.map +1 -0
  89. package/dist/FilechecksumWidget-D-5GSjyV.cjs +2 -0
  90. package/dist/FilechecksumWidget-D-5GSjyV.cjs.map +1 -0
  91. package/dist/FilechecksumWidget-F_FX1Kjx.js +158 -0
  92. package/dist/FilechecksumWidget-F_FX1Kjx.js.map +1 -0
  93. package/dist/FiledisplayWidget-BF3G22jF.js +114 -0
  94. package/dist/FiledisplayWidget-BF3G22jF.js.map +1 -0
  95. package/dist/FiledisplayWidget-BHLOY_cM.cjs +2 -0
  96. package/dist/FiledisplayWidget-BHLOY_cM.cjs.map +1 -0
  97. package/dist/{FormatvalueWidget-4C0vrL2i.js → FormatvalueWidget-BkF9iiHs.js} +4 -4
  98. package/dist/{FormatvalueWidget-4C0vrL2i.js.map → FormatvalueWidget-BkF9iiHs.js.map} +1 -1
  99. package/dist/{FormatvalueWidget-CVoJgFJA.cjs → FormatvalueWidget-DTsP7isW.cjs} +2 -2
  100. package/dist/{FormatvalueWidget-CVoJgFJA.cjs.map → FormatvalueWidget-DTsP7isW.cjs.map} +1 -1
  101. package/dist/{Graph-B7KPo9Ul.js → Graph-C-7C2Jq5.js} +194 -187
  102. package/dist/Graph-C-7C2Jq5.js.map +1 -0
  103. package/dist/Graph-YYieRGo0.cjs +2 -0
  104. package/dist/Graph-YYieRGo0.cjs.map +1 -0
  105. package/dist/{GraphWidget-D3HueIZi.cjs → GraphWidget-C7hqdqL-.cjs} +2 -2
  106. package/dist/{GraphWidget-D3HueIZi.cjs.map → GraphWidget-C7hqdqL-.cjs.map} +1 -1
  107. package/dist/{GraphWidget-BpkPpAbd.js → GraphWidget-DRkDn8za.js} +2 -2
  108. package/dist/{GraphWidget-BpkPpAbd.js.map → GraphWidget-DRkDn8za.js.map} +1 -1
  109. package/dist/HorizontalWidget-DB64wzZB.js +69 -0
  110. package/dist/HorizontalWidget-DB64wzZB.js.map +1 -0
  111. package/dist/HorizontalWidget-h-U8i3G-.cjs +2 -0
  112. package/dist/HorizontalWidget-h-U8i3G-.cjs.map +1 -0
  113. package/dist/{HorizontalboxWidget-CTomf_Iy.js → HorizontalboxWidget-BsHsGlvK.js} +6 -6
  114. package/dist/{HorizontalboxWidget-CTomf_Iy.js.map → HorizontalboxWidget-BsHsGlvK.js.map} +1 -1
  115. package/dist/{HorizontalboxWidget-ysq7slso.cjs → HorizontalboxWidget-E4LUf2eN.cjs} +2 -2
  116. package/dist/{HorizontalboxWidget-ysq7slso.cjs.map → HorizontalboxWidget-E4LUf2eN.cjs.map} +1 -1
  117. package/dist/{HorizontallineWidget-B7xx7ofY.js → HorizontallineWidget-CyiexzIu.js} +3 -3
  118. package/dist/{HorizontallineWidget-B7xx7ofY.js.map → HorizontallineWidget-CyiexzIu.js.map} +1 -1
  119. package/dist/{HorizontallineWidget-BgXZZymr.cjs → HorizontallineWidget-LibmHnAf.cjs} +2 -2
  120. package/dist/{HorizontallineWidget-BgXZZymr.cjs.map → HorizontallineWidget-LibmHnAf.cjs.map} +1 -1
  121. package/dist/{IframeWidget-DK7rbULe.js → IframeWidget-D9Vh0w2c.js} +3 -3
  122. package/dist/{IframeWidget-DK7rbULe.js.map → IframeWidget-D9Vh0w2c.js.map} +1 -1
  123. package/dist/{IframeWidget-fV9e-Nm1.cjs → IframeWidget-xeXTxP_G.cjs} +2 -2
  124. package/dist/{IframeWidget-fV9e-Nm1.cjs.map → IframeWidget-xeXTxP_G.cjs.map} +1 -1
  125. package/dist/{ImageLoader-C9rN_pSY.js → ImageLoader-B4iBPFyi.js} +2 -2
  126. package/dist/{ImageLoader-C9rN_pSY.js.map → ImageLoader-B4iBPFyi.js.map} +1 -1
  127. package/dist/{ImageLoader-CJxiBXAL.cjs → ImageLoader-Cc4-BNJv.cjs} +2 -2
  128. package/dist/{ImageLoader-CJxiBXAL.cjs.map → ImageLoader-Cc4-BNJv.cjs.map} +1 -1
  129. package/dist/{ImageviewerWidget-6d6Kl3W_.js → ImageviewerWidget-DqV4SClv.js} +10 -9
  130. package/dist/ImageviewerWidget-DqV4SClv.js.map +1 -0
  131. package/dist/ImageviewerWidget-KVt487SJ.cjs +2 -0
  132. package/dist/ImageviewerWidget-KVt487SJ.cjs.map +1 -0
  133. package/dist/{InterfacesTab-BCqTanhV.js → InterfacesTab-C310FRIP.js} +4 -4
  134. package/dist/{InterfacesTab-BCqTanhV.js.map → InterfacesTab-C310FRIP.js.map} +1 -1
  135. package/dist/{InterfacesTab-0pmK3KNu.cjs → InterfacesTab-nZwg-ByS.cjs} +2 -2
  136. package/dist/{InterfacesTab-0pmK3KNu.cjs.map → InterfacesTab-nZwg-ByS.cjs.map} +1 -1
  137. package/dist/{LabelWidget-D71FfOSw.js → LabelWidget-BDukcPet.js} +3 -3
  138. package/dist/{LabelWidget-D71FfOSw.js.map → LabelWidget-BDukcPet.js.map} +1 -1
  139. package/dist/{LabelWidget-DdZz2NWv.cjs → LabelWidget-DYfv4K8h.cjs} +2 -2
  140. package/dist/{LabelWidget-DdZz2NWv.cjs.map → LabelWidget-DYfv4K8h.cjs.map} +1 -1
  141. package/dist/{LabelledWidget-BZ319slb.cjs → LabelledWidget-Dl1x6b3p.cjs} +2 -2
  142. package/dist/{LabelledWidget-BZ319slb.cjs.map → LabelledWidget-Dl1x6b3p.cjs.map} +1 -1
  143. package/dist/{LabelledWidget-D2ir5kVU.js → LabelledWidget-tVHE426s.js} +6 -6
  144. package/dist/{LabelledWidget-D2ir5kVU.js.map → LabelledWidget-tVHE426s.js.map} +1 -1
  145. package/dist/{LabelprogressbarWidget-C4_YbROz.js → LabelprogressbarWidget-CjMDFUUv.js} +6 -6
  146. package/dist/{LabelprogressbarWidget-C4_YbROz.js.map → LabelprogressbarWidget-CjMDFUUv.js.map} +1 -1
  147. package/dist/{LabelprogressbarWidget-LyevJNuz.cjs → LabelprogressbarWidget-DcO0gRM4.cjs} +2 -2
  148. package/dist/{LabelprogressbarWidget-LyevJNuz.cjs.map → LabelprogressbarWidget-DcO0gRM4.cjs.map} +1 -1
  149. package/dist/LabelsparklineWidget-Cp2a-qlI.cjs +2 -0
  150. package/dist/LabelsparklineWidget-Cp2a-qlI.cjs.map +1 -0
  151. package/dist/{LabelsparklineWidget-CdZ_pM2B.js → LabelsparklineWidget-dZl3cGu0.js} +13 -13
  152. package/dist/LabelsparklineWidget-dZl3cGu0.js.map +1 -0
  153. package/dist/{LabelvalueWidget-DSHwAKma.cjs → LabelvalueWidget-CgP4mzP_.cjs} +2 -2
  154. package/dist/{LabelvalueWidget-DSHwAKma.cjs.map → LabelvalueWidget-CgP4mzP_.cjs.map} +1 -1
  155. package/dist/{LabelvalueWidget-BS0EPY5h.js → LabelvalueWidget-UcAc_2Ry.js} +6 -6
  156. package/dist/{LabelvalueWidget-BS0EPY5h.js.map → LabelvalueWidget-UcAc_2Ry.js.map} +1 -1
  157. package/dist/{LabelvaluedescWidget-3lwQxkKj.cjs → LabelvaluedescWidget-CXJ037Qs.cjs} +2 -2
  158. package/dist/{LabelvaluedescWidget-3lwQxkKj.cjs.map → LabelvaluedescWidget-CXJ037Qs.cjs.map} +1 -1
  159. package/dist/{LabelvaluedescWidget-Cpr8_Voq.js → LabelvaluedescWidget-Crb8udVe.js} +6 -6
  160. package/dist/{LabelvaluedescWidget-Cpr8_Voq.js.map → LabelvaluedescWidget-Crb8udVe.js.map} +1 -1
  161. package/dist/{LabelvaluelimitsbarWidget-DbO_Q5ex.cjs → LabelvaluelimitsbarWidget-B3cn7i50.cjs} +2 -2
  162. package/dist/LabelvaluelimitsbarWidget-B3cn7i50.cjs.map +1 -0
  163. package/dist/{LabelvaluelimitsbarWidget-DTcYbEQS.js → LabelvaluelimitsbarWidget-BZGUQrRt.js} +10 -10
  164. package/dist/LabelvaluelimitsbarWidget-BZGUQrRt.js.map +1 -0
  165. package/dist/LabelvaluelimitscolumnWidget-DbBOkQ8R.cjs +2 -0
  166. package/dist/LabelvaluelimitscolumnWidget-DbBOkQ8R.cjs.map +1 -0
  167. package/dist/{LabelvaluelimitscolumnWidget-D0ltQ9Ta.js → LabelvaluelimitscolumnWidget-NNYW2aMO.js} +12 -12
  168. package/dist/LabelvaluelimitscolumnWidget-NNYW2aMO.js.map +1 -0
  169. package/dist/{LabelvaluerangebarWidget-B6_alHq4.cjs → LabelvaluerangebarWidget-B81fLpK0.cjs} +2 -2
  170. package/dist/{LabelvaluerangebarWidget-B6_alHq4.cjs.map → LabelvaluerangebarWidget-B81fLpK0.cjs.map} +1 -1
  171. package/dist/{LabelvaluerangebarWidget-O8IHjvHs.js → LabelvaluerangebarWidget-CjkVDlVJ.js} +6 -6
  172. package/dist/{LabelvaluerangebarWidget-O8IHjvHs.js.map → LabelvaluerangebarWidget-CjkVDlVJ.js.map} +1 -1
  173. package/dist/Layout-FpBx3iic.js +36 -0
  174. package/dist/Layout-FpBx3iic.js.map +1 -0
  175. package/dist/Layout-K7_I6jMV.cjs +2 -0
  176. package/dist/Layout-K7_I6jMV.cjs.map +1 -0
  177. package/dist/{LedWidget-DUvJ2v8k.js → LedWidget-Bsp1aja-.js} +46 -39
  178. package/dist/LedWidget-Bsp1aja-.js.map +1 -0
  179. package/dist/LedWidget-C19KREVz.cjs +2 -0
  180. package/dist/LedWidget-C19KREVz.cjs.map +1 -0
  181. package/dist/LimitsBar-IVv8t4FE.js +134 -0
  182. package/dist/LimitsBar-IVv8t4FE.js.map +1 -0
  183. package/dist/LimitsBar-LRiUSWd7.cjs +2 -0
  184. package/dist/LimitsBar-LRiUSWd7.cjs.map +1 -0
  185. package/dist/LimitsbarWidget-BFjMhTbA.cjs +2 -0
  186. package/dist/LimitsbarWidget-BFjMhTbA.cjs.map +1 -0
  187. package/dist/LimitsbarWidget-Bo1JAoQp.js +65 -0
  188. package/dist/LimitsbarWidget-Bo1JAoQp.js.map +1 -0
  189. package/dist/LimitscolorWidget-D214kS86.cjs +2 -0
  190. package/dist/LimitscolorWidget-D214kS86.cjs.map +1 -0
  191. package/dist/{LimitscolorWidget-FXT0ZPPH.js → LimitscolorWidget-Doq8h_g1.js} +14 -13
  192. package/dist/LimitscolorWidget-Doq8h_g1.js.map +1 -0
  193. package/dist/{LimitscolumnWidget-C5yozwf0.cjs → LimitscolumnWidget-BREF_CBr.cjs} +2 -2
  194. package/dist/{LimitscolumnWidget-C5yozwf0.cjs.map → LimitscolumnWidget-BREF_CBr.cjs.map} +1 -1
  195. package/dist/{LimitscolumnWidget-CjBy-CCI.js → LimitscolumnWidget-qasXHN7m.js} +3 -3
  196. package/dist/{LimitscolumnWidget-CjBy-CCI.js.map → LimitscolumnWidget-qasXHN7m.js.map} +1 -1
  197. package/dist/{LinegraphWidget-lmu_tFKd.js → LinegraphWidget-BNMqcr_r.js} +5 -5
  198. package/dist/{LinegraphWidget-lmu_tFKd.js.map → LinegraphWidget-BNMqcr_r.js.map} +1 -1
  199. package/dist/{LinegraphWidget-dO_B0T3E.cjs → LinegraphWidget-BhpYKxnT.cjs} +2 -2
  200. package/dist/{LinegraphWidget-dO_B0T3E.cjs.map → LinegraphWidget-BhpYKxnT.cjs.map} +1 -1
  201. package/dist/MatrixbycolumnsWidget-BKXkhATe.cjs +2 -0
  202. package/dist/MatrixbycolumnsWidget-BKXkhATe.cjs.map +1 -0
  203. package/dist/MatrixbycolumnsWidget-BlF1CyIT.js +83 -0
  204. package/dist/MatrixbycolumnsWidget-BlF1CyIT.js.map +1 -0
  205. package/dist/MicroservicesTab-BWFwBSuf.cjs +2 -0
  206. package/dist/MicroservicesTab-BWFwBSuf.cjs.map +1 -0
  207. package/dist/MicroservicesTab-xpDXKoa-.js +203 -0
  208. package/dist/MicroservicesTab-xpDXKoa-.js.map +1 -0
  209. package/dist/OpenC3TimePicker-6pE8gGCO.cjs +2 -0
  210. package/dist/OpenC3TimePicker-6pE8gGCO.cjs.map +1 -0
  211. package/dist/OpenC3TimePicker-D-_qqySI.js +219 -0
  212. package/dist/OpenC3TimePicker-D-_qqySI.js.map +1 -0
  213. package/dist/{Openc3Screen-DcIIUO63.js → Openc3Screen-DYJHNotN.js} +730 -510
  214. package/dist/Openc3Screen-DYJHNotN.js.map +1 -0
  215. package/dist/Openc3Screen-Pu1ktpS8.cjs +6 -0
  216. package/dist/Openc3Screen-Pu1ktpS8.cjs.map +1 -0
  217. package/dist/OutputDialog-BwEWPQW9.cjs +2 -0
  218. package/dist/OutputDialog-BwEWPQW9.cjs.map +1 -0
  219. package/dist/{OutputDialog-CNH74LpJ.js → OutputDialog-x4QZFAWe.js} +24 -17
  220. package/dist/OutputDialog-x4QZFAWe.js.map +1 -0
  221. package/dist/{PackagesTab-PEPT4CQu.cjs → PackagesTab-CHwfaqdP.cjs} +2 -2
  222. package/dist/{PackagesTab-PEPT4CQu.cjs.map → PackagesTab-CHwfaqdP.cjs.map} +1 -1
  223. package/dist/{PackagesTab-BE6W7Aru.js → PackagesTab-rzc4hqOb.js} +4 -4
  224. package/dist/{PackagesTab-BE6W7Aru.js.map → PackagesTab-rzc4hqOb.js.map} +1 -1
  225. package/dist/{PluginsTab-DXf9zX0h.cjs → PluginsTab-C7gLbRQn.cjs} +2 -2
  226. package/dist/PluginsTab-C7gLbRQn.cjs.map +1 -0
  227. package/dist/{PluginsTab-B_Pf2A9c.js → PluginsTab-Dff_0j26.js} +8 -8
  228. package/dist/PluginsTab-Dff_0j26.js.map +1 -0
  229. package/dist/{ProgressbarWidget-B5WN658S.js → ProgressbarWidget-DQ80NANH.js} +7 -5
  230. package/dist/ProgressbarWidget-DQ80NANH.js.map +1 -0
  231. package/dist/ProgressbarWidget-cQAtX_Q7.cjs +2 -0
  232. package/dist/ProgressbarWidget-cQAtX_Q7.cjs.map +1 -0
  233. package/dist/RadiobuttonWidget-DFrUZRaV.cjs +2 -0
  234. package/dist/{RadiobuttonWidget-DkG9GtAy.cjs.map → RadiobuttonWidget-DFrUZRaV.cjs.map} +1 -1
  235. package/dist/{RadiobuttonWidget-B_3nys46.js → RadiobuttonWidget-LD18M4IQ.js} +11 -10
  236. package/dist/{RadiobuttonWidget-B_3nys46.js.map → RadiobuttonWidget-LD18M4IQ.js.map} +1 -1
  237. package/dist/{RadiogroupWidget-BiMIL9li.js → RadiogroupWidget-D_pt2MPz.js} +6 -6
  238. package/dist/{RadiogroupWidget-BiMIL9li.js.map → RadiogroupWidget-D_pt2MPz.js.map} +1 -1
  239. package/dist/{RadiogroupWidget-BnUjXU28.cjs → RadiogroupWidget-ljP05k3g.cjs} +2 -2
  240. package/dist/{RadiogroupWidget-BnUjXU28.cjs.map → RadiogroupWidget-ljP05k3g.cjs.map} +1 -1
  241. package/dist/RangebarWidget-BsLWXvTo.cjs +2 -0
  242. package/dist/RangebarWidget-BsLWXvTo.cjs.map +1 -0
  243. package/dist/{RangebarWidget-Dn0GASdi.js → RangebarWidget-DhaWpHjB.js} +12 -11
  244. package/dist/RangebarWidget-DhaWpHjB.js.map +1 -0
  245. package/dist/{RedisTab-BsKrL4fD.js → RedisTab-C3yjh0JX.js} +3 -3
  246. package/dist/{RedisTab-BsKrL4fD.js.map → RedisTab-C3yjh0JX.js.map} +1 -1
  247. package/dist/{RedisTab-C1yaDRSt.cjs → RedisTab-DEKMLop2.cjs} +2 -2
  248. package/dist/{RedisTab-C1yaDRSt.cjs.map → RedisTab-DEKMLop2.cjs.map} +1 -1
  249. package/dist/{RollupWidget-b62qcG5K.js → RollupWidget-CMU1-HwL.js} +15 -13
  250. package/dist/RollupWidget-CMU1-HwL.js.map +1 -0
  251. package/dist/RollupWidget-sXTyo7zH.cjs +2 -0
  252. package/dist/RollupWidget-sXTyo7zH.cjs.map +1 -0
  253. package/dist/{RoutersTab-EHz4wDCn.js → RoutersTab-DaWde6np.js} +4 -4
  254. package/dist/{RoutersTab-EHz4wDCn.js.map → RoutersTab-DaWde6np.js.map} +1 -1
  255. package/dist/{RoutersTab-8wGbiPCk.cjs → RoutersTab-IKuEHQeO.cjs} +2 -2
  256. package/dist/{RoutersTab-8wGbiPCk.cjs.map → RoutersTab-IKuEHQeO.cjs.map} +1 -1
  257. package/dist/ScriptChooser-BmyV6QQD.cjs +2 -0
  258. package/dist/ScriptChooser-BmyV6QQD.cjs.map +1 -0
  259. package/dist/{ScriptChooser-DMPY3m8a.js → ScriptChooser-DCjI5aeZ.js} +118 -93
  260. package/dist/ScriptChooser-DCjI5aeZ.js.map +1 -0
  261. package/dist/ScrollwindowWidget-BcLF_bhy.cjs +2 -0
  262. package/dist/ScrollwindowWidget-BcLF_bhy.cjs.map +1 -0
  263. package/dist/ScrollwindowWidget-D7Ln-QMq.js +69 -0
  264. package/dist/ScrollwindowWidget-D7Ln-QMq.js.map +1 -0
  265. package/dist/{SecretsTab-DSMFodJM.cjs → SecretsTab-BM9HIjT_.cjs} +2 -2
  266. package/dist/{SecretsTab-DSMFodJM.cjs.map → SecretsTab-BM9HIjT_.cjs.map} +1 -1
  267. package/dist/{SecretsTab-Cbt_r-1I.js → SecretsTab-Dhal1RCq.js} +3 -3
  268. package/dist/{SecretsTab-Cbt_r-1I.js.map → SecretsTab-Dhal1RCq.js.map} +1 -1
  269. package/dist/SettingsTab-BrSkK_Fs.cjs +3 -0
  270. package/dist/SettingsTab-BrSkK_Fs.cjs.map +1 -0
  271. package/dist/{SettingsTab-L5xbCAW_.js → SettingsTab-Dtj_AlEW.js} +319 -202
  272. package/dist/SettingsTab-Dtj_AlEW.js.map +1 -0
  273. package/dist/SignalWidget-DHwveppA.cjs +2 -0
  274. package/dist/SignalWidget-DHwveppA.cjs.map +1 -0
  275. package/dist/{SignalWidget-CLi6qask.js → SignalWidget-PreTg4Mt.js} +5 -3
  276. package/dist/SignalWidget-PreTg4Mt.js.map +1 -0
  277. package/dist/SimpleTextDialog-Bdw3jul4.cjs +2 -0
  278. package/dist/SimpleTextDialog-Bdw3jul4.cjs.map +1 -0
  279. package/dist/{SimpleTextDialog-8vDPDt6X.js → SimpleTextDialog-DDIm5Znf.js} +26 -19
  280. package/dist/SimpleTextDialog-DDIm5Znf.js.map +1 -0
  281. package/dist/{SpacerWidget-BCA3gdap.js → SpacerWidget-Chy1NO28.js} +3 -3
  282. package/dist/{SpacerWidget-BCA3gdap.js.map → SpacerWidget-Chy1NO28.js.map} +1 -1
  283. package/dist/{SpacerWidget-BJpqoaeP.cjs → SpacerWidget-Cj-j_MsG.cjs} +2 -2
  284. package/dist/{SpacerWidget-BJpqoaeP.cjs.map → SpacerWidget-Cj-j_MsG.cjs.map} +1 -1
  285. package/dist/SparklineWidget-BE1LieLF.cjs +2 -0
  286. package/dist/SparklineWidget-BE1LieLF.cjs.map +1 -0
  287. package/dist/{SparklineWidget-D8mb4zLt.js → SparklineWidget-Bb-gCNNt.js} +11 -11
  288. package/dist/SparklineWidget-Bb-gCNNt.js.map +1 -0
  289. package/dist/TabbookWidget-FNbiZpjn.cjs +2 -0
  290. package/dist/TabbookWidget-FNbiZpjn.cjs.map +1 -0
  291. package/dist/TabbookWidget-a-LsBhBE.js +96 -0
  292. package/dist/TabbookWidget-a-LsBhBE.js.map +1 -0
  293. package/dist/TargetPacketItemChooser-BPRByyfB.cjs +2 -0
  294. package/dist/TargetPacketItemChooser-BPRByyfB.cjs.map +1 -0
  295. package/dist/{TargetPacketItemChooser-DGcXvdTX.js → TargetPacketItemChooser-DDqBQTWC.js} +232 -183
  296. package/dist/TargetPacketItemChooser-DDqBQTWC.js.map +1 -0
  297. package/dist/{TargetsTab-c-qMsGHh.js → TargetsTab-C7Pn5-19.js} +4 -4
  298. package/dist/{TargetsTab-c-qMsGHh.js.map → TargetsTab-C7Pn5-19.js.map} +1 -1
  299. package/dist/{TargetsTab-C4tQ1auc.cjs → TargetsTab-dndajwC_.cjs} +2 -2
  300. package/dist/{TargetsTab-C4tQ1auc.cjs.map → TargetsTab-dndajwC_.cjs.map} +1 -1
  301. package/dist/{TextBoxDialog-Xs-gitZd.js → TextBoxDialog-CJHrE2Sh.js} +29 -22
  302. package/dist/TextBoxDialog-CJHrE2Sh.js.map +1 -0
  303. package/dist/TextBoxDialog-DzCvdsJj.cjs +2 -0
  304. package/dist/TextBoxDialog-DzCvdsJj.cjs.map +1 -0
  305. package/dist/{TextboxWidget-CR05wO-t.js → TextboxWidget-DIHEOldN.js} +19 -19
  306. package/dist/{TextboxWidget-CR05wO-t.js.map → TextboxWidget-DIHEOldN.js.map} +1 -1
  307. package/dist/{TextboxWidget-BcRfHcF6.cjs → TextboxWidget-DYTNipbi.cjs} +2 -2
  308. package/dist/{TextboxWidget-BcRfHcF6.cjs.map → TextboxWidget-DYTNipbi.cjs.map} +1 -1
  309. package/dist/{TextfieldWidget-Ct1hZr2M.cjs → TextfieldWidget-BE-HpIKs.cjs} +2 -2
  310. package/dist/{TextfieldWidget-Ct1hZr2M.cjs.map → TextfieldWidget-BE-HpIKs.cjs.map} +1 -1
  311. package/dist/{TextfieldWidget-Be_Pz2bF.js → TextfieldWidget-CIBo7Dau.js} +5 -5
  312. package/dist/{TextfieldWidget-Be_Pz2bF.js.map → TextfieldWidget-CIBo7Dau.js.map} +1 -1
  313. package/dist/TimeWidget-CLuOYfPP.js +43 -0
  314. package/dist/TimeWidget-CLuOYfPP.js.map +1 -0
  315. package/dist/TimeWidget-RYL7zDoC.cjs +2 -0
  316. package/dist/TimeWidget-RYL7zDoC.cjs.map +1 -0
  317. package/dist/{TitleWidget-BcmxUDzM.js → TitleWidget-BTHKLAsb.js} +3 -3
  318. package/dist/{TitleWidget-BcmxUDzM.js.map → TitleWidget-BTHKLAsb.js.map} +1 -1
  319. package/dist/{TitleWidget-C1qzja9l.cjs → TitleWidget-DVWOhZqJ.cjs} +2 -2
  320. package/dist/{TitleWidget-C1qzja9l.cjs.map → TitleWidget-DVWOhZqJ.cjs.map} +1 -1
  321. package/dist/{ToolsTab-CbY2K86w.cjs → ToolsTab-D4LFT4tV.cjs} +2 -2
  322. package/dist/{ToolsTab-CbY2K86w.cjs.map → ToolsTab-D4LFT4tV.cjs.map} +1 -1
  323. package/dist/{ToolsTab-Buklih4C.js → ToolsTab-D5yhjVM0.js} +4 -4
  324. package/dist/{ToolsTab-Buklih4C.js.map → ToolsTab-D5yhjVM0.js.map} +1 -1
  325. package/dist/{TopBar-HxaiWynT.cjs → TopBar-DUdrFsMv.cjs} +2 -2
  326. package/dist/{TopBar-HxaiWynT.cjs.map → TopBar-DUdrFsMv.cjs.map} +1 -1
  327. package/dist/{TopBar-D4C9DJcu.js → TopBar-DzxJ69Tt.js} +3 -3
  328. package/dist/{TopBar-D4C9DJcu.js.map → TopBar-DzxJ69Tt.js.map} +1 -1
  329. package/dist/{UpgradeToEnterpriseDialog-D0AGxldj.js → UpgradeToEnterpriseDialog-Bf6rEOgp.js} +16 -13
  330. package/dist/UpgradeToEnterpriseDialog-Bf6rEOgp.js.map +1 -0
  331. package/dist/UpgradeToEnterpriseDialog-CujyHt2o.cjs +2 -0
  332. package/dist/UpgradeToEnterpriseDialog-CujyHt2o.cjs.map +1 -0
  333. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.cjs} +108 -108
  334. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CP8T5W6m.cjs.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.cjs.map} +1 -1
  335. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js} +5473 -5451
  336. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js.map} +1 -1
  337. package/dist/{VWidget-CBmUpKSV.js → VWidget-BcwkHuIT.js} +3 -3
  338. package/dist/{VWidget-CBmUpKSV.js.map → VWidget-BcwkHuIT.js.map} +1 -1
  339. package/dist/{VWidget-DhGLFGS2.cjs → VWidget-CbdjSkP3.cjs} +2 -2
  340. package/dist/{VWidget-DhGLFGS2.cjs.map → VWidget-CbdjSkP3.cjs.map} +1 -1
  341. package/dist/ValueWidget-BubIamVx.js +138 -0
  342. package/dist/ValueWidget-BubIamVx.js.map +1 -0
  343. package/dist/ValueWidget-CgAl2Av2.cjs +2 -0
  344. package/dist/ValueWidget-CgAl2Av2.cjs.map +1 -0
  345. package/dist/{ValuelimitsbarWidget-BdY02gqc.js → ValuelimitsbarWidget-DKTrV1RT.js} +11 -11
  346. package/dist/{ValuelimitsbarWidget-BdY02gqc.js.map → ValuelimitsbarWidget-DKTrV1RT.js.map} +1 -1
  347. package/dist/{ValuelimitsbarWidget-KsFz7ipK.cjs → ValuelimitsbarWidget-Dn_sS0zt.cjs} +2 -2
  348. package/dist/{ValuelimitsbarWidget-KsFz7ipK.cjs.map → ValuelimitsbarWidget-Dn_sS0zt.cjs.map} +1 -1
  349. package/dist/ValuelimitscolumnWidget-CGhifOZI.cjs +2 -0
  350. package/dist/ValuelimitscolumnWidget-CGhifOZI.cjs.map +1 -0
  351. package/dist/{ValuelimitscolumnWidget-CuJ6rqtC.js → ValuelimitscolumnWidget-D8JIK4Zi.js} +11 -11
  352. package/dist/ValuelimitscolumnWidget-D8JIK4Zi.js.map +1 -0
  353. package/dist/{ValuerangebarWidget-C5rolGDi.js → ValuerangebarWidget-D8hVKp0l.js} +6 -6
  354. package/dist/{ValuerangebarWidget-C5rolGDi.js.map → ValuerangebarWidget-D8hVKp0l.js.map} +1 -1
  355. package/dist/{ValuerangebarWidget-CDJeamPr.cjs → ValuerangebarWidget-DPtR-Dla.cjs} +2 -2
  356. package/dist/{ValuerangebarWidget-CDJeamPr.cjs.map → ValuerangebarWidget-DPtR-Dla.cjs.map} +1 -1
  357. package/dist/VerticalWidget-DMp3DXGa.js +68 -0
  358. package/dist/VerticalWidget-DMp3DXGa.js.map +1 -0
  359. package/dist/VerticalWidget-DScGTfwX.cjs +2 -0
  360. package/dist/VerticalWidget-DScGTfwX.cjs.map +1 -0
  361. package/dist/{VerticalboxWidget-D-3H1PYU.cjs → VerticalboxWidget-CIJ1c7WU.cjs} +2 -2
  362. package/dist/{VerticalboxWidget-D-3H1PYU.cjs.map → VerticalboxWidget-CIJ1c7WU.cjs.map} +1 -1
  363. package/dist/{VerticalboxWidget-CzDgveBl.js → VerticalboxWidget-CVf1d_3_.js} +6 -6
  364. package/dist/{VerticalboxWidget-CzDgveBl.js.map → VerticalboxWidget-CVf1d_3_.js.map} +1 -1
  365. package/dist/Widget-Btu2EoLT.cjs +2 -0
  366. package/dist/Widget-Btu2EoLT.cjs.map +1 -0
  367. package/dist/{Widget-VCl8Ts8s.js → Widget-D4rzBHnr.js} +27 -19
  368. package/dist/Widget-D4rzBHnr.js.map +1 -0
  369. package/dist/components.cjs +3 -3
  370. package/dist/components.cjs.map +1 -1
  371. package/dist/components.js +421 -248
  372. package/dist/components.js.map +1 -1
  373. package/dist/icons.cjs +1 -1
  374. package/dist/icons.cjs.map +1 -1
  375. package/dist/icons.js +6 -4
  376. package/dist/icons.js.map +1 -1
  377. package/dist/plugins.cjs +2 -2
  378. package/dist/plugins.cjs.map +1 -1
  379. package/dist/plugins.js +23 -17
  380. package/dist/plugins.js.map +1 -1
  381. package/dist/{settings-sg_XHXQ-.cjs → settings-B9vbjzwV.cjs} +2 -2
  382. package/dist/{settings-sg_XHXQ-.cjs.map → settings-B9vbjzwV.cjs.map} +1 -1
  383. package/dist/{settings-DlX9yvJJ.js → settings-Ctcx_wMT.js} +2 -2
  384. package/dist/{settings-DlX9yvJJ.js.map → settings-Ctcx_wMT.js.map} +1 -1
  385. package/dist/tools/admin.cjs +4 -5
  386. package/dist/tools/admin.cjs.map +1 -1
  387. package/dist/tools/admin.js +954 -833
  388. package/dist/tools/admin.js.map +1 -1
  389. package/dist/tools/base.cjs +1 -1
  390. package/dist/tools/base.cjs.map +1 -1
  391. package/dist/tools/base.js +38 -37
  392. package/dist/tools/base.js.map +1 -1
  393. package/dist/tools/calendar.cjs +1 -1
  394. package/dist/tools/calendar.js +1 -1
  395. package/dist/tools/scriptrunner.cjs +8 -8
  396. package/dist/tools/scriptrunner.cjs.map +1 -1
  397. package/dist/tools/scriptrunner.js +1121 -1134
  398. package/dist/tools/scriptrunner.js.map +1 -1
  399. package/dist/useContainerHeight-BAw05dIa.js.map +1 -1
  400. package/dist/useContainerHeight-BEd4f2Lr.cjs.map +1 -1
  401. package/dist/vue-common.css +1 -1
  402. package/dist/widgets.cjs +1 -1
  403. package/dist/widgets.js +118 -116
  404. package/dist/widgets.js.map +1 -1
  405. package/package.json +6 -6
  406. package/dist/BarColumn-BZSUr33b.cjs +0 -2
  407. package/dist/BarColumn-BZSUr33b.cjs.map +0 -1
  408. package/dist/BarColumn-XWs-3Cwb.js.map +0 -1
  409. package/dist/ButtonWidget-BBMDS_YF.cjs.map +0 -1
  410. package/dist/ButtonWidget-BaSvtElA.js.map +0 -1
  411. package/dist/CanvasimageWidget-Dk15uRRu.cjs +0 -2
  412. package/dist/CanvasimageWidget-Dk15uRRu.cjs.map +0 -1
  413. package/dist/CanvasimageWidget-YP1pCtvb.js.map +0 -1
  414. package/dist/CanvasimagevalueWidget-BQHjJCuq.cjs +0 -2
  415. package/dist/CanvasimagevalueWidget-BQHjJCuq.cjs.map +0 -1
  416. package/dist/CanvasimagevalueWidget-CjVHb2uj.js.map +0 -1
  417. package/dist/CanvaslabelvalueWidget-BYmsu9r_.cjs +0 -2
  418. package/dist/CanvaslabelvalueWidget-BYmsu9r_.cjs.map +0 -1
  419. package/dist/CanvaslabelvalueWidget-Dyo_ogHn.js.map +0 -1
  420. package/dist/CanvaslinevalueWidget-BOZyJuLE.js.map +0 -1
  421. package/dist/CanvaslinevalueWidget-DM5c-ciY.cjs +0 -2
  422. package/dist/CanvaslinevalueWidget-DM5c-ciY.cjs.map +0 -1
  423. package/dist/CheckbuttonWidget-BSvTWD3x.cjs +0 -2
  424. package/dist/ComboboxWidget-B_KAnIVB.cjs +0 -2
  425. package/dist/CriticalCmdDialog-BtzhxuZi.js.map +0 -1
  426. package/dist/CriticalCmdDialog-CeohXoAG.cjs +0 -2
  427. package/dist/CriticalCmdDialog-CeohXoAG.cjs.map +0 -1
  428. package/dist/CustomIcon-eie3rPKh.cjs +0 -2
  429. package/dist/DetailsDialog-Bc_VEG95.cjs +0 -2
  430. package/dist/DetailsDialog-Bc_VEG95.cjs.map +0 -1
  431. package/dist/DetailsDialog-Bq7SS7bc.js.map +0 -1
  432. package/dist/DynamicWidget-BNfJRfR5.cjs +0 -2
  433. package/dist/DynamicWidget-BNfJRfR5.cjs.map +0 -1
  434. package/dist/DynamicWidget-DHL7pbgW.js.map +0 -1
  435. package/dist/EventListDialog-Dycx70tY.cjs +0 -2
  436. package/dist/EventListDialog-Dycx70tY.cjs.map +0 -1
  437. package/dist/EventListDialog-jdNF3szO.js.map +0 -1
  438. package/dist/Graph-B7KPo9Ul.js.map +0 -1
  439. package/dist/Graph-C9FS6KR3.cjs +0 -2
  440. package/dist/Graph-C9FS6KR3.cjs.map +0 -1
  441. package/dist/HorizontalWidget-CN6goWHY.cjs +0 -2
  442. package/dist/HorizontalWidget-CN6goWHY.cjs.map +0 -1
  443. package/dist/HorizontalWidget-DbEQYjFC.js +0 -41
  444. package/dist/HorizontalWidget-DbEQYjFC.js.map +0 -1
  445. package/dist/ImageviewerWidget-6d6Kl3W_.js.map +0 -1
  446. package/dist/ImageviewerWidget-CULuNsiD.cjs +0 -2
  447. package/dist/ImageviewerWidget-CULuNsiD.cjs.map +0 -1
  448. package/dist/LabelsparklineWidget-Cbug97Ne.cjs +0 -2
  449. package/dist/LabelsparklineWidget-Cbug97Ne.cjs.map +0 -1
  450. package/dist/LabelsparklineWidget-CdZ_pM2B.js.map +0 -1
  451. package/dist/LabelvaluelimitsbarWidget-DTcYbEQS.js.map +0 -1
  452. package/dist/LabelvaluelimitsbarWidget-DbO_Q5ex.cjs.map +0 -1
  453. package/dist/LabelvaluelimitscolumnWidget-BMSwK1Ys.cjs +0 -2
  454. package/dist/LabelvaluelimitscolumnWidget-BMSwK1Ys.cjs.map +0 -1
  455. package/dist/LabelvaluelimitscolumnWidget-D0ltQ9Ta.js.map +0 -1
  456. package/dist/Layout-DDewLzbI.cjs +0 -2
  457. package/dist/Layout-DDewLzbI.cjs.map +0 -1
  458. package/dist/Layout-DW5yNlp7.js +0 -14
  459. package/dist/Layout-DW5yNlp7.js.map +0 -1
  460. package/dist/LedWidget-Cif7vC7q.cjs +0 -2
  461. package/dist/LedWidget-Cif7vC7q.cjs.map +0 -1
  462. package/dist/LedWidget-DUvJ2v8k.js.map +0 -1
  463. package/dist/LimitsbarWidget-BehZv0-k.js +0 -72
  464. package/dist/LimitsbarWidget-BehZv0-k.js.map +0 -1
  465. package/dist/LimitsbarWidget-BodNPbuH.cjs +0 -2
  466. package/dist/LimitsbarWidget-BodNPbuH.cjs.map +0 -1
  467. package/dist/LimitscolorWidget-DPhymKgB.cjs +0 -2
  468. package/dist/LimitscolorWidget-DPhymKgB.cjs.map +0 -1
  469. package/dist/LimitscolorWidget-FXT0ZPPH.js.map +0 -1
  470. package/dist/MatrixbycolumnsWidget-BLkwvpMk.cjs +0 -2
  471. package/dist/MatrixbycolumnsWidget-BLkwvpMk.cjs.map +0 -1
  472. package/dist/MatrixbycolumnsWidget-CCF7rCkV.js +0 -56
  473. package/dist/MatrixbycolumnsWidget-CCF7rCkV.js.map +0 -1
  474. package/dist/MicroservicesTab-rxOATXLO.js +0 -219
  475. package/dist/MicroservicesTab-rxOATXLO.js.map +0 -1
  476. package/dist/MicroservicesTab-uesXuuM4.cjs +0 -2
  477. package/dist/MicroservicesTab-uesXuuM4.cjs.map +0 -1
  478. package/dist/Openc3Screen-CzD9BB0M.cjs +0 -6
  479. package/dist/Openc3Screen-CzD9BB0M.cjs.map +0 -1
  480. package/dist/Openc3Screen-DcIIUO63.js.map +0 -1
  481. package/dist/OutputDialog-CNH74LpJ.js.map +0 -1
  482. package/dist/OutputDialog-QIabyvK1.cjs +0 -2
  483. package/dist/OutputDialog-QIabyvK1.cjs.map +0 -1
  484. package/dist/PluginsTab-B_Pf2A9c.js.map +0 -1
  485. package/dist/PluginsTab-DXf9zX0h.cjs.map +0 -1
  486. package/dist/ProgressbarWidget-B5WN658S.js.map +0 -1
  487. package/dist/ProgressbarWidget-D2NHSJny.cjs +0 -2
  488. package/dist/ProgressbarWidget-D2NHSJny.cjs.map +0 -1
  489. package/dist/RadiobuttonWidget-DkG9GtAy.cjs +0 -2
  490. package/dist/RangebarWidget-CJgtAk5z.cjs +0 -2
  491. package/dist/RangebarWidget-CJgtAk5z.cjs.map +0 -1
  492. package/dist/RangebarWidget-Dn0GASdi.js.map +0 -1
  493. package/dist/RollupWidget-B2pGGoET.cjs +0 -2
  494. package/dist/RollupWidget-B2pGGoET.cjs.map +0 -1
  495. package/dist/RollupWidget-b62qcG5K.js.map +0 -1
  496. package/dist/ScriptChooser-CtV7dDJS.cjs +0 -2
  497. package/dist/ScriptChooser-CtV7dDJS.cjs.map +0 -1
  498. package/dist/ScriptChooser-DMPY3m8a.js.map +0 -1
  499. package/dist/ScrollwindowWidget-ByJRy528.cjs +0 -2
  500. package/dist/ScrollwindowWidget-ByJRy528.cjs.map +0 -1
  501. package/dist/ScrollwindowWidget-Dn29gs-U.js +0 -45
  502. package/dist/ScrollwindowWidget-Dn29gs-U.js.map +0 -1
  503. package/dist/SettingsTab-8Zeg3G0C.cjs +0 -3
  504. package/dist/SettingsTab-8Zeg3G0C.cjs.map +0 -1
  505. package/dist/SettingsTab-L5xbCAW_.js.map +0 -1
  506. package/dist/SignalWidget-CEmQymzQ.cjs +0 -2
  507. package/dist/SignalWidget-CEmQymzQ.cjs.map +0 -1
  508. package/dist/SignalWidget-CLi6qask.js.map +0 -1
  509. package/dist/SimpleTextDialog-8vDPDt6X.js.map +0 -1
  510. package/dist/SimpleTextDialog-CJ8pLBGz.cjs +0 -2
  511. package/dist/SimpleTextDialog-CJ8pLBGz.cjs.map +0 -1
  512. package/dist/SparklineWidget-CIkMm4O-.cjs +0 -2
  513. package/dist/SparklineWidget-CIkMm4O-.cjs.map +0 -1
  514. package/dist/SparklineWidget-D8mb4zLt.js.map +0 -1
  515. package/dist/TabbookWidget-Bkt4g02d.js +0 -66
  516. package/dist/TabbookWidget-Bkt4g02d.js.map +0 -1
  517. package/dist/TabbookWidget-DqcScWwW.cjs +0 -2
  518. package/dist/TabbookWidget-DqcScWwW.cjs.map +0 -1
  519. package/dist/TargetPacketItemChooser-Cm6mQvhI.cjs +0 -2
  520. package/dist/TargetPacketItemChooser-Cm6mQvhI.cjs.map +0 -1
  521. package/dist/TargetPacketItemChooser-DGcXvdTX.js.map +0 -1
  522. package/dist/TextBoxDialog-DXG7H7kQ.cjs +0 -2
  523. package/dist/TextBoxDialog-DXG7H7kQ.cjs.map +0 -1
  524. package/dist/TextBoxDialog-Xs-gitZd.js.map +0 -1
  525. package/dist/TimeWidget-3M7CQ893.cjs +0 -2
  526. package/dist/TimeWidget-3M7CQ893.cjs.map +0 -1
  527. package/dist/TimeWidget-Dy8zpkC6.js +0 -40
  528. package/dist/TimeWidget-Dy8zpkC6.js.map +0 -1
  529. package/dist/UpgradeToEnterpriseDialog-D0AGxldj.js.map +0 -1
  530. package/dist/UpgradeToEnterpriseDialog-D8BkzmVD.cjs +0 -2
  531. package/dist/UpgradeToEnterpriseDialog-D8BkzmVD.cjs.map +0 -1
  532. package/dist/ValueWidget-BxWrHkYY.js +0 -118
  533. package/dist/ValueWidget-BxWrHkYY.js.map +0 -1
  534. package/dist/ValueWidget-yuZ8tPzG.cjs +0 -2
  535. package/dist/ValueWidget-yuZ8tPzG.cjs.map +0 -1
  536. package/dist/ValuelimitscolumnWidget-B0HGnyS5.cjs +0 -2
  537. package/dist/ValuelimitscolumnWidget-B0HGnyS5.cjs.map +0 -1
  538. package/dist/ValuelimitscolumnWidget-CuJ6rqtC.js.map +0 -1
  539. package/dist/VerticalWidget-DsnEzKZ2.js +0 -40
  540. package/dist/VerticalWidget-DsnEzKZ2.js.map +0 -1
  541. package/dist/VerticalWidget-wuRCrd7Q.cjs +0 -2
  542. package/dist/VerticalWidget-wuRCrd7Q.cjs.map +0 -1
  543. package/dist/Widget-CKianvfR.cjs +0 -2
  544. package/dist/Widget-CKianvfR.cjs.map +0 -1
  545. package/dist/Widget-VCl8Ts8s.js.map +0 -1
@@ -1,13 +1,14 @@
1
- import { a as Fe } from "../index-3k1IXN1T.js";
2
- import { resolveComponent as p, createBlock as T, openBlock as L, withCtx as g, createVNode as f, createElementVNode as R, createElementBlock as V, createTextVNode as w, Fragment as P, renderList as G, createCommentVNode as ee, toDisplayString as O, withKeys as xe, withModifiers as X, toRaw as He } from "vue";
3
- import { _ as W } from "../CustomIcon-DTfsnDJn.js";
4
- import { f as Pe, b as N } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-B8ikVCn7.js";
1
+ import { a as Pt } from "../index-3k1IXN1T.js";
2
+ import { resolveComponent as p, createBlock as x, openBlock as C, withCtx as h, createVNode as f, createElementVNode as R, createElementBlock as M, createTextVNode as S, Fragment as P, renderList as B, createCommentVNode as et, toDisplayString as V, withKeys as It, withModifiers as Z, mergeProps as Bt, toRaw as Ut } from "vue";
3
+ import { _ as K } from "../CustomIcon-B9m73Gqm.js";
4
+ import { f as qt, a as N } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js";
5
5
  import "single-spa";
6
- import { T as Ge, A as q } from "../TopBar-D4C9DJcu.js";
7
- const Be = {
6
+ import { T as jt, A as q } from "../TopBar-DzxJ69Tt.js";
7
+ const Wt = {
8
8
  props: {
9
9
  modelValue: Boolean
10
10
  },
11
+ emits: ["update:modelValue"],
11
12
  data() {
12
13
  return {
13
14
  url: "",
@@ -23,8 +24,8 @@ const Be = {
23
24
  get() {
24
25
  return this.modelValue;
25
26
  },
26
- set(t) {
27
- this.$emit("update:modelValue", t);
27
+ set(e) {
28
+ this.$emit("update:modelValue", e);
28
29
  }
29
30
  },
30
31
  listData: function() {
@@ -33,15 +34,15 @@ const Be = {
33
34
  },
34
35
  methods: {
35
36
  parseGithub: function() {
36
- const t = /\w+.gem/;
37
- return this.response.tree.filter((e) => t.exec(e.path)).map((e) => ({
38
- name: e.path,
39
- url: `https://raw.github.com/OpenC3/openc3-tools/main/${e.path}`
37
+ const e = /\w+.gem/;
38
+ return this.response.tree.filter((t) => e.exec(t.path)).map((t) => ({
39
+ name: t.path,
40
+ url: `https://raw.github.com/OpenC3/openc3-tools/main/${t.path}`
40
41
  }));
41
42
  },
42
43
  getResponse: function() {
43
- this.disableSearch = !0, Fe.get(this.url).then((t) => {
44
- this.response = t.data;
44
+ this.disableSearch = !0, Pt.get(this.url).then((e) => {
45
+ this.response = e.data;
45
46
  }), setTimeout(() => {
46
47
  this.disableSearch = !1;
47
48
  }, 1e4);
@@ -49,65 +50,65 @@ const Be = {
49
50
  searchGithub: function() {
50
51
  this.type = "github", this.url = "https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1", this.getResponse();
51
52
  },
52
- downloadGem: function(t) {
53
- const e = document.createElement("a");
54
- e.href = t.url, e.setAttribute("download", t.name), e.click(), e.remove();
53
+ downloadGem: function(e) {
54
+ const t = document.createElement("a");
55
+ t.href = e.url, t.setAttribute("download", e.name), t.click(), t.remove();
55
56
  }
56
57
  }
57
- }, qe = { class: "pa-3" }, Ue = { class: "px-2" }, je = {
58
+ }, Yt = { class: "pa-3" }, zt = { class: "px-2" }, Kt = {
58
59
  key: 0,
59
60
  class: "mt-4"
60
- }, Ye = {
61
+ }, Qt = {
61
62
  key: 1,
62
63
  class: "mt-4"
63
64
  };
64
- function ze(t, e, n, o, i, l) {
65
- const r = p("v-spacer"), s = p("v-toolbar"), a = p("v-row"), c = p("v-icon"), u = p("v-btn"), d = p("v-col"), h = p("v-list-item-title"), m = p("v-progress-circular"), v = p("v-list-item"), x = p("v-divider"), C = p("v-card-text"), _ = p("v-card"), S = p("v-dialog");
66
- return L(), T(S, {
67
- modelValue: l.show,
68
- "onUpdate:modelValue": e[0] || (e[0] = (b) => l.show = b),
65
+ function Jt(e, t, n, r, i, s) {
66
+ const o = p("v-spacer"), l = p("v-toolbar"), a = p("v-row"), c = p("v-icon"), u = p("v-btn"), d = p("v-col"), g = p("v-list-item-title"), m = p("v-progress-circular"), b = p("v-list-item"), D = p("v-divider"), E = p("v-card-text"), v = p("v-card"), $ = p("v-dialog");
67
+ return C(), x($, {
68
+ modelValue: s.show,
69
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => s.show = _),
69
70
  width: "600"
70
71
  }, {
71
- default: g(() => [
72
- f(_, null, {
73
- default: g(() => [
74
- f(s, { height: "24" }, {
75
- default: g(() => [
76
- f(r),
77
- e[1] || (e[1] = R("span", null, " Download Gems ", -1)),
78
- f(r)
72
+ default: h(() => [
73
+ f(v, null, {
74
+ default: h(() => [
75
+ f(l, { height: "24" }, {
76
+ default: h(() => [
77
+ f(o),
78
+ t[1] || (t[1] = R("span", null, " Download Gems ", -1)),
79
+ f(o)
79
80
  ]),
80
81
  _: 1
81
82
  }),
82
- f(C, null, {
83
- default: g(() => [
84
- R("div", qe, [
83
+ f(E, null, {
84
+ default: h(() => [
85
+ R("div", Yt, [
85
86
  f(a, { class: "my-2" }, {
86
- default: g(() => [...e[2] || (e[2] = [
87
- w(" Select a download option ", -1)
87
+ default: h(() => [...t[2] || (t[2] = [
88
+ S(" Select a download option ", -1)
88
89
  ])]),
89
90
  _: 1
90
91
  }),
91
92
  f(a, null, {
92
- default: g(() => [
93
+ default: h(() => [
93
94
  f(d, null, {
94
- default: g(() => [
95
- R("div", Ue, [
95
+ default: h(() => [
96
+ R("div", zt, [
96
97
  f(u, {
97
98
  block: "",
98
99
  "data-test": "searchGithub",
99
100
  color: "primary",
100
101
  disabled: i.disableSearch,
101
- onClick: l.searchGithub
102
+ onClick: s.searchGithub
102
103
  }, {
103
- default: g(() => [
104
- e[4] || (e[4] = w(" Github ", -1)),
104
+ default: h(() => [
105
+ t[4] || (t[4] = S(" Github ", -1)),
105
106
  f(c, {
106
107
  end: "",
107
108
  theme: "dark"
108
109
  }, {
109
- default: g(() => [...e[3] || (e[3] = [
110
- w(" mdi-github ", -1)
110
+ default: h(() => [...t[3] || (t[3] = [
111
+ S(" mdi-github ", -1)
111
112
  ])]),
112
113
  _: 1
113
114
  })
@@ -122,40 +123,40 @@ function ze(t, e, n, o, i, l) {
122
123
  _: 1
123
124
  }),
124
125
  f(a, { class: "mt-5" }, {
125
- default: g(() => [...e[5] || (e[5] = [
126
- w(" Community Gems ", -1)
126
+ default: h(() => [...t[5] || (t[5] = [
127
+ S(" Community Gems ", -1)
127
128
  ])]),
128
129
  _: 1
129
130
  }),
130
- l.listData.length < 1 ? (L(), V("div", je, [
131
+ s.listData.length < 1 ? (C(), M("div", Kt, [
131
132
  f(a, { class: "mx-2" }, {
132
- default: g(() => [...e[6] || (e[6] = [
133
+ default: h(() => [...t[6] || (t[6] = [
133
134
  R("span", null, " I’m sorry, Dave. No gems available.... ", -1)
134
135
  ])]),
135
136
  _: 1
136
137
  })
137
- ])) : (L(), V("div", Ye, [
138
- (L(!0), V(P, null, G(l.listData, (b, E) => (L(), V("div", { key: E }, [
139
- f(v, null, {
140
- default: g(() => [
141
- f(h, null, {
142
- default: g(() => [
143
- w(O(b.name), 1)
138
+ ])) : (C(), M("div", Qt, [
139
+ (C(!0), M(P, null, B(s.listData, (_, y) => (C(), M("div", { key: y }, [
140
+ f(b, null, {
141
+ default: h(() => [
142
+ f(g, null, {
143
+ default: h(() => [
144
+ S(V(_.name), 1)
144
145
  ]),
145
146
  _: 2
146
147
  }, 1024),
147
- f(v, { icon: "" }, {
148
- default: g(() => [
149
- i.activeDownload ? (L(), T(m, {
148
+ f(b, { icon: "" }, {
149
+ default: h(() => [
150
+ i.activeDownload ? (C(), x(m, {
150
151
  key: 0,
151
152
  indeterminate: "",
152
153
  color: "primary"
153
- })) : (L(), T(u, {
154
+ })) : (C(), x(u, {
154
155
  key: 1,
155
156
  icon: "mdi-cloud-download",
156
157
  variant: "text",
157
158
  disabled: i.activeDownload,
158
- onClick: (I) => l.downloadGem(b)
159
+ onClick: (k) => s.downloadGem(_)
159
160
  }, null, 8, ["disabled", "onClick"]))
160
161
  ]),
161
162
  _: 2
@@ -163,7 +164,7 @@ function ze(t, e, n, o, i, l) {
163
164
  ]),
164
165
  _: 2
165
166
  }, 1024),
166
- E < l.listData.length - 1 ? (L(), T(x, { key: E })) : ee("", !0)
167
+ y < s.listData.length - 1 ? (C(), x(D, { key: y })) : et("", !0)
167
168
  ]))), 128))
168
169
  ]))
169
170
  ])
@@ -177,84 +178,91 @@ function ze(t, e, n, o, i, l) {
177
178
  _: 1
178
179
  }, 8, ["modelValue"]);
179
180
  }
180
- const qt = /* @__PURE__ */ W(Be, [["render", ze]]), Ke = {
181
+ const je = /* @__PURE__ */ K(Wt, [["render", Jt]]), Xt = {
181
182
  props: {
182
183
  modelValue: Boolean,
183
- plugin: String,
184
- targets: Array,
184
+ plugin: {
185
+ type: String,
186
+ default: null
187
+ },
188
+ targets: {
189
+ type: Array,
190
+ default: null
191
+ },
185
192
  pluginDelete: Boolean
186
193
  },
194
+ emits: ["update:modelValue", "submit", "cancel"],
187
195
  data() {
188
196
  return {
189
197
  modifiedTargets: [],
190
198
  deleteModified: !1
191
199
  };
192
200
  },
193
- methods: {
194
- cancel() {
195
- this.show = !1, this.$emit("cancel");
196
- }
197
- },
198
201
  computed: {
199
202
  show: {
200
203
  get() {
201
204
  return this.modelValue;
202
205
  },
203
- set(t) {
204
- this.$emit("update:modelValue", t);
206
+ set(e) {
207
+ this.$emit("update:modelValue", e);
205
208
  }
206
209
  }
207
210
  },
208
211
  created() {
209
- for (const t of this.targets)
210
- Pe.get(`/openc3-api/targets/${t.name}/modified_files`).then(
211
- (e) => {
212
- e.data.length !== 0 && this.modifiedTargets.push({
213
- name: t.name,
214
- files: e.data
212
+ for (const e of this.targets)
213
+ qt.get(`/openc3-api/targets/${e.name}/modified_files`).then(
214
+ (t) => {
215
+ t.data.length !== 0 && this.modifiedTargets.push({
216
+ name: e.name,
217
+ files: t.data
215
218
  });
216
219
  }
217
220
  );
221
+ },
222
+ methods: {
223
+ cancel() {
224
+ this.show = !1, this.$emit("cancel");
225
+ }
218
226
  }
219
- }, We = { class: "file-list-container" };
220
- function Qe(t, e, n, o, i, l) {
221
- const r = p("v-spacer"), s = p("v-toolbar"), a = p("v-list-item-title"), c = p("v-list-item-subtitle"), u = p("v-list-item"), d = p("v-checkbox"), h = p("v-card-text"), m = p("v-btn"), v = p("v-card-actions"), x = p("v-card"), C = p("v-dialog");
222
- return L(), T(C, {
223
- modelValue: l.show,
224
- "onUpdate:modelValue": e[2] || (e[2] = (_) => l.show = _),
227
+ }, Zt = { class: "file-list-container" };
228
+ function te(e, t, n, r, i, s) {
229
+ const o = p("v-spacer"), l = p("v-toolbar"), a = p("v-list-item-title"), c = p("v-list-item-subtitle"), u = p("v-list-item"), d = p("v-checkbox"), g = p("v-card-text"), m = p("v-btn"), b = p("v-card-actions"), D = p("v-card"), E = p("v-dialog");
230
+ return C(), x(E, {
231
+ modelValue: s.show,
232
+ "onUpdate:modelValue": t[2] || (t[2] = (v) => s.show = v),
225
233
  persistent: "",
226
234
  width: "600",
227
- onKeydown: xe(l.cancel, ["esc"])
235
+ onKeydown: It(s.cancel, ["esc"])
228
236
  }, {
229
- default: g(() => [
230
- f(x, null, {
231
- default: g(() => [
232
- f(s, { height: "24" }, {
233
- default: g(() => [
234
- f(r),
235
- e[3] || (e[3] = R("span", null, " Modified Plugin ", -1)),
236
- f(r)
237
+ default: h(() => [
238
+ f(D, null, {
239
+ default: h(() => [
240
+ f(l, { height: "24" }, {
241
+ default: h(() => [
242
+ f(o),
243
+ t[3] || (t[3] = R("span", null, " Modified Plugin ", -1)),
244
+ f(o)
237
245
  ]),
238
246
  _: 1
239
247
  }),
240
- f(h, { class: "pa-3 card-container" }, {
241
- default: g(() => [
242
- R("div", null, " Plugin " + O(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
243
- (L(!0), V(P, null, G(i.modifiedTargets, (_, S) => (L(), T(u, {
244
- key: S,
248
+ f(g, { class: "pa-3 card-container" }, {
249
+ default: h(() => [
250
+ R("div", null, " Plugin " + V(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
251
+ (C(!0), M(P, null, B(i.modifiedTargets, (v, $) => (C(), x(u, {
252
+ key: $,
245
253
  lines: "two"
246
254
  }, {
247
- default: g(() => [
255
+ default: h(() => [
248
256
  f(a, null, {
249
- default: g(() => [
250
- w(O(_.name), 1)
257
+ default: h(() => [
258
+ S(V(v.name), 1)
251
259
  ]),
252
260
  _: 2
253
261
  }, 1024),
254
- R("div", We, [
255
- (L(!0), V(P, null, G(_.files, (b, E) => (L(), T(c, { key: E }, {
256
- default: g(() => [
257
- w(O(b), 1)
262
+ R("div", Zt, [
263
+ (C(!0), M(P, null, B(v.files, (_, y) => (C(), x(c, { key: y }, {
264
+ default: h(() => [
265
+ S(V(_), 1)
258
266
  ]),
259
267
  _: 2
260
268
  }, 1024))), 128))
@@ -264,7 +272,7 @@ function Qe(t, e, n, o, i, l) {
264
272
  }, 1024))), 128)),
265
273
  f(d, {
266
274
  modelValue: i.deleteModified,
267
- "onUpdate:modelValue": e[0] || (e[0] = (_) => i.deleteModified = _),
275
+ "onUpdate:modelValue": t[0] || (t[0] = (v) => i.deleteModified = v),
268
276
  label: "DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",
269
277
  color: "error",
270
278
  "data-test": "modified-plugin-delete-checkbox"
@@ -272,28 +280,28 @@ function Qe(t, e, n, o, i, l) {
272
280
  ]),
273
281
  _: 1
274
282
  }),
275
- f(v, { class: "px-2" }, {
276
- default: g(() => [
277
- f(r),
283
+ f(b, { class: "px-2" }, {
284
+ default: h(() => [
285
+ f(o),
278
286
  f(m, {
279
287
  variant: "outlined",
280
288
  "data-test": "modified-plugin-cancel",
281
- onClick: l.cancel
289
+ onClick: s.cancel
282
290
  }, {
283
- default: g(() => [...e[4] || (e[4] = [
284
- w(" Cancel ", -1)
291
+ default: h(() => [...t[4] || (t[4] = [
292
+ S(" Cancel ", -1)
285
293
  ])]),
286
294
  _: 1
287
295
  }, 8, ["onClick"]),
288
296
  f(m, {
289
297
  variant: "flat",
290
298
  "data-test": "modified-plugin-submit",
291
- onClick: e[1] || (e[1] = () => {
292
- l.show = !1, t.$emit("submit", i.deleteModified);
299
+ onClick: t[1] || (t[1] = () => {
300
+ s.show = !1, e.$emit("submit", i.deleteModified);
293
301
  })
294
302
  }, {
295
- default: g(() => [...e[5] || (e[5] = [
296
- w(" Confirm ", -1)
303
+ default: h(() => [...t[5] || (t[5] = [
304
+ S(" Confirm ", -1)
297
305
  ])]),
298
306
  _: 1
299
307
  })
@@ -307,70 +315,70 @@ function Qe(t, e, n, o, i, l) {
307
315
  _: 1
308
316
  }, 8, ["modelValue", "onKeydown"]);
309
317
  }
310
- const Ut = /* @__PURE__ */ W(Ke, [["render", Qe], ["__scopeId", "data-v-13bbb65b"]]), Je = [
318
+ const We = /* @__PURE__ */ K(Xt, [["render", te], ["__scopeId", "data-v-fb16376a"]]), ee = [
311
319
  {
312
320
  displayName: "Plugins",
313
321
  name: "PluginsTab",
314
322
  path: "plugins",
315
- component: () => import("../PluginsTab-B_Pf2A9c.js")
323
+ component: () => import("../PluginsTab-Dff_0j26.js")
316
324
  },
317
325
  {
318
326
  displayName: "Targets",
319
327
  name: "TargetsTab",
320
328
  path: "targets",
321
- component: () => import("../TargetsTab-c-qMsGHh.js")
329
+ component: () => import("../TargetsTab-C7Pn5-19.js")
322
330
  },
323
331
  {
324
332
  displayName: "Interfaces",
325
333
  name: "InterfacesTab",
326
334
  path: "interfaces",
327
- component: () => import("../InterfacesTab-BCqTanhV.js")
335
+ component: () => import("../InterfacesTab-C310FRIP.js")
328
336
  },
329
337
  {
330
338
  displayName: "Routers",
331
339
  name: "RoutersTab",
332
340
  path: "routers",
333
- component: () => import("../RoutersTab-EHz4wDCn.js")
341
+ component: () => import("../RoutersTab-DaWde6np.js")
334
342
  },
335
343
  {
336
344
  displayName: "Microservices",
337
345
  name: "MicroservicesTab",
338
346
  path: "microservices",
339
- component: () => import("../MicroservicesTab-rxOATXLO.js")
347
+ component: () => import("../MicroservicesTab-xpDXKoa-.js")
340
348
  },
341
349
  {
342
350
  displayName: "Packages",
343
351
  name: "PackagesTab",
344
352
  path: "packages",
345
- component: () => import("../PackagesTab-BE6W7Aru.js")
353
+ component: () => import("../PackagesTab-rzc4hqOb.js")
346
354
  },
347
355
  {
348
356
  displayName: "Tools",
349
357
  name: "ToolsTab",
350
358
  path: "tools",
351
- component: () => import("../ToolsTab-Buklih4C.js")
359
+ component: () => import("../ToolsTab-D5yhjVM0.js")
352
360
  },
353
361
  {
354
362
  displayName: "Redis",
355
363
  name: "RedisTab",
356
364
  path: "redis",
357
- component: () => import("../RedisTab-BsKrL4fD.js")
365
+ component: () => import("../RedisTab-C3yjh0JX.js")
358
366
  },
359
367
  {
360
368
  displayName: "Secrets",
361
369
  name: "SecretsTab",
362
370
  path: "secrets",
363
- component: () => import("../SecretsTab-Cbt_r-1I.js")
371
+ component: () => import("../SecretsTab-Dhal1RCq.js")
364
372
  },
365
373
  {
366
374
  displayName: "Settings",
367
375
  name: "SettingsTab",
368
376
  path: "settings",
369
- component: () => import("../SettingsTab-L5xbCAW_.js")
377
+ component: () => import("../SettingsTab-Dtj_AlEW.js")
370
378
  }
371
- ], Xe = {
379
+ ], ne = {
372
380
  components: {
373
- TopBar: Ge
381
+ TopBar: jt
374
382
  },
375
383
  data() {
376
384
  return {
@@ -380,31 +388,31 @@ const Ut = /* @__PURE__ */ W(Ke, [["render", Qe], ["__scopeId", "data-v-13bbb65b
380
388
  },
381
389
  computed: {
382
390
  tabs: function() {
383
- return Je.map((t) => ({
384
- displayName: t.displayName,
385
- path: { name: t.name }
391
+ return ee.map((e) => ({
392
+ displayName: e.displayName,
393
+ path: { name: e.name }
386
394
  }));
387
395
  }
388
396
  }
389
397
  };
390
- function Ze(t, e, n, o, i, l) {
391
- const r = p("top-bar"), s = p("v-tab"), a = p("v-tabs"), c = p("router-view"), u = p("v-card");
392
- return L(), V("div", null, [
393
- f(r, { title: i.title }, null, 8, ["title"]),
398
+ function ie(e, t, n, r, i, s) {
399
+ const o = p("top-bar"), l = p("v-tab"), a = p("v-tabs"), c = p("router-view"), u = p("v-card");
400
+ return C(), M("div", null, [
401
+ f(o, { title: i.title }, null, 8, ["title"]),
394
402
  f(u, null, {
395
- default: g(() => [
403
+ default: h(() => [
396
404
  f(a, {
397
405
  modelValue: i.curTab,
398
- "onUpdate:modelValue": e[0] || (e[0] = (d) => i.curTab = d),
406
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => i.curTab = d),
399
407
  "fixed-tabs": ""
400
408
  }, {
401
- default: g(() => [
402
- (L(!0), V(P, null, G(l.tabs, (d, h) => (L(), T(s, {
403
- key: h,
409
+ default: h(() => [
410
+ (C(!0), M(P, null, B(s.tabs, (d, g) => (C(), x(l, {
411
+ key: g,
404
412
  to: d.path
405
413
  }, {
406
- default: g(() => [
407
- w(O(d.displayName), 1)
414
+ default: h(() => [
415
+ S(V(d.displayName), 1)
408
416
  ]),
409
417
  _: 2
410
418
  }, 1032, ["to"]))), 128))
@@ -417,432 +425,432 @@ function Ze(t, e, n, o, i, l) {
417
425
  })
418
426
  ]);
419
427
  }
420
- const jt = /* @__PURE__ */ W(Xe, [["render", Ze]]);
421
- function te(t) {
422
- const [e, n] = t;
423
- return [e, n];
428
+ const Ye = /* @__PURE__ */ K(ne, [["render", ie]]);
429
+ function it(e) {
430
+ const [t, n] = e;
431
+ return [t, n];
424
432
  }
425
- function le(t, e) {
426
- let n = t, o = e;
427
- const i = n.length, l = o.length;
428
- if (i === 0 || l === 0)
433
+ function lt(e, t) {
434
+ let n = e, r = t;
435
+ const i = n.length, s = r.length;
436
+ if (i === 0 || s === 0)
429
437
  return 0;
430
- i > l ? n = n.substring(i - l) : i < l && (o = o.substring(0, i));
431
- const r = Math.min(i, l);
432
- if (n === o)
433
- return r;
434
- let s = 0, a = 1;
438
+ i > s ? n = n.substring(i - s) : i < s && (r = r.substring(0, i));
439
+ const o = Math.min(i, s);
440
+ if (n === r)
441
+ return o;
442
+ let l = 0, a = 1;
435
443
  for (let c = 0; c !== -1; ) {
436
- const u = n.substring(r - a);
437
- if (c = o.indexOf(u), c === -1)
438
- return s;
439
- a += c, (c === 0 || n.substring(r - a) === o.substring(0, a)) && (s = a, a++);
444
+ const u = n.substring(o - a);
445
+ if (c = r.indexOf(u), c === -1)
446
+ return l;
447
+ a += c, (c === 0 || n.substring(o - a) === r.substring(0, a)) && (l = a, a++);
440
448
  }
441
- return s;
449
+ return l;
442
450
  }
443
- function ne(t, e) {
444
- if (!t || !e || t[0] !== e[0])
451
+ function ot(e, t) {
452
+ if (!e || !t || e[0] !== t[0])
445
453
  return 0;
446
- let n = 0, o = Math.min(t.length, e.length), i = o, l = 0;
454
+ let n = 0, r = Math.min(e.length, t.length), i = r, s = 0;
447
455
  for (; n < i; )
448
- t.substring(l, i) === e.substring(l, i) ? (n = i, l = n) : o = i, i = Math.floor((o - n) / 2 + n);
456
+ e.substring(s, i) === t.substring(s, i) ? (n = i, s = n) : r = i, i = Math.floor((r - n) / 2 + n);
449
457
  return i;
450
458
  }
451
- function Q(t, e) {
452
- if (!t || !e || t[t.length - 1] !== e[e.length - 1])
459
+ function Q(e, t) {
460
+ if (!e || !t || e[e.length - 1] !== t[t.length - 1])
453
461
  return 0;
454
- let n = 0, o = Math.min(t.length, e.length), i = o, l = 0;
462
+ let n = 0, r = Math.min(e.length, t.length), i = r, s = 0;
455
463
  for (; n < i; )
456
- t.substring(t.length - i, t.length - l) === e.substring(e.length - i, e.length - l) ? (n = i, l = n) : o = i, i = Math.floor((o - n) / 2 + n);
464
+ e.substring(e.length - i, e.length - s) === t.substring(t.length - i, t.length - s) ? (n = i, s = n) : r = i, i = Math.floor((r - n) / 2 + n);
457
465
  return i;
458
466
  }
459
- function et(t) {
460
- const e = t.charCodeAt(0);
461
- return e >= 55296 && e <= 56319;
462
- }
463
- function tt(t) {
464
- const e = t.charCodeAt(0);
465
- return e >= 56320 && e <= 57343;
466
- }
467
- function nt(t, e, n) {
468
- const o = t.length, i = e.length, l = Math.ceil((o + i) / 2), r = l, s = 2 * l, a = new Array(s), c = new Array(s);
469
- for (let C = 0; C < s; C++)
470
- a[C] = -1, c[C] = -1;
471
- a[r + 1] = 0, c[r + 1] = 0;
472
- const u = o - i, d = u % 2 !== 0;
473
- let h = 0, m = 0, v = 0, x = 0;
474
- for (let C = 0; C < l && !(Date.now() > n); C++) {
475
- for (let _ = -C + h; _ <= C - m; _ += 2) {
476
- const S = r + _;
477
- let b;
478
- _ === -C || _ !== C && a[S - 1] < a[S + 1] ? b = a[S + 1] : b = a[S - 1] + 1;
479
- let E = b - _;
480
- for (; b < o && E < i && t.charAt(b) === e.charAt(E); )
481
- b++, E++;
482
- if (a[S] = b, b > o)
467
+ function oe(e) {
468
+ const t = e.charCodeAt(0);
469
+ return t >= 55296 && t <= 56319;
470
+ }
471
+ function re(e) {
472
+ const t = e.charCodeAt(0);
473
+ return t >= 56320 && t <= 57343;
474
+ }
475
+ function se(e, t, n) {
476
+ const r = e.length, i = t.length, s = Math.ceil((r + i) / 2), o = s, l = 2 * s, a = new Array(l), c = new Array(l);
477
+ for (let E = 0; E < l; E++)
478
+ a[E] = -1, c[E] = -1;
479
+ a[o + 1] = 0, c[o + 1] = 0;
480
+ const u = r - i, d = u % 2 !== 0;
481
+ let g = 0, m = 0, b = 0, D = 0;
482
+ for (let E = 0; E < s && !(Date.now() > n); E++) {
483
+ for (let v = -E + g; v <= E - m; v += 2) {
484
+ const $ = o + v;
485
+ let _;
486
+ v === -E || v !== E && a[$ - 1] < a[$ + 1] ? _ = a[$ + 1] : _ = a[$ - 1] + 1;
487
+ let y = _ - v;
488
+ for (; _ < r && y < i && e.charAt(_) === t.charAt(y); )
489
+ _++, y++;
490
+ if (a[$] = _, _ > r)
483
491
  m += 2;
484
- else if (E > i)
485
- h += 2;
492
+ else if (y > i)
493
+ g += 2;
486
494
  else if (d) {
487
- const I = r + u - _;
488
- if (I >= 0 && I < s && c[I] !== -1) {
489
- const A = o - c[I];
490
- if (b >= A)
491
- return re(t, e, b, E, n);
495
+ const k = o + u - v;
496
+ if (k >= 0 && k < l && c[k] !== -1) {
497
+ const A = r - c[k];
498
+ if (_ >= A)
499
+ return at(e, t, _, y, n);
492
500
  }
493
501
  }
494
502
  }
495
- for (let _ = -C + v; _ <= C - x; _ += 2) {
496
- const S = r + _;
497
- let b;
498
- _ === -C || _ !== C && c[S - 1] < c[S + 1] ? b = c[S + 1] : b = c[S - 1] + 1;
499
- let E = b - _;
500
- for (; b < o && E < i && t.charAt(o - b - 1) === e.charAt(i - E - 1); )
501
- b++, E++;
502
- if (c[S] = b, b > o)
503
- x += 2;
504
- else if (E > i)
505
- v += 2;
503
+ for (let v = -E + b; v <= E - D; v += 2) {
504
+ const $ = o + v;
505
+ let _;
506
+ v === -E || v !== E && c[$ - 1] < c[$ + 1] ? _ = c[$ + 1] : _ = c[$ - 1] + 1;
507
+ let y = _ - v;
508
+ for (; _ < r && y < i && e.charAt(r - _ - 1) === t.charAt(i - y - 1); )
509
+ _++, y++;
510
+ if (c[$] = _, _ > r)
511
+ D += 2;
512
+ else if (y > i)
513
+ b += 2;
506
514
  else if (!d) {
507
- const I = r + u - _;
508
- if (I >= 0 && I < s && a[I] !== -1) {
509
- const A = a[I], J = r + A - I;
510
- if (b = o - b, A >= b)
511
- return re(t, e, A, J, n);
515
+ const k = o + u - v;
516
+ if (k >= 0 && k < l && a[k] !== -1) {
517
+ const A = a[k], J = o + A - k;
518
+ if (_ = r - _, A >= _)
519
+ return at(e, t, A, J, n);
512
520
  }
513
521
  }
514
522
  }
515
523
  }
516
524
  return [
517
- [k, t],
518
- [D, e]
525
+ [O, e],
526
+ [I, t]
519
527
  ];
520
528
  }
521
- function re(t, e, n, o, i) {
522
- const l = t.substring(0, n), r = e.substring(0, o), s = t.substring(n), a = e.substring(o), c = F(l, r, { checkLines: !1, deadline: i }), u = F(s, a, { checkLines: !1, deadline: i });
529
+ function at(e, t, n, r, i) {
530
+ const s = e.substring(0, n), o = t.substring(0, r), l = e.substring(n), a = t.substring(r), c = H(s, o, { checkLines: !1, deadline: i }), u = H(l, a, { checkLines: !1, deadline: i });
523
531
  return c.concat(u);
524
532
  }
525
- function it(t, e, n = 1) {
533
+ function le(e, t, n = 1) {
526
534
  if (n <= 0)
527
535
  return null;
528
- const o = t.length > e.length ? t : e, i = t.length > e.length ? e : t;
529
- if (o.length < 4 || i.length * 2 < o.length)
536
+ const r = e.length > t.length ? e : t, i = e.length > t.length ? t : e;
537
+ if (r.length < 4 || i.length * 2 < r.length)
530
538
  return null;
531
- const l = se(o, i, Math.ceil(o.length / 4)), r = se(o, i, Math.ceil(o.length / 2));
532
- let s;
533
- if (l && r)
534
- s = l[4].length > r[4].length ? l : r;
539
+ const s = ct(r, i, Math.ceil(r.length / 4)), o = ct(r, i, Math.ceil(r.length / 2));
540
+ let l;
541
+ if (s && o)
542
+ l = s[4].length > o[4].length ? s : o;
535
543
  else {
536
- if (!l && !r)
544
+ if (!s && !o)
537
545
  return null;
538
- r ? l || (s = r) : s = l;
546
+ o ? s || (l = o) : l = s;
539
547
  }
540
- if (!s)
548
+ if (!l)
541
549
  throw new Error("Unable to find a half match.");
542
550
  let a, c, u, d;
543
- t.length > e.length ? (a = s[0], c = s[1], u = s[2], d = s[3]) : (u = s[0], d = s[1], a = s[2], c = s[3]);
544
- const h = s[4];
545
- return [a, c, u, d, h];
546
- }
547
- function se(t, e, n) {
548
- const o = t.slice(n, n + Math.floor(t.length / 4));
549
- let i = -1, l = "", r, s, a, c;
550
- for (; (i = e.indexOf(o, i + 1)) !== -1; ) {
551
- const u = ne(t.slice(n), e.slice(i)), d = Q(t.slice(0, n), e.slice(0, i));
552
- l.length < d + u && (l = e.slice(i - d, i) + e.slice(i, i + u), r = t.slice(0, n - d), s = t.slice(n + u), a = e.slice(0, i - d), c = e.slice(i + u));
551
+ e.length > t.length ? (a = l[0], c = l[1], u = l[2], d = l[3]) : (u = l[0], d = l[1], a = l[2], c = l[3]);
552
+ const g = l[4];
553
+ return [a, c, u, d, g];
554
+ }
555
+ function ct(e, t, n) {
556
+ const r = e.slice(n, n + Math.floor(e.length / 4));
557
+ let i = -1, s = "", o, l, a, c;
558
+ for (; (i = t.indexOf(r, i + 1)) !== -1; ) {
559
+ const u = ot(e.slice(n), t.slice(i)), d = Q(e.slice(0, n), t.slice(0, i));
560
+ s.length < d + u && (s = t.slice(i - d, i) + t.slice(i, i + u), o = e.slice(0, n - d), l = e.slice(n + u), a = t.slice(0, i - d), c = t.slice(i + u));
553
561
  }
554
- return l.length * 2 >= t.length ? [
555
- r || "",
556
- s || "",
562
+ return s.length * 2 >= e.length ? [
563
+ o || "",
564
+ l || "",
557
565
  a || "",
558
566
  c || "",
559
- l || ""
567
+ s || ""
560
568
  ] : null;
561
569
  }
562
- function ot(t, e) {
563
- for (let n = 0; n < t.length; n++) {
564
- const o = t[n][1], i = [];
565
- for (let l = 0; l < o.length; l++)
566
- i[l] = e[o.charCodeAt(l)];
567
- t[n][1] = i.join("");
570
+ function ae(e, t) {
571
+ for (let n = 0; n < e.length; n++) {
572
+ const r = e[n][1], i = [];
573
+ for (let s = 0; s < r.length; s++)
574
+ i[s] = t[r.charCodeAt(s)];
575
+ e[n][1] = i.join("");
568
576
  }
569
577
  }
570
- function lt(t, e) {
571
- const n = [], o = {};
578
+ function ce(e, t) {
579
+ const n = [], r = {};
572
580
  n[0] = "";
573
581
  function i(a) {
574
- let c = "", u = 0, d = -1, h = n.length;
582
+ let c = "", u = 0, d = -1, g = n.length;
575
583
  for (; d < a.length - 1; ) {
576
584
  d = a.indexOf(`
577
585
  `, u), d === -1 && (d = a.length - 1);
578
586
  let m = a.slice(u, d + 1);
579
- (o.hasOwnProperty ? o.hasOwnProperty(m) : o[m] !== void 0) ? c += String.fromCharCode(o[m]) : (h === l && (m = a.slice(u), d = a.length), c += String.fromCharCode(h), o[m] = h, n[h++] = m), u = d + 1;
587
+ (r.hasOwnProperty ? r.hasOwnProperty(m) : r[m] !== void 0) ? c += String.fromCharCode(r[m]) : (g === s && (m = a.slice(u), d = a.length), c += String.fromCharCode(g), r[m] = g, n[g++] = m), u = d + 1;
580
588
  }
581
589
  return c;
582
590
  }
583
- let l = 4e4;
584
- const r = i(t);
585
- l = 65535;
586
- const s = i(e);
587
- return { chars1: r, chars2: s, lineArray: n };
588
- }
589
- function rt(t, e, n) {
590
- let o = t, i = e;
591
- const l = lt(o, i);
592
- o = l.chars1, i = l.chars2;
593
- const r = l.lineArray;
594
- let s = F(o, i, {
591
+ let s = 4e4;
592
+ const o = i(e);
593
+ s = 65535;
594
+ const l = i(t);
595
+ return { chars1: o, chars2: l, lineArray: n };
596
+ }
597
+ function ue(e, t, n) {
598
+ let r = e, i = t;
599
+ const s = ce(r, i);
600
+ r = s.chars1, i = s.chars2;
601
+ const o = s.lineArray;
602
+ let l = H(r, i, {
595
603
  checkLines: !1,
596
604
  deadline: n.deadline
597
605
  });
598
- ot(s, r), s = Ie(s), s.push([$, ""]);
599
- let a = 0, c = 0, u = 0, d = "", h = "";
600
- for (; a < s.length; ) {
601
- switch (s[a][0]) {
602
- case D:
603
- u++, h += s[a][1];
606
+ ae(l, o), l = Ot(l), l.push([w, ""]);
607
+ let a = 0, c = 0, u = 0, d = "", g = "";
608
+ for (; a < l.length; ) {
609
+ switch (l[a][0]) {
610
+ case I:
611
+ u++, g += l[a][1];
604
612
  break;
605
- case k:
606
- c++, d += s[a][1];
613
+ case O:
614
+ c++, d += l[a][1];
607
615
  break;
608
- case $:
616
+ case w:
609
617
  if (c >= 1 && u >= 1) {
610
- s.splice(a - c - u, c + u), a = a - c - u;
611
- const m = F(d, h, {
618
+ l.splice(a - c - u, c + u), a = a - c - u;
619
+ const m = H(d, g, {
612
620
  checkLines: !1,
613
621
  deadline: n.deadline
614
622
  });
615
- for (let v = m.length - 1; v >= 0; v--)
616
- s.splice(a, 0, m[v]);
623
+ for (let b = m.length - 1; b >= 0; b--)
624
+ l.splice(a, 0, m[b]);
617
625
  a += m.length;
618
626
  }
619
- u = 0, c = 0, d = "", h = "";
627
+ u = 0, c = 0, d = "", g = "";
620
628
  break;
621
629
  default:
622
630
  throw new Error("Unknown diff operation.");
623
631
  }
624
632
  a++;
625
633
  }
626
- return s.pop(), s;
634
+ return l.pop(), l;
627
635
  }
628
- function st(t, e, n) {
629
- let o;
630
- if (!t)
631
- return [[D, e]];
636
+ function de(e, t, n) {
637
+ let r;
632
638
  if (!e)
633
- return [[k, t]];
634
- const i = t.length > e.length ? t : e, l = t.length > e.length ? e : t, r = i.indexOf(l);
635
- if (r !== -1)
636
- return o = [
637
- [D, i.substring(0, r)],
638
- [$, l],
639
- [D, i.substring(r + l.length)]
640
- ], t.length > e.length && (o[0][0] = k, o[2][0] = k), o;
641
- if (l.length === 1)
639
+ return [[I, t]];
640
+ if (!t)
641
+ return [[O, e]];
642
+ const i = e.length > t.length ? e : t, s = e.length > t.length ? t : e, o = i.indexOf(s);
643
+ if (o !== -1)
644
+ return r = [
645
+ [I, i.substring(0, o)],
646
+ [w, s],
647
+ [I, i.substring(o + s.length)]
648
+ ], e.length > t.length && (r[0][0] = O, r[2][0] = O), r;
649
+ if (s.length === 1)
642
650
  return [
643
- [k, t],
644
- [D, e]
651
+ [O, e],
652
+ [I, t]
645
653
  ];
646
- const s = it(t, e);
647
- if (s) {
648
- const a = s[0], c = s[1], u = s[2], d = s[3], h = s[4], m = F(a, u, n), v = F(c, d, n);
649
- return m.concat([[$, h]], v);
654
+ const l = le(e, t);
655
+ if (l) {
656
+ const a = l[0], c = l[1], u = l[2], d = l[3], g = l[4], m = H(a, u, n), b = H(c, d, n);
657
+ return m.concat([[w, g]], b);
650
658
  }
651
- return n.checkLines && t.length > 100 && e.length > 100 ? rt(t, e, n) : nt(t, e, n.deadline);
652
- }
653
- var at = Object.defineProperty, ae = Object.getOwnPropertySymbols, ct = Object.prototype.hasOwnProperty, ut = Object.prototype.propertyIsEnumerable, ce = (t, e, n) => e in t ? at(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, dt = (t, e) => {
654
- for (var n in e || (e = {}))
655
- ct.call(e, n) && ce(t, n, e[n]);
656
- if (ae)
657
- for (var n of ae(e))
658
- ut.call(e, n) && ce(t, n, e[n]);
659
- return t;
659
+ return n.checkLines && e.length > 100 && t.length > 100 ? ue(e, t, n) : se(e, t, n.deadline);
660
+ }
661
+ var he = Object.defineProperty, ut = Object.getOwnPropertySymbols, ge = Object.prototype.hasOwnProperty, fe = Object.prototype.propertyIsEnumerable, dt = (e, t, n) => t in e ? he(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, pe = (e, t) => {
662
+ for (var n in t || (t = {}))
663
+ ge.call(t, n) && dt(e, n, t[n]);
664
+ if (ut)
665
+ for (var n of ut(t))
666
+ fe.call(t, n) && dt(e, n, t[n]);
667
+ return e;
660
668
  };
661
- const k = -1, D = 1, $ = 0;
662
- function ht(t, e, n) {
663
- if (t === null || e === null)
669
+ const O = -1, I = 1, w = 0;
670
+ function me(e, t, n) {
671
+ if (e === null || t === null)
664
672
  throw new Error("Null input. (diff)");
665
- const o = F(t, e, ft(n || {}));
666
- return mt(o), o;
667
- }
668
- function F(t, e, n) {
669
- let o = t, i = e;
670
- if (o === i)
671
- return o ? [[$, o]] : [];
672
- let l = ne(o, i);
673
- const r = o.substring(0, l);
674
- o = o.substring(l), i = i.substring(l), l = Q(o, i);
675
- const s = o.substring(o.length - l);
676
- o = o.substring(0, o.length - l), i = i.substring(0, i.length - l);
677
- let a = st(o, i, n);
678
- return r && a.unshift([$, r]), s && a.push([$, s]), a = ie(a), a;
679
- }
680
- function gt(t) {
681
- let e = 1;
682
- return typeof t < "u" && (e = t <= 0 ? Number.MAX_VALUE : t), Date.now() + e * 1e3;
683
- }
684
- function ft(t) {
685
- return dt({
673
+ const r = H(e, t, be(n || {}));
674
+ return Ce(r), r;
675
+ }
676
+ function H(e, t, n) {
677
+ let r = e, i = t;
678
+ if (r === i)
679
+ return r ? [[w, r]] : [];
680
+ let s = ot(r, i);
681
+ const o = r.substring(0, s);
682
+ r = r.substring(s), i = i.substring(s), s = Q(r, i);
683
+ const l = r.substring(r.length - s);
684
+ r = r.substring(0, r.length - s), i = i.substring(0, i.length - s);
685
+ let a = de(r, i, n);
686
+ return o && a.unshift([w, o]), l && a.push([w, l]), a = rt(a), a;
687
+ }
688
+ function _e(e) {
689
+ let t = 1;
690
+ return typeof e < "u" && (t = e <= 0 ? Number.MAX_VALUE : e), Date.now() + t * 1e3;
691
+ }
692
+ function be(e) {
693
+ return pe({
686
694
  checkLines: !0,
687
- deadline: gt(t.timeout || 1)
688
- }, t);
695
+ deadline: _e(e.timeout || 1)
696
+ }, e);
689
697
  }
690
- function U(t, e, n) {
691
- return n === 1 ? t + e : e + t;
698
+ function j(e, t, n) {
699
+ return n === 1 ? e + t : t + e;
692
700
  }
693
- function j(t, e) {
694
- return e === 1 ? [t.substring(0, t.length - 1), t[t.length - 1]] : [t.substring(1), t[0]];
701
+ function W(e, t) {
702
+ return t === 1 ? [e.substring(0, e.length - 1), e[e.length - 1]] : [e.substring(1), e[0]];
695
703
  }
696
- function pt(t, e, n, o) {
697
- return o === 1 ? t[e][1][t[e][1].length - 1] === t[n][1][t[n][1].length - 1] : t[e][1][0] === t[n][1][0];
704
+ function ve(e, t, n, r) {
705
+ return r === 1 ? e[t][1][e[t][1].length - 1] === e[n][1][e[n][1].length - 1] : e[t][1][0] === e[n][1][0];
698
706
  }
699
- function ue(t, e, n) {
700
- const o = n === 1 ? -1 : 1;
701
- let i = null, l = null, r = e + n;
702
- for (; r >= 0 && r < t.length && (i === null || l === null); r += n) {
703
- const [c, u] = t[r];
707
+ function ht(e, t, n) {
708
+ const r = n === 1 ? -1 : 1;
709
+ let i = null, s = null, o = t + n;
710
+ for (; o >= 0 && o < e.length && (i === null || s === null); o += n) {
711
+ const [c, u] = e[o];
704
712
  if (u.length !== 0) {
705
- if (c === D) {
706
- i === null && (i = r);
713
+ if (c === I) {
714
+ i === null && (i = o);
707
715
  continue;
708
- } else if (c === k) {
709
- l === null && (l = r);
716
+ } else if (c === O) {
717
+ s === null && (s = o);
710
718
  continue;
711
- } else if (c === $) {
712
- if (i === null && l === null) {
713
- const [d, h] = j(t[e][1], n);
714
- t[e][1] = d, t[r][1] = U(t[r][1], h, o);
719
+ } else if (c === w) {
720
+ if (i === null && s === null) {
721
+ const [d, g] = W(e[t][1], n);
722
+ e[t][1] = d, e[o][1] = j(e[o][1], g, r);
715
723
  return;
716
724
  }
717
725
  break;
718
726
  }
719
727
  }
720
728
  }
721
- if (i !== null && l !== null && pt(t, i, l, n)) {
722
- const [c, u] = j(t[i][1], o), [d] = j(t[l][1], o);
723
- t[i][1] = c, t[l][1] = d, t[e][1] = U(t[e][1], u, n);
729
+ if (i !== null && s !== null && ve(e, i, s, n)) {
730
+ const [c, u] = W(e[i][1], r), [d] = W(e[s][1], r);
731
+ e[i][1] = c, e[s][1] = d, e[t][1] = j(e[t][1], u, n);
724
732
  return;
725
733
  }
726
- const [s, a] = j(t[e][1], n);
727
- t[e][1] = s, i === null ? (t.splice(r, 0, [D, a]), l !== null && l >= r && l++) : t[i][1] = U(t[i][1], a, o), l === null ? t.splice(r, 0, [k, a]) : t[l][1] = U(t[l][1], a, o);
728
- }
729
- function mt(t) {
730
- for (let e = 0; e < t.length; e++) {
731
- const [n, o] = t[e];
732
- if (o.length === 0) continue;
733
- const i = o[0], l = o[o.length - 1];
734
- et(l) && n === $ && ue(t, e, 1), tt(i) && n === $ && ue(t, e, -1);
734
+ const [l, a] = W(e[t][1], n);
735
+ e[t][1] = l, i === null ? (e.splice(o, 0, [I, a]), s !== null && s >= o && s++) : e[i][1] = j(e[i][1], a, r), s === null ? e.splice(o, 0, [O, a]) : e[s][1] = j(e[s][1], a, r);
736
+ }
737
+ function Ce(e) {
738
+ for (let t = 0; t < e.length; t++) {
739
+ const [n, r] = e[t];
740
+ if (r.length === 0) continue;
741
+ const i = r[0], s = r[r.length - 1];
742
+ oe(s) && n === w && ht(e, t, 1), re(i) && n === w && ht(e, t, -1);
735
743
  }
736
- for (let e = 0; e < t.length; e++)
737
- t[e][1].length === 0 && t.splice(e, 1);
738
- }
739
- function Ie(t) {
740
- let e = t.map((d) => te(d)), n = !1;
741
- const o = [];
742
- let i = 0, l = null, r = 0, s = 0, a = 0, c = 0, u = 0;
743
- for (; r < e.length; )
744
- e[r][0] === $ ? (o[i++] = r, s = c, a = u, c = 0, u = 0, l = e[r][1]) : (e[r][0] === D ? c += e[r][1].length : u += e[r][1].length, l && l.length <= Math.max(s, a) && l.length <= Math.max(c, u) && (e.splice(o[i - 1], 0, [k, l]), e[o[i - 1] + 1][0] = D, i--, i--, r = i > 0 ? o[i - 1] : -1, s = 0, a = 0, c = 0, u = 0, l = null, n = !0)), r++;
745
- for (n && (e = ie(e)), e = vt(e), r = 1; r < e.length; ) {
746
- if (e[r - 1][0] === k && e[r][0] === D) {
747
- const d = e[r - 1][1], h = e[r][1], m = le(d, h), v = le(h, d);
748
- m >= v ? (m >= d.length / 2 || m >= h.length / 2) && (e.splice(r, 0, [$, h.substring(0, m)]), e[r - 1][1] = d.substring(0, d.length - m), e[r + 1][1] = h.substring(m), r++) : (v >= d.length / 2 || v >= h.length / 2) && (e.splice(r, 0, [$, d.substring(0, v)]), e[r - 1][0] = D, e[r - 1][1] = h.substring(0, h.length - v), e[r + 1][0] = k, e[r + 1][1] = d.substring(v), r++), r++;
744
+ for (let t = 0; t < e.length; t++)
745
+ e[t][1].length === 0 && e.splice(t, 1);
746
+ }
747
+ function Ot(e) {
748
+ let t = e.map((d) => it(d)), n = !1;
749
+ const r = [];
750
+ let i = 0, s = null, o = 0, l = 0, a = 0, c = 0, u = 0;
751
+ for (; o < t.length; )
752
+ t[o][0] === w ? (r[i++] = o, l = c, a = u, c = 0, u = 0, s = t[o][1]) : (t[o][0] === I ? c += t[o][1].length : u += t[o][1].length, s && s.length <= Math.max(l, a) && s.length <= Math.max(c, u) && (t.splice(r[i - 1], 0, [O, s]), t[r[i - 1] + 1][0] = I, i--, i--, o = i > 0 ? r[i - 1] : -1, l = 0, a = 0, c = 0, u = 0, s = null, n = !0)), o++;
753
+ for (n && (t = rt(t)), t = Se(t), o = 1; o < t.length; ) {
754
+ if (t[o - 1][0] === O && t[o][0] === I) {
755
+ const d = t[o - 1][1], g = t[o][1], m = lt(d, g), b = lt(g, d);
756
+ m >= b ? (m >= d.length / 2 || m >= g.length / 2) && (t.splice(o, 0, [w, g.substring(0, m)]), t[o - 1][1] = d.substring(0, d.length - m), t[o + 1][1] = g.substring(m), o++) : (b >= d.length / 2 || b >= g.length / 2) && (t.splice(o, 0, [w, d.substring(0, b)]), t[o - 1][0] = I, t[o - 1][1] = g.substring(0, g.length - b), t[o + 1][0] = O, t[o + 1][1] = d.substring(b), o++), o++;
749
757
  }
750
- r++;
758
+ o++;
751
759
  }
752
- return e;
760
+ return t;
753
761
  }
754
- const de = /[^a-zA-Z0-9]/, he = /\s/, ge = /[\r\n]/, bt = /\n\r?\n$/, _t = /^\r?\n\r?\n/;
755
- function vt(t) {
756
- const e = t.map((i) => te(i));
757
- function n(i, l) {
758
- if (!i || !l)
762
+ const gt = /[^a-zA-Z0-9]/, ft = /\s/, pt = /[\r\n]/, Ee = /\n\r?\n$/, Le = /^\r?\n\r?\n/;
763
+ function Se(e) {
764
+ const t = e.map((i) => it(i));
765
+ function n(i, s) {
766
+ if (!i || !s)
759
767
  return 6;
760
- const r = i.charAt(i.length - 1), s = l.charAt(0), a = r.match(de), c = s.match(de), u = a && r.match(he), d = c && s.match(he), h = u && r.match(ge), m = d && s.match(ge), v = h && i.match(bt), x = m && l.match(_t);
761
- return v || x ? 5 : h || m ? 4 : a && !u && d ? 3 : u || d ? 2 : a || c ? 1 : 0;
768
+ const o = i.charAt(i.length - 1), l = s.charAt(0), a = o.match(gt), c = l.match(gt), u = a && o.match(ft), d = c && l.match(ft), g = u && o.match(pt), m = d && l.match(pt), b = g && i.match(Ee), D = m && s.match(Le);
769
+ return b || D ? 5 : g || m ? 4 : a && !u && d ? 3 : u || d ? 2 : a || c ? 1 : 0;
762
770
  }
763
- let o = 1;
764
- for (; o < e.length - 1; ) {
765
- if (e[o - 1][0] === $ && e[o + 1][0] === $) {
766
- let i = e[o - 1][1], l = e[o][1], r = e[o + 1][1];
767
- const s = Q(i, l);
768
- if (s) {
769
- const h = l.substring(l.length - s);
770
- i = i.substring(0, i.length - s), l = h + l.substring(0, l.length - s), r = h + r;
771
+ let r = 1;
772
+ for (; r < t.length - 1; ) {
773
+ if (t[r - 1][0] === w && t[r + 1][0] === w) {
774
+ let i = t[r - 1][1], s = t[r][1], o = t[r + 1][1];
775
+ const l = Q(i, s);
776
+ if (l) {
777
+ const g = s.substring(s.length - l);
778
+ i = i.substring(0, i.length - l), s = g + s.substring(0, s.length - l), o = g + o;
771
779
  }
772
- let a = i, c = l, u = r, d = n(i, l) + n(l, r);
773
- for (; l.charAt(0) === r.charAt(0); ) {
774
- i += l.charAt(0), l = l.substring(1) + r.charAt(0), r = r.substring(1);
775
- const h = n(i, l) + n(l, r);
776
- h >= d && (d = h, a = i, c = l, u = r);
780
+ let a = i, c = s, u = o, d = n(i, s) + n(s, o);
781
+ for (; s.charAt(0) === o.charAt(0); ) {
782
+ i += s.charAt(0), s = s.substring(1) + o.charAt(0), o = o.substring(1);
783
+ const g = n(i, s) + n(s, o);
784
+ g >= d && (d = g, a = i, c = s, u = o);
777
785
  }
778
- e[o - 1][1] !== a && (a ? e[o - 1][1] = a : (e.splice(o - 1, 1), o--), e[o][1] = c, u ? e[o + 1][1] = u : (e.splice(o + 1, 1), o--));
786
+ t[r - 1][1] !== a && (a ? t[r - 1][1] = a : (t.splice(r - 1, 1), r--), t[r][1] = c, u ? t[r + 1][1] = u : (t.splice(r + 1, 1), r--));
779
787
  }
780
- o++;
788
+ r++;
781
789
  }
782
- return e;
790
+ return t;
783
791
  }
784
- function ie(t) {
785
- let e = t.map((c) => te(c));
786
- e.push([$, ""]);
787
- let n = 0, o = 0, i = 0, l = "", r = "", s;
788
- for (; n < e.length; )
789
- switch (e[n][0]) {
790
- case D:
791
- i++, r += e[n][1], n++;
792
+ function rt(e) {
793
+ let t = e.map((c) => it(c));
794
+ t.push([w, ""]);
795
+ let n = 0, r = 0, i = 0, s = "", o = "", l;
796
+ for (; n < t.length; )
797
+ switch (t[n][0]) {
798
+ case I:
799
+ i++, o += t[n][1], n++;
792
800
  break;
793
- case k:
794
- o++, l += e[n][1], n++;
801
+ case O:
802
+ r++, s += t[n][1], n++;
795
803
  break;
796
- case $:
797
- o + i > 1 ? (o !== 0 && i !== 0 && (s = ne(r, l), s !== 0 && (n - o - i > 0 && e[n - o - i - 1][0] === $ ? e[n - o - i - 1][1] += r.substring(
804
+ case w:
805
+ r + i > 1 ? (r !== 0 && i !== 0 && (l = ot(o, s), l !== 0 && (n - r - i > 0 && t[n - r - i - 1][0] === w ? t[n - r - i - 1][1] += o.substring(
798
806
  0,
799
- s
800
- ) : (e.splice(0, 0, [$, r.substring(0, s)]), n++), r = r.substring(s), l = l.substring(s)), s = Q(r, l), s !== 0 && (e[n][1] = r.substring(r.length - s) + e[n][1], r = r.substring(0, r.length - s), l = l.substring(0, l.length - s))), n -= o + i, e.splice(n, o + i), l.length && (e.splice(n, 0, [k, l]), n++), r.length && (e.splice(n, 0, [D, r]), n++), n++) : n !== 0 && e[n - 1][0] === $ ? (e[n - 1][1] += e[n][1], e.splice(n, 1)) : n++, i = 0, o = 0, l = "", r = "";
807
+ l
808
+ ) : (t.splice(0, 0, [w, o.substring(0, l)]), n++), o = o.substring(l), s = s.substring(l)), l = Q(o, s), l !== 0 && (t[n][1] = o.substring(o.length - l) + t[n][1], o = o.substring(0, o.length - l), s = s.substring(0, s.length - l))), n -= r + i, t.splice(n, r + i), s.length && (t.splice(n, 0, [O, s]), n++), o.length && (t.splice(n, 0, [I, o]), n++), n++) : n !== 0 && t[n - 1][0] === w ? (t[n - 1][1] += t[n][1], t.splice(n, 1)) : n++, i = 0, r = 0, s = "", o = "";
801
809
  break;
802
810
  default:
803
811
  throw new Error("Unknown diff operation");
804
812
  }
805
- e[e.length - 1][1] === "" && e.pop();
813
+ t[t.length - 1][1] === "" && t.pop();
806
814
  let a = !1;
807
- for (n = 1; n < e.length - 1; )
808
- e[n - 1][0] === $ && e[n + 1][0] === $ && (e[n][1].substring(e[n][1].length - e[n - 1][1].length) === e[n - 1][1] ? (e[n][1] = e[n - 1][1] + e[n][1].substring(0, e[n][1].length - e[n - 1][1].length), e[n + 1][1] = e[n - 1][1] + e[n + 1][1], e.splice(n - 1, 1), a = !0) : e[n][1].substring(0, e[n + 1][1].length) === e[n + 1][1] && (e[n - 1][1] += e[n + 1][1], e[n][1] = e[n][1].substring(e[n + 1][1].length) + e[n + 1][1], e.splice(n + 1, 1), a = !0)), n++;
809
- return a && (e = ie(e)), e;
815
+ for (n = 1; n < t.length - 1; )
816
+ t[n - 1][0] === w && t[n + 1][0] === w && (t[n][1].substring(t[n][1].length - t[n - 1][1].length) === t[n - 1][1] ? (t[n][1] = t[n - 1][1] + t[n][1].substring(0, t[n][1].length - t[n - 1][1].length), t[n + 1][1] = t[n - 1][1] + t[n + 1][1], t.splice(n - 1, 1), a = !0) : t[n][1].substring(0, t[n + 1][1].length) === t[n + 1][1] && (t[n - 1][1] += t[n + 1][1], t[n][1] = t[n][1].substring(t[n + 1][1].length) + t[n + 1][1], t.splice(n + 1, 1), a = !0)), n++;
817
+ return a && (t = rt(t)), t;
810
818
  }
811
- function Y(t) {
812
- return t && typeof t == "object" && !Array.isArray(t) && t !== null;
819
+ function Y(e) {
820
+ return e && typeof e == "object" && !Array.isArray(e) && e !== null;
813
821
  }
814
- function oe(t, e) {
815
- return Y(t) && Y(e) && Object.keys(e).forEach((n) => {
816
- n === "__proto__" || n === "constructor" || (Y(e[n]) ? ((!t[n] || !Y(t[n])) && (t[n] = e[n]), oe(t[n], e[n])) : Object.assign(t, {
817
- [n]: e[n]
822
+ function st(e, t) {
823
+ return Y(e) && Y(t) && Object.keys(t).forEach((n) => {
824
+ n === "__proto__" || n === "constructor" || (Y(t[n]) ? ((!e[n] || !Y(e[n])) && (e[n] = t[n]), e[n] != t[n] && st(e[n], t[n])) : Object.assign(e, {
825
+ [n]: t[n]
818
826
  }));
819
- }), t;
827
+ }), e;
820
828
  }
821
- function fe(t, e, n = !1) {
822
- let o = null, i = !0;
823
- return (...l) => {
824
- const r = n && i, s = () => {
825
- t.apply(this, l), o = null;
829
+ function mt(e, t, n = !1) {
830
+ let r = null, i = !0;
831
+ return (...s) => {
832
+ const o = n && i, l = () => {
833
+ e.apply(this, s), r = null;
826
834
  };
827
- r && (i = !1, s()), o || (o = setTimeout(s, e));
835
+ o && (i = !1, l()), r || (r = setTimeout(l, t));
828
836
  };
829
837
  }
830
- function Lt(t, e) {
838
+ function ye(e, t) {
831
839
  let n;
832
- return (...o) => {
840
+ return (...r) => {
833
841
  const i = this;
834
- clearTimeout(n), n = setTimeout(() => t.apply(i, o), e);
842
+ clearTimeout(n), n = setTimeout(() => e.apply(i, r), t);
835
843
  };
836
844
  }
837
- function pe(t = "") {
838
- return t.replace(/\r\n/g, `
845
+ function _t(e = "") {
846
+ return e.replace(/\r\n/g, `
839
847
  `);
840
848
  }
841
- function me(t, e, n, o) {
842
- const i = n - t, l = t + i / 2;
843
- return `M ${t} ${e} C ${l},${e} ${l},${o} ${n},${o}`;
849
+ function bt(e, t, n, r) {
850
+ const i = n - e, s = e + i / 2;
851
+ return `M ${e} ${t} C ${s},${t} ${s},${r} ${n},${r}`;
844
852
  }
845
- var y = {
853
+ var L = {
846
854
  DIFF_EQUAL: 0,
847
855
  DIFF_DELETE: -1,
848
856
  DIFF_INSERT: 1,
@@ -854,67 +862,68 @@ var y = {
854
862
  DIFF_GRANULARITY_SPECIFIC: "specific",
855
863
  DIFF_GRANULARITY_BROAD: "broad"
856
864
  };
857
- function be(t, e) {
858
- let { mode: n } = t.options;
859
- return e === y.EDITOR_LEFT && t.options.left.mode !== null && (n = t.options.left.mode), e === y.EDITOR_RIGHT && t.options.right.mode !== null && (n = t.options.right.mode), n;
860
- }
861
- function _e(t, e) {
862
- let { theme: n } = t.options;
863
- return e === y.EDITOR_LEFT && t.options.left.theme !== null && (n = t.options.left.theme), e === y.EDITOR_RIGHT && t.options.right.theme !== null && (n = t.options.right.theme), n;
864
- }
865
- function ke(t, e) {
866
- return t.ace.getSession().doc.getLine(e);
867
- }
868
- function yt(t) {
869
- return document.getElementById(t.options.left.id).offsetHeight;
870
- }
871
- function ve(t) {
872
- const e = document.createElement("div"), n = {
873
- class: t.className,
874
- style: `top:${t.topOffset}px`,
875
- title: t.tooltip,
876
- "data-diff-index": t.diffIndex
865
+ function vt(e, t) {
866
+ let { mode: n } = e.options;
867
+ return t === L.EDITOR_LEFT && e.options.left.mode !== null && (n = e.options.left.mode), t === L.EDITOR_RIGHT && e.options.right.mode !== null && (n = e.options.right.mode), n;
868
+ }
869
+ function Ct(e, t) {
870
+ let { theme: n } = e.options;
871
+ return t === L.EDITOR_LEFT && e.options.left.theme !== null && (n = e.options.left.theme), t === L.EDITOR_RIGHT && e.options.right.theme !== null && (n = e.options.right.theme), n;
872
+ }
873
+ function we(e, t) {
874
+ return e.ace.getSession().doc.getLine(t);
875
+ }
876
+ function $e(e) {
877
+ return document.getElementById(e.options.left.id).offsetHeight;
878
+ }
879
+ function Et(e) {
880
+ const t = document.createElement("div"), n = {
881
+ class: e.className,
882
+ style: `top:${e.topOffset}px`,
883
+ title: e.tooltip,
884
+ "data-diff-index": e.diffIndex
877
885
  };
878
- for (const o in n) e.setAttribute(o, n[o]);
879
- return e.innerHTML = t.arrowContent, e;
886
+ for (const r in n) t.setAttribute(r, n[r]);
887
+ return t.innerHTML = e.arrowContent, t;
880
888
  }
881
- function Z(t, e) {
882
- const n = Math.random().toString(36).substr(2, 5), o = `js-${e}-${n}`, i = t.querySelector(`.${e}`);
889
+ function tt(e, t) {
890
+ const n = Math.random().toString(36).substr(2, 5), r = `js-${t}-${n}`, i = e.querySelector(`.${t}`);
883
891
  if (i)
884
- return i.id = i.id || o, i.id;
885
- const l = document.createElement("div");
886
- return t.appendChild(l), l.className = e, l.id = o, l.id;
887
- }
888
- function Le(t, e, n, o) {
889
- const i = t === "document" ? document : document.querySelector(t);
890
- i.addEventListener(e, (l) => {
891
- const r = i.querySelectorAll(n), { target: s } = l;
892
- for (let a = 0, c = r.length; a < c; a += 1) {
893
- let u = s;
894
- const d = r[a];
892
+ return i.id = i.id || r, i.id;
893
+ const s = document.createElement("div");
894
+ return e.appendChild(s), s.className = t, s.id = r, s.id;
895
+ }
896
+ function Lt(e, t, n, r) {
897
+ const i = e === "document" ? document : document.querySelector(e);
898
+ i.addEventListener(t, (s) => {
899
+ const o = i.querySelectorAll(n), { target: l } = s;
900
+ for (let a = 0, c = o.length; a < c; a += 1) {
901
+ let u = l;
902
+ const d = o[a];
895
903
  for (; u && u !== i; )
896
- u === d && o.call(d, l), u = u.parentNode;
904
+ u === d && r.call(d, s), u = u.parentNode;
897
905
  }
898
906
  });
899
907
  }
900
- let z;
901
- function Et(t) {
902
- if (t.Range) return t.Range;
903
- const e = t.acequire || t.require;
904
- return e ? e("ace/range") : !1;
908
+ let U;
909
+ function Te(e) {
910
+ if (e.Range) return e.Range;
911
+ const t = e.acequire || e.require;
912
+ return t ? t("ace/range") : !1;
905
913
  }
906
- function K(t = {}) {
907
- if (!(this instanceof K)) return new K(t);
908
- const e = this, n = () => window ? window.ace : void 0;
909
- e.options = oe({
914
+ function z(e = {}) {
915
+ if (!(this instanceof z)) return new z(e);
916
+ const t = this, n = () => window ? window.ace : void 0;
917
+ t.options = st({
910
918
  ace: n(),
911
919
  mode: null,
912
920
  theme: null,
913
921
  element: null,
914
- diffGranularity: y.DIFF_GRANULARITY_BROAD,
915
- lockScrolling: !1,
922
+ diffGranularity: L.DIFF_GRANULARITY_BROAD,
923
+ lockScrolling: !0,
916
924
  showDiffs: !0,
917
925
  showConnectors: !0,
926
+ charDiffs: !0,
918
927
  maxDiffs: 5e3,
919
928
  left: {
920
929
  id: null,
@@ -935,6 +944,8 @@ function K(t = {}) {
935
944
  classes: {
936
945
  gutterID: "acediff__gutter",
937
946
  diff: "acediff__diffLine",
947
+ diffChar: "acediff__diffChar",
948
+ diffGutter: "acediff__diffGutter",
938
949
  connector: "acediff__connector",
939
950
  newCodeConnectorLink: "acediff__newCodeConnector",
940
951
  newCodeConnectorLinkContent: "&#8594;",
@@ -943,45 +954,48 @@ function K(t = {}) {
943
954
  copyRightContainer: "acediff__copy--right",
944
955
  copyLeftContainer: "acediff__copy--left"
945
956
  },
946
- connectorYOffset: 0
947
- }, t);
948
- const { ace: o } = e.options;
949
- if (!o) {
957
+ connectorYOffset: 0,
958
+ onDiffReady: null
959
+ }, e);
960
+ const { ace: r } = t.options;
961
+ if (!r) {
950
962
  const i = "No ace editor found nor supplied - `options.ace` or `window.ace` is missing";
951
963
  return console.error(i), new Error(i);
952
964
  }
953
- if (z = Et(o), !z) {
965
+ if (U = Te(r), !U) {
954
966
  const i = "Could not require Range module for Ace. Depends on your bundling strategy, but it usually comes with Ace itself. See https://ace.c9.io/api/range.html, open an issue on GitHub ace-diff/ace-diff";
955
967
  return console.error(i), new Error(i);
956
968
  }
957
- if (e.options.element === null) {
969
+ if (t.options.element === null) {
958
970
  const i = "You need to specify an element for Ace-diff - `options.element` is missing";
959
971
  return console.error(i), new Error(i);
960
972
  }
961
- if (e.options.element instanceof HTMLElement ? e.el = e.options.element : e.el = document.body.querySelector(e.options.element), !e.el) {
962
- const i = `Can't find the specified element ${e.options.element}`;
973
+ if (t.options.element instanceof HTMLElement ? t.el = t.options.element : t.el = document.body.querySelector(t.options.element), !t.el) {
974
+ const i = `Can't find the specified element ${t.options.element}`;
963
975
  return console.error(i), new Error(i);
964
976
  }
965
- e.options.left.id = Z(e.el, "acediff__left"), e.options.classes.gutterID = Z(e.el, "acediff__gutter"), e.options.right.id = Z(e.el, "acediff__right"), e.el.innerHTML = `<div class="acediff__wrap">${e.el.innerHTML}</div>`, e.editors = {
977
+ t.options.left.id = tt(t.el, "acediff__left"), t.options.classes.gutterID = tt(t.el, "acediff__gutter"), t.options.right.id = tt(t.el, "acediff__right"), t.el.innerHTML = `<div class="acediff acediff__wrap">${t.el.innerHTML}</div>`, t.editors = {
966
978
  left: {
967
- ace: o.edit(e.options.left.id),
979
+ ace: r.edit(t.options.left.id),
968
980
  markers: [],
969
- lineLengths: []
981
+ lineLengths: [],
982
+ diffGutters: []
970
983
  },
971
984
  right: {
972
- ace: o.edit(e.options.right.id),
985
+ ace: r.edit(t.options.right.id),
973
986
  markers: [],
974
- lineLengths: []
987
+ lineLengths: [],
988
+ diffGutters: []
975
989
  },
976
990
  editorHeight: null
977
- }, e.editors.left.ace.getSession().setMode(be(e, y.EDITOR_LEFT)), e.editors.right.ace.getSession().setMode(be(e, y.EDITOR_RIGHT)), e.editors.left.ace.setReadOnly(!e.options.left.editable), e.editors.right.ace.setReadOnly(!e.options.right.editable), e.editors.left.ace.setTheme(_e(e, y.EDITOR_LEFT)), e.editors.right.ace.setTheme(_e(e, y.EDITOR_RIGHT)), e.editors.left.ace.setValue(pe(e.options.left.content), -1), e.editors.right.ace.setValue(pe(e.options.right.content), -1), e.editors.editorHeight = yt(e), setTimeout(() => {
978
- e.lineHeight = e.editors.left.ace.renderer.lineHeight, Ct(e), Tt(e), Re(e), e.diff();
991
+ }, t.editors.left.ace.getSession().setMode(vt(t, L.EDITOR_LEFT)), t.editors.right.ace.getSession().setMode(vt(t, L.EDITOR_RIGHT)), t.editors.left.ace.setReadOnly(!t.options.left.editable), t.editors.right.ace.setReadOnly(!t.options.right.editable), t.editors.left.ace.setShowFoldWidgets(!1), t.editors.right.ace.setShowFoldWidgets(!1), t.editors.left.ace.setTheme(Ct(t, L.EDITOR_LEFT)), t.editors.right.ace.setTheme(Ct(t, L.EDITOR_RIGHT)), t.editors.left.ace.setValue(_t(t.options.left.content), -1), t.editors.right.ace.setValue(_t(t.options.right.content), -1), t.editors.editorHeight = $e(t), setTimeout(() => {
992
+ t.lineHeight = t.editors.left.ace.renderer.lineHeight, De(t), Oe(t), Mt(t), t.diff();
979
993
  }, 1);
980
994
  }
981
- K.prototype = {
995
+ z.prototype = {
982
996
  // allows on-the-fly changes to the AceDiff instance settings
983
- setOptions(t) {
984
- oe(this.options, t), this.diff();
997
+ setOptions(e) {
998
+ st(this.options, e), this.diff();
985
999
  },
986
1000
  getNumDiffs() {
987
1001
  return this.diffs.length;
@@ -996,222 +1010,287 @@ K.prototype = {
996
1010
  // our main diffing function. I actually don't think this needs to exposed:
997
1011
  // it's called automatically, but just to be safe, it's included
998
1012
  diff() {
999
- const t = this.editors.left.ace.getSession().getValue(), e = this.editors.right.ace.getSession().getValue(), n = Ie(ht(e, t));
1000
- this.editors.left.lineLengths = Ee(this.editors.left), this.editors.right.lineLengths = Ee(this.editors.right);
1001
- const o = [], i = {
1013
+ const e = this.editors.left.ace.getSession().getValue(), t = this.editors.right.ace.getSession().getValue(), n = Ot(me(t, e));
1014
+ this.editors.left.lineLengths = yt(this.editors.left), this.editors.right.lineLengths = yt(this.editors.right);
1015
+ const r = [], i = {
1002
1016
  left: 0,
1003
1017
  right: 0
1004
1018
  };
1005
- n.forEach((l) => {
1006
- const r = l[0];
1007
- let s = l[1];
1008
- s.length !== 0 && (r === y.DIFF_EQUAL ? (i.left += s.length, i.right += s.length) : r === y.DIFF_DELETE ? (o.push($e(this, y.DIFF_DELETE, i.left, i.right, s)), i.right += s.length) : r === y.DIFF_INSERT && (o.push($e(this, y.DIFF_INSERT, i.left, i.right, s)), i.left += s.length));
1009
- }, this), this.diffs = It(this, o), !(this.diffs.length > this.options.maxDiffs) && (Me(this), Ve(this));
1019
+ n.forEach((s) => {
1020
+ const o = s[0];
1021
+ let l = s[1];
1022
+ l.length !== 0 && (o === L.DIFF_EQUAL ? (i.left += l.length, i.right += l.length) : o === L.DIFF_DELETE ? (r.push(Tt(this, L.DIFF_DELETE, i.left, i.right, l)), i.right += l.length) : o === L.DIFF_INSERT && (r.push(Tt(this, L.DIFF_INSERT, i.left, i.right, l)), i.left += l.length));
1023
+ }, this), this.diffs = Me(this, r), !(this.diffs.length > this.options.maxDiffs) && (nt(this), At(this), typeof this.options.onDiffReady == "function" && this.options.onDiffReady(this.diffs));
1024
+ },
1025
+ clear() {
1026
+ nt(this), Vt(this), Rt(this);
1010
1027
  },
1011
1028
  destroy() {
1012
- const t = this.editors.left.ace.getValue();
1029
+ const e = this.editors.left.ace.getValue();
1013
1030
  this.editors.left.ace.destroy();
1014
- let e = this.editors.left.ace.container, n = e.cloneNode(!1);
1015
- n.textContent = t, e.parentNode.replaceChild(n, e);
1016
- const o = this.editors.right.ace.getValue();
1017
- this.editors.right.ace.destroy(), e = this.editors.right.ace.container, n = e.cloneNode(!1), n.textContent = o, e.parentNode.replaceChild(n, e);
1031
+ let t = this.editors.left.ace.container, n = t.cloneNode(!1);
1032
+ n.textContent = e, t.parentNode.replaceChild(n, t);
1033
+ const r = this.editors.right.ace.getValue();
1034
+ this.editors.right.ace.destroy(), t = this.editors.right.ace.container, n = t.cloneNode(!1), n.textContent = r, t.parentNode.replaceChild(n, t);
1018
1035
  const i = document.getElementById(this.options.classes.gutterID);
1019
1036
  i && (i.innerHTML = ""), this.removeEventHandlers();
1020
1037
  }
1021
1038
  };
1022
- function Ct(t) {
1023
- t.editors.left.ace.getSession().on("changeScrollTop", fe(() => {
1024
- we(t);
1025
- }, 16)), t.editors.right.ace.getSession().on("changeScrollTop", fe(() => {
1026
- we(t);
1039
+ function De(e) {
1040
+ let t = !1;
1041
+ function n(s, o) {
1042
+ if (!e.options.lockScrolling || t) return;
1043
+ const l = s.ace.getSession(), a = o.ace.getSession(), c = l.getScrollTop(), d = l.getLength() * e.lineHeight, g = s.ace.renderer.$size.scrollerHeight, m = Math.max(0, d - g), b = m > 0 ? c / m : 0, E = a.getLength() * e.lineHeight, v = o.ace.renderer.$size.scrollerHeight, $ = Math.max(0, E - v), _ = b * $;
1044
+ t = !0, a.setScrollTop(_), t = !1;
1045
+ }
1046
+ e.editors.left.ace.getSession().on("changeScrollTop", mt(() => {
1047
+ n(e.editors.left, e.editors.right), $t(e);
1048
+ }, 16)), e.editors.right.ace.getSession().on("changeScrollTop", mt(() => {
1049
+ n(e.editors.right, e.editors.left), $t(e);
1027
1050
  }, 16));
1028
- const e = t.diff.bind(t);
1029
- t.editors.left.ace.on("change", e), t.editors.right.ace.on("change", e), t.options.left.copyLinkEnabled && Le(`#${t.options.classes.gutterID}`, "click", `.${t.options.classes.newCodeConnectorLink}`, (o) => {
1030
- ye(t, o, y.LTR);
1031
- }), t.options.right.copyLinkEnabled && Le(`#${t.options.classes.gutterID}`, "click", `.${t.options.classes.deletedCodeConnectorLink}`, (o) => {
1032
- ye(t, o, y.RTL);
1051
+ const r = e.diff.bind(e);
1052
+ e.editors.left.ace.on("change", r), e.editors.right.ace.on("change", r), e.options.left.copyLinkEnabled && Lt(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.newCodeConnectorLink}`, (s) => {
1053
+ St(e, s, L.LTR);
1054
+ }), e.options.right.copyLinkEnabled && Lt(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.deletedCodeConnectorLink}`, (s) => {
1055
+ St(e, s, L.RTL);
1033
1056
  });
1034
- const n = Lt(() => {
1035
- t.editors.availableHeight = document.getElementById(t.options.left.id).offsetHeight, t.diff();
1057
+ const i = ye(() => {
1058
+ e.editors.availableHeight = document.getElementById(e.options.left.id).offsetHeight, e.diff();
1036
1059
  }, 250);
1037
- window.addEventListener("resize", n), t.removeEventHandlers = () => {
1038
- window.removeEventListener("resize", n);
1060
+ window.addEventListener("resize", i), e.removeEventHandlers = () => {
1061
+ window.removeEventListener("resize", i);
1039
1062
  };
1040
1063
  }
1041
- function ye(t, e, n) {
1042
- const o = parseInt(e.target.getAttribute("data-diff-index"), 10), i = t.diffs[o];
1043
- let l, r, s, a, c, u;
1044
- n === y.LTR ? (l = t.editors.left, r = t.editors.right, s = i.leftStartLine, a = i.leftEndLine, c = i.rightStartLine, u = i.rightEndLine) : (l = t.editors.right, r = t.editors.left, s = i.rightStartLine, a = i.rightEndLine, c = i.leftStartLine, u = i.leftEndLine);
1045
- let d = "";
1046
- for (let m = s; m < a; m += 1)
1047
- d += ke(l, m), m < l.ace.getSession().getLength() - 1 && (d += `
1048
- `);
1049
- const h = r.ace.getSession().getScrollTop();
1050
- r.ace.getSession().replace(new z(c, 0, u, 0), d), r.ace.getSession().setScrollTop(parseInt(h, 10)), t.diff();
1051
- }
1052
- function Ee(t) {
1053
- const e = t.ace.getSession().doc.getAllLines(), n = [];
1054
- return e.forEach((o) => {
1055
- n.push(o.length + 1);
1064
+ function St(e, t, n) {
1065
+ const r = parseInt(t.target.getAttribute("data-diff-index"), 10), i = e.diffs[r];
1066
+ let s, o, l, a, c, u;
1067
+ n === L.LTR ? (s = e.editors.left, o = e.editors.right, l = i.leftStartOffset, a = i.leftEndOffset, c = i.rightStartOffset, u = i.rightEndOffset) : (s = e.editors.right, o = e.editors.left, l = i.rightStartOffset, a = i.rightEndOffset, c = i.leftStartOffset, u = i.leftEndOffset);
1068
+ const g = s.ace.getValue().substring(l, a), m = o.ace.getSession().doc, b = m.indexToPosition(c), D = m.indexToPosition(u), E = o.ace.getSession().getScrollTop();
1069
+ o.ace.getSession().replace(new U(b.row, b.column, D.row, D.column), g), o.ace.getSession().setScrollTop(parseInt(E, 10)), e.diff();
1070
+ }
1071
+ function yt(e) {
1072
+ const t = e.ace.getSession().doc.getAllLines(), n = [];
1073
+ return t.forEach((r) => {
1074
+ n.push(r.length + 1);
1056
1075
  }), n;
1057
1076
  }
1058
- function Ce(t, e, n, o, i) {
1059
- const l = t.editors[e];
1060
- o < n && (o = n);
1061
- const r = `${i} ${o > n ? "lines" : "targetOnly"}`;
1062
- o > n && (o -= 1), l.markers.push(l.ace.session.addMarker(new z(n, 0, o, 1), r, "fullLine"));
1063
- }
1064
- function we(t) {
1065
- Me(t), Ve(t), St(t);
1066
- }
1067
- function Me(t) {
1068
- t.editors.left.markers.forEach((e) => {
1069
- t.editors.left.ace.getSession().removeMarker(e);
1070
- }, t), t.editors.right.markers.forEach((e) => {
1071
- t.editors.right.ace.getSession().removeMarker(e);
1072
- }, t);
1073
- }
1074
- function wt(t, e, n, o, i) {
1075
- const l = t.editors.left.ace.getSession().getScrollTop(), r = t.editors.right.ace.getSession().getScrollTop();
1076
- t.connectorYOffset = 1;
1077
- const s = -1, a = e * t.lineHeight - l + 0.5, c = t.gutterWidth + 1, u = o * t.lineHeight - r + 0.5, d = -1, h = n * t.lineHeight - l + t.connectorYOffset + 0.5, m = t.gutterWidth + 1, v = i * t.lineHeight - r + t.connectorYOffset + 0.5, x = me(s, a, c, u), C = me(m, v, d, h), _ = `L${c},${u} ${m},${v}`, S = `L${d},${h} ${s},${a}`, b = `${x} ${_} ${C} ${S}`, E = document.createElementNS(y.SVG_NS, "path");
1078
- E.setAttribute("d", b), E.setAttribute("class", t.options.classes.connector), t.gutterSVG.appendChild(E);
1079
- }
1080
- function $t(t, e, n) {
1081
- if (e.leftEndLine > e.leftStartLine && t.options.left.copyLinkEnabled) {
1082
- const o = ve({
1083
- className: t.options.classes.newCodeConnectorLink,
1084
- topOffset: e.leftStartLine * t.lineHeight,
1077
+ function wt(e, t, n, r, i, s) {
1078
+ const o = e.editors[t];
1079
+ r < n && (r = n);
1080
+ const l = `${s} ${r > n ? "lines" : "targetOnly"} ${t}`;
1081
+ let a = r;
1082
+ if (a > n && (a -= 1), o.markers.push(o.ace.session.addMarker(new U(n, 0, a, 1), l, "fullLine")), e.options.charDiffs && i && i.length > 0) {
1083
+ const u = `${e.options.classes.diffChar} ${t}`;
1084
+ i.forEach((d) => {
1085
+ o.markers.push(o.ace.session.addMarker(new U(d.lineStart, d.start, d.lineEnd - 1, d.end), u, "text"));
1086
+ });
1087
+ }
1088
+ const c = `${e.options.classes.diffGutter} ${t}`;
1089
+ for (let u = n; u < r; u += 1)
1090
+ o.ace.session.addGutterDecoration(u, c), o.diffGutters.push({
1091
+ line: u,
1092
+ className: c
1093
+ });
1094
+ }
1095
+ function $t(e) {
1096
+ nt(e), At(e), Ie(e);
1097
+ }
1098
+ function nt(e) {
1099
+ e.editors.left.markers.forEach((t) => {
1100
+ e.editors.left.ace.getSession().removeMarker(t);
1101
+ }, e), e.editors.right.markers.forEach((t) => {
1102
+ e.editors.right.ace.getSession().removeMarker(t);
1103
+ }, e), e.editors.left.markers = [], e.editors.right.markers = [], e.editors.left.diffGutters.forEach((t) => {
1104
+ e.editors.left.ace.session.removeGutterDecoration(t.line, t.className);
1105
+ }, e), e.editors.right.diffGutters.forEach((t) => {
1106
+ e.editors.right.ace.session.removeGutterDecoration(t.line, t.className);
1107
+ }, e), e.editors.left.diffGutters = [], e.editors.right.diffGutters = [];
1108
+ }
1109
+ function xe(e, t, n, r, i) {
1110
+ const s = e.editors.left.ace.getSession().getScrollTop(), o = e.editors.right.ace.getSession().getScrollTop();
1111
+ e.connectorYOffset = 1;
1112
+ const l = -1, a = t * e.lineHeight - s + 0.5, c = e.gutterWidth + 1, u = r * e.lineHeight - o + 0.5, d = -1, g = n * e.lineHeight - s + e.connectorYOffset + 0.5, m = e.gutterWidth + 1, b = i * e.lineHeight - o + e.connectorYOffset + 0.5, D = bt(l, a, c, u), E = bt(m, b, d, g), v = `L${c},${u} ${m},${b}`, $ = `L${d},${g} ${l},${a}`, _ = `${D} ${v} ${E} ${$}`, y = document.createElementNS(L.SVG_NS, "path");
1113
+ y.setAttribute("d", _), y.setAttribute("class", e.options.classes.connector), e.gutterSVG.appendChild(y);
1114
+ }
1115
+ function ke(e, t, n) {
1116
+ if (t.leftEndLine > t.leftStartLine && e.options.left.copyLinkEnabled) {
1117
+ const r = Et({
1118
+ className: e.options.classes.newCodeConnectorLink,
1119
+ topOffset: t.leftStartLine * e.lineHeight,
1085
1120
  tooltip: "Copy to right",
1086
1121
  diffIndex: n,
1087
- arrowContent: t.options.classes.newCodeConnectorLinkContent
1122
+ arrowContent: e.options.classes.newCodeConnectorLinkContent
1088
1123
  });
1089
- t.copyRightContainer.appendChild(o);
1124
+ e.copyRightContainer.appendChild(r);
1090
1125
  }
1091
- if (e.rightEndLine > e.rightStartLine && t.options.right.copyLinkEnabled) {
1092
- const o = ve({
1093
- className: t.options.classes.deletedCodeConnectorLink,
1094
- topOffset: e.rightStartLine * t.lineHeight,
1126
+ if (t.rightEndLine > t.rightStartLine && e.options.right.copyLinkEnabled) {
1127
+ const r = Et({
1128
+ className: e.options.classes.deletedCodeConnectorLink,
1129
+ topOffset: t.rightStartLine * e.lineHeight,
1095
1130
  tooltip: "Copy to left",
1096
1131
  diffIndex: n,
1097
- arrowContent: t.options.classes.deletedCodeConnectorLinkContent
1132
+ arrowContent: e.options.classes.deletedCodeConnectorLinkContent
1098
1133
  });
1099
- t.copyLeftContainer.appendChild(o);
1134
+ e.copyLeftContainer.appendChild(r);
1100
1135
  }
1101
1136
  }
1102
- function St(t) {
1103
- const e = t.editors.left.ace.getSession().getScrollTop(), n = t.editors.right.ace.getSession().getScrollTop();
1104
- t.copyRightContainer.style.cssText = `top: ${-e}px`, t.copyLeftContainer.style.cssText = `top: ${-n}px`;
1137
+ function Ie(e) {
1138
+ const t = e.editors.left.ace.getSession().getScrollTop(), n = e.editors.right.ace.getSession().getScrollTop();
1139
+ e.copyRightContainer.style.cssText = `top: ${-t}px`, e.copyLeftContainer.style.cssText = `top: ${-n}px`;
1105
1140
  }
1106
- function $e(t, e, n, o, i) {
1107
- let l = {};
1108
- if (e === y.DIFF_INSERT) {
1109
- let r = Se(t.editors.left, n, i), s = Te(t.editors.right, o), a = H(t.editors.right, s);
1110
- const c = H(t.editors.left, r.startLine);
1111
- let u = s, d = r.startLine === r.endLine, h = 0;
1141
+ function Tt(e, t, n, r, i) {
1142
+ let s = {};
1143
+ if (t === L.DIFF_INSERT) {
1144
+ let o = Dt(e.editors.left, n, i), l = xt(e.editors.right, r), a = G(e.editors.right, l);
1145
+ const c = G(e.editors.left, o.startLine);
1146
+ let u = l, d = o.startLine === o.endLine, g = 0;
1112
1147
  // dense, but this accommodates two scenarios:
1113
1148
  // 1. where a completely fresh new line is being inserted in left editor, we want the line on right to stay a 1px line
1114
1149
  // 2. where a new character is inserted at the start of a newline on the left but the line contains other stuff,
1115
1150
  // we DO want to make it a full line
1116
- (r.startChar > 0 || d && i.length < c) && // if the right editor line was empty, it's ALWAYS a single line insert [not an OR above?]
1151
+ (o.startChar > 0 || d && i.length < c) && // if the right editor line was empty, it's ALWAYS a single line insert [not an OR above?]
1117
1152
  a > 0 && // if the text being inserted starts mid-line
1118
- r.startChar < c && h++, l = {
1119
- leftStartLine: r.startLine,
1120
- leftEndLine: r.endLine + 1,
1153
+ o.startChar < c && g++, s = {
1154
+ leftStartLine: o.startLine,
1155
+ leftEndLine: o.endLine + 1,
1121
1156
  rightStartLine: u,
1122
- rightEndLine: u + h
1157
+ rightEndLine: u + g,
1158
+ // Store character offsets for precise copy operations
1159
+ leftStartOffset: n,
1160
+ leftEndOffset: n + i.length,
1161
+ rightStartOffset: r,
1162
+ rightEndOffset: r,
1163
+ // Store character positions for charDiffs highlighting
1164
+ leftStartChar: o.startChar,
1165
+ leftEndChar: o.endChar
1123
1166
  };
1124
1167
  } else {
1125
- let r = Se(t.editors.right, o, i), s = Te(t.editors.left, n), a = H(t.editors.left, s);
1126
- const c = H(t.editors.right, r.startLine);
1127
- let u = s, d = r.startLine === r.endLine, h = 0;
1168
+ let o = Dt(e.editors.right, r, i), l = xt(e.editors.left, n), a = G(e.editors.left, l);
1169
+ const c = G(e.editors.right, o.startLine);
1170
+ let u = l, d = o.startLine === o.endLine, g = 0;
1128
1171
  // dense, but this accommodates two scenarios:
1129
1172
  // 1. where a completely fresh new line is being inserted in left editor, we want the line on right to stay a 1px line
1130
1173
  // 2. where a new character is inserted at the start of a newline on the left but the line contains other stuff,
1131
1174
  // we DO want to make it a full line
1132
- (r.startChar > 0 || d && i.length < c) && // if the right editor line was empty, it's ALWAYS a single line insert [not an OR above?]
1175
+ (o.startChar > 0 || d && i.length < c) && // if the right editor line was empty, it's ALWAYS a single line insert [not an OR above?]
1133
1176
  a > 0 && // if the text being inserted starts mid-line
1134
- r.startChar < c && h++, l = {
1177
+ o.startChar < c && g++, s = {
1135
1178
  leftStartLine: u,
1136
- leftEndLine: u + h,
1137
- rightStartLine: r.startLine,
1138
- rightEndLine: r.endLine + 1
1179
+ leftEndLine: u + g,
1180
+ rightStartLine: o.startLine,
1181
+ rightEndLine: o.endLine + 1,
1182
+ // Store character offsets for precise copy operations
1183
+ leftStartOffset: n,
1184
+ leftEndOffset: n,
1185
+ rightStartOffset: r,
1186
+ rightEndOffset: r + i.length,
1187
+ // Store character positions for charDiffs highlighting
1188
+ rightStartChar: o.startChar,
1189
+ rightEndChar: o.endChar
1139
1190
  };
1140
1191
  }
1141
- return l;
1192
+ return s;
1142
1193
  }
1143
- function Se(t, e, n) {
1144
- const o = {
1194
+ function Dt(e, t, n) {
1195
+ const r = {
1145
1196
  startLine: 0,
1146
1197
  startChar: 0,
1147
1198
  endLine: 0,
1148
1199
  endChar: 0
1149
- }, i = e + n.length;
1150
- let l = 0, r = !1, s = !1;
1151
- t.lineLengths.forEach((c, u) => {
1152
- l += c, !r && e < l && (o.startLine = u, o.startChar = e - l + c, r = !0), !s && i <= l && (o.endLine = u, o.endChar = i - l + c, s = !0);
1153
- }), o.startChar > 0 && H(t, o.startLine) === o.startChar && (o.startLine++, o.startChar = 0), o.endChar === 0 && o.endLine--;
1200
+ }, i = t + n.length;
1201
+ let s = 0, o = !1, l = !1;
1202
+ e.lineLengths.forEach((c, u) => {
1203
+ s += c, !o && t < s && (r.startLine = u, r.startChar = t - s + c, o = !0), !l && i <= s && (r.endLine = u, r.endChar = i - s + c, l = !0);
1204
+ }), r.startChar > 0 && G(e, r.startLine) === r.startChar && (r.startLine++, r.startChar = 0), r.endChar === 0 && r.endLine--;
1154
1205
  const a = /\n$/.test(n);
1155
- return o.startChar > 0 && a && o.endLine++, o;
1206
+ return r.startChar > 0 && a && r.endLine++, r;
1156
1207
  }
1157
- function H(t, e) {
1158
- return ke(t, e).length;
1208
+ function G(e, t) {
1209
+ return we(e, t).length;
1159
1210
  }
1160
- function Te(t, e) {
1161
- const n = t.ace.getSession().doc.getAllLines();
1162
- let o = 0, i = 0;
1163
- for (let l = 0; l < n.length; l += 1)
1164
- if (i += n[l].length + 1, e <= i) {
1165
- o = l, e === i && l < n.length - 1 && (o += 1);
1211
+ function xt(e, t) {
1212
+ const n = e.ace.getSession().doc.getAllLines();
1213
+ let r = 0, i = 0;
1214
+ for (let s = 0; s < n.length; s += 1)
1215
+ if (i += n[s].length + 1, t <= i) {
1216
+ r = s, t === i && s < n.length - 1 && (r += 1);
1166
1217
  break;
1167
1218
  }
1168
- return i >= t.ace.getSession().getValue().length && (o += 1), o;
1219
+ return i >= e.ace.getSession().getValue().length && (r += 1), r;
1169
1220
  }
1170
- function Re(t) {
1171
- t.gutterHeight = document.getElementById(t.options.classes.gutterID).clientHeight, t.gutterWidth = document.getElementById(t.options.classes.gutterID).clientWidth;
1172
- const e = De(t, y.EDITOR_LEFT), n = De(t, y.EDITOR_RIGHT), o = Math.max(e, n, t.gutterHeight);
1173
- t.gutterSVG = document.createElementNS(y.SVG_NS, "svg"), t.gutterSVG.setAttribute("width", t.gutterWidth), t.gutterSVG.setAttribute("height", o), document.getElementById(t.options.classes.gutterID).appendChild(t.gutterSVG);
1221
+ function Mt(e) {
1222
+ e.gutterHeight = document.getElementById(e.options.classes.gutterID).clientHeight, e.gutterWidth = document.getElementById(e.options.classes.gutterID).clientWidth;
1223
+ const t = kt(e, L.EDITOR_LEFT), n = kt(e, L.EDITOR_RIGHT), r = Math.max(t, n, e.gutterHeight);
1224
+ e.gutterSVG = document.createElementNS(L.SVG_NS, "svg"), e.gutterSVG.setAttribute("width", e.gutterWidth), e.gutterSVG.setAttribute("height", r), document.getElementById(e.options.classes.gutterID).appendChild(e.gutterSVG);
1174
1225
  }
1175
- function De(t, e) {
1176
- return (e === y.EDITOR_LEFT ? t.editors.left : t.editors.right).ace.getSession().getLength() * t.lineHeight;
1226
+ function kt(e, t) {
1227
+ return (t === L.EDITOR_LEFT ? e.editors.left : e.editors.right).ace.getSession().getLength() * e.lineHeight;
1177
1228
  }
1178
- function Tt(t) {
1179
- t.copyRightContainer = document.createElement("div"), t.copyRightContainer.setAttribute("class", t.options.classes.copyRightContainer), t.copyLeftContainer = document.createElement("div"), t.copyLeftContainer.setAttribute("class", t.options.classes.copyLeftContainer), document.getElementById(t.options.classes.gutterID).appendChild(t.copyRightContainer), document.getElementById(t.options.classes.gutterID).appendChild(t.copyLeftContainer);
1229
+ function Oe(e) {
1230
+ e.copyRightContainer = document.createElement("div"), e.copyRightContainer.setAttribute("class", e.options.classes.copyRightContainer), e.copyLeftContainer = document.createElement("div"), e.copyLeftContainer.setAttribute("class", e.options.classes.copyLeftContainer), document.getElementById(e.options.classes.gutterID).appendChild(e.copyRightContainer), document.getElementById(e.options.classes.gutterID).appendChild(e.copyLeftContainer);
1180
1231
  }
1181
- function Dt(t) {
1182
- document.getElementById(t.options.classes.gutterID).removeChild(t.gutterSVG), Re(t);
1232
+ function Vt(e) {
1233
+ const t = document.getElementById(e.options.classes.gutterID);
1234
+ e.gutterSVG && t.removeChild(e.gutterSVG), Mt(e);
1183
1235
  }
1184
- function xt(t) {
1185
- t.copyLeftContainer.innerHTML = "", t.copyRightContainer.innerHTML = "";
1236
+ function Rt(e) {
1237
+ e.copyLeftContainer && (e.copyLeftContainer.innerHTML = ""), e.copyRightContainer && (e.copyRightContainer.innerHTML = "");
1186
1238
  }
1187
- function It(t, e) {
1239
+ function Me(e, t) {
1188
1240
  const n = [];
1189
- function o(l) {
1190
- return t.options.diffGranularity === y.DIFF_GRANULARITY_SPECIFIC ? l < 1 : l <= 1;
1241
+ function r(o) {
1242
+ return e.options.diffGranularity === L.DIFF_GRANULARITY_SPECIFIC ? o < 1 : o <= 1;
1191
1243
  }
1192
- e.forEach((l, r) => {
1193
- if (r === 0) {
1194
- n.push(l);
1244
+ function i(o) {
1245
+ const l = Object.assign({}, o, {
1246
+ leftChars: [],
1247
+ rightChars: []
1248
+ });
1249
+ return o.leftEndChar !== void 0 && l.leftChars.push({
1250
+ start: o.leftStartChar,
1251
+ end: o.leftEndChar,
1252
+ lineStart: o.leftStartLine,
1253
+ lineEnd: o.leftEndLine
1254
+ }), o.rightEndChar !== void 0 && l.rightChars.push({
1255
+ start: o.rightStartChar,
1256
+ end: o.rightEndChar,
1257
+ lineStart: o.rightStartLine,
1258
+ lineEnd: o.rightEndLine
1259
+ }), l;
1260
+ }
1261
+ t.forEach((o, l) => {
1262
+ if (l === 0) {
1263
+ n.push(i(o));
1195
1264
  return;
1196
1265
  }
1197
- let s = !1;
1198
- for (let a = 0; a < n.length; a += 1) if (o(Math.abs(l.leftStartLine - n[a].leftEndLine)) && o(Math.abs(l.rightStartLine - n[a].rightEndLine))) {
1199
- n[a].leftStartLine = Math.min(l.leftStartLine, n[a].leftStartLine), n[a].rightStartLine = Math.min(l.rightStartLine, n[a].rightStartLine), n[a].leftEndLine = Math.max(l.leftEndLine, n[a].leftEndLine), n[a].rightEndLine = Math.max(l.rightEndLine, n[a].rightEndLine), s = !0;
1266
+ let a = !1;
1267
+ for (let c = 0; c < n.length; c += 1) if (r(Math.abs(o.leftStartLine - n[c].leftEndLine)) && r(Math.abs(o.rightStartLine - n[c].rightEndLine))) {
1268
+ n[c].leftStartLine = Math.min(o.leftStartLine, n[c].leftStartLine), n[c].rightStartLine = Math.min(o.rightStartLine, n[c].rightStartLine), n[c].leftEndLine = Math.max(o.leftEndLine, n[c].leftEndLine), n[c].rightEndLine = Math.max(o.rightEndLine, n[c].rightEndLine), n[c].leftStartOffset = Math.min(o.leftStartOffset, n[c].leftStartOffset), n[c].leftEndOffset = Math.max(o.leftEndOffset, n[c].leftEndOffset), n[c].rightStartOffset = Math.min(o.rightStartOffset, n[c].rightStartOffset), n[c].rightEndOffset = Math.max(o.rightEndOffset, n[c].rightEndOffset), o.leftEndChar !== void 0 && n[c].leftChars.push({
1269
+ start: o.leftStartChar,
1270
+ end: o.leftEndChar,
1271
+ lineStart: o.leftStartLine,
1272
+ lineEnd: o.leftEndLine
1273
+ }), o.rightEndChar !== void 0 && n[c].rightChars.push({
1274
+ start: o.rightStartChar,
1275
+ end: o.rightEndChar,
1276
+ lineStart: o.rightStartLine,
1277
+ lineEnd: o.rightEndLine
1278
+ }), a = !0;
1200
1279
  break;
1201
1280
  }
1202
- s || n.push(l);
1281
+ a || n.push(i(o));
1203
1282
  });
1204
- const i = [];
1205
- return n.forEach((l) => {
1206
- l.leftStartLine === l.leftEndLine && l.rightStartLine === l.rightEndLine || i.push(l);
1207
- }), i;
1283
+ const s = [];
1284
+ return n.forEach((o) => {
1285
+ o.leftStartLine === o.leftEndLine && o.rightStartLine === o.rightEndLine || s.push(o);
1286
+ }), s;
1208
1287
  }
1209
- function Ve(t) {
1210
- Dt(t), xt(t), t.diffs.forEach((e, n) => {
1211
- t.options.showDiffs && (Ce(t, y.EDITOR_LEFT, e.leftStartLine, e.leftEndLine, t.options.classes.diff), Ce(t, y.EDITOR_RIGHT, e.rightStartLine, e.rightEndLine, t.options.classes.diff), t.options.showConnectors && wt(t, e.leftStartLine, e.leftEndLine, e.rightStartLine, e.rightEndLine), $t(t, e, n));
1212
- }, t);
1288
+ function At(e) {
1289
+ Vt(e), Rt(e), e.diffs.forEach((t, n) => {
1290
+ e.options.showDiffs && (wt(e, L.EDITOR_LEFT, t.leftStartLine, t.leftEndLine, t.leftChars, e.options.classes.diff), wt(e, L.EDITOR_RIGHT, t.rightStartLine, t.rightEndLine, t.rightChars, e.options.classes.diff), e.options.showConnectors && xe(e, t.leftStartLine, t.leftEndLine, t.rightStartLine, t.rightEndLine), ke(e, t, n));
1291
+ }, e);
1213
1292
  }
1214
- const kt = {
1293
+ const Ve = {
1215
1294
  props: {
1216
1295
  pluginName: {
1217
1296
  type: String,
@@ -1242,7 +1321,7 @@ const kt = {
1242
1321
  data() {
1243
1322
  return {
1244
1323
  tab: 0,
1245
- localVariables: [],
1324
+ localVariables: {},
1246
1325
  localPluginTxt: "",
1247
1326
  localExistingPluginTxt: null,
1248
1327
  editor: null,
@@ -1257,8 +1336,8 @@ const kt = {
1257
1336
  get() {
1258
1337
  return this.modelValue;
1259
1338
  },
1260
- set(t) {
1261
- this.$emit("update:modelValue", t);
1339
+ set(e) {
1340
+ this.$emit("update:modelValue", e);
1262
1341
  }
1263
1342
  }
1264
1343
  },
@@ -1266,15 +1345,19 @@ const kt = {
1266
1345
  value: {
1267
1346
  immediate: !0,
1268
1347
  handler: function() {
1269
- this.localVariables = JSON.parse(JSON.stringify(this.variables)), this.localPluginTxt = this.pluginTxt.slice(), this.existingPluginTxt !== null && (this.localExistingPluginTxt = this.existingPluginTxt.slice());
1348
+ const e = JSON.parse(JSON.stringify(this.variables));
1349
+ this.localVariables = {};
1350
+ for (const [t, n] of Object.entries(e))
1351
+ typeof n == "string" ? this.localVariables[t] = { value: n } : this.localVariables[t] = n;
1352
+ this.localPluginTxt = this.pluginTxt.slice(), this.existingPluginTxt !== null && (this.localExistingPluginTxt = this.existingPluginTxt.slice());
1270
1353
  }
1271
1354
  }
1272
1355
  },
1273
1356
  mounted() {
1274
- const t = this.buildPluginMode();
1275
- this.existingPluginTxt === null ? (this.editor = N.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new t()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.localPluginTxt), this.editor.clearSelection(), q.applyVimModeIfEnabled(this.editor), this.editor.focus()) : (this.tab = 1, this.differ = new K({
1357
+ const e = this.buildPluginMode();
1358
+ this.existingPluginTxt === null ? (this.editor = N.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new e()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.localPluginTxt), this.editor.clearSelection(), q.applyVimModeIfEnabled(this.editor), this.editor.focus()) : (this.tab = 1, this.differ = new z({
1276
1359
  element: this.$refs.editor,
1277
- mode: new t(),
1360
+ mode: new e(),
1278
1361
  theme: "ace/theme/twilight",
1279
1362
  left: {
1280
1363
  content: this.localExistingPluginTxt,
@@ -1298,29 +1381,29 @@ const kt = {
1298
1381
  },
1299
1382
  scrollToCurDiff() {
1300
1383
  if (this.differ.diffs.length === 0) return;
1301
- let t = this.differ.diffs[this.curDiff].leftStartLine, e = this.differ.diffs[this.curDiff].rightStartLine;
1302
- t > 5 && (t -= 5), e > 5 && (e -= 5), this.differ.getEditors().left.scrollToLine(t), this.differ.getEditors().right.scrollToLine(e);
1384
+ let e = this.differ.diffs[this.curDiff].leftStartLine, t = this.differ.diffs[this.curDiff].rightStartLine;
1385
+ e > 5 && (e -= 5), t > 5 && (t -= 5), this.differ.getEditors().left.scrollToLine(e), this.differ.getEditors().right.scrollToLine(t);
1303
1386
  },
1304
1387
  buildPluginMode() {
1305
- let t = N.require("ace/lib/oop"), e = N.require(
1388
+ let e = N.require("ace/lib/oop"), t = N.require(
1306
1389
  "ace/mode/ruby_highlight_rules"
1307
- ).RubyHighlightRules, n = ["VARIABLE"], o = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), i = function() {
1308
- e.call(this);
1390
+ ).RubyHighlightRules, n = ["VARIABLE", "VARIABLE_DESCRIPTION", "VARIABLE_STATE"], r = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), i = function() {
1391
+ t.call(this);
1309
1392
  for (let u in this.$rules)
1310
1393
  this.$rules[u].unshift({
1311
- regex: o,
1394
+ regex: r,
1312
1395
  token: "support.function"
1313
1396
  });
1314
1397
  };
1315
- t.inherits(i, e);
1316
- let l = N.require(
1398
+ e.inherits(i, t);
1399
+ let s = N.require(
1317
1400
  "ace/mode/matching_brace_outdent"
1318
- ).MatchingBraceOutdent, r = N.require(
1401
+ ).MatchingBraceOutdent, o = N.require(
1319
1402
  "ace/mode/behaviour/cstyle"
1320
- ).CstyleBehaviour, s = N.require("ace/mode/folding/ruby").FoldMode, a = function() {
1321
- this.HighlightRules = i, this.$outdent = new l(), this.$behaviour = new r(), this.foldingRules = new s(), this.indentKeywords = this.foldingRules.indentKeywords;
1403
+ ).CstyleBehaviour, l = N.require("ace/mode/folding/ruby").FoldMode, a = function() {
1404
+ this.HighlightRules = i, this.$outdent = new s(), this.$behaviour = new o(), this.foldingRules = new l(), this.indentKeywords = this.foldingRules.indentKeywords;
1322
1405
  }, c = N.require("ace/mode/ruby").Mode;
1323
- return t.inherits(a, c), (function() {
1406
+ return e.inherits(a, c), (function() {
1324
1407
  this.$id = "ace/mode/openc3";
1325
1408
  }).call(a.prototype), a;
1326
1409
  },
@@ -1333,156 +1416,193 @@ const kt = {
1333
1416
  okText: "Install",
1334
1417
  cancelText: "Cancel"
1335
1418
  }
1336
- ).then((t) => {
1419
+ ).then((e) => {
1337
1420
  this.emitSubmit(
1338
1421
  this.differ.getEditors().left.getValue().split(`
1339
1422
  `)
1340
1423
  );
1341
- }).catch((t) => {
1424
+ }).catch((e) => {
1342
1425
  });
1343
1426
  },
1344
- emitSubmit(t) {
1345
- let e = {
1427
+ emitSubmit(e) {
1428
+ let t = {
1346
1429
  name: this.pluginName,
1347
- variables: He(this.localVariables),
1348
- plugin_txt_lines: t,
1430
+ variables: Ut(this.localVariables),
1431
+ plugin_txt_lines: e,
1349
1432
  store_id: this.storeId
1350
1433
  };
1351
- this.$emit("callback", e);
1434
+ this.$emit("callback", t);
1352
1435
  },
1353
1436
  close: function() {
1354
1437
  this.show = !this.show;
1355
1438
  },
1356
- showContextMenu: function(t) {
1357
- this.menuX = t.pageX, this.menuY = t.pageY;
1358
- let e = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(e.row, e.column);
1439
+ showContextMenu: function(e) {
1440
+ this.menuX = e.pageX, this.menuY = e.pageY;
1441
+ let t = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(t.row, t.column);
1359
1442
  if (n) {
1360
- let o = n.value.trim();
1361
- o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
1443
+ let r = n.value.trim();
1444
+ r.includes(" ") ? this.docsKeyword = r.split(" ")[0] : this.docsKeyword = r, this.contextMenu = !0;
1362
1445
  }
1363
1446
  },
1364
1447
  toggleVimMode: function() {
1365
1448
  this.editor && q.toggleVimMode(this.editor);
1449
+ },
1450
+ // Helper methods for variable display
1451
+ hasOptions(e) {
1452
+ return e.options && e.options.length > 0;
1453
+ },
1454
+ getDescription(e) {
1455
+ return e.description || "";
1456
+ },
1457
+ getOptionItems(e) {
1458
+ return e.options ? e.options.map((t) => ({
1459
+ text: t.text || t.value,
1460
+ value: t.value
1461
+ })) : [];
1366
1462
  }
1367
1463
  }
1368
- }, Mt = { style: { flex: "1" } }, Rt = { class: "pa-3" }, Vt = {
1464
+ }, Re = {
1465
+ key: 0,
1466
+ class: "text-body-1 text-medium-emphasis pa-3"
1467
+ }, Ae = {
1369
1468
  ref: "editor",
1370
1469
  class: "editor"
1371
- }, Ot = { key: 0 };
1372
- function At(t, e, n, o, i, l) {
1373
- const r = p("v-card-title"), s = p("v-icon"), a = p("v-row"), c = p("v-tab"), u = p("v-tabs"), d = p("v-text-field"), h = p("v-col"), m = p("v-window-item"), v = p("v-list-item-title"), x = p("v-list-item"), C = p("v-divider"), _ = p("v-list"), S = p("v-menu"), b = p("v-window"), E = p("v-btn"), I = p("v-spacer"), A = p("v-card-actions"), J = p("v-card-text"), Oe = p("v-card"), Ae = p("v-dialog");
1374
- return L(), T(Ae, {
1375
- modelValue: l.show,
1376
- "onUpdate:modelValue": e[5] || (e[5] = (M) => l.show = M),
1470
+ }, Ne = { key: 0 };
1471
+ function He(e, t, n, r, i, s) {
1472
+ const o = p("v-card-title"), l = p("v-alert"), a = p("v-tab"), c = p("v-tabs"), u = p("v-list-item"), d = p("v-combobox"), g = p("v-text-field"), m = p("v-col"), b = p("v-row"), D = p("v-window-item"), E = p("v-list-item-title"), v = p("v-divider"), $ = p("v-list"), _ = p("v-menu"), y = p("v-window"), k = p("v-btn"), A = p("v-spacer"), J = p("v-card-actions"), Nt = p("v-card-text"), Ht = p("v-card"), Ft = p("v-dialog");
1473
+ return C(), x(Ft, {
1474
+ modelValue: s.show,
1475
+ "onUpdate:modelValue": t[5] || (t[5] = (T) => s.show = T),
1377
1476
  persistent: "",
1378
1477
  width: "80vw",
1379
- onKeydown: xe(l.close, ["esc"])
1478
+ onKeydown: It(s.close, ["esc"])
1380
1479
  }, {
1381
- default: g(() => [
1382
- f(Oe, null, {
1383
- default: g(() => [
1384
- f(J, null, {
1385
- default: g(() => [
1386
- f(r, null, {
1387
- default: g(() => [
1388
- w(O(n.pluginName), 1)
1480
+ default: h(() => [
1481
+ f(Ht, null, {
1482
+ default: h(() => [
1483
+ f(o, null, {
1484
+ default: h(() => [
1485
+ S(V(n.pluginName), 1)
1486
+ ]),
1487
+ _: 1
1488
+ }),
1489
+ f(Nt, { class: "pt-0" }, {
1490
+ default: h(() => [
1491
+ n.existingPluginTxt !== null ? (C(), x(l, {
1492
+ key: 0,
1493
+ type: "warning",
1494
+ variant: "tonal",
1495
+ class: "mb-3"
1496
+ }, {
1497
+ default: h(() => [
1498
+ S(" The existing plugin.txt is different from the " + V(n.pluginName) + "'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update " + V(n.pluginName) + "'s plugin.txt going forward. ", 1)
1389
1499
  ]),
1390
1500
  _: 1
1391
- }),
1392
- n.existingPluginTxt !== null ? (L(), T(a, {
1393
- key: 0,
1394
- class: "notice d-flex flex-row"
1501
+ })) : et("", !0),
1502
+ f(c, {
1503
+ modelValue: i.tab,
1504
+ "onUpdate:modelValue": t[0] || (t[0] = (T) => i.tab = T),
1505
+ class: "mb-3"
1395
1506
  }, {
1396
- default: g(() => [
1397
- f(s, {
1398
- size: "x-large",
1399
- start: "",
1400
- color: "yellow"
1401
- }, {
1402
- default: g(() => [...e[6] || (e[6] = [
1403
- w(" mdi-alert-box ", -1)
1507
+ default: h(() => [
1508
+ (C(), x(a, { key: 0 }, {
1509
+ default: h(() => [...t[6] || (t[6] = [
1510
+ S(" Variables ", -1)
1404
1511
  ])]),
1405
1512
  _: 1
1406
- }),
1407
- R("div", Mt, " The existing plugin.txt is different from the " + O(n.pluginName) + "'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update " + O(n.pluginName) + "'s plugin.txt going forward. ", 1)
1408
- ]),
1409
- _: 1
1410
- })) : ee("", !0),
1411
- f(a, { class: "pb-3 pr-3" }, {
1412
- default: g(() => [
1413
- f(u, {
1414
- modelValue: i.tab,
1415
- "onUpdate:modelValue": e[0] || (e[0] = (M) => i.tab = M),
1416
- class: "ml-3"
1417
- }, {
1418
- default: g(() => [
1419
- (L(), T(c, { key: 0 }, {
1420
- default: g(() => [...e[7] || (e[7] = [
1421
- w(" Variables ", -1)
1422
- ])]),
1423
- _: 1
1424
- })),
1425
- (L(), T(c, { key: 1 }, {
1426
- default: g(() => [...e[8] || (e[8] = [
1427
- w(" plugin.txt ", -1)
1428
- ])]),
1429
- _: 1
1430
- }))
1431
- ]),
1513
+ })),
1514
+ (C(), x(a, { key: 1 }, {
1515
+ default: h(() => [...t[7] || (t[7] = [
1516
+ S(" plugin.txt ", -1)
1517
+ ])]),
1432
1518
  _: 1
1433
- }, 8, ["modelValue"])
1519
+ }))
1434
1520
  ]),
1435
1521
  _: 1
1436
- }),
1522
+ }, 8, ["modelValue"]),
1437
1523
  R("form", {
1438
- onSubmit: e[4] || (e[4] = X((...M) => t.onSubmit && t.onSubmit(...M), ["prevent"]))
1524
+ onSubmit: t[4] || (t[4] = Z((...T) => e.onSubmit && e.onSubmit(...T), ["prevent"]))
1439
1525
  }, [
1440
- f(b, {
1526
+ f(y, {
1441
1527
  modelValue: i.tab,
1442
- "onUpdate:modelValue": e[3] || (e[3] = (M) => i.tab = M)
1528
+ "onUpdate:modelValue": t[3] || (t[3] = (T) => i.tab = T)
1443
1529
  }, {
1444
- default: g(() => [
1445
- (L(), T(m, {
1446
- key: 0,
1530
+ default: h(() => [
1531
+ f(D, {
1532
+ value: 0,
1447
1533
  eager: "true",
1448
1534
  class: "tab"
1449
1535
  }, {
1450
- default: g(() => [
1451
- R("div", Rt, [
1452
- f(a, { class: "mt-3" }, {
1453
- default: g(() => [
1454
- (L(!0), V(P, null, G(i.localVariables, (M, B) => (L(), V("div", { key: B }, [
1455
- f(h, { style: { width: "220px" } }, {
1456
- default: g(() => [
1457
- f(d, {
1458
- modelValue: i.localVariables[B],
1459
- "onUpdate:modelValue": (Ne) => i.localVariables[B] = Ne,
1460
- clearable: "",
1461
- type: "text",
1462
- label: B
1463
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label"])
1536
+ default: h(() => [
1537
+ Object.keys(i.localVariables).length === 0 ? (C(), M("div", Re, " No variables defined for this plugin. ")) : (C(), x(b, {
1538
+ key: 1,
1539
+ class: "pt-2"
1540
+ }, {
1541
+ default: h(() => [
1542
+ (C(!0), M(P, null, B(i.localVariables, (T, X) => (C(), x(m, {
1543
+ key: X,
1544
+ cols: "12",
1545
+ sm: "6",
1546
+ md: "3"
1547
+ }, {
1548
+ default: h(() => [
1549
+ s.hasOptions(T) ? (C(), x(d, {
1550
+ key: 0,
1551
+ modelValue: T.value,
1552
+ "onUpdate:modelValue": (F) => T.value = F,
1553
+ items: s.getOptionItems(T),
1554
+ "item-title": "text",
1555
+ "item-value": "value",
1556
+ "return-object": !1,
1557
+ label: X,
1558
+ hint: s.getDescription(T),
1559
+ "persistent-hint": "",
1560
+ density: "comfortable",
1561
+ variant: "outlined",
1562
+ "data-test": "variable-combobox"
1563
+ }, {
1564
+ item: h(({ item: F, props: Gt }) => [
1565
+ f(u, Bt({ ref_for: !0 }, Gt), {
1566
+ title: h(() => [
1567
+ S(V(F.raw.text), 1)
1568
+ ]),
1569
+ _: 2
1570
+ }, 1040)
1464
1571
  ]),
1465
- _: 2
1466
- }, 1024)
1467
- ]))), 128))
1468
- ]),
1469
- _: 1
1470
- })
1471
- ])
1572
+ _: 1
1573
+ }, 8, ["modelValue", "onUpdate:modelValue", "items", "label", "hint"])) : (C(), x(g, {
1574
+ key: 1,
1575
+ modelValue: T.value,
1576
+ "onUpdate:modelValue": (F) => T.value = F,
1577
+ label: X,
1578
+ hint: s.getDescription(T),
1579
+ "persistent-hint": "",
1580
+ clearable: "",
1581
+ density: "comfortable",
1582
+ variant: "outlined",
1583
+ "data-test": "variable-text"
1584
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "hint"]))
1585
+ ]),
1586
+ _: 2
1587
+ }, 1024))), 128))
1588
+ ]),
1589
+ _: 1
1590
+ }))
1472
1591
  ]),
1473
1592
  _: 1
1474
- })),
1475
- n.existingPluginTxt === null ? (L(), T(m, {
1476
- key: "1-new",
1593
+ }),
1594
+ n.existingPluginTxt === null ? (C(), x(D, {
1595
+ key: 0,
1596
+ value: 1,
1477
1597
  eager: "true",
1478
1598
  class: "tab"
1479
1599
  }, {
1480
- default: g(() => [
1481
- f(a, { class: "pa-3" }, {
1482
- default: g(() => [
1483
- f(h, null, {
1484
- default: g(() => [...e[9] || (e[9] = [
1485
- w(" This can be edited before installation. ", -1)
1600
+ default: h(() => [
1601
+ f(b, { class: "pa-3" }, {
1602
+ default: h(() => [
1603
+ f(m, null, {
1604
+ default: h(() => [...t[8] || (t[8] = [
1605
+ S(" This can be edited before installation. ", -1)
1486
1606
  ])]),
1487
1607
  _: 1
1488
1608
  })
@@ -1492,32 +1612,32 @@ function At(t, e, n, o, i, l) {
1492
1612
  R("pre", {
1493
1613
  ref: "editor",
1494
1614
  class: "editor",
1495
- onContextmenu: e[1] || (e[1] = X((...M) => l.showContextMenu && l.showContextMenu(...M), ["prevent"]))
1615
+ onContextmenu: t[1] || (t[1] = Z((...T) => s.showContextMenu && s.showContextMenu(...T), ["prevent"]))
1496
1616
  }, null, 544),
1497
- f(S, {
1617
+ f(_, {
1498
1618
  modelValue: i.contextMenu,
1499
- "onUpdate:modelValue": e[2] || (e[2] = (M) => i.contextMenu = M),
1619
+ "onUpdate:modelValue": t[2] || (t[2] = (T) => i.contextMenu = T),
1500
1620
  target: [i.menuX, i.menuY]
1501
1621
  }, {
1502
- default: g(() => [
1503
- f(_, null, {
1504
- default: g(() => [
1505
- f(x, { link: "" }, {
1506
- default: g(() => [
1507
- f(v, { onClick: t.openDocumentation }, {
1508
- default: g(() => [
1509
- w(O(t.docsKeyword) + " documentation ", 1)
1622
+ default: h(() => [
1623
+ f($, null, {
1624
+ default: h(() => [
1625
+ f(u, { link: "" }, {
1626
+ default: h(() => [
1627
+ f(E, { onClick: e.openDocumentation }, {
1628
+ default: h(() => [
1629
+ S(V(e.docsKeyword) + " documentation ", 1)
1510
1630
  ]),
1511
1631
  _: 1
1512
1632
  }, 8, ["onClick"])
1513
1633
  ]),
1514
1634
  _: 1
1515
1635
  }),
1516
- f(C),
1517
- f(x, {
1636
+ f(v),
1637
+ f(u, {
1518
1638
  title: "Toggle Vim mode",
1519
1639
  "prepend-icon": "extras:vim",
1520
- onClick: l.toggleVimMode
1640
+ onClick: s.toggleVimMode
1521
1641
  }, null, 8, ["onClick"])
1522
1642
  ]),
1523
1643
  _: 1
@@ -1527,76 +1647,77 @@ function At(t, e, n, o, i, l) {
1527
1647
  }, 8, ["modelValue", "target"])
1528
1648
  ]),
1529
1649
  _: 1
1530
- })) : (L(), T(m, {
1531
- key: "1-existing",
1650
+ })) : (C(), x(D, {
1651
+ key: 1,
1652
+ value: 1,
1532
1653
  eager: "true",
1533
1654
  class: "tab"
1534
1655
  }, {
1535
- default: g(() => [
1536
- f(a, { class: "pa-3" }, {
1537
- default: g(() => [
1538
- f(h, null, {
1539
- default: g(() => [...e[10] || (e[10] = [
1540
- w(" Existing plugin.txt. This can be edited before installation. ", -1)
1656
+ default: h(() => [
1657
+ f(b, { class: "pa-3" }, {
1658
+ default: h(() => [
1659
+ f(m, null, {
1660
+ default: h(() => [...t[9] || (t[9] = [
1661
+ S(" Existing plugin.txt. This can be edited before installation. ", -1)
1541
1662
  ])]),
1542
1663
  _: 1
1543
1664
  }),
1544
- f(h, { class: "ml-6" }, {
1545
- default: g(() => [...e[11] || (e[11] = [
1546
- w(" Uneditable plugin.txt from the new plugin. ", -1)
1665
+ f(m, { class: "ml-6" }, {
1666
+ default: h(() => [...t[10] || (t[10] = [
1667
+ S(" Uneditable plugin.txt from the new plugin. ", -1)
1547
1668
  ])]),
1548
1669
  _: 1
1549
1670
  })
1550
1671
  ]),
1551
1672
  _: 1
1552
1673
  }),
1553
- R("pre", Vt, null, 512)
1674
+ R("pre", Ae, null, 512)
1554
1675
  ]),
1555
1676
  _: 1
1556
1677
  }))
1557
1678
  ]),
1558
1679
  _: 1
1559
1680
  }, 8, ["modelValue"]),
1560
- f(A, { class: "px-2 mt-2" }, {
1561
- default: g(() => [
1562
- n.existingPluginTxt !== null ? (L(), V("div", Ot, [
1563
- f(E, {
1681
+ f(J, { class: "px-2 mt-2" }, {
1682
+ default: h(() => [
1683
+ n.existingPluginTxt !== null ? (C(), M("div", Ne, [
1684
+ f(k, {
1564
1685
  variant: "text",
1565
- onClick: l.nextDiff
1686
+ onClick: s.nextDiff
1566
1687
  }, {
1567
- default: g(() => [...e[12] || (e[12] = [
1568
- w(" Next Diff ", -1)
1688
+ default: h(() => [...t[11] || (t[11] = [
1689
+ S(" Next Diff ", -1)
1569
1690
  ])]),
1570
1691
  _: 1
1571
1692
  }, 8, ["onClick"]),
1572
- f(E, {
1693
+ f(k, {
1573
1694
  variant: "text",
1574
- onClick: l.previousDiff
1695
+ onClick: s.previousDiff
1575
1696
  }, {
1576
- default: g(() => [...e[13] || (e[13] = [
1577
- w(" Previous Diff ", -1)
1697
+ default: h(() => [...t[12] || (t[12] = [
1698
+ S(" Previous Diff ", -1)
1578
1699
  ])]),
1579
1700
  _: 1
1580
1701
  }, 8, ["onClick"])
1581
- ])) : ee("", !0),
1582
- f(I),
1583
- f(E, {
1702
+ ])) : et("", !0),
1703
+ f(A),
1704
+ f(k, {
1584
1705
  variant: "outlined",
1585
1706
  "data-test": "edit-cancel",
1586
- onClick: X(l.close, ["prevent"])
1707
+ onClick: Z(s.close, ["prevent"])
1587
1708
  }, {
1588
- default: g(() => [...e[14] || (e[14] = [
1589
- w(" Cancel ", -1)
1709
+ default: h(() => [...t[13] || (t[13] = [
1710
+ S(" Cancel ", -1)
1590
1711
  ])]),
1591
1712
  _: 1
1592
1713
  }, 8, ["onClick"]),
1593
- f(E, {
1714
+ f(k, {
1594
1715
  variant: "flat",
1595
1716
  "data-test": "edit-submit",
1596
- onClick: l.submit
1717
+ onClick: s.submit
1597
1718
  }, {
1598
- default: g(() => [...e[15] || (e[15] = [
1599
- w(" Install ", -1)
1719
+ default: h(() => [...t[14] || (t[14] = [
1720
+ S(" Install ", -1)
1600
1721
  ])]),
1601
1722
  _: 1
1602
1723
  }, 8, ["onClick"])
@@ -1614,12 +1735,12 @@ function At(t, e, n, o, i, l) {
1614
1735
  _: 1
1615
1736
  }, 8, ["modelValue", "onKeydown"]);
1616
1737
  }
1617
- const Yt = /* @__PURE__ */ W(kt, [["render", At], ["__scopeId", "data-v-3b685c50"]]);
1738
+ const ze = /* @__PURE__ */ K(Ve, [["render", He], ["__scopeId", "data-v-6fd60d2d"]]);
1618
1739
  export {
1619
- qt as DownloadDialog,
1620
- Ut as ModifiedPluginDialog,
1621
- jt as OpenC3Admin,
1622
- Yt as PluginDialog,
1623
- Je as TabsList
1740
+ je as DownloadDialog,
1741
+ We as ModifiedPluginDialog,
1742
+ Ye as OpenC3Admin,
1743
+ ze as PluginDialog,
1744
+ ee as TabsList
1624
1745
  };
1625
1746
  //# sourceMappingURL=admin.js.map