@theia/plugin-ext 1.49.0 → 1.50.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 (764) hide show
  1. package/lib/common/arrays.js.map +1 -1
  2. package/lib/common/assert.js.map +1 -1
  3. package/lib/common/cache.js.map +1 -1
  4. package/lib/common/character-classifier.js.map +1 -1
  5. package/lib/common/collections.js.map +1 -1
  6. package/lib/common/connection.js.map +1 -1
  7. package/lib/common/disposable-util.js.map +1 -1
  8. package/lib/common/editor-options.js +1 -1
  9. package/lib/common/editor-options.js.map +1 -1
  10. package/lib/common/errors.d.ts +1 -1
  11. package/lib/common/errors.d.ts.map +1 -1
  12. package/lib/common/errors.js.map +1 -1
  13. package/lib/common/index.js +3 -3
  14. package/lib/common/index.js.map +1 -1
  15. package/lib/common/link-computer.d.ts +1 -1
  16. package/lib/common/link-computer.d.ts.map +1 -1
  17. package/lib/common/link-computer.js +67 -67
  18. package/lib/common/link-computer.js.map +1 -1
  19. package/lib/common/object-identifier.js +1 -1
  20. package/lib/common/object-identifier.js.map +1 -1
  21. package/lib/common/objects.js.map +1 -1
  22. package/lib/common/paths-util.js.map +1 -1
  23. package/lib/common/plugin-api-rpc-model.d.ts +29 -7
  24. package/lib/common/plugin-api-rpc-model.d.ts.map +1 -1
  25. package/lib/common/plugin-api-rpc-model.js +14 -14
  26. package/lib/common/plugin-api-rpc-model.js.map +1 -1
  27. package/lib/common/plugin-api-rpc.d.ts +44 -19
  28. package/lib/common/plugin-api-rpc.d.ts.map +1 -1
  29. package/lib/common/plugin-api-rpc.js +16 -16
  30. package/lib/common/plugin-api-rpc.js.map +1 -1
  31. package/lib/common/plugin-identifiers.js +1 -1
  32. package/lib/common/plugin-identifiers.js.map +1 -1
  33. package/lib/common/plugin-protocol.d.ts +8 -7
  34. package/lib/common/plugin-protocol.d.ts.map +1 -1
  35. package/lib/common/plugin-protocol.js +6 -6
  36. package/lib/common/plugin-protocol.js.map +1 -1
  37. package/lib/common/proxy-handler.js.map +1 -1
  38. package/lib/common/rpc-protocol.js +1 -1
  39. package/lib/common/rpc-protocol.js.map +1 -1
  40. package/lib/common/semantic-tokens-dto.d.ts +1 -1
  41. package/lib/common/semantic-tokens-dto.d.ts.map +1 -1
  42. package/lib/common/semantic-tokens-dto.js +3 -3
  43. package/lib/common/semantic-tokens-dto.js.map +1 -1
  44. package/lib/common/test-types.js +4 -4
  45. package/lib/common/test-types.js.map +1 -1
  46. package/lib/common/types.js +1 -1
  47. package/lib/common/types.js.map +1 -1
  48. package/lib/common/uint.js +2 -2
  49. package/lib/common/uint.js.map +1 -1
  50. package/lib/common/uri-components.js +1 -1
  51. package/lib/common/uri-components.js.map +1 -1
  52. package/lib/hosted/browser/hosted-plugin-watcher.js +2 -2
  53. package/lib/hosted/browser/hosted-plugin-watcher.js.map +1 -1
  54. package/lib/hosted/browser/hosted-plugin.d.ts +1 -1
  55. package/lib/hosted/browser/hosted-plugin.d.ts.map +1 -1
  56. package/lib/hosted/browser/hosted-plugin.js +58 -58
  57. package/lib/hosted/browser/hosted-plugin.js.map +1 -1
  58. package/lib/hosted/browser/plugin-worker.js +3 -3
  59. package/lib/hosted/browser/plugin-worker.js.map +1 -1
  60. package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +1 -1
  61. package/lib/hosted/browser/worker/worker-env-ext.js +3 -3
  62. package/lib/hosted/browser/worker/worker-env-ext.js.map +1 -1
  63. package/lib/hosted/browser/worker/worker-main.js.map +1 -1
  64. package/lib/hosted/common/hosted-plugin.d.ts +1 -1
  65. package/lib/hosted/common/hosted-plugin.d.ts.map +1 -1
  66. package/lib/hosted/common/hosted-plugin.js +34 -34
  67. package/lib/hosted/common/hosted-plugin.js.map +1 -1
  68. package/lib/hosted/node/hosted-plugin-cli-contribution.js +2 -2
  69. package/lib/hosted/node/hosted-plugin-cli-contribution.js.map +1 -1
  70. package/lib/hosted/node/hosted-plugin-deployer-handler.d.ts +1 -0
  71. package/lib/hosted/node/hosted-plugin-deployer-handler.d.ts.map +1 -1
  72. package/lib/hosted/node/hosted-plugin-deployer-handler.js +17 -12
  73. package/lib/hosted/node/hosted-plugin-deployer-handler.js.map +1 -1
  74. package/lib/hosted/node/hosted-plugin-localization-service.js +8 -8
  75. package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -1
  76. package/lib/hosted/node/hosted-plugin-process.js +14 -14
  77. package/lib/hosted/node/hosted-plugin-process.js.map +1 -1
  78. package/lib/hosted/node/hosted-plugin-protocol.js +2 -2
  79. package/lib/hosted/node/hosted-plugin-protocol.js.map +1 -1
  80. package/lib/hosted/node/hosted-plugin.js +12 -12
  81. package/lib/hosted/node/hosted-plugin.js.map +1 -1
  82. package/lib/hosted/node/metadata-scanner.js +6 -6
  83. package/lib/hosted/node/metadata-scanner.js.map +1 -1
  84. package/lib/hosted/node/plugin-activation-events.js.map +1 -1
  85. package/lib/hosted/node/plugin-host-module.js.map +1 -1
  86. package/lib/hosted/node/plugin-host-proxy.js.map +1 -1
  87. package/lib/hosted/node/plugin-host-rpc.d.ts +2 -2
  88. package/lib/hosted/node/plugin-host-rpc.d.ts.map +1 -1
  89. package/lib/hosted/node/plugin-host-rpc.js +43 -43
  90. package/lib/hosted/node/plugin-host-rpc.js.map +1 -1
  91. package/lib/hosted/node/plugin-host.js.map +1 -1
  92. package/lib/hosted/node/plugin-language-pack-service.js +2 -2
  93. package/lib/hosted/node/plugin-language-pack-service.js.map +1 -1
  94. package/lib/hosted/node/plugin-manifest-loader.js.map +1 -1
  95. package/lib/hosted/node/plugin-reader.js +8 -8
  96. package/lib/hosted/node/plugin-reader.js.map +1 -1
  97. package/lib/hosted/node/plugin-service.d.ts +1 -1
  98. package/lib/hosted/node/plugin-service.d.ts.map +1 -1
  99. package/lib/hosted/node/plugin-service.js +27 -27
  100. package/lib/hosted/node/plugin-service.js.map +1 -1
  101. package/lib/hosted/node/scanners/backend-init-theia.js.map +1 -1
  102. package/lib/hosted/node/scanners/file-plugin-uri-factory.js +2 -2
  103. package/lib/hosted/node/scanners/file-plugin-uri-factory.js.map +1 -1
  104. package/lib/hosted/node/scanners/grammars-reader.js +2 -2
  105. package/lib/hosted/node/scanners/grammars-reader.js.map +1 -1
  106. package/lib/hosted/node/scanners/scanner-theia.d.ts +1 -1
  107. package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -1
  108. package/lib/hosted/node/scanners/scanner-theia.js +10 -10
  109. package/lib/hosted/node/scanners/scanner-theia.js.map +1 -1
  110. package/lib/hosted/node-electron/scanner-theia-electron.js +2 -2
  111. package/lib/hosted/node-electron/scanner-theia-electron.js.map +1 -1
  112. package/lib/main/browser/authentication-main.d.ts +22 -0
  113. package/lib/main/browser/authentication-main.d.ts.map +1 -1
  114. package/lib/main/browser/authentication-main.js.map +1 -1
  115. package/lib/main/browser/command-registry-main.d.ts +23 -0
  116. package/lib/main/browser/command-registry-main.d.ts.map +1 -1
  117. package/lib/main/browser/command-registry-main.js.map +1 -1
  118. package/lib/main/browser/commands.js +5 -5
  119. package/lib/main/browser/commands.js.map +1 -1
  120. package/lib/main/browser/comments/comment-glyph-widget.js.map +1 -1
  121. package/lib/main/browser/comments/comment-thread-widget.js +12 -12
  122. package/lib/main/browser/comments/comment-thread-widget.js.map +1 -1
  123. package/lib/main/browser/comments/comments-context-key-service.js +8 -8
  124. package/lib/main/browser/comments/comments-context-key-service.js.map +1 -1
  125. package/lib/main/browser/comments/comments-contribution.js +14 -14
  126. package/lib/main/browser/comments/comments-contribution.js.map +1 -1
  127. package/lib/main/browser/comments/comments-decorator.js +6 -6
  128. package/lib/main/browser/comments/comments-decorator.js.map +1 -1
  129. package/lib/main/browser/comments/comments-main.js +32 -32
  130. package/lib/main/browser/comments/comments-main.js.map +1 -1
  131. package/lib/main/browser/comments/comments-service.js +2 -2
  132. package/lib/main/browser/comments/comments-service.js.map +1 -1
  133. package/lib/main/browser/custom-editors/custom-editor-contribution.js +4 -4
  134. package/lib/main/browser/custom-editors/custom-editor-contribution.js.map +1 -1
  135. package/lib/main/browser/custom-editors/custom-editor-opener.js +8 -7
  136. package/lib/main/browser/custom-editors/custom-editor-opener.js.map +1 -1
  137. package/lib/main/browser/custom-editors/custom-editor-service.js +2 -2
  138. package/lib/main/browser/custom-editors/custom-editor-service.js.map +1 -1
  139. package/lib/main/browser/custom-editors/custom-editor-widget-factory.js.map +1 -1
  140. package/lib/main/browser/custom-editors/custom-editor-widget.d.ts +2 -2
  141. package/lib/main/browser/custom-editors/custom-editor-widget.d.ts.map +1 -1
  142. package/lib/main/browser/custom-editors/custom-editor-widget.js +15 -18
  143. package/lib/main/browser/custom-editors/custom-editor-widget.js.map +1 -1
  144. package/lib/main/browser/custom-editors/custom-editors-main.d.ts +28 -7
  145. package/lib/main/browser/custom-editors/custom-editors-main.d.ts.map +1 -1
  146. package/lib/main/browser/custom-editors/custom-editors-main.js +29 -43
  147. package/lib/main/browser/custom-editors/custom-editors-main.js.map +1 -1
  148. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts +1 -1
  149. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts.map +1 -1
  150. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js +14 -14
  151. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js.map +1 -1
  152. package/lib/main/browser/data-transfer/data-transfer-type-converters.js +2 -2
  153. package/lib/main/browser/data-transfer/data-transfer-type-converters.js.map +1 -1
  154. package/lib/main/browser/debug/debug-main.js.map +1 -1
  155. package/lib/main/browser/debug/plugin-debug-configuration-provider.js.map +1 -1
  156. package/lib/main/browser/debug/plugin-debug-service.d.ts +22 -0
  157. package/lib/main/browser/debug/plugin-debug-service.d.ts.map +1 -1
  158. package/lib/main/browser/debug/plugin-debug-service.js +10 -10
  159. package/lib/main/browser/debug/plugin-debug-service.js.map +1 -1
  160. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js +8 -8
  161. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js.map +1 -1
  162. package/lib/main/browser/decorations/decorations-main.js.map +1 -1
  163. package/lib/main/browser/dialogs/modal-notification.js +4 -4
  164. package/lib/main/browser/dialogs/modal-notification.js.map +1 -1
  165. package/lib/main/browser/dialogs-main.js.map +1 -1
  166. package/lib/main/browser/documents-main.js.map +1 -1
  167. package/lib/main/browser/editors-and-documents-main.d.ts.map +1 -1
  168. package/lib/main/browser/editors-and-documents-main.js +2 -2
  169. package/lib/main/browser/editors-and-documents-main.js.map +1 -1
  170. package/lib/main/browser/env-main.js.map +1 -1
  171. package/lib/main/browser/file-system-main-impl.js +4 -4
  172. package/lib/main/browser/file-system-main-impl.js.map +1 -1
  173. package/lib/main/browser/hierarchy/hierarchy-types-converters.js +1 -1
  174. package/lib/main/browser/hierarchy/hierarchy-types-converters.js.map +1 -1
  175. package/lib/main/browser/keybindings/keybindings-contribution-handler.js +4 -4
  176. package/lib/main/browser/keybindings/keybindings-contribution-handler.js.map +1 -1
  177. package/lib/main/browser/label-service-main.js.map +1 -1
  178. package/lib/main/browser/languages-main.d.ts +22 -0
  179. package/lib/main/browser/languages-main.d.ts.map +1 -1
  180. package/lib/main/browser/languages-main.js +16 -16
  181. package/lib/main/browser/languages-main.js.map +1 -1
  182. package/lib/main/browser/main-file-system-event-service.js +3 -3
  183. package/lib/main/browser/main-file-system-event-service.js.map +1 -1
  184. package/lib/main/browser/menus/menus-contribution-handler.js +20 -20
  185. package/lib/main/browser/menus/menus-contribution-handler.js.map +1 -1
  186. package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts +1 -1
  187. package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts.map +1 -1
  188. package/lib/main/browser/menus/plugin-menu-command-adapter.js +16 -16
  189. package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +1 -1
  190. package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts +2 -2
  191. package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts.map +1 -1
  192. package/lib/main/browser/menus/vscode-theia-menu-mappings.js +2 -2
  193. package/lib/main/browser/menus/vscode-theia-menu-mappings.js.map +1 -1
  194. package/lib/main/browser/message-registry-main.js.map +1 -1
  195. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js +8 -8
  196. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js.map +1 -1
  197. package/lib/main/browser/notebooks/notebook-documents-main.d.ts +3 -1
  198. package/lib/main/browser/notebooks/notebook-documents-main.d.ts.map +1 -1
  199. package/lib/main/browser/notebooks/notebook-documents-main.js +8 -6
  200. package/lib/main/browser/notebooks/notebook-documents-main.js.map +1 -1
  201. package/lib/main/browser/notebooks/notebook-dto.js +1 -1
  202. package/lib/main/browser/notebooks/notebook-dto.js.map +1 -1
  203. package/lib/main/browser/notebooks/notebook-editors-main.d.ts +4 -3
  204. package/lib/main/browser/notebooks/notebook-editors-main.d.ts.map +1 -1
  205. package/lib/main/browser/notebooks/notebook-editors-main.js +8 -3
  206. package/lib/main/browser/notebooks/notebook-editors-main.js.map +1 -1
  207. package/lib/main/browser/notebooks/notebook-kernels-main.js +6 -6
  208. package/lib/main/browser/notebooks/notebook-kernels-main.js.map +1 -1
  209. package/lib/main/browser/notebooks/notebooks-main.d.ts +22 -0
  210. package/lib/main/browser/notebooks/notebooks-main.d.ts.map +1 -1
  211. package/lib/main/browser/notebooks/notebooks-main.js +2 -2
  212. package/lib/main/browser/notebooks/notebooks-main.js.map +1 -1
  213. package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +3 -0
  214. package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +1 -1
  215. package/lib/main/browser/notebooks/renderers/cell-output-webview.js +102 -26
  216. package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +1 -1
  217. package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts.map +1 -1
  218. package/lib/main/browser/notebooks/renderers/output-webview-internal.js +7 -0
  219. package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +1 -1
  220. package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +6 -2
  221. package/lib/main/browser/notebooks/renderers/webview-communication.d.ts.map +1 -1
  222. package/lib/main/browser/output-channel-registry-main.js +4 -4
  223. package/lib/main/browser/output-channel-registry-main.js.map +1 -1
  224. package/lib/main/browser/plugin-authentication-service.js +3 -3
  225. package/lib/main/browser/plugin-authentication-service.js.map +1 -1
  226. package/lib/main/browser/plugin-contribution-handler.js +61 -61
  227. package/lib/main/browser/plugin-contribution-handler.js.map +1 -1
  228. package/lib/main/browser/plugin-ext-frontend-module.d.ts.map +1 -1
  229. package/lib/main/browser/plugin-ext-frontend-module.js +0 -2
  230. package/lib/main/browser/plugin-ext-frontend-module.js.map +1 -1
  231. package/lib/main/browser/plugin-ext-widget.js +11 -11
  232. package/lib/main/browser/plugin-ext-widget.js.map +1 -1
  233. package/lib/main/browser/plugin-frontend-contribution.js +4 -4
  234. package/lib/main/browser/plugin-frontend-contribution.js.map +1 -1
  235. package/lib/main/browser/plugin-frontend-view-contribution.js +3 -3
  236. package/lib/main/browser/plugin-frontend-view-contribution.js.map +1 -1
  237. package/lib/main/browser/plugin-icon-service.js +4 -4
  238. package/lib/main/browser/plugin-icon-service.js.map +1 -1
  239. package/lib/main/browser/plugin-icon-theme-service.d.ts +1 -1
  240. package/lib/main/browser/plugin-icon-theme-service.d.ts.map +1 -1
  241. package/lib/main/browser/plugin-icon-theme-service.js +25 -25
  242. package/lib/main/browser/plugin-icon-theme-service.js.map +1 -1
  243. package/lib/main/browser/plugin-shared-style.js +8 -8
  244. package/lib/main/browser/plugin-shared-style.js.map +1 -1
  245. package/lib/main/browser/plugin-storage.js.map +1 -1
  246. package/lib/main/browser/plugin-terminal-registry.js +2 -2
  247. package/lib/main/browser/plugin-terminal-registry.js.map +1 -1
  248. package/lib/main/browser/preference-registry-main.js.map +1 -1
  249. package/lib/main/browser/quick-open-main.d.ts +25 -2
  250. package/lib/main/browser/quick-open-main.d.ts.map +1 -1
  251. package/lib/main/browser/quick-open-main.js +10 -1
  252. package/lib/main/browser/quick-open-main.js.map +1 -1
  253. package/lib/main/browser/scm-main.js +22 -22
  254. package/lib/main/browser/scm-main.js.map +1 -1
  255. package/lib/main/browser/secrets-main.js.map +1 -1
  256. package/lib/main/browser/selection-provider-command.js +5 -5
  257. package/lib/main/browser/selection-provider-command.js.map +1 -1
  258. package/lib/main/browser/status-bar-message-registry-main.js.map +1 -1
  259. package/lib/main/browser/tabs/tabs-main.d.ts +3 -1
  260. package/lib/main/browser/tabs/tabs-main.d.ts.map +1 -1
  261. package/lib/main/browser/tabs/tabs-main.js +41 -15
  262. package/lib/main/browser/tabs/tabs-main.js.map +1 -1
  263. package/lib/main/browser/tasks-main.js.map +1 -1
  264. package/lib/main/browser/terminal-main.d.ts +22 -0
  265. package/lib/main/browser/terminal-main.d.ts.map +1 -1
  266. package/lib/main/browser/terminal-main.js.map +1 -1
  267. package/lib/main/browser/test-main.js +39 -39
  268. package/lib/main/browser/test-main.js.map +1 -1
  269. package/lib/main/browser/text-editor-main.js.map +1 -1
  270. package/lib/main/browser/text-editor-model-service.js +5 -5
  271. package/lib/main/browser/text-editor-model-service.js.map +1 -1
  272. package/lib/main/browser/text-editors-main.js.map +1 -1
  273. package/lib/main/browser/theme-icon-override.js.map +1 -1
  274. package/lib/main/browser/timeline-main.js.map +1 -1
  275. package/lib/main/browser/view/dnd-file-content-store.js +2 -2
  276. package/lib/main/browser/view/dnd-file-content-store.js.map +1 -1
  277. package/lib/main/browser/view/plugin-tree-view-node-label-provider.js +6 -6
  278. package/lib/main/browser/view/plugin-tree-view-node-label-provider.js.map +1 -1
  279. package/lib/main/browser/view/plugin-view-registry.d.ts +1 -1
  280. package/lib/main/browser/view/plugin-view-registry.d.ts.map +1 -1
  281. package/lib/main/browser/view/plugin-view-registry.js +29 -29
  282. package/lib/main/browser/view/plugin-view-registry.js.map +1 -1
  283. package/lib/main/browser/view/plugin-view-widget.js +20 -20
  284. package/lib/main/browser/view/plugin-view-widget.js.map +1 -1
  285. package/lib/main/browser/view/tree-view-decorator-service.d.ts +22 -0
  286. package/lib/main/browser/view/tree-view-decorator-service.d.ts.map +1 -1
  287. package/lib/main/browser/view/tree-view-decorator-service.js +7 -7
  288. package/lib/main/browser/view/tree-view-decorator-service.js.map +1 -1
  289. package/lib/main/browser/view/tree-view-widget.d.ts +22 -0
  290. package/lib/main/browser/view/tree-view-widget.d.ts.map +1 -1
  291. package/lib/main/browser/view/tree-view-widget.js +44 -44
  292. package/lib/main/browser/view/tree-view-widget.js.map +1 -1
  293. package/lib/main/browser/view/tree-views-main.d.ts +22 -0
  294. package/lib/main/browser/view/tree-views-main.d.ts.map +1 -1
  295. package/lib/main/browser/view/tree-views-main.js.map +1 -1
  296. package/lib/main/browser/view/view-context-key-service.js +8 -8
  297. package/lib/main/browser/view/view-context-key-service.js.map +1 -1
  298. package/lib/main/browser/webview/webview-context-keys.js +10 -10
  299. package/lib/main/browser/webview/webview-context-keys.js.map +1 -1
  300. package/lib/main/browser/webview/webview-environment.js +8 -8
  301. package/lib/main/browser/webview/webview-environment.js.map +1 -1
  302. package/lib/main/browser/webview/webview-frontend-security-warnings.js +8 -8
  303. package/lib/main/browser/webview/webview-frontend-security-warnings.js.map +1 -1
  304. package/lib/main/browser/webview/webview-preferences.d.ts +1 -1
  305. package/lib/main/browser/webview/webview-preferences.d.ts.map +1 -1
  306. package/lib/main/browser/webview/webview-preferences.js.map +1 -1
  307. package/lib/main/browser/webview/webview-resource-cache.js +3 -3
  308. package/lib/main/browser/webview/webview-resource-cache.js.map +1 -1
  309. package/lib/main/browser/webview/webview-secondary-window-support.js +4 -4
  310. package/lib/main/browser/webview/webview-secondary-window-support.js.map +1 -1
  311. package/lib/main/browser/webview/webview-theme-data-provider.d.ts +1 -1
  312. package/lib/main/browser/webview/webview-theme-data-provider.d.ts.map +1 -1
  313. package/lib/main/browser/webview/webview-theme-data-provider.js +14 -14
  314. package/lib/main/browser/webview/webview-theme-data-provider.js.map +1 -1
  315. package/lib/main/browser/webview/webview-widget-factory.js.map +1 -1
  316. package/lib/main/browser/webview/webview.d.ts +22 -0
  317. package/lib/main/browser/webview/webview.d.ts.map +1 -1
  318. package/lib/main/browser/webview/webview.js +54 -55
  319. package/lib/main/browser/webview/webview.js.map +1 -1
  320. package/lib/main/browser/webview-views/webview-views-main.d.ts +22 -0
  321. package/lib/main/browser/webview-views/webview-views-main.d.ts.map +1 -1
  322. package/lib/main/browser/webview-views/webview-views-main.js +3 -3
  323. package/lib/main/browser/webview-views/webview-views-main.js.map +1 -1
  324. package/lib/main/browser/webviews-main.d.ts +23 -1
  325. package/lib/main/browser/webviews-main.d.ts.map +1 -1
  326. package/lib/main/browser/webviews-main.js +1 -1
  327. package/lib/main/browser/webviews-main.js.map +1 -1
  328. package/lib/main/browser/window-activity-tracker.d.ts +20 -0
  329. package/lib/main/browser/window-activity-tracker.d.ts.map +1 -0
  330. package/lib/main/browser/window-activity-tracker.js +86 -0
  331. package/lib/main/browser/window-activity-tracker.js.map +1 -0
  332. package/lib/main/browser/window-state-main.d.ts +1 -0
  333. package/lib/main/browser/window-state-main.d.ts.map +1 -1
  334. package/lib/main/browser/window-state-main.js +8 -1
  335. package/lib/main/browser/window-state-main.js.map +1 -1
  336. package/lib/main/browser/workspace-main.d.ts +22 -0
  337. package/lib/main/browser/workspace-main.d.ts.map +1 -1
  338. package/lib/main/browser/workspace-main.js +2 -2
  339. package/lib/main/browser/workspace-main.js.map +1 -1
  340. package/lib/main/common/basic-message-registry-main.js.map +1 -1
  341. package/lib/main/common/basic-notification-main.js.map +1 -1
  342. package/lib/main/common/env-main.js.map +1 -1
  343. package/lib/main/common/plugin-theia-environment.js +4 -4
  344. package/lib/main/common/plugin-theia-environment.js.map +1 -1
  345. package/lib/main/common/webview-protocol.js +1 -1
  346. package/lib/main/common/webview-protocol.js.map +1 -1
  347. package/lib/main/node/handlers/plugin-theia-directory-handler.js +7 -7
  348. package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +1 -1
  349. package/lib/main/node/handlers/plugin-theia-file-handler.js +5 -5
  350. package/lib/main/node/handlers/plugin-theia-file-handler.js.map +1 -1
  351. package/lib/main/node/paths/const.js +1 -1
  352. package/lib/main/node/paths/const.js.map +1 -1
  353. package/lib/main/node/paths/plugin-paths-service.js +10 -10
  354. package/lib/main/node/paths/plugin-paths-service.js.map +1 -1
  355. package/lib/main/node/plugin-cli-contribution.js +2 -2
  356. package/lib/main/node/plugin-cli-contribution.js.map +1 -1
  357. package/lib/main/node/plugin-deployer-contribution.js +6 -6
  358. package/lib/main/node/plugin-deployer-contribution.js.map +1 -1
  359. package/lib/main/node/plugin-deployer-directory-handler-context-impl.js.map +1 -1
  360. package/lib/main/node/plugin-deployer-entry-impl.js.map +1 -1
  361. package/lib/main/node/plugin-deployer-impl.js +18 -18
  362. package/lib/main/node/plugin-deployer-impl.js.map +1 -1
  363. package/lib/main/node/plugin-deployer-proxy-entry-impl.js +3 -3
  364. package/lib/main/node/plugin-deployer-proxy-entry-impl.js.map +1 -1
  365. package/lib/main/node/plugin-ext-backend-module.d.ts.map +1 -1
  366. package/lib/main/node/plugin-ext-backend-module.js +8 -0
  367. package/lib/main/node/plugin-ext-backend-module.js.map +1 -1
  368. package/lib/main/node/plugin-github-resolver.js +5 -5
  369. package/lib/main/node/plugin-github-resolver.js.map +1 -1
  370. package/lib/main/node/plugin-http-resolver.js +5 -5
  371. package/lib/main/node/plugin-http-resolver.js.map +1 -1
  372. package/lib/main/node/plugin-localization-server.js +4 -4
  373. package/lib/main/node/plugin-localization-server.js.map +1 -1
  374. package/lib/main/node/plugin-mgmt-cli-contribution.js +4 -4
  375. package/lib/main/node/plugin-mgmt-cli-contribution.js.map +1 -1
  376. package/lib/main/node/plugin-remote-cli-contribution.d.ts +8 -0
  377. package/lib/main/node/plugin-remote-cli-contribution.d.ts.map +1 -0
  378. package/lib/main/node/plugin-remote-cli-contribution.js +41 -0
  379. package/lib/main/node/plugin-remote-cli-contribution.js.map +1 -0
  380. package/lib/main/node/plugin-remote-copy-contribution.d.ts +7 -0
  381. package/lib/main/node/plugin-remote-copy-contribution.d.ts.map +1 -0
  382. package/lib/main/node/plugin-remote-copy-contribution.js +40 -0
  383. package/lib/main/node/plugin-remote-copy-contribution.js.map +1 -0
  384. package/lib/main/node/plugin-server-handler.js +6 -6
  385. package/lib/main/node/plugin-server-handler.js.map +1 -1
  386. package/lib/main/node/plugin-service.d.ts +1 -1
  387. package/lib/main/node/plugin-service.d.ts.map +1 -1
  388. package/lib/main/node/plugin-service.js +11 -11
  389. package/lib/main/node/plugin-service.js.map +1 -1
  390. package/lib/main/node/plugin-theia-deployer-participant.js +4 -4
  391. package/lib/main/node/plugin-theia-deployer-participant.js.map +1 -1
  392. package/lib/main/node/plugin-uninstallation-manager.js +2 -2
  393. package/lib/main/node/plugin-uninstallation-manager.js.map +1 -1
  394. package/lib/main/node/plugins-key-value-storage.js +12 -12
  395. package/lib/main/node/plugins-key-value-storage.js.map +1 -1
  396. package/lib/main/node/plugins-key-value-storage.spec.js.map +1 -1
  397. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js +2 -2
  398. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js.map +1 -1
  399. package/lib/main/node/resolvers/local-plugin-deployer-resolver.js +2 -2
  400. package/lib/main/node/resolvers/local-plugin-deployer-resolver.js.map +1 -1
  401. package/lib/main/node/temp-dir-util.js.map +1 -1
  402. package/lib/main/node/webview-backend-security-warnings.js +2 -2
  403. package/lib/main/node/webview-backend-security-warnings.js.map +1 -1
  404. package/lib/plugin/authentication-ext.d.ts +22 -0
  405. package/lib/plugin/authentication-ext.d.ts.map +1 -1
  406. package/lib/plugin/authentication-ext.js +9 -0
  407. package/lib/plugin/authentication-ext.js.map +1 -1
  408. package/lib/plugin/clipboard-ext.d.ts +22 -0
  409. package/lib/plugin/clipboard-ext.d.ts.map +1 -1
  410. package/lib/plugin/clipboard-ext.js +8 -8
  411. package/lib/plugin/clipboard-ext.js.map +1 -1
  412. package/lib/plugin/command-registry.d.ts +24 -1
  413. package/lib/plugin/command-registry.d.ts.map +1 -1
  414. package/lib/plugin/command-registry.js.map +1 -1
  415. package/lib/plugin/comments.d.ts +22 -0
  416. package/lib/plugin/comments.d.ts.map +1 -1
  417. package/lib/plugin/comments.js +27 -27
  418. package/lib/plugin/comments.js.map +1 -1
  419. package/lib/plugin/custom-editors.d.ts +23 -1
  420. package/lib/plugin/custom-editors.d.ts.map +1 -1
  421. package/lib/plugin/custom-editors.js +6 -6
  422. package/lib/plugin/custom-editors.js.map +1 -1
  423. package/lib/plugin/debug/debug-ext.d.ts +23 -0
  424. package/lib/plugin/debug/debug-ext.d.ts.map +1 -1
  425. package/lib/plugin/debug/debug-ext.js +12 -12
  426. package/lib/plugin/debug/debug-ext.js.map +1 -1
  427. package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts +22 -0
  428. package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts.map +1 -1
  429. package/lib/plugin/debug/plugin-debug-adapter-creator.js.map +1 -1
  430. package/lib/plugin/debug/plugin-debug-adapter-session.d.ts +22 -0
  431. package/lib/plugin/debug/plugin-debug-adapter-session.d.ts.map +1 -1
  432. package/lib/plugin/debug/plugin-debug-adapter-session.js.map +1 -1
  433. package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts +22 -0
  434. package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts.map +1 -1
  435. package/lib/plugin/debug/plugin-debug-adapter-tracker.js.map +1 -1
  436. package/lib/plugin/decorations.d.ts +22 -0
  437. package/lib/plugin/decorations.d.ts.map +1 -1
  438. package/lib/plugin/decorations.js.map +1 -1
  439. package/lib/plugin/dialogs.d.ts +22 -0
  440. package/lib/plugin/dialogs.d.ts.map +1 -1
  441. package/lib/plugin/dialogs.js.map +1 -1
  442. package/lib/plugin/document-data.d.ts +22 -0
  443. package/lib/plugin/document-data.d.ts.map +1 -1
  444. package/lib/plugin/document-data.js.map +1 -1
  445. package/lib/plugin/documents.d.ts +22 -0
  446. package/lib/plugin/documents.d.ts.map +1 -1
  447. package/lib/plugin/documents.js.map +1 -1
  448. package/lib/plugin/editors-and-documents.d.ts +1 -0
  449. package/lib/plugin/editors-and-documents.d.ts.map +1 -1
  450. package/lib/plugin/editors-and-documents.js +7 -4
  451. package/lib/plugin/editors-and-documents.js.map +1 -1
  452. package/lib/plugin/env.d.ts +23 -0
  453. package/lib/plugin/env.d.ts.map +1 -1
  454. package/lib/plugin/env.js +9 -9
  455. package/lib/plugin/env.js.map +1 -1
  456. package/lib/plugin/file-system-event-service-ext-impl.d.ts +24 -2
  457. package/lib/plugin/file-system-event-service-ext-impl.d.ts.map +1 -1
  458. package/lib/plugin/file-system-event-service-ext-impl.js +15 -15
  459. package/lib/plugin/file-system-event-service-ext-impl.js.map +1 -1
  460. package/lib/plugin/file-system-ext-impl.d.ts +22 -0
  461. package/lib/plugin/file-system-ext-impl.d.ts.map +1 -1
  462. package/lib/plugin/file-system-ext-impl.js +15 -15
  463. package/lib/plugin/file-system-ext-impl.js.map +1 -1
  464. package/lib/plugin/known-commands.js +1 -1
  465. package/lib/plugin/known-commands.js.map +1 -1
  466. package/lib/plugin/label-service.d.ts +23 -0
  467. package/lib/plugin/label-service.d.ts.map +1 -1
  468. package/lib/plugin/languages/call-hierarchy.d.ts +22 -0
  469. package/lib/plugin/languages/call-hierarchy.d.ts.map +1 -1
  470. package/lib/plugin/languages/call-hierarchy.js.map +1 -1
  471. package/lib/plugin/languages/code-action.d.ts +22 -0
  472. package/lib/plugin/languages/code-action.d.ts.map +1 -1
  473. package/lib/plugin/languages/code-action.js.map +1 -1
  474. package/lib/plugin/languages/color.d.ts +22 -0
  475. package/lib/plugin/languages/color.d.ts.map +1 -1
  476. package/lib/plugin/languages/color.js.map +1 -1
  477. package/lib/plugin/languages/completion.d.ts +22 -0
  478. package/lib/plugin/languages/completion.d.ts.map +1 -1
  479. package/lib/plugin/languages/completion.js.map +1 -1
  480. package/lib/plugin/languages/declaration.d.ts +22 -0
  481. package/lib/plugin/languages/declaration.d.ts.map +1 -1
  482. package/lib/plugin/languages/declaration.js.map +1 -1
  483. package/lib/plugin/languages/definition.d.ts +22 -0
  484. package/lib/plugin/languages/definition.d.ts.map +1 -1
  485. package/lib/plugin/languages/definition.js.map +1 -1
  486. package/lib/plugin/languages/diagnostics.d.ts +22 -0
  487. package/lib/plugin/languages/diagnostics.d.ts.map +1 -1
  488. package/lib/plugin/languages/diagnostics.js.map +1 -1
  489. package/lib/plugin/languages/document-drop-edit.d.ts +22 -0
  490. package/lib/plugin/languages/document-drop-edit.d.ts.map +1 -1
  491. package/lib/plugin/languages/document-formatting.d.ts +22 -0
  492. package/lib/plugin/languages/document-formatting.d.ts.map +1 -1
  493. package/lib/plugin/languages/document-formatting.js.map +1 -1
  494. package/lib/plugin/languages/document-highlight.d.ts +22 -0
  495. package/lib/plugin/languages/document-highlight.d.ts.map +1 -1
  496. package/lib/plugin/languages/document-highlight.js.map +1 -1
  497. package/lib/plugin/languages/evaluatable-expression.d.ts +22 -0
  498. package/lib/plugin/languages/evaluatable-expression.d.ts.map +1 -1
  499. package/lib/plugin/languages/evaluatable-expression.js.map +1 -1
  500. package/lib/plugin/languages/folding.d.ts +22 -0
  501. package/lib/plugin/languages/folding.d.ts.map +1 -1
  502. package/lib/plugin/languages/folding.js.map +1 -1
  503. package/lib/plugin/languages/hover.d.ts +22 -0
  504. package/lib/plugin/languages/hover.d.ts.map +1 -1
  505. package/lib/plugin/languages/hover.js.map +1 -1
  506. package/lib/plugin/languages/implementation.d.ts +22 -0
  507. package/lib/plugin/languages/implementation.d.ts.map +1 -1
  508. package/lib/plugin/languages/implementation.js.map +1 -1
  509. package/lib/plugin/languages/inlay-hints.d.ts +22 -0
  510. package/lib/plugin/languages/inlay-hints.d.ts.map +1 -1
  511. package/lib/plugin/languages/inlay-hints.js +1 -1
  512. package/lib/plugin/languages/inlay-hints.js.map +1 -1
  513. package/lib/plugin/languages/inline-completion.d.ts +22 -0
  514. package/lib/plugin/languages/inline-completion.d.ts.map +1 -1
  515. package/lib/plugin/languages/inline-completion.js.map +1 -1
  516. package/lib/plugin/languages/inline-values.d.ts +22 -0
  517. package/lib/plugin/languages/inline-values.d.ts.map +1 -1
  518. package/lib/plugin/languages/inline-values.js.map +1 -1
  519. package/lib/plugin/languages/lens.d.ts +22 -0
  520. package/lib/plugin/languages/lens.d.ts.map +1 -1
  521. package/lib/plugin/languages/lens.js.map +1 -1
  522. package/lib/plugin/languages/link-provider.d.ts +22 -0
  523. package/lib/plugin/languages/link-provider.d.ts.map +1 -1
  524. package/lib/plugin/languages/link-provider.js.map +1 -1
  525. package/lib/plugin/languages/linked-editing-range.d.ts +22 -0
  526. package/lib/plugin/languages/linked-editing-range.d.ts.map +1 -1
  527. package/lib/plugin/languages/linked-editing-range.js.map +1 -1
  528. package/lib/plugin/languages/on-type-formatting.d.ts +22 -0
  529. package/lib/plugin/languages/on-type-formatting.d.ts.map +1 -1
  530. package/lib/plugin/languages/on-type-formatting.js.map +1 -1
  531. package/lib/plugin/languages/outline.d.ts +22 -0
  532. package/lib/plugin/languages/outline.d.ts.map +1 -1
  533. package/lib/plugin/languages/outline.js.map +1 -1
  534. package/lib/plugin/languages/range-formatting.d.ts +22 -0
  535. package/lib/plugin/languages/range-formatting.d.ts.map +1 -1
  536. package/lib/plugin/languages/range-formatting.js.map +1 -1
  537. package/lib/plugin/languages/reference.d.ts +22 -0
  538. package/lib/plugin/languages/reference.d.ts.map +1 -1
  539. package/lib/plugin/languages/reference.js.map +1 -1
  540. package/lib/plugin/languages/rename.d.ts +22 -0
  541. package/lib/plugin/languages/rename.d.ts.map +1 -1
  542. package/lib/plugin/languages/rename.js +3 -3
  543. package/lib/plugin/languages/rename.js.map +1 -1
  544. package/lib/plugin/languages/selection-range.d.ts +22 -0
  545. package/lib/plugin/languages/selection-range.d.ts.map +1 -1
  546. package/lib/plugin/languages/selection-range.js.map +1 -1
  547. package/lib/plugin/languages/semantic-highlighting.d.ts +22 -0
  548. package/lib/plugin/languages/semantic-highlighting.d.ts.map +1 -1
  549. package/lib/plugin/languages/semantic-highlighting.js.map +1 -1
  550. package/lib/plugin/languages/signature.d.ts +22 -0
  551. package/lib/plugin/languages/signature.d.ts.map +1 -1
  552. package/lib/plugin/languages/signature.js.map +1 -1
  553. package/lib/plugin/languages/type-definition.d.ts +22 -0
  554. package/lib/plugin/languages/type-definition.d.ts.map +1 -1
  555. package/lib/plugin/languages/type-definition.js.map +1 -1
  556. package/lib/plugin/languages/type-hierarchy.d.ts +22 -0
  557. package/lib/plugin/languages/type-hierarchy.d.ts.map +1 -1
  558. package/lib/plugin/languages/type-hierarchy.js.map +1 -1
  559. package/lib/plugin/languages/util.d.ts +22 -0
  560. package/lib/plugin/languages/util.d.ts.map +1 -1
  561. package/lib/plugin/languages/workspace-symbol.d.ts +22 -0
  562. package/lib/plugin/languages/workspace-symbol.d.ts.map +1 -1
  563. package/lib/plugin/languages/workspace-symbol.js.map +1 -1
  564. package/lib/plugin/languages-utils.d.ts +22 -0
  565. package/lib/plugin/languages-utils.d.ts.map +1 -1
  566. package/lib/plugin/languages-utils.js.map +1 -1
  567. package/lib/plugin/languages.d.ts +22 -0
  568. package/lib/plugin/languages.d.ts.map +1 -1
  569. package/lib/plugin/languages.js.map +1 -1
  570. package/lib/plugin/localization-ext.js +8 -8
  571. package/lib/plugin/localization-ext.js.map +1 -1
  572. package/lib/plugin/markdown-string.d.ts +22 -0
  573. package/lib/plugin/markdown-string.d.ts.map +1 -1
  574. package/lib/plugin/markdown-string.js +20 -20
  575. package/lib/plugin/markdown-string.js.map +1 -1
  576. package/lib/plugin/message-registry.d.ts +22 -0
  577. package/lib/plugin/message-registry.d.ts.map +1 -1
  578. package/lib/plugin/message-registry.js +8 -8
  579. package/lib/plugin/message-registry.js.map +1 -1
  580. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts +22 -0
  581. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts.map +1 -1
  582. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js.map +1 -1
  583. package/lib/plugin/node/env-node-ext.js +3 -3
  584. package/lib/plugin/node/env-node-ext.js.map +1 -1
  585. package/lib/plugin/node/plugin-container-module.d.ts +4 -4
  586. package/lib/plugin/node/plugin-container-module.d.ts.map +1 -1
  587. package/lib/plugin/node/plugin-container-module.js.map +1 -1
  588. package/lib/plugin/notebook/notebook-document.d.ts +22 -0
  589. package/lib/plugin/notebook/notebook-document.d.ts.map +1 -1
  590. package/lib/plugin/notebook/notebook-document.js +23 -16
  591. package/lib/plugin/notebook/notebook-document.js.map +1 -1
  592. package/lib/plugin/notebook/notebook-documents.d.ts +23 -1
  593. package/lib/plugin/notebook/notebook-documents.d.ts.map +1 -1
  594. package/lib/plugin/notebook/notebook-editor.d.ts +22 -0
  595. package/lib/plugin/notebook/notebook-editor.d.ts.map +1 -1
  596. package/lib/plugin/notebook/notebook-editor.js.map +1 -1
  597. package/lib/plugin/notebook/notebook-editors.d.ts +22 -0
  598. package/lib/plugin/notebook/notebook-editors.d.ts.map +1 -1
  599. package/lib/plugin/notebook/notebook-editors.js.map +1 -1
  600. package/lib/plugin/notebook/notebook-kernels.d.ts +22 -0
  601. package/lib/plugin/notebook/notebook-kernels.d.ts.map +1 -1
  602. package/lib/plugin/notebook/notebook-kernels.js +1 -1
  603. package/lib/plugin/notebook/notebook-kernels.js.map +1 -1
  604. package/lib/plugin/notebook/notebook-renderers.d.ts +22 -0
  605. package/lib/plugin/notebook/notebook-renderers.d.ts.map +1 -1
  606. package/lib/plugin/notebook/notebook-renderers.js.map +1 -1
  607. package/lib/plugin/notebook/notebooks.d.ts +23 -0
  608. package/lib/plugin/notebook/notebooks.d.ts.map +1 -1
  609. package/lib/plugin/notebook/notebooks.js +41 -19
  610. package/lib/plugin/notebook/notebooks.js.map +1 -1
  611. package/lib/plugin/notification.d.ts +22 -0
  612. package/lib/plugin/notification.d.ts.map +1 -1
  613. package/lib/plugin/notification.js.map +1 -1
  614. package/lib/plugin/output-channel/log-output-channel.d.ts +22 -0
  615. package/lib/plugin/output-channel/log-output-channel.d.ts.map +1 -1
  616. package/lib/plugin/output-channel/log-output-channel.js.map +1 -1
  617. package/lib/plugin/output-channel/output-channel-item.d.ts +22 -0
  618. package/lib/plugin/output-channel/output-channel-item.d.ts.map +1 -1
  619. package/lib/plugin/output-channel/output-channel-item.js.map +1 -1
  620. package/lib/plugin/output-channel-registry.d.ts +22 -0
  621. package/lib/plugin/output-channel-registry.d.ts.map +1 -1
  622. package/lib/plugin/output-channel-registry.js.map +1 -1
  623. package/lib/plugin/path.js.map +1 -1
  624. package/lib/plugin/plugin-context.d.ts +23 -0
  625. package/lib/plugin/plugin-context.d.ts.map +1 -1
  626. package/lib/plugin/plugin-context.js +16 -8
  627. package/lib/plugin/plugin-context.js.map +1 -1
  628. package/lib/plugin/plugin-icon-path.d.ts +1 -1
  629. package/lib/plugin/plugin-icon-path.d.ts.map +1 -1
  630. package/lib/plugin/plugin-icon-path.js +1 -1
  631. package/lib/plugin/plugin-icon-path.js.map +1 -1
  632. package/lib/plugin/plugin-manager.d.ts +24 -1
  633. package/lib/plugin/plugin-manager.d.ts.map +1 -1
  634. package/lib/plugin/plugin-manager.js +25 -27
  635. package/lib/plugin/plugin-manager.js.map +1 -1
  636. package/lib/plugin/plugin-storage.d.ts +22 -0
  637. package/lib/plugin/plugin-storage.d.ts.map +1 -1
  638. package/lib/plugin/plugin-storage.js +4 -4
  639. package/lib/plugin/plugin-storage.js.map +1 -1
  640. package/lib/plugin/preference-registry.d.ts +23 -1
  641. package/lib/plugin/preference-registry.d.ts.map +1 -1
  642. package/lib/plugin/preference-registry.js +11 -11
  643. package/lib/plugin/preference-registry.js.map +1 -1
  644. package/lib/plugin/prefix-sum-computer.js.map +1 -1
  645. package/lib/plugin/quick-open.d.ts +23 -1
  646. package/lib/plugin/quick-open.d.ts.map +1 -1
  647. package/lib/plugin/quick-open.js +5 -5
  648. package/lib/plugin/quick-open.js.map +1 -1
  649. package/lib/plugin/scm.d.ts +22 -0
  650. package/lib/plugin/scm.d.ts.map +1 -1
  651. package/lib/plugin/scm.js +57 -57
  652. package/lib/plugin/scm.js.map +1 -1
  653. package/lib/plugin/secrets-ext.d.ts +22 -0
  654. package/lib/plugin/secrets-ext.d.ts.map +1 -1
  655. package/lib/plugin/secrets-ext.js +4 -4
  656. package/lib/plugin/secrets-ext.js.map +1 -1
  657. package/lib/plugin/status-bar/status-bar-item.d.ts +22 -0
  658. package/lib/plugin/status-bar/status-bar-item.d.ts.map +1 -1
  659. package/lib/plugin/status-bar/status-bar-item.js.map +1 -1
  660. package/lib/plugin/status-bar-message-registry.d.ts +22 -0
  661. package/lib/plugin/status-bar-message-registry.d.ts.map +1 -1
  662. package/lib/plugin/status-bar-message-registry.js.map +1 -1
  663. package/lib/plugin/tabs.d.ts +22 -0
  664. package/lib/plugin/tabs.d.ts.map +1 -1
  665. package/lib/plugin/tabs.js +22 -18
  666. package/lib/plugin/tabs.js.map +1 -1
  667. package/lib/plugin/tasks/task-provider.d.ts +22 -0
  668. package/lib/plugin/tasks/task-provider.d.ts.map +1 -1
  669. package/lib/plugin/tasks/task-provider.js.map +1 -1
  670. package/lib/plugin/tasks/tasks.d.ts +23 -1
  671. package/lib/plugin/tasks/tasks.d.ts.map +1 -1
  672. package/lib/plugin/tasks/tasks.js.map +1 -1
  673. package/lib/plugin/telemetry-ext.js.map +1 -1
  674. package/lib/plugin/terminal-ext.d.ts +23 -0
  675. package/lib/plugin/terminal-ext.d.ts.map +1 -1
  676. package/lib/plugin/terminal-ext.js +15 -15
  677. package/lib/plugin/terminal-ext.js.map +1 -1
  678. package/lib/plugin/test-item.d.ts +22 -0
  679. package/lib/plugin/test-item.d.ts.map +1 -1
  680. package/lib/plugin/test-item.js +17 -17
  681. package/lib/plugin/test-item.js.map +1 -1
  682. package/lib/plugin/tests.d.ts +24 -2
  683. package/lib/plugin/tests.d.ts.map +1 -1
  684. package/lib/plugin/tests.js +8 -9
  685. package/lib/plugin/tests.js.map +1 -1
  686. package/lib/plugin/text-editor.d.ts +23 -1
  687. package/lib/plugin/text-editor.d.ts.map +1 -1
  688. package/lib/plugin/text-editor.js +0 -1
  689. package/lib/plugin/text-editor.js.map +1 -1
  690. package/lib/plugin/text-editors.d.ts +22 -0
  691. package/lib/plugin/text-editors.d.ts.map +1 -1
  692. package/lib/plugin/text-editors.js.map +1 -1
  693. package/lib/plugin/theming.js.map +1 -1
  694. package/lib/plugin/timeline.d.ts +23 -0
  695. package/lib/plugin/timeline.d.ts.map +1 -1
  696. package/lib/plugin/timeline.js.map +1 -1
  697. package/lib/plugin/tree/tree-views.d.ts +22 -0
  698. package/lib/plugin/tree/tree-views.d.ts.map +1 -1
  699. package/lib/plugin/tree/tree-views.js.map +1 -1
  700. package/lib/plugin/type-converters.d.ts +22 -0
  701. package/lib/plugin/type-converters.d.ts.map +1 -1
  702. package/lib/plugin/type-converters.js +33 -33
  703. package/lib/plugin/type-converters.js.map +1 -1
  704. package/lib/plugin/type-converters.spec.js.map +1 -1
  705. package/lib/plugin/types-impl.d.ts +44 -13
  706. package/lib/plugin/types-impl.d.ts.map +1 -1
  707. package/lib/plugin/types-impl.js +485 -469
  708. package/lib/plugin/types-impl.js.map +1 -1
  709. package/lib/plugin/types-impl.spec.js.map +1 -1
  710. package/lib/plugin/webview-views.d.ts +22 -0
  711. package/lib/plugin/webview-views.d.ts.map +1 -1
  712. package/lib/plugin/webview-views.js.map +1 -1
  713. package/lib/plugin/webviews.d.ts +22 -0
  714. package/lib/plugin/webviews.d.ts.map +1 -1
  715. package/lib/plugin/webviews.js +10 -10
  716. package/lib/plugin/webviews.js.map +1 -1
  717. package/lib/plugin/window-state.d.ts +25 -1
  718. package/lib/plugin/window-state.d.ts.map +1 -1
  719. package/lib/plugin/window-state.js +11 -6
  720. package/lib/plugin/window-state.js.map +1 -1
  721. package/lib/plugin/word-helper.js.map +1 -1
  722. package/lib/plugin/workspace.d.ts +22 -0
  723. package/lib/plugin/workspace.d.ts.map +1 -1
  724. package/lib/plugin/workspace.js +12 -12
  725. package/lib/plugin/workspace.js.map +1 -1
  726. package/package.json +29 -29
  727. package/src/common/plugin-api-rpc.ts +7 -6
  728. package/src/common/plugin-protocol.ts +1 -0
  729. package/src/hosted/node/hosted-plugin-deployer-handler.ts +6 -0
  730. package/src/main/browser/custom-editors/custom-editor-widget.ts +3 -10
  731. package/src/main/browser/custom-editors/custom-editors-main.ts +21 -42
  732. package/src/main/browser/editors-and-documents-main.ts +3 -3
  733. package/src/main/browser/notebooks/notebook-documents-main.ts +9 -7
  734. package/src/main/browser/notebooks/notebook-editors-main.ts +11 -6
  735. package/src/main/browser/notebooks/notebooks-main.ts +1 -1
  736. package/src/main/browser/notebooks/renderers/cell-output-webview.tsx +76 -1
  737. package/src/main/browser/notebooks/renderers/output-webview-internal.ts +10 -0
  738. package/src/main/browser/notebooks/renderers/webview-communication.ts +7 -1
  739. package/src/main/browser/plugin-ext-frontend-module.ts +0 -3
  740. package/src/main/browser/quick-open-main.ts +20 -7
  741. package/src/main/browser/tabs/tabs-main.ts +36 -9
  742. package/src/main/browser/webviews-main.ts +1 -1
  743. package/src/main/browser/window-activity-tracker.ts +96 -0
  744. package/src/main/browser/window-state-main.ts +10 -1
  745. package/src/main/node/plugin-ext-backend-module.ts +9 -0
  746. package/src/main/node/plugin-remote-cli-contribution.ts +36 -0
  747. package/src/main/node/plugin-remote-copy-contribution.ts +36 -0
  748. package/src/main/node/plugin-service.ts +1 -1
  749. package/src/plugin/authentication-ext.ts +11 -0
  750. package/src/plugin/custom-editors.ts +1 -1
  751. package/src/plugin/editors-and-documents.ts +4 -0
  752. package/src/plugin/notebook/notebook-document.ts +13 -3
  753. package/src/plugin/notebook/notebooks.ts +37 -14
  754. package/src/plugin/plugin-context.ts +10 -0
  755. package/src/plugin/quick-open.ts +1 -1
  756. package/src/plugin/tabs.ts +7 -2
  757. package/src/plugin/text-editor.ts +2 -3
  758. package/src/plugin/types-impl.ts +33 -10
  759. package/src/plugin/window-state.ts +13 -6
  760. package/lib/main/browser/view-column-service.d.ts +0 -24
  761. package/lib/main/browser/view-column-service.d.ts.map +0 -1
  762. package/lib/main/browser/view-column-service.js +0 -119
  763. package/lib/main/browser/view-column-service.js.map +0 -1
  764. package/src/main/browser/view-column-service.ts +0 -125
