@openc3/vue-common 6.10.3 → 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 (399) hide show
  1. package/dist/{ArrayWidget-B35vCzAo.cjs → ArrayWidget-CIMbQsGW.cjs} +2 -2
  2. package/dist/{ArrayWidget-B35vCzAo.cjs.map → ArrayWidget-CIMbQsGW.cjs.map} +1 -1
  3. package/dist/{ArrayWidget-Bc-Awsbn.js → ArrayWidget-DfiusKpM.js} +4 -4
  4. package/dist/{ArrayWidget-Bc-Awsbn.js.map → ArrayWidget-DfiusKpM.js.map} +1 -1
  5. package/dist/{ArrayplotWidget-B67ip6aR.cjs → ArrayplotWidget-DrrqqJEu.cjs} +2 -2
  6. package/dist/{ArrayplotWidget-B67ip6aR.cjs.map → ArrayplotWidget-DrrqqJEu.cjs.map} +1 -1
  7. package/dist/{ArrayplotWidget-B9UGCr4-.js → ArrayplotWidget-DsvOovu9.js} +3 -3
  8. package/dist/{ArrayplotWidget-B9UGCr4-.js.map → ArrayplotWidget-DsvOovu9.js.map} +1 -1
  9. package/dist/{BarColumn-3fKM-em2.cjs → BarColumn-CWgcL5w1.cjs} +2 -2
  10. package/dist/{BarColumn-3fKM-em2.cjs.map → BarColumn-CWgcL5w1.cjs.map} +1 -1
  11. package/dist/{BarColumn-ClLBRGll.js → BarColumn-DHHJBR3V.js} +3 -3
  12. package/dist/{BarColumn-ClLBRGll.js.map → BarColumn-DHHJBR3V.js.map} +1 -1
  13. package/dist/{BlockWidget-DWexy9Dx.cjs → BlockWidget-7Ecn_42c.cjs} +2 -2
  14. package/dist/{BlockWidget-DWexy9Dx.cjs.map → BlockWidget-7Ecn_42c.cjs.map} +1 -1
  15. package/dist/{BlockWidget-CoQp-LZM.js → BlockWidget-BdYXWS_0.js} +4 -4
  16. package/dist/{BlockWidget-CoQp-LZM.js.map → BlockWidget-BdYXWS_0.js.map} +1 -1
  17. package/dist/{ButtonWidget-BBpVoIzj.cjs → ButtonWidget-DFxBj0MG.cjs} +2 -2
  18. package/dist/{ButtonWidget-BBpVoIzj.cjs.map → ButtonWidget-DFxBj0MG.cjs.map} +1 -1
  19. package/dist/{ButtonWidget-CTTwpFec.js → ButtonWidget-zpSJmiQT.js} +4 -4
  20. package/dist/{ButtonWidget-CTTwpFec.js.map → ButtonWidget-zpSJmiQT.js.map} +1 -1
  21. package/dist/{CanvasWidget-Qlx-Mo8v.cjs → CanvasWidget-C5-iZ-YT.cjs} +2 -2
  22. package/dist/{CanvasWidget-Qlx-Mo8v.cjs.map → CanvasWidget-C5-iZ-YT.cjs.map} +1 -1
  23. package/dist/{CanvasWidget-jFarbJ3t.js → CanvasWidget-DaUB1G9X.js} +2 -2
  24. package/dist/{CanvasWidget-jFarbJ3t.js.map → CanvasWidget-DaUB1G9X.js.map} +1 -1
  25. package/dist/{CanvasdotWidget-BoyUcwiB.js → CanvasdotWidget-C255aTVc.js} +2 -2
  26. package/dist/{CanvasdotWidget-BoyUcwiB.js.map → CanvasdotWidget-C255aTVc.js.map} +1 -1
  27. package/dist/{CanvasdotWidget-BROyk4FH.cjs → CanvasdotWidget-CCrgS1yO.cjs} +2 -2
  28. package/dist/{CanvasdotWidget-BROyk4FH.cjs.map → CanvasdotWidget-CCrgS1yO.cjs.map} +1 -1
  29. package/dist/{CanvasimageWidget-BvTJnGXu.cjs → CanvasimageWidget-B2Mm0dYq.cjs} +2 -2
  30. package/dist/{CanvasimageWidget-BvTJnGXu.cjs.map → CanvasimageWidget-B2Mm0dYq.cjs.map} +1 -1
  31. package/dist/{CanvasimageWidget-DmyCSnuQ.js → CanvasimageWidget-CFlUUFqr.js} +3 -3
  32. package/dist/{CanvasimageWidget-DmyCSnuQ.js.map → CanvasimageWidget-CFlUUFqr.js.map} +1 -1
  33. package/dist/{CanvasimagevalueWidget-CzVrDo-Z.cjs → CanvasimagevalueWidget-B1xVa3FB.cjs} +2 -2
  34. package/dist/{CanvasimagevalueWidget-CzVrDo-Z.cjs.map → CanvasimagevalueWidget-B1xVa3FB.cjs.map} +1 -1
  35. package/dist/{CanvasimagevalueWidget-CmbngMqv.js → CanvasimagevalueWidget-s4gR3fo5.js} +3 -3
  36. package/dist/{CanvasimagevalueWidget-CmbngMqv.js.map → CanvasimagevalueWidget-s4gR3fo5.js.map} +1 -1
  37. package/dist/{CanvaslabelWidget-BnvwV9MA.cjs → CanvaslabelWidget-CAtE3qq_.cjs} +2 -2
  38. package/dist/{CanvaslabelWidget-BnvwV9MA.cjs.map → CanvaslabelWidget-CAtE3qq_.cjs.map} +1 -1
  39. package/dist/{CanvaslabelWidget-D8NzLKqi.js → CanvaslabelWidget-CaOc-lTQ.js} +2 -2
  40. package/dist/{CanvaslabelWidget-D8NzLKqi.js.map → CanvaslabelWidget-CaOc-lTQ.js.map} +1 -1
  41. package/dist/{CanvaslabelvalueWidget-DVnkclHD.cjs → CanvaslabelvalueWidget-CvVMrZsu.cjs} +2 -2
  42. package/dist/{CanvaslabelvalueWidget-DVnkclHD.cjs.map → CanvaslabelvalueWidget-CvVMrZsu.cjs.map} +1 -1
  43. package/dist/{CanvaslabelvalueWidget-DOybGI9D.js → CanvaslabelvalueWidget-hqJoPekq.js} +2 -2
  44. package/dist/{CanvaslabelvalueWidget-DOybGI9D.js.map → CanvaslabelvalueWidget-hqJoPekq.js.map} +1 -1
  45. package/dist/{CanvaslineWidget-DgbXSH1K.cjs → CanvaslineWidget-CjPnyDod.cjs} +2 -2
  46. package/dist/{CanvaslineWidget-DgbXSH1K.cjs.map → CanvaslineWidget-CjPnyDod.cjs.map} +1 -1
  47. package/dist/{CanvaslineWidget-D2NEei7j.js → CanvaslineWidget-DebP2L43.js} +2 -2
  48. package/dist/{CanvaslineWidget-D2NEei7j.js.map → CanvaslineWidget-DebP2L43.js.map} +1 -1
  49. package/dist/{CanvaslinevalueWidget-Ctvv9owf.js → CanvaslinevalueWidget-BkPG5Vtx.js} +2 -2
  50. package/dist/{CanvaslinevalueWidget-Ctvv9owf.js.map → CanvaslinevalueWidget-BkPG5Vtx.js.map} +1 -1
  51. package/dist/{CanvaslinevalueWidget-E3NDHyPl.cjs → CanvaslinevalueWidget-Caadjtan.cjs} +2 -2
  52. package/dist/{CanvaslinevalueWidget-E3NDHyPl.cjs.map → CanvaslinevalueWidget-Caadjtan.cjs.map} +1 -1
  53. package/dist/{CheckbuttonWidget-BdvWAgg_.cjs → CheckbuttonWidget-CEOWZkt6.cjs} +2 -2
  54. package/dist/{CheckbuttonWidget-BdvWAgg_.cjs.map → CheckbuttonWidget-CEOWZkt6.cjs.map} +1 -1
  55. package/dist/{CheckbuttonWidget-CQeR0BMF.js → CheckbuttonWidget-eQIcPATf.js} +2 -2
  56. package/dist/{CheckbuttonWidget-CQeR0BMF.js.map → CheckbuttonWidget-eQIcPATf.js.map} +1 -1
  57. package/dist/{ClassificationBanners-0BNhyyMS.cjs → ClassificationBanners--l3qMxLo.cjs} +2 -2
  58. package/dist/{ClassificationBanners-0BNhyyMS.cjs.map → ClassificationBanners--l3qMxLo.cjs.map} +1 -1
  59. package/dist/{ClassificationBanners-STI2n2yD.js → ClassificationBanners-CFLQaZJ2.js} +2 -2
  60. package/dist/{ClassificationBanners-STI2n2yD.js.map → ClassificationBanners-CFLQaZJ2.js.map} +1 -1
  61. package/dist/{ComboboxWidget-4N-MagvN.js → ComboboxWidget-B5kzYxFk.js} +2 -2
  62. package/dist/{ComboboxWidget-4N-MagvN.js.map → ComboboxWidget-B5kzYxFk.js.map} +1 -1
  63. package/dist/{ComboboxWidget-Dh0q9xpJ.cjs → ComboboxWidget-BSs59QzI.cjs} +2 -2
  64. package/dist/{ComboboxWidget-Dh0q9xpJ.cjs.map → ComboboxWidget-BSs59QzI.cjs.map} +1 -1
  65. package/dist/{CriticalCmdDialog-trVtKZft.js → CriticalCmdDialog-BYHZbX2w.js} +2 -2
  66. package/dist/{CriticalCmdDialog-trVtKZft.js.map → CriticalCmdDialog-BYHZbX2w.js.map} +1 -1
  67. package/dist/{CriticalCmdDialog-Dy1cQZxQ.cjs → CriticalCmdDialog-BhjiJIo5.cjs} +2 -2
  68. package/dist/{CriticalCmdDialog-Dy1cQZxQ.cjs.map → CriticalCmdDialog-BhjiJIo5.cjs.map} +1 -1
  69. package/dist/{DateWidget-rYTjwUdb.js → DateWidget-1IZOe50K.js} +2 -2
  70. package/dist/{DateWidget-rYTjwUdb.js.map → DateWidget-1IZOe50K.js.map} +1 -1
  71. package/dist/{DateWidget-DXN7u3vL.cjs → DateWidget-DkVxE7Xj.cjs} +2 -2
  72. package/dist/{DateWidget-DXN7u3vL.cjs.map → DateWidget-DkVxE7Xj.cjs.map} +1 -1
  73. package/dist/{DetailsDialog-p_vutijL.js → DetailsDialog-D-rjL4oc.js} +3 -3
  74. package/dist/{DetailsDialog-p_vutijL.js.map → DetailsDialog-D-rjL4oc.js.map} +1 -1
  75. package/dist/{DetailsDialog-CLCCuoHV.cjs → DetailsDialog-lJG8eclU.cjs} +2 -2
  76. package/dist/{DetailsDialog-CLCCuoHV.cjs.map → DetailsDialog-lJG8eclU.cjs.map} +1 -1
  77. package/dist/EventListDialog-5UXvnmNE.cjs +2 -0
  78. package/dist/EventListDialog-5UXvnmNE.cjs.map +1 -0
  79. package/dist/{EventListDialog-BshKrOuQ.js → EventListDialog-Id3rEQKY.js} +221 -229
  80. package/dist/EventListDialog-Id3rEQKY.js.map +1 -0
  81. package/dist/{FilechecksumWidget-Ddlm1UED.cjs → FilechecksumWidget-D-5GSjyV.cjs} +2 -2
  82. package/dist/{FilechecksumWidget-Ddlm1UED.cjs.map → FilechecksumWidget-D-5GSjyV.cjs.map} +1 -1
  83. package/dist/{FilechecksumWidget-gcmXxJHl.js → FilechecksumWidget-F_FX1Kjx.js} +3 -3
  84. package/dist/{FilechecksumWidget-gcmXxJHl.js.map → FilechecksumWidget-F_FX1Kjx.js.map} +1 -1
  85. package/dist/{FiledisplayWidget-CqM549A4.js → FiledisplayWidget-BF3G22jF.js} +3 -3
  86. package/dist/{FiledisplayWidget-CqM549A4.js.map → FiledisplayWidget-BF3G22jF.js.map} +1 -1
  87. package/dist/{FiledisplayWidget-CYX4HChi.cjs → FiledisplayWidget-BHLOY_cM.cjs} +2 -2
  88. package/dist/{FiledisplayWidget-CYX4HChi.cjs.map → FiledisplayWidget-BHLOY_cM.cjs.map} +1 -1
  89. package/dist/{FormatvalueWidget-BEwH0C7S.js → FormatvalueWidget-BkF9iiHs.js} +3 -3
  90. package/dist/{FormatvalueWidget-BEwH0C7S.js.map → FormatvalueWidget-BkF9iiHs.js.map} +1 -1
  91. package/dist/{FormatvalueWidget-CpsyYKXD.cjs → FormatvalueWidget-DTsP7isW.cjs} +2 -2
  92. package/dist/{FormatvalueWidget-CpsyYKXD.cjs.map → FormatvalueWidget-DTsP7isW.cjs.map} +1 -1
  93. package/dist/{Graph-CbjlChwf.js → Graph-C-7C2Jq5.js} +139 -143
  94. package/dist/{Graph-CbjlChwf.js.map → Graph-C-7C2Jq5.js.map} +1 -1
  95. package/dist/Graph-YYieRGo0.cjs +2 -0
  96. package/dist/{Graph-kmTrth08.cjs.map → Graph-YYieRGo0.cjs.map} +1 -1
  97. package/dist/{GraphWidget-SamHg2AA.cjs → GraphWidget-C7hqdqL-.cjs} +2 -2
  98. package/dist/{GraphWidget-SamHg2AA.cjs.map → GraphWidget-C7hqdqL-.cjs.map} +1 -1
  99. package/dist/{GraphWidget-CjxnC0Dc.js → GraphWidget-DRkDn8za.js} +2 -2
  100. package/dist/{GraphWidget-CjxnC0Dc.js.map → GraphWidget-DRkDn8za.js.map} +1 -1
  101. package/dist/{HorizontalWidget-Dt8bkM3k.js → HorizontalWidget-DB64wzZB.js} +2 -2
  102. package/dist/{HorizontalWidget-Dt8bkM3k.js.map → HorizontalWidget-DB64wzZB.js.map} +1 -1
  103. package/dist/{HorizontalWidget-ByZjU21C.cjs → HorizontalWidget-h-U8i3G-.cjs} +2 -2
  104. package/dist/{HorizontalWidget-ByZjU21C.cjs.map → HorizontalWidget-h-U8i3G-.cjs.map} +1 -1
  105. package/dist/{HorizontalboxWidget-CdAZ5Sa6.js → HorizontalboxWidget-BsHsGlvK.js} +5 -5
  106. package/dist/{HorizontalboxWidget-CdAZ5Sa6.js.map → HorizontalboxWidget-BsHsGlvK.js.map} +1 -1
  107. package/dist/{HorizontalboxWidget-DzYz5SXs.cjs → HorizontalboxWidget-E4LUf2eN.cjs} +2 -2
  108. package/dist/{HorizontalboxWidget-DzYz5SXs.cjs.map → HorizontalboxWidget-E4LUf2eN.cjs.map} +1 -1
  109. package/dist/{HorizontallineWidget-CXZJTeU2.js → HorizontallineWidget-CyiexzIu.js} +2 -2
  110. package/dist/{HorizontallineWidget-CXZJTeU2.js.map → HorizontallineWidget-CyiexzIu.js.map} +1 -1
  111. package/dist/{HorizontallineWidget-C8Zhqxik.cjs → HorizontallineWidget-LibmHnAf.cjs} +2 -2
  112. package/dist/{HorizontallineWidget-C8Zhqxik.cjs.map → HorizontallineWidget-LibmHnAf.cjs.map} +1 -1
  113. package/dist/{IframeWidget-CrcWiAVE.js → IframeWidget-D9Vh0w2c.js} +2 -2
  114. package/dist/{IframeWidget-CrcWiAVE.js.map → IframeWidget-D9Vh0w2c.js.map} +1 -1
  115. package/dist/{IframeWidget-BuNXXziR.cjs → IframeWidget-xeXTxP_G.cjs} +2 -2
  116. package/dist/{IframeWidget-BuNXXziR.cjs.map → IframeWidget-xeXTxP_G.cjs.map} +1 -1
  117. package/dist/{ImageLoader-DPqax8yu.js → ImageLoader-B4iBPFyi.js} +2 -2
  118. package/dist/{ImageLoader-DPqax8yu.js.map → ImageLoader-B4iBPFyi.js.map} +1 -1
  119. package/dist/{ImageLoader-130w4tXJ.cjs → ImageLoader-Cc4-BNJv.cjs} +2 -2
  120. package/dist/{ImageLoader-130w4tXJ.cjs.map → ImageLoader-Cc4-BNJv.cjs.map} +1 -1
  121. package/dist/{ImageviewerWidget-CTEl6iPg.js → ImageviewerWidget-DqV4SClv.js} +2 -2
  122. package/dist/{ImageviewerWidget-CTEl6iPg.js.map → ImageviewerWidget-DqV4SClv.js.map} +1 -1
  123. package/dist/{ImageviewerWidget-CafLbLp2.cjs → ImageviewerWidget-KVt487SJ.cjs} +2 -2
  124. package/dist/{ImageviewerWidget-CafLbLp2.cjs.map → ImageviewerWidget-KVt487SJ.cjs.map} +1 -1
  125. package/dist/{InterfacesTab-B9ApLB5q.js → InterfacesTab-C310FRIP.js} +3 -3
  126. package/dist/{InterfacesTab-B9ApLB5q.js.map → InterfacesTab-C310FRIP.js.map} +1 -1
  127. package/dist/{InterfacesTab-wPQSLcSj.cjs → InterfacesTab-nZwg-ByS.cjs} +2 -2
  128. package/dist/{InterfacesTab-wPQSLcSj.cjs.map → InterfacesTab-nZwg-ByS.cjs.map} +1 -1
  129. package/dist/{LabelWidget-CPqKGMx0.js → LabelWidget-BDukcPet.js} +2 -2
  130. package/dist/{LabelWidget-CPqKGMx0.js.map → LabelWidget-BDukcPet.js.map} +1 -1
  131. package/dist/{LabelWidget-BfBP3Xme.cjs → LabelWidget-DYfv4K8h.cjs} +2 -2
  132. package/dist/{LabelWidget-BfBP3Xme.cjs.map → LabelWidget-DYfv4K8h.cjs.map} +1 -1
  133. package/dist/{LabelledWidget-CZvKfFNW.cjs → LabelledWidget-Dl1x6b3p.cjs} +2 -2
  134. package/dist/{LabelledWidget-CZvKfFNW.cjs.map → LabelledWidget-Dl1x6b3p.cjs.map} +1 -1
  135. package/dist/{LabelledWidget-BHYzRMFd.js → LabelledWidget-tVHE426s.js} +4 -4
  136. package/dist/{LabelledWidget-BHYzRMFd.js.map → LabelledWidget-tVHE426s.js.map} +1 -1
  137. package/dist/{LabelprogressbarWidget-D9deeUo7.js → LabelprogressbarWidget-CjMDFUUv.js} +4 -4
  138. package/dist/{LabelprogressbarWidget-D9deeUo7.js.map → LabelprogressbarWidget-CjMDFUUv.js.map} +1 -1
  139. package/dist/{LabelprogressbarWidget-Bv0G5oT3.cjs → LabelprogressbarWidget-DcO0gRM4.cjs} +2 -2
  140. package/dist/{LabelprogressbarWidget-Bv0G5oT3.cjs.map → LabelprogressbarWidget-DcO0gRM4.cjs.map} +1 -1
  141. package/dist/{LabelsparklineWidget-dyqEroDN.cjs → LabelsparklineWidget-Cp2a-qlI.cjs} +2 -2
  142. package/dist/{LabelsparklineWidget-dyqEroDN.cjs.map → LabelsparklineWidget-Cp2a-qlI.cjs.map} +1 -1
  143. package/dist/{LabelsparklineWidget-7mYre3CP.js → LabelsparklineWidget-dZl3cGu0.js} +4 -4
  144. package/dist/{LabelsparklineWidget-7mYre3CP.js.map → LabelsparklineWidget-dZl3cGu0.js.map} +1 -1
  145. package/dist/{LabelvalueWidget-Bsl7Z3wM.cjs → LabelvalueWidget-CgP4mzP_.cjs} +2 -2
  146. package/dist/{LabelvalueWidget-Bsl7Z3wM.cjs.map → LabelvalueWidget-CgP4mzP_.cjs.map} +1 -1
  147. package/dist/{LabelvalueWidget-NLsD60n4.js → LabelvalueWidget-UcAc_2Ry.js} +4 -4
  148. package/dist/{LabelvalueWidget-NLsD60n4.js.map → LabelvalueWidget-UcAc_2Ry.js.map} +1 -1
  149. package/dist/{LabelvaluedescWidget-B_Xih-c5.cjs → LabelvaluedescWidget-CXJ037Qs.cjs} +2 -2
  150. package/dist/{LabelvaluedescWidget-B_Xih-c5.cjs.map → LabelvaluedescWidget-CXJ037Qs.cjs.map} +1 -1
  151. package/dist/{LabelvaluedescWidget-DXROG4Gs.js → LabelvaluedescWidget-Crb8udVe.js} +5 -5
  152. package/dist/{LabelvaluedescWidget-DXROG4Gs.js.map → LabelvaluedescWidget-Crb8udVe.js.map} +1 -1
  153. package/dist/{LabelvaluelimitsbarWidget-DDd0RIs5.cjs → LabelvaluelimitsbarWidget-B3cn7i50.cjs} +2 -2
  154. package/dist/{LabelvaluelimitsbarWidget-DDd0RIs5.cjs.map → LabelvaluelimitsbarWidget-B3cn7i50.cjs.map} +1 -1
  155. package/dist/{LabelvaluelimitsbarWidget-DqVqHF4W.js → LabelvaluelimitsbarWidget-BZGUQrRt.js} +4 -4
  156. package/dist/{LabelvaluelimitsbarWidget-DqVqHF4W.js.map → LabelvaluelimitsbarWidget-BZGUQrRt.js.map} +1 -1
  157. package/dist/{LabelvaluelimitscolumnWidget-C1aqkXh5.cjs → LabelvaluelimitscolumnWidget-DbBOkQ8R.cjs} +2 -2
  158. package/dist/{LabelvaluelimitscolumnWidget-C1aqkXh5.cjs.map → LabelvaluelimitscolumnWidget-DbBOkQ8R.cjs.map} +1 -1
  159. package/dist/{LabelvaluelimitscolumnWidget-BK6_31pC.js → LabelvaluelimitscolumnWidget-NNYW2aMO.js} +5 -5
  160. package/dist/{LabelvaluelimitscolumnWidget-BK6_31pC.js.map → LabelvaluelimitscolumnWidget-NNYW2aMO.js.map} +1 -1
  161. package/dist/{LabelvaluerangebarWidget-a8u5LXBD.cjs → LabelvaluerangebarWidget-B81fLpK0.cjs} +2 -2
  162. package/dist/{LabelvaluerangebarWidget-a8u5LXBD.cjs.map → LabelvaluerangebarWidget-B81fLpK0.cjs.map} +1 -1
  163. package/dist/{LabelvaluerangebarWidget-DR7C8gqw.js → LabelvaluerangebarWidget-CjkVDlVJ.js} +4 -4
  164. package/dist/{LabelvaluerangebarWidget-DR7C8gqw.js.map → LabelvaluerangebarWidget-CjkVDlVJ.js.map} +1 -1
  165. package/dist/{Layout-B_Hgw3gd.js → Layout-FpBx3iic.js} +2 -2
  166. package/dist/{Layout-B_Hgw3gd.js.map → Layout-FpBx3iic.js.map} +1 -1
  167. package/dist/{Layout-CVGghwYm.cjs → Layout-K7_I6jMV.cjs} +2 -2
  168. package/dist/{Layout-CVGghwYm.cjs.map → Layout-K7_I6jMV.cjs.map} +1 -1
  169. package/dist/{LedWidget-CiAVs2tj.js → LedWidget-Bsp1aja-.js} +4 -4
  170. package/dist/{LedWidget-CiAVs2tj.js.map → LedWidget-Bsp1aja-.js.map} +1 -1
  171. package/dist/{LedWidget-Cmy47xfg.cjs → LedWidget-C19KREVz.cjs} +2 -2
  172. package/dist/{LedWidget-Cmy47xfg.cjs.map → LedWidget-C19KREVz.cjs.map} +1 -1
  173. package/dist/{LimitsBar-_UQG-M6e.js → LimitsBar-IVv8t4FE.js} +2 -2
  174. package/dist/{LimitsBar-_UQG-M6e.js.map → LimitsBar-IVv8t4FE.js.map} +1 -1
  175. package/dist/{LimitsBar-DTtMywOw.cjs → LimitsBar-LRiUSWd7.cjs} +2 -2
  176. package/dist/{LimitsBar-DTtMywOw.cjs.map → LimitsBar-LRiUSWd7.cjs.map} +1 -1
  177. package/dist/{LimitsbarWidget-CYm_f1FN.cjs → LimitsbarWidget-BFjMhTbA.cjs} +2 -2
  178. package/dist/{LimitsbarWidget-CYm_f1FN.cjs.map → LimitsbarWidget-BFjMhTbA.cjs.map} +1 -1
  179. package/dist/{LimitsbarWidget-CIwcOhC8.js → LimitsbarWidget-Bo1JAoQp.js} +3 -3
  180. package/dist/{LimitsbarWidget-CIwcOhC8.js.map → LimitsbarWidget-Bo1JAoQp.js.map} +1 -1
  181. package/dist/{LimitscolorWidget-oH6NGl1C.cjs → LimitscolorWidget-D214kS86.cjs} +2 -2
  182. package/dist/{LimitscolorWidget-oH6NGl1C.cjs.map → LimitscolorWidget-D214kS86.cjs.map} +1 -1
  183. package/dist/{LimitscolorWidget-CGPfJwvT.js → LimitscolorWidget-Doq8h_g1.js} +2 -2
  184. package/dist/{LimitscolorWidget-CGPfJwvT.js.map → LimitscolorWidget-Doq8h_g1.js.map} +1 -1
  185. package/dist/{LimitscolumnWidget-CnGOCckG.cjs → LimitscolumnWidget-BREF_CBr.cjs} +2 -2
  186. package/dist/{LimitscolumnWidget-CnGOCckG.cjs.map → LimitscolumnWidget-BREF_CBr.cjs.map} +1 -1
  187. package/dist/{LimitscolumnWidget-Bj_UPEC8.js → LimitscolumnWidget-qasXHN7m.js} +2 -2
  188. package/dist/{LimitscolumnWidget-Bj_UPEC8.js.map → LimitscolumnWidget-qasXHN7m.js.map} +1 -1
  189. package/dist/{LinegraphWidget-DccnHbWa.js → LinegraphWidget-BNMqcr_r.js} +4 -4
  190. package/dist/{LinegraphWidget-DccnHbWa.js.map → LinegraphWidget-BNMqcr_r.js.map} +1 -1
  191. package/dist/{LinegraphWidget-zHs3NG-6.cjs → LinegraphWidget-BhpYKxnT.cjs} +2 -2
  192. package/dist/{LinegraphWidget-zHs3NG-6.cjs.map → LinegraphWidget-BhpYKxnT.cjs.map} +1 -1
  193. package/dist/{MatrixbycolumnsWidget-Dd-udu5V.cjs → MatrixbycolumnsWidget-BKXkhATe.cjs} +2 -2
  194. package/dist/{MatrixbycolumnsWidget-Dd-udu5V.cjs.map → MatrixbycolumnsWidget-BKXkhATe.cjs.map} +1 -1
  195. package/dist/{MatrixbycolumnsWidget-U_NZ6aW-.js → MatrixbycolumnsWidget-BlF1CyIT.js} +3 -3
  196. package/dist/{MatrixbycolumnsWidget-U_NZ6aW-.js.map → MatrixbycolumnsWidget-BlF1CyIT.js.map} +1 -1
  197. package/dist/{MicroservicesTab-DXgSxZ0K.cjs → MicroservicesTab-BWFwBSuf.cjs} +2 -2
  198. package/dist/{MicroservicesTab-DXgSxZ0K.cjs.map → MicroservicesTab-BWFwBSuf.cjs.map} +1 -1
  199. package/dist/{MicroservicesTab-DG3rdksb.js → MicroservicesTab-xpDXKoa-.js} +3 -3
  200. package/dist/{MicroservicesTab-DG3rdksb.js.map → MicroservicesTab-xpDXKoa-.js.map} +1 -1
  201. package/dist/OpenC3TimePicker-6pE8gGCO.cjs +2 -0
  202. package/dist/OpenC3TimePicker-6pE8gGCO.cjs.map +1 -0
  203. package/dist/OpenC3TimePicker-D-_qqySI.js +219 -0
  204. package/dist/OpenC3TimePicker-D-_qqySI.js.map +1 -0
  205. package/dist/{Openc3Screen-CDwAWaTl.js → Openc3Screen-DYJHNotN.js} +707 -509
  206. package/dist/Openc3Screen-DYJHNotN.js.map +1 -0
  207. package/dist/Openc3Screen-Pu1ktpS8.cjs +6 -0
  208. package/dist/Openc3Screen-Pu1ktpS8.cjs.map +1 -0
  209. package/dist/{OutputDialog-D2YCbR20.cjs → OutputDialog-BwEWPQW9.cjs} +2 -2
  210. package/dist/{OutputDialog-D2YCbR20.cjs.map → OutputDialog-BwEWPQW9.cjs.map} +1 -1
  211. package/dist/{OutputDialog-Di-pSmJE.js → OutputDialog-x4QZFAWe.js} +2 -2
  212. package/dist/{OutputDialog-Di-pSmJE.js.map → OutputDialog-x4QZFAWe.js.map} +1 -1
  213. package/dist/{PackagesTab-C-fV9yxw.cjs → PackagesTab-CHwfaqdP.cjs} +2 -2
  214. package/dist/{PackagesTab-C-fV9yxw.cjs.map → PackagesTab-CHwfaqdP.cjs.map} +1 -1
  215. package/dist/{PackagesTab-Bui5q3rX.js → PackagesTab-rzc4hqOb.js} +3 -3
  216. package/dist/{PackagesTab-Bui5q3rX.js.map → PackagesTab-rzc4hqOb.js.map} +1 -1
  217. package/dist/{PluginsTab-DxxlKeVx.cjs → PluginsTab-C7gLbRQn.cjs} +2 -2
  218. package/dist/{PluginsTab-DxxlKeVx.cjs.map → PluginsTab-C7gLbRQn.cjs.map} +1 -1
  219. package/dist/{PluginsTab-zR9eZuvc.js → PluginsTab-Dff_0j26.js} +4 -4
  220. package/dist/{PluginsTab-zR9eZuvc.js.map → PluginsTab-Dff_0j26.js.map} +1 -1
  221. package/dist/{ProgressbarWidget-D4JtVzyk.js → ProgressbarWidget-DQ80NANH.js} +2 -2
  222. package/dist/{ProgressbarWidget-D4JtVzyk.js.map → ProgressbarWidget-DQ80NANH.js.map} +1 -1
  223. package/dist/{ProgressbarWidget-Cxvwcfgn.cjs → ProgressbarWidget-cQAtX_Q7.cjs} +2 -2
  224. package/dist/{ProgressbarWidget-Cxvwcfgn.cjs.map → ProgressbarWidget-cQAtX_Q7.cjs.map} +1 -1
  225. package/dist/{RadiobuttonWidget-Ccgftl13.cjs → RadiobuttonWidget-DFrUZRaV.cjs} +2 -2
  226. package/dist/{RadiobuttonWidget-Ccgftl13.cjs.map → RadiobuttonWidget-DFrUZRaV.cjs.map} +1 -1
  227. package/dist/{RadiobuttonWidget-BUaW7pRx.js → RadiobuttonWidget-LD18M4IQ.js} +2 -2
  228. package/dist/{RadiobuttonWidget-BUaW7pRx.js.map → RadiobuttonWidget-LD18M4IQ.js.map} +1 -1
  229. package/dist/{RadiogroupWidget-NIv4CaUQ.js → RadiogroupWidget-D_pt2MPz.js} +2 -2
  230. package/dist/{RadiogroupWidget-NIv4CaUQ.js.map → RadiogroupWidget-D_pt2MPz.js.map} +1 -1
  231. package/dist/{RadiogroupWidget-CSxjpxCr.cjs → RadiogroupWidget-ljP05k3g.cjs} +2 -2
  232. package/dist/{RadiogroupWidget-CSxjpxCr.cjs.map → RadiogroupWidget-ljP05k3g.cjs.map} +1 -1
  233. package/dist/{RangebarWidget-BtxfPo-U.cjs → RangebarWidget-BsLWXvTo.cjs} +2 -2
  234. package/dist/{RangebarWidget-BtxfPo-U.cjs.map → RangebarWidget-BsLWXvTo.cjs.map} +1 -1
  235. package/dist/{RangebarWidget-1-CsFpcl.js → RangebarWidget-DhaWpHjB.js} +2 -2
  236. package/dist/{RangebarWidget-1-CsFpcl.js.map → RangebarWidget-DhaWpHjB.js.map} +1 -1
  237. package/dist/{RedisTab-DuO-zUV3.js → RedisTab-C3yjh0JX.js} +2 -2
  238. package/dist/{RedisTab-DuO-zUV3.js.map → RedisTab-C3yjh0JX.js.map} +1 -1
  239. package/dist/{RedisTab-DOozcC9a.cjs → RedisTab-DEKMLop2.cjs} +2 -2
  240. package/dist/{RedisTab-DOozcC9a.cjs.map → RedisTab-DEKMLop2.cjs.map} +1 -1
  241. package/dist/{RollupWidget-ChasTJYP.js → RollupWidget-CMU1-HwL.js} +2 -2
  242. package/dist/{RollupWidget-ChasTJYP.js.map → RollupWidget-CMU1-HwL.js.map} +1 -1
  243. package/dist/{RollupWidget-CQxl1mlr.cjs → RollupWidget-sXTyo7zH.cjs} +2 -2
  244. package/dist/{RollupWidget-CQxl1mlr.cjs.map → RollupWidget-sXTyo7zH.cjs.map} +1 -1
  245. package/dist/{RoutersTab-C0UHSj-S.js → RoutersTab-DaWde6np.js} +3 -3
  246. package/dist/{RoutersTab-C0UHSj-S.js.map → RoutersTab-DaWde6np.js.map} +1 -1
  247. package/dist/{RoutersTab-DgWAXGUv.cjs → RoutersTab-IKuEHQeO.cjs} +2 -2
  248. package/dist/{RoutersTab-DgWAXGUv.cjs.map → RoutersTab-IKuEHQeO.cjs.map} +1 -1
  249. package/dist/{ScriptChooser-D1dddugi.cjs → ScriptChooser-BmyV6QQD.cjs} +2 -2
  250. package/dist/{ScriptChooser-D1dddugi.cjs.map → ScriptChooser-BmyV6QQD.cjs.map} +1 -1
  251. package/dist/{ScriptChooser-C5HHbbcP.js → ScriptChooser-DCjI5aeZ.js} +4 -4
  252. package/dist/{ScriptChooser-C5HHbbcP.js.map → ScriptChooser-DCjI5aeZ.js.map} +1 -1
  253. package/dist/{ScrollwindowWidget-Bkyjw0Qt.cjs → ScrollwindowWidget-BcLF_bhy.cjs} +2 -2
  254. package/dist/{ScrollwindowWidget-Bkyjw0Qt.cjs.map → ScrollwindowWidget-BcLF_bhy.cjs.map} +1 -1
  255. package/dist/{ScrollwindowWidget-Y2J758y6.js → ScrollwindowWidget-D7Ln-QMq.js} +2 -2
  256. package/dist/{ScrollwindowWidget-Y2J758y6.js.map → ScrollwindowWidget-D7Ln-QMq.js.map} +1 -1
  257. package/dist/{SecretsTab-Ds3kGOmd.cjs → SecretsTab-BM9HIjT_.cjs} +2 -2
  258. package/dist/{SecretsTab-Ds3kGOmd.cjs.map → SecretsTab-BM9HIjT_.cjs.map} +1 -1
  259. package/dist/{SecretsTab-c5g8Zk4g.js → SecretsTab-Dhal1RCq.js} +2 -2
  260. package/dist/{SecretsTab-c5g8Zk4g.js.map → SecretsTab-Dhal1RCq.js.map} +1 -1
  261. package/dist/SettingsTab-BrSkK_Fs.cjs +3 -0
  262. package/dist/SettingsTab-BrSkK_Fs.cjs.map +1 -0
  263. package/dist/{SettingsTab-CTd3_Ipy.js → SettingsTab-Dtj_AlEW.js} +249 -136
  264. package/dist/SettingsTab-Dtj_AlEW.js.map +1 -0
  265. package/dist/{SignalWidget-BkTXZpGV.cjs → SignalWidget-DHwveppA.cjs} +2 -2
  266. package/dist/{SignalWidget-BkTXZpGV.cjs.map → SignalWidget-DHwveppA.cjs.map} +1 -1
  267. package/dist/{SignalWidget-DFhHDicI.js → SignalWidget-PreTg4Mt.js} +2 -2
  268. package/dist/{SignalWidget-DFhHDicI.js.map → SignalWidget-PreTg4Mt.js.map} +1 -1
  269. package/dist/{SimpleTextDialog-Dv5ypyUQ.cjs → SimpleTextDialog-Bdw3jul4.cjs} +2 -2
  270. package/dist/{SimpleTextDialog-Dv5ypyUQ.cjs.map → SimpleTextDialog-Bdw3jul4.cjs.map} +1 -1
  271. package/dist/{SimpleTextDialog-CXIEKlX0.js → SimpleTextDialog-DDIm5Znf.js} +2 -2
  272. package/dist/{SimpleTextDialog-CXIEKlX0.js.map → SimpleTextDialog-DDIm5Znf.js.map} +1 -1
  273. package/dist/{SpacerWidget-D4KojaGb.js → SpacerWidget-Chy1NO28.js} +2 -2
  274. package/dist/{SpacerWidget-D4KojaGb.js.map → SpacerWidget-Chy1NO28.js.map} +1 -1
  275. package/dist/{SpacerWidget-HsSCc07C.cjs → SpacerWidget-Cj-j_MsG.cjs} +2 -2
  276. package/dist/{SpacerWidget-HsSCc07C.cjs.map → SpacerWidget-Cj-j_MsG.cjs.map} +1 -1
  277. package/dist/{SparklineWidget-BdRM-ymk.cjs → SparklineWidget-BE1LieLF.cjs} +2 -2
  278. package/dist/{SparklineWidget-BdRM-ymk.cjs.map → SparklineWidget-BE1LieLF.cjs.map} +1 -1
  279. package/dist/{SparklineWidget-DMHFzw8L.js → SparklineWidget-Bb-gCNNt.js} +4 -4
  280. package/dist/{SparklineWidget-DMHFzw8L.js.map → SparklineWidget-Bb-gCNNt.js.map} +1 -1
  281. package/dist/{TabbookWidget-NmIK-Lgf.cjs → TabbookWidget-FNbiZpjn.cjs} +2 -2
  282. package/dist/{TabbookWidget-NmIK-Lgf.cjs.map → TabbookWidget-FNbiZpjn.cjs.map} +1 -1
  283. package/dist/{TabbookWidget-NVLYMdFG.js → TabbookWidget-a-LsBhBE.js} +2 -2
  284. package/dist/{TabbookWidget-NVLYMdFG.js.map → TabbookWidget-a-LsBhBE.js.map} +1 -1
  285. package/dist/TargetPacketItemChooser-BPRByyfB.cjs +2 -0
  286. package/dist/TargetPacketItemChooser-BPRByyfB.cjs.map +1 -0
  287. package/dist/{TargetPacketItemChooser-D5h9Octy.js → TargetPacketItemChooser-DDqBQTWC.js} +179 -146
  288. package/dist/TargetPacketItemChooser-DDqBQTWC.js.map +1 -0
  289. package/dist/{TargetsTab-b35HgnRl.js → TargetsTab-C7Pn5-19.js} +3 -3
  290. package/dist/{TargetsTab-b35HgnRl.js.map → TargetsTab-C7Pn5-19.js.map} +1 -1
  291. package/dist/{TargetsTab-JLjpJ1wn.cjs → TargetsTab-dndajwC_.cjs} +2 -2
  292. package/dist/{TargetsTab-JLjpJ1wn.cjs.map → TargetsTab-dndajwC_.cjs.map} +1 -1
  293. package/dist/{TextboxWidget-CrMYPQIF.js → TextboxWidget-DIHEOldN.js} +4 -4
  294. package/dist/{TextboxWidget-CrMYPQIF.js.map → TextboxWidget-DIHEOldN.js.map} +1 -1
  295. package/dist/{TextboxWidget-xk3OFSUZ.cjs → TextboxWidget-DYTNipbi.cjs} +2 -2
  296. package/dist/{TextboxWidget-xk3OFSUZ.cjs.map → TextboxWidget-DYTNipbi.cjs.map} +1 -1
  297. package/dist/{TextfieldWidget-DnnKM6vS.cjs → TextfieldWidget-BE-HpIKs.cjs} +2 -2
  298. package/dist/{TextfieldWidget-DnnKM6vS.cjs.map → TextfieldWidget-BE-HpIKs.cjs.map} +1 -1
  299. package/dist/{TextfieldWidget-DMBQwtnb.js → TextfieldWidget-CIBo7Dau.js} +2 -2
  300. package/dist/{TextfieldWidget-DMBQwtnb.js.map → TextfieldWidget-CIBo7Dau.js.map} +1 -1
  301. package/dist/TimeWidget-CLuOYfPP.js +43 -0
  302. package/dist/TimeWidget-CLuOYfPP.js.map +1 -0
  303. package/dist/TimeWidget-RYL7zDoC.cjs +2 -0
  304. package/dist/TimeWidget-RYL7zDoC.cjs.map +1 -0
  305. package/dist/{TitleWidget-V1FGI8l3.js → TitleWidget-BTHKLAsb.js} +2 -2
  306. package/dist/{TitleWidget-V1FGI8l3.js.map → TitleWidget-BTHKLAsb.js.map} +1 -1
  307. package/dist/{TitleWidget-CfFyUkSu.cjs → TitleWidget-DVWOhZqJ.cjs} +2 -2
  308. package/dist/{TitleWidget-CfFyUkSu.cjs.map → TitleWidget-DVWOhZqJ.cjs.map} +1 -1
  309. package/dist/{ToolsTab-jUNdj09m.cjs → ToolsTab-D4LFT4tV.cjs} +2 -2
  310. package/dist/{ToolsTab-jUNdj09m.cjs.map → ToolsTab-D4LFT4tV.cjs.map} +1 -1
  311. package/dist/{ToolsTab-7qOQPnN3.js → ToolsTab-D5yhjVM0.js} +3 -3
  312. package/dist/{ToolsTab-7qOQPnN3.js.map → ToolsTab-D5yhjVM0.js.map} +1 -1
  313. package/dist/{TopBar-DdOFDiCo.cjs → TopBar-DUdrFsMv.cjs} +2 -2
  314. package/dist/{TopBar-DdOFDiCo.cjs.map → TopBar-DUdrFsMv.cjs.map} +1 -1
  315. package/dist/{TopBar-BkwvK0oj.js → TopBar-DzxJ69Tt.js} +2 -2
  316. package/dist/{TopBar-BkwvK0oj.js.map → TopBar-DzxJ69Tt.js.map} +1 -1
  317. package/dist/{UpgradeToEnterpriseDialog-CEUcvlkx.js → UpgradeToEnterpriseDialog-Bf6rEOgp.js} +2 -2
  318. package/dist/{UpgradeToEnterpriseDialog-CEUcvlkx.js.map → UpgradeToEnterpriseDialog-Bf6rEOgp.js.map} +1 -1
  319. package/dist/{UpgradeToEnterpriseDialog-CP-jJxU4.cjs → UpgradeToEnterpriseDialog-CujyHt2o.cjs} +2 -2
  320. package/dist/{UpgradeToEnterpriseDialog-CP-jJxU4.cjs.map → UpgradeToEnterpriseDialog-CujyHt2o.cjs.map} +1 -1
  321. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-CX-SWpru.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.cjs} +77 -77
  322. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-CX-SWpru.cjs.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-Bjn8x8eE.cjs.map} +1 -1
  323. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-D9LFRi0t.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js} +5471 -5449
  324. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-D9LFRi0t.js.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-NXWdTcR2.js.map} +1 -1
  325. package/dist/{VWidget-rAFU-0vj.js → VWidget-BcwkHuIT.js} +3 -3
  326. package/dist/{VWidget-rAFU-0vj.js.map → VWidget-BcwkHuIT.js.map} +1 -1
  327. package/dist/{VWidget-BJArPtqI.cjs → VWidget-CbdjSkP3.cjs} +2 -2
  328. package/dist/{VWidget-BJArPtqI.cjs.map → VWidget-CbdjSkP3.cjs.map} +1 -1
  329. package/dist/{ValueWidget-BI3uXmda.js → ValueWidget-BubIamVx.js} +4 -4
  330. package/dist/{ValueWidget-BI3uXmda.js.map → ValueWidget-BubIamVx.js.map} +1 -1
  331. package/dist/{ValueWidget-CwuH7beM.cjs → ValueWidget-CgAl2Av2.cjs} +2 -2
  332. package/dist/{ValueWidget-CwuH7beM.cjs.map → ValueWidget-CgAl2Av2.cjs.map} +1 -1
  333. package/dist/{ValuelimitsbarWidget-BGSJLpw4.js → ValuelimitsbarWidget-DKTrV1RT.js} +4 -4
  334. package/dist/{ValuelimitsbarWidget-BGSJLpw4.js.map → ValuelimitsbarWidget-DKTrV1RT.js.map} +1 -1
  335. package/dist/{ValuelimitsbarWidget-BSkGhA_y.cjs → ValuelimitsbarWidget-Dn_sS0zt.cjs} +2 -2
  336. package/dist/{ValuelimitsbarWidget-BSkGhA_y.cjs.map → ValuelimitsbarWidget-Dn_sS0zt.cjs.map} +1 -1
  337. package/dist/{ValuelimitscolumnWidget-BXdPahDO.cjs → ValuelimitscolumnWidget-CGhifOZI.cjs} +2 -2
  338. package/dist/{ValuelimitscolumnWidget-BXdPahDO.cjs.map → ValuelimitscolumnWidget-CGhifOZI.cjs.map} +1 -1
  339. package/dist/{ValuelimitscolumnWidget-CaNjHy4v.js → ValuelimitscolumnWidget-D8JIK4Zi.js} +4 -4
  340. package/dist/{ValuelimitscolumnWidget-CaNjHy4v.js.map → ValuelimitscolumnWidget-D8JIK4Zi.js.map} +1 -1
  341. package/dist/{ValuerangebarWidget-Do40-aaL.js → ValuerangebarWidget-D8hVKp0l.js} +4 -4
  342. package/dist/{ValuerangebarWidget-Do40-aaL.js.map → ValuerangebarWidget-D8hVKp0l.js.map} +1 -1
  343. package/dist/{ValuerangebarWidget-DvWGqBNM.cjs → ValuerangebarWidget-DPtR-Dla.cjs} +2 -2
  344. package/dist/{ValuerangebarWidget-DvWGqBNM.cjs.map → ValuerangebarWidget-DPtR-Dla.cjs.map} +1 -1
  345. package/dist/{VerticalWidget-DZqghqIm.js → VerticalWidget-DMp3DXGa.js} +2 -2
  346. package/dist/{VerticalWidget-DZqghqIm.js.map → VerticalWidget-DMp3DXGa.js.map} +1 -1
  347. package/dist/{VerticalWidget-y238HI2A.cjs → VerticalWidget-DScGTfwX.cjs} +2 -2
  348. package/dist/{VerticalWidget-y238HI2A.cjs.map → VerticalWidget-DScGTfwX.cjs.map} +1 -1
  349. package/dist/{VerticalboxWidget--dgKnG5Z.cjs → VerticalboxWidget-CIJ1c7WU.cjs} +2 -2
  350. package/dist/{VerticalboxWidget--dgKnG5Z.cjs.map → VerticalboxWidget-CIJ1c7WU.cjs.map} +1 -1
  351. package/dist/{VerticalboxWidget-CQ__4FcS.js → VerticalboxWidget-CVf1d_3_.js} +5 -5
  352. package/dist/{VerticalboxWidget-CQ__4FcS.js.map → VerticalboxWidget-CVf1d_3_.js.map} +1 -1
  353. package/dist/{Widget-DdxHKVWn.cjs → Widget-Btu2EoLT.cjs} +2 -2
  354. package/dist/{Widget-DdxHKVWn.cjs.map → Widget-Btu2EoLT.cjs.map} +1 -1
  355. package/dist/{Widget-6-Nvewdp.js → Widget-D4rzBHnr.js} +2 -2
  356. package/dist/{Widget-6-Nvewdp.js.map → Widget-D4rzBHnr.js.map} +1 -1
  357. package/dist/components.cjs +3 -3
  358. package/dist/components.cjs.map +1 -1
  359. package/dist/components.js +383 -218
  360. package/dist/components.js.map +1 -1
  361. package/dist/plugins.cjs.map +1 -1
  362. package/dist/plugins.js.map +1 -1
  363. package/dist/{settings-BCE3SW-9.cjs → settings-B9vbjzwV.cjs} +2 -2
  364. package/dist/{settings-BCE3SW-9.cjs.map → settings-B9vbjzwV.cjs.map} +1 -1
  365. package/dist/{settings-CHPWZcnU.js → settings-Ctcx_wMT.js} +2 -2
  366. package/dist/{settings-CHPWZcnU.js.map → settings-Ctcx_wMT.js.map} +1 -1
  367. package/dist/tools/admin.cjs +4 -5
  368. package/dist/tools/admin.cjs.map +1 -1
  369. package/dist/tools/admin.js +936 -823
  370. package/dist/tools/admin.js.map +1 -1
  371. package/dist/tools/base.cjs +1 -1
  372. package/dist/tools/base.js +3 -3
  373. package/dist/tools/calendar.cjs +1 -1
  374. package/dist/tools/calendar.js +1 -1
  375. package/dist/tools/scriptrunner.cjs +8 -8
  376. package/dist/tools/scriptrunner.cjs.map +1 -1
  377. package/dist/tools/scriptrunner.js +905 -976
  378. package/dist/tools/scriptrunner.js.map +1 -1
  379. package/dist/vue-common.css +1 -1
  380. package/dist/widgets.cjs +1 -1
  381. package/dist/widgets.js +64 -64
  382. package/package.json +4 -4
  383. package/dist/EventListDialog-BshKrOuQ.js.map +0 -1
  384. package/dist/EventListDialog-D0iBpLSR.cjs +0 -2
  385. package/dist/EventListDialog-D0iBpLSR.cjs.map +0 -1
  386. package/dist/Graph-kmTrth08.cjs +0 -2
  387. package/dist/Openc3Screen-CDwAWaTl.js.map +0 -1
  388. package/dist/Openc3Screen-CKs-49JN.cjs +0 -6
  389. package/dist/Openc3Screen-CKs-49JN.cjs.map +0 -1
  390. package/dist/SettingsTab-CTd3_Ipy.js.map +0 -1
  391. package/dist/SettingsTab-DMPRJELP.cjs +0 -3
  392. package/dist/SettingsTab-DMPRJELP.cjs.map +0 -1
  393. package/dist/TargetPacketItemChooser-B0IVMSib.cjs +0 -2
  394. package/dist/TargetPacketItemChooser-B0IVMSib.cjs.map +0 -1
  395. package/dist/TargetPacketItemChooser-D5h9Octy.js.map +0 -1
  396. package/dist/TimeWidget-CWLJZ2bt.js +0 -40
  397. package/dist/TimeWidget-CWLJZ2bt.js.map +0 -1
  398. package/dist/TimeWidget-W-flXfLb.cjs +0 -2
  399. package/dist/TimeWidget-W-flXfLb.cjs.map +0 -1
