@openc3/vue-common 6.2.1 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (541) hide show
  1. package/dist/{ArrayWidget-BIQi_bWC.cjs → ArrayWidget-Ba-YDfZB.cjs} +3 -3
  2. package/dist/{ArrayWidget-BIQi_bWC.cjs.map → ArrayWidget-Ba-YDfZB.cjs.map} +1 -1
  3. package/dist/{ArrayWidget-BxEO5hEG.js → ArrayWidget-DAZApfkV.js} +5 -5
  4. package/dist/{ArrayWidget-BxEO5hEG.js.map → ArrayWidget-DAZApfkV.js.map} +1 -1
  5. package/dist/{ArrayplotWidget-B_VPoV4v.js → ArrayplotWidget-BfsxDplv.js} +4 -4
  6. package/dist/{ArrayplotWidget-B_VPoV4v.js.map → ArrayplotWidget-BfsxDplv.js.map} +1 -1
  7. package/dist/ArrayplotWidget-Ckm4lmSc.cjs +2 -0
  8. package/dist/{ArrayplotWidget-Donxhd8_.cjs.map → ArrayplotWidget-Ckm4lmSc.cjs.map} +1 -1
  9. package/dist/{BarColumn-CyRSZHMh.cjs → BarColumn-Cp7oEFJR.cjs} +2 -2
  10. package/dist/{BarColumn-CyRSZHMh.cjs.map → BarColumn-Cp7oEFJR.cjs.map} +1 -1
  11. package/dist/{BarColumn-C9dkpg2O.js → BarColumn-q0nAsvrd.js} +3 -3
  12. package/dist/{BarColumn-C9dkpg2O.js.map → BarColumn-q0nAsvrd.js.map} +1 -1
  13. package/dist/BlockWidget-DRB-TDL_.cjs +3 -0
  14. package/dist/{BlockWidget-DPLN1jgj.cjs.map → BlockWidget-DRB-TDL_.cjs.map} +1 -1
  15. package/dist/{BlockWidget-CuefOin6.js → BlockWidget-SDCUWcMQ.js} +5 -5
  16. package/dist/{BlockWidget-CuefOin6.js.map → BlockWidget-SDCUWcMQ.js.map} +1 -1
  17. package/dist/{ButtonWidget-B6HM0Doo.js → ButtonWidget-BVMjwC19.js} +7 -7
  18. package/dist/{ButtonWidget-B6HM0Doo.js.map → ButtonWidget-BVMjwC19.js.map} +1 -1
  19. package/dist/ButtonWidget-yJ70adEU.cjs +3 -0
  20. package/dist/{ButtonWidget-DccYzIY3.cjs.map → ButtonWidget-yJ70adEU.cjs.map} +1 -1
  21. package/dist/CanvasWidget-DXkxnt1x.cjs +2 -0
  22. package/dist/{CanvasWidget-BzTU9rc9.cjs.map → CanvasWidget-DXkxnt1x.cjs.map} +1 -1
  23. package/dist/{CanvasWidget-DZQGG-yQ.js → CanvasWidget-bVkufjRQ.js} +3 -3
  24. package/dist/{CanvasWidget-DZQGG-yQ.js.map → CanvasWidget-bVkufjRQ.js.map} +1 -1
  25. package/dist/CanvasdotWidget-Bi3nZh7g.cjs +2 -0
  26. package/dist/{CanvasdotWidget-B7VTS1QI.cjs.map → CanvasdotWidget-Bi3nZh7g.cjs.map} +1 -1
  27. package/dist/{CanvasdotWidget-6wuCSnw_.js → CanvasdotWidget-DpniFfca.js} +3 -3
  28. package/dist/{CanvasdotWidget-6wuCSnw_.js.map → CanvasdotWidget-DpniFfca.js.map} +1 -1
  29. package/dist/CanvasimageWidget-C-aBl-by.cjs +2 -0
  30. package/dist/{CanvasimageWidget-BwYpfmDE.cjs.map → CanvasimageWidget-C-aBl-by.cjs.map} +1 -1
  31. package/dist/{CanvasimageWidget-mhcPpAuN.js → CanvasimageWidget-DHOSz-dJ.js} +4 -4
  32. package/dist/{CanvasimageWidget-mhcPpAuN.js.map → CanvasimageWidget-DHOSz-dJ.js.map} +1 -1
  33. package/dist/CanvasimagevalueWidget-DAbbV-LB.cjs +2 -0
  34. package/dist/{CanvasimagevalueWidget-E_NsZ82T.cjs.map → CanvasimagevalueWidget-DAbbV-LB.cjs.map} +1 -1
  35. package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js → CanvasimagevalueWidget-zrURWWUL.js} +4 -4
  36. package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js.map → CanvasimagevalueWidget-zrURWWUL.js.map} +1 -1
  37. package/dist/CanvaslabelWidget-82bf_Awf.cjs +2 -0
  38. package/dist/{CanvaslabelWidget-BBDuXWfU.cjs.map → CanvaslabelWidget-82bf_Awf.cjs.map} +1 -1
  39. package/dist/{CanvaslabelWidget-CQZCeohU.js → CanvaslabelWidget-D-XAMifp.js} +3 -3
  40. package/dist/{CanvaslabelWidget-CQZCeohU.js.map → CanvaslabelWidget-D-XAMifp.js.map} +1 -1
  41. package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js → CanvaslabelvalueWidget-BsIdBtEb.js} +3 -3
  42. package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js.map → CanvaslabelvalueWidget-BsIdBtEb.js.map} +1 -1
  43. package/dist/CanvaslabelvalueWidget-DgDzwLdi.cjs +2 -0
  44. package/dist/{CanvaslabelvalueWidget-DAdu7ujn.cjs.map → CanvaslabelvalueWidget-DgDzwLdi.cjs.map} +1 -1
  45. package/dist/CanvaslineWidget-BRRPuuqS.cjs +2 -0
  46. package/dist/{CanvaslineWidget-Bv5da1Vy.cjs.map → CanvaslineWidget-BRRPuuqS.cjs.map} +1 -1
  47. package/dist/{CanvaslineWidget-nTP3fJB4.js → CanvaslineWidget-CA2aPGRg.js} +3 -3
  48. package/dist/{CanvaslineWidget-nTP3fJB4.js.map → CanvaslineWidget-CA2aPGRg.js.map} +1 -1
  49. package/dist/CanvaslinevalueWidget-BYjWr2gq.cjs +2 -0
  50. package/dist/{CanvaslinevalueWidget-BVfUB96K.cjs.map → CanvaslinevalueWidget-BYjWr2gq.cjs.map} +1 -1
  51. package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js → CanvaslinevalueWidget-J7epKRlo.js} +3 -3
  52. package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js.map → CanvaslinevalueWidget-J7epKRlo.js.map} +1 -1
  53. package/dist/{CheckbuttonWidget-5-8YDsQL.js → CheckbuttonWidget-ByH-PDRG.js} +3 -3
  54. package/dist/{CheckbuttonWidget-5-8YDsQL.js.map → CheckbuttonWidget-ByH-PDRG.js.map} +1 -1
  55. package/dist/CheckbuttonWidget-DkoFFTcM.cjs +2 -0
  56. package/dist/{CheckbuttonWidget-BGqD-BGc.cjs.map → CheckbuttonWidget-DkoFFTcM.cjs.map} +1 -1
  57. package/dist/{ComboboxWidget-DzBL8h9f.js → ComboboxWidget-Bdm_fMzW.js} +3 -3
  58. package/dist/{ComboboxWidget-DzBL8h9f.js.map → ComboboxWidget-Bdm_fMzW.js.map} +1 -1
  59. package/dist/ComboboxWidget-Dq28F4bs.cjs +2 -0
  60. package/dist/{ComboboxWidget-DoHMlSAr.cjs.map → ComboboxWidget-Dq28F4bs.cjs.map} +1 -1
  61. package/dist/{CriticalCmdDialog-DLEasFsx.js → CriticalCmdDialog-Bcq8PGag.js} +17 -17
  62. package/dist/CriticalCmdDialog-Bcq8PGag.js.map +1 -0
  63. package/dist/CriticalCmdDialog-CLF7hYKu.cjs +2 -0
  64. package/dist/CriticalCmdDialog-CLF7hYKu.cjs.map +1 -0
  65. package/dist/CustomIcon-Bop2mEnu.cjs +2 -0
  66. package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -0
  67. package/dist/CustomIcon-h5X7369N.js +50 -0
  68. package/dist/CustomIcon-h5X7369N.js.map +1 -0
  69. package/dist/{DateWidget-CW7Od7lB.js → DateWidget-BaQqthC7.js} +4 -4
  70. package/dist/{DateWidget-CW7Od7lB.js.map → DateWidget-BaQqthC7.js.map} +1 -1
  71. package/dist/DateWidget-DCayVS3o.cjs +2 -0
  72. package/dist/{DateWidget-DKZz1J9J.cjs.map → DateWidget-DCayVS3o.cjs.map} +1 -1
  73. package/dist/{DetailsDialog-BvbziA7Y.js → DetailsDialog-C5jf8o0K.js} +16 -16
  74. package/dist/DetailsDialog-C5jf8o0K.js.map +1 -0
  75. package/dist/DetailsDialog-CangkVuF.cjs +2 -0
  76. package/dist/DetailsDialog-CangkVuF.cjs.map +1 -0
  77. package/dist/DynamicWidget-BWEVCUfd.cjs +2 -0
  78. package/dist/{DynamicWidget-3wHr6Ng-.cjs.map → DynamicWidget-BWEVCUfd.cjs.map} +1 -1
  79. package/dist/{DynamicWidget-gFSYxzvT.js → DynamicWidget-CfMtj7H8.js} +2 -2
  80. package/dist/{DynamicWidget-gFSYxzvT.js.map → DynamicWidget-CfMtj7H8.js.map} +1 -1
  81. package/dist/EventListDialog-Bniar26O.js +1509 -0
  82. package/dist/EventListDialog-Bniar26O.js.map +1 -0
  83. package/dist/EventListDialog-D_KXhGDO.cjs +2 -0
  84. package/dist/EventListDialog-D_KXhGDO.cjs.map +1 -0
  85. package/dist/FormatvalueWidget--H5B9i_Y.js +48 -0
  86. package/dist/FormatvalueWidget--H5B9i_Y.js.map +1 -0
  87. package/dist/FormatvalueWidget-CDh1rF5P.cjs +2 -0
  88. package/dist/FormatvalueWidget-CDh1rF5P.cjs.map +1 -0
  89. package/dist/Graph-DIR-5tJu.cjs +2 -0
  90. package/dist/Graph-DIR-5tJu.cjs.map +1 -0
  91. package/dist/{Graph-3rkhFP3G.js → Graph-M382Zo8o.js} +676 -806
  92. package/dist/Graph-M382Zo8o.js.map +1 -0
  93. package/dist/{GraphWidget-22NxFa9k.cjs → GraphWidget-CNUOLw5-.cjs} +2 -2
  94. package/dist/{GraphWidget-22NxFa9k.cjs.map → GraphWidget-CNUOLw5-.cjs.map} +1 -1
  95. package/dist/{GraphWidget-Dycey-mj.js → GraphWidget-_YOGDD1U.js} +2 -2
  96. package/dist/{GraphWidget-Dycey-mj.js.map → GraphWidget-_YOGDD1U.js.map} +1 -1
  97. package/dist/HorizontalWidget-Bix4q7It.cjs +2 -0
  98. package/dist/{HorizontalWidget-BBeB0eBI.cjs.map → HorizontalWidget-Bix4q7It.cjs.map} +1 -1
  99. package/dist/{HorizontalWidget-D31NRWy5.js → HorizontalWidget-D_gzrOWs.js} +3 -3
  100. package/dist/{HorizontalWidget-D31NRWy5.js.map → HorizontalWidget-D_gzrOWs.js.map} +1 -1
  101. package/dist/HorizontalboxWidget-B8a4-h2J.cjs +2 -0
  102. package/dist/HorizontalboxWidget-B8a4-h2J.cjs.map +1 -0
  103. package/dist/HorizontalboxWidget-GDcjO-UB.js +47 -0
  104. package/dist/HorizontalboxWidget-GDcjO-UB.js.map +1 -0
  105. package/dist/HorizontallineWidget-BD6dqVhE.cjs +2 -0
  106. package/dist/{HorizontallineWidget-BCKOQase.cjs.map → HorizontallineWidget-BD6dqVhE.cjs.map} +1 -1
  107. package/dist/HorizontallineWidget-DZvOYFxf.js +16 -0
  108. package/dist/{HorizontallineWidget-CbxREBYI.js.map → HorizontallineWidget-DZvOYFxf.js.map} +1 -1
  109. package/dist/{IframeWidget-Ctj8OIcG.js → IframeWidget-CuUav9b3.js} +3 -3
  110. package/dist/{IframeWidget-Ctj8OIcG.js.map → IframeWidget-CuUav9b3.js.map} +1 -1
  111. package/dist/IframeWidget-DL_CET3B.cjs +2 -0
  112. package/dist/{IframeWidget-CZwsTgvX.cjs.map → IframeWidget-DL_CET3B.cjs.map} +1 -1
  113. package/dist/{ImageLoader-BrNrCBvi.js → ImageLoader-3KLKJ5mV.js} +2 -2
  114. package/dist/{ImageLoader-BrNrCBvi.js.map → ImageLoader-3KLKJ5mV.js.map} +1 -1
  115. package/dist/{ImageLoader-D_Gq-KxR.cjs → ImageLoader-DaWMqoJS.cjs} +2 -2
  116. package/dist/{ImageLoader-D_Gq-KxR.cjs.map → ImageLoader-DaWMqoJS.cjs.map} +1 -1
  117. package/dist/{ImageviewerWidget-XrsqxmLo.js → ImageviewerWidget-BMZ6REN4.js} +3 -3
  118. package/dist/{ImageviewerWidget-XrsqxmLo.js.map → ImageviewerWidget-BMZ6REN4.js.map} +1 -1
  119. package/dist/ImageviewerWidget-_0YopZ1s.cjs +2 -0
  120. package/dist/{ImageviewerWidget-DwRPFSLR.cjs.map → ImageviewerWidget-_0YopZ1s.cjs.map} +1 -1
  121. package/dist/InterfacesTab-DGrLsTA0.cjs +2 -0
  122. package/dist/InterfacesTab-DGrLsTA0.cjs.map +1 -0
  123. package/dist/InterfacesTab-DTixVrGo.js +83 -0
  124. package/dist/InterfacesTab-DTixVrGo.js.map +1 -0
  125. package/dist/LabelWidget-DkZvBxYg.cjs +2 -0
  126. package/dist/LabelWidget-DkZvBxYg.cjs.map +1 -0
  127. package/dist/{LabelWidget-t7I87dp7.js → LabelWidget-oh6FIG6s.js} +5 -5
  128. package/dist/LabelWidget-oh6FIG6s.js.map +1 -0
  129. package/dist/{LabelledWidget-C7TDf92M.js → LabelledWidget-Bic36les.js} +5 -5
  130. package/dist/{LabelledWidget-C7TDf92M.js.map → LabelledWidget-Bic36les.js.map} +1 -1
  131. package/dist/LabelledWidget-D7nm73kj.cjs +2 -0
  132. package/dist/{LabelledWidget-DUpHxc9z.cjs.map → LabelledWidget-D7nm73kj.cjs.map} +1 -1
  133. package/dist/{LabelprogressbarWidget-wwLURt1u.js → LabelprogressbarWidget-CqIiGoDb.js} +5 -5
  134. package/dist/{LabelprogressbarWidget-wwLURt1u.js.map → LabelprogressbarWidget-CqIiGoDb.js.map} +1 -1
  135. package/dist/LabelprogressbarWidget-DY0Xd2c2.cjs +2 -0
  136. package/dist/{LabelprogressbarWidget-D6cpayCR.cjs.map → LabelprogressbarWidget-DY0Xd2c2.cjs.map} +1 -1
  137. package/dist/{LabelsparklineWidget-B3awLUyP.js → LabelsparklineWidget-DLhmqO02.js} +5 -5
  138. package/dist/{LabelsparklineWidget-B3awLUyP.js.map → LabelsparklineWidget-DLhmqO02.js.map} +1 -1
  139. package/dist/LabelsparklineWidget-DZ5-iEcK.cjs +2 -0
  140. package/dist/{LabelsparklineWidget-CJRnLETe.cjs.map → LabelsparklineWidget-DZ5-iEcK.cjs.map} +1 -1
  141. package/dist/{LabelvalueWidget-Zx_yHCtl.js → LabelvalueWidget-BefwSSVq.js} +5 -5
  142. package/dist/{LabelvalueWidget-Zx_yHCtl.js.map → LabelvalueWidget-BefwSSVq.js.map} +1 -1
  143. package/dist/LabelvalueWidget-D-u38nLh.cjs +2 -0
  144. package/dist/{LabelvalueWidget-owiMSCYl.cjs.map → LabelvalueWidget-D-u38nLh.cjs.map} +1 -1
  145. package/dist/LabelvaluedescWidget-DMuBCLM8.cjs +2 -0
  146. package/dist/{LabelvaluedescWidget-MRmZBUc0.cjs.map → LabelvaluedescWidget-DMuBCLM8.cjs.map} +1 -1
  147. package/dist/{LabelvaluedescWidget-BBSBh4vI.js → LabelvaluedescWidget-NxrCzznm.js} +10 -10
  148. package/dist/{LabelvaluedescWidget-BBSBh4vI.js.map → LabelvaluedescWidget-NxrCzznm.js.map} +1 -1
  149. package/dist/LabelvaluelimitsbarWidget-BY212bgc.cjs +2 -0
  150. package/dist/{LabelvaluelimitsbarWidget-BQ2XYPNE.cjs.map → LabelvaluelimitsbarWidget-BY212bgc.cjs.map} +1 -1
  151. package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js → LabelvaluelimitsbarWidget-pq7qoolL.js} +5 -5
  152. package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js.map → LabelvaluelimitsbarWidget-pq7qoolL.js.map} +1 -1
  153. package/dist/LabelvaluelimitscolumnWidget-DVLGU6ja.cjs +2 -0
  154. package/dist/{LabelvaluelimitscolumnWidget-DNmVpU8J.cjs.map → LabelvaluelimitscolumnWidget-DVLGU6ja.cjs.map} +1 -1
  155. package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js → LabelvaluelimitscolumnWidget-edkpogsl.js} +6 -6
  156. package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js.map → LabelvaluelimitscolumnWidget-edkpogsl.js.map} +1 -1
  157. package/dist/LabelvaluerangebarWidget-CA_7kTS2.cjs +2 -0
  158. package/dist/{LabelvaluerangebarWidget-DL0U8cbw.cjs.map → LabelvaluerangebarWidget-CA_7kTS2.cjs.map} +1 -1
  159. package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js → LabelvaluerangebarWidget-DpJNv9dh.js} +5 -5
  160. package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js.map → LabelvaluerangebarWidget-DpJNv9dh.js.map} +1 -1
  161. package/dist/{Layout-Bh7VzCZd.js → Layout-B0hvhBQO.js} +2 -2
  162. package/dist/{Layout-Bh7VzCZd.js.map → Layout-B0hvhBQO.js.map} +1 -1
  163. package/dist/Layout-BLADjt_A.cjs +2 -0
  164. package/dist/{Layout-DRL0EeSA.cjs.map → Layout-BLADjt_A.cjs.map} +1 -1
  165. package/dist/LedWidget--4eSxBnn.js +148 -0
  166. package/dist/LedWidget--4eSxBnn.js.map +1 -0
  167. package/dist/LedWidget-BoZKOBZg.cjs +2 -0
  168. package/dist/LedWidget-BoZKOBZg.cjs.map +1 -0
  169. package/dist/{LimitsbarWidget-Djui0IpK.js → LimitsbarWidget-BQaumgRt.js} +11 -8
  170. package/dist/LimitsbarWidget-BQaumgRt.js.map +1 -0
  171. package/dist/LimitsbarWidget-CyHbbNx3.cjs +2 -0
  172. package/dist/LimitsbarWidget-CyHbbNx3.cjs.map +1 -0
  173. package/dist/{LimitscolorWidget-DdmvKzmx.js → LimitscolorWidget-BBF9sRtF.js} +3 -3
  174. package/dist/{LimitscolorWidget-DdmvKzmx.js.map → LimitscolorWidget-BBF9sRtF.js.map} +1 -1
  175. package/dist/LimitscolorWidget-CsuRoqxm.cjs +2 -0
  176. package/dist/{LimitscolorWidget-CS0wpX9A.cjs.map → LimitscolorWidget-CsuRoqxm.cjs.map} +1 -1
  177. package/dist/LimitscolumnWidget-Cr1qFT8M.cjs +2 -0
  178. package/dist/{LimitscolumnWidget-C_UW6xKq.cjs.map → LimitscolumnWidget-Cr1qFT8M.cjs.map} +1 -1
  179. package/dist/{LimitscolumnWidget-Cc19IEjq.js → LimitscolumnWidget-DZZtSoXw.js} +3 -3
  180. package/dist/{LimitscolumnWidget-Cc19IEjq.js.map → LimitscolumnWidget-DZZtSoXw.js.map} +1 -1
  181. package/dist/LinegraphWidget-Cw9vua8K.cjs +2 -0
  182. package/dist/{LinegraphWidget-8td_PqgU.cjs.map → LinegraphWidget-Cw9vua8K.cjs.map} +1 -1
  183. package/dist/{LinegraphWidget-BtieJxeL.js → LinegraphWidget-DTLZmyWs.js} +5 -5
  184. package/dist/{LinegraphWidget-BtieJxeL.js.map → LinegraphWidget-DTLZmyWs.js.map} +1 -1
  185. package/dist/MatrixbycolumnsWidget-Digh2kY7.cjs +2 -0
  186. package/dist/{MatrixbycolumnsWidget-CGOeCNW2.cjs.map → MatrixbycolumnsWidget-Digh2kY7.cjs.map} +1 -1
  187. package/dist/{MatrixbycolumnsWidget-DnExVRF8.js → MatrixbycolumnsWidget-dpgZz4wR.js} +4 -4
  188. package/dist/{MatrixbycolumnsWidget-DnExVRF8.js.map → MatrixbycolumnsWidget-dpgZz4wR.js.map} +1 -1
  189. package/dist/MicroservicesTab-BQywJ_ya.cjs +2 -0
  190. package/dist/MicroservicesTab-BQywJ_ya.cjs.map +1 -0
  191. package/dist/MicroservicesTab-DbL48MBc.js +219 -0
  192. package/dist/MicroservicesTab-DbL48MBc.js.map +1 -0
  193. package/dist/Openc3Screen-COi4u-9k.cjs +5 -0
  194. package/dist/Openc3Screen-COi4u-9k.cjs.map +1 -0
  195. package/dist/Openc3Screen-CtwGKfq-.js +1690 -0
  196. package/dist/Openc3Screen-CtwGKfq-.js.map +1 -0
  197. package/dist/{OutputDialog-Ci5OT_fH.js → OutputDialog-B5qHVyck.js} +66 -81
  198. package/dist/OutputDialog-B5qHVyck.js.map +1 -0
  199. package/dist/OutputDialog-CFhG2RY9.cjs +2 -0
  200. package/dist/OutputDialog-CFhG2RY9.cjs.map +1 -0
  201. package/dist/PackagesTab-Bw34RkLc.js +313 -0
  202. package/dist/PackagesTab-Bw34RkLc.js.map +1 -0
  203. package/dist/PackagesTab-DXSowjd4.cjs +2 -0
  204. package/dist/PackagesTab-DXSowjd4.cjs.map +1 -0
  205. package/dist/{PluginsTab-Ds3jk64b.js → PluginsTab-C9t0-QVm.js} +206 -245
  206. package/dist/PluginsTab-C9t0-QVm.js.map +1 -0
  207. package/dist/PluginsTab-CPaBGJMa.cjs +6 -0
  208. package/dist/PluginsTab-CPaBGJMa.cjs.map +1 -0
  209. package/dist/{ProgressbarWidget-DIfqhHRE.js → ProgressbarWidget-7cYr8136.js} +3 -3
  210. package/dist/{ProgressbarWidget-DIfqhHRE.js.map → ProgressbarWidget-7cYr8136.js.map} +1 -1
  211. package/dist/ProgressbarWidget-CdOWGViG.cjs +2 -0
  212. package/dist/{ProgressbarWidget-CUIAYySg.cjs.map → ProgressbarWidget-CdOWGViG.cjs.map} +1 -1
  213. package/dist/RadiobuttonWidget-5t4ofYx3.cjs +2 -0
  214. package/dist/{RadiobuttonWidget-Cjk1JAP_.cjs.map → RadiobuttonWidget-5t4ofYx3.cjs.map} +1 -1
  215. package/dist/{RadiobuttonWidget-QzIkNP7m.js → RadiobuttonWidget-DTfn-7F2.js} +3 -3
  216. package/dist/{RadiobuttonWidget-QzIkNP7m.js.map → RadiobuttonWidget-DTfn-7F2.js.map} +1 -1
  217. package/dist/{RadiogroupWidget-Ci9sCX39.js → RadiogroupWidget-DWvTpw94.js} +3 -3
  218. package/dist/{RadiogroupWidget-Ci9sCX39.js.map → RadiogroupWidget-DWvTpw94.js.map} +1 -1
  219. package/dist/RadiogroupWidget-emxyymRZ.cjs +2 -0
  220. package/dist/{RadiogroupWidget-B4lkYWaC.cjs.map → RadiogroupWidget-emxyymRZ.cjs.map} +1 -1
  221. package/dist/{RangebarWidget-CN0YuHqy.js → RangebarWidget-CG2Y7eYp.js} +3 -3
  222. package/dist/{RangebarWidget-CN0YuHqy.js.map → RangebarWidget-CG2Y7eYp.js.map} +1 -1
  223. package/dist/RangebarWidget-CLMKfbiT.cjs +2 -0
  224. package/dist/{RangebarWidget-nl0rzj93.cjs.map → RangebarWidget-CLMKfbiT.cjs.map} +1 -1
  225. package/dist/{RedisTab-CVimDkIE.js → RedisTab-CvPLS0Qe.js} +3 -3
  226. package/dist/{RedisTab-CVimDkIE.js.map → RedisTab-CvPLS0Qe.js.map} +1 -1
  227. package/dist/RedisTab-PbizvHjY.cjs +2 -0
  228. package/dist/{RedisTab-DhS4GHDj.cjs.map → RedisTab-PbizvHjY.cjs.map} +1 -1
  229. package/dist/{RollupWidget-y4jBtJB2.js → RollupWidget-C6HKTfCR.js} +3 -3
  230. package/dist/{RollupWidget-y4jBtJB2.js.map → RollupWidget-C6HKTfCR.js.map} +1 -1
  231. package/dist/RollupWidget-CHKUdXMx.cjs +2 -0
  232. package/dist/{RollupWidget-Bgudi_bt.cjs.map → RollupWidget-CHKUdXMx.cjs.map} +1 -1
  233. package/dist/RoutersTab-D-ex_yMO.js +85 -0
  234. package/dist/RoutersTab-D-ex_yMO.js.map +1 -0
  235. package/dist/RoutersTab-zkaML-Xt.cjs +2 -0
  236. package/dist/RoutersTab-zkaML-Xt.cjs.map +1 -0
  237. package/dist/ScriptChooser-Dkf84RzQ.cjs +2 -0
  238. package/dist/ScriptChooser-Dkf84RzQ.cjs.map +1 -0
  239. package/dist/ScriptChooser-qiC2xQ_W.js +176 -0
  240. package/dist/ScriptChooser-qiC2xQ_W.js.map +1 -0
  241. package/dist/ScrollwindowWidget-CVc9EXW2.cjs +2 -0
  242. package/dist/{ScrollwindowWidget-BIiV7xwi.cjs.map → ScrollwindowWidget-CVc9EXW2.cjs.map} +1 -1
  243. package/dist/{ScrollwindowWidget-CBzYk4Y3.js → ScrollwindowWidget-DvhBCYd2.js} +4 -4
  244. package/dist/{ScrollwindowWidget-CBzYk4Y3.js.map → ScrollwindowWidget-DvhBCYd2.js.map} +1 -1
  245. package/dist/{SecretsTab-BjviaTxh.js → SecretsTab-CLkJfzf-.js} +39 -49
  246. package/dist/SecretsTab-CLkJfzf-.js.map +1 -0
  247. package/dist/SecretsTab-Clw9ErBz.cjs +2 -0
  248. package/dist/SecretsTab-Clw9ErBz.cjs.map +1 -0
  249. package/dist/SettingsTab-BJ9mrQ8U.cjs +3 -0
  250. package/dist/SettingsTab-BJ9mrQ8U.cjs.map +1 -0
  251. package/dist/{SettingsTab-Bo_dYXgb.js → SettingsTab-CysOMBFu.js} +198 -135
  252. package/dist/SettingsTab-CysOMBFu.js.map +1 -0
  253. package/dist/{SignalWidget-DQ5Uc2uV.js → SignalWidget-BZIoGjam.js} +16 -18
  254. package/dist/SignalWidget-BZIoGjam.js.map +1 -0
  255. package/dist/SignalWidget-DpNUpQNW.cjs +2 -0
  256. package/dist/SignalWidget-DpNUpQNW.cjs.map +1 -0
  257. package/dist/SimpleTextDialog-CGStqYvO.js +97 -0
  258. package/dist/SimpleTextDialog-CGStqYvO.js.map +1 -0
  259. package/dist/SimpleTextDialog-P2KPhVHq.cjs +2 -0
  260. package/dist/SimpleTextDialog-P2KPhVHq.cjs.map +1 -0
  261. package/dist/SpacerWidget-CHuv4qDR.cjs +2 -0
  262. package/dist/{SpacerWidget-BBJR6HBQ.cjs.map → SpacerWidget-CHuv4qDR.cjs.map} +1 -1
  263. package/dist/{SpacerWidget-6rsc_dSM.js → SpacerWidget-YBS8RZIE.js} +3 -3
  264. package/dist/{SpacerWidget-6rsc_dSM.js.map → SpacerWidget-YBS8RZIE.js.map} +1 -1
  265. package/dist/{SparklineWidget-CZtvu2ss.js → SparklineWidget-BMhY9vYe.js} +5 -5
  266. package/dist/{SparklineWidget-CZtvu2ss.js.map → SparklineWidget-BMhY9vYe.js.map} +1 -1
  267. package/dist/SparklineWidget-qWQGTMwn.cjs +2 -0
  268. package/dist/{SparklineWidget-BxBLnjAO.cjs.map → SparklineWidget-qWQGTMwn.cjs.map} +1 -1
  269. package/dist/TabbookWidget-C4jdzkQl.cjs +2 -0
  270. package/dist/{TabbookWidget-DyFQnA10.cjs.map → TabbookWidget-C4jdzkQl.cjs.map} +1 -1
  271. package/dist/{TabbookWidget-DNALU0jl.js → TabbookWidget-RfET19pq.js} +3 -3
  272. package/dist/{TabbookWidget-DNALU0jl.js.map → TabbookWidget-RfET19pq.js.map} +1 -1
  273. package/dist/TargetsTab-CVZR_Bp6.cjs +2 -0
  274. package/dist/TargetsTab-CVZR_Bp6.cjs.map +1 -0
  275. package/dist/TargetsTab-CfBt-dZW.js +117 -0
  276. package/dist/TargetsTab-CfBt-dZW.js.map +1 -0
  277. package/dist/TextBoxDialog-C60jmnyN.js +98 -0
  278. package/dist/TextBoxDialog-C60jmnyN.js.map +1 -0
  279. package/dist/TextBoxDialog-DWt30tB8.cjs +2 -0
  280. package/dist/TextBoxDialog-DWt30tB8.cjs.map +1 -0
  281. package/dist/TextboxWidget-Cm7-yWTZ.cjs +2 -0
  282. package/dist/{TextboxWidget-D6lW_dsU.cjs.map → TextboxWidget-Cm7-yWTZ.cjs.map} +1 -1
  283. package/dist/{TextboxWidget-5hqPj74D.js → TextboxWidget-M8vFBSxS.js} +5 -5
  284. package/dist/{TextboxWidget-5hqPj74D.js.map → TextboxWidget-M8vFBSxS.js.map} +1 -1
  285. package/dist/TextfieldWidget-Bfk2NPtC.cjs +2 -0
  286. package/dist/{TextfieldWidget-iHN7-fyF.cjs.map → TextfieldWidget-Bfk2NPtC.cjs.map} +1 -1
  287. package/dist/{TextfieldWidget-Df0ANSiU.js → TextfieldWidget-Dev7lCsT.js} +3 -3
  288. package/dist/{TextfieldWidget-Df0ANSiU.js.map → TextfieldWidget-Dev7lCsT.js.map} +1 -1
  289. package/dist/TimeWidget-BqkZJdg7.cjs +2 -0
  290. package/dist/{TimeWidget-C3NZqTEG.cjs.map → TimeWidget-BqkZJdg7.cjs.map} +1 -1
  291. package/dist/{TimeWidget-C6XQMUG2.js → TimeWidget-CQzn13rQ.js} +4 -4
  292. package/dist/{TimeWidget-C6XQMUG2.js.map → TimeWidget-CQzn13rQ.js.map} +1 -1
  293. package/dist/{TitleWidget-B9SPUlbW.js → TitleWidget-C4zbSian.js} +3 -3
  294. package/dist/{TitleWidget-B9SPUlbW.js.map → TitleWidget-C4zbSian.js.map} +1 -1
  295. package/dist/TitleWidget-DW0hJ0FE.cjs +2 -0
  296. package/dist/{TitleWidget-CWZs33c4.cjs.map → TitleWidget-DW0hJ0FE.cjs.map} +1 -1
  297. package/dist/ToolsTab-CKeFb94Y.cjs +7 -0
  298. package/dist/{ToolsTab-CUpUmkZL.cjs.map → ToolsTab-CKeFb94Y.cjs.map} +1 -1
  299. package/dist/ToolsTab-CnhhRS3J.js +1501 -0
  300. package/dist/{ToolsTab-Cgpb2nAW.js.map → ToolsTab-CnhhRS3J.js.map} +1 -1
  301. package/dist/TopBar-4zZ-wYMY.cjs +2 -0
  302. package/dist/TopBar-4zZ-wYMY.cjs.map +1 -0
  303. package/dist/{TopBar-F1jHuFan.js → TopBar-BQhv8Jcc.js} +102 -68
  304. package/dist/TopBar-BQhv8Jcc.js.map +1 -0
  305. package/dist/UpgradeToEnterpriseDialog-C0MA3Uc-.cjs +2 -0
  306. package/dist/UpgradeToEnterpriseDialog-C0MA3Uc-.cjs.map +1 -0
  307. package/dist/{UpgradeToEnterpriseDialog-DVcAH30Y.js → UpgradeToEnterpriseDialog-c6twungI.js} +27 -27
  308. package/dist/UpgradeToEnterpriseDialog-c6twungI.js.map +1 -0
  309. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-Bowkx8lp.cjs +1497 -0
  310. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-Bowkx8lp.cjs.map +1 -0
  311. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js +30244 -0
  312. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CVrrWDJ_.js.map +1 -0
  313. package/dist/{VWidget-C4spAawK.js → VWidget-iASFPjdx.js} +3 -3
  314. package/dist/{VWidget-C4spAawK.js.map → VWidget-iASFPjdx.js.map} +1 -1
  315. package/dist/{VWidget-C2x_zSC2.cjs → VWidget-iTwRH6Qq.cjs} +2 -2
  316. package/dist/{VWidget-C2x_zSC2.cjs.map → VWidget-iTwRH6Qq.cjs.map} +1 -1
  317. package/dist/{ValueWidget-D4RrYVEK.js → ValueWidget-BVI6uUVX.js} +17 -15
  318. package/dist/ValueWidget-BVI6uUVX.js.map +1 -0
  319. package/dist/ValueWidget-CPuSUgn9.cjs +2 -0
  320. package/dist/ValueWidget-CPuSUgn9.cjs.map +1 -0
  321. package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js → ValuelimitsbarWidget-BiIcery0.js} +5 -5
  322. package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js.map → ValuelimitsbarWidget-BiIcery0.js.map} +1 -1
  323. package/dist/ValuelimitsbarWidget-CNdyobcf.cjs +2 -0
  324. package/dist/{ValuelimitsbarWidget-DJuh7FOs.cjs.map → ValuelimitsbarWidget-CNdyobcf.cjs.map} +1 -1
  325. package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js → ValuelimitscolumnWidget-BiRI8GbI.js} +5 -5
  326. package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js.map → ValuelimitscolumnWidget-BiRI8GbI.js.map} +1 -1
  327. package/dist/ValuelimitscolumnWidget-Db0K4OjQ.cjs +2 -0
  328. package/dist/{ValuelimitscolumnWidget-BFpG-H7v.cjs.map → ValuelimitscolumnWidget-Db0K4OjQ.cjs.map} +1 -1
  329. package/dist/{ValuerangebarWidget-CecQRIok.js → ValuerangebarWidget-CtMFQu9-.js} +5 -5
  330. package/dist/{ValuerangebarWidget-CecQRIok.js.map → ValuerangebarWidget-CtMFQu9-.js.map} +1 -1
  331. package/dist/ValuerangebarWidget-DAEr-D_E.cjs +2 -0
  332. package/dist/{ValuerangebarWidget-BlZSaiXo.cjs.map → ValuerangebarWidget-DAEr-D_E.cjs.map} +1 -1
  333. package/dist/{VerticalWidget-D8jUFxjS.js → VerticalWidget-CRmcpQBn.js} +3 -3
  334. package/dist/{VerticalWidget-D8jUFxjS.js.map → VerticalWidget-CRmcpQBn.js.map} +1 -1
  335. package/dist/VerticalWidget-YG3auPJa.cjs +2 -0
  336. package/dist/{VerticalWidget--8UErB4q.cjs.map → VerticalWidget-YG3auPJa.cjs.map} +1 -1
  337. package/dist/VerticalboxWidget-C-qChjug.js +46 -0
  338. package/dist/VerticalboxWidget-C-qChjug.js.map +1 -0
  339. package/dist/VerticalboxWidget-DX8-gFay.cjs +2 -0
  340. package/dist/VerticalboxWidget-DX8-gFay.cjs.map +1 -0
  341. package/dist/{Widget-fRCERxGf.js → Widget-CFEnOKms.js} +19 -19
  342. package/dist/Widget-CFEnOKms.js.map +1 -0
  343. package/dist/Widget-EsyLQi_8.cjs +2 -0
  344. package/dist/Widget-EsyLQi_8.cjs.map +1 -0
  345. package/dist/components.cjs +3 -6
  346. package/dist/components.cjs.map +1 -1
  347. package/dist/components.js +402 -2029
  348. package/dist/components.js.map +1 -1
  349. package/dist/icons.cjs +1 -1
  350. package/dist/icons.cjs.map +1 -1
  351. package/dist/icons.js +59 -52
  352. package/dist/icons.js.map +1 -1
  353. package/dist/index-DcL65Mqb.cjs +7 -0
  354. package/dist/index-DcL65Mqb.cjs.map +1 -0
  355. package/dist/{index-CFQnWdPA.js → index-qCq0L4jN.js} +404 -406
  356. package/dist/index-qCq0L4jN.js.map +1 -0
  357. package/dist/plugins.cjs +4 -4
  358. package/dist/plugins.cjs.map +1 -1
  359. package/dist/plugins.js +86 -77
  360. package/dist/plugins.js.map +1 -1
  361. package/dist/{timeFilters-CRYpYDdf.js → timeFilters-BKnCM4rv.js} +139 -136
  362. package/dist/{timeFilters-CRYpYDdf.js.map → timeFilters-BKnCM4rv.js.map} +1 -1
  363. package/dist/timeFilters-CJFxfjqN.cjs +2 -0
  364. package/dist/{timeFilters-8SaYvcH0.cjs.map → timeFilters-CJFxfjqN.cjs.map} +1 -1
  365. package/dist/tools/admin.cjs +10 -10
  366. package/dist/tools/admin.cjs.map +1 -1
  367. package/dist/tools/admin.js +790 -736
  368. package/dist/tools/admin.js.map +1 -1
  369. package/dist/tools/base.cjs +1 -1
  370. package/dist/tools/base.cjs.map +1 -1
  371. package/dist/tools/base.js +217 -226
  372. package/dist/tools/base.js.map +1 -1
  373. package/dist/tools/calendar.cjs +1 -1
  374. package/dist/tools/calendar.cjs.map +1 -1
  375. package/dist/tools/calendar.js +9 -1583
  376. package/dist/tools/calendar.js.map +1 -1
  377. package/dist/tools/scriptrunner.cjs +85 -0
  378. package/dist/tools/scriptrunner.cjs.map +1 -0
  379. package/dist/tools/scriptrunner.js +4574 -0
  380. package/dist/tools/scriptrunner.js.map +1 -0
  381. package/dist/util.cjs +1 -1
  382. package/dist/util.js +1 -1
  383. package/dist/vue-common.css +1 -1
  384. package/dist/widgets.cjs +1 -1
  385. package/dist/widgets.js +64 -64
  386. package/package.json +20 -15
  387. package/dist/ArrayplotWidget-Donxhd8_.cjs +0 -2
  388. package/dist/BlockWidget-DPLN1jgj.cjs +0 -3
  389. package/dist/ButtonWidget-DccYzIY3.cjs +0 -3
  390. package/dist/CanvasWidget-BzTU9rc9.cjs +0 -2
  391. package/dist/CanvasdotWidget-B7VTS1QI.cjs +0 -2
  392. package/dist/CanvasimageWidget-BwYpfmDE.cjs +0 -2
  393. package/dist/CanvasimagevalueWidget-E_NsZ82T.cjs +0 -2
  394. package/dist/CanvaslabelWidget-BBDuXWfU.cjs +0 -2
  395. package/dist/CanvaslabelvalueWidget-DAdu7ujn.cjs +0 -2
  396. package/dist/CanvaslineWidget-Bv5da1Vy.cjs +0 -2
  397. package/dist/CanvaslinevalueWidget-BVfUB96K.cjs +0 -2
  398. package/dist/CheckbuttonWidget-BGqD-BGc.cjs +0 -2
  399. package/dist/ComboboxWidget-DoHMlSAr.cjs +0 -2
  400. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs +0 -2
  401. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs.map +0 -1
  402. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js +0 -10
  403. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js.map +0 -1
  404. package/dist/CriticalCmdDialog-DLEasFsx.js.map +0 -1
  405. package/dist/CriticalCmdDialog-DoLBrU2k.cjs +0 -2
  406. package/dist/CriticalCmdDialog-DoLBrU2k.cjs.map +0 -1
  407. package/dist/DateWidget-DKZz1J9J.cjs +0 -2
  408. package/dist/DetailsDialog-BvbziA7Y.js.map +0 -1
  409. package/dist/DetailsDialog-CiuQYvJK.cjs +0 -2
  410. package/dist/DetailsDialog-CiuQYvJK.cjs.map +0 -1
  411. package/dist/DynamicWidget-3wHr6Ng-.cjs +0 -2
  412. package/dist/FormatvalueWidget-CGpnTqVH.js +0 -44
  413. package/dist/FormatvalueWidget-CGpnTqVH.js.map +0 -1
  414. package/dist/FormatvalueWidget-DFrbeKb9.cjs +0 -2
  415. package/dist/FormatvalueWidget-DFrbeKb9.cjs.map +0 -1
  416. package/dist/Graph-3rkhFP3G.js.map +0 -1
  417. package/dist/Graph-C3vGMcos.cjs +0 -2
  418. package/dist/Graph-C3vGMcos.cjs.map +0 -1
  419. package/dist/HorizontalWidget-BBeB0eBI.cjs +0 -2
  420. package/dist/HorizontalboxWidget-Br8dSVHD.js +0 -38
  421. package/dist/HorizontalboxWidget-Br8dSVHD.js.map +0 -1
  422. package/dist/HorizontalboxWidget-DsdzrCJx.cjs +0 -2
  423. package/dist/HorizontalboxWidget-DsdzrCJx.cjs.map +0 -1
  424. package/dist/HorizontallineWidget-BCKOQase.cjs +0 -2
  425. package/dist/HorizontallineWidget-CbxREBYI.js +0 -11
  426. package/dist/IframeWidget-CZwsTgvX.cjs +0 -2
  427. package/dist/ImageviewerWidget-DwRPFSLR.cjs +0 -2
  428. package/dist/InterfacesTab-CLaicsHA.cjs +0 -2
  429. package/dist/InterfacesTab-CLaicsHA.cjs.map +0 -1
  430. package/dist/InterfacesTab-DAeNlGlB.js +0 -93
  431. package/dist/InterfacesTab-DAeNlGlB.js.map +0 -1
  432. package/dist/LabelWidget-C-s8OVmA.cjs +0 -2
  433. package/dist/LabelWidget-C-s8OVmA.cjs.map +0 -1
  434. package/dist/LabelWidget-t7I87dp7.js.map +0 -1
  435. package/dist/LabelledWidget-DUpHxc9z.cjs +0 -2
  436. package/dist/LabelprogressbarWidget-D6cpayCR.cjs +0 -2
  437. package/dist/LabelsparklineWidget-CJRnLETe.cjs +0 -2
  438. package/dist/LabelvalueWidget-owiMSCYl.cjs +0 -2
  439. package/dist/LabelvaluedescWidget-MRmZBUc0.cjs +0 -2
  440. package/dist/LabelvaluelimitsbarWidget-BQ2XYPNE.cjs +0 -2
  441. package/dist/LabelvaluelimitscolumnWidget-DNmVpU8J.cjs +0 -2
  442. package/dist/LabelvaluerangebarWidget-DL0U8cbw.cjs +0 -2
  443. package/dist/Layout-DRL0EeSA.cjs +0 -2
  444. package/dist/LedWidget-B8rjFe1b.cjs +0 -2
  445. package/dist/LedWidget-B8rjFe1b.cjs.map +0 -1
  446. package/dist/LedWidget-CxJjJBBS.js +0 -71
  447. package/dist/LedWidget-CxJjJBBS.js.map +0 -1
  448. package/dist/LimitsbarWidget-CYIH8fdp.cjs +0 -2
  449. package/dist/LimitsbarWidget-CYIH8fdp.cjs.map +0 -1
  450. package/dist/LimitsbarWidget-Djui0IpK.js.map +0 -1
  451. package/dist/LimitscolorWidget-CS0wpX9A.cjs +0 -2
  452. package/dist/LimitscolumnWidget-C_UW6xKq.cjs +0 -2
  453. package/dist/LinegraphWidget-8td_PqgU.cjs +0 -2
  454. package/dist/MatrixbycolumnsWidget-CGOeCNW2.cjs +0 -2
  455. package/dist/MicroservicesTab-IbTmbPxO.js +0 -268
  456. package/dist/MicroservicesTab-IbTmbPxO.js.map +0 -1
  457. package/dist/MicroservicesTab-uMC8NebS.cjs +0 -2
  458. package/dist/MicroservicesTab-uMC8NebS.cjs.map +0 -1
  459. package/dist/OutputDialog-B4Q0QMJ1.cjs +0 -2
  460. package/dist/OutputDialog-B4Q0QMJ1.cjs.map +0 -1
  461. package/dist/OutputDialog-Ci5OT_fH.js.map +0 -1
  462. package/dist/PackagesTab-BX8YP3H1.js +0 -332
  463. package/dist/PackagesTab-BX8YP3H1.js.map +0 -1
  464. package/dist/PackagesTab-eYbk2vw7.cjs +0 -2
  465. package/dist/PackagesTab-eYbk2vw7.cjs.map +0 -1
  466. package/dist/PluginsTab-Ck3DvEGm.cjs +0 -6
  467. package/dist/PluginsTab-Ck3DvEGm.cjs.map +0 -1
  468. package/dist/PluginsTab-Ds3jk64b.js.map +0 -1
  469. package/dist/ProgressbarWidget-CUIAYySg.cjs +0 -2
  470. package/dist/RadiobuttonWidget-Cjk1JAP_.cjs +0 -2
  471. package/dist/RadiogroupWidget-B4lkYWaC.cjs +0 -2
  472. package/dist/RangebarWidget-nl0rzj93.cjs +0 -2
  473. package/dist/RedisTab-DhS4GHDj.cjs +0 -2
  474. package/dist/RollupWidget-Bgudi_bt.cjs +0 -2
  475. package/dist/RoutersTab-CzO10cVP.cjs +0 -2
  476. package/dist/RoutersTab-CzO10cVP.cjs.map +0 -1
  477. package/dist/RoutersTab-Dki_66av.js +0 -95
  478. package/dist/RoutersTab-Dki_66av.js.map +0 -1
  479. package/dist/ScriptChooser-BNm_zXxX.cjs +0 -2
  480. package/dist/ScriptChooser-BNm_zXxX.cjs.map +0 -1
  481. package/dist/ScriptChooser-l5i8c8KP.js +0 -199
  482. package/dist/ScriptChooser-l5i8c8KP.js.map +0 -1
  483. package/dist/ScrollwindowWidget-BIiV7xwi.cjs +0 -2
  484. package/dist/SecretsTab-BSzFZ81X.cjs +0 -2
  485. package/dist/SecretsTab-BSzFZ81X.cjs.map +0 -1
  486. package/dist/SecretsTab-BjviaTxh.js.map +0 -1
  487. package/dist/SettingsTab-Bo_dYXgb.js.map +0 -1
  488. package/dist/SettingsTab-DH8LAAoG.cjs +0 -3
  489. package/dist/SettingsTab-DH8LAAoG.cjs.map +0 -1
  490. package/dist/SignalWidget-CvZkvejy.cjs +0 -2
  491. package/dist/SignalWidget-CvZkvejy.cjs.map +0 -1
  492. package/dist/SignalWidget-DQ5Uc2uV.js.map +0 -1
  493. package/dist/SimpleTextDialog-CheuP_ls.js +0 -108
  494. package/dist/SimpleTextDialog-CheuP_ls.js.map +0 -1
  495. package/dist/SimpleTextDialog-DmeNMMCR.cjs +0 -2
  496. package/dist/SimpleTextDialog-DmeNMMCR.cjs.map +0 -1
  497. package/dist/SpacerWidget-BBJR6HBQ.cjs +0 -2
  498. package/dist/SparklineWidget-BxBLnjAO.cjs +0 -2
  499. package/dist/TabbookWidget-DyFQnA10.cjs +0 -2
  500. package/dist/TargetsTab-Cd8U1aN_.js +0 -129
  501. package/dist/TargetsTab-Cd8U1aN_.js.map +0 -1
  502. package/dist/TargetsTab-DMiOliqg.cjs +0 -2
  503. package/dist/TargetsTab-DMiOliqg.cjs.map +0 -1
  504. package/dist/TextBoxDialog-DvUf3Cak.cjs +0 -2
  505. package/dist/TextBoxDialog-DvUf3Cak.cjs.map +0 -1
  506. package/dist/TextBoxDialog-fHkDTtzI.js +0 -110
  507. package/dist/TextBoxDialog-fHkDTtzI.js.map +0 -1
  508. package/dist/TextboxWidget-D6lW_dsU.cjs +0 -2
  509. package/dist/TextfieldWidget-iHN7-fyF.cjs +0 -2
  510. package/dist/TimeWidget-C3NZqTEG.cjs +0 -2
  511. package/dist/TitleWidget-CWZs33c4.cjs +0 -2
  512. package/dist/ToolsTab-CUpUmkZL.cjs +0 -7
  513. package/dist/ToolsTab-Cgpb2nAW.js +0 -1521
  514. package/dist/TopBar-DuXL27iD.cjs +0 -2
  515. package/dist/TopBar-DuXL27iD.cjs.map +0 -1
  516. package/dist/TopBar-F1jHuFan.js.map +0 -1
  517. package/dist/UpgradeToEnterpriseDialog-DVcAH30Y.js.map +0 -1
  518. package/dist/UpgradeToEnterpriseDialog-DfIKahNK.cjs +0 -2
  519. package/dist/UpgradeToEnterpriseDialog-DfIKahNK.cjs.map +0 -1
  520. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs +0 -1417
  521. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs.map +0 -1
  522. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js +0 -26941
  523. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js.map +0 -1
  524. package/dist/ValueWidget-D4RrYVEK.js.map +0 -1
  525. package/dist/ValueWidget-Do3Yn47P.cjs +0 -2
  526. package/dist/ValueWidget-Do3Yn47P.cjs.map +0 -1
  527. package/dist/ValuelimitsbarWidget-DJuh7FOs.cjs +0 -2
  528. package/dist/ValuelimitscolumnWidget-BFpG-H7v.cjs +0 -2
  529. package/dist/ValuerangebarWidget-BlZSaiXo.cjs +0 -2
  530. package/dist/VerticalWidget--8UErB4q.cjs +0 -2
  531. package/dist/VerticalboxWidget-B4eGUSYH.js +0 -37
  532. package/dist/VerticalboxWidget-B4eGUSYH.js.map +0 -1
  533. package/dist/VerticalboxWidget-cxHq1WKQ.cjs +0 -2
  534. package/dist/VerticalboxWidget-cxHq1WKQ.cjs.map +0 -1
  535. package/dist/Widget-DNf52jRQ.cjs +0 -2
  536. package/dist/Widget-DNf52jRQ.cjs.map +0 -1
  537. package/dist/Widget-fRCERxGf.js.map +0 -1
  538. package/dist/index-Bz_jHTkl.cjs +0 -7
  539. package/dist/index-Bz_jHTkl.cjs.map +0 -1
  540. package/dist/index-CFQnWdPA.js.map +0 -1
  541. package/dist/timeFilters-8SaYvcH0.cjs +0 -2