@@ -20,12 +20,12 @@
20
20
  * Licensed under the MIT License. See License.txt in the project root for license information.
21
21
  *--------------------------------------------------------------------------------------------*/
22
22
  var _a, _NotebookCellOutputItem_encoder;
23
- var URI_1, Disposable_1, Position_1, Range_1, SnippetString_1, ThemeIcon_1, TextEdit_1, Location_1, NotebookEdit_1, CodeActionKind_1, SymbolInformation_1, DocumentSymbol_1, FileSystemError_1, TaskGroup_1, CallHierarchyItem_1, TypeHierarchyItem_1, TestMessage_1, FileCoverage_1, SemanticTokensBuilder_1;
23
+ var URI_1, Disposable_1, Position_1, Range_1, SnippetString_1, ThemeIcon_1, TextEdit_1, Location_1, NotebookEdit_1, DocumentDropOrPasteEditKind_1, CodeActionKind_1, SymbolInformation_1, DocumentSymbol_1, FileSystemError_1, TaskGroup_1, CallHierarchyItem_1, TypeHierarchyItem_1, TestMessage_1, FileCoverage_1, SemanticTokensBuilder_1;
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.NotebookEditorRevealType = exports.NotebookControllerAffinity = exports.NotebookCellStatusBarAlignment = exports.NotebookCellKind = exports.MarkerTag = exports.MarkerSeverity = exports.Diagnostic = exports.CompletionItemTag = exports.DiagnosticTag = exports.DiagnosticRelatedInformation = exports.Location = exports.DebugConsoleMode = exports.DiagnosticSeverity = exports.InlineCompletionList = exports.InlineCompletionItem = exports.InlineCompletionTriggerKind = exports.CompletionList = exports.CompletionItem = exports.CompletionItemKind = exports.CompletionTriggerKind = exports.TextEdit = exports.SyntaxTokenType = exports.IndentAction = exports.RelativePattern = exports.ConfigurationTarget = exports.OverviewRulerLane = exports.DecorationRangeBehavior = exports.TextEditorRevealType = exports.ThemeIcon = exports.ThemeColor = exports.SnippetString = exports.EnvironmentVariableMutatorType = exports.EndOfLine = exports.TextDocumentShowOptions = exports.Selection = exports.Range = exports.Position = exports.TextDocumentChangeReason = exports.TextEditorSelectionChangeKind = exports.ColorTheme = exports.ExternalUriOpenerPriority = exports.SourceControlInputBoxValidationType = exports.ExtensionKind = exports.ExtensionMode = exports.ColorThemeKind = exports.ViewColumn = exports.TextEditorLineNumbersStyle = exports.StatusBarAlignment = exports.Disposable = exports.URI = void 0;
26
- exports.FileDecoration = exports.TerminalExitReason = exports.TerminalProfile = exports.TerminalOutputAnchor = exports.TerminalLocation = exports.TerminalLink = exports.QuickInputButtons = exports.CommentThreadCollapsibleState = exports.CommentThreadState = exports.DocumentSymbol = exports.SymbolInformation = exports.SymbolTag = exports.TreeItemCheckboxState = exports.TreeItemCollapsibleState = exports.TreeItem = exports.DataTransfer = exports.DataTransferItem = exports.WorkspaceEdit = exports.CodeAction = exports.TextDocumentSaveReason = exports.CodeActionKind = exports.CodeActionTriggerKind = exports.CodeActionTrigger = exports.CodeLens = exports.DocumentDropEdit = exports.DocumentLink = exports.MultiDocumentHighlight = exports.DocumentHighlight = exports.DocumentHighlightKind = exports.InlineValueEvaluatableExpression = exports.InlineValueVariableLookup = exports.InlineValueText = exports.InlineValueContext = exports.EvaluatableExpression = exports.Hover = exports.SignatureHelp = exports.SignatureHelpTriggerKind = exports.SignatureInformation = exports.ParameterInformation = exports.NotebookRendererScript = exports.NotebookEdit = exports.SnippetTextEdit = exports.NotebookRange = exports.NotebookData = exports.NotebookCellStatusBarItem = exports.NotebookCellOutputItem = exports.NotebookCellOutput = exports.NotebookCellData = exports.NotebookKernelSourceAction = exports.NotebookCellExecutionState = void 0;
27
- exports.TestMessage = exports.TestRunRequest = exports.TestTag = exports.TestRunProfileKind = exports.TestResultState = exports.LinkedEditingRanges = exports.LanguageStatusSeverity = exports.TypeHierarchyItem = exports.CallHierarchyOutgoingCall = exports.CallHierarchyIncomingCall = exports.CallHierarchyItem = exports.UIKind = exports.WebviewPanelTargetArea = exports.OperatingSystem = exports.SelectionRange = exports.FoldingRangeKind = exports.FoldingRange = exports.InlayHintKind = exports.InlayHint = exports.InlayHintLabelPart = exports.ColorFormat = exports.ColorPresentation = exports.ColorInformation = exports.Color = exports.FunctionBreakpoint = exports.SourceBreakpoint = exports.Breakpoint = exports.LogLevel = exports.DebugAdapterInlineImplementation = exports.DebugAdapterNamedPipeServer = exports.DebugAdapterServer = exports.DebugAdapterExecutable = exports.Task2 = exports.Task = exports.TaskScope = exports.TaskGroup = exports.CustomExecution = exports.ShellExecution = exports.TaskRevealKind = exports.TaskPanelKind = exports.ShellQuoting = exports.QuickPickItemKind = exports.ProcessExecution = exports.ProgressLocation = exports.Progress = exports.ProgressOptions = exports.FileType = exports.FileSystemError = exports.FileChangeType = exports.CommentMode = void 0;
28
- exports.TerminalQuickFixOpener = exports.TerminalQuickFixTerminalCommand = exports.EditSessionIdentityMatch = exports.DocumentPasteTriggerKind = exports.DocumentPasteEdit = exports.DocumentPasteEditKind = exports.InteractiveWindowInput = exports.TerminalEditorTabInput = exports.NotebookDiffEditorTabInput = exports.NotebookEditorTabInput = exports.TelemetryLogger = exports.TelemetryTrustedValue = exports.WebviewEditorTabInput = exports.CustomEditorTabInput = exports.TextMergeTabInput = exports.TextDiffTabInput = exports.TextTabInput = exports.InputBoxValidationSeverity = exports.SemanticTokensEdits = exports.SemanticTokensEdit = exports.SemanticTokens = exports.SemanticTokensBuilder = exports.SemanticTokensLegend = exports.TimelineItem = exports.DeclarationCoverage = exports.BranchCoverage = exports.StatementCoverage = exports.FileCoverage = exports.TestCoverageCount = void 0;
26
+ exports.TerminalExitReason = exports.TerminalProfile = exports.TerminalOutputAnchor = exports.TerminalLocation = exports.TerminalLink = exports.QuickInputButtons = exports.CommentThreadCollapsibleState = exports.CommentThreadState = exports.DocumentSymbol = exports.SymbolInformation = exports.SymbolTag = exports.TreeItemCheckboxState = exports.TreeItemCollapsibleState = exports.TreeItem = exports.DataTransfer = exports.DataTransferItem = exports.WorkspaceEdit = exports.CodeAction = exports.TextDocumentSaveReason = exports.CodeActionKind = exports.CodeActionTriggerKind = exports.CodeActionTrigger = exports.CodeLens = exports.DocumentDropEdit = exports.DocumentDropOrPasteEditKind = exports.DocumentLink = exports.MultiDocumentHighlight = exports.DocumentHighlight = exports.DocumentHighlightKind = exports.InlineValueEvaluatableExpression = exports.InlineValueVariableLookup = exports.InlineValueText = exports.InlineValueContext = exports.EvaluatableExpression = exports.Hover = exports.SignatureHelp = exports.SignatureHelpTriggerKind = exports.SignatureInformation = exports.ParameterInformation = exports.NotebookRendererScript = exports.NotebookEdit = exports.SnippetTextEdit = exports.NotebookRange = exports.NotebookData = exports.NotebookCellStatusBarItem = exports.NotebookCellOutputItem = exports.NotebookCellOutput = exports.NotebookCellData = exports.NotebookKernelSourceAction = exports.NotebookCellExecutionState = void 0;
27
+ exports.TestRunRequest = exports.TestTag = exports.TestRunProfileKind = exports.TestResultState = exports.LinkedEditingRanges = exports.LanguageStatusSeverity = exports.TypeHierarchyItem = exports.CallHierarchyOutgoingCall = exports.CallHierarchyIncomingCall = exports.CallHierarchyItem = exports.UIKind = exports.WebviewPanelTargetArea = exports.OperatingSystem = exports.SelectionRange = exports.FoldingRangeKind = exports.FoldingRange = exports.InlayHintKind = exports.InlayHint = exports.InlayHintLabelPart = exports.ColorFormat = exports.ColorPresentation = exports.ColorInformation = exports.Color = exports.FunctionBreakpoint = exports.SourceBreakpoint = exports.Breakpoint = exports.LogLevel = exports.DebugAdapterInlineImplementation = exports.DebugAdapterNamedPipeServer = exports.DebugAdapterServer = exports.DebugAdapterExecutable = exports.Task2 = exports.Task = exports.TaskScope = exports.TaskGroup = exports.CustomExecution = exports.ShellExecution = exports.TaskRevealKind = exports.TaskPanelKind = exports.ShellQuoting = exports.QuickPickItemKind = exports.ProcessExecution = exports.ProgressLocation = exports.Progress = exports.ProgressOptions = exports.FileType = exports.FileSystemError = exports.FileChangeType = exports.CommentMode = exports.FileDecoration = void 0;
28
+ exports.TerminalQuickFixOpener = exports.TerminalQuickFixTerminalCommand = exports.EditSessionIdentityMatch = exports.DocumentPasteTriggerKind = exports.DocumentPasteEdit = exports.DocumentPasteEditKind = exports.InteractiveWindowInput = exports.TerminalEditorTabInput = exports.NotebookDiffEditorTabInput = exports.NotebookEditorTabInput = exports.TelemetryLogger = exports.TelemetryTrustedValue = exports.WebviewEditorTabInput = exports.CustomEditorTabInput = exports.TextMergeTabInput = exports.TextDiffTabInput = exports.TextTabInput = exports.InputBoxValidationSeverity = exports.SemanticTokensEdits = exports.SemanticTokensEdit = exports.SemanticTokens = exports.SemanticTokensBuilder = exports.SemanticTokensLegend = exports.TimelineItem = exports.DeclarationCoverage = exports.BranchCoverage = exports.StatementCoverage = exports.FileCoverage = exports.TestCoverageCount = exports.TestMessage = void 0;
29
29
  const tslib_1 = require("tslib");