@@ -1,10 +1,10 @@
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-B9m73Gqm.js";
4
- import { f as Pe, a as N } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_dda5adfc_lang-D9LFRi0t.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-BkwvK0oj.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
  },
@@ -24,8 +24,8 @@ const Be = {
24
24
  get() {
25
25
  return this.modelValue;
26
26
  },
27
- set(t) {
28
- this.$emit("update:modelValue", t);
27
+ set(e) {
28
+ this.$emit("update:modelValue", e);
29
29
  }
30
30
  },
31
31
  listData: function() {
@@ -34,15 +34,15 @@ const Be = {
34
34
  },
35
35
  methods: {
36
36
  parseGithub: function() {
37
- const t = /\w+.gem/;
38
- return this.response.tree.filter((e) => t.exec(e.path)).map((e) => ({
39
- name: e.path,
40
- 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}`
41
41
  }));
42
42
  },
43
43
  getResponse: function() {
44
- this.disableSearch = !0, Fe.get(this.url).then((t) => {
45
- this.response = t.data;
44
+ this.disableSearch = !0, Pt.get(this.url).then((e) => {
45
+ this.response = e.data;
46
46
  }), setTimeout(() => {
47
47
  this.disableSearch = !1;
48
48
  }, 1e4);
@@ -50,65 +50,65 @@ const Be = {
50
50
  searchGithub: function() {
51
51
  this.type = "github", this.url = "https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1", this.getResponse();
52
52
  },
53
- downloadGem: function(t) {
54
- const e = document.createElement("a");
55
- 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();
56
56
  }
57
57
  }
58
- }, qe = { class: "pa-3" }, Ue = { class: "px-2" }, je = {
58
+ }, Yt = { class: "pa-3" }, zt = { class: "px-2" }, Kt = {
59
59
  key: 0,
60
60
  class: "mt-4"
61
- }, Ye = {
61
+ }, Qt = {
62
62
  key: 1,
63
63
  class: "mt-4"
64
64
  };
65
- function ze(t, e, n, o, i, l) {
66
- 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"), b = p("v-card"), S = p("v-dialog");
67
- return L(), T(S, {
68
- modelValue: l.show,
69
- "onUpdate:modelValue": e[0] || (e[0] = (_) => l.show = _),
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 = _),
70
70
  width: "600"
71
71
  }, {
72
- default: g(() => [
73
- f(b, null, {
74
- default: g(() => [
75
- f(s, { height: "24" }, {
76
- default: g(() => [
77
- f(r),
78
- e[1] || (e[1] = R("span", null, " Download Gems ", -1)),
79
- 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)
80
80
  ]),
81
81
  _: 1
82
82
  }),
83
- f(C, null, {
84
- default: g(() => [
85
- R("div", qe, [
83
+ f(E, null, {
84
+ default: h(() => [
85
+ R("div", Yt, [
86
86
  f(a, { class: "my-2" }, {
87
- default: g(() => [...e[2] || (e[2] = [
88
- w(" Select a download option ", -1)
87
+ default: h(() => [...t[2] || (t[2] = [
88
+ S(" Select a download option ", -1)
89
89
  ])]),
90
90
  _: 1
91
91
  }),
92
92
  f(a, null, {
93
- default: g(() => [
93
+ default: h(() => [
94
94
  f(d, null, {
95
- default: g(() => [
96
- R("div", Ue, [
95
+ default: h(() => [
96
+ R("div", zt, [
97
97
  f(u, {
98
98
  block: "",
99
99
  "data-test": "searchGithub",
100
100
  color: "primary",
101
101
  disabled: i.disableSearch,
102
- onClick: l.searchGithub
102
+ onClick: s.searchGithub
103
103
  }, {
104
- default: g(() => [
105
- e[4] || (e[4] = w(" Github ", -1)),
104
+ default: h(() => [
105
+ t[4] || (t[4] = S(" Github ", -1)),
106
106
  f(c, {
107
107
  end: "",
108
108
  theme: "dark"
109
109
  }, {
110
- default: g(() => [...e[3] || (e[3] = [
111
- w(" mdi-github ", -1)
110
+ default: h(() => [...t[3] || (t[3] = [
111
+ S(" mdi-github ", -1)
112
112
  ])]),
113
113
  _: 1
114
114
  })
@@ -123,40 +123,40 @@ function ze(t, e, n, o, i, l) {
123
123
  _: 1
124
124
  }),
125
125
  f(a, { class: "mt-5" }, {
126
- default: g(() => [...e[5] || (e[5] = [
127
- w(" Community Gems ", -1)
126
+ default: h(() => [...t[5] || (t[5] = [
127
+ S(" Community Gems ", -1)
128
128
  ])]),
129
129
  _: 1
130
130
  }),
131
- l.listData.length < 1 ? (L(), V("div", je, [
131
+ s.listData.length < 1 ? (C(), M("div", Kt, [
132
132
  f(a, { class: "mx-2" }, {
133
- default: g(() => [...e[6] || (e[6] = [
133
+ default: h(() => [...t[6] || (t[6] = [
134
134
  R("span", null, " I’m sorry, Dave. No gems available.... ", -1)
135
135
  ])]),
136
136
  _: 1
137
137
  })
138
- ])) : (L(), V("div", Ye, [
139
- (L(!0), V(P, null, G(l.listData, (_, E) => (L(), V("div", { key: E }, [
140
- f(v, null, {
141
- default: g(() => [
142
- f(h, null, {
143
- default: g(() => [
144
- w(O(_.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)
145
145
  ]),
146
146
  _: 2
147
147
  }, 1024),
148
- f(v, { icon: "" }, {
149
- default: g(() => [
150
- i.activeDownload ? (L(), T(m, {
148
+ f(b, { icon: "" }, {
149
+ default: h(() => [
150
+ i.activeDownload ? (C(), x(m, {
151
151
  key: 0,
152
152
  indeterminate: "",
153
153
  color: "primary"
154
- })) : (L(), T(u, {
154
+ })) : (C(), x(u, {
155
155
  key: 1,
156
156
  icon: "mdi-cloud-download",
157
157
  variant: "text",
158
158
  disabled: i.activeDownload,
159
- onClick: (I) => l.downloadGem(_)
159
+ onClick: (k) => s.downloadGem(_)
160
160
  }, null, 8, ["disabled", "onClick"]))
161
161
  ]),
162
162
  _: 2
@@ -164,7 +164,7 @@ function ze(t, e, n, o, i, l) {
164
164
  ]),
165
165
  _: 2
166
166
  }, 1024),
167
- 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)
168
168
  ]))), 128))
169
169
  ]))
170
170
  ])
@@ -178,7 +178,7 @@ function ze(t, e, n, o, i, l) {
178
178
  _: 1
179
179
  }, 8, ["modelValue"]);
180
180
  }
181
- const qt = /* @__PURE__ */ W(Be, [["render", ze]]), Ke = {
181
+ const je = /* @__PURE__ */ K(Wt, [["render", Jt]]), Xt = {
182
182
  props: {
183
183
  modelValue: Boolean,
184
184
  plugin: {
@@ -203,18 +203,18 @@ const qt = /* @__PURE__ */ W(Be, [["render", ze]]), Ke = {
203
203
  get() {
204
204
  return this.modelValue;
205
205
  },
206
- set(t) {
207
- this.$emit("update:modelValue", t);
206
+ set(e) {
207
+ this.$emit("update:modelValue", e);
208
208
  }
209
209
  }
210
210
  },
211
211
  created() {
212
- for (const t of this.targets)
213
- Pe.get(`/openc3-api/targets/${t.name}/modified_files`).then(
214
- (e) => {
215
- e.data.length !== 0 && this.modifiedTargets.push({
216
- name: t.name,
217
- 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
218
218
  });
219
219
  }
220
220
  );
@@ -224,45 +224,45 @@ const qt = /* @__PURE__ */ W(Be, [["render", ze]]), Ke = {
224
224
  this.show = !1, this.$emit("cancel");
225
225
  }
226
226
  }
227
- }, We = { class: "file-list-container" };
228
- function Qe(t, e, n, o, i, l) {
229
- 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");
230
- return L(), T(C, {
231
- modelValue: l.show,
232
- "onUpdate:modelValue": e[2] || (e[2] = (b) => l.show = b),
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),
233
233
  persistent: "",
234
234
  width: "600",
235
- onKeydown: xe(l.cancel, ["esc"])
235
+ onKeydown: It(s.cancel, ["esc"])
236
236
  }, {
237
- default: g(() => [
238
- f(x, null, {
239
- default: g(() => [
240
- f(s, { height: "24" }, {
241
- default: g(() => [
242
- f(r),
243
- e[3] || (e[3] = R("span", null, " Modified Plugin ", -1)),
244
- 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)
245
245
  ]),
246
246
  _: 1
247
247
  }),
248
- f(h, { class: "pa-3 card-container" }, {
249
- default: g(() => [
250
- R("div", null, " Plugin " + O(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
251
- (L(!0), V(P, null, G(i.modifiedTargets, (b, S) => (L(), T(u, {
252
- 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: $,
253
253
  lines: "two"
254
254
  }, {
255
- default: g(() => [
255
+ default: h(() => [
256
256
  f(a, null, {
257
- default: g(() => [
258
- w(O(b.name), 1)
257
+ default: h(() => [
258
+ S(V(v.name), 1)
259
259
  ]),
260
260
  _: 2
261
261
  }, 1024),
262
- R("div", We, [
263
- (L(!0), V(P, null, G(b.files, (_, E) => (L(), T(c, { key: E }, {
264
- default: g(() => [
265
- w(O(_), 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)
266
266
  ]),
267
267
  _: 2
268
268
  }, 1024))), 128))
@@ -272,7 +272,7 @@ function Qe(t, e, n, o, i, l) {
272
272
  }, 1024))), 128)),
273
273
  f(d, {
274
274
  modelValue: i.deleteModified,
275
- "onUpdate:modelValue": e[0] || (e[0] = (b) => i.deleteModified = b),
275
+ "onUpdate:modelValue": t[0] || (t[0] = (v) => i.deleteModified = v),
276
276
  label: "DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",
277
277
  color: "error",
278
278
  "data-test": "modified-plugin-delete-checkbox"
@@ -280,28 +280,28 @@ function Qe(t, e, n, o, i, l) {
280
280
  ]),
281
281
  _: 1
282
282
  }),
283
- f(v, { class: "px-2" }, {
284
- default: g(() => [
285
- f(r),
283
+ f(b, { class: "px-2" }, {
284
+ default: h(() => [
285
+ f(o),
286
286
  f(m, {
287
287
  variant: "outlined",
288
288
  "data-test": "modified-plugin-cancel",
289
- onClick: l.cancel
289
+ onClick: s.cancel
290
290
  }, {
291
- default: g(() => [...e[4] || (e[4] = [
292
- w(" Cancel ", -1)
291
+ default: h(() => [...t[4] || (t[4] = [
292
+ S(" Cancel ", -1)
293
293
  ])]),
294
294
  _: 1
295
295
  }, 8, ["onClick"]),
296
296
  f(m, {
297
297
  variant: "flat",
298
298
  "data-test": "modified-plugin-submit",
299
- onClick: e[1] || (e[1] = () => {
300
- l.show = !1, t.$emit("submit", i.deleteModified);
299
+ onClick: t[1] || (t[1] = () => {
300
+ s.show = !1, e.$emit("submit", i.deleteModified);
301
301
  })
302
302
  }, {
303
- default: g(() => [...e[5] || (e[5] = [
304
- w(" Confirm ", -1)
303
+ default: h(() => [...t[5] || (t[5] = [
304
+ S(" Confirm ", -1)
305
305
  ])]),
306
306
  _: 1
307
307
  })
@@ -315,70 +315,70 @@ function Qe(t, e, n, o, i, l) {
315
315
  _: 1
316
316
  }, 8, ["modelValue", "onKeydown"]);
317
317
  }
318
- const Ut = /* @__PURE__ */ W(Ke, [["render", Qe], ["__scopeId", "data-v-fb16376a"]]), Je = [
318
+ const We = /* @__PURE__ */ K(Xt, [["render", te], ["__scopeId", "data-v-fb16376a"]]), ee = [
319
319
  {
320
320
  displayName: "Plugins",
321
321
  name: "PluginsTab",
322
322
  path: "plugins",
323
- component: () => import("../PluginsTab-zR9eZuvc.js")
323
+ component: () => import("../PluginsTab-Dff_0j26.js")
324
324
  },
325
325
  {
326
326
  displayName: "Targets",
327
327
  name: "TargetsTab",
328
328
  path: "targets",
329
- component: () => import("../TargetsTab-b35HgnRl.js")
329
+ component: () => import("../TargetsTab-C7Pn5-19.js")
330
330
  },
331
331
  {
332
332
  displayName: "Interfaces",
333
333
  name: "InterfacesTab",
334
334
  path: "interfaces",
335
- component: () => import("../InterfacesTab-B9ApLB5q.js")
335
+ component: () => import("../InterfacesTab-C310FRIP.js")
336
336
  },
337
337
  {
338
338
  displayName: "Routers",
339
339
  name: "RoutersTab",
340
340
  path: "routers",
341
- component: () => import("../RoutersTab-C0UHSj-S.js")
341
+ component: () => import("../RoutersTab-DaWde6np.js")
342
342
  },
343
343
  {
344
344
  displayName: "Microservices",
345
345
  name: "MicroservicesTab",
346
346
  path: "microservices",
347
- component: () => import("../MicroservicesTab-DG3rdksb.js")
347
+ component: () => import("../MicroservicesTab-xpDXKoa-.js")
348
348
  },
349
349
  {
350
350
  displayName: "Packages",
351
351
  name: "PackagesTab",
352
352
  path: "packages",
353
- component: () => import("../PackagesTab-Bui5q3rX.js")
353
+ component: () => import("../PackagesTab-rzc4hqOb.js")
354
354
  },
355
355
  {
356
356
  displayName: "Tools",
357
357
  name: "ToolsTab",
358
358
  path: "tools",
359
- component: () => import("../ToolsTab-7qOQPnN3.js")
359
+ component: () => import("../ToolsTab-D5yhjVM0.js")
360
360
  },
361
361
  {
362
362
  displayName: "Redis",
363
363
  name: "RedisTab",
364
364
  path: "redis",
365
- component: () => import("../RedisTab-DuO-zUV3.js")
365
+ component: () => import("../RedisTab-C3yjh0JX.js")
366
366
  },
367
367
  {
368
368
  displayName: "Secrets",
369
369
  name: "SecretsTab",
370
370
  path: "secrets",
371
- component: () => import("../SecretsTab-c5g8Zk4g.js")
371
+ component: () => import("../SecretsTab-Dhal1RCq.js")
372
372
  },
373
373
  {
374
374
  displayName: "Settings",
375
375
  name: "SettingsTab",
376
376
  path: "settings",
377
- component: () => import("../SettingsTab-CTd3_Ipy.js")
377
+ component: () => import("../SettingsTab-Dtj_AlEW.js")
378
378
  }
379
- ], Xe = {
379
+ ], ne = {
380
380
  components: {
381
- TopBar: Ge
381
+ TopBar: jt
382
382
  },
383
383
  data() {
384
384
  return {
@@ -388,31 +388,31 @@ const Ut = /* @__PURE__ */ W(Ke, [["render", Qe], ["__scopeId", "data-v-fb16376a
388
388
  },
389
389
  computed: {
390
390
  tabs: function() {
391
- return Je.map((t) => ({
392
- displayName: t.displayName,
393
- path: { name: t.name }
391
+ return ee.map((e) => ({
392
+ displayName: e.displayName,
393
+ path: { name: e.name }
394
394
  }));
395
395
  }
396
396
  }
397
397
  };
398
- function Ze(t, e, n, o, i, l) {
399
- const r = p("top-bar"), s = p("v-tab"), a = p("v-tabs"), c = p("router-view"), u = p("v-card");
400
- return L(), V("div", null, [
401
- 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"]),
402
402
  f(u, null, {
403
- default: g(() => [
403
+ default: h(() => [
404
404
  f(a, {
405
405
  modelValue: i.curTab,
406
- "onUpdate:modelValue": e[0] || (e[0] = (d) => i.curTab = d),
406
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => i.curTab = d),
407
407
  "fixed-tabs": ""
408
408
  }, {
409
- default: g(() => [
410
- (L(!0), V(P, null, G(l.tabs, (d, h) => (L(), T(s, {
411
- key: h,
409
+ default: h(() => [
410
+ (C(!0), M(P, null, B(s.tabs, (d, g) => (C(), x(l, {
411
+ key: g,
412
412
  to: d.path
413
413
  }, {
414
- default: g(() => [
415
- w(O(d.displayName), 1)
414
+ default: h(() => [
415
+ S(V(d.displayName), 1)
416
416
  ]),
417
417
  _: 2
418
418
  }, 1032, ["to"]))), 128))
@@ -425,432 +425,432 @@ function Ze(t, e, n, o, i, l) {
425
425
  })
426
426
  ]);
427
427
  }
428
- const jt = /* @__PURE__ */ W(Xe, [["render", Ze]]);
429
- function te(t) {
430
- const [e, n] = t;
431
- return [e, n];
428
+ const Ye = /* @__PURE__ */ K(ne, [["render", ie]]);
429
+ function it(e) {
430
+ const [t, n] = e;
431
+ return [t, n];
432
432
  }
433
- function le(t, e) {
434
- let n = t, o = e;
435
- const i = n.length, l = o.length;
436
- 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)
437
437
  return 0;
438
- i > l ? n = n.substring(i - l) : i < l && (o = o.substring(0, i));
439
- const r = Math.min(i, l);
440
- if (n === o)
441
- return r;
442
- 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;
443
443
  for (let c = 0; c !== -1; ) {
444
- const u = n.substring(r - a);
445
- if (c = o.indexOf(u), c === -1)
446
- return s;
447
- 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++);
448
448
  }
449
- return s;
449
+ return l;
450
450
  }
451
- function ne(t, e) {
452
- if (!t || !e || t[0] !== e[0])
451
+ function ot(e, t) {
452
+ if (!e || !t || e[0] !== t[0])
453
453
  return 0;
454
- 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;
455
455
  for (; n < i; )
456
- 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);
457
457
  return i;
458
458
  }
459
- function Q(t, e) {
460
- 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])
461
461
  return 0;
462
- 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;
463
463
  for (; n < i; )
464
- 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);
465
465
  return i;
466
466
  }
467
- function et(t) {
468
- const e = t.charCodeAt(0);
469
- return e >= 55296 && e <= 56319;
470
- }
471
- function tt(t) {
472
- const e = t.charCodeAt(0);
473
- return e >= 56320 && e <= 57343;
474
- }
475
- function nt(t, e, n) {
476
- 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);
477
- for (let C = 0; C < s; C++)
478
- a[C] = -1, c[C] = -1;
479
- a[r + 1] = 0, c[r + 1] = 0;
480
- const u = o - i, d = u % 2 !== 0;
481
- let h = 0, m = 0, v = 0, x = 0;
482
- for (let C = 0; C < l && !(Date.now() > n); C++) {
483
- for (let b = -C + h; b <= C - m; b += 2) {
484
- const S = r + b;
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
485
  let _;
486
- b === -C || b !== C && a[S - 1] < a[S + 1] ? _ = a[S + 1] : _ = a[S - 1] + 1;
487
- let E = _ - b;
488
- for (; _ < o && E < i && t.charAt(_) === e.charAt(E); )
489
- _++, E++;
490
- if (a[S] = _, _ > o)
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)
491
491
  m += 2;
492
- else if (E > i)
493
- h += 2;
492
+ else if (y > i)
493
+ g += 2;
494
494
  else if (d) {
495
- const I = r + u - b;
496
- if (I >= 0 && I < s && c[I] !== -1) {
497
- const A = o - c[I];
495
+ const k = o + u - v;
496
+ if (k >= 0 && k < l && c[k] !== -1) {
497
+ const A = r - c[k];
498
498
  if (_ >= A)
499
- return re(t, e, _, E, n);
499
+ return at(e, t, _, y, n);
500
500
  }
501
501
  }
502
502
  }
503
- for (let b = -C + v; b <= C - x; b += 2) {
504
- const S = r + b;
503
+ for (let v = -E + b; v <= E - D; v += 2) {
504
+ const $ = o + v;
505
505
  let _;
506
- b === -C || b !== C && c[S - 1] < c[S + 1] ? _ = c[S + 1] : _ = c[S - 1] + 1;
507
- let E = _ - b;
508
- for (; _ < o && E < i && t.charAt(o - _ - 1) === e.charAt(i - E - 1); )
509
- _++, E++;
510
- if (c[S] = _, _ > o)
511
- x += 2;
512
- else if (E > i)
513
- v += 2;
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;
514
514
  else if (!d) {
515
- const I = r + u - b;
516
- if (I >= 0 && I < s && a[I] !== -1) {
517
- const A = a[I], J = r + A - I;
518
- if (_ = o - _, A >= _)
519
- 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);
520
520
  }
521
521
  }
522
522
  }
523
523
  }
524
524
  return [
525
- [k, t],
526
- [D, e]
525
+ [O, e],
526
+ [I, t]
527
527
  ];
528
528
  }
529
- function re(t, e, n, o, i) {
530
- 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 });
531
531
  return c.concat(u);
532
532
  }
533
- function it(t, e, n = 1) {
533
+ function le(e, t, n = 1) {
534
534
  if (n <= 0)
535
535
  return null;
536
- const o = t.length > e.length ? t : e, i = t.length > e.length ? e : t;
537
- 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)
538
538
  return null;
539
- const l = se(o, i, Math.ceil(o.length / 4)), r = se(o, i, Math.ceil(o.length / 2));
540
- let s;
541
- if (l && r)
542
- 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;
543
543
  else {
544
- if (!l && !r)
544
+ if (!s && !o)
545
545
  return null;
546
- r ? l || (s = r) : s = l;
546
+ o ? s || (l = o) : l = s;
547
547
  }
548
- if (!s)
548
+ if (!l)
549
549
  throw new Error("Unable to find a half match.");
550
550
  let a, c, u, d;
551
- 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]);
552
- const h = s[4];
553
- return [a, c, u, d, h];
554
- }
555
- function se(t, e, n) {
556
- const o = t.slice(n, n + Math.floor(t.length / 4));
557
- let i = -1, l = "", r, s, a, c;
558
- for (; (i = e.indexOf(o, i + 1)) !== -1; ) {
559
- const u = ne(t.slice(n), e.slice(i)), d = Q(t.slice(0, n), e.slice(0, i));
560
- 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));
561
561
  }
562
- return l.length * 2 >= t.length ? [
563
- r || "",
564
- s || "",
562
+ return s.length * 2 >= e.length ? [
563
+ o || "",
564
+ l || "",
565
565
  a || "",
566
566
  c || "",
567
- l || ""
567
+ s || ""
568
568
  ] : null;
569
569
  }
570
- function ot(t, e) {
571
- for (let n = 0; n < t.length; n++) {
572
- const o = t[n][1], i = [];
573
- for (let l = 0; l < o.length; l++)
574
- i[l] = e[o.charCodeAt(l)];
575
- 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("");
576
576
  }
577
577
  }
578
- function lt(t, e) {
579
- const n = [], o = {};
578
+ function ce(e, t) {
579
+ const n = [], r = {};
580
580
  n[0] = "";
581
581
  function i(a) {
582
- let c = "", u = 0, d = -1, h = n.length;
582
+ let c = "", u = 0, d = -1, g = n.length;
583
583
  for (; d < a.length - 1; ) {
584
584
  d = a.indexOf(`
585
585
  `, u), d === -1 && (d = a.length - 1);
586
586
  let m = a.slice(u, d + 1);
587
- (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;
588
588
  }
589
589
  return c;
590
590
  }
591
- let l = 4e4;
592
- const r = i(t);
593
- l = 65535;
594
- const s = i(e);
595
- return { chars1: r, chars2: s, lineArray: n };
596
- }
597
- function rt(t, e, n) {
598
- let o = t, i = e;
599
- const l = lt(o, i);
600
- o = l.chars1, i = l.chars2;
601
- const r = l.lineArray;
602
- 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, {
603
603
  checkLines: !1,
604
604
  deadline: n.deadline
605
605
  });
606
- ot(s, r), s = Ie(s), s.push([$, ""]);
607
- let a = 0, c = 0, u = 0, d = "", h = "";
608
- for (; a < s.length; ) {
609
- switch (s[a][0]) {
610
- case D:
611
- 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];
612
612
  break;
613
- case k:
614
- c++, d += s[a][1];
613
+ case O:
614
+ c++, d += l[a][1];
615
615
  break;
616
- case $:
616
+ case w:
617
617
  if (c >= 1 && u >= 1) {
618
- s.splice(a - c - u, c + u), a = a - c - u;
619
- const m = F(d, h, {
618
+ l.splice(a - c - u, c + u), a = a - c - u;
619
+ const m = H(d, g, {
620
620
  checkLines: !1,
621
621
  deadline: n.deadline
622
622
  });
623
- for (let v = m.length - 1; v >= 0; v--)
624
- s.splice(a, 0, m[v]);
623
+ for (let b = m.length - 1; b >= 0; b--)
624
+ l.splice(a, 0, m[b]);
625
625
  a += m.length;
626
626
  }
627
- u = 0, c = 0, d = "", h = "";
627
+ u = 0, c = 0, d = "", g = "";
628
628
  break;
629
629
  default:
630
630
  throw new Error("Unknown diff operation.");
631
631
  }
632
632
  a++;
633
633
  }
634
- return s.pop(), s;
634
+ return l.pop(), l;
635
635
  }
636
- function st(t, e, n) {
637
- let o;
638
- if (!t)
639
- return [[D, e]];
636
+ function de(e, t, n) {
637
+ let r;
640
638
  if (!e)
641
- return [[k, t]];
642
- const i = t.length > e.length ? t : e, l = t.length > e.length ? e : t, r = i.indexOf(l);
643
- if (r !== -1)
644
- return o = [
645
- [D, i.substring(0, r)],
646
- [$, l],
647
- [D, i.substring(r + l.length)]
648
- ], t.length > e.length && (o[0][0] = k, o[2][0] = k), o;
649
- 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)
650
650
  return [
651
- [k, t],
652
- [D, e]
651
+ [O, e],
652
+ [I, t]
653
653
  ];
654
- const s = it(t, e);
655
- if (s) {
656
- 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);
657
- 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);
658
658
  }
659
- return n.checkLines && t.length > 100 && e.length > 100 ? rt(t, e, n) : nt(t, e, n.deadline);
660
- }
661
- 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) => {
662
- for (var n in e || (e = {}))
663
- ct.call(e, n) && ce(t, n, e[n]);
664
- if (ae)
665
- for (var n of ae(e))
666
- ut.call(e, n) && ce(t, n, e[n]);
667
- 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;
668
668
  };
669
- const k = -1, D = 1, $ = 0;
670
- function ht(t, e, n) {
671
- 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)
672
672
  throw new Error("Null input. (diff)");
673
- const o = F(t, e, ft(n || {}));
674
- return mt(o), o;
675
- }
676
- function F(t, e, n) {
677
- let o = t, i = e;
678
- if (o === i)
679
- return o ? [[$, o]] : [];
680
- let l = ne(o, i);
681
- const r = o.substring(0, l);
682
- o = o.substring(l), i = i.substring(l), l = Q(o, i);
683
- const s = o.substring(o.length - l);
684
- o = o.substring(0, o.length - l), i = i.substring(0, i.length - l);
685
- let a = st(o, i, n);
686
- return r && a.unshift([$, r]), s && a.push([$, s]), a = ie(a), a;
687
- }
688
- function gt(t) {
689
- let e = 1;
690
- return typeof t < "u" && (e = t <= 0 ? Number.MAX_VALUE : t), Date.now() + e * 1e3;
691
- }
692
- function ft(t) {
693
- 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({
694
694
  checkLines: !0,
695
- deadline: gt(t.timeout || 1)
696
- }, t);
695
+ deadline: _e(e.timeout || 1)
696
+ }, e);
697
697
  }
698
- function U(t, e, n) {
699
- return n === 1 ? t + e : e + t;
698
+ function j(e, t, n) {
699
+ return n === 1 ? e + t : t + e;
700
700
  }
701
- function j(t, e) {
702
- 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]];
703
703
  }
704
- function pt(t, e, n, o) {
705
- 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];
706
706
  }
707
- function ue(t, e, n) {
708
- const o = n === 1 ? -1 : 1;
709
- let i = null, l = null, r = e + n;
710
- for (; r >= 0 && r < t.length && (i === null || l === null); r += n) {
711
- 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];
712
712
  if (u.length !== 0) {
713
- if (c === D) {
714
- i === null && (i = r);
713
+ if (c === I) {
714
+ i === null && (i = o);
715
715
  continue;
716
- } else if (c === k) {
717
- l === null && (l = r);
716
+ } else if (c === O) {
717
+ s === null && (s = o);
718
718
  continue;
719
- } else if (c === $) {
720
- if (i === null && l === null) {
721
- const [d, h] = j(t[e][1], n);
722
- 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);
723
723
  return;
724
724
  }
725
725
  break;
726
726
  }
727
727
  }
728
728
  }
729
- if (i !== null && l !== null && pt(t, i, l, n)) {
730
- const [c, u] = j(t[i][1], o), [d] = j(t[l][1], o);
731
- 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);
732
732
  return;
733
733
  }
734
- const [s, a] = j(t[e][1], n);
735
- 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);
736
- }
737
- function mt(t) {
738
- for (let e = 0; e < t.length; e++) {
739
- const [n, o] = t[e];
740
- if (o.length === 0) continue;
741
- const i = o[0], l = o[o.length - 1];
742
- 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);
743
743
  }
744
- for (let e = 0; e < t.length; e++)
745
- t[e][1].length === 0 && t.splice(e, 1);
746
- }
747
- function Ie(t) {
748
- let e = t.map((d) => te(d)), n = !1;
749
- const o = [];
750
- let i = 0, l = null, r = 0, s = 0, a = 0, c = 0, u = 0;
751
- for (; r < e.length; )
752
- 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++;
753
- for (n && (e = ie(e)), e = vt(e), r = 1; r < e.length; ) {
754
- if (e[r - 1][0] === k && e[r][0] === D) {
755
- const d = e[r - 1][1], h = e[r][1], m = le(d, h), v = le(h, d);
756
- 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++;
757
757
  }
758
- r++;
758
+ o++;
759
759
  }
760
- return e;
760
+ return t;
761
761
  }
762
- const de = /[^a-zA-Z0-9]/, he = /\s/, ge = /[\r\n]/, _t = /\n\r?\n$/, bt = /^\r?\n\r?\n/;
763
- function vt(t) {
764
- const e = t.map((i) => te(i));
765
- function n(i, l) {
766
- 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)
767
767
  return 6;
768
- 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(_t), x = m && l.match(bt);
769
- 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;
770
770
  }
771
- let o = 1;
772
- for (; o < e.length - 1; ) {
773
- if (e[o - 1][0] === $ && e[o + 1][0] === $) {
774
- let i = e[o - 1][1], l = e[o][1], r = e[o + 1][1];
775
- const s = Q(i, l);
776
- if (s) {
777
- const h = l.substring(l.length - s);
778
- 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;
779
779
  }
780
- let a = i, c = l, u = r, d = n(i, l) + n(l, r);
781
- for (; l.charAt(0) === r.charAt(0); ) {
782
- i += l.charAt(0), l = l.substring(1) + r.charAt(0), r = r.substring(1);
783
- const h = n(i, l) + n(l, r);
784
- 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);
785
785
  }
786
- 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--));
787
787
  }
788
- o++;
788
+ r++;
789
789
  }
790
- return e;
790
+ return t;
791
791
  }
792
- function ie(t) {
793
- let e = t.map((c) => te(c));
794
- e.push([$, ""]);
795
- let n = 0, o = 0, i = 0, l = "", r = "", s;
796
- for (; n < e.length; )
797
- switch (e[n][0]) {
798
- case D:
799
- 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++;
800
800
  break;
801
- case k:
802
- o++, l += e[n][1], n++;
801
+ case O:
802
+ r++, s += t[n][1], n++;
803
803
  break;
804
- case $:
805
- 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(
806
806
  0,
807
- s
808
- ) : (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 = "";
809
809
  break;
810
810
  default:
811
811
  throw new Error("Unknown diff operation");
812
812
  }
813
- e[e.length - 1][1] === "" && e.pop();
813
+ t[t.length - 1][1] === "" && t.pop();
814
814
  let a = !1;
815
- for (n = 1; n < e.length - 1; )
816
- 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++;
817
- 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;
818
818
  }
819
- function Y(t) {
820
- 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;
821
821
  }
822
- function oe(t, e) {
823
- return Y(t) && Y(e) && Object.keys(e).forEach((n) => {
824
- n === "__proto__" || n === "constructor" || (Y(e[n]) ? ((!t[n] || !Y(t[n])) && (t[n] = e[n]), oe(t[n], e[n])) : Object.assign(t, {
825
- [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]
826
826
  }));
827
- }), t;
827
+ }), e;
828
828
  }
829
- function fe(t, e, n = !1) {
830
- let o = null, i = !0;
831
- return (...l) => {
832
- const r = n && i, s = () => {
833
- 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;
834
834
  };
835
- r && (i = !1, s()), o || (o = setTimeout(s, e));
835
+ o && (i = !1, l()), r || (r = setTimeout(l, t));
836
836
  };
837
837
  }
838
- function Lt(t, e) {
838
+ function ye(e, t) {
839
839
  let n;
840
- return (...o) => {
840
+ return (...r) => {
841
841
  const i = this;
842
- clearTimeout(n), n = setTimeout(() => t.apply(i, o), e);
842
+ clearTimeout(n), n = setTimeout(() => e.apply(i, r), t);
843
843
  };
844
844
  }
845
- function pe(t = "") {
846
- return t.replace(/\r\n/g, `
845
+ function _t(e = "") {
846
+ return e.replace(/\r\n/g, `
847
847
  `);
848
848
  }
849
- function me(t, e, n, o) {
850
- const i = n - t, l = t + i / 2;
851
- 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}`;
852
852
  }
853
- var y = {
853
+ var L = {
854
854
  DIFF_EQUAL: 0,
855
855
  DIFF_DELETE: -1,
856
856
  DIFF_INSERT: 1,
@@ -862,67 +862,68 @@ var y = {
862
862
  DIFF_GRANULARITY_SPECIFIC: "specific",
863
863
  DIFF_GRANULARITY_BROAD: "broad"
864
864
  };
865
- function _e(t, e) {
866
- let { mode: n } = t.options;
867
- 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;
868
- }
869
- function be(t, e) {
870
- let { theme: n } = t.options;
871
- 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;
872
- }
873
- function ke(t, e) {
874
- return t.ace.getSession().doc.getLine(e);
875
- }
876
- function yt(t) {
877
- return document.getElementById(t.options.left.id).offsetHeight;
878
- }
879
- function ve(t) {
880
- const e = document.createElement("div"), n = {
881
- class: t.className,
882
- style: `top:${t.topOffset}px`,
883
- title: t.tooltip,
884
- "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
885
885
  };
886
- for (const o in n) e.setAttribute(o, n[o]);
887
- return e.innerHTML = t.arrowContent, e;
886
+ for (const r in n) t.setAttribute(r, n[r]);
887
+ return t.innerHTML = e.arrowContent, t;
888
888
  }
889
- function Z(t, e) {
890
- 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}`);
891
891
  if (i)
892
- return i.id = i.id || o, i.id;
893
- const l = document.createElement("div");
894
- return t.appendChild(l), l.className = e, l.id = o, l.id;
895
- }
896
- function Le(t, e, n, o) {
897
- const i = t === "document" ? document : document.querySelector(t);
898
- i.addEventListener(e, (l) => {
899
- const r = i.querySelectorAll(n), { target: s } = l;
900
- for (let a = 0, c = r.length; a < c; a += 1) {
901
- let u = s;
902
- 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];
903
903
  for (; u && u !== i; )
904
- u === d && o.call(d, l), u = u.parentNode;
904
+ u === d && r.call(d, s), u = u.parentNode;
905
905
  }
906
906
  });
907
907
  }
908
- let z;
909
- function Et(t) {
910
- if (t.Range) return t.Range;
911
- const e = t.acequire || t.require;
912
- 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;
913
913
  }
914
- function K(t = {}) {
915
- if (!(this instanceof K)) return new K(t);
916
- const e = this, n = () => window ? window.ace : void 0;
917
- 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({
918
918
  ace: n(),
919
919
  mode: null,
920
920
  theme: null,
921
921
  element: null,
922
- diffGranularity: y.DIFF_GRANULARITY_BROAD,
923
- lockScrolling: !1,
922
+ diffGranularity: L.DIFF_GRANULARITY_BROAD,
923
+ lockScrolling: !0,
924
924
  showDiffs: !0,
925
925
  showConnectors: !0,
926
+ charDiffs: !0,
926
927
  maxDiffs: 5e3,
927
928
  left: {
928
929
  id: null,
@@ -943,6 +944,8 @@ function K(t = {}) {
943
944
  classes: {
944
945
  gutterID: "acediff__gutter",
945
946
  diff: "acediff__diffLine",
947
+ diffChar: "acediff__diffChar",
948
+ diffGutter: "acediff__diffGutter",
946
949
  connector: "acediff__connector",
947
950
  newCodeConnectorLink: "acediff__newCodeConnector",
948
951
  newCodeConnectorLinkContent: "&#8594;",
@@ -951,45 +954,48 @@ function K(t = {}) {
951
954
  copyRightContainer: "acediff__copy--right",
952
955
  copyLeftContainer: "acediff__copy--left"
953
956
  },
954
- connectorYOffset: 0
955
- }, t);
956
- const { ace: o } = e.options;
957
- if (!o) {
957
+ connectorYOffset: 0,
958
+ onDiffReady: null
959
+ }, e);
960
+ const { ace: r } = t.options;
961
+ if (!r) {
958
962
  const i = "No ace editor found nor supplied - `options.ace` or `window.ace` is missing";
959
963
  return console.error(i), new Error(i);
960
964
  }
961
- if (z = Et(o), !z) {
965
+ if (U = Te(r), !U) {
962
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";
963
967
  return console.error(i), new Error(i);
964
968
  }
965
- if (e.options.element === null) {
969
+ if (t.options.element === null) {
966
970
  const i = "You need to specify an element for Ace-diff - `options.element` is missing";
967
971
  return console.error(i), new Error(i);
968
972
  }
969
- if (e.options.element instanceof HTMLElement ? e.el = e.options.element : e.el = document.body.querySelector(e.options.element), !e.el) {
970
- 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}`;
971
975
  return console.error(i), new Error(i);
972
976
  }
973
- 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 = {
974
978
  left: {
975
- ace: o.edit(e.options.left.id),
979
+ ace: r.edit(t.options.left.id),
976
980
  markers: [],
977
- lineLengths: []
981
+ lineLengths: [],
982
+ diffGutters: []
978
983
  },
979
984
  right: {
980
- ace: o.edit(e.options.right.id),
985
+ ace: r.edit(t.options.right.id),
981
986
  markers: [],
982
- lineLengths: []
987
+ lineLengths: [],
988
+ diffGutters: []
983
989
  },
984
990
  editorHeight: null
985
- }, e.editors.left.ace.getSession().setMode(_e(e, y.EDITOR_LEFT)), e.editors.right.ace.getSession().setMode(_e(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(be(e, y.EDITOR_LEFT)), e.editors.right.ace.setTheme(be(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(() => {
986
- 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();
987
993
  }, 1);
988
994
  }
989
- K.prototype = {
995
+ z.prototype = {
990
996
  // allows on-the-fly changes to the AceDiff instance settings
991
- setOptions(t) {
992
- oe(this.options, t), this.diff();
997
+ setOptions(e) {
998
+ st(this.options, e), this.diff();
993
999
  },
994
1000
  getNumDiffs() {
995
1001
  return this.diffs.length;
@@ -1004,222 +1010,287 @@ K.prototype = {
1004
1010
  // our main diffing function. I actually don't think this needs to exposed:
1005
1011
  // it's called automatically, but just to be safe, it's included
1006
1012
  diff() {
1007
- const t = this.editors.left.ace.getSession().getValue(), e = this.editors.right.ace.getSession().getValue(), n = Ie(ht(e, t));
1008
- this.editors.left.lineLengths = Ee(this.editors.left), this.editors.right.lineLengths = Ee(this.editors.right);
1009
- 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 = {
1010
1016
  left: 0,
1011
1017
  right: 0
1012
1018
  };
1013
- n.forEach((l) => {
1014
- const r = l[0];
1015
- let s = l[1];
1016
- 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));
1017
- }, 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);
1018
1027
  },
1019
1028
  destroy() {
1020
- const t = this.editors.left.ace.getValue();
1029
+ const e = this.editors.left.ace.getValue();
1021
1030
  this.editors.left.ace.destroy();
1022
- let e = this.editors.left.ace.container, n = e.cloneNode(!1);
1023
- n.textContent = t, e.parentNode.replaceChild(n, e);
1024
- const o = this.editors.right.ace.getValue();
1025
- 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);
1026
1035
  const i = document.getElementById(this.options.classes.gutterID);
1027
1036
  i && (i.innerHTML = ""), this.removeEventHandlers();
1028
1037
  }
1029
1038
  };
1030
- function Ct(t) {
1031
- t.editors.left.ace.getSession().on("changeScrollTop", fe(() => {
1032
- we(t);
1033
- }, 16)), t.editors.right.ace.getSession().on("changeScrollTop", fe(() => {
1034
- 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);
1035
1050
  }, 16));
1036
- const e = t.diff.bind(t);
1037
- 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) => {
1038
- ye(t, o, y.LTR);
1039
- }), t.options.right.copyLinkEnabled && Le(`#${t.options.classes.gutterID}`, "click", `.${t.options.classes.deletedCodeConnectorLink}`, (o) => {
1040
- 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);
1041
1056
  });
1042
- const n = Lt(() => {
1043
- 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();
1044
1059
  }, 250);
1045
- window.addEventListener("resize", n), t.removeEventHandlers = () => {
1046
- window.removeEventListener("resize", n);
1060
+ window.addEventListener("resize", i), e.removeEventHandlers = () => {
1061
+ window.removeEventListener("resize", i);
1047
1062
  };
1048
1063
  }
1049
- function ye(t, e, n) {
1050
- const o = parseInt(e.target.getAttribute("data-diff-index"), 10), i = t.diffs[o];
1051
- let l, r, s, a, c, u;
1052
- 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);
1053
- let d = "";
1054
- for (let m = s; m < a; m += 1)
1055
- d += ke(l, m), m < l.ace.getSession().getLength() - 1 && (d += `
1056
- `);
1057
- const h = r.ace.getSession().getScrollTop();
1058
- r.ace.getSession().replace(new z(c, 0, u, 0), d), r.ace.getSession().setScrollTop(parseInt(h, 10)), t.diff();
1059
- }
1060
- function Ee(t) {
1061
- const e = t.ace.getSession().doc.getAllLines(), n = [];
1062
- return e.forEach((o) => {
1063
- 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);
1064
1075
  }), n;
1065
1076
  }
1066
- function Ce(t, e, n, o, i) {
1067
- const l = t.editors[e];
1068
- o < n && (o = n);
1069
- const r = `${i} ${o > n ? "lines" : "targetOnly"}`;
1070
- o > n && (o -= 1), l.markers.push(l.ace.session.addMarker(new z(n, 0, o, 1), r, "fullLine"));
1071
- }
1072
- function we(t) {
1073
- Me(t), Ve(t), St(t);
1074
- }
1075
- function Me(t) {
1076
- t.editors.left.markers.forEach((e) => {
1077
- t.editors.left.ace.getSession().removeMarker(e);
1078
- }, t), t.editors.right.markers.forEach((e) => {
1079
- t.editors.right.ace.getSession().removeMarker(e);
1080
- }, t);
1081
- }
1082
- function wt(t, e, n, o, i) {
1083
- const l = t.editors.left.ace.getSession().getScrollTop(), r = t.editors.right.ace.getSession().getScrollTop();
1084
- t.connectorYOffset = 1;
1085
- 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), b = `L${c},${u} ${m},${v}`, S = `L${d},${h} ${s},${a}`, _ = `${x} ${b} ${C} ${S}`, E = document.createElementNS(y.SVG_NS, "path");
1086
- E.setAttribute("d", _), E.setAttribute("class", t.options.classes.connector), t.gutterSVG.appendChild(E);
1087
- }
1088
- function $t(t, e, n) {
1089
- if (e.leftEndLine > e.leftStartLine && t.options.left.copyLinkEnabled) {
1090
- const o = ve({
1091
- className: t.options.classes.newCodeConnectorLink,
1092
- 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,
1093
1120
  tooltip: "Copy to right",
1094
1121
  diffIndex: n,
1095
- arrowContent: t.options.classes.newCodeConnectorLinkContent
1122
+ arrowContent: e.options.classes.newCodeConnectorLinkContent
1096
1123
  });
1097
- t.copyRightContainer.appendChild(o);
1124
+ e.copyRightContainer.appendChild(r);
1098
1125
  }
1099
- if (e.rightEndLine > e.rightStartLine && t.options.right.copyLinkEnabled) {
1100
- const o = ve({
1101
- className: t.options.classes.deletedCodeConnectorLink,
1102
- 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,
1103
1130
  tooltip: "Copy to left",
1104
1131
  diffIndex: n,
1105
- arrowContent: t.options.classes.deletedCodeConnectorLinkContent
1132
+ arrowContent: e.options.classes.deletedCodeConnectorLinkContent
1106
1133
  });
1107
- t.copyLeftContainer.appendChild(o);
1134
+ e.copyLeftContainer.appendChild(r);
1108
1135
  }
1109
1136
  }
1110
- function St(t) {
1111
- const e = t.editors.left.ace.getSession().getScrollTop(), n = t.editors.right.ace.getSession().getScrollTop();
1112
- 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`;
1113
1140
  }
1114
- function $e(t, e, n, o, i) {
1115
- let l = {};
1116
- if (e === y.DIFF_INSERT) {
1117
- let r = Se(t.editors.left, n, i), s = Te(t.editors.right, o), a = H(t.editors.right, s);
1118
- const c = H(t.editors.left, r.startLine);
1119
- 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;
1120
1147
  // dense, but this accommodates two scenarios:
1121
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
1122
1149
  // 2. where a new character is inserted at the start of a newline on the left but the line contains other stuff,
1123
1150
  // we DO want to make it a full line
1124
- (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?]
1125
1152
  a > 0 && // if the text being inserted starts mid-line
1126
- r.startChar < c && h++, l = {
1127
- leftStartLine: r.startLine,
1128
- leftEndLine: r.endLine + 1,
1153
+ o.startChar < c && g++, s = {
1154
+ leftStartLine: o.startLine,
1155
+ leftEndLine: o.endLine + 1,
1129
1156
  rightStartLine: u,
1130
- 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
1131
1166
  };
1132
1167
  } else {
1133
- let r = Se(t.editors.right, o, i), s = Te(t.editors.left, n), a = H(t.editors.left, s);
1134
- const c = H(t.editors.right, r.startLine);
1135
- 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;
1136
1171
  // dense, but this accommodates two scenarios:
1137
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
1138
1173
  // 2. where a new character is inserted at the start of a newline on the left but the line contains other stuff,
1139
1174
  // we DO want to make it a full line
1140
- (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?]
1141
1176
  a > 0 && // if the text being inserted starts mid-line
1142
- r.startChar < c && h++, l = {
1177
+ o.startChar < c && g++, s = {
1143
1178
  leftStartLine: u,
1144
- leftEndLine: u + h,
1145
- rightStartLine: r.startLine,
1146
- 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
1147
1190
  };
1148
1191
  }
1149
- return l;
1192
+ return s;
1150
1193
  }
1151
- function Se(t, e, n) {
1152
- const o = {
1194
+ function Dt(e, t, n) {
1195
+ const r = {
1153
1196
  startLine: 0,
1154
1197
  startChar: 0,
1155
1198
  endLine: 0,
1156
1199
  endChar: 0
1157
- }, i = e + n.length;
1158
- let l = 0, r = !1, s = !1;
1159
- t.lineLengths.forEach((c, u) => {
1160
- 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);
1161
- }), 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--;
1162
1205
  const a = /\n$/.test(n);
1163
- return o.startChar > 0 && a && o.endLine++, o;
1206
+ return r.startChar > 0 && a && r.endLine++, r;
1164
1207
  }
1165
- function H(t, e) {
1166
- return ke(t, e).length;
1208
+ function G(e, t) {
1209
+ return we(e, t).length;
1167
1210
  }
1168
- function Te(t, e) {
1169
- const n = t.ace.getSession().doc.getAllLines();
1170
- let o = 0, i = 0;
1171
- for (let l = 0; l < n.length; l += 1)
1172
- if (i += n[l].length + 1, e <= i) {
1173
- 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);
1174
1217
  break;
1175
1218
  }
1176
- return i >= t.ace.getSession().getValue().length && (o += 1), o;
1219
+ return i >= e.ace.getSession().getValue().length && (r += 1), r;
1177
1220
  }
1178
- function Re(t) {
1179
- t.gutterHeight = document.getElementById(t.options.classes.gutterID).clientHeight, t.gutterWidth = document.getElementById(t.options.classes.gutterID).clientWidth;
1180
- const e = De(t, y.EDITOR_LEFT), n = De(t, y.EDITOR_RIGHT), o = Math.max(e, n, t.gutterHeight);
1181
- 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);
1182
1225
  }
1183
- function De(t, e) {
1184
- 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;
1185
1228
  }
1186
- function Tt(t) {
1187
- 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);
1188
1231
  }
1189
- function Dt(t) {
1190
- 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);
1191
1235
  }
1192
- function xt(t) {
1193
- t.copyLeftContainer.innerHTML = "", t.copyRightContainer.innerHTML = "";
1236
+ function Rt(e) {
1237
+ e.copyLeftContainer && (e.copyLeftContainer.innerHTML = ""), e.copyRightContainer && (e.copyRightContainer.innerHTML = "");
1194
1238
  }
1195
- function It(t, e) {
1239
+ function Me(e, t) {
1196
1240
  const n = [];
1197
- function o(l) {
1198
- 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;
1199
1243
  }
1200
- e.forEach((l, r) => {
1201
- if (r === 0) {
1202
- 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));
1203
1264
  return;
1204
1265
  }
1205
- let s = !1;
1206
- 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))) {
1207
- 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;
1208
1279
  break;
1209
1280
  }
1210
- s || n.push(l);
1281
+ a || n.push(i(o));
1211
1282
  });
1212
- const i = [];
1213
- return n.forEach((l) => {
1214
- l.leftStartLine === l.leftEndLine && l.rightStartLine === l.rightEndLine || i.push(l);
1215
- }), i;
1283
+ const s = [];
1284
+ return n.forEach((o) => {
1285
+ o.leftStartLine === o.leftEndLine && o.rightStartLine === o.rightEndLine || s.push(o);
1286
+ }), s;
1216
1287
  }
1217
- function Ve(t) {
1218
- Dt(t), xt(t), t.diffs.forEach((e, n) => {
1219
- 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));
1220
- }, 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);
1221
1292
  }
1222
- const kt = {
1293
+ const Ve = {
1223
1294
  props: {
1224
1295
  pluginName: {
1225
1296
  type: String,
@@ -1250,7 +1321,7 @@ const kt = {
1250
1321
  data() {
1251
1322
  return {
1252
1323
  tab: 0,
1253
- localVariables: [],
1324
+ localVariables: {},
1254
1325
  localPluginTxt: "",
1255
1326
  localExistingPluginTxt: null,
1256
1327
  editor: null,
@@ -1265,8 +1336,8 @@ const kt = {
1265
1336
  get() {
1266
1337
  return this.modelValue;
1267
1338
  },
1268
- set(t) {
1269
- this.$emit("update:modelValue", t);
1339
+ set(e) {
1340
+ this.$emit("update:modelValue", e);
1270
1341
  }
1271
1342
  }
1272
1343
  },
@@ -1274,15 +1345,19 @@ const kt = {
1274
1345
  value: {
1275
1346
  immediate: !0,
1276
1347
  handler: function() {
1277
- 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());
1278
1353
  }
1279
1354
  }
1280
1355
  },
1281
1356
  mounted() {
1282
- const t = this.buildPluginMode();
1283
- 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({
1284
1359
  element: this.$refs.editor,
1285
- mode: new t(),
1360
+ mode: new e(),
1286
1361
  theme: "ace/theme/twilight",
1287
1362
  left: {
1288
1363
  content: this.localExistingPluginTxt,
@@ -1306,29 +1381,29 @@ const kt = {
1306
1381
  },
1307
1382
  scrollToCurDiff() {
1308
1383
  if (this.differ.diffs.length === 0) return;
1309
- let t = this.differ.diffs[this.curDiff].leftStartLine, e = this.differ.diffs[this.curDiff].rightStartLine;
1310
- 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);
1311
1386
  },
1312
1387
  buildPluginMode() {
1313
- let t = N.require("ace/lib/oop"), e = N.require(
1388
+ let e = N.require("ace/lib/oop"), t = N.require(
1314
1389
  "ace/mode/ruby_highlight_rules"
1315
- ).RubyHighlightRules, n = ["VARIABLE"], o = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), i = function() {
1316
- 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);
1317
1392
  for (let u in this.$rules)
1318
1393
  this.$rules[u].unshift({
1319
- regex: o,
1394
+ regex: r,
1320
1395
  token: "support.function"
1321
1396
  });
1322
1397
  };
1323
- t.inherits(i, e);
1324
- let l = N.require(
1398
+ e.inherits(i, t);
1399
+ let s = N.require(
1325
1400
  "ace/mode/matching_brace_outdent"
1326
- ).MatchingBraceOutdent, r = N.require(
1401
+ ).MatchingBraceOutdent, o = N.require(
1327
1402
  "ace/mode/behaviour/cstyle"
1328
- ).CstyleBehaviour, s = N.require("ace/mode/folding/ruby").FoldMode, a = function() {
1329
- 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;
1330
1405
  }, c = N.require("ace/mode/ruby").Mode;
1331
- return t.inherits(a, c), (function() {
1406
+ return e.inherits(a, c), (function() {
1332
1407
  this.$id = "ace/mode/openc3";
1333
1408
  }).call(a.prototype), a;
1334
1409
  },
@@ -1341,156 +1416,193 @@ const kt = {
1341
1416
  okText: "Install",
1342
1417
  cancelText: "Cancel"
1343
1418
  }
1344
- ).then((t) => {
1419
+ ).then((e) => {
1345
1420
  this.emitSubmit(
1346
1421
  this.differ.getEditors().left.getValue().split(`
1347
1422
  `)
1348
1423
  );
1349
- }).catch((t) => {
1424
+ }).catch((e) => {
1350
1425
  });
1351
1426
  },
1352
- emitSubmit(t) {
1353
- let e = {
1427
+ emitSubmit(e) {
1428
+ let t = {
1354
1429
  name: this.pluginName,
1355
- variables: He(this.localVariables),
1356
- plugin_txt_lines: t,
1430
+ variables: Ut(this.localVariables),
1431
+ plugin_txt_lines: e,
1357
1432
  store_id: this.storeId
1358
1433
  };
1359
- this.$emit("callback", e);
1434
+ this.$emit("callback", t);
1360
1435
  },
1361
1436
  close: function() {
1362
1437
  this.show = !this.show;
1363
1438
  },
1364
- showContextMenu: function(t) {
1365
- this.menuX = t.pageX, this.menuY = t.pageY;
1366
- 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);
1367
1442
  if (n) {
1368
- let o = n.value.trim();
1369
- 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;
1370
1445
  }
1371
1446
  },
1372
1447
  toggleVimMode: function() {
1373
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
+ })) : [];
1374
1462
  }
1375
1463
  }
1376
- }, 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 = {
1377
1468
  ref: "editor",
1378
1469
  class: "editor"
1379
- }, Ot = { key: 0 };
1380
- function At(t, e, n, o, i, l) {
1381
- 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"), b = p("v-list"), S = p("v-menu"), _ = 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");
1382
- return L(), T(Ae, {
1383
- modelValue: l.show,
1384
- "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),
1385
1476
  persistent: "",
1386
1477
  width: "80vw",
1387
- onKeydown: xe(l.close, ["esc"])
1478
+ onKeydown: It(s.close, ["esc"])
1388
1479
  }, {
1389
- default: g(() => [
1390
- f(Oe, null, {
1391
- default: g(() => [
1392
- f(J, null, {
1393
- default: g(() => [
1394
- f(r, null, {
1395
- default: g(() => [
1396
- 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)
1397
1499
  ]),
1398
1500
  _: 1
1399
- }),
1400
- n.existingPluginTxt !== null ? (L(), T(a, {
1401
- key: 0,
1402
- 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"
1403
1506
  }, {
1404
- default: g(() => [
1405
- f(s, {
1406
- size: "x-large",
1407
- start: "",
1408
- color: "yellow"
1409
- }, {
1410
- default: g(() => [...e[6] || (e[6] = [
1411
- 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)
1412
1511
  ])]),
1413
1512
  _: 1
1414
- }),
1415
- 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)
1416
- ]),
1417
- _: 1
1418
- })) : ee("", !0),
1419
- f(a, { class: "pb-3 pr-3" }, {
1420
- default: g(() => [
1421
- f(u, {
1422
- modelValue: i.tab,
1423
- "onUpdate:modelValue": e[0] || (e[0] = (M) => i.tab = M),
1424
- class: "ml-3"
1425
- }, {
1426
- default: g(() => [
1427
- (L(), T(c, { key: 0 }, {
1428
- default: g(() => [...e[7] || (e[7] = [
1429
- w(" Variables ", -1)
1430
- ])]),
1431
- _: 1
1432
- })),
1433
- (L(), T(c, { key: 1 }, {
1434
- default: g(() => [...e[8] || (e[8] = [
1435
- w(" plugin.txt ", -1)
1436
- ])]),
1437
- _: 1
1438
- }))
1439
- ]),
1513
+ })),
1514
+ (C(), x(a, { key: 1 }, {
1515
+ default: h(() => [...t[7] || (t[7] = [
1516
+ S(" plugin.txt ", -1)
1517
+ ])]),
1440
1518
  _: 1
1441
- }, 8, ["modelValue"])
1519
+ }))
1442
1520
  ]),
1443
1521
  _: 1
1444
- }),
1522
+ }, 8, ["modelValue"]),
1445
1523
  R("form", {
1446
- 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"]))
1447
1525
  }, [
1448
- f(_, {
1526
+ f(y, {
1449
1527
  modelValue: i.tab,
1450
- "onUpdate:modelValue": e[3] || (e[3] = (M) => i.tab = M)
1528
+ "onUpdate:modelValue": t[3] || (t[3] = (T) => i.tab = T)
1451
1529
  }, {
1452
- default: g(() => [
1453
- (L(), T(m, {
1454
- key: 0,
1530
+ default: h(() => [
1531
+ f(D, {
1532
+ value: 0,
1455
1533
  eager: "true",
1456
1534
  class: "tab"
1457
1535
  }, {
1458
- default: g(() => [
1459
- R("div", Rt, [
1460
- f(a, { class: "mt-3" }, {
1461
- default: g(() => [
1462
- (L(!0), V(P, null, G(i.localVariables, (M, B) => (L(), V("div", { key: B }, [
1463
- f(h, { style: { width: "220px" } }, {
1464
- default: g(() => [
1465
- f(d, {
1466
- modelValue: i.localVariables[B],
1467
- "onUpdate:modelValue": (Ne) => i.localVariables[B] = Ne,
1468
- clearable: "",
1469
- type: "text",
1470
- label: B
1471
- }, 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)
1472
1571
  ]),
1473
- _: 2
1474
- }, 1024)
1475
- ]))), 128))
1476
- ]),
1477
- _: 1
1478
- })
1479
- ])
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
+ }))
1480
1591
  ]),
1481
1592
  _: 1
1482
- })),
1483
- n.existingPluginTxt === null ? (L(), T(m, {
1484
- key: "1-new",
1593
+ }),
1594
+ n.existingPluginTxt === null ? (C(), x(D, {
1595
+ key: 0,
1596
+ value: 1,
1485
1597
  eager: "true",
1486
1598
  class: "tab"
1487
1599
  }, {
1488
- default: g(() => [
1489
- f(a, { class: "pa-3" }, {
1490
- default: g(() => [
1491
- f(h, null, {
1492
- default: g(() => [...e[9] || (e[9] = [
1493
- 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)
1494
1606
  ])]),
1495
1607
  _: 1
1496
1608
  })
@@ -1500,32 +1612,32 @@ function At(t, e, n, o, i, l) {
1500
1612
  R("pre", {
1501
1613
  ref: "editor",
1502
1614
  class: "editor",
1503
- 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"]))
1504
1616
  }, null, 544),
1505
- f(S, {
1617
+ f(_, {
1506
1618
  modelValue: i.contextMenu,
1507
- "onUpdate:modelValue": e[2] || (e[2] = (M) => i.contextMenu = M),
1619
+ "onUpdate:modelValue": t[2] || (t[2] = (T) => i.contextMenu = T),
1508
1620
  target: [i.menuX, i.menuY]
1509
1621
  }, {
1510
- default: g(() => [
1511
- f(b, null, {
1512
- default: g(() => [
1513
- f(x, { link: "" }, {
1514
- default: g(() => [
1515
- f(v, { onClick: t.openDocumentation }, {
1516
- default: g(() => [
1517
- 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)
1518
1630
  ]),
1519
1631
  _: 1
1520
1632
  }, 8, ["onClick"])
1521
1633
  ]),
1522
1634
  _: 1
1523
1635
  }),
1524
- f(C),
1525
- f(x, {
1636
+ f(v),
1637
+ f(u, {
1526
1638
  title: "Toggle Vim mode",
1527
1639
  "prepend-icon": "extras:vim",
1528
- onClick: l.toggleVimMode
1640
+ onClick: s.toggleVimMode
1529
1641
  }, null, 8, ["onClick"])
1530
1642
  ]),
1531
1643
  _: 1
@@ -1535,76 +1647,77 @@ function At(t, e, n, o, i, l) {
1535
1647
  }, 8, ["modelValue", "target"])
1536
1648
  ]),
1537
1649
  _: 1
1538
- })) : (L(), T(m, {
1539
- key: "1-existing",
1650
+ })) : (C(), x(D, {
1651
+ key: 1,
1652
+ value: 1,
1540
1653
  eager: "true",
1541
1654
  class: "tab"
1542
1655
  }, {
1543
- default: g(() => [
1544
- f(a, { class: "pa-3" }, {
1545
- default: g(() => [
1546
- f(h, null, {
1547
- default: g(() => [...e[10] || (e[10] = [
1548
- 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)
1549
1662
  ])]),
1550
1663
  _: 1
1551
1664
  }),
1552
- f(h, { class: "ml-6" }, {
1553
- default: g(() => [...e[11] || (e[11] = [
1554
- 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)
1555
1668
  ])]),
1556
1669
  _: 1
1557
1670
  })
1558
1671
  ]),
1559
1672
  _: 1
1560
1673
  }),
1561
- R("pre", Vt, null, 512)
1674
+ R("pre", Ae, null, 512)
1562
1675
  ]),
1563
1676
  _: 1
1564
1677
  }))
1565
1678
  ]),
1566
1679
  _: 1
1567
1680
  }, 8, ["modelValue"]),
1568
- f(A, { class: "px-2 mt-2" }, {
1569
- default: g(() => [
1570
- n.existingPluginTxt !== null ? (L(), V("div", Ot, [
1571
- f(E, {
1681
+ f(J, { class: "px-2 mt-2" }, {
1682
+ default: h(() => [
1683
+ n.existingPluginTxt !== null ? (C(), M("div", Ne, [
1684
+ f(k, {
1572
1685
  variant: "text",
1573
- onClick: l.nextDiff
1686
+ onClick: s.nextDiff
1574
1687
  }, {
1575
- default: g(() => [...e[12] || (e[12] = [
1576
- w(" Next Diff ", -1)
1688
+ default: h(() => [...t[11] || (t[11] = [
1689
+ S(" Next Diff ", -1)
1577
1690
  ])]),
1578
1691
  _: 1
1579
1692
  }, 8, ["onClick"]),
1580
- f(E, {
1693
+ f(k, {
1581
1694
  variant: "text",
1582
- onClick: l.previousDiff
1695
+ onClick: s.previousDiff
1583
1696
  }, {
1584
- default: g(() => [...e[13] || (e[13] = [
1585
- w(" Previous Diff ", -1)
1697
+ default: h(() => [...t[12] || (t[12] = [
1698
+ S(" Previous Diff ", -1)
1586
1699
  ])]),
1587
1700
  _: 1
1588
1701
  }, 8, ["onClick"])
1589
- ])) : ee("", !0),
1590
- f(I),
1591
- f(E, {
1702
+ ])) : et("", !0),
1703
+ f(A),
1704
+ f(k, {
1592
1705
  variant: "outlined",
1593
1706
  "data-test": "edit-cancel",
1594
- onClick: X(l.close, ["prevent"])
1707
+ onClick: Z(s.close, ["prevent"])
1595
1708
  }, {
1596
- default: g(() => [...e[14] || (e[14] = [
1597
- w(" Cancel ", -1)
1709
+ default: h(() => [...t[13] || (t[13] = [
1710
+ S(" Cancel ", -1)
1598
1711
  ])]),
1599
1712
  _: 1
1600
1713
  }, 8, ["onClick"]),
1601
- f(E, {
1714
+ f(k, {
1602
1715
  variant: "flat",
1603
1716
  "data-test": "edit-submit",
1604
- onClick: l.submit
1717
+ onClick: s.submit
1605
1718
  }, {
1606
- default: g(() => [...e[15] || (e[15] = [
1607
- w(" Install ", -1)
1719
+ default: h(() => [...t[14] || (t[14] = [
1720
+ S(" Install ", -1)
1608
1721
  ])]),
1609
1722
  _: 1
1610
1723
  }, 8, ["onClick"])
@@ -1622,12 +1735,12 @@ function At(t, e, n, o, i, l) {
1622
1735
  _: 1
1623
1736
  }, 8, ["modelValue", "onKeydown"]);
1624
1737
  }
1625
- const Yt = /* @__PURE__ */ W(kt, [["render", At], ["__scopeId", "data-v-3b685c50"]]);
1738
+ const ze = /* @__PURE__ */ K(Ve, [["render", He], ["__scopeId", "data-v-6fd60d2d"]]);
1626
1739
  export {
1627
- qt as DownloadDialog,
1628
- Ut as ModifiedPluginDialog,
1629
- jt as OpenC3Admin,
1630
- Yt as PluginDialog,
1631
- Je as TabsList
1740
+ je as DownloadDialog,
1741
+ We as ModifiedPluginDialog,
1742
+ Ye as OpenC3Admin,
1743
+ ze as PluginDialog,
1744
+ ee as TabsList
1632
1745
  };
1633
1746
  //# sourceMappingURL=admin.js.map