@codingame/monaco-editor-wrapper 3.10.0 → 4.0.0-monaco-update.2

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 (674) hide show
  1. package/README.md +0 -26
  2. package/dist/{_monaco-editor_commonjs-external.js → _virtual/_commonjsHelpers.js} +2 -9
  3. package/dist/_virtual/_monaco-editor.js +6 -0
  4. package/dist/_virtual/actions.js +3 -0
  5. package/dist/_virtual/basicInput.js +3 -0
  6. package/dist/_virtual/cm_adapter.js +3 -0
  7. package/dist/_virtual/commands.js +3 -0
  8. package/dist/_virtual/editor.api.js +6 -0
  9. package/dist/_virtual/index.js +3 -0
  10. package/dist/_virtual/index2.js +3 -0
  11. package/dist/_virtual/index3.js +3 -0
  12. package/dist/_virtual/keymap_vim.js +3 -0
  13. package/dist/_virtual/shiftCommand.js +6 -0
  14. package/dist/_virtual/state.js +3 -0
  15. package/dist/_virtual/statusbar.js +3 -0
  16. package/dist/_virtual/util.js +3 -0
  17. package/dist/assets/Angular.ng-template-17.1.0.vsix/expression.json +834 -0
  18. package/dist/assets/Angular.ng-template-17.1.0.vsix/inline-styles.json +98 -0
  19. package/dist/assets/Angular.ng-template-17.1.0.vsix/inline-template.json +76 -0
  20. package/dist/assets/Angular.ng-template-17.1.0.vsix/package.json +260 -0
  21. package/dist/assets/Angular.ng-template-17.1.0.vsix/template-blocks.json +83 -0
  22. package/dist/assets/Angular.ng-template-17.1.0.vsix/template.json +195 -0
  23. package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/dart-language-configuration.json +29 -0
  24. package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/dart.json +526 -0
  25. package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/flutter_activity_bar.svg +14 -0
  26. package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/package.json +3094 -0
  27. package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/codeblock.json +81 -0
  28. package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/language-configuration.json +57 -0
  29. package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/package.json +279 -0
  30. package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/systemverilog.json +349 -0
  31. package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/systemverilog.tmLanguage.json +1246 -0
  32. package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/tasks.schema.json +30 -0
  33. package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/eex-language-configuration.json +58 -0
  34. package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/eex.json +41 -0
  35. package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/elixir-language-configuration.json +182 -0
  36. package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/elixir.json +2698 -0
  37. package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/html-eex.json +25 -0
  38. package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/package.json +623 -0
  39. package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/package.json +569 -0
  40. package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/solidity.configuration.json +32 -0
  41. package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/solidity.json +1215 -0
  42. package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/solidity2.json +213 -0
  43. package/dist/assets/REditorSupport.r-2.8.2.vsix/Markdown Redcarpet.json +146 -0
  44. package/dist/assets/REditorSupport.r-2.8.2.vsix/RMarkdown.json +13 -0
  45. package/dist/assets/REditorSupport.r-2.8.2.vsix/Rcpp.json +34 -0
  46. package/dist/assets/REditorSupport.r-2.8.2.vsix/Rd (R Documentation).json +117 -0
  47. package/dist/assets/REditorSupport.r-2.8.2.vsix/Rlogo.svg +14 -0
  48. package/dist/assets/REditorSupport.r-2.8.2.vsix/dcf-configuration.json +24 -0
  49. package/dist/assets/REditorSupport.r-2.8.2.vsix/dcf.json +82 -0
  50. package/dist/assets/REditorSupport.r-2.8.2.vsix/package.json +2156 -0
  51. package/dist/assets/REditorSupport.r-2.8.2.vsix/r-configuration.json +33 -0
  52. package/dist/assets/REditorSupport.r-2.8.2.vsix/r-snippets.json +475 -0
  53. package/dist/assets/REditorSupport.r-2.8.2.vsix/r.json +647 -0
  54. package/dist/assets/REditorSupport.r-2.8.2.vsix/rbuildignore-configuration.json +2 -0
  55. package/dist/assets/REditorSupport.r-2.8.2.vsix/rbuildignore.json +27 -0
  56. package/dist/assets/REditorSupport.r-2.8.2.vsix/rd-configuration.json +27 -0
  57. package/dist/assets/REditorSupport.r-2.8.2.vsix/rmarkdown2.json +459 -0
  58. package/dist/assets/REditorSupport.r-2.8.2.vsix/rmd-configuration.json +27 -0
  59. package/dist/assets/REditorSupport.r-2.8.2.vsix/rnamespace.json +222 -0
  60. package/dist/assets/alefragnani.pascal-9.6.0.vsix/package.json +263 -0
  61. package/dist/assets/alefragnani.pascal-9.6.0.vsix/package.nls.json +24 -0
  62. package/dist/assets/alefragnani.pascal-9.6.0.vsix/package.nls.pt-br.json +24 -0
  63. package/dist/assets/alefragnani.pascal-9.6.0.vsix/pascal.configuration.json +32 -0
  64. package/dist/assets/alefragnani.pascal-9.6.0.vsix/pascal.json +414 -0
  65. package/dist/assets/alefragnani.pascal-9.6.0.vsix/pascal.tmLanguage +243 -0
  66. package/dist/assets/batisteo.vscode-django-1.15.0.vsix/django-html.tmLanguage.json +701 -0
  67. package/dist/assets/batisteo.vscode-django-1.15.0.vsix/django-txt.tmLanguage.json +255 -0
  68. package/dist/assets/batisteo.vscode-django-1.15.0.vsix/filters.json +339 -0
  69. package/dist/assets/batisteo.vscode-django-1.15.0.vsix/language-configuration.json +63 -0
  70. package/dist/assets/batisteo.vscode-django-1.15.0.vsix/package.json +156 -0
  71. package/dist/assets/batisteo.vscode-django-1.15.0.vsix/tags.json +524 -0
  72. package/dist/assets/bitwisecook.tcl-0.4.3.vsix/language-configuration.json +75 -0
  73. package/dist/assets/bitwisecook.tcl-0.4.3.vsix/package.json +102 -0
  74. package/dist/assets/bitwisecook.tcl-0.4.3.vsix/tcl.json +5474 -0
  75. package/dist/assets/bitwisecook.tcl-0.4.3.vsix/tcl2.json +142 -0
  76. package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/CICS.tmLanguage.json +66 -0
  77. package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/COBOL.tmLanguage.json +165 -0
  78. package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/SQL.tmLanguage.json +25 -0
  79. package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/lang-config.json +27 -0
  80. package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/package.json +513 -0
  81. package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/pgm_conf.schema.json +24 -0
  82. package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/proc_grps.schema.json +55 -0
  83. package/dist/assets/castwide.solargraph-0.24.1.vsix/package.json +295 -0
  84. package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/language-configuration.json +25 -0
  85. package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/package.json +468 -0
  86. package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/pgsql.tmLanguage +413 -0
  87. package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/postgres-explorer.svg +100 -0
  88. package/dist/assets/golang.Go-0.40.3.vsix/go.json +274 -0
  89. package/dist/assets/golang.Go-0.40.3.vsix/go.mod.language-configuration.json +5 -0
  90. package/dist/assets/golang.Go-0.40.3.vsix/go.mod.tmGrammar.json +171 -0
  91. package/dist/assets/golang.Go-0.40.3.vsix/go.sum.tmGrammar.json +44 -0
  92. package/dist/assets/golang.Go-0.40.3.vsix/package.json +2828 -0
  93. package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/angular-directives.json +123 -0
  94. package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/angular-interpolations.json +44 -0
  95. package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/angular-template-language-configuration.json +8 -0
  96. package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/package.json +102 -0
  97. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/C2Hs-configuration.json +29 -0
  98. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/C2Hs.json +23 -0
  99. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/Hsc2Hs-configuration.json +30 -0
  100. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/Hsc2Hs.json +23 -0
  101. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/alex.json +236 -0
  102. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/cabal-configuration.json +6 -0
  103. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/cabal.json +53 -0
  104. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/codeblock-cabal.json +28 -0
  105. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/codeblock-haskell.json +28 -0
  106. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/codeblock-literate-haskell.json +28 -0
  107. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/happy.json +196 -0
  108. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/haskell-configuration.json +29 -0
  109. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/haskell.json +2525 -0
  110. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/literate-haskell-configuration.json +29 -0
  111. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/literateHaskell.json +56 -0
  112. package/dist/assets/justusadam.language-haskell-3.6.0.vsix/package.json +234 -0
  113. package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/Kotlin.tmLanguage +1067 -0
  114. package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/codeblock.json +22 -0
  115. package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/kotlin.configuration.json +35 -0
  116. package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/kotlin.json +107 -0
  117. package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/package.json +100 -0
  118. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/aspnetcorerazor.tmLanguage.json +1812 -0
  119. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/csharp.json +493 -0
  120. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/language-configuration.json +24 -0
  121. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.json +5694 -0
  122. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.cs.json +203 -0
  123. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.de.json +203 -0
  124. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.es.json +203 -0
  125. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.fr.json +203 -0
  126. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.it.json +203 -0
  127. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.ja.json +203 -0
  128. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.json +421 -0
  129. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.ko.json +203 -0
  130. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.pl.json +203 -0
  131. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.pt-br.json +203 -0
  132. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.ru.json +203 -0
  133. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.tr.json +203 -0
  134. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.zh-cn.json +203 -0
  135. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.zh-tw.json +203 -0
  136. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/vs2019_dark.json +783 -0
  137. package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/vs2019_light.json +807 -0
  138. package/dist/assets/ms-python.python-2023.25.10221012.vsix/conda-environment.json +1 -0
  139. package/dist/assets/ms-python.python-2023.25.10221012.vsix/conda-meta.json +1 -0
  140. package/dist/assets/ms-python.python-2023.25.10221012.vsix/condarc.json +1 -0
  141. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.json +1 -0
  142. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.cs.json +1 -0
  143. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.de.json +1 -0
  144. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.es.json +1 -0
  145. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.fr.json +1 -0
  146. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.it.json +1 -0
  147. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.ja.json +1 -0
  148. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.json +1 -0
  149. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.ko.json +1 -0
  150. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.pl.json +1 -0
  151. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.pt-br.json +1 -0
  152. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.qps-ploc.json +1 -0
  153. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.ru.json +1 -0
  154. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.tr.json +1 -0
  155. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.zh-cn.json +1 -0
  156. package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.zh-tw.json +1 -0
  157. package/dist/assets/ms-python.python-2023.25.10221012.vsix/pip-requirements.json +1 -0
  158. package/dist/assets/ms-python.python-2023.25.10221012.vsix/pip-requirements.tmLanguage.json +1 -0
  159. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.json +6383 -0
  160. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.cs.json +441 -0
  161. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.de.json +441 -0
  162. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.es.json +441 -0
  163. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.fr.json +441 -0
  164. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.it.json +441 -0
  165. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.ja.json +441 -0
  166. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.json +1006 -0
  167. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.ko.json +441 -0
  168. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.pl.json +441 -0
  169. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.pt-br.json +441 -0
  170. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.ru.json +441 -0
  171. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.tr.json +441 -0
  172. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.zh-cn.json +441 -0
  173. package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.zh-tw.json +441 -0
  174. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/META.json +56 -0
  175. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/META2.json +10 -0
  176. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/atd.json +57 -0
  177. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/cram.json +167 -0
  178. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune-project.json +326 -0
  179. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune-project2.json +26 -0
  180. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune-workspace.json +191 -0
  181. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune.json +2949 -0
  182. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune2.json +20 -0
  183. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune3.json +34 -0
  184. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/logo.svg +3 -0
  185. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/menhir-action.json +29 -0
  186. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/menhir.json +349 -0
  187. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/menhir2.json +17 -0
  188. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/merlin.json +73 -0
  189. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/oasis.json +69 -0
  190. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/oasis2.json +6 -0
  191. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml-markdown-codeblock.json +24 -0
  192. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml.interface.json +161 -0
  193. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml.json +654 -0
  194. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml2.json +44 -0
  195. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml3.json +54 -0
  196. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamlbuild.json +110 -0
  197. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamlbuild2.json +12 -0
  198. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamldoc.json +31 -0
  199. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamlformat.json +239 -0
  200. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamlformat2.json +5 -0
  201. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamllex.json +108 -0
  202. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamllex2.json +14 -0
  203. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamllex3.json +6 -0
  204. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/opam-install.json +23 -0
  205. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/opam-install2.json +8 -0
  206. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/opam.json +111 -0
  207. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/opam2.json +21 -0
  208. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/package.json +1231 -0
  209. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/reason-markdown-codeblock.json +24 -0
  210. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/reason.json +2357 -0
  211. package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/reason2.json +21 -0
  212. package/dist/assets/pgourlain.erlang-0.9.8.vsix/Erlang.plist +2719 -0
  213. package/dist/assets/pgourlain.erlang-0.9.8.vsix/erlang.configuration.json +25 -0
  214. package/dist/assets/pgourlain.erlang-0.9.8.vsix/erlang.json +197 -0
  215. package/dist/assets/pgourlain.erlang-0.9.8.vsix/package.json +305 -0
  216. package/dist/assets/redhat.java-1.27.2024012608.vsix/JavaProperties.tmLanguage.json +103 -0
  217. package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-html.json +44 -0
  218. package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-json.json +44 -0
  219. package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-sql.json +46 -0
  220. package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-xml.json +44 -0
  221. package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-yaml.json +44 -0
  222. package/dist/assets/redhat.java-1.27.2024012608.vsix/java-properties-configuration.json +67 -0
  223. package/dist/assets/redhat.java-1.27.2024012608.vsix/java.tmLanguage.json +1888 -0
  224. package/dist/assets/redhat.java-1.27.2024012608.vsix/kotlin.tmLanguage.json +702 -0
  225. package/dist/assets/redhat.java-1.27.2024012608.vsix/language-configuration.json +92 -0
  226. package/dist/assets/redhat.java-1.27.2024012608.vsix/language-configuration2.json +27 -0
  227. package/dist/assets/redhat.java-1.27.2024012608.vsix/package.json +1819 -0
  228. package/dist/assets/redhat.java-1.27.2024012608.vsix/package.nls.json +30 -0
  229. package/dist/assets/redhat.java-1.27.2024012608.vsix/package.nls.ko.json +27 -0
  230. package/dist/assets/redhat.java-1.27.2024012608.vsix/package.nls.zh-cn.json +28 -0
  231. package/dist/assets/redhat.java-1.27.2024012608.vsix/package.nls.zh-tw.json +27 -0
  232. package/dist/assets/redhat.java-1.27.2024012608.vsix/package.schema.json +48 -0
  233. package/dist/assets/scala-lang.scala-0.5.7.vsix/Scala.tmLanguage.json +1 -0
  234. package/dist/assets/scala-lang.scala-0.5.7.vsix/language-configuration.json +33 -0
  235. package/dist/assets/scala-lang.scala-0.5.7.vsix/package.json +67 -0
  236. package/dist/assets/scalameta.metals-1.27.3.vsix/book-dark.svg +5 -0
  237. package/dist/assets/scalameta.metals-1.27.3.vsix/book-light.svg +1 -0
  238. package/dist/assets/scalameta.metals-1.27.3.vsix/buildtarget.json +37 -0
  239. package/dist/assets/scalameta.metals-1.27.3.vsix/file_type_java.svg +1 -0
  240. package/dist/assets/scalameta.metals-1.27.3.vsix/file_type_scala.svg +1 -0
  241. package/dist/assets/scalameta.metals-1.27.3.vsix/jvm-bytecode-verbose.json +745 -0
  242. package/dist/assets/scalameta.metals-1.27.3.vsix/jvm-bytecode.json +395 -0
  243. package/dist/assets/scalameta.metals-1.27.3.vsix/package.json +1096 -0
  244. package/dist/assets/scalameta.metals-1.27.3.vsix/scalameta-logo.png +0 -0
  245. package/dist/assets/scalameta.metals-1.27.3.vsix/scalameta.svg +11 -0
  246. package/dist/assets/scalameta.metals-1.27.3.vsix/semanticdb.json +37 -0
  247. package/dist/assets/scalameta.metals-1.27.3.vsix/tasty.json +56 -0
  248. package/dist/assets/sumneko.lua-3.7.4.vsix/package.json +3347 -0
  249. package/dist/assets/sumneko.lua-3.7.4.vsix/package.nls.json +231 -0
  250. package/dist/assets/sumneko.lua-3.7.4.vsix/package.nls.pt-br.json +231 -0
  251. package/dist/assets/sumneko.lua-3.7.4.vsix/package.nls.zh-cn.json +231 -0
  252. package/dist/assets/sumneko.lua-3.7.4.vsix/package.nls.zh-tw.json +231 -0
  253. package/dist/assets/sumneko.lua-3.7.4.vsix/schema.json +3423 -0
  254. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/javascript.json +43 -0
  255. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/language-configuration.json +38 -0
  256. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/markdown-svelte-css.json +23 -0
  257. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/markdown-svelte-js.json +23 -0
  258. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/markdown-svelte.json +45 -0
  259. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/package-json-schema.json +9 -0
  260. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/package.json +732 -0
  261. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/postcss.json +377 -0
  262. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/prettier-options-schema.json +112 -0
  263. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/pug-svelte-dotblock.json +55 -0
  264. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/pug-svelte-tags.json +201 -0
  265. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/pug-svelte.json +293 -0
  266. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/svelte.json +26 -0
  267. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/svelte.tmLanguage.json +1171 -0
  268. package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/typescript.json +37 -0
  269. package/dist/assets/webfreak.code-d-0.23.2.vsix/d.json +3163 -0
  270. package/dist/assets/webfreak.code-d-0.23.2.vsix/d2.json +90 -0
  271. package/dist/assets/webfreak.code-d-0.23.2.vsix/diet.json +742 -0
  272. package/dist/assets/webfreak.code-d-0.23.2.vsix/diet2.json +92 -0
  273. package/dist/assets/webfreak.code-d-0.23.2.vsix/diet3.json +87 -0
  274. package/dist/assets/webfreak.code-d-0.23.2.vsix/dml.json +157 -0
  275. package/dist/assets/webfreak.code-d-0.23.2.vsix/dub.schema.json +377 -0
  276. package/dist/assets/webfreak.code-d-0.23.2.vsix/general.json +84 -0
  277. package/dist/assets/webfreak.code-d-0.23.2.vsix/package.json +1306 -0
  278. package/dist/assets/webfreak.code-d-0.23.2.vsix/sdl.json +149 -0
  279. package/dist/configuration/index.d.ts +1 -2
  280. package/dist/configuration/index.js +45 -0
  281. package/dist/editor/autofold.js +24 -0
  282. package/dist/editor/cobol.js +67 -0
  283. package/dist/editor/index.js +9 -0
  284. package/dist/extensions/Angular.ng-template-17.1.0.vsix.js +20 -0
  285. package/dist/extensions/Dart-Code.dart-code-3.81.20240117.vsix.js +16 -0
  286. package/dist/extensions/IMCTradingBV.svlangserver-0.4.1.vsix.js +20 -0
  287. package/dist/extensions/JakeBecker.elixir-ls-0.19.0.vsix.js +20 -0
  288. package/dist/extensions/JuanBlanco.solidity-0.0.165.vsix.js +16 -0
  289. package/dist/extensions/REditorSupport.r-2.8.2.vsix.js +44 -0
  290. package/dist/extensions/alefragnani.pascal-9.6.0.vsix.js +20 -0
  291. package/dist/extensions/batisteo.vscode-django-1.15.0.vsix.js +20 -0
  292. package/dist/extensions/bitwisecook.tcl-0.4.3.vsix.js +16 -0
  293. package/dist/extensions/broadcomMFD.cobol-language-support-2.1.0.vsix.js +22 -0
  294. package/dist/extensions/castwide.solargraph-0.24.1.vsix.js +10 -0
  295. package/dist/extensions/ckolkman.vscode-postgres-1.4.3.vsix.js +16 -0
  296. package/dist/extensions/golang.Go-0.40.3.vsix.js +18 -0
  297. package/dist/extensions/johnsoncodehk.vscode-angular-1.0.22.vsix.js +16 -0
  298. package/dist/extensions/justusadam.language-haskell-3.6.0.vsix.js +40 -0
  299. package/dist/extensions/mathiasfrohlich.Kotlin-1.7.1.vsix.js +18 -0
  300. package/dist/extensions/ms-dotnettools.csharp-2.16.24.vsix.js +48 -0
  301. package/dist/extensions/ms-python.python-2023.25.10221012.vsix.js +50 -0
  302. package/dist/extensions/ms-vscode.cpptools-1.19.2.vsix.js +38 -0
  303. package/dist/extensions/ocamllabs.ocaml-platform-1.16.1.vsix.js +84 -0
  304. package/dist/extensions/pgourlain.erlang-0.9.8.vsix.js +16 -0
  305. package/dist/extensions/redhat.java-1.27.2024012608.vsix.js +42 -0
  306. package/dist/extensions/scala-lang.scala-0.5.7.vsix.js +14 -0
  307. package/dist/extensions/scalameta.metals-1.27.3.vsix.js +32 -0
  308. package/dist/extensions/sumneko.lua-3.7.4.vsix.js +20 -0
  309. package/dist/extensions/svelte.svelte-vscode-108.2.1.vsix.js +38 -0
  310. package/dist/extensions/webfreak.code-d-0.23.2.vsix.js +28 -0
  311. package/dist/extensions.d.ts +36 -0
  312. package/dist/features/debug.js +6 -0
  313. package/dist/features/extensionHostWorker.js +11 -0
  314. package/dist/features/search.d.ts +1 -0
  315. package/dist/features/search.js +7 -0
  316. package/dist/features/viewPanels.d.ts +1 -0
  317. package/dist/features/viewPanels.js +11 -0
  318. package/dist/features/views.d.ts +4 -0
  319. package/dist/features/views.js +27 -0
  320. package/dist/index.d.ts +3 -3
  321. package/dist/keybindings/index.js +36 -0
  322. package/dist/keybindings/vim.js +82 -0
  323. package/dist/languages/index.d.ts +0 -2
  324. package/dist/languages/index.js +40 -0
  325. package/dist/main.js +9 -3564
  326. package/dist/monaco.d.ts +5 -11
  327. package/dist/monaco.js +91 -0
  328. package/dist/node_modules/lodash.kebabcase/index.js +439 -0
  329. package/dist/node_modules/lodash.throttle/index.js +443 -0
  330. package/dist/node_modules/monaco-emacs/lib/emacs/actions.js +596 -0
  331. package/dist/node_modules/monaco-emacs/lib/emacs/basicInput.js +113 -0
  332. package/dist/node_modules/monaco-emacs/lib/emacs/commands.js +184 -0
  333. package/dist/node_modules/monaco-emacs/lib/emacs/index.js +186 -0
  334. package/dist/node_modules/monaco-emacs/lib/emacs/state.js +116 -0
  335. package/dist/node_modules/monaco-emacs/lib/emacs/util.js +112 -0
  336. package/dist/node_modules/monaco-emacs/lib/index.js +31 -0
  337. package/dist/{vim.js → node_modules/monaco-vim/lib/cm/keymap_vim.js} +4 -1790
  338. package/dist/node_modules/monaco-vim/lib/cm_adapter.js +1397 -0
  339. package/dist/node_modules/monaco-vim/lib/index.js +71 -0
  340. package/dist/node_modules/monaco-vim/lib/statusbar.js +239 -0
  341. package/dist/services.d.ts +8 -0
  342. package/dist/services.js +73 -0
  343. package/dist/style.js +12 -0
  344. package/dist/theme/index.d.ts +1 -4
  345. package/dist/theme/index.js +21 -0
  346. package/dist/tools/EditorOpenHandlerRegistry.d.ts +3 -2
  347. package/dist/tools/EditorOpenHandlerRegistry.js +108 -0
  348. package/dist/tools/FakeWorker.d.ts +5 -0
  349. package/dist/tools/FakeWorker.js +8 -0
  350. package/dist/tools.js +235 -0
  351. package/dist/worker.d.ts +1 -10
  352. package/dist/worker.js +11 -43
  353. package/package.json +135 -75
  354. package/stats.html +104 -1439
  355. package/dist/COBOL.tmLanguage.js +0 -172
  356. package/dist/Erlang.plist.js +0 -1752
  357. package/dist/HTML (Eex)2.js +0 -100
  358. package/dist/JSON.tmLanguage.js +0 -221
  359. package/dist/JSONC.tmLanguage.js +0 -221
  360. package/dist/JavaProperties.tmLanguage.js +0 -116
  361. package/dist/JavaScript.tmLanguage.js +0 -5929
  362. package/dist/JavaScriptReact.tmLanguage.js +0 -5929
  363. package/dist/Kotlin.tmLanguage.js +0 -724
  364. package/dist/META.js +0 -100
  365. package/dist/MagicPython.tmLanguage.js +0 -4221
  366. package/dist/MagicRegExp.tmLanguage.js +0 -505
  367. package/dist/Markdown Redcarpet.js +0 -221
  368. package/dist/RMarkdown.js +0 -25
  369. package/dist/Rcpp.js +0 -50
  370. package/dist/Rd (R Documentation).js +0 -131
  371. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  372. package/dist/Scala.tmLanguage.js +0 -1324
  373. package/dist/TypeScript.tmLanguage.js +0 -5680
  374. package/dist/TypeScriptReact.tmLanguage.js +0 -5929
  375. package/dist/_rollupPluginBabelHelpers.js +0 -51
  376. package/dist/angular.js +0 -62
  377. package/dist/asp-vb-net.tmlanguage.js +0 -247
  378. package/dist/aspnetcorerazor.js +0 -72
  379. package/dist/aspnetcorerazor.tmLanguage.js +0 -1825
  380. package/dist/atd.js +0 -110
  381. package/dist/atd2.js +0 -114
  382. package/dist/buildignore.r.js +0 -5
  383. package/dist/buildtarget.js +0 -53
  384. package/dist/c.js +0 -101
  385. package/dist/c.tmLanguage.js +0 -3565
  386. package/dist/cabal.js +0 -10
  387. package/dist/cabal.tmLanguage.js +0 -66
  388. package/dist/clojure.js +0 -68
  389. package/dist/clojure.tmLanguage.js +0 -439
  390. package/dist/cobol.js +0 -6
  391. package/dist/cobol2.js +0 -341
  392. package/dist/codeblock-cabal.js +0 -42
  393. package/dist/codeblock-haskell.js +0 -42
  394. package/dist/codeblock-literate-haskell.js +0 -42
  395. package/dist/codeblock.js +0 -59
  396. package/dist/codeblock2.js +0 -36
  397. package/dist/codeblock3.js +0 -95
  398. package/dist/coffeescript-coffeescript.code-snippets.js +0 -18
  399. package/dist/coffeescript.js +0 -91
  400. package/dist/coffeescript.tmLanguage.js +0 -1324
  401. package/dist/configuration/files.d.ts +0 -6
  402. package/dist/cpp-c.code-snippets.js +0 -18
  403. package/dist/cpp-cpp.code-snippets.js +0 -18
  404. package/dist/cpp.js +0 -101
  405. package/dist/cpp.tmLanguage.js +0 -16648
  406. package/dist/cpptools.js +0 -2631
  407. package/dist/cram.js +0 -257
  408. package/dist/csharp.js +0 -92
  409. package/dist/csharp.tmLanguage.js +0 -4992
  410. package/dist/css.js +0 -106
  411. package/dist/css.tmLanguage.js +0 -1873
  412. package/dist/css.worker.js +0 -6
  413. package/dist/cuda-cpp.js +0 -101
  414. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  415. package/dist/d-diet.js +0 -92
  416. package/dist/d.js +0 -3212
  417. package/dist/d2.js +0 -97
  418. package/dist/d3.js +0 -609
  419. package/dist/dart.js +0 -543
  420. package/dist/dart2.js +0 -103
  421. package/dist/dart3.js +0 -1130
  422. package/dist/dcf.js +0 -93
  423. package/dist/debian-control.r.js +0 -69
  424. package/dist/diet.js +0 -758
  425. package/dist/diet2.js +0 -100
  426. package/dist/django-html.js +0 -155
  427. package/dist/django-html.tmLanguage.js +0 -715
  428. package/dist/django-txt.js +0 -155
  429. package/dist/django-txt.tmLanguage.js +0 -269
  430. package/dist/dml.js +0 -169
  431. package/dist/dml2.js +0 -90
  432. package/dist/dockercompose.js +0 -82
  433. package/dist/dpp.js +0 -97
  434. package/dist/dscript.js +0 -90
  435. package/dist/dune-project.js +0 -481
  436. package/dist/dune-project2.js +0 -65
  437. package/dist/dune-workspace.js +0 -298
  438. package/dist/dune-workspace2.js +0 -65
  439. package/dist/dune.js +0 -2962
  440. package/dist/dune2.js +0 -65
  441. package/dist/eex.js +0 -55
  442. package/dist/elixir-snippets.js +0 -184
  443. package/dist/elixir.js +0 -2341
  444. package/dist/elixir2.js +0 -69
  445. package/dist/elixir3.js +0 -40
  446. package/dist/erlang-erlang.js +0 -195
  447. package/dist/erlang.js +0 -81
  448. package/dist/erlang2.js +0 -86
  449. package/dist/expression.js +0 -846
  450. package/dist/features/cssContribution.d.ts +0 -1
  451. package/dist/features/cssContribution.js +0 -7
  452. package/dist/features/extensionConfigurations.d.ts +0 -1
  453. package/dist/features/extensionConfigurations.js +0 -44
  454. package/dist/features/htmlContribution.d.ts +0 -4
  455. package/dist/features/htmlContribution.js +0 -112
  456. package/dist/features/jsonContribution.d.ts +0 -6
  457. package/dist/features/jsonContribution.js +0 -43
  458. package/dist/features/typescriptContribution.d.ts +0 -1
  459. package/dist/features/typescriptContribution.js +0 -32
  460. package/dist/fsharp-fsharp.code-snippets.js +0 -18
  461. package/dist/fsharp.js +0 -80
  462. package/dist/fsharp.tmLanguage.js +0 -1844
  463. package/dist/go.js +0 -103
  464. package/dist/go.mod.js +0 -8
  465. package/dist/go.mod.tmGrammar.js +0 -182
  466. package/dist/go.sum.tmGrammar.js +0 -55
  467. package/dist/go.tmLanguage.js +0 -1025
  468. package/dist/go.work.js +0 -8
  469. package/dist/govulncheck.tmGrammar.js +0 -138
  470. package/dist/groovy-groovy.code-snippets.js +0 -229
  471. package/dist/groovy.js +0 -79
  472. package/dist/groovy.tmLanguage.js +0 -1391
  473. package/dist/haskell.js +0 -88
  474. package/dist/haskell.tmLanguage.js +0 -629
  475. package/dist/haskell2.js +0 -16
  476. package/dist/html (eex).js +0 -31
  477. package/dist/html-derivative.tmLanguage.js +0 -57
  478. package/dist/html-html.code-snippets.js +0 -20
  479. package/dist/html.js +0 -11
  480. package/dist/html.tmLanguage.js +0 -2652
  481. package/dist/html.tmLanguage2.js +0 -107
  482. package/dist/html.worker.js +0 -6
  483. package/dist/index.js +0 -2207
  484. package/dist/index2.js +0 -1398
  485. package/dist/inline-styles.js +0 -104
  486. package/dist/inline-template.js +0 -88
  487. package/dist/jade.js +0 -11
  488. package/dist/java-java.js +0 -125
  489. package/dist/java-properties.js +0 -73
  490. package/dist/java.js +0 -98
  491. package/dist/java.tmLanguage.js +0 -1863
  492. package/dist/java2.js +0 -917
  493. package/dist/javascript-javascript.code-snippets.js +0 -205
  494. package/dist/javascript.js +0 -197
  495. package/dist/javascriptreact.js +0 -197
  496. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  497. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  498. package/dist/json.js +0 -75
  499. package/dist/json.worker.js +0 -6
  500. package/dist/jsonc.js +0 -75
  501. package/dist/jsx-tags.js +0 -158
  502. package/dist/julia.js +0 -89
  503. package/dist/julia.tmLanguage.js +0 -954
  504. package/dist/jvm-bytecode-verbose.js +0 -1231
  505. package/dist/jvm-bytecode.js +0 -565
  506. package/dist/kotlin-kotlin.js +0 -117
  507. package/dist/kotlin.js +0 -103
  508. package/dist/kotlinscript.js +0 -103
  509. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +0 -3
  510. package/dist/languages/extensions/grammarLoader.d.ts +0 -2
  511. package/dist/languages/extensions/languageConfigurationLoader.d.ts +0 -2
  512. package/dist/languages/extensions/snippetLoader.d.ts +0 -2
  513. package/dist/languages/extensions/themeLoader.d.ts +0 -2
  514. package/dist/languages/textMate/index.d.ts +0 -1
  515. package/dist/literate haskell.js +0 -88
  516. package/dist/literateHaskell.tmLanguage.js +0 -70
  517. package/dist/lua.js +0 -84
  518. package/dist/lua.tmLanguage.js +0 -914
  519. package/dist/lua2.js +0 -2853
  520. package/dist/markdown-basics-markdown.code-snippets.js +0 -121
  521. package/dist/markdown-svelte-css.js +0 -37
  522. package/dist/markdown-svelte-js.js +0 -37
  523. package/dist/markdown-svelte.js +0 -59
  524. package/dist/markdown-vue.js +0 -54
  525. package/dist/markdown.js +0 -49
  526. package/dist/markdown.tmLanguage.js +0 -3042
  527. package/dist/menhir-action.js +0 -51
  528. package/dist/menhir.js +0 -597
  529. package/dist/merlin.js +0 -111
  530. package/dist/namespace.r.js +0 -88
  531. package/dist/oasis.js +0 -99
  532. package/dist/objective-c.js +0 -79
  533. package/dist/objective-c.tmLanguage.js +0 -3763
  534. package/dist/objective-cpp.js +0 -79
  535. package/dist/ocaml-dune-project.js +0 -38
  536. package/dist/ocaml-dune.js +0 -53
  537. package/dist/ocaml-markdown-codeblock.js +0 -42
  538. package/dist/ocaml-ocaml.js +0 -88
  539. package/dist/ocaml-ocamllex.js +0 -12
  540. package/dist/ocaml.META.js +0 -29
  541. package/dist/ocaml.interface.js +0 -292
  542. package/dist/ocaml.interface2.js +0 -114
  543. package/dist/ocaml.js +0 -903
  544. package/dist/ocaml.menhir.js +0 -81
  545. package/dist/ocaml.oasis.js +0 -18
  546. package/dist/ocaml.ocamlbuild.js +0 -45
  547. package/dist/ocaml.ocamlformat.js +0 -8
  548. package/dist/ocaml.ocamllex.js +0 -60
  549. package/dist/ocaml.opam-install.js +0 -49
  550. package/dist/ocaml.opam.js +0 -69
  551. package/dist/ocaml2.js +0 -114
  552. package/dist/ocaml3.js +0 -136
  553. package/dist/ocamlbuild.js +0 -189
  554. package/dist/ocamldoc.js +0 -54
  555. package/dist/ocamlformat.js +0 -206
  556. package/dist/ocamllex.js +0 -133
  557. package/dist/omnisharp-csharp.js +0 -508
  558. package/dist/omnisharp.js +0 -594
  559. package/dist/opam-install.js +0 -40
  560. package/dist/opam.js +0 -140
  561. package/dist/pascal-pascal.js +0 -382
  562. package/dist/pascal.js +0 -80
  563. package/dist/pascal.tmLanguage.js +0 -169
  564. package/dist/pascal2.js +0 -26
  565. package/dist/perl.js +0 -93
  566. package/dist/perl.tmLanguage.js +0 -2986
  567. package/dist/perl6.js +0 -86
  568. package/dist/perl6.tmLanguage.js +0 -323
  569. package/dist/pgsql.tmLanguage.js +0 -284
  570. package/dist/php-php.code-snippets.js +0 -267
  571. package/dist/php.js +0 -154
  572. package/dist/php.tmLanguage.js +0 -4036
  573. package/dist/pip-requirements.js +0 -8
  574. package/dist/pip-requirements.tmLanguage.js +0 -89
  575. package/dist/plaintext.js +0 -11
  576. package/dist/platform.tmLanguage.js +0 -1135
  577. package/dist/postcss.src.yaml.js +0 -393
  578. package/dist/postgres.js +0 -80
  579. package/dist/postgresql.js +0 -75
  580. package/dist/powershell.js +0 -107
  581. package/dist/powershell.tmLanguage.js +0 -1037
  582. package/dist/pug-svelte-dotblock.js +0 -69
  583. package/dist/pug-svelte-tags.js +0 -215
  584. package/dist/pug-svelte.js +0 -307
  585. package/dist/python.js +0 -236
  586. package/dist/r.js +0 -664
  587. package/dist/r2.js +0 -88
  588. package/dist/rbuildignore.js +0 -39
  589. package/dist/rd.js +0 -81
  590. package/dist/reason-markdown-codeblock.js +0 -42
  591. package/dist/reason.js +0 -79
  592. package/dist/rmd.js +0 -84
  593. package/dist/rnamespace.js +0 -283
  594. package/dist/ruby.js +0 -95
  595. package/dist/ruby.tmLanguage.js +0 -2784
  596. package/dist/rust.js +0 -84
  597. package/dist/rust.tmLanguage.js +0 -1178
  598. package/dist/sassdoc.tmLanguage.js +0 -362
  599. package/dist/scala.js +0 -85
  600. package/dist/scalameta.js +0 -224
  601. package/dist/scss.js +0 -117
  602. package/dist/scss.tmLanguage.js +0 -1887
  603. package/dist/sdl.js +0 -162
  604. package/dist/sdl2.js +0 -90
  605. package/dist/semanticdb.js +0 -62
  606. package/dist/shell-unix-bash.tmLanguage.js +0 -2038
  607. package/dist/shellscript.js +0 -93
  608. package/dist/solargraph.js +0 -192
  609. package/dist/solidity-solidity.js +0 -213
  610. package/dist/solidity.js +0 -1224
  611. package/dist/solidity2.js +0 -71
  612. package/dist/solidity3.js +0 -143
  613. package/dist/sql.js +0 -99
  614. package/dist/sql.tmLanguage.js +0 -636
  615. package/dist/svelte.js +0 -120
  616. package/dist/svelte.svelte-vscode-javascript.js +0 -45
  617. package/dist/svelte.svelte-vscode-svelte.js +0 -46
  618. package/dist/svelte.svelte-vscode-typescript.js +0 -43
  619. package/dist/svelte.svelte-vscode.js +0 -383
  620. package/dist/svelte.tmLanguage.src.yaml.js +0 -1099
  621. package/dist/svlangserver-systemverilog.js +0 -395
  622. package/dist/svlangserver.js +0 -85
  623. package/dist/swift-swift.code-snippets.js +0 -183
  624. package/dist/swift.js +0 -90
  625. package/dist/swift.tmLanguage.js +0 -3312
  626. package/dist/systemverilog.js +0 -187
  627. package/dist/systemverilog.tmLanguage.js +0 -1259
  628. package/dist/tasty.js +0 -72
  629. package/dist/tcl-tcl.js +0 -151
  630. package/dist/tcl.js +0 -78
  631. package/dist/tcl.tmlanguage.yaml.js +0 -5490
  632. package/dist/template.js +0 -207
  633. package/dist/theme-defaults~dark_plus.js +0 -210
  634. package/dist/theme-defaults~dark_plus_experimental.js +0 -145
  635. package/dist/theme-defaults~dark_vs.js +0 -412
  636. package/dist/theme-defaults~hc_black.js +0 -471
  637. package/dist/theme-defaults~hc_light.js +0 -595
  638. package/dist/theme-defaults~light_plus.js +0 -212
  639. package/dist/theme-defaults~light_plus_experimental.js +0 -158
  640. package/dist/theme-defaults~light_vs.js +0 -441
  641. package/dist/ts.worker.js +0 -6
  642. package/dist/typescript-basics-typescript.code-snippets.js +0 -313
  643. package/dist/typescript-language-features.js +0 -1103
  644. package/dist/typescript.js +0 -216
  645. package/dist/typescriptreact.js +0 -216
  646. package/dist/vb-vb.code-snippets.js +0 -88
  647. package/dist/vb.js +0 -79
  648. package/dist/verilog.js +0 -187
  649. package/dist/volar-vue.js +0 -289
  650. package/dist/vscode-R-r-snippets.js +0 -534
  651. package/dist/vscode-R-rmarkdown.js +0 -461
  652. package/dist/vscode-R.js +0 -660
  653. package/dist/vscode-django-filters.js +0 -340
  654. package/dist/vscode-django.js +0 -37
  655. package/dist/vscode-go-go.js +0 -276
  656. package/dist/vscode-go.js +0 -1610
  657. package/dist/vscode-groovy.js +0 -28
  658. package/dist/vscode-python.js +0 -706
  659. package/dist/vue-directives.js +0 -25
  660. package/dist/vue-interpolations.js +0 -25
  661. package/dist/vue-sfc-style-variable-injection.js +0 -63
  662. package/dist/vue.js +0 -151
  663. package/dist/vue.tmLanguage.js +0 -1218
  664. package/dist/xml.js +0 -116
  665. package/dist/xml.tmLanguage.js +0 -395
  666. package/dist/xsl.js +0 -39
  667. package/dist/xsl.tmLanguage.js +0 -102
  668. package/dist/yaml.js +0 -82
  669. package/dist/yaml.tmLanguage.js +0 -629
  670. /package/dist/{extensions → editor}/autofold.d.ts +0 -0
  671. /package/dist/{extensions → editor}/cobol.d.ts +0 -0
  672. /package/dist/{extensions → editor}/index.d.ts +0 -0
  673. /package/dist/{languages/snippets/index.d.ts → features/debug.d.ts} +0 -0
  674. /package/dist/{languages/textMate/semanticTokens.d.ts → features/extensionHostWorker.d.ts} +0 -0