30
30
  /* eslint-disable no-null/no-null */
31
31
  const coreutils_1 = require("@theia/core/shared/@phosphor/coreutils");
@@ -85,15 +85,12 @@ let URI = URI_1 = class URI extends vscode_uri_1.URI {
85
85
  return vscode_uri_1.URI.from(this).toJSON();
86
86
  }
87
87
  };
88
- URI = URI_1 = (0, tslib_1.__decorate)([
88
+ exports.URI = URI;
89
+ exports.URI = URI = URI_1 = tslib_1.__decorate([
89
90
  types_1.es5ClassCompat,
90
- (0, tslib_1.__metadata)("design:paramtypes", [Object, String, String, String, String, Boolean])
91
+ tslib_1.__metadata("design:paramtypes", [Object, String, String, String, String, Boolean])
91
92
  ], URI);
92
- exports.URI = URI;
93
93
  let Disposable = Disposable_1 = class Disposable {
94
- constructor(func) {
95
- this.disposable = func;
96
- }
97
94
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
98
95
  static from(...disposables) {
99
96
  return new Disposable_1(() => {
@@ -106,6 +103,9 @@ let Disposable = Disposable_1 = class Disposable {
106
103
  }
107
104
  });
108
105
  }
106
+ constructor(func) {
107
+ this.disposable = func;
108
+ }
109
109
  /**
110
110
  * Dispose this object.
111
111
  */
@@ -119,23 +119,23 @@ let Disposable = Disposable_1 = class Disposable {
119
119
  return new Disposable_1(func);
120
120
  }
121
121
  };
122
- Disposable = Disposable_1 = (0, tslib_1.__decorate)([
122
+ exports.Disposable = Disposable;
123
+ exports.Disposable = Disposable = Disposable_1 = tslib_1.__decorate([
123
124
  types_1.es5ClassCompat,
124
- (0, tslib_1.__metadata)("design:paramtypes", [Function])
125
+ tslib_1.__metadata("design:paramtypes", [Function])
125
126
  ], Disposable);
126
- exports.Disposable = Disposable;
127
127
  var StatusBarAlignment;
128
128
  (function (StatusBarAlignment) {
129
129
  StatusBarAlignment[StatusBarAlignment["Left"] = 1] = "Left";
130
130
  StatusBarAlignment[StatusBarAlignment["Right"] = 2] = "Right";
131
- })(StatusBarAlignment = exports.StatusBarAlignment || (exports.StatusBarAlignment = {}));
131
+ })(StatusBarAlignment || (exports.StatusBarAlignment = StatusBarAlignment = {}));
132
132
  var TextEditorLineNumbersStyle;
133
133
  (function (TextEditorLineNumbersStyle) {
134
134
  TextEditorLineNumbersStyle[TextEditorLineNumbersStyle["Off"] = 0] = "Off";
135
135
  TextEditorLineNumbersStyle[TextEditorLineNumbersStyle["On"] = 1] = "On";
136
136
  TextEditorLineNumbersStyle[TextEditorLineNumbersStyle["Relative"] = 2] = "Relative";
137
137
  TextEditorLineNumbersStyle[TextEditorLineNumbersStyle["Interval"] = 3] = "Interval";
138
- })(TextEditorLineNumbersStyle = exports.TextEditorLineNumbersStyle || (exports.TextEditorLineNumbersStyle = {}));
138
+ })(TextEditorLineNumbersStyle || (exports.TextEditorLineNumbersStyle = TextEditorLineNumbersStyle = {}));
139
139
  /**
140
140
  * Denotes a column in the editor window.
141
141
  * Columns are used to show editors side by side.
@@ -153,7 +153,7 @@ var ViewColumn;
153
153
  ViewColumn[ViewColumn["Seven"] = 7] = "Seven";
154
154
  ViewColumn[ViewColumn["Eight"] = 8] = "Eight";
155
155
  ViewColumn[ViewColumn["Nine"] = 9] = "Nine";
156
- })(ViewColumn = exports.ViewColumn || (exports.ViewColumn = {}));
156
+ })(ViewColumn || (exports.ViewColumn = ViewColumn = {}));
157
157
  /**
158
158
  * Represents a color theme kind.
159
159
  */
@@ -163,7 +163,7 @@ var ColorThemeKind;
163
163
  ColorThemeKind[ColorThemeKind["Dark"] = 2] = "Dark";
164
164
  ColorThemeKind[ColorThemeKind["HighContrast"] = 3] = "HighContrast";
165
165
  ColorThemeKind[ColorThemeKind["HighContrastLight"] = 4] = "HighContrastLight";
166
- })(ColorThemeKind = exports.ColorThemeKind || (exports.ColorThemeKind = {}));
166
+ })(ColorThemeKind || (exports.ColorThemeKind = ColorThemeKind = {}));
167
167
  var ExtensionMode;
168
168
  (function (ExtensionMode) {
169
169
  /**
@@ -181,12 +181,12 @@ var ExtensionMode;
181
181
  * the extension host is running unit tests.
182
182
  */
183
183
  ExtensionMode[ExtensionMode["Test"] = 3] = "Test";
184
- })(ExtensionMode = exports.ExtensionMode || (exports.ExtensionMode = {}));
184
+ })(ExtensionMode || (exports.ExtensionMode = ExtensionMode = {}));
185
185
  var ExtensionKind;
186
186
  (function (ExtensionKind) {
187
187
  ExtensionKind[ExtensionKind["UI"] = 1] = "UI";
188
188
  ExtensionKind[ExtensionKind["Workspace"] = 2] = "Workspace";
189
- })(ExtensionKind = exports.ExtensionKind || (exports.ExtensionKind = {}));
189
+ })(ExtensionKind || (exports.ExtensionKind = ExtensionKind = {}));
190
190
  /**
191
191
  * Represents the validation type of the Source Control input.
192
192
  */
@@ -204,24 +204,24 @@ var SourceControlInputBoxValidationType;
204
204
  * Something to inform about but not a problem.
205
205
  */
206
206
  SourceControlInputBoxValidationType[SourceControlInputBoxValidationType["Information"] = 2] = "Information";
207
- })(SourceControlInputBoxValidationType = exports.SourceControlInputBoxValidationType || (exports.SourceControlInputBoxValidationType = {}));
207
+ })(SourceControlInputBoxValidationType || (exports.SourceControlInputBoxValidationType = SourceControlInputBoxValidationType = {}));
208
208
  var ExternalUriOpenerPriority;
209
209
  (function (ExternalUriOpenerPriority) {
210
210
  ExternalUriOpenerPriority[ExternalUriOpenerPriority["None"] = 0] = "None";
211
211
  ExternalUriOpenerPriority[ExternalUriOpenerPriority["Option"] = 1] = "Option";
212
212
  ExternalUriOpenerPriority[ExternalUriOpenerPriority["Default"] = 2] = "Default";
213
213
  ExternalUriOpenerPriority[ExternalUriOpenerPriority["Preferred"] = 3] = "Preferred";
214
- })(ExternalUriOpenerPriority = exports.ExternalUriOpenerPriority || (exports.ExternalUriOpenerPriority = {}));
214
+ })(ExternalUriOpenerPriority || (exports.ExternalUriOpenerPriority = ExternalUriOpenerPriority = {}));
215
215
  let ColorTheme = class ColorTheme {
216
216
  constructor(kind) {
217
217
  this.kind = kind;
218
218
  }
219
219
  };
220
- ColorTheme = (0, tslib_1.__decorate)([
220
+ exports.ColorTheme = ColorTheme;
221
+ exports.ColorTheme = ColorTheme = tslib_1.__decorate([
221
222
  types_1.es5ClassCompat,
222
- (0, tslib_1.__metadata)("design:paramtypes", [Number])
223
+ tslib_1.__metadata("design:paramtypes", [Number])
223
224
  ], ColorTheme);
224
- exports.ColorTheme = ColorTheme;
225
225
  /**
226
226
  * Represents sources that can cause `window.onDidChangeEditorSelection`
227
227
  */
@@ -230,7 +230,7 @@ var TextEditorSelectionChangeKind;
230
230
  TextEditorSelectionChangeKind[TextEditorSelectionChangeKind["Keyboard"] = 1] = "Keyboard";
231
231
  TextEditorSelectionChangeKind[TextEditorSelectionChangeKind["Mouse"] = 2] = "Mouse";
232
232
  TextEditorSelectionChangeKind[TextEditorSelectionChangeKind["Command"] = 3] = "Command";
233
- })(TextEditorSelectionChangeKind = exports.TextEditorSelectionChangeKind || (exports.TextEditorSelectionChangeKind = {}));
233
+ })(TextEditorSelectionChangeKind || (exports.TextEditorSelectionChangeKind = TextEditorSelectionChangeKind = {}));
234
234
  (function (TextEditorSelectionChangeKind) {
235
235
  function fromValue(s) {
236
236
  switch (s) {
@@ -241,12 +241,12 @@ var TextEditorSelectionChangeKind;
241
241
  return undefined;
242
242
  }
243
243
  TextEditorSelectionChangeKind.fromValue = fromValue;
244
- })(TextEditorSelectionChangeKind = exports.TextEditorSelectionChangeKind || (exports.TextEditorSelectionChangeKind = {}));
244
+ })(TextEditorSelectionChangeKind || (exports.TextEditorSelectionChangeKind = TextEditorSelectionChangeKind = {}));
245
245
  var TextDocumentChangeReason;