@@ -1,1521 +0,0 @@
1
- import { a as dt } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js";
2
- import { resolveComponent as j, createElementBlock as Jt, openBlock as Et, createVNode as A, createElementVNode as Kt, createBlock as me, createCommentVNode as ve, withCtx as x, createTextVNode as Dt, toDisplayString as be, Fragment as Ve, renderList as ze, normalizeClass as Ue, mergeProps as _e } from "vue";
3
- import { _ as $e } from "./CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js";
4
- import "single-spa";
5
- import { O as qe } from "./OutputDialog-Ci5OT_fH.js";
6
- /**!
7
- * Sortable 1.15.6
8
- * @author RubaXa <trash@rubaxa.org>
9
- * @author owenm <owen23355@gmail.com>
10
- * @license MIT
11
- */
12
- function ye(e, t) {
13
- var n = Object.keys(e);
14
- if (Object.getOwnPropertySymbols) {
15
- var o = Object.getOwnPropertySymbols(e);
16
- t && (o = o.filter(function(i) {
17
- return Object.getOwnPropertyDescriptor(e, i).enumerable;
18
- })), n.push.apply(n, o);
19
- }
20
- return n;
21
- }
22
- function $(e) {
23
- for (var t = 1; t < arguments.length; t++) {
24
- var n = arguments[t] != null ? arguments[t] : {};
25
- t % 2 ? ye(Object(n), !0).forEach(function(o) {
26
- Je(e, o, n[o]);
27
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ye(Object(n)).forEach(function(o) {
28
- Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
29
- });
30
- }
31
- return e;
32
- }
33
- function Yt(e) {
34
- "@babel/helpers - typeof";
35
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Yt = function(t) {
36
- return typeof t;
37
- } : Yt = function(t) {
38
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
39
- }, Yt(e);
40
- }
41
- function Je(e, t, n) {
42
- return t in e ? Object.defineProperty(e, t, {
43
- value: n,
44
- enumerable: !0,
45
- configurable: !0,
46
- writable: !0
47
- }) : e[t] = n, e;
48
- }
49
- function K() {
50
- return K = Object.assign || function(e) {
51
- for (var t = 1; t < arguments.length; t++) {
52
- var n = arguments[t];
53
- for (var o in n)
54
- Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
55
- }
56
- return e;
57
- }, K.apply(this, arguments);
58
- }
59
- function Ke(e, t) {
60
- if (e == null) return {};
61
- var n = {}, o = Object.keys(e), i, r;
62
- for (r = 0; r < o.length; r++)
63
- i = o[r], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
64
- return n;
65
- }
66
- function Ze(e, t) {
67
- if (e == null) return {};
68
- var n = Ke(e, t), o, i;
69
- if (Object.getOwnPropertySymbols) {
70
- var r = Object.getOwnPropertySymbols(e);
71
- for (i = 0; i < r.length; i++)
72
- o = r[i], !(t.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(e, o) && (n[o] = e[o]);
73
- }
74
- return n;
75
- }
76
- var Qe = "1.15.6";
77
- function J(e) {
78
- if (typeof window < "u" && window.navigator)
79
- return !!/* @__PURE__ */ navigator.userAgent.match(e);
80
- }
81
- var Z = J(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Pt = J(/Edge/i), we = J(/firefox/i), Ot = J(/safari/i) && !J(/chrome/i) && !J(/android/i), fe = J(/iP(ad|od|hone)/i), Ae = J(/chrome/i) && J(/android/i), xe = {
82
- capture: !1,
83
- passive: !1
84
- };
85
- function _(e, t, n) {
86
- e.addEventListener(t, n, !Z && xe);
87
- }
88
- function v(e, t, n) {
89
- e.removeEventListener(t, n, !Z && xe);
90
- }
91
- function Gt(e, t) {
92
- if (t) {
93
- if (t[0] === ">" && (t = t.substring(1)), e)
94
- try {
95
- if (e.matches)
96
- return e.matches(t);
97
- if (e.msMatchesSelector)
98
- return e.msMatchesSelector(t);
99
- if (e.webkitMatchesSelector)
100
- return e.webkitMatchesSelector(t);
101
- } catch {
102
- return !1;
103
- }
104
- return !1;
105
- }
106
- }
107
- function Ne(e) {
108
- return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
109
- }
110
- function V(e, t, n, o) {
111
- if (e) {
112
- n = n || document;
113
- do {
114
- if (t != null && (t[0] === ">" ? e.parentNode === n && Gt(e, t) : Gt(e, t)) || o && e === n)
115
- return e;
116
- if (e === n) break;
117
- } while (e = Ne(e));
118
- }
119
- return null;
120
- }
121
- var Ee = /\s+/g;
122
- function L(e, t, n) {
123
- if (e && t)
124
- if (e.classList)
125
- e.classList[n ? "add" : "remove"](t);
126
- else {
127
- var o = (" " + e.className + " ").replace(Ee, " ").replace(" " + t + " ", " ");
128
- e.className = (o + (n ? " " + t : "")).replace(Ee, " ");
129
- }
130
- }
131
- function h(e, t, n) {
132
- var o = e && e.style;
133
- if (o) {
134
- if (n === void 0)
135
- return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(e, "") : e.currentStyle && (n = e.currentStyle), t === void 0 ? n : n[t];
136
- !(t in o) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), o[t] = n + (typeof n == "string" ? "" : "px");
137
- }
138
- }
139
- function gt(e, t) {
140
- var n = "";
141
- if (typeof e == "string")
142
- n = e;
143
- else
144
- do {
145
- var o = h(e, "transform");
146
- o && o !== "none" && (n = o + " " + n);
147
- } while (!t && (e = e.parentNode));
148
- var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
149
- return i && new i(n);
150
- }
151
- function Pe(e, t, n) {
152
- if (e) {
153
- var o = e.getElementsByTagName(t), i = 0, r = o.length;
154
- if (n)
155
- for (; i < r; i++)
156
- n(o[i], i);
157
- return o;
158
- }
159
- return [];
160
- }
161
- function U() {
162
- var e = document.scrollingElement;
163
- return e || document.documentElement;
164
- }
165
- function O(e, t, n, o, i) {
166
- if (!(!e.getBoundingClientRect && e !== window)) {
167
- var r, a, l, s, u, c, f;
168
- if (e !== window && e.parentNode && e !== U() ? (r = e.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, c = r.height, f = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, c = window.innerHeight, f = window.innerWidth), (t || n) && e !== window && (i = i || e.parentNode, !Z))
169
- do
170
- if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || n && h(i, "position") !== "static")) {
171
- var m = i.getBoundingClientRect();
172
- a -= m.top + parseInt(h(i, "border-top-width")), l -= m.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
173
- break;
174
- }
175
- while (i = i.parentNode);
176
- if (o && e !== window) {
177
- var w = gt(i || e), b = w && w.a, y = w && w.d;
178
- w && (a /= y, l /= b, f /= b, c /= y, s = a + c, u = l + f);
179
- }
180
- return {
181
- top: a,
182
- left: l,
183
- bottom: s,
184
- right: u,
185
- width: f,
186
- height: c
187
- };
188
- }
189
- }
190
- function De(e, t, n) {
191
- for (var o = ot(e, !0), i = O(e)[t]; o; ) {
192
- var r = O(o)[n], a = void 0;
193
- if (a = i >= r, !a) return o;
194
- if (o === U()) break;
195
- o = ot(o, !1);
196
- }
197
- return !1;
198
- }
199
- function mt(e, t, n, o) {
200
- for (var i = 0, r = 0, a = e.children; r < a.length; ) {
201
- if (a[r].style.display !== "none" && a[r] !== p.ghost && (o || a[r] !== p.dragged) && V(a[r], n.draggable, e, !1)) {
202
- if (i === t)
203
- return a[r];
204
- i++;
205
- }
206
- r++;
207
- }
208
- return null;
209
- }
210
- function ce(e, t) {
211
- for (var n = e.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || t && !Gt(n, t)); )
212
- n = n.previousElementSibling;
213
- return n || null;
214
- }
215
- function W(e, t) {
216
- var n = 0;
217
- if (!e || !e.parentNode)
218
- return -1;
219
- for (; e = e.previousElementSibling; )
220
- e.nodeName.toUpperCase() !== "TEMPLATE" && e !== p.clone && (!t || Gt(e, t)) && n++;
221
- return n;
222
- }
223
- function Se(e) {
224
- var t = 0, n = 0, o = U();
225
- if (e)
226
- do {
227
- var i = gt(e), r = i.a, a = i.d;
228
- t += e.scrollLeft * r, n += e.scrollTop * a;
229
- } while (e !== o && (e = e.parentNode));
230
- return [t, n];
231
- }
232
- function tn(e, t) {
233
- for (var n in e)
234
- if (e.hasOwnProperty(n)) {
235
- for (var o in t)
236
- if (t.hasOwnProperty(o) && t[o] === e[n][o]) return Number(n);
237
- }
238
- return -1;
239
- }
240
- function ot(e, t) {
241
- if (!e || !e.getBoundingClientRect) return U();
242
- var n = e, o = !1;
243
- do
244
- if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
245
- var i = h(n);
246
- if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
247
- if (!n.getBoundingClientRect || n === document.body) return U();
248
- if (o || t) return n;
249
- o = !0;
250
- }
251
- }
252
- while (n = n.parentNode);
253
- return U();
254
- }
255
- function en(e, t) {
256
- if (e && t)
257
- for (var n in t)
258
- t.hasOwnProperty(n) && (e[n] = t[n]);
259
- return e;
260
- }
261
- function Zt(e, t) {
262
- return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
263
- }
264
- var It;
265
- function Fe(e, t) {
266
- return function() {
267
- if (!It) {
268
- var n = arguments, o = this;
269
- n.length === 1 ? e.call(o, n[0]) : e.apply(o, n), It = setTimeout(function() {
270
- It = void 0;
271
- }, t);
272
- }
273
- };
274
- }
275
- function nn() {
276
- clearTimeout(It), It = void 0;
277
- }
278
- function Me(e, t, n) {
279
- e.scrollLeft += t, e.scrollTop += n;
280
- }
281
- function ke(e) {
282
- var t = window.Polymer, n = window.jQuery || window.Zepto;
283
- return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
284
- }
285
- function Re(e, t, n) {
286
- var o = {};
287
- return Array.from(e.children).forEach(function(i) {
288
- var r, a, l, s;
289
- if (!(!V(i, t.draggable, e, !1) || i.animated || i === n)) {
290
- var u = O(i);
291
- o.left = Math.min((r = o.left) !== null && r !== void 0 ? r : 1 / 0, u.left), o.top = Math.min((a = o.top) !== null && a !== void 0 ? a : 1 / 0, u.top), o.right = Math.max((l = o.right) !== null && l !== void 0 ? l : -1 / 0, u.right), o.bottom = Math.max((s = o.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
292
- }
293
- }), o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
294
- }
295
- var B = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
296
- function on() {
297
- var e = [], t;
298
- return {
299
- captureAnimationState: function() {
300
- if (e = [], !!this.options.animation) {
301
- var o = [].slice.call(this.el.children);
302
- o.forEach(function(i) {
303
- if (!(h(i, "display") === "none" || i === p.ghost)) {
304
- e.push({
305
- target: i,
306
- rect: O(i)
307
- });
308
- var r = $({}, e[e.length - 1].rect);
309
- if (i.thisAnimationDuration) {
310
- var a = gt(i, !0);
311
- a && (r.top -= a.f, r.left -= a.e);
312
- }
313
- i.fromRect = r;
314
- }
315
- });
316
- }
317
- },
318
- addAnimationState: function(o) {
319
- e.push(o);
320
- },
321
- removeAnimationState: function(o) {
322
- e.splice(tn(e, {
323
- target: o
324
- }), 1);
325
- },
326
- animateAll: function(o) {
327
- var i = this;
328
- if (!this.options.animation) {
329
- clearTimeout(t), typeof o == "function" && o();
330
- return;
331
- }
332
- var r = !1, a = 0;
333
- e.forEach(function(l) {
334
- var s = 0, u = l.target, c = u.fromRect, f = O(u), m = u.prevFromRect, w = u.prevToRect, b = l.rect, y = gt(u, !0);
335
- y && (f.top -= y.f, f.left -= y.e), u.toRect = f, u.thisAnimationDuration && Zt(m, f) && !Zt(c, f) && // Make sure animatingRect is on line between toRect & fromRect
336
- (b.top - f.top) / (b.left - f.left) === (c.top - f.top) / (c.left - f.left) && (s = an(b, m, w, i.options)), Zt(f, c) || (u.prevFromRect = c, u.prevToRect = f, s || (s = i.options.animation), i.animate(u, b, f, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
337
- u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
338
- }, s), u.thisAnimationDuration = s);
339
- }), clearTimeout(t), r ? t = setTimeout(function() {
340
- typeof o == "function" && o();
341
- }, a) : typeof o == "function" && o(), e = [];
342
- },
343
- animate: function(o, i, r, a) {
344
- if (a) {
345
- h(o, "transition", ""), h(o, "transform", "");
346
- var l = gt(this.el), s = l && l.a, u = l && l.d, c = (i.left - r.left) / (s || 1), f = (i.top - r.top) / (u || 1);
347
- o.animatingX = !!c, o.animatingY = !!f, h(o, "transform", "translate3d(" + c + "px," + f + "px,0)"), this.forRepaintDummy = rn(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
348
- h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
349
- }, a);
350
- }
351
- }
352
- };
353
- }
354
- function rn(e) {
355
- return e.offsetWidth;
356
- }
357
- function an(e, t, n, o) {
358
- return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) * o.animation;
359
- }
360
- var ft = [], Qt = {
361
- initializeByDefault: !0
362
- }, Ft = {
363
- mount: function(t) {
364
- for (var n in Qt)
365
- Qt.hasOwnProperty(n) && !(n in t) && (t[n] = Qt[n]);
366
- ft.forEach(function(o) {
367
- if (o.pluginName === t.pluginName)
368
- throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
369
- }), ft.push(t);
370
- },
371
- pluginEvent: function(t, n, o) {
372
- var i = this;
373
- this.eventCanceled = !1, o.cancel = function() {
374
- i.eventCanceled = !0;
375
- };
376
- var r = t + "Global";
377
- ft.forEach(function(a) {
378
- n[a.pluginName] && (n[a.pluginName][r] && n[a.pluginName][r]($({
379
- sortable: n
380
- }, o)), n.options[a.pluginName] && n[a.pluginName][t] && n[a.pluginName][t]($({
381
- sortable: n
382
- }, o)));
383
- });
384
- },
385
- initializePlugins: function(t, n, o, i) {
386
- ft.forEach(function(l) {
387
- var s = l.pluginName;
388
- if (!(!t.options[s] && !l.initializeByDefault)) {
389
- var u = new l(t, n, t.options);
390
- u.sortable = t, u.options = t.options, t[s] = u, K(o, u.defaults);
391
- }
392
- });
393
- for (var r in t.options)
394
- if (t.options.hasOwnProperty(r)) {
395
- var a = this.modifyOption(t, r, t.options[r]);
396
- typeof a < "u" && (t.options[r] = a);
397
- }
398
- },
399
- getEventProperties: function(t, n) {
400
- var o = {};
401
- return ft.forEach(function(i) {
402
- typeof i.eventProperties == "function" && K(o, i.eventProperties.call(n[i.pluginName], t));
403
- }), o;
404
- },
405
- modifyOption: function(t, n, o) {
406
- var i;
407
- return ft.forEach(function(r) {
408
- t[r.pluginName] && r.optionListeners && typeof r.optionListeners[n] == "function" && (i = r.optionListeners[n].call(t[r.pluginName], o));
409
- }), i;
410
- }
411
- };
412
- function ln(e) {
413
- var t = e.sortable, n = e.rootEl, o = e.name, i = e.targetEl, r = e.cloneEl, a = e.toEl, l = e.fromEl, s = e.oldIndex, u = e.newIndex, c = e.oldDraggableIndex, f = e.newDraggableIndex, m = e.originalEvent, w = e.putSortable, b = e.extraEventProperties;
414
- if (t = t || n && n[B], !!t) {
415
- var y, X = t.options, E = "on" + o.charAt(0).toUpperCase() + o.substr(1);
416
- window.CustomEvent && !Z && !Pt ? y = new CustomEvent(o, {
417
- bubbles: !0,
418
- cancelable: !0
419
- }) : (y = document.createEvent("Event"), y.initEvent(o, !0, !0)), y.to = a || n, y.from = l || n, y.item = i || n, y.clone = r, y.oldIndex = s, y.newIndex = u, y.oldDraggableIndex = c, y.newDraggableIndex = f, y.originalEvent = m, y.pullMode = w ? w.lastPutMode : void 0;
420
- var I = $($({}, b), Ft.getEventProperties(o, t));
421
- for (var F in I)
422
- y[F] = I[F];
423
- n && n.dispatchEvent(y), X[E] && X[E].call(t, y);
424
- }
425
- }
426
- var sn = ["evt"], R = function(t, n) {
427
- var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = Ze(o, sn);
428
- Ft.pluginEvent.bind(p)(t, n, $({
429
- dragEl: d,
430
- parentEl: T,
431
- ghostEl: g,
432
- rootEl: D,
433
- nextEl: ut,
434
- lastDownEl: Lt,
435
- cloneEl: S,
436
- cloneHidden: nt,
437
- dragStarted: St,
438
- putSortable: N,
439
- activeSortable: p.active,
440
- originalEvent: i,
441
- oldIndex: pt,
442
- oldDraggableIndex: At,
443
- newIndex: H,
444
- newDraggableIndex: et,
445
- hideGhostForTarget: Le,
446
- unhideGhostForTarget: He,
447
- cloneNowHidden: function() {
448
- nt = !0;
449
- },
450
- cloneNowShown: function() {
451
- nt = !1;
452
- },
453
- dispatchSortableEvent: function(l) {
454
- k({
455
- sortable: n,
456
- name: l,
457
- originalEvent: i
458
- });
459
- }
460
- }, r));
461
- };
462
- function k(e) {
463
- ln($({
464
- putSortable: N,
465
- cloneEl: S,
466
- targetEl: d,
467
- rootEl: D,
468
- oldIndex: pt,
469
- oldDraggableIndex: At,
470
- newIndex: H,
471
- newDraggableIndex: et
472
- }, e));
473
- }
474
- var d, T, g, D, ut, Lt, S, nt, pt, H, At, et, kt, N, ht = !1, Vt = !1, zt = [], lt, G, te, ee, Te, Ce, St, ct, xt, Nt = !1, Rt = !1, Ht, P, ne = [], le = !1, Ut = [], qt = typeof document < "u", Bt = fe, Oe = Pt || Z ? "cssFloat" : "float", un = qt && !Ae && !fe && "draggable" in document.createElement("div"), Be = function() {
475
- if (qt) {
476
- if (Z)
477
- return !1;
478
- var e = document.createElement("x");
479
- return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
480
- }
481
- }(), Xe = function(t, n) {
482
- var o = h(t), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = mt(t, 0, n), a = mt(t, 1, n), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + O(r).width, c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + O(a).width;
483
- if (o.display === "flex")
484
- return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
485
- if (o.display === "grid")
486
- return o.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
487
- if (r && l.float && l.float !== "none") {
488
- var f = l.float === "left" ? "left" : "right";
489
- return a && (s.clear === "both" || s.clear === f) ? "vertical" : "horizontal";
490
- }
491
- return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[Oe] === "none" || a && o[Oe] === "none" && u + c > i) ? "vertical" : "horizontal";
492
- }, dn = function(t, n, o) {
493
- var i = o ? t.left : t.top, r = o ? t.right : t.bottom, a = o ? t.width : t.height, l = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
494
- return i === l || r === s || i + a / 2 === l + u / 2;
495
- }, fn = function(t, n) {
496
- var o;
497
- return zt.some(function(i) {
498
- var r = i[B].options.emptyInsertThreshold;
499
- if (!(!r || ce(i))) {
500
- var a = O(i), l = t >= a.left - r && t <= a.right + r, s = n >= a.top - r && n <= a.bottom + r;
501
- if (l && s)
502
- return o = i;
503
- }
504
- }), o;
505
- }, Ye = function(t) {
506
- function n(r, a) {
507
- return function(l, s, u, c) {
508
- var f = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
509
- if (r == null && (a || f))
510
- return !0;
511
- if (r == null || r === !1)
512
- return !1;
513
- if (a && r === "clone")
514
- return r;
515
- if (typeof r == "function")
516
- return n(r(l, s, u, c), a)(l, s, u, c);
517
- var m = (a ? l : s).options.group.name;
518
- return r === !0 || typeof r == "string" && r === m || r.join && r.indexOf(m) > -1;
519
- };
520
- }
521
- var o = {}, i = t.group;
522
- (!i || Yt(i) != "object") && (i = {
523
- name: i
524
- }), o.name = i.name, o.checkPull = n(i.pull, !0), o.checkPut = n(i.put), o.revertClone = i.revertClone, t.group = o;
525
- }, Le = function() {
526
- !Be && g && h(g, "display", "none");
527
- }, He = function() {
528
- !Be && g && h(g, "display", "");
529
- };
530
- qt && !Ae && document.addEventListener("click", function(e) {
531
- if (Vt)
532
- return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Vt = !1, !1;
533
- }, !0);
534
- var st = function(t) {
535
- if (d) {
536
- t = t.touches ? t.touches[0] : t;
537
- var n = fn(t.clientX, t.clientY);
538
- if (n) {
539
- var o = {};
540
- for (var i in t)
541
- t.hasOwnProperty(i) && (o[i] = t[i]);
542
- o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[B]._onDragOver(o);
543
- }
544
- }
545
- }, cn = function(t) {
546
- d && d.parentNode[B]._isOutsideThisEl(t.target);
547
- };
548
- function p(e, t) {
549
- if (!(e && e.nodeType && e.nodeType === 1))
550
- throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
551
- this.el = e, this.options = t = K({}, t), e[B] = this;
552
- var n = {
553
- group: null,
554
- sort: !0,
555
- disabled: !1,
556
- store: null,
557
- handle: null,
558
- draggable: /^[uo]l$/i.test(e.nodeName) ? ">li" : ">*",
559
- swapThreshold: 1,
560
- // percentage; 0 <= x <= 1
561
- invertSwap: !1,
562
- // invert always
563
- invertedSwapThreshold: null,
564
- // will be set to same as swapThreshold if default
565
- removeCloneOnHide: !0,
566
- direction: function() {
567
- return Xe(e, this.options);
568
- },
569
- ghostClass: "sortable-ghost",
570
- chosenClass: "sortable-chosen",
571
- dragClass: "sortable-drag",
572
- ignore: "a, img",
573
- filter: null,
574
- preventOnFilter: !0,
575
- animation: 0,
576
- easing: null,
577
- setData: function(a, l) {
578
- a.setData("Text", l.textContent);
579
- },
580
- dropBubble: !1,
581
- dragoverBubble: !1,
582
- dataIdAttr: "data-id",
583
- delay: 0,
584
- delayOnTouchOnly: !1,
585
- touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
586
- forceFallback: !1,
587
- fallbackClass: "sortable-fallback",
588
- fallbackOnBody: !1,
589
- fallbackTolerance: 0,
590
- fallbackOffset: {
591
- x: 0,
592
- y: 0
593
- },
594
- // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
595
- supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && (!Ot || fe),
596
- emptyInsertThreshold: 5
597
- };
598
- Ft.initializePlugins(this, e, n);
599
- for (var o in n)
600
- !(o in t) && (t[o] = n[o]);
601
- Ye(t);
602
- for (var i in this)
603
- i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
604
- this.nativeDraggable = t.forceFallback ? !1 : un, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? _(e, "pointerdown", this._onTapStart) : (_(e, "mousedown", this._onTapStart), _(e, "touchstart", this._onTapStart)), this.nativeDraggable && (_(e, "dragover", this), _(e, "dragenter", this)), zt.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), K(this, on());
605
- }
606
- p.prototype = /** @lends Sortable.prototype */
607
- {
608
- constructor: p,
609
- _isOutsideThisEl: function(t) {
610
- !this.el.contains(t) && t !== this.el && (ct = null);
611
- },
612
- _getDirection: function(t, n) {
613
- return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, d) : this.options.direction;
614
- },
615
- _onTapStart: function(t) {
616
- if (t.cancelable) {
617
- var n = this, o = this.el, i = this.options, r = i.preventOnFilter, a = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, c = i.filter;
618
- if (yn(o), !d && !(/mousedown|pointerdown/.test(a) && t.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Ot && s && s.tagName.toUpperCase() === "SELECT") && (s = V(s, i.draggable, o, !1), !(s && s.animated) && Lt !== s)) {
619
- if (pt = W(s), At = W(s, i.draggable), typeof c == "function") {
620
- if (c.call(this, t, s, this)) {
621
- k({
622
- sortable: n,
623
- rootEl: u,
624
- name: "filter",
625
- targetEl: s,
626
- toEl: o,
627
- fromEl: o
628
- }), R("filter", n, {
629
- evt: t
630
- }), r && t.preventDefault();
631
- return;
632
- }
633
- } else if (c && (c = c.split(",").some(function(f) {
634
- if (f = V(u, f.trim(), o, !1), f)
635
- return k({
636
- sortable: n,
637
- rootEl: f,
638
- name: "filter",
639
- targetEl: s,
640
- fromEl: o,
641
- toEl: o
642
- }), R("filter", n, {
643
- evt: t
644
- }), !0;
645
- }), c)) {
646
- r && t.preventDefault();
647
- return;
648
- }
649
- i.handle && !V(u, i.handle, o, !1) || this._prepareDragStart(t, l, s);
650
- }
651
- }
652
- },
653
- _prepareDragStart: function(t, n, o) {
654
- var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
655
- if (o && !d && o.parentNode === r) {
656
- var u = O(o);
657
- if (D = r, d = o, T = d.parentNode, ut = d.nextSibling, Lt = o, kt = a.group, p.dragged = d, lt = {
658
- target: d,
659
- clientX: (n || t).clientX,
660
- clientY: (n || t).clientY
661
- }, Te = lt.clientX - u.left, Ce = lt.clientY - u.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, d.style["will-change"] = "all", s = function() {
662
- if (R("delayEnded", i, {
663
- evt: t
664
- }), p.eventCanceled) {
665
- i._onDrop();
666
- return;
667
- }
668
- i._disableDelayedDragEvents(), !we && i.nativeDraggable && (d.draggable = !0), i._triggerDragStart(t, n), k({
669
- sortable: i,
670
- name: "choose",
671
- originalEvent: t
672
- }), L(d, a.chosenClass, !0);
673
- }, a.ignore.split(",").forEach(function(c) {
674
- Pe(d, c.trim(), oe);
675
- }), _(l, "dragover", st), _(l, "mousemove", st), _(l, "touchmove", st), a.supportPointer ? (_(l, "pointerup", i._onDrop), !this.nativeDraggable && _(l, "pointercancel", i._onDrop)) : (_(l, "mouseup", i._onDrop), _(l, "touchend", i._onDrop), _(l, "touchcancel", i._onDrop)), we && this.nativeDraggable && (this.options.touchStartThreshold = 4, d.draggable = !0), R("delayStart", this, {
676
- evt: t
677
- }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Pt || Z))) {
678
- if (p.eventCanceled) {
679
- this._onDrop();
680
- return;
681
- }
682
- a.supportPointer ? (_(l, "pointerup", i._disableDelayedDrag), _(l, "pointercancel", i._disableDelayedDrag)) : (_(l, "mouseup", i._disableDelayedDrag), _(l, "touchend", i._disableDelayedDrag), _(l, "touchcancel", i._disableDelayedDrag)), _(l, "mousemove", i._delayedDragTouchMoveHandler), _(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && _(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
683
- } else
684
- s();
685
- }
686
- },
687
- _delayedDragTouchMoveHandler: function(t) {
688
- var n = t.touches ? t.touches[0] : t;
689
- Math.max(Math.abs(n.clientX - this._lastX), Math.abs(n.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
690
- },
691
- _disableDelayedDrag: function() {
692
- d && oe(d), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
693
- },
694
- _disableDelayedDragEvents: function() {
695
- var t = this.el.ownerDocument;
696
- v(t, "mouseup", this._disableDelayedDrag), v(t, "touchend", this._disableDelayedDrag), v(t, "touchcancel", this._disableDelayedDrag), v(t, "pointerup", this._disableDelayedDrag), v(t, "pointercancel", this._disableDelayedDrag), v(t, "mousemove", this._delayedDragTouchMoveHandler), v(t, "touchmove", this._delayedDragTouchMoveHandler), v(t, "pointermove", this._delayedDragTouchMoveHandler);
697
- },
698
- _triggerDragStart: function(t, n) {
699
- n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? _(document, "pointermove", this._onTouchMove) : n ? _(document, "touchmove", this._onTouchMove) : _(document, "mousemove", this._onTouchMove) : (_(d, "dragend", this), _(D, "dragstart", this._onDragStart));
700
- try {
701
- document.selection ? Wt(function() {
702
- document.selection.empty();
703
- }) : window.getSelection().removeAllRanges();
704
- } catch {
705
- }
706
- },
707
- _dragStarted: function(t, n) {
708
- if (ht = !1, D && d) {
709
- R("dragStarted", this, {
710
- evt: n
711
- }), this.nativeDraggable && _(document, "dragover", cn);
712
- var o = this.options;
713
- !t && L(d, o.dragClass, !1), L(d, o.ghostClass, !0), p.active = this, t && this._appendGhost(), k({
714
- sortable: this,
715
- name: "start",
716
- originalEvent: n
717
- });
718
- } else
719
- this._nulling();
720
- },
721
- _emulateDragOver: function() {
722
- if (G) {
723
- this._lastX = G.clientX, this._lastY = G.clientY, Le();
724
- for (var t = document.elementFromPoint(G.clientX, G.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(G.clientX, G.clientY), t !== n); )
725
- n = t;
726
- if (d.parentNode[B]._isOutsideThisEl(t), n)
727
- do {
728
- if (n[B]) {
729
- var o = void 0;
730
- if (o = n[B]._onDragOver({
731
- clientX: G.clientX,
732
- clientY: G.clientY,
733
- target: t,
734
- rootEl: n
735
- }), o && !this.options.dragoverBubble)
736
- break;
737
- }
738
- t = n;
739
- } while (n = Ne(n));
740
- He();
741
- }
742
- },
743
- _onTouchMove: function(t) {
744
- if (lt) {
745
- var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, r = t.touches ? t.touches[0] : t, a = g && gt(g, !0), l = g && a && a.a, s = g && a && a.d, u = Bt && P && Se(P), c = (r.clientX - lt.clientX + i.x) / (l || 1) + (u ? u[0] - ne[0] : 0) / (l || 1), f = (r.clientY - lt.clientY + i.y) / (s || 1) + (u ? u[1] - ne[1] : 0) / (s || 1);
746
- if (!p.active && !ht) {
747
- if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
748
- return;
749
- this._onDragStart(t, !0);
750
- }
751
- if (g) {
752
- a ? (a.e += c - (te || 0), a.f += f - (ee || 0)) : a = {
753
- a: 1,
754
- b: 0,
755
- c: 0,
756
- d: 1,
757
- e: c,
758
- f
759
- };
760
- var m = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
761
- h(g, "webkitTransform", m), h(g, "mozTransform", m), h(g, "msTransform", m), h(g, "transform", m), te = c, ee = f, G = r;
762
- }
763
- t.cancelable && t.preventDefault();
764
- }
765
- },
766
- _appendGhost: function() {
767
- if (!g) {
768
- var t = this.options.fallbackOnBody ? document.body : D, n = O(d, !0, Bt, !0, t), o = this.options;
769
- if (Bt) {
770
- for (P = t; h(P, "position") === "static" && h(P, "transform") === "none" && P !== document; )
771
- P = P.parentNode;
772
- P !== document.body && P !== document.documentElement ? (P === document && (P = U()), n.top += P.scrollTop, n.left += P.scrollLeft) : P = U(), ne = Se(P);
773
- }
774
- g = d.cloneNode(!0), L(g, o.ghostClass, !1), L(g, o.fallbackClass, !0), L(g, o.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", n.top), h(g, "left", n.left), h(g, "width", n.width), h(g, "height", n.height), h(g, "opacity", "0.8"), h(g, "position", Bt ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, t.appendChild(g), h(g, "transform-origin", Te / parseInt(g.style.width) * 100 + "% " + Ce / parseInt(g.style.height) * 100 + "%");
775
- }
776
- },
777
- _onDragStart: function(t, n) {
778
- var o = this, i = t.dataTransfer, r = o.options;
779
- if (R("dragStart", this, {
780
- evt: t
781
- }), p.eventCanceled) {
782
- this._onDrop();
783
- return;
784
- }
785
- R("setupClone", this), p.eventCanceled || (S = ke(d), S.removeAttribute("id"), S.draggable = !1, S.style["will-change"] = "", this._hideClone(), L(S, this.options.chosenClass, !1), p.clone = S), o.cloneId = Wt(function() {
786
- R("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || D.insertBefore(S, d), o._hideClone(), k({
787
- sortable: o,
788
- name: "clone"
789
- }));
790
- }), !n && L(d, r.dragClass, !0), n ? (Vt = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (v(document, "mouseup", o._onDrop), v(document, "touchend", o._onDrop), v(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, d)), _(document, "drop", o), h(d, "transform", "translateZ(0)")), ht = !0, o._dragStartId = Wt(o._dragStarted.bind(o, n, t)), _(document, "selectstart", o), St = !0, window.getSelection().removeAllRanges(), Ot && h(document.body, "user-select", "none");
791
- },
792
- // Returns true - if no further action is needed (either inserted or another condition)
793
- _onDragOver: function(t) {
794
- var n = this.el, o = t.target, i, r, a, l = this.options, s = l.group, u = p.active, c = kt === s, f = l.sort, m = N || u, w, b = this, y = !1;
795
- if (le) return;
796
- function X(wt, je) {
797
- R(wt, b, $({
798
- evt: t,
799
- isOwner: c,
800
- axis: w ? "vertical" : "horizontal",
801
- revert: a,
802
- dragRect: i,
803
- targetRect: r,
804
- canSort: f,
805
- fromSortable: m,
806
- target: o,
807
- completed: I,
808
- onMove: function(ge, Ge) {
809
- return Xt(D, n, d, i, ge, O(ge), t, Ge);
810
- },
811
- changed: F
812
- }, je));
813
- }
814
- function E() {
815
- X("dragOverAnimationCapture"), b.captureAnimationState(), b !== m && m.captureAnimationState();
816
- }
817
- function I(wt) {
818
- return X("dragOverCompleted", {
819
- insertion: wt
820
- }), wt && (c ? u._hideClone() : u._showClone(b), b !== m && (L(d, N ? N.options.ghostClass : u.options.ghostClass, !1), L(d, l.ghostClass, !0)), N !== b && b !== p.active ? N = b : b === p.active && N && (N = null), m === b && (b._ignoreWhileAnimating = o), b.animateAll(function() {
821
- X("dragOverAnimationComplete"), b._ignoreWhileAnimating = null;
822
- }), b !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (o === d && !d.animated || o === n && !o.animated) && (ct = null), !l.dragoverBubble && !t.rootEl && o !== document && (d.parentNode[B]._isOutsideThisEl(t.target), !wt && st(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), y = !0;
823
- }
824
- function F() {
825
- H = W(d), et = W(d, l.draggable), k({
826
- sortable: b,
827
- name: "change",
828
- toEl: n,
829
- newIndex: H,
830
- newDraggableIndex: et,
831
- originalEvent: t
832
- });
833
- }
834
- if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o = V(o, l.draggable, n, !0), X("dragOver"), p.eventCanceled) return y;
835
- if (d.contains(t.target) || o.animated && o.animatingX && o.animatingY || b._ignoreWhileAnimating === o)
836
- return I(!1);
837
- if (Vt = !1, u && !l.disabled && (c ? f || (a = T !== D) : N === this || (this.lastPutMode = kt.checkPull(this, u, d, t)) && s.checkPut(this, u, d, t))) {
838
- if (w = this._getDirection(t, o) === "vertical", i = O(d), X("dragOverValid"), p.eventCanceled) return y;
839
- if (a)
840
- return T = D, E(), this._hideClone(), X("revert"), p.eventCanceled || (ut ? D.insertBefore(d, ut) : D.appendChild(d)), I(!0);
841
- var M = ce(n, l.draggable);
842
- if (!M || mn(t, w, this) && !M.animated) {
843
- if (M === d)
844
- return I(!1);
845
- if (M && n === t.target && (o = M), o && (r = O(o)), Xt(D, n, d, i, o, r, t, !!o) !== !1)
846
- return E(), M && M.nextSibling ? n.insertBefore(d, M.nextSibling) : n.appendChild(d), T = n, F(), I(!0);
847
- } else if (M && gn(t, w, this)) {
848
- var it = mt(n, 0, l, !0);
849
- if (it === d)
850
- return I(!1);
851
- if (o = it, r = O(o), Xt(D, n, d, i, o, r, t, !1) !== !1)
852
- return E(), n.insertBefore(d, it), T = n, F(), I(!0);
853
- } else if (o.parentNode === n) {
854
- r = O(o);
855
- var z = 0, rt, vt = d.parentNode !== n, Y = !dn(d.animated && d.toRect || i, o.animated && o.toRect || r, w), bt = w ? "top" : "left", Q = De(o, "top", "top") || De(d, "top", "top"), _t = Q ? Q.scrollTop : void 0;
856
- ct !== o && (rt = r[bt], Nt = !1, Rt = !Y && l.invertSwap || vt), z = vn(t, o, r, w, Y ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Rt, ct === o);
857
- var q;
858
- if (z !== 0) {
859
- var at = W(d);
860
- do
861
- at -= z, q = T.children[at];
862
- while (q && (h(q, "display") === "none" || q === g));
863
- }
864
- if (z === 0 || q === o)
865
- return I(!1);
866
- ct = o, xt = z;
867
- var yt = o.nextElementSibling, tt = !1;
868
- tt = z === 1;
869
- var Mt = Xt(D, n, d, i, o, r, t, tt);
870
- if (Mt !== !1)
871
- return (Mt === 1 || Mt === -1) && (tt = Mt === 1), le = !0, setTimeout(pn, 30), E(), tt && !yt ? n.appendChild(d) : o.parentNode.insertBefore(d, tt ? yt : o), Q && Me(Q, 0, _t - Q.scrollTop), T = d.parentNode, rt !== void 0 && !Rt && (Ht = Math.abs(rt - O(o)[bt])), F(), I(!0);
872
- }
873
- if (n.contains(d))
874
- return I(!1);
875
- }
876
- return !1;
877
- },
878
- _ignoreWhileAnimating: null,
879
- _offMoveEvents: function() {
880
- v(document, "mousemove", this._onTouchMove), v(document, "touchmove", this._onTouchMove), v(document, "pointermove", this._onTouchMove), v(document, "dragover", st), v(document, "mousemove", st), v(document, "touchmove", st);
881
- },
882
- _offUpEvents: function() {
883
- var t = this.el.ownerDocument;
884
- v(t, "mouseup", this._onDrop), v(t, "touchend", this._onDrop), v(t, "pointerup", this._onDrop), v(t, "pointercancel", this._onDrop), v(t, "touchcancel", this._onDrop), v(document, "selectstart", this);
885
- },
886
- _onDrop: function(t) {
887
- var n = this.el, o = this.options;
888
- if (H = W(d), et = W(d, o.draggable), R("drop", this, {
889
- evt: t
890
- }), T = d && d.parentNode, H = W(d), et = W(d, o.draggable), p.eventCanceled) {
891
- this._nulling();
892
- return;
893
- }
894
- ht = !1, Rt = !1, Nt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), se(this.cloneId), se(this._dragStartId), this.nativeDraggable && (v(document, "drop", this), v(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ot && h(document.body, "user-select", ""), h(d, "transform", ""), t && (St && (t.cancelable && t.preventDefault(), !o.dropBubble && t.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (D === T || N && N.lastPutMode !== "clone") && S && S.parentNode && S.parentNode.removeChild(S), d && (this.nativeDraggable && v(d, "dragend", this), oe(d), d.style["will-change"] = "", St && !ht && L(d, N ? N.options.ghostClass : this.options.ghostClass, !1), L(d, this.options.chosenClass, !1), k({
895
- sortable: this,
896
- name: "unchoose",
897
- toEl: T,
898
- newIndex: null,
899
- newDraggableIndex: null,
900
- originalEvent: t
901
- }), D !== T ? (H >= 0 && (k({
902
- rootEl: T,
903
- name: "add",
904
- toEl: T,
905
- fromEl: D,
906
- originalEvent: t
907
- }), k({
908
- sortable: this,
909
- name: "remove",
910
- toEl: T,
911
- originalEvent: t
912
- }), k({
913
- rootEl: T,
914
- name: "sort",
915
- toEl: T,
916
- fromEl: D,
917
- originalEvent: t
918
- }), k({
919
- sortable: this,
920
- name: "sort",
921
- toEl: T,
922
- originalEvent: t
923
- })), N && N.save()) : H !== pt && H >= 0 && (k({
924
- sortable: this,
925
- name: "update",
926
- toEl: T,
927
- originalEvent: t
928
- }), k({
929
- sortable: this,
930
- name: "sort",
931
- toEl: T,
932
- originalEvent: t
933
- })), p.active && ((H == null || H === -1) && (H = pt, et = At), k({
934
- sortable: this,
935
- name: "end",
936
- toEl: T,
937
- originalEvent: t
938
- }), this.save()))), this._nulling();
939
- },
940
- _nulling: function() {
941
- R("nulling", this), D = d = T = g = ut = S = Lt = nt = lt = G = St = H = et = pt = At = ct = xt = N = kt = p.dragged = p.ghost = p.clone = p.active = null, Ut.forEach(function(t) {
942
- t.checked = !0;
943
- }), Ut.length = te = ee = 0;
944
- },
945
- handleEvent: function(t) {
946
- switch (t.type) {
947
- case "drop":
948
- case "dragend":
949
- this._onDrop(t);
950
- break;
951
- case "dragenter":
952
- case "dragover":
953
- d && (this._onDragOver(t), hn(t));
954
- break;
955
- case "selectstart":
956
- t.preventDefault();
957
- break;
958
- }
959
- },
960
- /**
961
- * Serializes the item into an array of string.
962
- * @returns {String[]}
963
- */
964
- toArray: function() {
965
- for (var t = [], n, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
966
- n = o[i], V(n, a.draggable, this.el, !1) && t.push(n.getAttribute(a.dataIdAttr) || _n(n));
967
- return t;
968
- },
969
- /**
970
- * Sorts the elements according to the array.
971
- * @param {String[]} order order of the items
972
- */
973
- sort: function(t, n) {
974
- var o = {}, i = this.el;
975
- this.toArray().forEach(function(r, a) {
976
- var l = i.children[a];
977
- V(l, this.options.draggable, i, !1) && (o[r] = l);
978
- }, this), n && this.captureAnimationState(), t.forEach(function(r) {
979
- o[r] && (i.removeChild(o[r]), i.appendChild(o[r]));
980
- }), n && this.animateAll();
981
- },
982
- /**
983
- * Save the current sorting
984
- */
985
- save: function() {
986
- var t = this.options.store;
987
- t && t.set && t.set(this);
988
- },
989
- /**
990
- * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
991
- * @param {HTMLElement} el
992
- * @param {String} [selector] default: `options.draggable`
993
- * @returns {HTMLElement|null}
994
- */
995
- closest: function(t, n) {
996
- return V(t, n || this.options.draggable, this.el, !1);
997
- },
998
- /**
999
- * Set/get option
1000
- * @param {string} name
1001
- * @param {*} [value]
1002
- * @returns {*}
1003
- */
1004
- option: function(t, n) {
1005
- var o = this.options;
1006
- if (n === void 0)
1007
- return o[t];
1008
- var i = Ft.modifyOption(this, t, n);
1009
- typeof i < "u" ? o[t] = i : o[t] = n, t === "group" && Ye(o);
1010
- },
1011
- /**
1012
- * Destroy
1013
- */
1014
- destroy: function() {
1015
- R("destroy", this);
1016
- var t = this.el;
1017
- t[B] = null, v(t, "mousedown", this._onTapStart), v(t, "touchstart", this._onTapStart), v(t, "pointerdown", this._onTapStart), this.nativeDraggable && (v(t, "dragover", this), v(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
1018
- n.removeAttribute("draggable");
1019
- }), this._onDrop(), this._disableDelayedDragEvents(), zt.splice(zt.indexOf(this.el), 1), this.el = t = null;
1020
- },
1021
- _hideClone: function() {
1022
- if (!nt) {
1023
- if (R("hideClone", this), p.eventCanceled) return;
1024
- h(S, "display", "none"), this.options.removeCloneOnHide && S.parentNode && S.parentNode.removeChild(S), nt = !0;
1025
- }
1026
- },
1027
- _showClone: function(t) {
1028
- if (t.lastPutMode !== "clone") {
1029
- this._hideClone();
1030
- return;
1031
- }
1032
- if (nt) {
1033
- if (R("showClone", this), p.eventCanceled) return;
1034
- d.parentNode == D && !this.options.group.revertClone ? D.insertBefore(S, d) : ut ? D.insertBefore(S, ut) : D.appendChild(S), this.options.group.revertClone && this.animate(d, S), h(S, "display", ""), nt = !1;
1035
- }
1036
- }
1037
- };
1038
- function hn(e) {
1039
- e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
1040
- }
1041
- function Xt(e, t, n, o, i, r, a, l) {
1042
- var s, u = e[B], c = u.options.onMove, f;
1043
- return window.CustomEvent && !Z && !Pt ? s = new CustomEvent("move", {
1044
- bubbles: !0,
1045
- cancelable: !0
1046
- }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = e, s.dragged = n, s.draggedRect = o, s.related = i || t, s.relatedRect = r || O(t), s.willInsertAfter = l, s.originalEvent = a, e.dispatchEvent(s), c && (f = c.call(u, s, a)), f;
1047
- }
1048
- function oe(e) {
1049
- e.draggable = !1;
1050
- }
1051
- function pn() {
1052
- le = !1;
1053
- }
1054
- function gn(e, t, n) {
1055
- var o = O(mt(n.el, 0, n.options, !0)), i = Re(n.el, n.options, g), r = 10;
1056
- return t ? e.clientX < i.left - r || e.clientY < o.top && e.clientX < o.right : e.clientY < i.top - r || e.clientY < o.bottom && e.clientX < o.left;
1057
- }
1058
- function mn(e, t, n) {
1059
- var o = O(ce(n.el, n.options.draggable)), i = Re(n.el, n.options, g), r = 10;
1060
- return t ? e.clientX > i.right + r || e.clientY > o.bottom && e.clientX > o.left : e.clientY > i.bottom + r || e.clientX > o.right && e.clientY > o.top;
1061
- }
1062
- function vn(e, t, n, o, i, r, a, l) {
1063
- var s = o ? e.clientY : e.clientX, u = o ? n.height : n.width, c = o ? n.top : n.left, f = o ? n.bottom : n.right, m = !1;
1064
- if (!a) {
1065
- if (l && Ht < u * i) {
1066
- if (!Nt && (xt === 1 ? s > c + u * r / 2 : s < f - u * r / 2) && (Nt = !0), Nt)
1067
- m = !0;
1068
- else if (xt === 1 ? s < c + Ht : s > f - Ht)
1069
- return -xt;
1070
- } else if (s > c + u * (1 - i) / 2 && s < f - u * (1 - i) / 2)
1071
- return bn(t);
1072
- }
1073
- return m = m || a, m && (s < c + u * r / 2 || s > f - u * r / 2) ? s > c + u / 2 ? 1 : -1 : 0;
1074
- }
1075
- function bn(e) {
1076
- return W(d) < W(e) ? 1 : -1;
1077
- }
1078
- function _n(e) {
1079
- for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
1080
- o += t.charCodeAt(n);
1081
- return o.toString(36);
1082
- }
1083
- function yn(e) {
1084
- Ut.length = 0;
1085
- for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
1086
- var o = t[n];
1087
- o.checked && Ut.push(o);
1088
- }
1089
- }
1090
- function Wt(e) {
1091
- return setTimeout(e, 0);
1092
- }
1093
- function se(e) {
1094
- return clearTimeout(e);
1095
- }
1096
- qt && _(document, "touchmove", function(e) {
1097
- (p.active || ht) && e.cancelable && e.preventDefault();
1098
- });
1099
- p.utils = {
1100
- on: _,
1101
- off: v,
1102
- css: h,
1103
- find: Pe,
1104
- is: function(t, n) {
1105
- return !!V(t, n, t, !1);
1106
- },
1107
- extend: en,
1108
- throttle: Fe,
1109
- closest: V,
1110
- toggleClass: L,
1111
- clone: ke,
1112
- index: W,
1113
- nextTick: Wt,
1114
- cancelNextTick: se,
1115
- detectDirection: Xe,
1116
- getChild: mt,
1117
- expando: B
1118
- };
1119
- p.get = function(e) {
1120
- return e[B];
1121
- };
1122
- p.mount = function() {
1123
- for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1124
- t[n] = arguments[n];
1125
- t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
1126
- if (!o.prototype || !o.prototype.constructor)
1127
- throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
1128
- o.utils && (p.utils = $($({}, p.utils), o.utils)), Ft.mount(o);
1129
- });
1130
- };
1131
- p.create = function(e, t) {
1132
- return new p(e, t);
1133
- };
1134
- p.version = Qe;
1135
- var C = [], Tt, ue, de = !1, ie, re, $t, Ct;
1136
- function wn() {
1137
- function e() {
1138
- this.defaults = {
1139
- scroll: !0,
1140
- forceAutoScrollFallback: !1,
1141
- scrollSensitivity: 30,
1142
- scrollSpeed: 10,
1143
- bubbleScroll: !0
1144
- };
1145
- for (var t in this)
1146
- t.charAt(0) === "_" && typeof this[t] == "function" && (this[t] = this[t].bind(this));
1147
- }
1148
- return e.prototype = {
1149
- dragStarted: function(n) {
1150
- var o = n.originalEvent;
1151
- this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? _(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? _(document, "touchmove", this._handleFallbackAutoScroll) : _(document, "mousemove", this._handleFallbackAutoScroll);
1152
- },
1153
- dragOverCompleted: function(n) {
1154
- var o = n.originalEvent;
1155
- !this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
1156
- },
1157
- drop: function() {
1158
- this.sortable.nativeDraggable ? v(document, "dragover", this._handleAutoScroll) : (v(document, "pointermove", this._handleFallbackAutoScroll), v(document, "touchmove", this._handleFallbackAutoScroll), v(document, "mousemove", this._handleFallbackAutoScroll)), Ie(), jt(), nn();
1159
- },
1160
- nulling: function() {
1161
- $t = ue = Tt = de = Ct = ie = re = null, C.length = 0;
1162
- },
1163
- _handleFallbackAutoScroll: function(n) {
1164
- this._handleAutoScroll(n, !0);
1165
- },
1166
- _handleAutoScroll: function(n, o) {
1167
- var i = this, r = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(r, a);
1168
- if ($t = n, o || this.options.forceAutoScrollFallback || Pt || Z || Ot) {
1169
- ae(n, this.options, l, o);
1170
- var s = ot(l, !0);
1171
- de && (!Ct || r !== ie || a !== re) && (Ct && Ie(), Ct = setInterval(function() {
1172
- var u = ot(document.elementFromPoint(r, a), !0);
1173
- u !== s && (s = u, jt()), ae(n, i.options, u, o);
1174
- }, 10), ie = r, re = a);
1175
- } else {
1176
- if (!this.options.bubbleScroll || ot(l, !0) === U()) {
1177
- jt();
1178
- return;
1179
- }
1180
- ae(n, this.options, ot(l, !1), !1);
1181
- }
1182
- }
1183
- }, K(e, {
1184
- pluginName: "scroll",
1185
- initializeByDefault: !0
1186
- });
1187
- }
1188
- function jt() {
1189
- C.forEach(function(e) {
1190
- clearInterval(e.pid);
1191
- }), C = [];
1192
- }
1193
- function Ie() {
1194
- clearInterval(Ct);
1195
- }
1196
- var ae = Fe(function(e, t, n, o) {
1197
- if (t.scroll) {
1198
- var i = (e.touches ? e.touches[0] : e).clientX, r = (e.touches ? e.touches[0] : e).clientY, a = t.scrollSensitivity, l = t.scrollSpeed, s = U(), u = !1, c;
1199
- ue !== n && (ue = n, jt(), Tt = t.scroll, c = t.scrollFn, Tt === !0 && (Tt = ot(n, !0)));
1200
- var f = 0, m = Tt;
1201
- do {
1202
- var w = m, b = O(w), y = b.top, X = b.bottom, E = b.left, I = b.right, F = b.width, M = b.height, it = void 0, z = void 0, rt = w.scrollWidth, vt = w.scrollHeight, Y = h(w), bt = w.scrollLeft, Q = w.scrollTop;
1203
- w === s ? (it = F < rt && (Y.overflowX === "auto" || Y.overflowX === "scroll" || Y.overflowX === "visible"), z = M < vt && (Y.overflowY === "auto" || Y.overflowY === "scroll" || Y.overflowY === "visible")) : (it = F < rt && (Y.overflowX === "auto" || Y.overflowX === "scroll"), z = M < vt && (Y.overflowY === "auto" || Y.overflowY === "scroll"));
1204
- var _t = it && (Math.abs(I - i) <= a && bt + F < rt) - (Math.abs(E - i) <= a && !!bt), q = z && (Math.abs(X - r) <= a && Q + M < vt) - (Math.abs(y - r) <= a && !!Q);
1205
- if (!C[f])
1206
- for (var at = 0; at <= f; at++)
1207
- C[at] || (C[at] = {});
1208
- (C[f].vx != _t || C[f].vy != q || C[f].el !== w) && (C[f].el = w, C[f].vx = _t, C[f].vy = q, clearInterval(C[f].pid), (_t != 0 || q != 0) && (u = !0, C[f].pid = setInterval((function() {
1209
- o && this.layer === 0 && p.active._onTouchMove($t);
1210
- var yt = C[this.layer].vy ? C[this.layer].vy * l : 0, tt = C[this.layer].vx ? C[this.layer].vx * l : 0;
1211
- typeof c == "function" && c.call(p.dragged.parentNode[B], tt, yt, e, $t, C[this.layer].el) !== "continue" || Me(C[this.layer].el, tt, yt);
1212
- }).bind({
1213
- layer: f
1214
- }), 24))), f++;
1215
- } while (t.bubbleScroll && m !== s && (m = ot(m, !1)));
1216
- de = u;
1217
- }
1218
- }, 30), We = function(t) {
1219
- var n = t.originalEvent, o = t.putSortable, i = t.dragEl, r = t.activeSortable, a = t.dispatchSortableEvent, l = t.hideGhostForTarget, s = t.unhideGhostForTarget;
1220
- if (n) {
1221
- var u = o || r;
1222
- l();
1223
- var c = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, f = document.elementFromPoint(c.clientX, c.clientY);
1224
- s(), u && !u.el.contains(f) && (a("spill"), this.onSpill({
1225
- dragEl: i,
1226
- putSortable: o
1227
- }));
1228
- }
1229
- };
1230
- function he() {
1231
- }
1232
- he.prototype = {
1233
- startIndex: null,
1234
- dragStart: function(t) {
1235
- var n = t.oldDraggableIndex;
1236
- this.startIndex = n;
1237
- },
1238
- onSpill: function(t) {
1239
- var n = t.dragEl, o = t.putSortable;
1240
- this.sortable.captureAnimationState(), o && o.captureAnimationState();
1241
- var i = mt(this.sortable.el, this.startIndex, this.options);
1242
- i ? this.sortable.el.insertBefore(n, i) : this.sortable.el.appendChild(n), this.sortable.animateAll(), o && o.animateAll();
1243
- },
1244
- drop: We
1245
- };
1246
- K(he, {
1247
- pluginName: "revertOnSpill"
1248
- });
1249
- function pe() {
1250
- }
1251
- pe.prototype = {
1252
- onSpill: function(t) {
1253
- var n = t.dragEl, o = t.putSortable, i = o || this.sortable;
1254
- i.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), i.animateAll();
1255
- },
1256
- drop: We
1257
- };
1258
- K(pe, {
1259
- pluginName: "removeOnSpill"
1260
- });
1261
- p.mount(new wn());
1262
- p.mount(pe, he);
1263
- const En = {
1264
- components: { OutputDialog: qe },
1265
- data() {
1266
- return {
1267
- name: null,
1268
- icon: "astro:add-small",
1269
- url: null,
1270
- tools: [],
1271
- jsonContent: "",
1272
- dialogTitle: "",
1273
- showDialog: !1,
1274
- tool_id: null
1275
- };
1276
- },
1277
- mounted() {
1278
- this.update();
1279
- let e = document.getElementById("toollist");
1280
- p.create(e, {
1281
- filter: ".filter",
1282
- // 'filter' class is not draggable
1283
- onUpdate: this.sortChanged
1284
- });
1285
- },
1286
- methods: {
1287
- sortChanged(e) {
1288
- dt.post(`/openc3-api/tools/position/${this.tools[e.oldIndex]}`, {
1289
- data: {
1290
- position: e.newIndex
1291
- },
1292
- // Tools are global and are always installed into the DEFAULT scope
1293
- params: { scope: "DEFAULT" }
1294
- }).then((t) => {
1295
- this.$notify.normal({
1296
- title: `Reordered tool ${this.tools[e.oldIndex]}`
1297
- }), this.update();
1298
- });
1299
- },
1300
- update() {
1301
- dt.get("/openc3-api/tools", { params: { scope: "DEFAULT" } }).then(
1302
- (e) => {
1303
- this.tools = e.data, this.name = "", this.url = "";
1304
- }
1305
- );
1306
- },
1307
- add() {
1308
- dt.post("/openc3-api/tools", {
1309
- data: {
1310
- id: this.name,
1311
- json: JSON.stringify({
1312
- name: this.name,
1313
- icon: this.icon,
1314
- url: this.url,
1315
- window: "NEW"
1316
- })
1317
- },
1318
- // Tools are global and are always installed into the DEFAULT scope
1319
- params: { scope: "DEFAULT" }
1320
- }).then((e) => {
1321
- this.$notify.normal({
1322
- title: `Added tool ${this.name}`
1323
- }), this.update();
1324
- }).catch((e) => {
1325
- window.$cosmosNotify.serious({
1326
- title: `Failed to add tool ${this.name}`,
1327
- message: e.response.data
1328
- });
1329
- });
1330
- },
1331
- showTool(e) {
1332
- dt.get(`/openc3-api/tools/${e}`, {
1333
- // Tools are global and are always installed into the DEFAULT scope
1334
- params: { scope: "DEFAULT" }
1335
- }).then((t) => {
1336
- this.tool_id = e, this.jsonContent = JSON.stringify(t.data, null, " "), this.dialogTitle = e, this.showDialog = !0;
1337
- });
1338
- },
1339
- dialogCallback(e) {
1340
- if (this.showDialog = !1, e !== null) {
1341
- let t = JSON.parse(e), n = "put", o = `/openc3-api/tools/${this.tool_id}`;
1342
- t.name !== this.tool_id && (n = "post", o = "/openc3-api/tools"), dt[n](o, {
1343
- data: {
1344
- json: e
1345
- },
1346
- // Tools are global and are always installed into the DEFAULT scope
1347
- params: { scope: "DEFAULT" }
1348
- }).then((i) => {
1349
- this.$notify.normal({
1350
- title: `Modified tool ${t.name}`
1351
- }), this.update();
1352
- });
1353
- }
1354
- },
1355
- deleteTool(e) {
1356
- this.$dialog.confirm(`Are you sure you want to remove: ${e}`, {
1357
- okText: "Delete",
1358
- cancelText: "Cancel"
1359
- }).then(function(t) {
1360
- return dt.delete(`/openc3-api/tools/${e}`, {
1361
- // Tools are global and are always installed into the DEFAULT scope
1362
- params: { scope: "DEFAULT" }
1363
- });
1364
- }).then((t) => {
1365
- this.$notify.normal({
1366
- title: `Removed tool ${e}`
1367
- }), this.update();
1368
- });
1369
- }
1370
- }
1371
- };
1372
- function Dn(e, t, n, o, i, r) {
1373
- const a = j("v-icon"), l = j("v-btn"), s = j("v-col"), u = j("v-text-field"), c = j("v-row"), f = j("v-list-item-title"), m = j("v-tooltip"), w = j("v-list-item"), b = j("v-divider"), y = j("v-list"), X = j("output-dialog");
1374
- return Et(), Jt("div", null, [
1375
- A(c, {
1376
- "no-gutters": "",
1377
- align: "center",
1378
- style: { "padding-left": "10px" }
1379
- }, {
1380
- default: x(() => [
1381
- A(s, { cols: "3" }, {
1382
- default: x(() => [
1383
- A(l, {
1384
- block: "",
1385
- color: "primary",
1386
- "data-test": "toolAdd",
1387
- onClick: t[0] || (t[0] = (E) => r.add()),
1388
- disabled: !i.name || !i.url || !i.icon
1389
- }, {
1390
- default: x(() => [
1391
- t[5] || (t[5] = Dt(" Add ")),
1392
- A(a, {
1393
- end: "",
1394
- theme: "dark"
1395
- }, {
1396
- default: x(() => [
1397
- Dt(be(i.icon), 1)
1398
- ]),
1399
- _: 1
1400
- })
1401
- ]),
1402
- _: 1
1403
- }, 8, ["disabled"])
1404
- ]),
1405
- _: 1
1406
- }),
1407
- A(s, { cols: "3" }, {
1408
- default: x(() => [
1409
- A(u, {
1410
- modelValue: i.icon,
1411
- "onUpdate:modelValue": t[1] || (t[1] = (E) => i.icon = E),
1412
- label: "Tool Icon",
1413
- class: "px-2"
1414
- }, null, 8, ["modelValue"])
1415
- ]),
1416
- _: 1
1417
- }),
1418
- A(s, { cols: "3" }, {
1419
- default: x(() => [
1420
- A(u, {
1421
- modelValue: i.name,
1422
- "onUpdate:modelValue": t[2] || (t[2] = (E) => i.name = E),
1423
- label: "Tool Name",
1424
- class: "px-2"
1425
- }, null, 8, ["modelValue"])
1426
- ]),
1427
- _: 1
1428
- }),
1429
- A(s, {
1430
- cols: "3",
1431
- class: "px-2"
1432
- }, {
1433
- default: x(() => [
1434
- A(u, {
1435
- modelValue: i.url,
1436
- "onUpdate:modelValue": t[3] || (t[3] = (E) => i.url = E),
1437
- label: "Tool Url"
1438
- }, null, 8, ["modelValue"])
1439
- ]),
1440
- _: 1
1441
- })
1442
- ]),
1443
- _: 1
1444
- }),
1445
- t[10] || (t[10] = Kt("span", { class: "text-body1 pa-3" }, "Drag and drop to reorder tools in the NavBar. Note: 'Base' and 'Admin' can't be reordered. A browser refresh is required to see the new tool order.", -1)),
1446
- A(y, {
1447
- class: "list",
1448
- "data-test": "toolList",
1449
- id: "toollist"
1450
- }, {
1451
- default: x(() => [
1452
- (Et(!0), Jt(Ve, null, ze(i.tools, (E, I) => (Et(), Jt("div", { key: E }, [
1453
- A(w, {
1454
- class: Ue({ filter: E === "Base" || E === "Admin" }),
1455
- "prepend-icon": "mdi-drag-horizontal"
1456
- }, {
1457
- append: x(() => [
1458
- A(m, { location: "top" }, {
1459
- activator: x(({ props: F }) => [
1460
- A(a, _e({ ref_for: !0 }, F, {
1461
- onClick: (M) => r.showTool(E)
1462
- }), {
1463
- default: x(() => t[6] || (t[6] = [
1464
- Dt(" mdi-eye ")
1465
- ])),
1466
- _: 2
1467
- }, 1040, ["onClick"])
1468
- ]),
1469
- default: x(() => [
1470
- t[7] || (t[7] = Kt("span", null, "Edit Tool", -1))
1471
- ]),
1472
- _: 2
1473
- }, 1024),
1474
- A(m, { location: "top" }, {
1475
- activator: x(({ props: F }) => [
1476
- A(a, _e({ ref_for: !0 }, F, {
1477
- onClick: (M) => r.deleteTool(E)
1478
- }), {
1479
- default: x(() => t[8] || (t[8] = [
1480
- Dt(" mdi-delete ")
1481
- ])),
1482
- _: 2
1483
- }, 1040, ["onClick"])
1484
- ]),
1485
- default: x(() => [
1486
- t[9] || (t[9] = Kt("span", null, "Delete Tool", -1))
1487
- ]),
1488
- _: 2
1489
- }, 1024)
1490
- ]),
1491
- default: x(() => [
1492
- A(f, null, {
1493
- default: x(() => [
1494
- Dt(be(E), 1)
1495
- ]),
1496
- _: 2
1497
- }, 1024)
1498
- ]),
1499
- _: 2
1500
- }, 1032, ["class"]),
1501
- I < i.tools.length - 1 ? (Et(), me(b, { key: I })) : ve("", !0)
1502
- ]))), 128))
1503
- ]),
1504
- _: 1
1505
- }),
1506
- i.showDialog ? (Et(), me(X, {
1507
- key: 0,
1508
- modelValue: i.showDialog,
1509
- "onUpdate:modelValue": t[4] || (t[4] = (E) => i.showDialog = E),
1510
- content: i.jsonContent,
1511
- type: "Tool",
1512
- name: i.dialogTitle,
1513
- onSubmit: r.dialogCallback
1514
- }, null, 8, ["modelValue", "content", "name", "onSubmit"])) : ve("", !0)
1515
- ]);
1516
- }
1517
- const xn = /* @__PURE__ */ $e(En, [["render", Dn], ["__scopeId", "data-v-7473eb15"]]);
1518
- export {
1519
- xn as default
1520
- };
1521
- //# sourceMappingURL=ToolsTab-Cgpb2nAW.js.map