package/dist/index.js DELETED
@@ -1,2207 +0,0 @@
1
- import { c as commonjsGlobal, r as require$$0, a as getDefaultExportFromCjs } from './_monaco-editor_commonjs-external.js';
2
-
3
- function _mergeNamespaces(n, m) {
4
- m.forEach(function (e) {
5
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
6
- if (k !== 'default' && !(k in n)) {
7
- var d = Object.getOwnPropertyDescriptor(e, k);
8
- Object.defineProperty(n, k, d.get ? d : {
9
- enumerable: true,
10
- get: function () { return e[k]; }
11
- });
12
- }
13
- });
14
- });
15
- return Object.freeze(n);
16
- }
17
-
18
- var lib = {};
19
-
20
- var emacs = {};
21
-
22
- /**
23
- * lodash (Custom Build) <https://lodash.com/>
24
- * Build: `lodash modularize exports="npm" -o ./`
25
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
26
- * Released under MIT license <https://lodash.com/license>
27
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
28
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
29
- */
30
-
31
- /** Used as the `TypeError` message for "Functions" methods. */
32
- var FUNC_ERROR_TEXT = 'Expected a function';
33
-
34
- /** Used as references for various `Number` constants. */
35
- var NAN = 0 / 0;
36
-
37
- /** `Object#toString` result references. */
38
- var symbolTag$1 = '[object Symbol]';
39
-
40
- /** Used to match leading and trailing whitespace. */
41
- var reTrim = /^\s+|\s+$/g;
42
-
43
- /** Used to detect bad signed hexadecimal string values. */
44
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
45
-
46
- /** Used to detect binary string values. */
47
- var reIsBinary = /^0b[01]+$/i;
48
-
49
- /** Used to detect octal string values. */
50
- var reIsOctal = /^0o[0-7]+$/i;
51
-
52
- /** Built-in method references without a dependency on `root`. */
53
- var freeParseInt = parseInt;
54
-
55
- /** Detect free variable `global` from Node.js. */
56
- var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
57
-
58
- /** Detect free variable `self`. */
59
- var freeSelf$1 = typeof self == 'object' && self && self.Object === Object && self;
60
-
61
- /** Used as a reference to the global object. */
62
- var root$1 = freeGlobal$1 || freeSelf$1 || Function('return this')();
63
-
64
- /** Used for built-in method references. */
65
- var objectProto$1 = Object.prototype;
66
-
67
- /**
68
- * Used to resolve the
69
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
70
- * of values.
71
- */
72
- var objectToString$1 = objectProto$1.toString;
73
-
74
- /* Built-in method references for those with the same name as other `lodash` methods. */
75
- var nativeMax = Math.max,
76
- nativeMin = Math.min;
77
-
78
- /**
79
- * Gets the timestamp of the number of milliseconds that have elapsed since
80
- * the Unix epoch (1 January 1970 00:00:00 UTC).
81
- *
82
- * @static
83
- * @memberOf _
84
- * @since 2.4.0
85
- * @category Date
86
- * @returns {number} Returns the timestamp.
87
- * @example
88
- *
89
- * _.defer(function(stamp) {
90
- * console.log(_.now() - stamp);
91
- * }, _.now());
92
- * // => Logs the number of milliseconds it took for the deferred invocation.
93
- */
94
- var now = function() {
95
- return root$1.Date.now();
96
- };
97
-
98
- /**
99
- * Creates a debounced function that delays invoking `func` until after `wait`
100
- * milliseconds have elapsed since the last time the debounced function was
101
- * invoked. The debounced function comes with a `cancel` method to cancel
102
- * delayed `func` invocations and a `flush` method to immediately invoke them.
103
- * Provide `options` to indicate whether `func` should be invoked on the
104
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
105
- * with the last arguments provided to the debounced function. Subsequent
106
- * calls to the debounced function return the result of the last `func`
107
- * invocation.
108
- *
109
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
110
- * invoked on the trailing edge of the timeout only if the debounced function
111
- * is invoked more than once during the `wait` timeout.
112
- *
113
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
114
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
115
- *
116
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
117
- * for details over the differences between `_.debounce` and `_.throttle`.
118
- *
119
- * @static
120
- * @memberOf _
121
- * @since 0.1.0
122
- * @category Function
123
- * @param {Function} func The function to debounce.
124
- * @param {number} [wait=0] The number of milliseconds to delay.
125
- * @param {Object} [options={}] The options object.
126
- * @param {boolean} [options.leading=false]
127
- * Specify invoking on the leading edge of the timeout.
128
- * @param {number} [options.maxWait]
129
- * The maximum time `func` is allowed to be delayed before it's invoked.
130
- * @param {boolean} [options.trailing=true]
131
- * Specify invoking on the trailing edge of the timeout.
132
- * @returns {Function} Returns the new debounced function.
133
- * @example
134
- *
135
- * // Avoid costly calculations while the window size is in flux.
136
- * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
137
- *
138
- * // Invoke `sendMail` when clicked, debouncing subsequent calls.
139
- * jQuery(element).on('click', _.debounce(sendMail, 300, {
140
- * 'leading': true,
141
- * 'trailing': false
142
- * }));
143
- *
144
- * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
145
- * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
146
- * var source = new EventSource('/stream');
147
- * jQuery(source).on('message', debounced);
148
- *
149
- * // Cancel the trailing debounced invocation.
150
- * jQuery(window).on('popstate', debounced.cancel);
151
- */
152
- function debounce(func, wait, options) {
153
- var lastArgs,
154
- lastThis,
155
- maxWait,
156
- result,
157
- timerId,
158
- lastCallTime,
159
- lastInvokeTime = 0,
160
- leading = false,
161
- maxing = false,
162
- trailing = true;
163
-
164
- if (typeof func != 'function') {
165
- throw new TypeError(FUNC_ERROR_TEXT);
166
- }
167
- wait = toNumber(wait) || 0;
168
- if (isObject(options)) {
169
- leading = !!options.leading;
170
- maxing = 'maxWait' in options;
171
- maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
172
- trailing = 'trailing' in options ? !!options.trailing : trailing;
173
- }
174
-
175
- function invokeFunc(time) {
176
- var args = lastArgs,
177
- thisArg = lastThis;
178
-
179
- lastArgs = lastThis = undefined;
180
- lastInvokeTime = time;
181
- result = func.apply(thisArg, args);
182
- return result;
183
- }
184
-
185
- function leadingEdge(time) {
186
- // Reset any `maxWait` timer.
187
- lastInvokeTime = time;
188
- // Start the timer for the trailing edge.
189
- timerId = setTimeout(timerExpired, wait);
190
- // Invoke the leading edge.
191
- return leading ? invokeFunc(time) : result;
192
- }
193
-
194
- function remainingWait(time) {
195
- var timeSinceLastCall = time - lastCallTime,
196
- timeSinceLastInvoke = time - lastInvokeTime,
197
- result = wait - timeSinceLastCall;
198
-
199
- return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
200
- }
201
-
202
- function shouldInvoke(time) {
203
- var timeSinceLastCall = time - lastCallTime,
204
- timeSinceLastInvoke = time - lastInvokeTime;
205
-
206
- // Either this is the first call, activity has stopped and we're at the
207
- // trailing edge, the system time has gone backwards and we're treating
208
- // it as the trailing edge, or we've hit the `maxWait` limit.
209
- return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
210
- (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
211
- }
212
-
213
- function timerExpired() {
214
- var time = now();
215
- if (shouldInvoke(time)) {
216
- return trailingEdge(time);
217
- }
218
- // Restart the timer.
219
- timerId = setTimeout(timerExpired, remainingWait(time));
220
- }
221
-
222
- function trailingEdge(time) {
223
- timerId = undefined;
224
-
225
- // Only invoke if we have `lastArgs` which means `func` has been
226
- // debounced at least once.
227
- if (trailing && lastArgs) {
228
- return invokeFunc(time);
229
- }
230
- lastArgs = lastThis = undefined;
231
- return result;
232
- }
233
-
234
- function cancel() {
235
- if (timerId !== undefined) {
236
- clearTimeout(timerId);
237
- }
238
- lastInvokeTime = 0;
239
- lastArgs = lastCallTime = lastThis = timerId = undefined;
240
- }
241
-
242
- function flush() {
243
- return timerId === undefined ? result : trailingEdge(now());
244
- }
245
-
246
- function debounced() {
247
- var time = now(),
248
- isInvoking = shouldInvoke(time);
249
-
250
- lastArgs = arguments;
251
- lastThis = this;
252
- lastCallTime = time;
253
-
254
- if (isInvoking) {
255
- if (timerId === undefined) {
256
- return leadingEdge(lastCallTime);
257
- }
258
- if (maxing) {
259
- // Handle invocations in a tight loop.
260
- timerId = setTimeout(timerExpired, wait);
261
- return invokeFunc(lastCallTime);
262
- }
263
- }
264
- if (timerId === undefined) {
265
- timerId = setTimeout(timerExpired, wait);
266
- }
267
- return result;
268
- }
269
- debounced.cancel = cancel;
270
- debounced.flush = flush;
271
- return debounced;
272
- }
273
-
274
- /**
275
- * Creates a throttled function that only invokes `func` at most once per
276
- * every `wait` milliseconds. The throttled function comes with a `cancel`
277
- * method to cancel delayed `func` invocations and a `flush` method to
278
- * immediately invoke them. Provide `options` to indicate whether `func`
279
- * should be invoked on the leading and/or trailing edge of the `wait`
280
- * timeout. The `func` is invoked with the last arguments provided to the
281
- * throttled function. Subsequent calls to the throttled function return the
282
- * result of the last `func` invocation.
283
- *
284
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
285
- * invoked on the trailing edge of the timeout only if the throttled function
286
- * is invoked more than once during the `wait` timeout.
287
- *
288
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
289
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
290
- *
291
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
292
- * for details over the differences between `_.throttle` and `_.debounce`.
293
- *
294
- * @static
295
- * @memberOf _
296
- * @since 0.1.0
297
- * @category Function
298
- * @param {Function} func The function to throttle.
299
- * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
300
- * @param {Object} [options={}] The options object.
301
- * @param {boolean} [options.leading=true]
302
- * Specify invoking on the leading edge of the timeout.
303
- * @param {boolean} [options.trailing=true]
304
- * Specify invoking on the trailing edge of the timeout.
305
- * @returns {Function} Returns the new throttled function.
306
- * @example
307
- *
308
- * // Avoid excessively updating the position while scrolling.
309
- * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
310
- *
311
- * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
312
- * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
313
- * jQuery(element).on('click', throttled);
314
- *
315
- * // Cancel the trailing throttled invocation.
316
- * jQuery(window).on('popstate', throttled.cancel);
317
- */
318
- function throttle$1(func, wait, options) {
319
- var leading = true,
320
- trailing = true;
321
-
322
- if (typeof func != 'function') {
323
- throw new TypeError(FUNC_ERROR_TEXT);
324
- }
325
- if (isObject(options)) {
326
- leading = 'leading' in options ? !!options.leading : leading;
327
- trailing = 'trailing' in options ? !!options.trailing : trailing;
328
- }
329
- return debounce(func, wait, {
330
- 'leading': leading,
331
- 'maxWait': wait,
332
- 'trailing': trailing
333
- });
334
- }
335
-
336
- /**
337
- * Checks if `value` is the
338
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
339
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
340
- *
341
- * @static
342
- * @memberOf _
343
- * @since 0.1.0
344
- * @category Lang
345
- * @param {*} value The value to check.
346
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
347
- * @example
348
- *
349
- * _.isObject({});
350
- * // => true
351
- *
352
- * _.isObject([1, 2, 3]);
353
- * // => true
354
- *
355
- * _.isObject(_.noop);
356
- * // => true
357
- *
358
- * _.isObject(null);
359
- * // => false
360
- */
361
- function isObject(value) {
362
- var type = typeof value;
363
- return !!value && (type == 'object' || type == 'function');
364
- }
365
-
366
- /**
367
- * Checks if `value` is object-like. A value is object-like if it's not `null`
368
- * and has a `typeof` result of "object".
369
- *
370
- * @static
371
- * @memberOf _
372
- * @since 4.0.0
373
- * @category Lang
374
- * @param {*} value The value to check.
375
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
376
- * @example
377
- *
378
- * _.isObjectLike({});
379
- * // => true
380
- *
381
- * _.isObjectLike([1, 2, 3]);
382
- * // => true
383
- *
384
- * _.isObjectLike(_.noop);
385
- * // => false
386
- *
387
- * _.isObjectLike(null);
388
- * // => false
389
- */
390
- function isObjectLike$1(value) {
391
- return !!value && typeof value == 'object';
392
- }
393
-
394
- /**
395
- * Checks if `value` is classified as a `Symbol` primitive or object.
396
- *
397
- * @static
398
- * @memberOf _
399
- * @since 4.0.0
400
- * @category Lang
401
- * @param {*} value The value to check.
402
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
403
- * @example
404
- *
405
- * _.isSymbol(Symbol.iterator);
406
- * // => true
407
- *
408
- * _.isSymbol('abc');
409
- * // => false
410
- */
411
- function isSymbol$1(value) {
412
- return typeof value == 'symbol' ||
413
- (isObjectLike$1(value) && objectToString$1.call(value) == symbolTag$1);
414
- }
415
-
416
- /**
417
- * Converts `value` to a number.
418
- *
419
- * @static
420
- * @memberOf _
421
- * @since 4.0.0
422
- * @category Lang
423
- * @param {*} value The value to process.
424
- * @returns {number} Returns the number.
425
- * @example
426
- *
427
- * _.toNumber(3.2);
428
- * // => 3.2
429
- *
430
- * _.toNumber(Number.MIN_VALUE);
431
- * // => 5e-324
432
- *
433
- * _.toNumber(Infinity);
434
- * // => Infinity
435
- *
436
- * _.toNumber('3.2');
437
- * // => 3.2
438
- */
439
- function toNumber(value) {
440
- if (typeof value == 'number') {
441
- return value;
442
- }
443
- if (isSymbol$1(value)) {
444
- return NAN;
445
- }
446
- if (isObject(value)) {
447
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
448
- value = isObject(other) ? (other + '') : other;
449
- }
450
- if (typeof value != 'string') {
451
- return value === 0 ? value : +value;
452
- }
453
- value = value.replace(reTrim, '');
454
- var isBinary = reIsBinary.test(value);
455
- return (isBinary || reIsOctal.test(value))
456
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
457
- : (reIsBadHex.test(value) ? NAN : +value);
458
- }
459
-
460
- var lodash_throttle = throttle$1;
461
-
462
- /**
463
- * lodash (Custom Build) <https://lodash.com/>
464
- * Build: `lodash modularize exports="npm" -o ./`
465
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
466
- * Released under MIT license <https://lodash.com/license>
467
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
468
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
469
- */
470
-
471
- /** Used as references for various `Number` constants. */
472
- var INFINITY = 1 / 0;
473
-
474
- /** `Object#toString` result references. */
475
- var symbolTag = '[object Symbol]';
476
-
477
- /** Used to match words composed of alphanumeric characters. */
478
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
479
-
480
- /** Used to match Latin Unicode letters (excluding mathematical operators). */
481
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
482
-
483
- /** Used to compose unicode character classes. */
484
- var rsAstralRange = '\\ud800-\\udfff',
485
- rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
486
- rsComboSymbolsRange = '\\u20d0-\\u20f0',
487
- rsDingbatRange = '\\u2700-\\u27bf',
488
- rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
489
- rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
490
- rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
491
- rsPunctuationRange = '\\u2000-\\u206f',
492
- rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
493
- rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
494
- rsVarRange = '\\ufe0e\\ufe0f',
495
- rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
496
-
497
- /** Used to compose unicode capture groups. */
498
- var rsApos = "['\u2019]",
499
- rsBreak = '[' + rsBreakRange + ']',
500
- rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
501
- rsDigits = '\\d+',
502
- rsDingbat = '[' + rsDingbatRange + ']',
503
- rsLower = '[' + rsLowerRange + ']',
504
- rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
505
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
506
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
507
- rsNonAstral = '[^' + rsAstralRange + ']',
508
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
509
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
510
- rsUpper = '[' + rsUpperRange + ']',
511
- rsZWJ = '\\u200d';
512
-
513
- /** Used to compose unicode regexes. */
514
- var rsLowerMisc = '(?:' + rsLower + '|' + rsMisc + ')',
515
- rsUpperMisc = '(?:' + rsUpper + '|' + rsMisc + ')',
516
- rsOptLowerContr = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
517
- rsOptUpperContr = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
518
- reOptMod = rsModifier + '?',
519
- rsOptVar = '[' + rsVarRange + ']?',
520
- rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
521
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
522
- rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;
523
-
524
- /** Used to match apostrophes. */
525
- var reApos = RegExp(rsApos, 'g');
526
-
527
- /**
528
- * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
529
- * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
530
- */
531
- var reComboMark = RegExp(rsCombo, 'g');
532
-
533
- /** Used to match complex or compound words. */
534
- var reUnicodeWord = RegExp([
535
- rsUpper + '?' + rsLower + '+' + rsOptLowerContr + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
536
- rsUpperMisc + '+' + rsOptUpperContr + '(?=' + [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') + ')',
537
- rsUpper + '?' + rsLowerMisc + '+' + rsOptLowerContr,
538
- rsUpper + '+' + rsOptUpperContr,
539
- rsDigits,
540
- rsEmoji
541
- ].join('|'), 'g');
542
-
543
- /** Used to detect strings that need a more robust regexp to match words. */
544
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
545
-
546
- /** Used to map Latin Unicode letters to basic Latin letters. */
547
- var deburredLetters = {
548
- // Latin-1 Supplement block.
549
- '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
550
- '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
551
- '\xc7': 'C', '\xe7': 'c',
552
- '\xd0': 'D', '\xf0': 'd',
553
- '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
554
- '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
555
- '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
556
- '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
557
- '\xd1': 'N', '\xf1': 'n',
558
- '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
559
- '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
560
- '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
561
- '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
562
- '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
563
- '\xc6': 'Ae', '\xe6': 'ae',
564
- '\xde': 'Th', '\xfe': 'th',
565
- '\xdf': 'ss',
566
- // Latin Extended-A block.
567
- '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
568
- '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
569
- '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
570
- '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
571
- '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
572
- '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
573
- '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
574
- '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
575
- '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
576
- '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
577
- '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
578
- '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
579
- '\u0134': 'J', '\u0135': 'j',
580
- '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
581
- '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
582
- '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
583
- '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
584
- '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
585
- '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
586
- '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
587
- '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
588
- '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
589
- '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
590
- '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
591
- '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
592
- '\u0163': 't', '\u0165': 't', '\u0167': 't',
593
- '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
594
- '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
595
- '\u0174': 'W', '\u0175': 'w',
596
- '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
597
- '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
598
- '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
599
- '\u0132': 'IJ', '\u0133': 'ij',
600
- '\u0152': 'Oe', '\u0153': 'oe',
601
- '\u0149': "'n", '\u017f': 'ss'
602
- };
603
-
604
- /** Detect free variable `global` from Node.js. */
605
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
606
-
607
- /** Detect free variable `self`. */
608
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
609
-
610
- /** Used as a reference to the global object. */
611
- var root = freeGlobal || freeSelf || Function('return this')();
612
-
613
- /**
614
- * A specialized version of `_.reduce` for arrays without support for
615
- * iteratee shorthands.
616
- *
617
- * @private
618
- * @param {Array} [array] The array to iterate over.
619
- * @param {Function} iteratee The function invoked per iteration.
620
- * @param {*} [accumulator] The initial value.
621
- * @param {boolean} [initAccum] Specify using the first element of `array` as
622
- * the initial value.
623
- * @returns {*} Returns the accumulated value.
624
- */
625
- function arrayReduce(array, iteratee, accumulator, initAccum) {
626
- var index = -1,
627
- length = array ? array.length : 0;
628
-
629
- if (initAccum && length) {
630
- accumulator = array[++index];
631
- }
632
- while (++index < length) {
633
- accumulator = iteratee(accumulator, array[index], index, array);
634
- }
635
- return accumulator;
636
- }
637
-
638
- /**
639
- * Splits an ASCII `string` into an array of its words.
640
- *
641
- * @private
642
- * @param {string} The string to inspect.
643
- * @returns {Array} Returns the words of `string`.
644
- */
645
- function asciiWords(string) {
646
- return string.match(reAsciiWord) || [];
647
- }
648
-
649
- /**
650
- * The base implementation of `_.propertyOf` without support for deep paths.
651
- *
652
- * @private
653
- * @param {Object} object The object to query.
654
- * @returns {Function} Returns the new accessor function.
655
- */
656
- function basePropertyOf(object) {
657
- return function(key) {
658
- return object == null ? undefined : object[key];
659
- };
660
- }
661
-
662
- /**
663
- * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
664
- * letters to basic Latin letters.
665
- *
666
- * @private
667
- * @param {string} letter The matched letter to deburr.
668
- * @returns {string} Returns the deburred letter.
669
- */
670
- var deburrLetter = basePropertyOf(deburredLetters);
671
-
672
- /**
673
- * Checks if `string` contains a word composed of Unicode symbols.
674
- *
675
- * @private
676
- * @param {string} string The string to inspect.
677
- * @returns {boolean} Returns `true` if a word is found, else `false`.
678
- */
679
- function hasUnicodeWord(string) {
680
- return reHasUnicodeWord.test(string);
681
- }
682
-
683
- /**
684
- * Splits a Unicode `string` into an array of its words.
685
- *
686
- * @private
687
- * @param {string} The string to inspect.
688
- * @returns {Array} Returns the words of `string`.
689
- */
690
- function unicodeWords(string) {
691
- return string.match(reUnicodeWord) || [];
692
- }
693
-
694
- /** Used for built-in method references. */
695
- var objectProto = Object.prototype;
696
-
697
- /**
698
- * Used to resolve the
699
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
700
- * of values.
701
- */
702
- var objectToString = objectProto.toString;
703
-
704
- /** Built-in value references. */
705
- var Symbol = root.Symbol;
706
-
707
- /** Used to convert symbols to primitives and strings. */
708
- var symbolProto = Symbol ? Symbol.prototype : undefined,
709
- symbolToString = symbolProto ? symbolProto.toString : undefined;
710
-
711
- /**
712
- * The base implementation of `_.toString` which doesn't convert nullish
713
- * values to empty strings.
714
- *
715
- * @private
716
- * @param {*} value The value to process.
717
- * @returns {string} Returns the string.
718
- */
719
- function baseToString(value) {
720
- // Exit early for strings to avoid a performance hit in some environments.
721
- if (typeof value == 'string') {
722
- return value;
723
- }
724
- if (isSymbol(value)) {
725
- return symbolToString ? symbolToString.call(value) : '';
726
- }
727
- var result = (value + '');
728
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
729
- }
730
-
731
- /**
732
- * Creates a function like `_.camelCase`.
733
- *
734
- * @private
735
- * @param {Function} callback The function to combine each word.
736
- * @returns {Function} Returns the new compounder function.
737
- */
738
- function createCompounder(callback) {
739
- return function(string) {
740
- return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
741
- };
742
- }
743
-
744
- /**
745
- * Checks if `value` is object-like. A value is object-like if it's not `null`
746
- * and has a `typeof` result of "object".
747
- *
748
- * @static
749
- * @memberOf _
750
- * @since 4.0.0
751
- * @category Lang
752
- * @param {*} value The value to check.
753
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
754
- * @example
755
- *
756
- * _.isObjectLike({});
757
- * // => true
758
- *
759
- * _.isObjectLike([1, 2, 3]);
760
- * // => true
761
- *
762
- * _.isObjectLike(_.noop);
763
- * // => false
764
- *
765
- * _.isObjectLike(null);
766
- * // => false
767
- */
768
- function isObjectLike(value) {
769
- return !!value && typeof value == 'object';
770
- }
771
-
772
- /**
773
- * Checks if `value` is classified as a `Symbol` primitive or object.
774
- *
775
- * @static
776
- * @memberOf _
777
- * @since 4.0.0
778
- * @category Lang
779
- * @param {*} value The value to check.
780
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
781
- * @example
782
- *
783
- * _.isSymbol(Symbol.iterator);
784
- * // => true
785
- *
786
- * _.isSymbol('abc');
787
- * // => false
788
- */
789
- function isSymbol(value) {
790
- return typeof value == 'symbol' ||
791
- (isObjectLike(value) && objectToString.call(value) == symbolTag);
792
- }
793
-
794
- /**
795
- * Converts `value` to a string. An empty string is returned for `null`
796
- * and `undefined` values. The sign of `-0` is preserved.
797
- *
798
- * @static
799
- * @memberOf _
800
- * @since 4.0.0
801
- * @category Lang
802
- * @param {*} value The value to process.
803
- * @returns {string} Returns the string.
804
- * @example
805
- *
806
- * _.toString(null);
807
- * // => ''
808
- *
809
- * _.toString(-0);
810
- * // => '-0'
811
- *
812
- * _.toString([1, 2, 3]);
813
- * // => '1,2,3'
814
- */
815
- function toString(value) {
816
- return value == null ? '' : baseToString(value);
817
- }
818
-
819
- /**
820
- * Deburrs `string` by converting
821
- * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
822
- * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
823
- * letters to basic Latin letters and removing
824
- * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
825
- *
826
- * @static
827
- * @memberOf _
828
- * @since 3.0.0
829
- * @category String
830
- * @param {string} [string=''] The string to deburr.
831
- * @returns {string} Returns the deburred string.
832
- * @example
833
- *
834
- * _.deburr('déjà vu');
835
- * // => 'deja vu'
836
- */
837
- function deburr(string) {
838
- string = toString(string);
839
- return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
840
- }
841
-
842
- /**
843
- * Converts `string` to
844
- * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
845
- *
846
- * @static
847
- * @memberOf _
848
- * @since 3.0.0
849
- * @category String
850
- * @param {string} [string=''] The string to convert.
851
- * @returns {string} Returns the kebab cased string.
852
- * @example
853
- *
854
- * _.kebabCase('Foo Bar');
855
- * // => 'foo-bar'
856
- *
857
- * _.kebabCase('fooBar');
858
- * // => 'foo-bar'
859
- *
860
- * _.kebabCase('__FOO_BAR__');
861
- * // => 'foo-bar'
862
- */
863
- var kebabCase$1 = createCompounder(function(result, word, index) {
864
- return result + (index ? '-' : '') + word.toLowerCase();
865
- });
866
-
867
- /**
868
- * Splits `string` into an array of its words.
869
- *
870
- * @static
871
- * @memberOf _
872
- * @since 3.0.0
873
- * @category String
874
- * @param {string} [string=''] The string to inspect.
875
- * @param {RegExp|string} [pattern] The pattern to match words.
876
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
877
- * @returns {Array} Returns the words of `string`.
878
- * @example
879
- *
880
- * _.words('fred, barney, & pebbles');
881
- * // => ['fred', 'barney', 'pebbles']
882
- *
883
- * _.words('fred, barney, & pebbles', /[^, ]+/g);
884
- * // => ['fred', 'barney', '&', 'pebbles']
885
- */
886
- function words(string, pattern, guard) {
887
- string = toString(string);
888
- pattern = guard ? undefined : pattern;
889
-
890
- if (pattern === undefined) {
891
- return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
892
- }
893
- return string.match(pattern) || [];
894
- }
895
-
896
- var lodash_kebabcase = kebabCase$1;
897
-
898
- var commands = {};
899
-
900
- var actions = {};
901
-
902
- (function (exports) {
903
- var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
904
- var extendStatics = function (d, b) {
905
- extendStatics = Object.setPrototypeOf ||
906
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
907
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
908
- return extendStatics(d, b);
909
- };
910
- return function (d, b) {
911
- if (typeof b !== "function" && b !== null)
912
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
913
- extendStatics(d, b);
914
- function __() { this.constructor = d; }
915
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
916
- };
917
- })();
918
- Object.defineProperty(exports, "__esModule", { value: true });
919
- exports.DeleteLines = exports.SearchReplace = exports.Search = exports.InvertSelection = exports.GotoLine = exports.RotateCursorOnScreen = exports.InsertTabs = exports.RevealToBottomAction = exports.RevealToCenterAction = exports.RevealToTopAction = exports.RevealEditorAction = exports.YankRotate = exports.YankSelectionToRing = exports.Yank = exports.RedoAction = exports.UndoAction = exports.KeyBoardQuit = exports.MoveCursorTop = exports.MoveCursorBottom = exports.MoveCursorWordLeft = exports.MoveCursorWordRight = exports.MoveCursorToLineStart = exports.MoveCursorToLineEnd = exports.MoveCursorRight = exports.MoveCursorLeft = exports.MoveCursorDown = exports.MoveCursorUp = exports.SetMark = exports.InsertLineAfter = exports.InsertLineBelow = exports.KillLines = exports.KillSelection = exports.BaseAction = exports.SOURCE = void 0;
920
- var monaco = require$$0;
921
- exports.SOURCE = 'extension.emacs';
922
- function moveCursor(editor, hasSelection, direction, unit, repeat) {
923
- if (repeat === void 0) { repeat = 1; }
924
- var action = "cursor".concat(unit === 'word' ? 'Word' : '').concat(direction).concat(hasSelection ? 'Select' : '');
925
- for (var i = 0; i < repeat; i++) {
926
- editor.trigger(exports.SOURCE, action, null);
927
- }
928
- }
929
- var BaseAction = (function () {
930
- function BaseAction() {
931
- this.description = '';
932
- }
933
- return BaseAction;
934
- }());
935
- exports.BaseAction = BaseAction;
936
- var TriggerAction = (function (_super) {
937
- __extends(TriggerAction, _super);
938
- function TriggerAction(trigger) {
939
- var _this = _super.call(this) || this;
940
- _this.trigger = trigger;
941
- return _this;
942
- }
943
- TriggerAction.prototype.run = function (editor) {
944
- editor.trigger(exports.SOURCE, this.trigger, {});
945
- };
946
- return TriggerAction;
947
- }(BaseAction));
948
- var KillSelection = (function (_super) {
949
- __extends(KillSelection, _super);
950
- function KillSelection() {
951
- return _super !== null && _super.apply(this, arguments) || this;
952
- }
953
- KillSelection.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
954
- var selections = editor.getSelections();
955
- if (!selections.length) {
956
- return;
957
- }
958
- selections.forEach(function (sel) {
959
- var text = editor.getModel().getValueInRange(sel);
960
- ext.state.addToRing(text);
961
- editor.executeEdits(exports.SOURCE, [{
962
- range: sel,
963
- text: '',
964
- }]);
965
- });
966
- };
967
- return KillSelection;
968
- }(BaseAction));
969
- exports.KillSelection = KillSelection;
970
- var KillLines = (function (_super) {
971
- __extends(KillLines, _super);
972
- function KillLines() {
973
- return _super !== null && _super.apply(this, arguments) || this;
974
- }
975
- KillLines.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
976
- ext.selectionMode = false;
977
- var model = editor.getModel();
978
- var pos = ext.getCursorAnchor();
979
- var endPos;
980
- if (repeat === 1) {
981
- var lineLength = model.getLineLength(pos.lineNumber);
982
- var isAtEnd = pos.column === lineLength + 1;
983
- if (!lineLength || isAtEnd) {
984
- if (repeatedTrigger) {
985
- ext.state.growRingTop(model.getEOL());
986
- }
987
- else {
988
- ext.state.addToRing(model.getEOL());
989
- }
990
- editor.trigger(exports.SOURCE, 'deleteAllRight', null);
991
- return;
992
- }
993
- else {
994
- endPos = new monaco.Position(pos.lineNumber, model.getLineLength(pos.lineNumber) + 1);
995
- }
996
- }
997
- else {
998
- var totalLines = model.getLineCount();
999
- var endLine = (pos.lineNumber + repeat) > totalLines ? totalLines : (pos.lineNumber + repeat);
1000
- endPos = new monaco.Position(endLine, model.getLineLength(endLine) + 1);
1001
- }
1002
- var range = monaco.Range.fromPositions(pos, endPos);
1003
- if (repeatedTrigger) {
1004
- ext.state.growRingTop(model.getValueInRange(range));
1005
- }
1006
- else {
1007
- ext.state.addToRing(model.getValueInRange(range));
1008
- }
1009
- editor.executeEdits(exports.SOURCE, [{
1010
- range: range,
1011
- text: '',
1012
- }]);
1013
- editor.setSelection(monaco.Selection.fromPositions(pos, pos));
1014
- };
1015
- return KillLines;
1016
- }(BaseAction));
1017
- exports.KillLines = KillLines;
1018
- var InsertLineBelow = (function (_super) {
1019
- __extends(InsertLineBelow, _super);
1020
- function InsertLineBelow() {
1021
- return _super !== null && _super.apply(this, arguments) || this;
1022
- }
1023
- InsertLineBelow.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1024
- var pos = editor.getPosition();
1025
- editor.trigger(exports.SOURCE, 'editor.action.insertLineAfter', null);
1026
- editor.setPosition(pos);
1027
- };
1028
- return InsertLineBelow;
1029
- }(BaseAction));
1030
- exports.InsertLineBelow = InsertLineBelow;
1031
- var InsertLineAfter = (function (_super) {
1032
- __extends(InsertLineAfter, _super);
1033
- function InsertLineAfter() {
1034
- return _super !== null && _super.apply(this, arguments) || this;
1035
- }
1036
- InsertLineAfter.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1037
- var text = '';
1038
- for (var i = 0; i < repeat; i++) {
1039
- text += editor.getModel().getEOL();
1040
- }
1041
- ext.selectionMode = false;
1042
- var pos = ext.getCursorAnchor();
1043
- editor.executeEdits(exports.SOURCE, [{
1044
- range: monaco.Range.fromPositions(pos),
1045
- text: text,
1046
- forceMoveMarkers: true,
1047
- }]);
1048
- };
1049
- return InsertLineAfter;
1050
- }(BaseAction));
1051
- exports.InsertLineAfter = InsertLineAfter;
1052
- var SetMark = (function (_super) {
1053
- __extends(SetMark, _super);
1054
- function SetMark() {
1055
- return _super !== null && _super.apply(this, arguments) || this;
1056
- }
1057
- SetMark.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1058
- ext.selectionMode;
1059
- var sel = editor.getSelection();
1060
- var selEmpty = sel.isEmpty();
1061
- if (!selEmpty) {
1062
- var dir = sel.getDirection();
1063
- if (dir === monaco.SelectionDirection.LTR) {
1064
- editor.setSelection(monaco.Selection.fromPositions(sel.getEndPosition(), sel.getEndPosition()));
1065
- }
1066
- else {
1067
- editor.setSelection(monaco.Selection.fromPositions(sel.getStartPosition(), sel.getStartPosition()));
1068
- }
1069
- }
1070
- if (selEmpty && ext.selectionMode) {
1071
- ext.selectionMode = false;
1072
- }
1073
- else {
1074
- ext.selectionMode = true;
1075
- }
1076
- };
1077
- return SetMark;
1078
- }(BaseAction));
1079
- exports.SetMark = SetMark;
1080
- var MoveCursorAction = (function (_super) {
1081
- __extends(MoveCursorAction, _super);
1082
- function MoveCursorAction() {
1083
- var _this = _super !== null && _super.apply(this, arguments) || this;
1084
- _this.unit = 'char';
1085
- return _this;
1086
- }
1087
- MoveCursorAction.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1088
- moveCursor(editor, ext.selectionMode, this.direction, this.unit, repeat);
1089
- };
1090
- return MoveCursorAction;
1091
- }(BaseAction));
1092
- var MoveCursorUp = (function (_super) {
1093
- __extends(MoveCursorUp, _super);
1094
- function MoveCursorUp() {
1095
- var _this = _super !== null && _super.apply(this, arguments) || this;
1096
- _this.direction = 'Up';
1097
- return _this;
1098
- }
1099
- return MoveCursorUp;
1100
- }(MoveCursorAction));
1101
- exports.MoveCursorUp = MoveCursorUp;
1102
- var MoveCursorDown = (function (_super) {
1103
- __extends(MoveCursorDown, _super);
1104
- function MoveCursorDown() {
1105
- var _this = _super !== null && _super.apply(this, arguments) || this;
1106
- _this.direction = 'Down';
1107
- return _this;
1108
- }
1109
- return MoveCursorDown;
1110
- }(MoveCursorAction));
1111
- exports.MoveCursorDown = MoveCursorDown;
1112
- var MoveCursorLeft = (function (_super) {
1113
- __extends(MoveCursorLeft, _super);
1114
- function MoveCursorLeft() {
1115
- var _this = _super !== null && _super.apply(this, arguments) || this;
1116
- _this.direction = 'Left';
1117
- return _this;
1118
- }
1119
- return MoveCursorLeft;
1120
- }(MoveCursorAction));
1121
- exports.MoveCursorLeft = MoveCursorLeft;
1122
- var MoveCursorRight = (function (_super) {
1123
- __extends(MoveCursorRight, _super);
1124
- function MoveCursorRight() {
1125
- var _this = _super !== null && _super.apply(this, arguments) || this;
1126
- _this.direction = 'Right';
1127
- return _this;
1128
- }
1129
- return MoveCursorRight;
1130
- }(MoveCursorAction));
1131
- exports.MoveCursorRight = MoveCursorRight;
1132
- var MoveCursorToLineEnd = (function (_super) {
1133
- __extends(MoveCursorToLineEnd, _super);
1134
- function MoveCursorToLineEnd() {
1135
- var _this = _super !== null && _super.apply(this, arguments) || this;
1136
- _this.direction = 'End';
1137
- return _this;
1138
- }
1139
- return MoveCursorToLineEnd;
1140
- }(MoveCursorAction));
1141
- exports.MoveCursorToLineEnd = MoveCursorToLineEnd;
1142
- var MoveCursorToLineStart = (function (_super) {
1143
- __extends(MoveCursorToLineStart, _super);
1144
- function MoveCursorToLineStart() {
1145
- var _this = _super !== null && _super.apply(this, arguments) || this;
1146
- _this.direction = 'Home';
1147
- return _this;
1148
- }
1149
- return MoveCursorToLineStart;
1150
- }(MoveCursorAction));
1151
- exports.MoveCursorToLineStart = MoveCursorToLineStart;
1152
- var MoveCursorWordRight = (function (_super) {
1153
- __extends(MoveCursorWordRight, _super);
1154
- function MoveCursorWordRight() {
1155
- var _this = _super !== null && _super.apply(this, arguments) || this;
1156
- _this.unit = 'word';
1157
- return _this;
1158
- }
1159
- return MoveCursorWordRight;
1160
- }(MoveCursorRight));
1161
- exports.MoveCursorWordRight = MoveCursorWordRight;
1162
- var MoveCursorWordLeft = (function (_super) {
1163
- __extends(MoveCursorWordLeft, _super);
1164
- function MoveCursorWordLeft() {
1165
- var _this = _super !== null && _super.apply(this, arguments) || this;
1166
- _this.unit = 'word';
1167
- return _this;
1168
- }
1169
- return MoveCursorWordLeft;
1170
- }(MoveCursorLeft));
1171
- exports.MoveCursorWordLeft = MoveCursorWordLeft;
1172
- var MoveCursorBottom = (function (_super) {
1173
- __extends(MoveCursorBottom, _super);
1174
- function MoveCursorBottom() {
1175
- var _this = _super !== null && _super.apply(this, arguments) || this;
1176
- _this.direction = 'Bottom';
1177
- return _this;
1178
- }
1179
- return MoveCursorBottom;
1180
- }(MoveCursorAction));
1181
- exports.MoveCursorBottom = MoveCursorBottom;
1182
- var MoveCursorTop = (function (_super) {
1183
- __extends(MoveCursorTop, _super);
1184
- function MoveCursorTop() {
1185
- var _this = _super !== null && _super.apply(this, arguments) || this;
1186
- _this.direction = 'Top';
1187
- return _this;
1188
- }
1189
- return MoveCursorTop;
1190
- }(MoveCursorAction));
1191
- exports.MoveCursorTop = MoveCursorTop;
1192
- var KeyBoardQuit = (function (_super) {
1193
- __extends(KeyBoardQuit, _super);
1194
- function KeyBoardQuit() {
1195
- return _super !== null && _super.apply(this, arguments) || this;
1196
- }
1197
- KeyBoardQuit.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1198
- ext.selectionMode = false;
1199
- ext.clearState();
1200
- editor.setPosition(editor.getPosition());
1201
- };
1202
- return KeyBoardQuit;
1203
- }(BaseAction));
1204
- exports.KeyBoardQuit = KeyBoardQuit;
1205
- var HistoryAction = (function (_super) {
1206
- __extends(HistoryAction, _super);
1207
- function HistoryAction() {
1208
- return _super !== null && _super.apply(this, arguments) || this;
1209
- }
1210
- HistoryAction.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1211
- for (var i = 0; i < repeat; i++) {
1212
- editor.trigger(exports.SOURCE, this.action, null);
1213
- }
1214
- };
1215
- return HistoryAction;
1216
- }(BaseAction));
1217
- var UndoAction = (function (_super) {
1218
- __extends(UndoAction, _super);
1219
- function UndoAction() {
1220
- var _this = _super !== null && _super.apply(this, arguments) || this;
1221
- _this.action = 'undo';
1222
- return _this;
1223
- }
1224
- return UndoAction;
1225
- }(HistoryAction));
1226
- exports.UndoAction = UndoAction;
1227
- var RedoAction = (function (_super) {
1228
- __extends(RedoAction, _super);
1229
- function RedoAction() {
1230
- var _this = _super !== null && _super.apply(this, arguments) || this;
1231
- _this.action = 'redo';
1232
- return _this;
1233
- }
1234
- return RedoAction;
1235
- }(HistoryAction));
1236
- exports.RedoAction = RedoAction;
1237
- var Yank = (function (_super) {
1238
- __extends(Yank, _super);
1239
- function Yank() {
1240
- return _super !== null && _super.apply(this, arguments) || this;
1241
- }
1242
- Yank.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1243
- var text = ext.state.getFromRing(repeat);
1244
- if (!text) {
1245
- return;
1246
- }
1247
- var pos = editor.getPosition();
1248
- editor.executeEdits(exports.SOURCE, [{
1249
- range: monaco.Range.fromPositions(pos, pos),
1250
- text: text,
1251
- forceMoveMarkers: true,
1252
- }]);
1253
- };
1254
- return Yank;
1255
- }(BaseAction));
1256
- exports.Yank = Yank;
1257
- var YankSelectionToRing = (function (_super) {
1258
- __extends(YankSelectionToRing, _super);
1259
- function YankSelectionToRing() {
1260
- return _super !== null && _super.apply(this, arguments) || this;
1261
- }
1262
- YankSelectionToRing.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1263
- var sel = editor.getSelection();
1264
- if (sel.isEmpty()) {
1265
- return;
1266
- }
1267
- ext.state.addToRing(editor.getModel().getValueInRange(sel));
1268
- ext.selectionMode = false;
1269
- var pos = ext.getCursorAnchor();
1270
- editor.setSelection(monaco.Selection.fromPositions(pos, pos));
1271
- };
1272
- return YankSelectionToRing;
1273
- }(BaseAction));
1274
- exports.YankSelectionToRing = YankSelectionToRing;
1275
- var YankRotate = (function (_super) {
1276
- __extends(YankRotate, _super);
1277
- function YankRotate() {
1278
- return _super !== null && _super.apply(this, arguments) || this;
1279
- }
1280
- YankRotate.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1281
- var text = ext.state.popFromRing();
1282
- if (!text) {
1283
- return;
1284
- }
1285
- var pos = ext.getCursorAnchor();
1286
- editor.executeEdits(exports.SOURCE, [{
1287
- range: monaco.Range.fromPositions(pos),
1288
- text: text,
1289
- forceMoveMarkers: true,
1290
- }]);
1291
- };
1292
- return YankRotate;
1293
- }(BaseAction));
1294
- exports.YankRotate = YankRotate;
1295
- var RevealEditorAction = (function (_super) {
1296
- __extends(RevealEditorAction, _super);
1297
- function RevealEditorAction() {
1298
- return _super !== null && _super.apply(this, arguments) || this;
1299
- }
1300
- RevealEditorAction.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1301
- var sel = editor.getSelection();
1302
- if (this.revealFunction === 'up') {
1303
- editor.trigger(exports.SOURCE, 'scrollPageUp', null);
1304
- }
1305
- else {
1306
- editor[this.revealFunction](sel);
1307
- }
1308
- };
1309
- return RevealEditorAction;
1310
- }(BaseAction));
1311
- exports.RevealEditorAction = RevealEditorAction;
1312
- var RevealToTopAction = (function (_super) {
1313
- __extends(RevealToTopAction, _super);
1314
- function RevealToTopAction() {
1315
- var _this = _super !== null && _super.apply(this, arguments) || this;
1316
- _this.revealFunction = 'revealRangeAtTop';
1317
- return _this;
1318
- }
1319
- return RevealToTopAction;
1320
- }(RevealEditorAction));
1321
- exports.RevealToTopAction = RevealToTopAction;
1322
- var RevealToCenterAction = (function (_super) {
1323
- __extends(RevealToCenterAction, _super);
1324
- function RevealToCenterAction() {
1325
- var _this = _super !== null && _super.apply(this, arguments) || this;
1326
- _this.revealFunction = 'revealRangeInCenter';
1327
- return _this;
1328
- }
1329
- return RevealToCenterAction;
1330
- }(RevealEditorAction));
1331
- exports.RevealToCenterAction = RevealToCenterAction;
1332
- var RevealToBottomAction = (function (_super) {
1333
- __extends(RevealToBottomAction, _super);
1334
- function RevealToBottomAction() {
1335
- var _this = _super !== null && _super.apply(this, arguments) || this;
1336
- _this.revealFunction = 'up';
1337
- return _this;
1338
- }
1339
- return RevealToBottomAction;
1340
- }(RevealEditorAction));
1341
- exports.RevealToBottomAction = RevealToBottomAction;
1342
- var InsertTabs = (function (_super) {
1343
- __extends(InsertTabs, _super);
1344
- function InsertTabs() {
1345
- return _super !== null && _super.apply(this, arguments) || this;
1346
- }
1347
- InsertTabs.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1348
- var model = editor.getModel();
1349
- var _a = model.getOptions(), tabSize = _a.tabSize, insertSpaces = _a.insertSpaces;
1350
- var text = '';
1351
- for (var i = 0; i < repeat; i++) {
1352
- var spaces = '';
1353
- for (var j = 0; j < tabSize; j++) {
1354
- spaces += ' ';
1355
- }
1356
- text += (insertSpaces ? spaces : '\t');
1357
- }
1358
- editor.executeEdits(exports.SOURCE, [{
1359
- range: editor.getSelection(),
1360
- text: text,
1361
- forceMoveMarkers: true,
1362
- }]);
1363
- };
1364
- return InsertTabs;
1365
- }(BaseAction));
1366
- exports.InsertTabs = InsertTabs;
1367
- var RotateCursorOnScreen = (function (_super) {
1368
- __extends(RotateCursorOnScreen, _super);
1369
- function RotateCursorOnScreen() {
1370
- return _super !== null && _super.apply(this, arguments) || this;
1371
- }
1372
- RotateCursorOnScreen.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1373
- var ranges = editor.getVisibleRanges();
1374
- if (!ranges.length) {
1375
- return;
1376
- }
1377
- var lineMapping = [];
1378
- for (var i = 0; i < ranges.length; i++) {
1379
- var range = ranges[i];
1380
- for (var j = range.startLineNumber; j <= range.endLineNumber; j++) {
1381
- lineMapping.push(j);
1382
- }
1383
- }
1384
- var pos = editor.getPosition();
1385
- var expectedCenter = Math.ceil(lineMapping.length / 2);
1386
- var toMovePos;
1387
- if (pos.lineNumber === lineMapping[expectedCenter]) {
1388
- toMovePos = new monaco.Position(lineMapping[0], 1);
1389
- }
1390
- else if (pos.lineNumber === lineMapping[0]) {
1391
- toMovePos = new monaco.Position(lineMapping[lineMapping.length - 1], 1);
1392
- }
1393
- else {
1394
- toMovePos = new monaco.Position(lineMapping[expectedCenter], 1);
1395
- }
1396
- editor.setPosition(toMovePos);
1397
- };
1398
- return RotateCursorOnScreen;
1399
- }(BaseAction));
1400
- exports.RotateCursorOnScreen = RotateCursorOnScreen;
1401
- var GotoLine = (function (_super) {
1402
- __extends(GotoLine, _super);
1403
- function GotoLine() {
1404
- return _super !== null && _super.apply(this, arguments) || this;
1405
- }
1406
- GotoLine.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1407
- ext.getBasicInput('Goto Line: ').then(function (val) {
1408
- var line = parseInt(val) || 0;
1409
- var model = editor.getModel();
1410
- var totalLines = model.getLineCount();
1411
- editor.focus();
1412
- if (!line) {
1413
- line = 1;
1414
- }
1415
- else if (line > totalLines) {
1416
- line = totalLines;
1417
- }
1418
- var pos = new monaco.Position(line, 1);
1419
- var range;
1420
- if (!ext.selectionMode) {
1421
- range = monaco.Selection.fromPositions(pos);
1422
- }
1423
- else {
1424
- var sel = editor.getSelection();
1425
- if (sel.getDirection() === monaco.SelectionDirection.LTR) {
1426
- range = monaco.Selection.fromPositions(sel.getStartPosition(), pos);
1427
- }
1428
- else {
1429
- range = monaco.Selection.fromPositions(sel.getEndPosition(), pos);
1430
- }
1431
- }
1432
- editor.setSelection(range);
1433
- editor.revealRangeInCenter(range);
1434
- }).catch(function () {
1435
- editor.focus();
1436
- });
1437
- };
1438
- return GotoLine;
1439
- }(BaseAction));
1440
- exports.GotoLine = GotoLine;
1441
- var InvertSelection = (function (_super) {
1442
- __extends(InvertSelection, _super);
1443
- function InvertSelection() {
1444
- return _super !== null && _super.apply(this, arguments) || this;
1445
- }
1446
- InvertSelection.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1447
- var sel = editor.getSelection();
1448
- if (sel.isEmpty()) {
1449
- return;
1450
- }
1451
- var newSel;
1452
- if (sel.getDirection() === monaco.SelectionDirection.LTR) {
1453
- newSel = monaco.Selection.fromPositions(sel.getEndPosition(), sel.getStartPosition());
1454
- }
1455
- else {
1456
- newSel = monaco.Selection.fromPositions(sel.getStartPosition(), sel.getEndPosition());
1457
- }
1458
- editor.setSelection(newSel);
1459
- };
1460
- return InvertSelection;
1461
- }(BaseAction));
1462
- exports.InvertSelection = InvertSelection;
1463
- var Search = (function (_super) {
1464
- __extends(Search, _super);
1465
- function Search() {
1466
- return _super.call(this, 'editor.actions.findWithArgs') || this;
1467
- }
1468
- return Search;
1469
- }(TriggerAction));
1470
- exports.Search = Search;
1471
- var SearchReplace = (function (_super) {
1472
- __extends(SearchReplace, _super);
1473
- function SearchReplace() {
1474
- return _super.call(this, 'editor.action.startFindReplaceAction') || this;
1475
- }
1476
- return SearchReplace;
1477
- }(TriggerAction));
1478
- exports.SearchReplace = SearchReplace;
1479
- var DeleteLines = (function (_super) {
1480
- __extends(DeleteLines, _super);
1481
- function DeleteLines() {
1482
- return _super !== null && _super.apply(this, arguments) || this;
1483
- }
1484
- DeleteLines.prototype.run = function (editor, ext, repeat, repeatedTrigger) {
1485
- ext.selectionMode = false;
1486
- for (var i = 0; i < repeat; i++) {
1487
- editor.trigger(exports.SOURCE, 'editor.action.deleteLines', null);
1488
- }
1489
- };
1490
- return DeleteLines;
1491
- }(BaseAction));
1492
- exports.DeleteLines = DeleteLines;
1493
- } (actions));
1494
-
1495
- (function (exports) {
1496
- Object.defineProperty(exports, "__esModule", { value: true });
1497
- exports.getAllMappings = exports.unregisterKey = exports.registerGlobalCommand = exports.executeCommand = exports.COMMANDS = exports.prefixPreservingKeys = void 0;
1498
- var Actions = actions;
1499
- exports.prefixPreservingKeys = {
1500
- "M-g": true,
1501
- "C-x": true,
1502
- "C-q": true,
1503
- "C-u": true,
1504
- };
1505
- var setMarkAction = new Actions.SetMark();
1506
- var undoAction = new Actions.UndoAction();
1507
- var moveCursorDown = new Actions.MoveCursorDown();
1508
- var moveCursorUp = new Actions.MoveCursorUp();
1509
- var moveCursorRight = new Actions.MoveCursorRight();
1510
- var moveCursorLeft = new Actions.MoveCursorLeft();
1511
- exports.COMMANDS = {
1512
- 'M-/': {
1513
- description: '',
1514
- action: 'editor.action.triggerSuggest',
1515
- },
1516
- 'C-\'': {
1517
- description: '',
1518
- action: 'editor.action.triggerSuggest',
1519
- },
1520
- 'M-;': {
1521
- description: '',
1522
- action: 'editor.action.commentLine',
1523
- },
1524
- 'C-t': {
1525
- description: '',
1526
- action: 'editor.action.transposeLetters',
1527
- },
1528
- 'C-x C-p': {
1529
- description: '',
1530
- action: 'editor.action.selectAll',
1531
- },
1532
- 'Tab': {
1533
- description: '',
1534
- action: 'editor.action.formatDocument',
1535
- },
1536
- 'C-Backspace': {
1537
- description: '',
1538
- action: 'deleteWordLeft',
1539
- },
1540
- 'C-d': {
1541
- description: '',
1542
- action: 'deleteRight',
1543
- },
1544
- 'M-Backspace': {
1545
- description: '',
1546
- action: 'deleteWordLeft',
1547
- },
1548
- 'M-Delete': {
1549
- description: '',
1550
- action: 'deleteWordLeft',
1551
- },
1552
- 'C-x C-u': {
1553
- description: '',
1554
- action: 'editor.action.transformToUppercase',
1555
- },
1556
- 'C-x C-l': {
1557
- description: '',
1558
- action: 'editor.action.transformToLowercase',
1559
- },
1560
- 'C-v': {
1561
- description: '',
1562
- action: 'cursorPageDown',
1563
- },
1564
- 'PageDown': {
1565
- description: '',
1566
- action: 'cursorPageDown',
1567
- },
1568
- 'M-v': {
1569
- description: '',
1570
- action: 'cursorPageUp',
1571
- },
1572
- 'PageUp': {
1573
- description: '',
1574
- action: 'cursorPageUp',
1575
- },
1576
- 'M-g n': {
1577
- description: '',
1578
- action: 'editor.action.marker.next',
1579
- },
1580
- 'M-g p': {
1581
- description: '',
1582
- action: 'editor.action.marker.prev',
1583
- },
1584
- 'M-C-n': {
1585
- description: '',
1586
- action: 'editor.action.addSelectionToNextFindMatch',
1587
- },
1588
- 'C-h': {
1589
- description: '',
1590
- action: 'deleteLeft',
1591
- },
1592
- 'M-d': {
1593
- description: '',
1594
- action: 'deleteWordRight',
1595
- },
1596
- 'S-C-': {
1597
- description: '',
1598
- action: 'editor.action.triggerParameterHints',
1599
- },
1600
- 'C-SPC': setMarkAction,
1601
- 'S-C-2': setMarkAction,
1602
- 'C-/': undoAction,
1603
- 'S-C--': undoAction,
1604
- 'C-z': undoAction,
1605
- 'C-x u': undoAction,
1606
- 'C-n': moveCursorDown,
1607
- 'C-p': moveCursorUp,
1608
- 'C-f': moveCursorRight,
1609
- 'C-b': moveCursorLeft,
1610
- 'S-C-Backspace': new Actions.DeleteLines(),
1611
- 'M-f': new Actions.MoveCursorWordRight(),
1612
- 'M-b': new Actions.MoveCursorWordLeft(),
1613
- 'C-k': new Actions.KillLines(),
1614
- 'C-m': new Actions.InsertLineAfter(),
1615
- 'C-w': new Actions.KillSelection(),
1616
- 'C-o': new Actions.InsertLineBelow(),
1617
- 'C-g': new Actions.KeyBoardQuit(),
1618
- 'C-e': new Actions.MoveCursorToLineEnd(),
1619
- 'C-a': new Actions.MoveCursorToLineStart(),
1620
- 'C-y': new Actions.Yank(),
1621
- 'M-w': new Actions.YankSelectionToRing(),
1622
- 'M-y': new Actions.YankRotate(),
1623
- 'C-l': new Actions.RevealToCenterAction(),
1624
- 'C-q Tab': new Actions.InsertTabs(),
1625
- 'M-r': new Actions.RotateCursorOnScreen(),
1626
- 'M-g g': new Actions.GotoLine(),
1627
- 'M-g M-g': new Actions.GotoLine(),
1628
- 'C-x C-x': new Actions.InvertSelection(),
1629
- 'S-M-.': new Actions.MoveCursorBottom(),
1630
- 'S-M-,': new Actions.MoveCursorTop(),
1631
- 'C-s': new Actions.Search(),
1632
- 'C-r': new Actions.Search(),
1633
- 'S-M-5': new Actions.SearchReplace(),
1634
- };
1635
- function executeCommand(ext, command, inputBuffer, repeatedTrigger) {
1636
- var editor = ext.getEditor();
1637
- var repeat = parseInt(inputBuffer) || 1;
1638
- if (command.run) {
1639
- command.run(editor, ext, repeat, repeatedTrigger);
1640
- return;
1641
- }
1642
- if (typeof command.action === 'string') {
1643
- for (var i = 0; i < repeat; i++) {
1644
- editor.trigger(Actions.SOURCE, command.action, null);
1645
- }
1646
- }
1647
- else if (Array.isArray(command.action)) {
1648
- for (var i = 0; i < repeat; i++) {
1649
- command.action.forEach(function (cmd) {
1650
- editor.trigger(Actions.SOURCE, cmd, null);
1651
- });
1652
- }
1653
- }
1654
- }
1655
- exports.executeCommand = executeCommand;
1656
- function registerGlobalCommand(key, command) {
1657
- exports.COMMANDS[key] = command;
1658
- }
1659
- exports.registerGlobalCommand = registerGlobalCommand;
1660
- function unregisterKey(key) {
1661
- if (exports.COMMANDS[key]) {
1662
- delete exports.COMMANDS[key];
1663
- }
1664
- }
1665
- exports.unregisterKey = unregisterKey;
1666
- function getAllMappings() {
1667
- var result = {};
1668
- Object.keys(exports.COMMANDS).forEach(function (key) {
1669
- result[key] = exports.COMMANDS[key].description;
1670
- });
1671
- return result;
1672
- }
1673
- exports.getAllMappings = getAllMappings;
1674
- } (commands));
1675
-
1676
- var util = {};
1677
-
1678
- (function (exports) {
1679
- Object.defineProperty(exports, "__esModule", { value: true });
1680
- exports.Emitter = exports.Event = exports.monacoToEmacsKey = exports.modifierKeys = void 0;
1681
- var monaco = require$$0;
1682
- exports.modifierKeys = {
1683
- Alt: 'M',
1684
- Control: 'C',
1685
- Ctrl: 'C',
1686
- Meta: 'CMD',
1687
- Shift: 'S',
1688
- };
1689
- var specialKeys = {
1690
- Enter: 'Return',
1691
- Space: 'SPC',
1692
- Backslash: '\\',
1693
- Slash: '/',
1694
- Backquote: '`',
1695
- BracketRight: ']',
1696
- BracketLeft: '[',
1697
- Comma: ',',
1698
- Period: '.',
1699
- Equal: '=',
1700
- Minus: '-',
1701
- Quote: '\'',
1702
- Semicolon: ';',
1703
- };
1704
- var oneCharKeyPrefixes = ['Key', 'Numpad'];
1705
- var arrowSuffix = 'Arrow';
1706
- function monacoToEmacsKey(ev) {
1707
- var keyName = monaco.KeyCode[ev.keyCode];
1708
- if (exports.modifierKeys[keyName]) {
1709
- return '';
1710
- }
1711
- var key = oneCharKeyPrefixes.some(function (prefix) { return keyName.startsWith(prefix); }) ? keyName[keyName.length - 1] : keyName;
1712
- if (keyName.endsWith(arrowSuffix)) {
1713
- key = keyName.substring(0, keyName.length - arrowSuffix.length);
1714
- }
1715
- else if (specialKeys[keyName]) {
1716
- key = specialKeys[key];
1717
- }
1718
- if (key.length === 1) {
1719
- key = key.toLowerCase();
1720
- }
1721
- if (ev.altKey) {
1722
- key = "".concat(exports.modifierKeys.Alt, "-").concat(key);
1723
- }
1724
- if (ev.ctrlKey) {
1725
- key = "".concat(exports.modifierKeys.Ctrl, "-").concat(key);
1726
- }
1727
- if (ev.metaKey) {
1728
- key = "".concat(exports.modifierKeys.Meta, "-").concat(key);
1729
- }
1730
- if (ev.shiftKey) {
1731
- key = "".concat(exports.modifierKeys.Shift, "-").concat(key);
1732
- }
1733
- return key;
1734
- }
1735
- exports.monacoToEmacsKey = monacoToEmacsKey;
1736
- (function (Event) {
1737
- var _disposable = { dispose: function () { } };
1738
- Event.None = function () { return _disposable; };
1739
- })(exports.Event || (exports.Event = {}));
1740
- var Emitter = (function () {
1741
- function Emitter() {
1742
- this._listeners = [];
1743
- }
1744
- Object.defineProperty(Emitter.prototype, "event", {
1745
- get: function () {
1746
- var _this = this;
1747
- if (!this._event) {
1748
- this._event = function (listener) {
1749
- _this._listeners.push(listener);
1750
- var result = {
1751
- dispose: function () {
1752
- if (_this._disposed) {
1753
- return;
1754
- }
1755
- var index = _this._listeners.indexOf(listener);
1756
- if (index < 0) {
1757
- return;
1758
- }
1759
- _this._listeners.splice(index, 1);
1760
- }
1761
- };
1762
- return result;
1763
- };
1764
- }
1765
- return this._event;
1766
- },
1767
- enumerable: false,
1768
- configurable: true
1769
- });
1770
- Emitter.prototype.fire = function (ev) {
1771
- if (!this._listeners.length) {
1772
- return;
1773
- }
1774
- this._listeners.forEach(function (l) { return l(ev); });
1775
- };
1776
- Emitter.prototype.dispose = function () {
1777
- if (this._disposed) {
1778
- return;
1779
- }
1780
- this._listeners = undefined;
1781
- this._disposed = true;
1782
- };
1783
- return Emitter;
1784
- }());
1785
- exports.Emitter = Emitter;
1786
- } (util));
1787
-
1788
- var basicInput = {};
1789
-
1790
- Object.defineProperty(basicInput, "__esModule", { value: true });
1791
- basicInput.BasicInputWidget = void 0;
1792
- var monaco$1 = require$$0;
1793
- var BASE_CLASS = 'ext-emacs-basic-input';
1794
- function generateCss() {
1795
- return "\n .".concat(BASE_CLASS, " {\n color: #d4d4d4;\n transition: top 200ms linear;\n visibility: hidden;\n width: 200px;\n display: flex;\n align-items: center;\n padding: 5px;\n }\n\n .").concat(BASE_CLASS, ".").concat(BASE_CLASS, "-visible {\n visibility: visible;\n }\n\n .").concat(BASE_CLASS, " input {\n color: rgb(97, 97, 97);\n background-color: transparent;\n display: inline-block;\n box-sizing: border-box;\n height: 100%;\n line-height: inherit;\n border: none;\n font-family: inherit;\n font-size: inherit;\n resize: none;\n padding-top: 2px;\n padding-bottom: 2px;\n margin-left: 5px;\n max-width: 50px;\n }\n\n .").concat(BASE_CLASS, " input:focus {\n outline: none;\n }\n\n .vs .").concat(BASE_CLASS, " {\n color: rgb(97, 97, 97);\n background-color: #efeff2;\n box-shadow: 0 2px 8px #a8a8a8;\n }\n\n .vs-dark .").concat(BASE_CLASS, " {\n background-color: #2d2d30;\n box-shadow: 0 2px 8px #000000;\n }\n\n .vs-dark .").concat(BASE_CLASS, " input {\n color: rgb(204, 204, 204);\n }\n\n .hc-black .").concat(BASE_CLASS, " {\n border: 2px solid #6fc3df;\n background-color: #0c141f;\n color: #ffffff;\n }\n\n .hc-black .").concat(BASE_CLASS, " input {\n color: #ffffff;\n }\n");
1796
- }
1797
- var BasicInputWidget = (function () {
1798
- function BasicInputWidget() {
1799
- var _this = this;
1800
- this._pendingPromise = null;
1801
- this.onKeyDown = function (ev) {
1802
- if (ev.altKey || ev.ctrlKey || ev.metaKey) {
1803
- ev.preventDefault();
1804
- ev.stopPropagation();
1805
- }
1806
- if (ev.which === 13) {
1807
- if (_this._pendingPromise) {
1808
- ev.preventDefault();
1809
- _this._pendingPromise.resolve(ev.target.value);
1810
- _this._pendingPromise = null;
1811
- }
1812
- }
1813
- else if (ev.which === 27) {
1814
- if (_this._pendingPromise) {
1815
- _this._pendingPromise.reject();
1816
- _this._pendingPromise = null;
1817
- }
1818
- }
1819
- };
1820
- this.onBlur = function () {
1821
- if (_this._pendingPromise) {
1822
- _this._pendingPromise.reject();
1823
- _this._pendingPromise = null;
1824
- }
1825
- };
1826
- this._dom = document.createElement('div');
1827
- this._messageDom = document.createElement('div');
1828
- var medDom = document.createElement('div');
1829
- this._dom.setAttribute('class', BASE_CLASS);
1830
- this._dom.setAttribute('aria-hidden', 'true');
1831
- this._input = document.createElement('input');
1832
- this._dom.appendChild(this._messageDom);
1833
- medDom.appendChild(this._input);
1834
- this._dom.appendChild(medDom);
1835
- this.addListeners();
1836
- this._style = document.createElement('style');
1837
- this._style.type = 'text/css';
1838
- this._style.textContent = generateCss();
1839
- (document.head || document.body).appendChild(this._style);
1840
- }
1841
- BasicInputWidget.prototype.getDomNode = function () {
1842
- return this._dom;
1843
- };
1844
- BasicInputWidget.prototype.getId = function () {
1845
- return 'extension.emacs.basicinput';
1846
- };
1847
- BasicInputWidget.prototype.getPosition = function () {
1848
- return {
1849
- preference: monaco$1.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER,
1850
- };
1851
- };
1852
- BasicInputWidget.prototype.addListeners = function () {
1853
- this._input.addEventListener('keydown', this.onKeyDown);
1854
- this._input.addEventListener('blur', this.onBlur);
1855
- };
1856
- BasicInputWidget.prototype.showWidgetAndFocus = function (message) {
1857
- this._dom.classList.add("".concat(BASE_CLASS, "-visible"));
1858
- this._dom.setAttribute('aria-hidden', 'false');
1859
- this._messageDom.textContent = message;
1860
- this._input.focus();
1861
- };
1862
- BasicInputWidget.prototype.cleanup = function () {
1863
- this._dom.classList.remove("".concat(BASE_CLASS, "-visible"));
1864
- this._dom.setAttribute('aria-hidden', 'true');
1865
- this._messageDom.textContent = '';
1866
- this._input.placeholder = '';
1867
- this._input.value = '';
1868
- };
1869
- BasicInputWidget.prototype.getInput = function (message) {
1870
- var _this = this;
1871
- if (this._pendingPromise) {
1872
- this._pendingPromise.reject();
1873
- this._pendingPromise = null;
1874
- }
1875
- return new Promise(function (resolve, reject) {
1876
- _this._pendingPromise = {
1877
- resolve: function (val) {
1878
- resolve(val);
1879
- _this.cleanup();
1880
- },
1881
- reject: function () {
1882
- reject();
1883
- _this.cleanup();
1884
- },
1885
- };
1886
- _this.showWidgetAndFocus(message);
1887
- });
1888
- };
1889
- BasicInputWidget.prototype.dispose = function () {
1890
- this.cleanup();
1891
- this._input.removeEventListener('keydown', this.onKeyDown);
1892
- this._input.removeEventListener('blur', this.onBlur);
1893
- (document.head || document.body).removeChild(this._style);
1894
- };
1895
- return BasicInputWidget;
1896
- }());
1897
- basicInput.BasicInputWidget = BasicInputWidget;
1898
-
1899
- var state = {};
1900
-
1901
- (function (exports) {
1902
- Object.defineProperty(exports, "__esModule", { value: true });
1903
- exports.State = exports.EAT_UP_KEY = void 0;
1904
- var commands_1 = commands;
1905
- exports.EAT_UP_KEY = '==-==';
1906
- var State = (function () {
1907
- function State() {
1908
- this._inargumentMode = false;
1909
- this._killRing = [];
1910
- }
1911
- State.prototype.updateAndGetKey = function (key) {
1912
- if (key === 'C-g' && (this._inargumentMode || this._prefixKey)) {
1913
- this.resetState();
1914
- return exports.EAT_UP_KEY;
1915
- }
1916
- if (this.updateCuMode(key)) {
1917
- return exports.EAT_UP_KEY;
1918
- }
1919
- if (!this._prefixKey) {
1920
- if (commands_1.prefixPreservingKeys[key]) {
1921
- this._prefixKey = key;
1922
- return exports.EAT_UP_KEY;
1923
- }
1924
- return key;
1925
- }
1926
- else {
1927
- return "".concat(this._prefixKey, " ").concat(key);
1928
- }
1929
- };
1930
- State.prototype.setLastCommandKey = function (lastCommandKey) {
1931
- this._lastCommandKey = lastCommandKey;
1932
- };
1933
- State.prototype.isLastCommandKey = function (lastCommandKey) {
1934
- return this._lastCommandKey == lastCommandKey;
1935
- };
1936
- State.prototype.resetState = function (setLastInput) {
1937
- if (setLastInput === void 0) { setLastInput = false; }
1938
- this._inargumentMode = setLastInput;
1939
- this._prefixKey = null;
1940
- if (setLastInput) {
1941
- this._lastInputBuffer = this._inputBuffer;
1942
- }
1943
- else {
1944
- this._lastInputBuffer = null;
1945
- }
1946
- this._inputBuffer = null;
1947
- };
1948
- State.prototype.updateCuMode = function (key) {
1949
- if (this._inargumentMode) {
1950
- if (typeof key === 'string' && (/^\d$/.test(key))) {
1951
- this._inputBuffer = (this._inputBuffer || '') + key;
1952
- return true;
1953
- }
1954
- else if (commands_1.prefixPreservingKeys[key]) {
1955
- this.resetState(true);
1956
- return false;
1957
- }
1958
- }
1959
- else if (!this._prefixKey && key === 'C-u') {
1960
- this._inargumentMode = true;
1961
- this._inputBuffer = null;
1962
- this._lastInputBuffer = null;
1963
- return true;
1964
- }
1965
- };
1966
- State.prototype.updateStateOnExecution = function (reset) {
1967
- if (reset === void 0) { reset = false; }
1968
- this.resetState(reset);
1969
- };
1970
- State.prototype.getInputBuffer = function () {
1971
- return this._lastInputBuffer || this._inputBuffer;
1972
- };
1973
- State.prototype.addToRing = function (str) {
1974
- this._killRing.push(str);
1975
- if (this._killRing.length > 50)
1976
- this._killRing.shift();
1977
- };
1978
- State.prototype.growRingTop = function (str) {
1979
- if (!this._killRing.length) {
1980
- this.addToRing(str);
1981
- }
1982
- this._killRing[this._killRing.length - 1] += str;
1983
- };
1984
- State.prototype.getFromRing = function (n) {
1985
- return this._killRing[this._killRing.length - (n ? Math.min(n, 1) : 1)] || '';
1986
- };
1987
- State.prototype.popFromRing = function () {
1988
- if (this._killRing.length > 1) {
1989
- return this._killRing.pop();
1990
- }
1991
- return this.getFromRing();
1992
- };
1993
- State.prototype.getReadableState = function () {
1994
- var str = '';
1995
- if (this._inargumentMode) {
1996
- str += 'C-u';
1997
- if (this._inputBuffer) {
1998
- str += " ".concat(this._inputBuffer);
1999
- }
2000
- else if (this._lastInputBuffer) {
2001
- str += " ".concat(this._lastInputBuffer);
2002
- }
2003
- }
2004
- if (this._prefixKey) {
2005
- str += " ".concat(this._prefixKey);
2006
- }
2007
- return str;
2008
- };
2009
- return State;
2010
- }());
2011
- exports.State = State;
2012
- } (state));
2013
-
2014
- Object.defineProperty(emacs, "__esModule", { value: true });
2015
- emacs.getConfiguration = emacs.EmacsExtension = void 0;
2016
- var monaco = require$$0;
2017
- var throttle = lodash_throttle;
2018
- var kebabCase = lodash_kebabcase;
2019
- var commands_1 = commands;
2020
- var util_1 = util;
2021
- var basicInput_1 = basicInput;
2022
- var state_1 = state;
2023
- var _a = monaco.editor, TextEditorCursorBlinkingStyle = _a.TextEditorCursorBlinkingStyle, TextEditorCursorStyle = _a.TextEditorCursorStyle;
2024
- var EmacsExtension = (function () {
2025
- function EmacsExtension(editor) {
2026
- this._disposables = [];
2027
- this._inSelectionMode = false;
2028
- this._changeDisposable = null;
2029
- this._state = new state_1.State();
2030
- this._onDidMarkChange = new util_1.Emitter();
2031
- this.onDidMarkChange = this._onDidMarkChange.event;
2032
- this._onDidChangeKey = new util_1.Emitter();
2033
- this.onDidChangeKey = this._onDidChangeKey.event;
2034
- this._editor = editor;
2035
- var config = getConfiguration(editor);
2036
- this._intialCursorType = config.cursorStyle;
2037
- this._intialCursorBlinking = config.cursorBlinking;
2038
- this._basicInputWidget = new basicInput_1.BasicInputWidget();
2039
- }
2040
- EmacsExtension.prototype.start = function () {
2041
- if (this._disposables.length) {
2042
- return;
2043
- }
2044
- this.addListeners();
2045
- this._editor.updateOptions({
2046
- cursorStyle: kebabCase(TextEditorCursorStyle[TextEditorCursorStyle.Block]),
2047
- cursorBlinking: kebabCase(TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle.Blink]),
2048
- });
2049
- this._editor.addOverlayWidget(this._basicInputWidget);
2050
- };
2051
- Object.defineProperty(EmacsExtension.prototype, "state", {
2052
- get: function () {
2053
- return this._state;
2054
- },
2055
- enumerable: false,
2056
- configurable: true
2057
- });
2058
- EmacsExtension.prototype.getEditor = function () {
2059
- return this._editor;
2060
- };
2061
- EmacsExtension.prototype.addListeners = function () {
2062
- this._disposables.push(this._editor.onKeyDown(this.onKeyDown.bind(this)));
2063
- this._throttledScroll = throttle(this.onEditorScroll.bind(this), 500);
2064
- this._disposables.push(this._editor.onDidScrollChange(this._throttledScroll));
2065
- };
2066
- EmacsExtension.prototype.cancelKey = function (ev) {
2067
- ev.preventDefault();
2068
- ev.stopPropagation();
2069
- };
2070
- EmacsExtension.prototype.onKeyDown = function (ev) {
2071
- if (ev.browserEvent.defaultPrevented) {
2072
- return;
2073
- }
2074
- var key = (0, util_1.monacoToEmacsKey)(ev);
2075
- if (!key) {
2076
- return;
2077
- }
2078
- key = this._state.updateAndGetKey(key);
2079
- this._onDidChangeKey.fire(this._state.getReadableState());
2080
- if (key === state_1.EAT_UP_KEY) {
2081
- this._onDidChangeKey.fire(this._state.getReadableState());
2082
- this.cancelKey(ev);
2083
- return;
2084
- }
2085
- var command = commands_1.COMMANDS[key];
2086
- if (!command) {
2087
- this._onDidChangeKey.fire(this._state.getReadableState());
2088
- this._state.setLastCommandKey(key);
2089
- return;
2090
- }
2091
- this.cancelKey(ev);
2092
- var repeatedTrigger = this._state.isLastCommandKey(key);
2093
- (0, commands_1.executeCommand)(this, command, this._state.getInputBuffer(), repeatedTrigger);
2094
- this._state.setLastCommandKey(key);
2095
- this._state.updateStateOnExecution();
2096
- };
2097
- EmacsExtension.prototype.onEditorScroll = function () {
2098
- var height = this._editor.getLayoutInfo().height;
2099
- var layout = this._editor.getScrolledVisiblePosition(this._editor.getPosition());
2100
- if (layout.top >= 0 && layout.top <= height) {
2101
- return;
2102
- }
2103
- var ranges = this._editor.getVisibleRanges();
2104
- if (!ranges.length) {
2105
- return;
2106
- }
2107
- var newPos;
2108
- var sel = this._editor.getSelection();
2109
- if (layout.top < 0) {
2110
- newPos = new monaco.Position(ranges[0].getStartPosition().lineNumber, 1);
2111
- }
2112
- else if (layout.top > height) {
2113
- newPos = new monaco.Position(ranges[ranges.length - 1].getEndPosition().lineNumber, 1);
2114
- }
2115
- if (this._inSelectionMode) {
2116
- this._editor.setSelection(monaco.Selection.fromPositions(sel.getStartPosition(), newPos));
2117
- }
2118
- else {
2119
- this._editor.setPosition(newPos);
2120
- }
2121
- };
2122
- EmacsExtension.prototype.onContentChange = function () {
2123
- this.selectionMode = false;
2124
- };
2125
- EmacsExtension.prototype.clearState = function () {
2126
- this._state.updateStateOnExecution();
2127
- };
2128
- Object.defineProperty(EmacsExtension.prototype, "selectionMode", {
2129
- get: function () {
2130
- return this._inSelectionMode;
2131
- },
2132
- set: function (mode) {
2133
- if (mode === this._inSelectionMode) {
2134
- return;
2135
- }
2136
- this._inSelectionMode = mode;
2137
- if (mode) {
2138
- this._changeDisposable = this._editor.onDidChangeModelContent(this.onContentChange.bind(this));
2139
- }
2140
- else if (this._changeDisposable) {
2141
- this._changeDisposable.dispose();
2142
- this._changeDisposable = null;
2143
- }
2144
- this._onDidMarkChange.fire(mode);
2145
- },
2146
- enumerable: false,
2147
- configurable: true
2148
- });
2149
- EmacsExtension.prototype.getCursorAnchor = function () {
2150
- var sel = this._editor.getSelection();
2151
- var dir = sel.getDirection();
2152
- return dir === monaco.SelectionDirection.LTR ? sel.getEndPosition() : sel.getStartPosition();
2153
- };
2154
- EmacsExtension.prototype.getBasicInput = function (message) {
2155
- return this._basicInputWidget.getInput(message);
2156
- };
2157
- EmacsExtension.prototype.dispose = function () {
2158
- this._disposables.forEach(function (d) { return d.dispose(); });
2159
- this._disposables = undefined;
2160
- if (this._changeDisposable) {
2161
- this._changeDisposable.dispose();
2162
- this._changeDisposable = null;
2163
- }
2164
- this._editor.updateOptions({
2165
- cursorStyle: this._intialCursorType,
2166
- cursorBlinking: this._intialCursorBlinking,
2167
- });
2168
- this._editor.removeOverlayWidget(this._basicInputWidget);
2169
- this._basicInputWidget.dispose();
2170
- this._throttledScroll.cancel();
2171
- this._state = null;
2172
- };
2173
- return EmacsExtension;
2174
- }());
2175
- emacs.EmacsExtension = EmacsExtension;
2176
- function getConfiguration(editor) {
2177
- var cursorStyle = editor.getOption(monaco.editor.EditorOption.cursorStyle);
2178
- var cursorBlinking = editor.getOption(monaco.editor.EditorOption.cursorBlinking);
2179
- return {
2180
- cursorStyle: kebabCase(TextEditorCursorStyle[cursorStyle]),
2181
- cursorBlinking: kebabCase(TextEditorCursorBlinkingStyle[cursorBlinking]),
2182
- };
2183
- }
2184
- emacs.getConfiguration = getConfiguration;
2185
-
2186
- (function (exports) {
2187
- Object.defineProperty(exports, "__esModule", { value: true });
2188
- exports.Actions = exports.EmacsExtension = exports.unregisterKey = exports.getAllMappings = exports.registerGlobalCommand = void 0;
2189
- var emacs_1 = emacs;
2190
- Object.defineProperty(exports, "EmacsExtension", { enumerable: true, get: function () { return emacs_1.EmacsExtension; } });
2191
- var commands_1 = commands;
2192
- Object.defineProperty(exports, "registerGlobalCommand", { enumerable: true, get: function () { return commands_1.registerGlobalCommand; } });
2193
- Object.defineProperty(exports, "getAllMappings", { enumerable: true, get: function () { return commands_1.getAllMappings; } });
2194
- Object.defineProperty(exports, "unregisterKey", { enumerable: true, get: function () { return commands_1.unregisterKey; } });
2195
- var Actions = actions;
2196
- exports.Actions = Actions;
2197
- exports.default = emacs_1.EmacsExtension;
2198
- } (lib));
2199
-
2200
- var index = /*@__PURE__*/getDefaultExportFromCjs(lib);
2201
-
2202
- var index$1 = /*#__PURE__*/_mergeNamespaces({
2203
- __proto__: null,
2204
- default: index
2205
- }, [lib]);
2206
-
2207
- export { index$1 as i };