246
246
  (function (TextDocumentChangeReason) {
247
247
  TextDocumentChangeReason[TextDocumentChangeReason["Undo"] = 1] = "Undo";
248
248
  TextDocumentChangeReason[TextDocumentChangeReason["Redo"] = 2] = "Redo";
249
- })(TextDocumentChangeReason = exports.TextDocumentChangeReason || (exports.TextDocumentChangeReason = {}));
249
+ })(TextDocumentChangeReason || (exports.TextDocumentChangeReason = TextDocumentChangeReason = {}));
250
250
  let Position = Position_1 = class Position {
251
251
  constructor(line, char) {
252
252
  if (line < 0) {
@@ -390,11 +390,11 @@ let Position = Position_1 = class Position {
390
390
  return { line: this.line, character: this.character };
391
391
  }
392
392
  };
393
- Position = Position_1 = (0, tslib_1.__decorate)([
393
+ exports.Position = Position;
394
+ exports.Position = Position = Position_1 = tslib_1.__decorate([
394
395
  types_1.es5ClassCompat,
395
- (0, tslib_1.__metadata)("design:paramtypes", [Number, Number])
396
+ tslib_1.__metadata("design:paramtypes", [Number, Number])
396
397
  ], Position);
397
- exports.Position = Position;
398
398
  let Range = Range_1 = class Range {
399
399
  constructor(startLineOrStart, startColumnOrEnd, endLine, endColumn) {
400
400
  let start = undefined;
@@ -504,11 +504,11 @@ let Range = Range_1 = class Range {
504
504
  return [this.start, this.end];
505
505
  }
506
506
  };
507
- Range = Range_1 = (0, tslib_1.__decorate)([
507
+ exports.Range = Range;
508
+ exports.Range = Range = Range_1 = tslib_1.__decorate([
508
509
  types_1.es5ClassCompat,
509
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Object, Number, Number])
510
+ tslib_1.__metadata("design:paramtypes", [Object, Object, Number, Number])
510
511
  ], Range);
511
- exports.Range = Range;
512
512
  let Selection = class Selection extends Range {
513
513
  constructor(anchorLineOrAnchor, anchorColumnOrActive, activeLine, activeColumn) {
514
514
  let anchor = undefined;
@@ -538,11 +538,11 @@ let Selection = class Selection extends Range {
538
538
  return this._anchor === this._end;
539
539
  }
540
540
  };
541
- Selection = (0, tslib_1.__decorate)([
541
+ exports.Selection = Selection;
542
+ exports.Selection = Selection = tslib_1.__decorate([
542
543
  types_1.es5ClassCompat,
543
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Object, Number, Number])
544
+ tslib_1.__metadata("design:paramtypes", [Object, Object, Number, Number])
544
545
  ], Selection);
545
- exports.Selection = Selection;
546
546
  var TextDocumentShowOptions;
547
547
  (function (TextDocumentShowOptions) {
548
548
  /**
@@ -559,23 +559,19 @@ var TextDocumentShowOptions;
559
559
  return Range.isRange(options.selection);
560
560
  }
561
561
  TextDocumentShowOptions.isTextDocumentShowOptions = isTextDocumentShowOptions;
562
- })(TextDocumentShowOptions = exports.TextDocumentShowOptions || (exports.TextDocumentShowOptions = {}));
562
+ })(TextDocumentShowOptions || (exports.TextDocumentShowOptions = TextDocumentShowOptions = {}));
563
563
  var EndOfLine;
564
564
  (function (EndOfLine) {
565
565
  EndOfLine[EndOfLine["LF"] = 1] = "LF";
566
566
  EndOfLine[EndOfLine["CRLF"] = 2] = "CRLF";
567
- })(EndOfLine = exports.EndOfLine || (exports.EndOfLine = {}));
567
+ })(EndOfLine || (exports.EndOfLine = EndOfLine = {}));
568
568
  var EnvironmentVariableMutatorType;
569
569
  (function (EnvironmentVariableMutatorType) {
570
570
  EnvironmentVariableMutatorType[EnvironmentVariableMutatorType["Replace"] = 1] = "Replace";
571
571
  EnvironmentVariableMutatorType[EnvironmentVariableMutatorType["Append"] = 2] = "Append";
572
572
  EnvironmentVariableMutatorType[EnvironmentVariableMutatorType["Prepend"] = 3] = "Prepend";
573
- })(EnvironmentVariableMutatorType = exports.EnvironmentVariableMutatorType || (exports.EnvironmentVariableMutatorType = {}));
573
+ })(EnvironmentVariableMutatorType || (exports.EnvironmentVariableMutatorType = EnvironmentVariableMutatorType = {}));
574
574
  let SnippetString = SnippetString_1 = class SnippetString {
575
- constructor(value) {
576
- this._tabstop = 1;
577
- this.value = value || '';
578
- }
579
575
  static isSnippetString(thing) {
580
576
  if (thing instanceof SnippetString_1) {
581
577
  return true;
@@ -588,6 +584,10 @@ let SnippetString = SnippetString_1 = class SnippetString {
588
584
  static _escape(value) {
589
585
  return value.replace(/\$|}|\\/g, '\\$&');
590
586
  }
587
+ constructor(value) {
588
+ this._tabstop = 1;
589
+ this.value = value || '';
590
+ }
591
591
  appendText(string) {
592
592
  this.value += SnippetString_1._escape(string);
593
593
  return this;
@@ -641,48 +641,47 @@ let SnippetString = SnippetString_1 = class SnippetString {
641
641
  return this;
642
642
  }
643
643
  };
644
- SnippetString = SnippetString_1 = (0, tslib_1.__decorate)([
644
+ exports.SnippetString = SnippetString;
645
+ exports.SnippetString = SnippetString = SnippetString_1 = tslib_1.__decorate([
645
646
  types_1.es5ClassCompat,
646
- (0, tslib_1.__metadata)("design:paramtypes", [String])
647
+ tslib_1.__metadata("design:paramtypes", [String])
647
648
  ], SnippetString);
648
- exports.SnippetString = SnippetString;
649
649
  let ThemeColor = class ThemeColor {
650
650
  constructor(id) {
651
651
  this.id = id;
652
652
  }
653
653
  };
654
- ThemeColor = (0, tslib_1.__decorate)([
654
+ exports.ThemeColor = ThemeColor;
655
+ exports.ThemeColor = ThemeColor = tslib_1.__decorate([
655
656
  types_1.es5ClassCompat,
656
- (0, tslib_1.__metadata)("design:paramtypes", [String])
657
+ tslib_1.__metadata("design:paramtypes", [String])
657
658
  ], ThemeColor);
658
- exports.ThemeColor = ThemeColor;
659
659
  let ThemeIcon = ThemeIcon_1 = class ThemeIcon {
660
660
  constructor(id, color) {
661
661
  this.id = id;
662
662
  this.color = color;
663
663
  }
664
664
  };
665
+ exports.ThemeIcon = ThemeIcon;
665
666
  ThemeIcon.File = new ThemeIcon_1('file');
666
667
  ThemeIcon.Folder = new ThemeIcon_1('folder');
667
- ThemeIcon = ThemeIcon_1 = (0, tslib_1.__decorate)([
668
+ exports.ThemeIcon = ThemeIcon = ThemeIcon_1 = tslib_1.__decorate([
668
669
  types_1.es5ClassCompat,
669
- (0, tslib_1.__metadata)("design:paramtypes", [String, ThemeColor])
670
+ tslib_1.__metadata("design:paramtypes", [String, ThemeColor])
670
671
  ], ThemeIcon);
671
- exports.ThemeIcon = ThemeIcon;
672
672
  (function (ThemeIcon) {
673
673
  function is(item) {
674
674
  return (0, common_1.isObject)(item) && 'id' in item;
675
675
  }
676
676
  ThemeIcon.is = is;
677
- })(ThemeIcon = exports.ThemeIcon || (exports.ThemeIcon = {}));
678
- exports.ThemeIcon = ThemeIcon;
677
+ })(ThemeIcon || (exports.ThemeIcon = ThemeIcon = {}));
679
678
  var TextEditorRevealType;
680
679
  (function (TextEditorRevealType) {
681
680
  TextEditorRevealType[TextEditorRevealType["Default"] = 0] = "Default";
682
681
  TextEditorRevealType[TextEditorRevealType["InCenter"] = 1] = "InCenter";
683
682
  TextEditorRevealType[TextEditorRevealType["InCenterIfOutsideViewport"] = 2] = "InCenterIfOutsideViewport";
684
683
  TextEditorRevealType[TextEditorRevealType["AtTop"] = 3] = "AtTop";
685
- })(TextEditorRevealType = exports.TextEditorRevealType || (exports.TextEditorRevealType = {}));
684
+ })(TextEditorRevealType || (exports.TextEditorRevealType = TextEditorRevealType = {}));
686
685
  /**
687
686
  * These values match very carefully the values of `TrackedRangeStickiness`
688
687
  */
@@ -704,7 +703,7 @@ var DecorationRangeBehavior;
704
703
  * TrackedRangeStickiness.GrowsOnlyWhenTypingAfter
705
704
  */
706
705
  DecorationRangeBehavior[DecorationRangeBehavior["ClosedOpen"] = 3] = "ClosedOpen";
707
- })(DecorationRangeBehavior = exports.DecorationRangeBehavior || (exports.DecorationRangeBehavior = {}));
706
+ })(DecorationRangeBehavior || (exports.DecorationRangeBehavior = DecorationRangeBehavior = {}));
708
707
  /**
709
708
  * Vertical Lane in the overview ruler of the editor.
710
709
  */
@@ -714,7 +713,7 @@ var OverviewRulerLane;
714
713
  OverviewRulerLane[OverviewRulerLane["Center"] = 2] = "Center";
715
714
  OverviewRulerLane[OverviewRulerLane["Right"] = 4] = "Right";
716
715
  OverviewRulerLane[OverviewRulerLane["Full"] = 7] = "Full";
717
- })(OverviewRulerLane = exports.OverviewRulerLane || (exports.OverviewRulerLane = {}));
716
+ })(OverviewRulerLane || (exports.OverviewRulerLane = OverviewRulerLane = {}));
718
717
  var ConfigurationTarget;
719
718
  (function (ConfigurationTarget) {
720
719
  ConfigurationTarget[ConfigurationTarget["Global"] = 1] = "Global";
@@ -722,8 +721,22 @@ var ConfigurationTarget;
722
721
  ConfigurationTarget[ConfigurationTarget["WorkspaceFolder"] = 3] = "WorkspaceFolder";
723
722
  ConfigurationTarget[ConfigurationTarget["Default"] = 4] = "Default";
724
723
  ConfigurationTarget[ConfigurationTarget["Memory"] = 5] = "Memory";
725
- })(ConfigurationTarget = exports.ConfigurationTarget || (exports.ConfigurationTarget = {}));
724
+ })(ConfigurationTarget || (exports.ConfigurationTarget = ConfigurationTarget = {}));
726
725
  let RelativePattern = class RelativePattern {
726
+ get base() {
727
+ return this._base;
728
+ }
729
+ set base(base) {
730
+ this._base = base;
731
+ this._baseUri = URI.file(base);
732
+ }
733
+ get baseUri() {
734
+ return this._baseUri;
735
+ }
736
+ set baseUri(baseUri) {
737
+ this._baseUri = baseUri;
738
+ this.base = baseUri.fsPath;
739
+ }
727
740
  constructor(base, pattern) {
728
741
  this.pattern = pattern;
729
742
  if (typeof base !== 'string') {
@@ -744,36 +757,22 @@ let RelativePattern = class RelativePattern {
744
757
  this.baseUri = base.uri;
745
758
  }
746
759
  }
747
- get base() {
748
- return this._base;
749
- }
750
- set base(base) {
751
- this._base = base;
752
- this._baseUri = URI.file(base);
753
- }
754
- get baseUri() {
755
- return this._baseUri;
756
- }
757
- set baseUri(baseUri) {
758
- this._baseUri = baseUri;
759
- this.base = baseUri.fsPath;
760
- }
761
760
  pathToRelative(from, to) {
762
761
  return (0, paths_util_1.relative)(from, to);
763
762
  }
764
763
  };
765
- RelativePattern = (0, tslib_1.__decorate)([
764
+ exports.RelativePattern = RelativePattern;
765
+ exports.RelativePattern = RelativePattern = tslib_1.__decorate([
766
766
  types_1.es5ClassCompat,
767
- (0, tslib_1.__metadata)("design:paramtypes", [Object, String])
767
+ tslib_1.__metadata("design:paramtypes", [Object, String])
768
768
  ], RelativePattern);
769
- exports.RelativePattern = RelativePattern;
770
769
  var IndentAction;
771
770
  (function (IndentAction) {
772
771
  IndentAction[IndentAction["None"] = 0] = "None";
773
772
  IndentAction[IndentAction["Indent"] = 1] = "Indent";
774
773
  IndentAction[IndentAction["IndentOutdent"] = 2] = "IndentOutdent";
775
774
  IndentAction[IndentAction["Outdent"] = 3] = "Outdent";
776
- })(IndentAction = exports.IndentAction || (exports.IndentAction = {}));
775
+ })(IndentAction || (exports.IndentAction = IndentAction = {}));
777
776
  var SyntaxTokenType;
778
777
  (function (SyntaxTokenType) {
779
778
  function toString(v) {
@@ -786,7 +785,7 @@ var SyntaxTokenType;
786
785
  return 'other';
787
786
  }
788
787
  SyntaxTokenType.toString = toString;
789
- })(SyntaxTokenType = exports.SyntaxTokenType || (exports.SyntaxTokenType = {}));
788
+ })(SyntaxTokenType || (exports.SyntaxTokenType = SyntaxTokenType = {}));
790
789
  (function (SyntaxTokenType) {
791
790
  /**
792
791
  * Everything except tokens that are part of comments, string literals and regular expressions.
@@ -804,12 +803,8 @@ var SyntaxTokenType;
804
803
  * A regular expression.
805
804
  */
806
805
  SyntaxTokenType[SyntaxTokenType["RegEx"] = 3] = "RegEx";
807
- })(SyntaxTokenType = exports.SyntaxTokenType || (exports.SyntaxTokenType = {}));
806
+ })(SyntaxTokenType || (exports.SyntaxTokenType = SyntaxTokenType = {}));
808
807
  let TextEdit = TextEdit_1 = class TextEdit {
809
- constructor(range, newText) {
810
- this.range = range;
811
- this.newText = newText;
812
- }
813
808
  get range() {
814
809
  return this._range;
815
810
  }
@@ -837,6 +832,10 @@ let TextEdit = TextEdit_1 = class TextEdit {
837
832
  }
838
833
  this._newEol = value;
839
834
  }
835
+ constructor(range, newText) {
836
+ this.range = range;
837
+ this.newText = newText;
838
+ }
840
839
  static isTextEdit(thing) {
841
840
  if (thing instanceof TextEdit_1) {
842
841
  return true;
@@ -862,17 +861,17 @@ let TextEdit = TextEdit_1 = class TextEdit {
862
861
  return ret;
863
862
  }
864
863
  };
865
- TextEdit = TextEdit_1 = (0, tslib_1.__decorate)([
864
+ exports.TextEdit = TextEdit;
865
+ exports.TextEdit = TextEdit = TextEdit_1 = tslib_1.__decorate([
866
866
  types_1.es5ClassCompat,
867
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Object])
867
+ tslib_1.__metadata("design:paramtypes", [Object, Object])
868
868
  ], TextEdit);
869
- exports.TextEdit = TextEdit;
870
869
  var CompletionTriggerKind;
871
870
  (function (CompletionTriggerKind) {
872
871
  CompletionTriggerKind[CompletionTriggerKind["Invoke"] = 0] = "Invoke";
873
872
  CompletionTriggerKind[CompletionTriggerKind["TriggerCharacter"] = 1] = "TriggerCharacter";
874
873
  CompletionTriggerKind[CompletionTriggerKind["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions";
875
- })(CompletionTriggerKind = exports.CompletionTriggerKind || (exports.CompletionTriggerKind = {}));
874
+ })(CompletionTriggerKind || (exports.CompletionTriggerKind = CompletionTriggerKind = {}));
876
875
  var CompletionItemKind;
877
876
  (function (CompletionItemKind) {
878
877
  CompletionItemKind[CompletionItemKind["Text"] = 0] = "Text";
@@ -902,34 +901,34 @@ var CompletionItemKind;
902
901
  CompletionItemKind[CompletionItemKind["TypeParameter"] = 24] = "TypeParameter";
903
902
  CompletionItemKind[CompletionItemKind["User"] = 25] = "User";
904
903
  CompletionItemKind[CompletionItemKind["Issue"] = 26] = "Issue";
905
- })(CompletionItemKind = exports.CompletionItemKind || (exports.CompletionItemKind = {}));
904
+ })(CompletionItemKind || (exports.CompletionItemKind = CompletionItemKind = {}));
906
905
  let CompletionItem = class CompletionItem {
907
906
  constructor(label, kind) {
908
907
  this.label = label;
909
908
  this.kind = kind;
910
909
  }
911
910
  };
912
- CompletionItem = (0, tslib_1.__decorate)([
911
+ exports.CompletionItem = CompletionItem;
912
+ exports.CompletionItem = CompletionItem = tslib_1.__decorate([
913
913
  types_1.es5ClassCompat,
914
- (0, tslib_1.__metadata)("design:paramtypes", [String, Number])
914
+ tslib_1.__metadata("design:paramtypes", [String, Number])
915
915
  ], CompletionItem);
916
- exports.CompletionItem = CompletionItem;
917
916
  let CompletionList = class CompletionList {
918
917
  constructor(items = [], isIncomplete = false) {
919
918
  this.items = items;
920
919
  this.isIncomplete = isIncomplete;
921
920
  }
922
921
  };
923
- CompletionList = (0, tslib_1.__decorate)([
922
+ exports.CompletionList = CompletionList;
923
+ exports.CompletionList = CompletionList = tslib_1.__decorate([
924
924
  types_1.es5ClassCompat,
925
- (0, tslib_1.__metadata)("design:paramtypes", [Array, Boolean])
925
+ tslib_1.__metadata("design:paramtypes", [Array, Boolean])
926
926
  ], CompletionList);
927
- exports.CompletionList = CompletionList;
928
927
  var InlineCompletionTriggerKind;
929
928
  (function (InlineCompletionTriggerKind) {
930
929
  InlineCompletionTriggerKind[InlineCompletionTriggerKind["Invoke"] = 0] = "Invoke";
931
930
  InlineCompletionTriggerKind[InlineCompletionTriggerKind["Automatic"] = 1] = "Automatic";
932
- })(InlineCompletionTriggerKind = exports.InlineCompletionTriggerKind || (exports.InlineCompletionTriggerKind = {}));
931
+ })(InlineCompletionTriggerKind || (exports.InlineCompletionTriggerKind = InlineCompletionTriggerKind = {}));
933
932
  let InlineCompletionItem = class InlineCompletionItem {
934
933
  constructor(insertText, range, command) {
935
934
  this.insertText = insertText;
@@ -937,34 +936,34 @@ let InlineCompletionItem = class InlineCompletionItem {
937
936
  this.command = command;
938
937
  }
939
938
  };
940
- InlineCompletionItem = (0, tslib_1.__decorate)([
939
+ exports.InlineCompletionItem = InlineCompletionItem;
940
+ exports.InlineCompletionItem = InlineCompletionItem = tslib_1.__decorate([
941
941
  types_1.es5ClassCompat,
942
- (0, tslib_1.__metadata)("design:paramtypes", [String, Range, Object])
942
+ tslib_1.__metadata("design:paramtypes", [String, Range, Object])
943
943
  ], InlineCompletionItem);
944
- exports.InlineCompletionItem = InlineCompletionItem;
945
944
  let InlineCompletionList = class InlineCompletionList {
946
945
  constructor(items) {
947
946
  this.commands = undefined;
948
947
  this.items = items;
949
948
  }
950
949
  };
951
- InlineCompletionList = (0, tslib_1.__decorate)([
950
+ exports.InlineCompletionList = InlineCompletionList;
951
+ exports.InlineCompletionList = InlineCompletionList = tslib_1.__decorate([
952
952
  types_1.es5ClassCompat,
953
- (0, tslib_1.__metadata)("design:paramtypes", [Array])
953
+ tslib_1.__metadata("design:paramtypes", [Array])
954
954
  ], InlineCompletionList);
955
- exports.InlineCompletionList = InlineCompletionList;
956
955
  var DiagnosticSeverity;
957
956
  (function (DiagnosticSeverity) {
958
957
  DiagnosticSeverity[DiagnosticSeverity["Error"] = 0] = "Error";
959
958
  DiagnosticSeverity[DiagnosticSeverity["Warning"] = 1] = "Warning";
960
959
  DiagnosticSeverity[DiagnosticSeverity["Information"] = 2] = "Information";
961
960
  DiagnosticSeverity[DiagnosticSeverity["Hint"] = 3] = "Hint";
962
- })(DiagnosticSeverity = exports.DiagnosticSeverity || (exports.DiagnosticSeverity = {}));
961
+ })(DiagnosticSeverity || (exports.DiagnosticSeverity = DiagnosticSeverity = {}));
963
962
  var DebugConsoleMode;
964
963
  (function (DebugConsoleMode) {
965
964
  DebugConsoleMode[DebugConsoleMode["Separate"] = 0] = "Separate";
966
965
  DebugConsoleMode[DebugConsoleMode["MergeWithParent"] = 1] = "MergeWithParent";
967
- })(DebugConsoleMode = exports.DebugConsoleMode || (exports.DebugConsoleMode = {}));
966
+ })(DebugConsoleMode || (exports.DebugConsoleMode = DebugConsoleMode = {}));
968
967
  let Location = Location_1 = class Location {
969
968
  constructor(uri, rangeOrPosition) {
970
969
  this.uri = uri;
@@ -986,31 +985,31 @@ let Location = Location_1 = class Location {
986
985
  && URI.isUri(thing.uri);
987
986
  }
988
987
  };
989
- Location = Location_1 = (0, tslib_1.__decorate)([
988
+ exports.Location = Location;
989
+ exports.Location = Location = Location_1 = tslib_1.__decorate([
990
990
  types_1.es5ClassCompat,
991
- (0, tslib_1.__metadata)("design:paramtypes", [URI, Object])
991
+ tslib_1.__metadata("design:paramtypes", [URI, Object])
992
992
  ], Location);
993
- exports.Location = Location;
994
993
  let DiagnosticRelatedInformation = class DiagnosticRelatedInformation {
995
994
  constructor(location, message) {
996
995
  this.location = location;
997
996
  this.message = message;
998
997
  }
999
998
  };
1000
- DiagnosticRelatedInformation = (0, tslib_1.__decorate)([
999
+ exports.DiagnosticRelatedInformation = DiagnosticRelatedInformation;
1000
+ exports.DiagnosticRelatedInformation = DiagnosticRelatedInformation = tslib_1.__decorate([
1001
1001
  types_1.es5ClassCompat,
1002
- (0, tslib_1.__metadata)("design:paramtypes", [Location, String])
1002
+ tslib_1.__metadata("design:paramtypes", [Location, String])
1003
1003
  ], DiagnosticRelatedInformation);
1004
- exports.DiagnosticRelatedInformation = DiagnosticRelatedInformation;
1005
1004
  var DiagnosticTag;
1006
1005
  (function (DiagnosticTag) {
1007
1006
  DiagnosticTag[DiagnosticTag["Unnecessary"] = 1] = "Unnecessary";
1008
1007
  DiagnosticTag[DiagnosticTag["Deprecated"] = 2] = "Deprecated";
1009
- })(DiagnosticTag = exports.DiagnosticTag || (exports.DiagnosticTag = {}));
1008
+ })(DiagnosticTag || (exports.DiagnosticTag = DiagnosticTag = {}));
1010
1009
  var CompletionItemTag;
1011
1010
  (function (CompletionItemTag) {
1012
1011
  CompletionItemTag[CompletionItemTag["Deprecated"] = 1] = "Deprecated";
1013
- })(CompletionItemTag = exports.CompletionItemTag || (exports.CompletionItemTag = {}));
1012
+ })(CompletionItemTag || (exports.CompletionItemTag = CompletionItemTag = {}));
1014
1013
  let Diagnostic = class Diagnostic {
1015
1014
  constructor(range, message, severity = DiagnosticSeverity.Error) {
1016
1015
  this.range = range;
@@ -1018,45 +1017,45 @@ let Diagnostic = class Diagnostic {
1018
1017
  this.severity = severity;
1019
1018
  }
1020
1019
  };
1021
- Diagnostic = (0, tslib_1.__decorate)([
1020
+ exports.Diagnostic = Diagnostic;
1021
+ exports.Diagnostic = Diagnostic = tslib_1.__decorate([
1022
1022
  types_1.es5ClassCompat,
1023
- (0, tslib_1.__metadata)("design:paramtypes", [Range, String, Number])
1023
+ tslib_1.__metadata("design:paramtypes", [Range, String, Number])
1024
1024
  ], Diagnostic);
1025
- exports.Diagnostic = Diagnostic;
1026
1025
  var MarkerSeverity;
1027
1026
  (function (MarkerSeverity) {
1028
1027
  MarkerSeverity[MarkerSeverity["Hint"] = 1] = "Hint";
1029
1028
  MarkerSeverity[MarkerSeverity["Info"] = 2] = "Info";
1030
1029
  MarkerSeverity[MarkerSeverity["Warning"] = 4] = "Warning";
1031
1030
  MarkerSeverity[MarkerSeverity["Error"] = 8] = "Error";
1032
- })(MarkerSeverity = exports.MarkerSeverity || (exports.MarkerSeverity = {}));
1031
+ })(MarkerSeverity || (exports.MarkerSeverity = MarkerSeverity = {}));
1033
1032
  var MarkerTag;
1034
1033
  (function (MarkerTag) {
1035
1034
  MarkerTag[MarkerTag["Unnecessary"] = 1] = "Unnecessary";
1036
1035
  MarkerTag[MarkerTag["Deprecated"] = 2] = "Deprecated";
1037
- })(MarkerTag = exports.MarkerTag || (exports.MarkerTag = {}));
1036
+ })(MarkerTag || (exports.MarkerTag = MarkerTag = {}));
1038
1037
  var NotebookCellKind;
1039
1038
  (function (NotebookCellKind) {
1040
1039
  NotebookCellKind[NotebookCellKind["Markup"] = 1] = "Markup";
1041
1040
  NotebookCellKind[NotebookCellKind["Code"] = 2] = "Code";
1042
- })(NotebookCellKind = exports.NotebookCellKind || (exports.NotebookCellKind = {}));
1041
+ })(NotebookCellKind || (exports.NotebookCellKind = NotebookCellKind = {}));
1043
1042
  var NotebookCellStatusBarAlignment;
1044
1043
  (function (NotebookCellStatusBarAlignment) {
1045
1044
  NotebookCellStatusBarAlignment[NotebookCellStatusBarAlignment["Left"] = 1] = "Left";
1046
1045
  NotebookCellStatusBarAlignment[NotebookCellStatusBarAlignment["Right"] = 2] = "Right";
1047
- })(NotebookCellStatusBarAlignment = exports.NotebookCellStatusBarAlignment || (exports.NotebookCellStatusBarAlignment = {}));
1046
+ })(NotebookCellStatusBarAlignment || (exports.NotebookCellStatusBarAlignment = NotebookCellStatusBarAlignment = {}));
1048
1047
  var NotebookControllerAffinity;
1049
1048
  (function (NotebookControllerAffinity) {
1050
1049
  NotebookControllerAffinity[NotebookControllerAffinity["Default"] = 1] = "Default";
1051
1050
  NotebookControllerAffinity[NotebookControllerAffinity["Preferred"] = 2] = "Preferred";
1052
- })(NotebookControllerAffinity = exports.NotebookControllerAffinity || (exports.NotebookControllerAffinity = {}));
1051
+ })(NotebookControllerAffinity || (exports.NotebookControllerAffinity = NotebookControllerAffinity = {}));
1053
1052
  var NotebookEditorRevealType;
1054
1053
  (function (NotebookEditorRevealType) {
1055
1054
  NotebookEditorRevealType[NotebookEditorRevealType["Default"] = 0] = "Default";
1056
1055
  NotebookEditorRevealType[NotebookEditorRevealType["InCenter"] = 1] = "InCenter";
1057
1056
  NotebookEditorRevealType[NotebookEditorRevealType["InCenterIfOutsideViewport"] = 2] = "InCenterIfOutsideViewport";
1058
1057
  NotebookEditorRevealType[NotebookEditorRevealType["AtTop"] = 3] = "AtTop";
1059
- })(NotebookEditorRevealType = exports.NotebookEditorRevealType || (exports.NotebookEditorRevealType = {}));
1058
+ })(NotebookEditorRevealType || (exports.NotebookEditorRevealType = NotebookEditorRevealType = {}));
1060
1059
  var NotebookCellExecutionState;
1061
1060
  (function (NotebookCellExecutionState) {
1062
1061
  /**
@@ -1071,7 +1070,7 @@ var NotebookCellExecutionState;
1071
1070
  * The cell is currently executing.
1072
1071
  */
1073
1072
  NotebookCellExecutionState[NotebookCellExecutionState["Executing"] = 3] = "Executing";
1074
- })(NotebookCellExecutionState = exports.NotebookCellExecutionState || (exports.NotebookCellExecutionState = {}));
1073
+ })(NotebookCellExecutionState || (exports.NotebookCellExecutionState = NotebookCellExecutionState = {}));
1075
1074
  class NotebookKernelSourceAction {
1076
1075
  constructor(label) {
1077
1076
  this.label = label;
@@ -1088,11 +1087,11 @@ let NotebookCellData = class NotebookCellData {
1088
1087
  this.executionSummary = executionSummary;
1089
1088
  }
1090
1089
  };
1091
- NotebookCellData = (0, tslib_1.__decorate)([
1090
+ exports.NotebookCellData = NotebookCellData;
1091
+ exports.NotebookCellData = NotebookCellData = tslib_1.__decorate([
1092
1092
  types_1.es5ClassCompat,
1093
- (0, tslib_1.__metadata)("design:paramtypes", [Number, String, String, Array, Object, Object])
1093
+ tslib_1.__metadata("design:paramtypes", [Number, String, String, Array, Object, Object])
1094
1094
  ], NotebookCellData);
1095
- exports.NotebookCellData = NotebookCellData;
1096
1095
  let NotebookCellOutput = class NotebookCellOutput {
1097
1096
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1098
1097
  constructor(items, idOrMetadata, metadata) {
@@ -1107,33 +1106,33 @@ let NotebookCellOutput = class NotebookCellOutput {
1107
1106
  }
1108
1107
  }
1109
1108
  };
1110
- NotebookCellOutput = (0, tslib_1.__decorate)([
1109
+ exports.NotebookCellOutput = NotebookCellOutput;
1110
+ exports.NotebookCellOutput = NotebookCellOutput = tslib_1.__decorate([
1111
1111
  types_1.es5ClassCompat,
1112
- (0, tslib_1.__metadata)("design:paramtypes", [Array, Object, Object])
1112
+ tslib_1.__metadata("design:paramtypes", [Array, Object, Object])
1113
1113
  ], NotebookCellOutput);
1114
- exports.NotebookCellOutput = NotebookCellOutput;
1115
1114
  class NotebookCellOutputItem {
1116
- constructor(data, mime) {
1117
- this.data = data;
1118
- this.mime = mime;
1119
- }
1120
1115
  static text(value, mime) {
1121
- const bytes = (0, tslib_1.__classPrivateFieldGet)(NotebookCellOutputItem, _a, "f", _NotebookCellOutputItem_encoder).encode(String(value));
1122
- return new NotebookCellOutputItem(bytes, mime || 'text/plain');
1116
+ const bytes = tslib_1.__classPrivateFieldGet(_a, _a, "f", _NotebookCellOutputItem_encoder).encode(String(value));
1117
+ return new _a(bytes, mime || 'text/plain');
1123
1118
  }
1124
1119
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1125
1120
  static json(value, mime) {
1126
1121
  const jsonStr = JSON.stringify(value, undefined, '\t');
1127
- return NotebookCellOutputItem.text(jsonStr, mime);
1122
+ return _a.text(jsonStr, mime);
1128
1123
  }
1129
1124
  static stdout(value) {
1130
- return NotebookCellOutputItem.text(value, 'application/vnd.code.notebook.stdout');
1125
+ return _a.text(value, 'application/vnd.code.notebook.stdout');
1131
1126
  }
1132
1127
  static stderr(value) {
1133
- return NotebookCellOutputItem.text(value, 'application/vnd.code.notebook.stderr');
1128
+ return _a.text(value, 'application/vnd.code.notebook.stderr');
1134
1129
  }
1135
1130
  static error(value) {
1136
- return NotebookCellOutputItem.json(value, 'application/vnd.code.notebook.error');
1131
+ return _a.json(value, 'application/vnd.code.notebook.error');
1132
+ }
1133
+ constructor(data, mime) {
1134
+ this.data = data;
1135
+ this.mime = mime;
1137
1136
  }
1138
1137
  }
1139
1138
  exports.NotebookCellOutputItem = NotebookCellOutputItem;
@@ -1151,26 +1150,22 @@ let NotebookCellStatusBarItem = class NotebookCellStatusBarItem {
1151
1150
  this.alignment = alignment;
1152
1151
  }
1153
1152
  };
1154
- NotebookCellStatusBarItem = (0, tslib_1.__decorate)([
1153
+ exports.NotebookCellStatusBarItem = NotebookCellStatusBarItem;
1154
+ exports.NotebookCellStatusBarItem = NotebookCellStatusBarItem = tslib_1.__decorate([
1155
1155
  types_1.es5ClassCompat,
1156
- (0, tslib_1.__metadata)("design:paramtypes", [String, Number])
1156
+ tslib_1.__metadata("design:paramtypes", [String, Number])
1157
1157
  ], NotebookCellStatusBarItem);
1158
- exports.NotebookCellStatusBarItem = NotebookCellStatusBarItem;
1159
1158
  let NotebookData = class NotebookData {
1160
1159
  constructor(cells) {
1161
1160
  this.cells = cells;
1162
1161
  }
1163
1162
  };
1164
- NotebookData = (0, tslib_1.__decorate)([
1163
+ exports.NotebookData = NotebookData;
1164
+ exports.NotebookData = NotebookData = tslib_1.__decorate([
1165
1165
  types_1.es5ClassCompat,
1166
- (0, tslib_1.__metadata)("design:paramtypes", [Array])
1166
+ tslib_1.__metadata("design:paramtypes", [Array])
1167
1167
  ], NotebookData);
1168
- exports.NotebookData = NotebookData;
1169
1168
  class NotebookRange {
1170
- constructor(start, end) {
1171
- this.start = start;
1172
- this.end = end;
1173
- }
1174
1169
  static isNotebookRange(thing) {
1175
1170
  if (thing instanceof NotebookRange) {
1176
1171
  return true;
@@ -1195,13 +1190,13 @@ class NotebookRange {
1195
1190
  }
1196
1191
  return new NotebookRange(newStart, newEnd);
1197
1192
  }
1193
+ constructor(start, end) {
1194
+ this.start = start;
1195
+ this.end = end;
1196
+ }
1198
1197
  }
1199
1198
  exports.NotebookRange = NotebookRange;
1200
1199
  class SnippetTextEdit {
1201
- constructor(range, snippet) {
1202
- this.range = range;
1203
- this.snippet = snippet;
1204
- }
1205
1200
  static isSnippetTextEdit(thing) {
1206
1201
  return thing instanceof SnippetTextEdit || (0, common_1.isObject)(thing)
1207
1202
  && Range.isRange(thing.range)
@@ -1213,15 +1208,13 @@ class SnippetTextEdit {
1213
1208
  static insert(position, snippet) {
1214
1209
  return SnippetTextEdit.replace(new Range(position, position), snippet);
1215
1210
  }
1211
+ constructor(range, snippet) {
1212
+ this.range = range;
1213
+ this.snippet = snippet;
1214
+ }
1216
1215
  }
1217
1216
  exports.SnippetTextEdit = SnippetTextEdit;
1218
1217
  let NotebookEdit = NotebookEdit_1 = class NotebookEdit {
1219
- constructor(range, newCells, newCellMetadata, newNotebookMetadata) {
1220
- this.range = range;
1221
- this.newCells = newCells;
1222
- this.newCellMetadata = newCellMetadata;
1223
- this.newNotebookMetadata = newNotebookMetadata;
1224
- }
1225
1218
  static isNotebookCellEdit(thing) {
1226
1219
  if (thing instanceof NotebookEdit_1) {
1227
1220
  return true;
@@ -1249,12 +1242,18 @@ let NotebookEdit = NotebookEdit_1 = class NotebookEdit {
1249
1242
  static updateNotebookMetadata(newNotebookMetadata) {
1250
1243
  return new NotebookEdit_1(new NotebookRange(0, 0), [], undefined, newNotebookMetadata);
1251
1244
  }
1245
+ constructor(range, newCells, newCellMetadata, newNotebookMetadata) {
1246
+ this.range = range;
1247
+ this.newCells = newCells;
1248
+ this.newCellMetadata = newCellMetadata;
1249
+ this.newNotebookMetadata = newNotebookMetadata;
1250
+ }
1252
1251
  };
1253
- NotebookEdit = NotebookEdit_1 = (0, tslib_1.__decorate)([
1252
+ exports.NotebookEdit = NotebookEdit;
1253
+ exports.NotebookEdit = NotebookEdit = NotebookEdit_1 = tslib_1.__decorate([
1254
1254
  types_1.es5ClassCompat,
1255
- (0, tslib_1.__metadata)("design:paramtypes", [NotebookRange, Array, Object, Object])
1255
+ tslib_1.__metadata("design:paramtypes", [NotebookRange, Array, Object, Object])
1256
1256
  ], NotebookEdit);
1257
- exports.NotebookEdit = NotebookEdit;
1258
1257
  class NotebookRendererScript {
1259
1258
  constructor(uri, provides) {
1260
1259
  this.uri = uri;
@@ -1269,11 +1268,11 @@ let ParameterInformation = class ParameterInformation {
1269
1268
  this.documentation = documentation;
1270
1269
  }
1271
1270
  };
1272
- ParameterInformation = (0, tslib_1.__decorate)([
1271
+ exports.ParameterInformation = ParameterInformation;
1272
+ exports.ParameterInformation = ParameterInformation = tslib_1.__decorate([
1273
1273
  types_1.es5ClassCompat,
1274
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Object])
1274
+ tslib_1.__metadata("design:paramtypes", [Object, Object])
1275
1275
  ], ParameterInformation);
1276
- exports.ParameterInformation = ParameterInformation;
1277
1276
  let SignatureInformation = class SignatureInformation {
1278
1277
  constructor(label, documentation) {
1279
1278
  this.label = label;
@@ -1281,27 +1280,27 @@ let SignatureInformation = class SignatureInformation {
1281
1280
  this.parameters = [];
1282
1281
  }
1283
1282
  };
1284
- SignatureInformation = (0, tslib_1.__decorate)([
1283
+ exports.SignatureInformation = SignatureInformation;
1284
+ exports.SignatureInformation = SignatureInformation = tslib_1.__decorate([
1285
1285
  types_1.es5ClassCompat,
1286
- (0, tslib_1.__metadata)("design:paramtypes", [String, Object])
1286
+ tslib_1.__metadata("design:paramtypes", [String, Object])
1287
1287
  ], SignatureInformation);
1288
- exports.SignatureInformation = SignatureInformation;
1289
1288
  var SignatureHelpTriggerKind;
1290
1289
  (function (SignatureHelpTriggerKind) {
1291
1290
  SignatureHelpTriggerKind[SignatureHelpTriggerKind["Invoke"] = 1] = "Invoke";
1292
1291
  SignatureHelpTriggerKind[SignatureHelpTriggerKind["TriggerCharacter"] = 2] = "TriggerCharacter";
1293
1292
  SignatureHelpTriggerKind[SignatureHelpTriggerKind["ContentChange"] = 3] = "ContentChange";
1294
- })(SignatureHelpTriggerKind = exports.SignatureHelpTriggerKind || (exports.SignatureHelpTriggerKind = {}));
1293
+ })(SignatureHelpTriggerKind || (exports.SignatureHelpTriggerKind = SignatureHelpTriggerKind = {}));
1295
1294
  let SignatureHelp = class SignatureHelp {
1296
1295
  constructor() {
1297
1296
  this.signatures = [];
1298
1297
  }
1299
1298
  };
1300
- SignatureHelp = (0, tslib_1.__decorate)([
1299
+ exports.SignatureHelp = SignatureHelp;
1300
+ exports.SignatureHelp = SignatureHelp = tslib_1.__decorate([
1301
1301
  types_1.es5ClassCompat,
1302
- (0, tslib_1.__metadata)("design:paramtypes", [])
1302
+ tslib_1.__metadata("design:paramtypes", [])
1303
1303
  ], SignatureHelp);
1304
- exports.SignatureHelp = SignatureHelp;
1305
1304
  let Hover = class Hover {
1306
1305
  constructor(contents, range) {
1307
1306
  if (!contents) {
@@ -1316,11 +1315,11 @@ let Hover = class Hover {
1316
1315
  this.range = range;
1317
1316
  }
1318
1317
  };
1319
- Hover = (0, tslib_1.__decorate)([
1318
+ exports.Hover = Hover;
1319
+ exports.Hover = Hover = tslib_1.__decorate([
1320
1320
  types_1.es5ClassCompat,
1321
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Range])
1321
+ tslib_1.__metadata("design:paramtypes", [Object, Range])
1322
1322
  ], Hover);
1323
- exports.Hover = Hover;
1324
1323
  let EvaluatableExpression = class EvaluatableExpression {
1325
1324
  constructor(range, expression) {
1326
1325
  if (!range) {
@@ -1330,11 +1329,11 @@ let EvaluatableExpression = class EvaluatableExpression {
1330
1329
  this.expression = expression;
1331
1330
  }
1332
1331
  };
1333
- EvaluatableExpression = (0, tslib_1.__decorate)([
1332
+ exports.EvaluatableExpression = EvaluatableExpression;
1333
+ exports.EvaluatableExpression = EvaluatableExpression = tslib_1.__decorate([
1334
1334
  types_1.es5ClassCompat,
1335
- (0, tslib_1.__metadata)("design:paramtypes", [Range, String])
1335
+ tslib_1.__metadata("design:paramtypes", [Range, String])
1336
1336
  ], EvaluatableExpression);
1337
- exports.EvaluatableExpression = EvaluatableExpression;
1338
1337
  let InlineValueContext = class InlineValueContext {
1339
1338
  constructor(frameId, stoppedLocation) {
1340
1339
  if (!frameId) {
@@ -1347,11 +1346,11 @@ let InlineValueContext = class InlineValueContext {
1347
1346
  this.stoppedLocation = stoppedLocation;
1348
1347
  }
1349
1348
  };
1350
- InlineValueContext = (0, tslib_1.__decorate)([
1349
+ exports.InlineValueContext = InlineValueContext;
1350
+ exports.InlineValueContext = InlineValueContext = tslib_1.__decorate([
1351
1351
  types_1.es5ClassCompat,
1352
- (0, tslib_1.__metadata)("design:paramtypes", [Number, Range])
1352
+ tslib_1.__metadata("design:paramtypes", [Number, Range])
1353
1353
  ], InlineValueContext);
1354
- exports.InlineValueContext = InlineValueContext;
1355
1354
  let InlineValueText = class InlineValueText {
1356
1355
  constructor(range, text) {
1357
1356
  this.type = 'text';
@@ -1365,11 +1364,11 @@ let InlineValueText = class InlineValueText {
1365
1364
  this.text = text;
1366
1365
  }
1367
1366
  };
1368
- InlineValueText = (0, tslib_1.__decorate)([
1367
+ exports.InlineValueText = InlineValueText;
1368
+ exports.InlineValueText = InlineValueText = tslib_1.__decorate([
1369
1369
  types_1.es5ClassCompat,
1370
- (0, tslib_1.__metadata)("design:paramtypes", [Range, String])
1370
+ tslib_1.__metadata("design:paramtypes", [Range, String])
1371
1371
  ], InlineValueText);
1372
- exports.InlineValueText = InlineValueText;
1373
1372
  let InlineValueVariableLookup = class InlineValueVariableLookup {
1374
1373
  constructor(range, variableName, caseSensitiveLookup) {
1375
1374
  this.type = 'variable';
@@ -1381,11 +1380,11 @@ let InlineValueVariableLookup = class InlineValueVariableLookup {
1381
1380
  this.variableName = variableName;
1382
1381
  }
1383
1382
  };
1384
- InlineValueVariableLookup = (0, tslib_1.__decorate)([
1383
+ exports.InlineValueVariableLookup = InlineValueVariableLookup;
1384
+ exports.InlineValueVariableLookup = InlineValueVariableLookup = tslib_1.__decorate([
1385
1385
  types_1.es5ClassCompat,
1386
- (0, tslib_1.__metadata)("design:paramtypes", [Range, String, Boolean])
1386
+ tslib_1.__metadata("design:paramtypes", [Range, String, Boolean])
1387
1387
  ], InlineValueVariableLookup);
1388
- exports.InlineValueVariableLookup = InlineValueVariableLookup;
1389
1388
  let InlineValueEvaluatableExpression = class InlineValueEvaluatableExpression {
1390
1389
  constructor(range, expression) {
1391
1390
  this.type = 'expression';
@@ -1396,28 +1395,28 @@ let InlineValueEvaluatableExpression = class InlineValueEvaluatableExpression {
1396
1395
  this.expression = expression;
1397
1396
  }
1398
1397
  };
1399
- InlineValueEvaluatableExpression = (0, tslib_1.__decorate)([
1398
+ exports.InlineValueEvaluatableExpression = InlineValueEvaluatableExpression;
1399
+ exports.InlineValueEvaluatableExpression = InlineValueEvaluatableExpression = tslib_1.__decorate([
1400
1400
  types_1.es5ClassCompat,
1401
- (0, tslib_1.__metadata)("design:paramtypes", [Range, String])
1401
+ tslib_1.__metadata("design:paramtypes", [Range, String])
1402
1402
  ], InlineValueEvaluatableExpression);
1403
- exports.InlineValueEvaluatableExpression = InlineValueEvaluatableExpression;
1404
1403
  var DocumentHighlightKind;
1405
1404
  (function (DocumentHighlightKind) {
1406
1405
  DocumentHighlightKind[DocumentHighlightKind["Text"] = 0] = "Text";
1407
1406
  DocumentHighlightKind[DocumentHighlightKind["Read"] = 1] = "Read";
1408
1407
  DocumentHighlightKind[DocumentHighlightKind["Write"] = 2] = "Write";
1409
- })(DocumentHighlightKind = exports.DocumentHighlightKind || (exports.DocumentHighlightKind = {}));
1408
+ })(DocumentHighlightKind || (exports.DocumentHighlightKind = DocumentHighlightKind = {}));
1410
1409
  let DocumentHighlight = class DocumentHighlight {
1411
1410
  constructor(range, kind) {
1412
1411
  this.range = range;
1413
1412
  this.kind = kind;
1414
1413
  }
1415
1414
  };
1416
- DocumentHighlight = (0, tslib_1.__decorate)([
1415
+ exports.DocumentHighlight = DocumentHighlight;
1416
+ exports.DocumentHighlight = DocumentHighlight = tslib_1.__decorate([
1417
1417
  types_1.es5ClassCompat,
1418
- (0, tslib_1.__metadata)("design:paramtypes", [Range, Number])
1418
+ tslib_1.__metadata("design:paramtypes", [Range, Number])
1419
1419
  ], DocumentHighlight);
1420
- exports.DocumentHighlight = DocumentHighlight;
1421
1420
  let MultiDocumentHighlight = class MultiDocumentHighlight {
1422
1421
  /**
1423
1422
  * Creates a new instance of MultiDocumentHighlight.
@@ -1429,11 +1428,11 @@ let MultiDocumentHighlight = class MultiDocumentHighlight {
1429
1428
  this.highlights = highlights;
1430
1429
  }
1431
1430
  };
1432
- MultiDocumentHighlight = (0, tslib_1.__decorate)([
1431
+ exports.MultiDocumentHighlight = MultiDocumentHighlight;
1432
+ exports.MultiDocumentHighlight = MultiDocumentHighlight = tslib_1.__decorate([
1433
1433
  types_1.es5ClassCompat,
1434
- (0, tslib_1.__metadata)("design:paramtypes", [URI, Array])
1434
+ tslib_1.__metadata("design:paramtypes", [URI, Array])
1435
1435
  ], MultiDocumentHighlight);
1436
- exports.MultiDocumentHighlight = MultiDocumentHighlight;
1437
1436
  let DocumentLink = class DocumentLink {
1438
1437
  constructor(range, target) {
1439
1438
  if (target && !(URI.isUri(target))) {
@@ -1446,40 +1445,61 @@ let DocumentLink = class DocumentLink {
1446
1445
  this.target = target;
1447
1446
  }
1448
1447
  };
1449
- DocumentLink = (0, tslib_1.__decorate)([
1448
+ exports.DocumentLink = DocumentLink;
1449
+ exports.DocumentLink = DocumentLink = tslib_1.__decorate([
1450
1450
  types_1.es5ClassCompat,
1451
- (0, tslib_1.__metadata)("design:paramtypes", [Range, Object])
1451
+ tslib_1.__metadata("design:paramtypes", [Range, Object])
1452
1452
  ], DocumentLink);
1453
- exports.DocumentLink = DocumentLink;
1453
+ let DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind_1 = class DocumentDropOrPasteEditKind {
1454
+ constructor(value) {
1455
+ this.value = value;
1456
+ }
1457
+ append(...parts) {
1458
+ return new DocumentDropOrPasteEditKind_1((this.value ? [this.value, ...parts] : parts).join(DocumentDropOrPasteEditKind_1.sep));
1459
+ }
1460
+ intersects(other) {
1461
+ return this.contains(other) || other.contains(this);
1462
+ }
1463
+ contains(other) {
1464
+ return this.value === other.value || other.value.startsWith(this.value + DocumentDropOrPasteEditKind_1.sep);
1465
+ }
1466
+ };
1467
+ exports.DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind;
1468
+ DocumentDropOrPasteEditKind.Empty = new DocumentDropOrPasteEditKind_1('');
1469
+ DocumentDropOrPasteEditKind.sep = '.';
1470
+ exports.DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind_1 = tslib_1.__decorate([
1471
+ types_1.es5ClassCompat,
1472
+ tslib_1.__metadata("design:paramtypes", [String])
1473
+ ], DocumentDropOrPasteEditKind);
1454
1474
  let DocumentDropEdit = class DocumentDropEdit {
1455
1475
  constructor(insertText) {
1456
1476
  this.insertText = insertText;
1457
1477
  }
1458
1478
  };
1459
- DocumentDropEdit = (0, tslib_1.__decorate)([
1479
+ exports.DocumentDropEdit = DocumentDropEdit;
1480
+ exports.DocumentDropEdit = DocumentDropEdit = tslib_1.__decorate([
1460
1481
  types_1.es5ClassCompat,
1461
- (0, tslib_1.__metadata)("design:paramtypes", [Object])
1482
+ tslib_1.__metadata("design:paramtypes", [Object])
1462
1483
  ], DocumentDropEdit);
1463
- exports.DocumentDropEdit = DocumentDropEdit;
1464
1484
  let CodeLens = class CodeLens {
1485
+ get isResolved() {
1486
+ return !!this.command;
1487
+ }
1465
1488
  constructor(range, command) {
1466
1489
  this.range = range;
1467
1490
  this.command = command;
1468
1491
  }
1469
- get isResolved() {
1470
- return !!this.command;
1471
- }
1472
1492
  };
1473
- CodeLens = (0, tslib_1.__decorate)([
1493
+ exports.CodeLens = CodeLens;
1494
+ exports.CodeLens = CodeLens = tslib_1.__decorate([
1474
1495
  types_1.es5ClassCompat,
1475
- (0, tslib_1.__metadata)("design:paramtypes", [Range, Object])
1496
+ tslib_1.__metadata("design:paramtypes", [Range, Object])
1476
1497
  ], CodeLens);
1477
- exports.CodeLens = CodeLens;
1478
1498
  var CodeActionTrigger;
1479
1499
  (function (CodeActionTrigger) {
1480
1500
  CodeActionTrigger[CodeActionTrigger["Automatic"] = 1] = "Automatic";
1481
1501
  CodeActionTrigger[CodeActionTrigger["Manual"] = 2] = "Manual";
1482
- })(CodeActionTrigger = exports.CodeActionTrigger || (exports.CodeActionTrigger = {}));
1502
+ })(CodeActionTrigger || (exports.CodeActionTrigger = CodeActionTrigger = {}));
1483
1503
  /**
1484
1504
  * The reason why code actions were requested.
1485
1505
  */
@@ -1496,7 +1516,7 @@ var CodeActionTriggerKind;
1496
1516
  * also be triggered when file content changes.
1497
1517
  */
1498
1518
  CodeActionTriggerKind[CodeActionTriggerKind["Automatic"] = 2] = "Automatic";
1499
- })(CodeActionTriggerKind = exports.CodeActionTriggerKind || (exports.CodeActionTriggerKind = {}));
1519
+ })(CodeActionTriggerKind || (exports.CodeActionTriggerKind = CodeActionTriggerKind = {}));
1500
1520
  let CodeActionKind = CodeActionKind_1 = class CodeActionKind {
1501
1521
  constructor(value) {
1502
1522
  this.value = value;
@@ -1511,6 +1531,7 @@ let CodeActionKind = CodeActionKind_1 = class CodeActionKind {
1511
1531
  return this.contains(other) || other.contains(this);
1512
1532
  }
1513
1533
  };
1534
+ exports.CodeActionKind = CodeActionKind;
1514
1535
  CodeActionKind.sep = '.';
1515
1536
  CodeActionKind.Empty = new CodeActionKind_1('');
1516
1537
  CodeActionKind.QuickFix = CodeActionKind_1.Empty.append('quickfix');
@@ -1523,28 +1544,27 @@ CodeActionKind.Source = CodeActionKind_1.Empty.append('source');
1523
1544
  CodeActionKind.SourceOrganizeImports = CodeActionKind_1.Source.append('organizeImports');
1524
1545
  CodeActionKind.SourceFixAll = CodeActionKind_1.Source.append('fixAll');
1525
1546
  CodeActionKind.Notebook = CodeActionKind_1.Empty.append('notebook');
1526
- CodeActionKind = CodeActionKind_1 = (0, tslib_1.__decorate)([
1547
+ exports.CodeActionKind = CodeActionKind = CodeActionKind_1 = tslib_1.__decorate([
1527
1548
  types_1.es5ClassCompat,
1528
- (0, tslib_1.__metadata)("design:paramtypes", [String])
1549
+ tslib_1.__metadata("design:paramtypes", [String])
1529
1550
  ], CodeActionKind);
1530
- exports.CodeActionKind = CodeActionKind;
1531
1551
  var TextDocumentSaveReason;
1532
1552
  (function (TextDocumentSaveReason) {
1533
1553
  TextDocumentSaveReason[TextDocumentSaveReason["Manual"] = 1] = "Manual";
1534
1554
  TextDocumentSaveReason[TextDocumentSaveReason["AfterDelay"] = 2] = "AfterDelay";
1535
1555
  TextDocumentSaveReason[TextDocumentSaveReason["FocusOut"] = 3] = "FocusOut";
1536
- })(TextDocumentSaveReason = exports.TextDocumentSaveReason || (exports.TextDocumentSaveReason = {}));
1556
+ })(TextDocumentSaveReason || (exports.TextDocumentSaveReason = TextDocumentSaveReason = {}));
1537
1557
  let CodeAction = class CodeAction {
1538
1558
  constructor(title, kind) {
1539
1559
  this.title = title;
1540
1560
  this.kind = kind;
1541
1561
  }
1542
1562
  };
1543
- CodeAction = (0, tslib_1.__decorate)([
1563
+ exports.CodeAction = CodeAction;
1564
+ exports.CodeAction = CodeAction = tslib_1.__decorate([
1544
1565
  types_1.es5ClassCompat,
1545
- (0, tslib_1.__metadata)("design:paramtypes", [String, CodeActionKind])
1566
+ tslib_1.__metadata("design:paramtypes", [String, CodeActionKind])
1546
1567
  ], CodeAction);
1547
- exports.CodeAction = CodeAction;
1548
1568
  let WorkspaceEdit = class WorkspaceEdit {
1549
1569
  constructor() {
1550
1570
  this._edits = new Array();
@@ -1581,7 +1601,7 @@ let WorkspaceEdit = class WorkspaceEdit {
1581
1601
  for (let i = 0; i < this._edits.length; i++) {
1582
1602
  const element = this._edits[i];
1583
1603
  if (element &&
1584
- (element._type === 2 /* Text */ || element._type === 6 /* Snippet */) &&
1604
+ (element._type === 2 /* FileEditType.Text */ || element._type === 6 /* FileEditType.Snippet */) &&
1585
1605
  element.uri.toString() === uri.toString()) {
1586
1606
  this._edits[i] = undefined;
1587
1607
  }
@@ -1606,29 +1626,29 @@ let WorkspaceEdit = class WorkspaceEdit {
1606
1626
  if (NotebookEdit.isNotebookCellEdit(edit)) {
1607
1627
  if (edit.newCellMetadata) {
1608
1628
  this._edits.push({
1609
- _type: 3 /* Cell */, metadata, uri,
1610
- edit: { editType: 3 /* Metadata */, index: edit.range.start, metadata: edit.newCellMetadata }
1629
+ _type: 3 /* FileEditType.Cell */, metadata, uri,
1630
+ edit: { editType: 3 /* CellEditType.Metadata */, index: edit.range.start, metadata: edit.newCellMetadata }
1611
1631
  });
1612
1632
  }
1613
1633
  else if (edit.newNotebookMetadata) {
1614
1634
  this._edits.push({
1615
- _type: 3 /* Cell */, metadata, uri,
1616
- edit: { editType: 5 /* DocumentMetadata */, metadata: edit.newNotebookMetadata }, notebookMetadata: edit.newNotebookMetadata
1635
+ _type: 3 /* FileEditType.Cell */, metadata, uri,
1636
+ edit: { editType: 5 /* CellEditType.DocumentMetadata */, metadata: edit.newNotebookMetadata }, notebookMetadata: edit.newNotebookMetadata
1617
1637
  });
1618
1638
  }
1619
1639
  else {
1620
1640
  const start = edit.range.start;
1621
1641
  const end = edit.range.end;
1622
1642
  if (start !== end || edit.newCells.length > 0) {
1623
- this._edits.push({ _type: 5 /* CellReplace */, uri, index: start, count: end - start, cells: edit.newCells, metadata });
1643
+ this._edits.push({ _type: 5 /* FileEditType.CellReplace */, uri, index: start, count: end - start, cells: edit.newCells, metadata });
1624
1644
  }
1625
1645
  }
1626
1646
  }
1627
1647
  else if (SnippetTextEdit.isSnippetTextEdit(edit)) {
1628
- this._edits.push({ _type: 6 /* Snippet */, uri, range: edit.range, edit, metadata });
1648
+ this._edits.push({ _type: 6 /* FileEditType.Snippet */, uri, range: edit.range, edit, metadata });
1629
1649
  }
1630
1650
  else {
1631
- this._edits.push({ _type: 2 /* Text */, uri, edit });
1651
+ this._edits.push({ _type: 2 /* FileEditType.Text */, uri, edit });
1632
1652
  }
1633
1653
  }
1634
1654
  }
@@ -1648,7 +1668,7 @@ let WorkspaceEdit = class WorkspaceEdit {
1648
1668
  entries() {
1649
1669
  const textEdits = new Map();
1650
1670
  for (const candidate of this._edits) {
1651
- if (candidate && candidate._type === 2 /* Text */) {
1671
+ if (candidate && candidate._type === 2 /* FileEditType.Text */) {
1652
1672
  let textEdit = textEdits.get(candidate.uri.toString());
1653
1673
  if (!textEdit) {
1654
1674
  textEdit = [candidate.uri, []];
@@ -1686,21 +1706,21 @@ let WorkspaceEdit = class WorkspaceEdit {
1686
1706
  return this.entries();
1687
1707
  }
1688
1708
  };
1689
- WorkspaceEdit = (0, tslib_1.__decorate)([
1709
+ exports.WorkspaceEdit = WorkspaceEdit;
1710
+ exports.WorkspaceEdit = WorkspaceEdit = tslib_1.__decorate([
1690
1711
  types_1.es5ClassCompat
1691
1712
  ], WorkspaceEdit);
1692
- exports.WorkspaceEdit = WorkspaceEdit;
1693
1713
  class DataTransferItem {
1694
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1695
- constructor(value) {
1696
- this.value = value;
1697
- }
1698
1714
  asString() {
1699
1715
  return Promise.resolve(typeof this.value === 'string' ? this.value : JSON.stringify(this.value));
1700
1716
  }
1701
1717
  asFile() {
1702
1718
  return undefined;
1703
1719
  }
1720
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1721
+ constructor(value) {
1722
+ this.value = value;
1723
+ }
1704
1724
  }
1705
1725
  exports.DataTransferItem = DataTransferItem;
1706
1726
  /**
@@ -1736,10 +1756,10 @@ let DataTransfer = class DataTransfer {
1736
1756
  this.items.clear();
1737
1757
  }
1738
1758
  };
1739
- DataTransfer = (0, tslib_1.__decorate)([
1759
+ exports.DataTransfer = DataTransfer;
1760
+ exports.DataTransfer = DataTransfer = tslib_1.__decorate([
1740
1761
  types_1.es5ClassCompat
1741
1762
  ], DataTransfer);
1742
- exports.DataTransfer = DataTransfer;
1743
1763
  let TreeItem = class TreeItem {
1744
1764
  constructor(arg1, collapsibleState = TreeItemCollapsibleState.None) {
1745
1765
  this.collapsibleState = collapsibleState;
@@ -1751,27 +1771,32 @@ let TreeItem = class TreeItem {
1751
1771
  }
1752
1772
  }
1753
1773
  };
1754
- TreeItem = (0, tslib_1.__decorate)([
1774
+ exports.TreeItem = TreeItem;
1775
+ exports.TreeItem = TreeItem = tslib_1.__decorate([
1755
1776
  types_1.es5ClassCompat,
1756
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Number])
1777
+ tslib_1.__metadata("design:paramtypes", [Object, Number])
1757
1778
  ], TreeItem);
1758
- exports.TreeItem = TreeItem;
1759
1779
  var TreeItemCollapsibleState;
1760
1780
  (function (TreeItemCollapsibleState) {
1761
1781
  TreeItemCollapsibleState[TreeItemCollapsibleState["None"] = 0] = "None";
1762
1782
  TreeItemCollapsibleState[TreeItemCollapsibleState["Collapsed"] = 1] = "Collapsed";
1763
1783
  TreeItemCollapsibleState[TreeItemCollapsibleState["Expanded"] = 2] = "Expanded";
1764
- })(TreeItemCollapsibleState = exports.TreeItemCollapsibleState || (exports.TreeItemCollapsibleState = {}));
1784
+ })(TreeItemCollapsibleState || (exports.TreeItemCollapsibleState = TreeItemCollapsibleState = {}));
1765
1785
  var TreeItemCheckboxState;
1766
1786
  (function (TreeItemCheckboxState) {
1767
1787
  TreeItemCheckboxState[TreeItemCheckboxState["Unchecked"] = 0] = "Unchecked";
1768
1788
  TreeItemCheckboxState[TreeItemCheckboxState["Checked"] = 1] = "Checked";
1769
- })(TreeItemCheckboxState = exports.TreeItemCheckboxState || (exports.TreeItemCheckboxState = {}));
1789
+ })(TreeItemCheckboxState || (exports.TreeItemCheckboxState = TreeItemCheckboxState = {}));
1770
1790
  var SymbolTag;
1771
1791
  (function (SymbolTag) {
1772
1792
  SymbolTag[SymbolTag["Deprecated"] = 1] = "Deprecated";
1773
- })(SymbolTag = exports.SymbolTag || (exports.SymbolTag = {}));
1793
+ })(SymbolTag || (exports.SymbolTag = SymbolTag = {}));
1774
1794
  let SymbolInformation = SymbolInformation_1 = class SymbolInformation {
1795
+ static validate(candidate) {
1796
+ if (!candidate.name) {
1797
+ throw new Error('Should provide a name inside candidate field');
1798
+ }
1799
+ }
1775
1800
  constructor(name, kind, rangeOrContainer, locationOrUri, containerName) {
1776
1801
  this.name = name;
1777
1802
  this.kind = kind;
@@ -1787,11 +1812,6 @@ let SymbolInformation = SymbolInformation_1 = class SymbolInformation {
1787
1812
  }
1788
1813
  SymbolInformation_1.validate(this);
1789
1814
  }
1790
- static validate(candidate) {
1791
- if (!candidate.name) {
1792
- throw new Error('Should provide a name inside candidate field');
1793
- }
1794
- }
1795
1815
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1796
1816
  toJSON() {
1797
1817
  return {
@@ -1802,21 +1822,12 @@ let SymbolInformation = SymbolInformation_1 = class SymbolInformation {
1802
1822
  };
1803
1823
  }
1804
1824
  };
1805
- SymbolInformation = SymbolInformation_1 = (0, tslib_1.__decorate)([
1825
+ exports.SymbolInformation = SymbolInformation;
1826
+ exports.SymbolInformation = SymbolInformation = SymbolInformation_1 = tslib_1.__decorate([
1806
1827
  types_1.es5ClassCompat,
1807
- (0, tslib_1.__metadata)("design:paramtypes", [String, Number, Object, Object, String])
1828
+ tslib_1.__metadata("design:paramtypes", [String, Number, Object, Object, String])
1808
1829
  ], SymbolInformation);
1809
- exports.SymbolInformation = SymbolInformation;
1810
1830
  let DocumentSymbol = DocumentSymbol_1 = class DocumentSymbol {
1811
- constructor(name, detail, kind, range, selectionRange) {
1812
- this.name = name;
1813
- this.detail = detail;
1814
- this.kind = kind;
1815
- this.range = range;
1816
- this.selectionRange = selectionRange;
1817
- this.children = [];
1818
- DocumentSymbol_1.validate(this);
1819
- }
1820
1831
  static validate(candidate) {
1821
1832
  if (!candidate.name) {
1822
1833
  throw new Error('Should provide a name inside candidate field');
@@ -1828,40 +1839,44 @@ let DocumentSymbol = DocumentSymbol_1 = class DocumentSymbol {
1828
1839
  candidate.children.forEach(DocumentSymbol_1.validate);
1829
1840
  }
1830
1841
  }
1842
+ constructor(name, detail, kind, range, selectionRange) {
1843
+ this.name = name;
1844
+ this.detail = detail;
1845
+ this.kind = kind;
1846
+ this.range = range;
1847
+ this.selectionRange = selectionRange;
1848
+ this.children = [];
1849
+ DocumentSymbol_1.validate(this);
1850
+ }
1831
1851
  };
1832
- DocumentSymbol = DocumentSymbol_1 = (0, tslib_1.__decorate)([
1852
+ exports.DocumentSymbol = DocumentSymbol;
1853
+ exports.DocumentSymbol = DocumentSymbol = DocumentSymbol_1 = tslib_1.__decorate([
1833
1854
  types_1.es5ClassCompat,
1834
- (0, tslib_1.__metadata)("design:paramtypes", [String, String, Number, Range, Range])
1855
+ tslib_1.__metadata("design:paramtypes", [String, String, Number, Range, Range])
1835
1856
  ], DocumentSymbol);
1836
- exports.DocumentSymbol = DocumentSymbol;
1837
1857
  var CommentThreadState;
1838
1858
  (function (CommentThreadState) {
1839
1859
  CommentThreadState[CommentThreadState["Unresolved"] = 0] = "Unresolved";
1840
1860
  CommentThreadState[CommentThreadState["Resolved"] = 1] = "Resolved";
1841
- })(CommentThreadState = exports.CommentThreadState || (exports.CommentThreadState = {}));
1861
+ })(CommentThreadState || (exports.CommentThreadState = CommentThreadState = {}));
1842
1862
  var CommentThreadCollapsibleState;
1843
1863
  (function (CommentThreadCollapsibleState) {
1844
1864
  CommentThreadCollapsibleState[CommentThreadCollapsibleState["Collapsed"] = 0] = "Collapsed";
1845
1865
  CommentThreadCollapsibleState[CommentThreadCollapsibleState["Expanded"] = 1] = "Expanded";
1846
- })(CommentThreadCollapsibleState = exports.CommentThreadCollapsibleState || (exports.CommentThreadCollapsibleState = {}));
1866
+ })(CommentThreadCollapsibleState || (exports.CommentThreadCollapsibleState = CommentThreadCollapsibleState = {}));
1847
1867
  let QuickInputButtons = class QuickInputButtons {
1848
1868
  };
1869
+ exports.QuickInputButtons = QuickInputButtons;
1849
1870
  QuickInputButtons.Back = {
1850
1871
  iconPath: {
1851
1872
  id: 'Back',
1852
1873
  },
1853
1874
  tooltip: 'Back'
1854
1875
  };
1855
- QuickInputButtons = (0, tslib_1.__decorate)([
1876
+ exports.QuickInputButtons = QuickInputButtons = tslib_1.__decorate([
1856
1877
  types_1.es5ClassCompat
1857
1878
  ], QuickInputButtons);
1858
- exports.QuickInputButtons = QuickInputButtons;
1859
1879
  let TerminalLink = class TerminalLink {
1860
- constructor(startIndex, length, tooltip) {
1861
- this.startIndex = startIndex;
1862
- this.length = length;
1863
- this.tooltip = tooltip;
1864
- }
1865
1880
  static validate(candidate) {
1866
1881
  if (typeof candidate.startIndex !== 'number') {
1867
1882
  throw new Error('Should provide a startIndex inside candidate field');
@@ -1870,22 +1885,27 @@ let TerminalLink = class TerminalLink {
1870
1885
  throw new Error('Should provide a length inside candidate field');
1871
1886
  }
1872
1887
  }
1888
+ constructor(startIndex, length, tooltip) {
1889
+ this.startIndex = startIndex;
1890
+ this.length = length;
1891
+ this.tooltip = tooltip;
1892
+ }
1873
1893
  };
1874
- TerminalLink = (0, tslib_1.__decorate)([
1894
+ exports.TerminalLink = TerminalLink;
1895
+ exports.TerminalLink = TerminalLink = tslib_1.__decorate([
1875
1896
  types_1.es5ClassCompat,
1876
- (0, tslib_1.__metadata)("design:paramtypes", [Number, Number, String])
1897
+ tslib_1.__metadata("design:paramtypes", [Number, Number, String])
1877
1898
  ], TerminalLink);
1878
- exports.TerminalLink = TerminalLink;
1879
1899
  var TerminalLocation;
1880
1900
  (function (TerminalLocation) {
1881
1901
  TerminalLocation[TerminalLocation["Panel"] = 1] = "Panel";
1882
1902
  TerminalLocation[TerminalLocation["Editor"] = 2] = "Editor";
1883
- })(TerminalLocation = exports.TerminalLocation || (exports.TerminalLocation = {}));
1903
+ })(TerminalLocation || (exports.TerminalLocation = TerminalLocation = {}));
1884
1904
  var TerminalOutputAnchor;
1885
1905
  (function (TerminalOutputAnchor) {
1886
1906
  TerminalOutputAnchor[TerminalOutputAnchor["Top"] = 0] = "Top";
1887
1907
  TerminalOutputAnchor[TerminalOutputAnchor["Bottom"] = 1] = "Bottom";
1888
- })(TerminalOutputAnchor = exports.TerminalOutputAnchor || (exports.TerminalOutputAnchor = {}));
1908
+ })(TerminalOutputAnchor || (exports.TerminalOutputAnchor = TerminalOutputAnchor = {}));
1889
1909
  class TerminalProfile {
1890
1910
  /**
1891
1911
  * Creates a new terminal profile.
@@ -1903,13 +1923,8 @@ var TerminalExitReason;
1903
1923
  TerminalExitReason[TerminalExitReason["Process"] = 2] = "Process";
1904
1924
  TerminalExitReason[TerminalExitReason["User"] = 3] = "User";
1905
1925
  TerminalExitReason[TerminalExitReason["Extension"] = 4] = "Extension";
1906
- })(TerminalExitReason = exports.TerminalExitReason || (exports.TerminalExitReason = {}));
1926
+ })(TerminalExitReason || (exports.TerminalExitReason = TerminalExitReason = {}));
1907
1927
  let FileDecoration = class FileDecoration {
1908
- constructor(badge, tooltip, color) {
1909
- this.badge = badge;
1910
- this.tooltip = tooltip;
1911
- this.color = color;
1912
- }
1913
1928
  static validate(d) {
1914
1929
  if (d.badge && d.badge.length !== 1 && d.badge.length !== 2) {
1915
1930
  throw new Error('The \'badge\'-property must be undefined or a short character');
@@ -1918,42 +1933,30 @@ let FileDecoration = class FileDecoration {
1918
1933
  throw new Error('The decoration is empty');
1919
1934
  }
1920
1935
  }
1936
+ constructor(badge, tooltip, color) {
1937
+ this.badge = badge;
1938
+ this.tooltip = tooltip;
1939
+ this.color = color;
1940
+ }
1921
1941
  };
1922
- FileDecoration = (0, tslib_1.__decorate)([
1942
+ exports.FileDecoration = FileDecoration;
1943
+ exports.FileDecoration = FileDecoration = tslib_1.__decorate([
1923
1944
  types_1.es5ClassCompat,
1924
- (0, tslib_1.__metadata)("design:paramtypes", [String, String, ThemeColor])
1945
+ tslib_1.__metadata("design:paramtypes", [String, String, ThemeColor])
1925
1946
  ], FileDecoration);
1926
- exports.FileDecoration = FileDecoration;
1927
1947
  var CommentMode;
1928
1948
  (function (CommentMode) {
1929
1949
  CommentMode[CommentMode["Editing"] = 0] = "Editing";
1930
1950
  CommentMode[CommentMode["Preview"] = 1] = "Preview";
1931
- })(CommentMode = exports.CommentMode || (exports.CommentMode = {}));
1951
+ })(CommentMode || (exports.CommentMode = CommentMode = {}));
1932
1952
  // #region file api
1933
1953
  var FileChangeType;
1934
1954
  (function (FileChangeType) {
1935
1955
  FileChangeType[FileChangeType["Changed"] = 1] = "Changed";
1936
1956
  FileChangeType[FileChangeType["Created"] = 2] = "Created";
1937
1957
  FileChangeType[FileChangeType["Deleted"] = 3] = "Deleted";
1938
- })(FileChangeType = exports.FileChangeType || (exports.FileChangeType = {}));
1958
+ })(FileChangeType || (exports.FileChangeType = FileChangeType = {}));
1939
1959
  let FileSystemError = FileSystemError_1 = class FileSystemError extends Error {
1940
- constructor(uriOrMessage, code = files_1.FileSystemProviderErrorCode.Unknown, terminator) {
1941
- var _b;
1942
- super(URI.isUri(uriOrMessage) ? uriOrMessage.toString(true) : uriOrMessage);
1943
- this.code = (_b = terminator === null || terminator === void 0 ? void 0 : terminator.name) !== null && _b !== void 0 ? _b : 'Unknown';
1944
- // mark the error as file system provider error so that
1945
- // we can extract the error code on the receiving side
1946
- (0, files_1.markAsFileSystemProviderError)(this, code);
1947
- // workaround when extending builtin objects and when compiling to ES5, see:
1948
- // https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
1949
- if (typeof Object.setPrototypeOf === 'function') {
1950
- Object.setPrototypeOf(this, FileSystemError_1.prototype);
1951
- }
1952
- if (typeof Error.captureStackTrace === 'function' && typeof terminator === 'function') {
1953
- // nice stack traces
1954
- Error.captureStackTrace(this, terminator);
1955
- }
1956
- }
1957
1960
  static FileExists(messageOrUri) {
1958
1961
  return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.FileExists, FileSystemError_1.FileExists);
1959
1962
  }
@@ -1972,12 +1975,29 @@ let FileSystemError = FileSystemError_1 = class FileSystemError extends Error {
1972
1975
  static Unavailable(messageOrUri) {
1973
1976
  return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.Unavailable, FileSystemError_1.Unavailable);
1974
1977
  }
1978
+ constructor(uriOrMessage, code = files_1.FileSystemProviderErrorCode.Unknown, terminator) {
1979
+ var _b;
1980
+ super(URI.isUri(uriOrMessage) ? uriOrMessage.toString(true) : uriOrMessage);
1981
+ this.code = (_b = terminator === null || terminator === void 0 ? void 0 : terminator.name) !== null && _b !== void 0 ? _b : 'Unknown';
1982
+ // mark the error as file system provider error so that
1983
+ // we can extract the error code on the receiving side
1984
+ (0, files_1.markAsFileSystemProviderError)(this, code);
1985
+ // workaround when extending builtin objects and when compiling to ES5, see:
1986
+ // https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
1987
+ if (typeof Object.setPrototypeOf === 'function') {
1988
+ Object.setPrototypeOf(this, FileSystemError_1.prototype);
1989
+ }
1990
+ if (typeof Error.captureStackTrace === 'function' && typeof terminator === 'function') {
1991
+ // nice stack traces
1992
+ Error.captureStackTrace(this, terminator);
1993
+ }
1994
+ }
1975
1995
  };
1976
- FileSystemError = FileSystemError_1 = (0, tslib_1.__decorate)([
1996
+ exports.FileSystemError = FileSystemError;
1997
+ exports.FileSystemError = FileSystemError = FileSystemError_1 = tslib_1.__decorate([
1977
1998
  types_1.es5ClassCompat,
1978
- (0, tslib_1.__metadata)("design:paramtypes", [Object, String, Function])
1999
+ tslib_1.__metadata("design:paramtypes", [Object, String, Function])
1979
2000
  ], FileSystemError);
1980
- exports.FileSystemError = FileSystemError;
1981
2001
  // #endregion
1982
2002
  var FileType;
1983
2003
  (function (FileType) {
@@ -1985,17 +2005,17 @@ var FileType;
1985
2005
  FileType[FileType["File"] = 1] = "File";
1986
2006
  FileType[FileType["Directory"] = 2] = "Directory";
1987
2007
  FileType[FileType["SymbolicLink"] = 64] = "SymbolicLink";
1988
- })(FileType = exports.FileType || (exports.FileType = {}));
2008
+ })(FileType || (exports.FileType = FileType = {}));
1989
2009
  let ProgressOptions = class ProgressOptions {
1990
2010
  constructor(location, title, cancellable) {
1991
2011
  this.location = location;
1992
2012
  }
1993
2013
  };
1994
- ProgressOptions = (0, tslib_1.__decorate)([
2014
+ exports.ProgressOptions = ProgressOptions;
2015
+ exports.ProgressOptions = ProgressOptions = tslib_1.__decorate([
1995
2016
  types_1.es5ClassCompat,
1996
- (0, tslib_1.__metadata)("design:paramtypes", [Number, String, Boolean])
2017
+ tslib_1.__metadata("design:paramtypes", [Number, String, Boolean])
1997
2018
  ], ProgressOptions);
1998
- exports.ProgressOptions = ProgressOptions;
1999
2019
  let Progress = class Progress {
2000
2020
  /**
2001
2021
  * Report a progress update.
@@ -2005,10 +2025,10 @@ let Progress = class Progress {
2005
2025
  report(value) {
2006
2026
  }
2007
2027
  };
2008
- Progress = (0, tslib_1.__decorate)([
2028
+ exports.Progress = Progress;
2029
+ exports.Progress = Progress = tslib_1.__decorate([
2009
2030
  types_1.es5ClassCompat
2010
2031
  ], Progress);
2011
- exports.Progress = Progress;
2012
2032
  var ProgressLocation;
2013
2033
  (function (ProgressLocation) {
2014
2034
  /**
@@ -2024,7 +2044,7 @@ var ProgressLocation;
2024
2044
  * Show progress as notification with an optional cancel button. Supports to show infinite and discrete progress.
2025
2045
  */
2026
2046
  ProgressLocation[ProgressLocation["Notification"] = 15] = "Notification";
2027
- })(ProgressLocation = exports.ProgressLocation || (exports.ProgressLocation = {}));
2047
+ })(ProgressLocation || (exports.ProgressLocation = ProgressLocation = {}));
2028
2048
  let ProcessExecution = class ProcessExecution {
2029
2049
  constructor(process, varg1, varg2) {
2030
2050
  if (typeof process !== 'string') {
@@ -2073,34 +2093,34 @@ let ProcessExecution = class ProcessExecution {
2073
2093
  return candidate && !!candidate.process;
2074
2094
  }
2075
2095
  };
2076
- ProcessExecution = (0, tslib_1.__decorate)([
2096
+ exports.ProcessExecution = ProcessExecution;
2097
+ exports.ProcessExecution = ProcessExecution = tslib_1.__decorate([
2077
2098
  types_1.es5ClassCompat,
2078
- (0, tslib_1.__metadata)("design:paramtypes", [String, Object, Object])
2099
+ tslib_1.__metadata("design:paramtypes", [String, Object, Object])
2079
2100
  ], ProcessExecution);
2080
- exports.ProcessExecution = ProcessExecution;
2081
2101
  var QuickPickItemKind;
2082
2102
  (function (QuickPickItemKind) {
2083
2103
  QuickPickItemKind[QuickPickItemKind["Separator"] = -1] = "Separator";
2084
2104
  QuickPickItemKind[QuickPickItemKind["Default"] = 0] = "Default";
2085
- })(QuickPickItemKind = exports.QuickPickItemKind || (exports.QuickPickItemKind = {}));
2105
+ })(QuickPickItemKind || (exports.QuickPickItemKind = QuickPickItemKind = {}));
2086
2106
  var ShellQuoting;
2087
2107
  (function (ShellQuoting) {
2088
2108
  ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
2089
2109
  ShellQuoting[ShellQuoting["Strong"] = 2] = "Strong";
2090
2110
  ShellQuoting[ShellQuoting["Weak"] = 3] = "Weak";
2091
- })(ShellQuoting = exports.ShellQuoting || (exports.ShellQuoting = {}));
2111
+ })(ShellQuoting || (exports.ShellQuoting = ShellQuoting = {}));
2092
2112
  var TaskPanelKind;
2093
2113
  (function (TaskPanelKind) {
2094
2114
  TaskPanelKind[TaskPanelKind["Shared"] = 1] = "Shared";
2095
2115
  TaskPanelKind[TaskPanelKind["Dedicated"] = 2] = "Dedicated";
2096
2116
  TaskPanelKind[TaskPanelKind["New"] = 3] = "New";
2097
- })(TaskPanelKind = exports.TaskPanelKind || (exports.TaskPanelKind = {}));
2117
+ })(TaskPanelKind || (exports.TaskPanelKind = TaskPanelKind = {}));
2098
2118
  var TaskRevealKind;
2099
2119
  (function (TaskRevealKind) {
2100
2120
  TaskRevealKind[TaskRevealKind["Always"] = 1] = "Always";
2101
2121
  TaskRevealKind[TaskRevealKind["Silent"] = 2] = "Silent";
2102
2122
  TaskRevealKind[TaskRevealKind["Never"] = 3] = "Never";
2103
- })(TaskRevealKind = exports.TaskRevealKind || (exports.TaskRevealKind = {}));
2123
+ })(TaskRevealKind || (exports.TaskRevealKind = TaskRevealKind = {}));
2104
2124
  let ShellExecution = class ShellExecution {
2105
2125
  constructor(arg0, arg1, arg2) {
2106
2126
  if (Array.isArray(arg1) || typeof arg1 === 'string') {
@@ -2157,11 +2177,11 @@ let ShellExecution = class ShellExecution {
2157
2177
  return candidate && (!!candidate.commandLine || !!candidate.command);
2158
2178
  }
2159
2179
  };
2160
- ShellExecution = (0, tslib_1.__decorate)([
2180
+ exports.ShellExecution = ShellExecution;
2181
+ exports.ShellExecution = ShellExecution = tslib_1.__decorate([
2161
2182
  types_1.es5ClassCompat,
2162
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Object, Object])
2183
+ tslib_1.__metadata("design:paramtypes", [Object, Object, Object])
2163
2184
  ], ShellExecution);
2164
- exports.ShellExecution = ShellExecution;
2165
2185
  let CustomExecution = class CustomExecution {
2166
2186
  constructor(callback) {
2167
2187
  this._callback = callback;
@@ -2177,16 +2197,12 @@ let CustomExecution = class CustomExecution {
2177
2197
  return candidate && (!!candidate._callback);
2178
2198
  }
2179
2199
  };
2180
- CustomExecution = (0, tslib_1.__decorate)([
2200
+ exports.CustomExecution = CustomExecution;
2201
+ exports.CustomExecution = CustomExecution = tslib_1.__decorate([
2181
2202
  types_1.es5ClassCompat,
2182
- (0, tslib_1.__metadata)("design:paramtypes", [Function])
2203
+ tslib_1.__metadata("design:paramtypes", [Function])
2183
2204
  ], CustomExecution);
2184
- exports.CustomExecution = CustomExecution;
2185
2205
  let TaskGroup = TaskGroup_1 = class TaskGroup {
2186
- constructor(id, label, isDefault) {
2187
- this.id = id;
2188
- this.isDefault = !!isDefault;
2189
- }
2190
2206
  static from(value) {
2191
2207
  switch (value) {
2192
2208
  case 'clean':
@@ -2201,21 +2217,25 @@ let TaskGroup = TaskGroup_1 = class TaskGroup {
2201
2217
  return undefined;
2202
2218
  }
2203
2219
  }
2220
+ constructor(id, label, isDefault) {
2221
+ this.id = id;
2222
+ this.isDefault = !!isDefault;
2223
+ }
2204
2224
  };
2225
+ exports.TaskGroup = TaskGroup;
2205
2226
  TaskGroup.Clean = new TaskGroup_1('clean', 'Clean');
2206
2227
  TaskGroup.Build = new TaskGroup_1('build', 'Build');
2207
2228
  TaskGroup.Rebuild = new TaskGroup_1('rebuild', 'Rebuild');
2208
2229
  TaskGroup.Test = new TaskGroup_1('test', 'Test');
2209
- TaskGroup = TaskGroup_1 = (0, tslib_1.__decorate)([
2230
+ exports.TaskGroup = TaskGroup = TaskGroup_1 = tslib_1.__decorate([
2210
2231
  types_1.es5ClassCompat,
2211
- (0, tslib_1.__metadata)("design:paramtypes", [String, String, Object])
2232
+ tslib_1.__metadata("design:paramtypes", [String, String, Object])
2212
2233
  ], TaskGroup);
2213
- exports.TaskGroup = TaskGroup;
2214
2234
  var TaskScope;
2215
2235
  (function (TaskScope) {
2216
2236
  TaskScope[TaskScope["Global"] = 1] = "Global";
2217
2237
  TaskScope[TaskScope["Workspace"] = 2] = "Workspace";
2218
- })(TaskScope = exports.TaskScope || (exports.TaskScope = {}));
2238
+ })(TaskScope || (exports.TaskScope = TaskScope = {}));
2219
2239
  let Task = class Task {
2220
2240
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2221
2241
  constructor(...args) {
@@ -2363,17 +2383,17 @@ let Task = class Task {
2363
2383
  this.taskRunOptions = value;
2364
2384
  }
2365
2385
  };
2366
- Task = (0, tslib_1.__decorate)([
2386
+ exports.Task = Task;
2387
+ exports.Task = Task = tslib_1.__decorate([
2367
2388
  types_1.es5ClassCompat,
2368
- (0, tslib_1.__metadata)("design:paramtypes", [Object])
2389
+ tslib_1.__metadata("design:paramtypes", [Object])
2369
2390
  ], Task);
2370
- exports.Task = Task;
2371
2391
  let Task2 = class Task2 extends Task {
2372
2392
  };
2373
- Task2 = (0, tslib_1.__decorate)([
2393
+ exports.Task2 = Task2;
2394
+ exports.Task2 = Task2 = tslib_1.__decorate([
2374
2395
  types_1.es5ClassCompat
2375
2396
  ], Task2);
2376
- exports.Task2 = Task2;
2377
2397
  let DebugAdapterExecutable = class DebugAdapterExecutable {
2378
2398
  /**
2379
2399
  * Creates a description for a debug adapter based on an executable program.
@@ -2388,18 +2408,17 @@ let DebugAdapterExecutable = class DebugAdapterExecutable {
2388
2408
  this.options = options;
2389
2409
  }
2390
2410
  };
2391
- DebugAdapterExecutable = (0, tslib_1.__decorate)([
2411
+ exports.DebugAdapterExecutable = DebugAdapterExecutable;
2412
+ exports.DebugAdapterExecutable = DebugAdapterExecutable = tslib_1.__decorate([
2392
2413
  types_1.es5ClassCompat,
2393
- (0, tslib_1.__metadata)("design:paramtypes", [String, Array, Object])
2414
+ tslib_1.__metadata("design:paramtypes", [String, Array, Object])
2394
2415
  ], DebugAdapterExecutable);
2395
- exports.DebugAdapterExecutable = DebugAdapterExecutable;
2396
2416
  (function (DebugAdapterExecutable) {
2397
2417
  function is(adapter) {
2398
2418
  return !!adapter && 'command' in adapter;
2399
2419
  }
2400
2420
  DebugAdapterExecutable.is = is;
2401
- })(DebugAdapterExecutable = exports.DebugAdapterExecutable || (exports.DebugAdapterExecutable = {}));
2402
- exports.DebugAdapterExecutable = DebugAdapterExecutable;
2421
+ })(DebugAdapterExecutable || (exports.DebugAdapterExecutable = DebugAdapterExecutable = {}));
2403
2422
  /**
2404
2423
  * Represents a debug adapter running as a socket based server.
2405
2424
  */
@@ -2412,18 +2431,17 @@ let DebugAdapterServer = class DebugAdapterServer {
2412
2431
  this.host = host;
2413
2432
  }
2414
2433
  };
2415
- DebugAdapterServer = (0, tslib_1.__decorate)([
2434
+ exports.DebugAdapterServer = DebugAdapterServer;
2435
+ exports.DebugAdapterServer = DebugAdapterServer = tslib_1.__decorate([
2416
2436
  types_1.es5ClassCompat,
2417
- (0, tslib_1.__metadata)("design:paramtypes", [Number, String])
2437
+ tslib_1.__metadata("design:paramtypes", [Number, String])
2418
2438
  ], DebugAdapterServer);
2419
- exports.DebugAdapterServer = DebugAdapterServer;
2420
2439
  (function (DebugAdapterServer) {
2421
2440
  function is(adapter) {
2422
2441
  return !!adapter && 'port' in adapter;
2423
2442
  }
2424
2443
  DebugAdapterServer.is = is;
2425
- })(DebugAdapterServer = exports.DebugAdapterServer || (exports.DebugAdapterServer = {}));
2426
- exports.DebugAdapterServer = DebugAdapterServer;
2444
+ })(DebugAdapterServer || (exports.DebugAdapterServer = DebugAdapterServer = {}));
2427
2445
  /**
2428
2446
  * Represents a debug adapter running as a Named Pipe (on Windows)/UNIX Domain Socket (on non-Windows) based server.
2429
2447
  */
@@ -2435,18 +2453,17 @@ let DebugAdapterNamedPipeServer = class DebugAdapterNamedPipeServer {
2435
2453
  this.path = path;
2436
2454
  }
2437
2455
  };
2438
- DebugAdapterNamedPipeServer = (0, tslib_1.__decorate)([
2456
+ exports.DebugAdapterNamedPipeServer = DebugAdapterNamedPipeServer;
2457
+ exports.DebugAdapterNamedPipeServer = DebugAdapterNamedPipeServer = tslib_1.__decorate([
2439
2458
  types_1.es5ClassCompat,
2440
- (0, tslib_1.__metadata)("design:paramtypes", [String])
2459
+ tslib_1.__metadata("design:paramtypes", [String])
2441
2460
  ], DebugAdapterNamedPipeServer);
2442
- exports.DebugAdapterNamedPipeServer = DebugAdapterNamedPipeServer;
2443
2461
  (function (DebugAdapterNamedPipeServer) {
2444
2462
  function is(adapter) {
2445
2463
  return !!adapter && 'path' in adapter;
2446
2464
  }
2447
2465
  DebugAdapterNamedPipeServer.is = is;
2448
- })(DebugAdapterNamedPipeServer = exports.DebugAdapterNamedPipeServer || (exports.DebugAdapterNamedPipeServer = {}));
2449
- exports.DebugAdapterNamedPipeServer = DebugAdapterNamedPipeServer;
2466
+ })(DebugAdapterNamedPipeServer || (exports.DebugAdapterNamedPipeServer = DebugAdapterNamedPipeServer = {}));
2450
2467
  /**
2451
2468
  * A debug adapter descriptor for an inline implementation.
2452
2469
  */
@@ -2458,18 +2475,17 @@ let DebugAdapterInlineImplementation = class DebugAdapterInlineImplementation {
2458
2475
  this.implementation = impl;
2459
2476
  }
2460
2477
  };
2461
- DebugAdapterInlineImplementation = (0, tslib_1.__decorate)([
2478
+ exports.DebugAdapterInlineImplementation = DebugAdapterInlineImplementation;
2479
+ exports.DebugAdapterInlineImplementation = DebugAdapterInlineImplementation = tslib_1.__decorate([
2462
2480
  types_1.es5ClassCompat,
2463
- (0, tslib_1.__metadata)("design:paramtypes", [Object])
2481
+ tslib_1.__metadata("design:paramtypes", [Object])
2464
2482
  ], DebugAdapterInlineImplementation);
2465
- exports.DebugAdapterInlineImplementation = DebugAdapterInlineImplementation;
2466
2483
  (function (DebugAdapterInlineImplementation) {
2467
2484
  function is(adapter) {
2468
2485
  return !!adapter && 'implementation' in adapter;
2469
2486
  }
2470
2487
  DebugAdapterInlineImplementation.is = is;
2471
- })(DebugAdapterInlineImplementation = exports.DebugAdapterInlineImplementation || (exports.DebugAdapterInlineImplementation = {}));
2472
- exports.DebugAdapterInlineImplementation = DebugAdapterInlineImplementation;
2488
+ })(DebugAdapterInlineImplementation || (exports.DebugAdapterInlineImplementation = DebugAdapterInlineImplementation = {}));
2473
2489
  var LogLevel;
2474
2490
  (function (LogLevel) {
2475
2491
  LogLevel[LogLevel["Off"] = 0] = "Off";
@@ -2478,7 +2494,7 @@ var LogLevel;
2478
2494
  LogLevel[LogLevel["Info"] = 3] = "Info";
2479
2495
  LogLevel[LogLevel["Warning"] = 4] = "Warning";
2480
2496
  LogLevel[LogLevel["Error"] = 5] = "Error";
2481
- })(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
2497
+ })(LogLevel || (exports.LogLevel = LogLevel = {}));
2482
2498
  /**
2483
2499
  * The base class of all breakpoint types.
2484
2500
  */
@@ -2500,11 +2516,11 @@ let Breakpoint = class Breakpoint {
2500
2516
  return this._id;
2501
2517
  }
2502
2518
  };
2503
- Breakpoint = (0, tslib_1.__decorate)([
2519
+ exports.Breakpoint = Breakpoint;
2520
+ exports.Breakpoint = Breakpoint = tslib_1.__decorate([
2504
2521
  types_1.es5ClassCompat,
2505
- (0, tslib_1.__metadata)("design:paramtypes", [Boolean, String, String, String, String])
2522
+ tslib_1.__metadata("design:paramtypes", [Boolean, String, String, String, String])
2506
2523
  ], Breakpoint);
2507
- exports.Breakpoint = Breakpoint;
2508
2524
  /**
2509
2525
  * A breakpoint specified by a source location.
2510
2526
  */
@@ -2517,11 +2533,11 @@ let SourceBreakpoint = class SourceBreakpoint extends Breakpoint {
2517
2533
  this.location = location;
2518
2534
  }
2519
2535
  };
2520
- SourceBreakpoint = (0, tslib_1.__decorate)([
2536
+ exports.SourceBreakpoint = SourceBreakpoint;
2537
+ exports.SourceBreakpoint = SourceBreakpoint = tslib_1.__decorate([
2521
2538
  types_1.es5ClassCompat,
2522
- (0, tslib_1.__metadata)("design:paramtypes", [Location, Boolean, String, String, String, String])
2539
+ tslib_1.__metadata("design:paramtypes", [Location, Boolean, String, String, String, String])
2523
2540
  ], SourceBreakpoint);
2524
- exports.SourceBreakpoint = SourceBreakpoint;
2525
2541
  /**
2526
2542
  * A breakpoint specified by a function name.
2527
2543
  */
@@ -2534,11 +2550,11 @@ let FunctionBreakpoint = class FunctionBreakpoint extends Breakpoint {
2534
2550
  this.functionName = functionName;
2535
2551
  }
2536
2552
  };
2537
- FunctionBreakpoint = (0, tslib_1.__decorate)([
2553
+ exports.FunctionBreakpoint = FunctionBreakpoint;
2554
+ exports.FunctionBreakpoint = FunctionBreakpoint = tslib_1.__decorate([
2538
2555
  types_1.es5ClassCompat,
2539
- (0, tslib_1.__metadata)("design:paramtypes", [String, Boolean, String, String, String, String])
2556
+ tslib_1.__metadata("design:paramtypes", [String, Boolean, String, String, String, String])
2540
2557
  ], FunctionBreakpoint);
2541
- exports.FunctionBreakpoint = FunctionBreakpoint;
2542
2558
  let Color = class Color {
2543
2559
  constructor(red, green, blue, alpha) {
2544
2560
  this.red = red;
@@ -2547,11 +2563,11 @@ let Color = class Color {
2547
2563
  this.alpha = alpha;
2548
2564
  }
2549
2565
  };
2550
- Color = (0, tslib_1.__decorate)([
2566
+ exports.Color = Color;
2567
+ exports.Color = Color = tslib_1.__decorate([
2551
2568
  types_1.es5ClassCompat,
2552
- (0, tslib_1.__metadata)("design:paramtypes", [Number, Number, Number, Number])
2569
+ tslib_1.__metadata("design:paramtypes", [Number, Number, Number, Number])
2553
2570
  ], Color);
2554
- exports.Color = Color;
2555
2571
  let ColorInformation = class ColorInformation {
2556
2572
  constructor(range, color) {
2557
2573
  if (color && !(color instanceof Color)) {
@@ -2564,11 +2580,11 @@ let ColorInformation = class ColorInformation {
2564
2580
  this.color = color;
2565
2581
  }
2566
2582
  };
2567
- ColorInformation = (0, tslib_1.__decorate)([
2583
+ exports.ColorInformation = ColorInformation;
2584
+ exports.ColorInformation = ColorInformation = tslib_1.__decorate([
2568
2585
  types_1.es5ClassCompat,
2569
- (0, tslib_1.__metadata)("design:paramtypes", [Range, Color])
2586
+ tslib_1.__metadata("design:paramtypes", [Range, Color])
2570
2587
  ], ColorInformation);
2571
- exports.ColorInformation = ColorInformation;
2572
2588
  let ColorPresentation = class ColorPresentation {
2573
2589
  constructor(label) {
2574
2590
  if (!label || typeof label !== 'string') {
@@ -2577,27 +2593,27 @@ let ColorPresentation = class ColorPresentation {
2577
2593
  this.label = label;
2578
2594
  }
2579
2595
  };
2580
- ColorPresentation = (0, tslib_1.__decorate)([
2596
+ exports.ColorPresentation = ColorPresentation;
2597
+ exports.ColorPresentation = ColorPresentation = tslib_1.__decorate([
2581
2598
  types_1.es5ClassCompat,
2582
- (0, tslib_1.__metadata)("design:paramtypes", [String])
2599
+ tslib_1.__metadata("design:paramtypes", [String])
2583
2600
  ], ColorPresentation);
2584
- exports.ColorPresentation = ColorPresentation;
2585
2601
  var ColorFormat;
2586
2602
  (function (ColorFormat) {
2587
2603
  ColorFormat[ColorFormat["RGB"] = 0] = "RGB";
2588
2604
  ColorFormat[ColorFormat["HEX"] = 1] = "HEX";
2589
2605
  ColorFormat[ColorFormat["HSL"] = 2] = "HSL";
2590
- })(ColorFormat = exports.ColorFormat || (exports.ColorFormat = {}));
2606
+ })(ColorFormat || (exports.ColorFormat = ColorFormat = {}));
2591
2607
  let InlayHintLabelPart = class InlayHintLabelPart {
2592
2608
  constructor(value) {
2593
2609
  this.value = value;
2594
2610
  }
2595
2611
  };
2596
- InlayHintLabelPart = (0, tslib_1.__decorate)([
2612
+ exports.InlayHintLabelPart = InlayHintLabelPart;
2613
+ exports.InlayHintLabelPart = InlayHintLabelPart = tslib_1.__decorate([
2597
2614
  types_1.es5ClassCompat,
2598
- (0, tslib_1.__metadata)("design:paramtypes", [String])
2615
+ tslib_1.__metadata("design:paramtypes", [String])
2599
2616
  ], InlayHintLabelPart);
2600
- exports.InlayHintLabelPart = InlayHintLabelPart;
2601
2617
  let InlayHint = class InlayHint {
2602
2618
  constructor(position, label, kind) {
2603
2619
  this.position = position;
@@ -2605,16 +2621,16 @@ let InlayHint = class InlayHint {
2605
2621
  this.kind = kind;
2606
2622
  }
2607
2623
  };
2608
- InlayHint = (0, tslib_1.__decorate)([
2624
+ exports.InlayHint = InlayHint;
2625
+ exports.InlayHint = InlayHint = tslib_1.__decorate([
2609
2626
  types_1.es5ClassCompat,
2610
- (0, tslib_1.__metadata)("design:paramtypes", [Function, Object, Number])
2627
+ tslib_1.__metadata("design:paramtypes", [Function, Object, Number])
2611
2628
  ], InlayHint);
2612
- exports.InlayHint = InlayHint;
2613
2629
  var InlayHintKind;
2614
2630
  (function (InlayHintKind) {
2615
2631
  InlayHintKind[InlayHintKind["Type"] = 1] = "Type";
2616
2632
  InlayHintKind[InlayHintKind["Parameter"] = 2] = "Parameter";
2617
- })(InlayHintKind = exports.InlayHintKind || (exports.InlayHintKind = {}));
2633
+ })(InlayHintKind || (exports.InlayHintKind = InlayHintKind = {}));
2618
2634
  let FoldingRange = class FoldingRange {
2619
2635
  constructor(start, end, kind) {
2620
2636
  this.start = start;
@@ -2622,17 +2638,17 @@ let FoldingRange = class FoldingRange {
2622
2638
  this.kind = kind;
2623
2639
  }
2624
2640
  };
2625
- FoldingRange = (0, tslib_1.__decorate)([
2641
+ exports.FoldingRange = FoldingRange;
2642
+ exports.FoldingRange = FoldingRange = tslib_1.__decorate([
2626
2643
  types_1.es5ClassCompat,
2627
- (0, tslib_1.__metadata)("design:paramtypes", [Number, Number, Number])
2644
+ tslib_1.__metadata("design:paramtypes", [Number, Number, Number])
2628
2645
  ], FoldingRange);
2629
- exports.FoldingRange = FoldingRange;
2630
2646
  var FoldingRangeKind;
2631
2647
  (function (FoldingRangeKind) {
2632
2648
  FoldingRangeKind[FoldingRangeKind["Comment"] = 1] = "Comment";
2633
2649
  FoldingRangeKind[FoldingRangeKind["Imports"] = 2] = "Imports";
2634
2650
  FoldingRangeKind[FoldingRangeKind["Region"] = 3] = "Region";
2635
- })(FoldingRangeKind = exports.FoldingRangeKind || (exports.FoldingRangeKind = {}));
2651
+ })(FoldingRangeKind || (exports.FoldingRangeKind = FoldingRangeKind = {}));
2636
2652
  let SelectionRange = class SelectionRange {
2637
2653
  constructor(range, parent) {
2638
2654
  this.range = range;
@@ -2642,11 +2658,11 @@ let SelectionRange = class SelectionRange {
2642
2658
  }
2643
2659
  }
2644
2660
  };
2645
- SelectionRange = (0, tslib_1.__decorate)([
2661
+ exports.SelectionRange = SelectionRange;
2662
+ exports.SelectionRange = SelectionRange = tslib_1.__decorate([
2646
2663
  types_1.es5ClassCompat,
2647
- (0, tslib_1.__metadata)("design:paramtypes", [Range, SelectionRange])
2664
+ tslib_1.__metadata("design:paramtypes", [Range, SelectionRange])
2648
2665
  ], SelectionRange);
2649
- exports.SelectionRange = SelectionRange;
2650
2666
  /**
2651
2667
  * Enumeration of the supported operating systems.
2652
2668
  */
@@ -2655,7 +2671,7 @@ var OperatingSystem;
2655
2671
  OperatingSystem["Windows"] = "Windows";
2656
2672
  OperatingSystem["Linux"] = "Linux";
2657
2673
  OperatingSystem["OSX"] = "OSX";
2658
- })(OperatingSystem = exports.OperatingSystem || (exports.OperatingSystem = {}));
2674
+ })(OperatingSystem || (exports.OperatingSystem = OperatingSystem = {}));
2659
2675
  /** The areas of the application shell where webview panel can reside. */
2660
2676
  var WebviewPanelTargetArea;
2661
2677
  (function (WebviewPanelTargetArea) {
@@ -2663,7 +2679,7 @@ var WebviewPanelTargetArea;
2663
2679
  WebviewPanelTargetArea["Left"] = "left";
2664
2680
  WebviewPanelTargetArea["Right"] = "right";
2665
2681
  WebviewPanelTargetArea["Bottom"] = "bottom";
2666
- })(WebviewPanelTargetArea = exports.WebviewPanelTargetArea || (exports.WebviewPanelTargetArea = {}));
2682
+ })(WebviewPanelTargetArea || (exports.WebviewPanelTargetArea = WebviewPanelTargetArea = {}));
2667
2683
  /**
2668
2684
  * Possible kinds of UI that can use extensions.
2669
2685
  */
@@ -2677,7 +2693,7 @@ var UIKind;
2677
2693
  * Extensions are accessed from a web browser.
2678
2694
  */
2679
2695
  UIKind[UIKind["Web"] = 2] = "Web";
2680
- })(UIKind = exports.UIKind || (exports.UIKind = {}));
2696
+ })(UIKind || (exports.UIKind = UIKind = {}));
2681
2697
  let CallHierarchyItem = CallHierarchyItem_1 = class CallHierarchyItem {
2682
2698
  constructor(kind, name, detail, uri, range, selectionRange) {
2683
2699
  this.kind = kind;
@@ -2701,33 +2717,33 @@ let CallHierarchyItem = CallHierarchyItem_1 = class CallHierarchyItem {
2701
2717
  Range.isRange(thing.selectionRange);
2702
2718
  }
2703
2719
  };
2704
- CallHierarchyItem = CallHierarchyItem_1 = (0, tslib_1.__decorate)([
2720
+ exports.CallHierarchyItem = CallHierarchyItem;
2721
+ exports.CallHierarchyItem = CallHierarchyItem = CallHierarchyItem_1 = tslib_1.__decorate([
2705
2722
  types_1.es5ClassCompat,
2706
- (0, tslib_1.__metadata)("design:paramtypes", [Number, String, String, URI, Range, Range])
2723
+ tslib_1.__metadata("design:paramtypes", [Number, String, String, URI, Range, Range])
2707
2724
  ], CallHierarchyItem);
2708
- exports.CallHierarchyItem = CallHierarchyItem;
2709
2725
  let CallHierarchyIncomingCall = class CallHierarchyIncomingCall {
2710
2726
  constructor(item, fromRanges) {
2711
2727
  this.fromRanges = fromRanges;
2712
2728
  this.from = item;
2713
2729
  }
2714
2730
  };
2715
- CallHierarchyIncomingCall = (0, tslib_1.__decorate)([
2731
+ exports.CallHierarchyIncomingCall = CallHierarchyIncomingCall;
2732
+ exports.CallHierarchyIncomingCall = CallHierarchyIncomingCall = tslib_1.__decorate([
2716
2733
  types_1.es5ClassCompat,
2717
- (0, tslib_1.__metadata)("design:paramtypes", [CallHierarchyItem, Array])
2734
+ tslib_1.__metadata("design:paramtypes", [CallHierarchyItem, Array])
2718
2735
  ], CallHierarchyIncomingCall);
2719
- exports.CallHierarchyIncomingCall = CallHierarchyIncomingCall;
2720
2736
  let CallHierarchyOutgoingCall = class CallHierarchyOutgoingCall {
2721
2737
  constructor(item, fromRanges) {
2722
2738
  this.fromRanges = fromRanges;
2723
2739
  this.to = item;
2724
2740
  }
2725
2741
  };
2726
- CallHierarchyOutgoingCall = (0, tslib_1.__decorate)([
2742
+ exports.CallHierarchyOutgoingCall = CallHierarchyOutgoingCall;
2743
+ exports.CallHierarchyOutgoingCall = CallHierarchyOutgoingCall = tslib_1.__decorate([
2727
2744
  types_1.es5ClassCompat,
2728
- (0, tslib_1.__metadata)("design:paramtypes", [CallHierarchyItem, Array])
2745
+ tslib_1.__metadata("design:paramtypes", [CallHierarchyItem, Array])
2729
2746
  ], CallHierarchyOutgoingCall);
2730
- exports.CallHierarchyOutgoingCall = CallHierarchyOutgoingCall;
2731
2747
  let TypeHierarchyItem = TypeHierarchyItem_1 = class TypeHierarchyItem {
2732
2748
  constructor(kind, name, detail, uri, range, selectionRange) {
2733
2749
  this.kind = kind;
@@ -2751,28 +2767,28 @@ let TypeHierarchyItem = TypeHierarchyItem_1 = class TypeHierarchyItem {
2751
2767
  Range.isRange(thing.selectionRange);
2752
2768
  }
2753
2769
  };
2754
- TypeHierarchyItem = TypeHierarchyItem_1 = (0, tslib_1.__decorate)([
2770
+ exports.TypeHierarchyItem = TypeHierarchyItem;
2771
+ exports.TypeHierarchyItem = TypeHierarchyItem = TypeHierarchyItem_1 = tslib_1.__decorate([
2755
2772
  types_1.es5ClassCompat,
2756
- (0, tslib_1.__metadata)("design:paramtypes", [Number, String, String, URI, Range, Range])
2773
+ tslib_1.__metadata("design:paramtypes", [Number, String, String, URI, Range, Range])
2757
2774
  ], TypeHierarchyItem);
2758
- exports.TypeHierarchyItem = TypeHierarchyItem;
2759
2775
  var LanguageStatusSeverity;
2760
2776
  (function (LanguageStatusSeverity) {
2761
2777
  LanguageStatusSeverity[LanguageStatusSeverity["Information"] = 0] = "Information";
2762
2778
  LanguageStatusSeverity[LanguageStatusSeverity["Warning"] = 1] = "Warning";
2763
2779
  LanguageStatusSeverity[LanguageStatusSeverity["Error"] = 2] = "Error";
2764
- })(LanguageStatusSeverity = exports.LanguageStatusSeverity || (exports.LanguageStatusSeverity = {}));
2780
+ })(LanguageStatusSeverity || (exports.LanguageStatusSeverity = LanguageStatusSeverity = {}));
2765
2781
  let LinkedEditingRanges = class LinkedEditingRanges {
2766
2782
  constructor(ranges, wordPattern) {
2767
2783
  this.ranges = ranges;
2768
2784
  this.wordPattern = wordPattern;
2769
2785
  }
2770
2786
  };
2771
- LinkedEditingRanges = (0, tslib_1.__decorate)([
2787
+ exports.LinkedEditingRanges = LinkedEditingRanges;
2788
+ exports.LinkedEditingRanges = LinkedEditingRanges = tslib_1.__decorate([
2772
2789
  types_1.es5ClassCompat,
2773
- (0, tslib_1.__metadata)("design:paramtypes", [Array, RegExp])
2790
+ tslib_1.__metadata("design:paramtypes", [Array, RegExp])
2774
2791
  ], LinkedEditingRanges);
2775
- exports.LinkedEditingRanges = LinkedEditingRanges;
2776
2792
  // Copied from https://github.com/microsoft/vscode/blob/1.72.2/src/vs/workbench/api/common/extHostTypes.ts
2777
2793
  var TestResultState;
2778
2794
  (function (TestResultState) {
@@ -2782,23 +2798,23 @@ var TestResultState;
2782
2798
  TestResultState[TestResultState["Failed"] = 4] = "Failed";
2783
2799
  TestResultState[TestResultState["Skipped"] = 5] = "Skipped";
2784
2800
  TestResultState[TestResultState["Errored"] = 6] = "Errored";
2785
- })(TestResultState = exports.TestResultState || (exports.TestResultState = {}));
2801
+ })(TestResultState || (exports.TestResultState = TestResultState = {}));
2786
2802
  var TestRunProfileKind;
2787
2803
  (function (TestRunProfileKind) {
2788
2804
  TestRunProfileKind[TestRunProfileKind["Run"] = 1] = "Run";
2789
2805
  TestRunProfileKind[TestRunProfileKind["Debug"] = 2] = "Debug";
2790
2806
  TestRunProfileKind[TestRunProfileKind["Coverage"] = 3] = "Coverage";
2791
- })(TestRunProfileKind = exports.TestRunProfileKind || (exports.TestRunProfileKind = {}));
2807
+ })(TestRunProfileKind || (exports.TestRunProfileKind = TestRunProfileKind = {}));
2792
2808
  let TestTag = class TestTag {
2793
2809
  constructor(id) {
2794
2810
  this.id = id;
2795
2811
  }
2796
2812
  };
2797
- TestTag = (0, tslib_1.__decorate)([
2813
+ exports.TestTag = TestTag;
2814
+ exports.TestTag = TestTag = tslib_1.__decorate([
2798
2815
  types_1.es5ClassCompat,
2799
- (0, tslib_1.__metadata)("design:paramtypes", [String])
2816
+ tslib_1.__metadata("design:paramtypes", [String])
2800
2817
  ], TestTag);
2801
- exports.TestTag = TestTag;
2802
2818
  let nextTestRunId = 0;
2803
2819
  let TestRunRequest = class TestRunRequest {
2804
2820
  constructor(include = undefined, exclude = undefined, profile = undefined, continuous = undefined) {
@@ -2809,45 +2825,39 @@ let TestRunRequest = class TestRunRequest {
2809
2825
  this.testRunId = nextTestRunId++;
2810
2826
  }
2811
2827
  };
2812
- TestRunRequest = (0, tslib_1.__decorate)([
2828
+ exports.TestRunRequest = TestRunRequest;
2829
+ exports.TestRunRequest = TestRunRequest = tslib_1.__decorate([
2813
2830
  types_1.es5ClassCompat,
2814
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Object, Object, Object])
2831
+ tslib_1.__metadata("design:paramtypes", [Object, Object, Object, Object])
2815
2832
  ], TestRunRequest);
2816
- exports.TestRunRequest = TestRunRequest;
2817
2833
  let TestMessage = TestMessage_1 = class TestMessage {
2818
- constructor(message) {
2819
- this.message = message;
2820
- }
2821
2834
  static diff(message, expected, actual) {
2822
2835
  const msg = new TestMessage_1(message);
2823
2836
  msg.expectedOutput = expected;
2824
2837
  msg.actualOutput = actual;
2825
2838
  return msg;
2826
2839
  }
2840
+ constructor(message) {
2841
+ this.message = message;
2842
+ }
2827
2843
  };
2828
- TestMessage = TestMessage_1 = (0, tslib_1.__decorate)([
2844
+ exports.TestMessage = TestMessage;
2845
+ exports.TestMessage = TestMessage = TestMessage_1 = tslib_1.__decorate([
2829
2846
  types_1.es5ClassCompat,
2830
- (0, tslib_1.__metadata)("design:paramtypes", [Object])
2847
+ tslib_1.__metadata("design:paramtypes", [Object])
2831
2848
  ], TestMessage);
2832
- exports.TestMessage = TestMessage;
2833
2849
  let TestCoverageCount = class TestCoverageCount {
2834
2850
  constructor(covered, total) {
2835
2851
  this.covered = covered;
2836
2852
  this.total = total;
2837
2853
  }
2838
2854
  };
2839
- TestCoverageCount = (0, tslib_1.__decorate)([
2855
+ exports.TestCoverageCount = TestCoverageCount;
2856
+ exports.TestCoverageCount = TestCoverageCount = tslib_1.__decorate([
2840
2857
  types_1.es5ClassCompat,
2841
- (0, tslib_1.__metadata)("design:paramtypes", [Number, Number])
2858
+ tslib_1.__metadata("design:paramtypes", [Number, Number])
2842
2859
  ], TestCoverageCount);
2843
- exports.TestCoverageCount = TestCoverageCount;
2844
2860
  let FileCoverage = FileCoverage_1 = class FileCoverage {
2845
- constructor(uri, statementCoverage, branchCoverage, declarationCoverage) {
2846
- this.uri = uri;
2847
- this.statementCoverage = statementCoverage;
2848
- this.branchCoverage = branchCoverage;
2849
- this.declarationCoverage = declarationCoverage;
2850
- }
2851
2861
  static fromDetails(uri, details) {
2852
2862
  const statements = new TestCoverageCount(0, 0);
2853
2863
  const branches = new TestCoverageCount(0, 0);
@@ -2870,14 +2880,20 @@ let FileCoverage = FileCoverage_1 = class FileCoverage {
2870
2880
  coverage.detailedCoverage = details;
2871
2881
  return coverage;
2872
2882
  }
2883
+ constructor(uri, statementCoverage, branchCoverage, declarationCoverage) {
2884
+ this.uri = uri;
2885
+ this.statementCoverage = statementCoverage;
2886
+ this.branchCoverage = branchCoverage;
2887
+ this.declarationCoverage = declarationCoverage;
2888
+ }
2873
2889
  };
2874
- FileCoverage = FileCoverage_1 = (0, tslib_1.__decorate)([
2890
+ exports.FileCoverage = FileCoverage;
2891
+ exports.FileCoverage = FileCoverage = FileCoverage_1 = tslib_1.__decorate([
2875
2892
  types_1.es5ClassCompat,
2876
- (0, tslib_1.__metadata)("design:paramtypes", [Function, TestCoverageCount,
2893
+ tslib_1.__metadata("design:paramtypes", [Function, TestCoverageCount,
2877
2894
  TestCoverageCount,
2878
2895
  TestCoverageCount])
2879
2896
  ], FileCoverage);
2880
- exports.FileCoverage = FileCoverage;
2881
2897
  let StatementCoverage = class StatementCoverage {
2882
2898
  constructor(executed, location, branches = []) {
2883
2899
  this.executed = executed;
@@ -2885,11 +2901,11 @@ let StatementCoverage = class StatementCoverage {
2885
2901
  this.branches = branches;
2886
2902
  }
2887
2903
  };
2888
- StatementCoverage = (0, tslib_1.__decorate)([
2904
+ exports.StatementCoverage = StatementCoverage;
2905
+ exports.StatementCoverage = StatementCoverage = tslib_1.__decorate([
2889
2906
  types_1.es5ClassCompat,
2890
- (0, tslib_1.__metadata)("design:paramtypes", [Object, Object, Array])
2907
+ tslib_1.__metadata("design:paramtypes", [Object, Object, Array])
2891
2908
  ], StatementCoverage);
2892
- exports.StatementCoverage = StatementCoverage;
2893
2909
  class BranchCoverage {
2894
2910
  constructor(executed, location, label) {
2895
2911
  this.executed = executed;
@@ -2905,22 +2921,22 @@ let DeclarationCoverage = class DeclarationCoverage {
2905
2921
  this.location = location;
2906
2922
  }
2907
2923
  };
2908
- DeclarationCoverage = (0, tslib_1.__decorate)([
2924
+ exports.DeclarationCoverage = DeclarationCoverage;
2925
+ exports.DeclarationCoverage = DeclarationCoverage = tslib_1.__decorate([
2909
2926
  types_1.es5ClassCompat,
2910
- (0, tslib_1.__metadata)("design:paramtypes", [String, Object, Object])
2927
+ tslib_1.__metadata("design:paramtypes", [String, Object, Object])
2911
2928
  ], DeclarationCoverage);
2912
- exports.DeclarationCoverage = DeclarationCoverage;
2913
2929
  let TimelineItem = class TimelineItem {
2914
2930
  constructor(label, timestamp) {
2915
2931
  this.label = label;
2916
2932
  this.timestamp = timestamp;
2917
2933
  }
2918
2934
  };
2919
- TimelineItem = (0, tslib_1.__decorate)([
2935
+ exports.TimelineItem = TimelineItem;
2936
+ exports.TimelineItem = TimelineItem = tslib_1.__decorate([
2920
2937
  types_1.es5ClassCompat,
2921
- (0, tslib_1.__metadata)("design:paramtypes", [String, Number])
2938
+ tslib_1.__metadata("design:paramtypes", [String, Number])
2922
2939
  ], TimelineItem);
2923
- exports.TimelineItem = TimelineItem;
2924
2940
  // #region Semantic Coloring
2925
2941
  let SemanticTokensLegend = class SemanticTokensLegend {
2926
2942
  constructor(tokenTypes, tokenModifiers = []) {
@@ -2928,11 +2944,11 @@ let SemanticTokensLegend = class SemanticTokensLegend {
2928
2944
  this.tokenModifiers = tokenModifiers;
2929
2945
  }
2930
2946
  };
2931
- SemanticTokensLegend = (0, tslib_1.__decorate)([
2947
+ exports.SemanticTokensLegend = SemanticTokensLegend;
2948
+ exports.SemanticTokensLegend = SemanticTokensLegend = tslib_1.__decorate([
2932
2949
  types_1.es5ClassCompat,
2933
- (0, tslib_1.__metadata)("design:paramtypes", [Array, Array])
2950
+ tslib_1.__metadata("design:paramtypes", [Array, Array])
2934
2951
  ], SemanticTokensLegend);
2935
- exports.SemanticTokensLegend = SemanticTokensLegend;
2936
2952
  function isStrArrayOrUndefined(arg) {
2937
2953
  return typeof arg === 'undefined' || (0, common_1.isStringArray)(arg);
2938
2954
  }
@@ -3087,22 +3103,22 @@ let SemanticTokensBuilder = SemanticTokensBuilder_1 = class SemanticTokensBuilde
3087
3103
  return new SemanticTokens(new Uint32Array(this._data), resultId);
3088
3104
  }
3089
3105
  };
3090
- SemanticTokensBuilder = SemanticTokensBuilder_1 = (0, tslib_1.__decorate)([
3106
+ exports.SemanticTokensBuilder = SemanticTokensBuilder;
3107
+ exports.SemanticTokensBuilder = SemanticTokensBuilder = SemanticTokensBuilder_1 = tslib_1.__decorate([
3091
3108
  types_1.es5ClassCompat,
3092
- (0, tslib_1.__metadata)("design:paramtypes", [SemanticTokensLegend])
3109
+ tslib_1.__metadata("design:paramtypes", [SemanticTokensLegend])
3093
3110
  ], SemanticTokensBuilder);
3094
- exports.SemanticTokensBuilder = SemanticTokensBuilder;
3095
3111
  let SemanticTokens = class SemanticTokens {
3096
3112
  constructor(data, resultId) {
3097
3113
  this.resultId = resultId;
3098
3114
  this.data = data;
3099
3115
  }
3100
3116
  };
3101
- SemanticTokens = (0, tslib_1.__decorate)([
3117
+ exports.SemanticTokens = SemanticTokens;
3118
+ exports.SemanticTokens = SemanticTokens = tslib_1.__decorate([
3102
3119
  types_1.es5ClassCompat,
3103
- (0, tslib_1.__metadata)("design:paramtypes", [Uint32Array, String])
3120
+ tslib_1.__metadata("design:paramtypes", [Uint32Array, String])
3104
3121
  ], SemanticTokens);
3105
- exports.SemanticTokens = SemanticTokens;
3106
3122
  let SemanticTokensEdit = class SemanticTokensEdit {
3107
3123
  constructor(start, deleteCount, data) {
3108
3124
  this.start = start;
@@ -3110,28 +3126,28 @@ let SemanticTokensEdit = class SemanticTokensEdit {
3110
3126
  this.data = data;
3111
3127
  }
3112
3128
  };
3113
- SemanticTokensEdit = (0, tslib_1.__decorate)([
3129
+ exports.SemanticTokensEdit = SemanticTokensEdit;
3130
+ exports.SemanticTokensEdit = SemanticTokensEdit = tslib_1.__decorate([
3114
3131
  types_1.es5ClassCompat,
3115
- (0, tslib_1.__metadata)("design:paramtypes", [Number, Number, Uint32Array])
3132
+ tslib_1.__metadata("design:paramtypes", [Number, Number, Uint32Array])
3116
3133
  ], SemanticTokensEdit);
3117
- exports.SemanticTokensEdit = SemanticTokensEdit;
3118
3134
  let SemanticTokensEdits = class SemanticTokensEdits {
3119
3135
  constructor(edits, resultId) {
3120
3136
  this.resultId = resultId;
3121
3137
  this.edits = edits;
3122
3138
  }
3123
3139
  };
3124
- SemanticTokensEdits = (0, tslib_1.__decorate)([
3140
+ exports.SemanticTokensEdits = SemanticTokensEdits;
3141
+ exports.SemanticTokensEdits = SemanticTokensEdits = tslib_1.__decorate([
3125
3142
  types_1.es5ClassCompat,
3126
- (0, tslib_1.__metadata)("design:paramtypes", [Array, String])
3143
+ tslib_1.__metadata("design:paramtypes", [Array, String])
3127
3144
  ], SemanticTokensEdits);
3128
- exports.SemanticTokensEdits = SemanticTokensEdits;
3129
3145
  var InputBoxValidationSeverity;
3130
3146
  (function (InputBoxValidationSeverity) {
3131
3147
  InputBoxValidationSeverity[InputBoxValidationSeverity["Info"] = 1] = "Info";
3132
3148
  InputBoxValidationSeverity[InputBoxValidationSeverity["Warning"] = 2] = "Warning";
3133
3149
  InputBoxValidationSeverity[InputBoxValidationSeverity["Error"] = 3] = "Error";
3134
- })(InputBoxValidationSeverity = exports.InputBoxValidationSeverity || (exports.InputBoxValidationSeverity = {}));
3150
+ })(InputBoxValidationSeverity || (exports.InputBoxValidationSeverity = InputBoxValidationSeverity = {}));
3135
3151
  // #endregion
3136
3152
  // #region Tab Inputs
3137
3153
  class TextTabInput {
@@ -3176,15 +3192,15 @@ class TelemetryTrustedValue {
3176
3192
  }
3177
3193
  exports.TelemetryTrustedValue = TelemetryTrustedValue;
3178
3194
  class TelemetryLogger {
3179
- constructor(sender, options) {
3180
- this.sender = sender;
3181
- this.options = options;
3182
- }
3183
3195
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3184
3196
  logUsage(eventName, data) { }
3185
3197
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3186
3198
  logError(eventNameOrError, data) { }
3187
3199
  dispose() { }
3200
+ constructor(sender, options) {
3201
+ this.sender = sender;
3202
+ this.options = options;
3203
+ }
3188
3204
  }
3189
3205
  exports.TelemetryLogger = TelemetryLogger;
3190
3206
  class NotebookEditorTabInput {
@@ -3242,11 +3258,11 @@ let DocumentPasteEdit = class DocumentPasteEdit {
3242
3258
  this.kind = kind;
3243
3259
  }
3244
3260
  };
3245
- DocumentPasteEdit = (0, tslib_1.__decorate)([
3261
+ exports.DocumentPasteEdit = DocumentPasteEdit;
3262
+ exports.DocumentPasteEdit = DocumentPasteEdit = tslib_1.__decorate([
3246
3263
  types_1.es5ClassCompat,
3247
- (0, tslib_1.__metadata)("design:paramtypes", [Object, String, DocumentPasteEditKind])
3264
+ tslib_1.__metadata("design:paramtypes", [Object, String, DocumentDropOrPasteEditKind])
3248
3265
  ], DocumentPasteEdit);
3249
- exports.DocumentPasteEdit = DocumentPasteEdit;
3250
3266
  /**
3251
3267
  * The reason why paste edits were requested.
3252
3268
  */
@@ -3260,7 +3276,7 @@ var DocumentPasteTriggerKind;
3260
3276
  * Pasting was requested by the user with the `paste as` command.
3261
3277
  */
3262
3278
  DocumentPasteTriggerKind[DocumentPasteTriggerKind["PasteAs"] = 1] = "PasteAs";
3263
- })(DocumentPasteTriggerKind = exports.DocumentPasteTriggerKind || (exports.DocumentPasteTriggerKind = {}));
3279
+ })(DocumentPasteTriggerKind || (exports.DocumentPasteTriggerKind = DocumentPasteTriggerKind = {}));
3264
3280
  // #endregion
3265
3281
  // #region DocumentPaste
3266
3282
  var EditSessionIdentityMatch;
@@ -3268,7 +3284,7 @@ var EditSessionIdentityMatch;
3268
3284
  EditSessionIdentityMatch[EditSessionIdentityMatch["Complete"] = 100] = "Complete";
3269
3285
  EditSessionIdentityMatch[EditSessionIdentityMatch["Partial"] = 50] = "Partial";
3270
3286
  EditSessionIdentityMatch[EditSessionIdentityMatch["None"] = 0] = "None";
3271
- })(EditSessionIdentityMatch = exports.EditSessionIdentityMatch || (exports.EditSessionIdentityMatch = {}));
3287
+ })(EditSessionIdentityMatch || (exports.EditSessionIdentityMatch = EditSessionIdentityMatch = {}));
3272
3288
  // #endregion
3273
3289
  // #region terminalQuickFixProvider
3274
3290
  class TerminalQuickFixTerminalCommand {