@umbraco-cms/backoffice 14.0.0-d542ed7d → 14.0.0-e72b5840

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 (239) hide show
  1. package/dist-cms/custom-elements.json +15 -14
  2. package/dist-cms/external/backend-api/index.js +1 -1
  3. package/dist-cms/external/monaco-editor/{abap-42d5eca7.js → abap-7ad4f8f0.js} +1 -1
  4. package/dist-cms/external/monaco-editor/{apex-051da044.js → apex-30597c49.js} +1 -1
  5. package/dist-cms/external/monaco-editor/{bundle.css → assets/bundle-a4f90d1d.css} +593 -279
  6. package/dist-cms/external/monaco-editor/{azcli-ad3d7346.js → azcli-67c34a04.js} +1 -1
  7. package/dist-cms/external/monaco-editor/{bat-0217c0bc.js → bat-b8f4738b.js} +1 -1
  8. package/dist-cms/external/monaco-editor/{bicep-0cadb30a.js → bicep-b104b38b.js} +1 -1
  9. package/dist-cms/external/monaco-editor/{cameligo-ac55f854.js → cameligo-001d1ded.js} +1 -1
  10. package/dist-cms/external/monaco-editor/{clojure-388a0d58.js → clojure-fa9652a1.js} +1 -1
  11. package/dist-cms/external/monaco-editor/{coffee-7e7a2971.js → coffee-b69a8315.js} +1 -1
  12. package/dist-cms/external/monaco-editor/{cpp-840d082a.js → cpp-8053752f.js} +1 -1
  13. package/dist-cms/external/monaco-editor/{csharp-b3429875.js → csharp-886041a3.js} +1 -1
  14. package/dist-cms/external/monaco-editor/{csp-83442b86.js → csp-e846bce6.js} +1 -1
  15. package/dist-cms/external/monaco-editor/{css-7a34b8c3.js → css-50032e5e.js} +1 -1
  16. package/dist-cms/external/monaco-editor/{cssMode-98237bd7.js → cssMode-c0406684.js} +3 -3
  17. package/dist-cms/external/monaco-editor/{cypher-cc9c23cc.js → cypher-6f93a845.js} +1 -1
  18. package/dist-cms/external/monaco-editor/{dart-00a58d1c.js → dart-14284236.js} +1 -1
  19. package/dist-cms/external/monaco-editor/{dockerfile-668ee825.js → dockerfile-e9935eb4.js} +1 -1
  20. package/dist-cms/external/monaco-editor/{ecl-b42ffd48.js → ecl-9c89f204.js} +1 -1
  21. package/dist-cms/external/monaco-editor/{elixir-b9ceca92.js → elixir-ca8bf661.js} +1 -1
  22. package/dist-cms/external/monaco-editor/{flow9-7e9b2e50.js → flow9-ac147227.js} +1 -1
  23. package/dist-cms/external/monaco-editor/{freemarker2-b9eee947.js → freemarker2-793b7402.js} +2 -2
  24. package/dist-cms/external/monaco-editor/{fsharp-cdc5b8f1.js → fsharp-8eaad024.js} +1 -1
  25. package/dist-cms/external/monaco-editor/{go-4c92fa5c.js → go-05529e2e.js} +1 -1
  26. package/dist-cms/external/monaco-editor/{graphql-67842079.js → graphql-8f5b3fdd.js} +1 -1
  27. package/dist-cms/external/monaco-editor/{handlebars-36a3f04f.js → handlebars-aaa2fd96.js} +2 -2
  28. package/dist-cms/external/monaco-editor/{hcl-59febf1c.js → hcl-9e201a51.js} +1 -1
  29. package/dist-cms/external/monaco-editor/{html-b0d38e59.js → html-1194c0aa.js} +2 -2
  30. package/dist-cms/external/monaco-editor/{htmlMode-b85c3f7d.js → htmlMode-36df69c6.js} +3 -3
  31. package/dist-cms/external/monaco-editor/{index-534fb84c.js → index-7368f3e3.js} +418 -409
  32. package/dist-cms/external/monaco-editor/index.js +1 -1
  33. package/dist-cms/external/monaco-editor/{ini-1cf2ce67.js → ini-31a5619d.js} +1 -1
  34. package/dist-cms/external/monaco-editor/{java-e4fb14c6.js → java-8c6e1ae8.js} +1 -1
  35. package/dist-cms/external/monaco-editor/javascript-86205709.js +6 -0
  36. package/dist-cms/external/monaco-editor/{jsonMode-fa2b41c8.js → jsonMode-f663e935.js} +6 -6
  37. package/dist-cms/external/monaco-editor/{julia-9b6c6458.js → julia-fbb2af47.js} +1 -1
  38. package/dist-cms/external/monaco-editor/{kotlin-b66c14ff.js → kotlin-bfa96180.js} +1 -1
  39. package/dist-cms/external/monaco-editor/{less-8dc8685d.js → less-0b6a8ff1.js} +1 -1
  40. package/dist-cms/external/monaco-editor/{lexon-59c0b911.js → lexon-585e5248.js} +1 -1
  41. package/dist-cms/external/monaco-editor/{liquid-be38812f.js → liquid-37adc07a.js} +2 -2
  42. package/dist-cms/external/monaco-editor/{lua-3f4d9098.js → lua-f6c17885.js} +1 -1
  43. package/dist-cms/external/monaco-editor/{m3-82a8c502.js → m3-1b6456c5.js} +1 -1
  44. package/dist-cms/external/monaco-editor/{markdown-07c3fa1e.js → markdown-7bc251f9.js} +1 -1
  45. package/dist-cms/external/monaco-editor/{mips-59ddf2f4.js → mips-2df76781.js} +1 -1
  46. package/dist-cms/external/monaco-editor/{msdax-12ec689c.js → msdax-8c38e8b4.js} +1 -1
  47. package/dist-cms/external/monaco-editor/{mysql-2958efa4.js → mysql-abbb9ca3.js} +1 -1
  48. package/dist-cms/external/monaco-editor/{objective-c-08d94025.js → objective-c-efbfd08b.js} +1 -1
  49. package/dist-cms/external/monaco-editor/{pascal-b686b438.js → pascal-08abee72.js} +1 -1
  50. package/dist-cms/external/monaco-editor/{pascaligo-96457e5f.js → pascaligo-200db0cf.js} +1 -1
  51. package/dist-cms/external/monaco-editor/{perl-b938bdad.js → perl-079789ee.js} +1 -1
  52. package/dist-cms/external/monaco-editor/{pgsql-42970e97.js → pgsql-efd093d4.js} +1 -1
  53. package/dist-cms/external/monaco-editor/{php-7476401f.js → php-75c530f2.js} +1 -1
  54. package/dist-cms/external/monaco-editor/{pla-aaf0caa2.js → pla-a55a2765.js} +1 -1
  55. package/dist-cms/external/monaco-editor/{postiats-759ff404.js → postiats-6098f37b.js} +1 -1
  56. package/dist-cms/external/monaco-editor/{powerquery-a33a8de4.js → powerquery-949bb7fe.js} +1 -1
  57. package/dist-cms/external/monaco-editor/{powershell-ec154f36.js → powershell-7e550b21.js} +1 -1
  58. package/dist-cms/external/monaco-editor/{protobuf-e42d83dc.js → protobuf-25a4d695.js} +1 -1
  59. package/dist-cms/external/monaco-editor/{pug-04b2d67c.js → pug-f8c9f493.js} +1 -1
  60. package/dist-cms/external/monaco-editor/{python-b3b058ea.js → python-78a47148.js} +2 -2
  61. package/dist-cms/external/monaco-editor/{qsharp-5376e9d1.js → qsharp-c4b94317.js} +1 -1
  62. package/dist-cms/external/monaco-editor/{r-d212ba98.js → r-614353db.js} +1 -1
  63. package/dist-cms/external/monaco-editor/{razor-911a705a.js → razor-5de9ce12.js} +2 -2
  64. package/dist-cms/external/monaco-editor/{redis-51e44009.js → redis-fb089f4d.js} +1 -1
  65. package/dist-cms/external/monaco-editor/{redshift-8de2cfdc.js → redshift-a620fcb0.js} +1 -1
  66. package/dist-cms/external/monaco-editor/{restructuredtext-3f99254a.js → restructuredtext-7ab09fcf.js} +1 -1
  67. package/dist-cms/external/monaco-editor/{ruby-64a73e64.js → ruby-922be722.js} +1 -1
  68. package/dist-cms/external/monaco-editor/{rust-2a0390f1.js → rust-23e08578.js} +1 -1
  69. package/dist-cms/external/monaco-editor/{sb-4d8fa557.js → sb-ccceec0f.js} +1 -1
  70. package/dist-cms/external/monaco-editor/{scala-00d62260.js → scala-0535664d.js} +1 -1
  71. package/dist-cms/external/monaco-editor/{scheme-a0903f29.js → scheme-dba621eb.js} +1 -1
  72. package/dist-cms/external/monaco-editor/{scss-3e25f7ad.js → scss-28539a11.js} +1 -1
  73. package/dist-cms/external/monaco-editor/{shell-9c442847.js → shell-5b92a834.js} +1 -1
  74. package/dist-cms/external/monaco-editor/{solidity-6b3049ed.js → solidity-f63d6049.js} +1 -1
  75. package/dist-cms/external/monaco-editor/{sophia-f4a2b303.js → sophia-12e9ad90.js} +1 -1
  76. package/dist-cms/external/monaco-editor/{sparql-1d37a384.js → sparql-dedb74aa.js} +1 -1
  77. package/dist-cms/external/monaco-editor/{sql-946641be.js → sql-975a69d7.js} +1 -1
  78. package/dist-cms/external/monaco-editor/{st-9220dec1.js → st-1904ae33.js} +1 -1
  79. package/dist-cms/external/monaco-editor/{swift-06592b81.js → swift-e180a143.js} +1 -1
  80. package/dist-cms/external/monaco-editor/{systemverilog-b5ba493c.js → systemverilog-c5592fac.js} +1 -1
  81. package/dist-cms/external/monaco-editor/{tcl-3fe51e69.js → tcl-996f4ac7.js} +1 -1
  82. package/dist-cms/external/monaco-editor/tsMode-f4618e87.js +16 -0
  83. package/dist-cms/external/monaco-editor/{twig-ee0f3b03.js → twig-4859b551.js} +1 -1
  84. package/dist-cms/external/monaco-editor/{typescript-4d577e09.js → typescript-efea739f.js} +3 -3
  85. package/dist-cms/external/monaco-editor/{vb-e7e59935.js → vb-ad68fa9a.js} +1 -1
  86. package/dist-cms/external/monaco-editor/wgsl-5ee7b1ca.js +303 -0
  87. package/dist-cms/external/monaco-editor/{xml-b05159d9.js → xml-12b9ace3.js} +2 -2
  88. package/dist-cms/external/monaco-editor/{yaml-b4ec85f0.js → yaml-65e08cff.js} +3 -3
  89. package/dist-cms/external/rxjs/index.js +2 -2
  90. package/dist-cms/external/tinymce/index.js +16 -16
  91. package/dist-cms/mocks/data/partial-views.data.d.ts +19 -3
  92. package/dist-cms/mocks/data/partial-views.data.js +277 -10
  93. package/dist-cms/mocks/data/utils.d.ts +2 -1
  94. package/dist-cms/mocks/data/utils.js +5 -0
  95. package/dist-cms/mocks/handlers/partial-views.handlers.d.ts +2 -1
  96. package/dist-cms/mocks/handlers/partial-views.handlers.js +37 -5
  97. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.handlers.js +1 -1
  98. package/dist-cms/packages/core/entity-action/common/create-folder/create-folder.action.d.ts +8 -0
  99. package/dist-cms/packages/core/entity-action/common/create-folder/create-folder.action.js +21 -0
  100. package/dist-cms/packages/core/entity-action/common/index.d.ts +1 -0
  101. package/dist-cms/packages/core/entity-action/common/index.js +1 -0
  102. package/dist-cms/packages/core/modal/common/folder/folder-modal.element.js +4 -1
  103. package/dist-cms/packages/core/modal/token/embedded-media-modal.token.js +0 -1
  104. package/dist-cms/packages/core/modal/token/folder-modal.token.d.ts +1 -0
  105. package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.context.d.ts +9 -1
  106. package/dist-cms/packages/core/tree/file-system-tree-item/file-system-tree-item.context.js +28 -0
  107. package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.element.d.ts +10 -2
  108. package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.element.js +10 -1
  109. package/dist-cms/packages/core/tree/file-system-tree-item/index.d.ts +2 -0
  110. package/dist-cms/packages/core/tree/file-system-tree-item/index.js +2 -0
  111. package/dist-cms/packages/core/tree/index.d.ts +1 -0
  112. package/dist-cms/packages/core/tree/index.js +1 -0
  113. package/dist-cms/packages/core/workspace/workspace-action/workspace-action.element.js +12 -4
  114. package/dist-cms/packages/templating/components/index.d.ts +0 -1
  115. package/dist-cms/packages/templating/components/index.js +0 -1
  116. package/dist-cms/packages/templating/manifests.d.ts +6 -1
  117. package/dist-cms/packages/templating/partial-views/config.d.ts +5 -5
  118. package/dist-cms/packages/templating/partial-views/config.js +3 -1
  119. package/dist-cms/packages/templating/partial-views/entity-actions/create/create-empty.action.js +1 -1
  120. package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.action.d.ts +10 -1
  121. package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.action.js +16 -1
  122. package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.modal.d.ts +16 -0
  123. package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.modal.js +73 -0
  124. package/dist-cms/packages/templating/partial-views/entity-actions/manifests.d.ts +6 -1
  125. package/dist-cms/packages/templating/partial-views/entity-actions/manifests.js +43 -5
  126. package/dist-cms/packages/templating/partial-views/manifests.d.ts +6 -1
  127. package/dist-cms/packages/templating/partial-views/repository/manifests.js +2 -2
  128. package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.d.ts +47 -26
  129. package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.js +81 -24
  130. package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.detail.server.data.d.ts +48 -13
  131. package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.detail.server.data.js +56 -17
  132. package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.d.ts +17 -0
  133. package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.js +23 -0
  134. package/dist-cms/packages/templating/partial-views/tree/manifests.js +3 -2
  135. package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace-edit.element.d.ts +6 -1
  136. package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace-edit.element.js +123 -27
  137. package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.context.d.ts +9 -7
  138. package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.context.js +49 -8
  139. package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.element.d.ts +1 -0
  140. package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.element.js +7 -3
  141. package/dist-cms/packages/templating/templates/modals/query-builder/query-builder-filter.element.js +2 -2
  142. package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.d.ts +1 -0
  143. package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.js +1 -0
  144. package/dist-cms/shared/repository/data-source/data-source.interface.d.ts +2 -2
  145. package/dist-cms/shared/repository/detail-repository.interface.d.ts +2 -2
  146. package/dist-cms/shared/utils/media-helper.service.d.ts +1 -1
  147. package/dist-cms/shared/utils/media-helper.service.js +1 -1
  148. package/dist-cms/tinymce/CHANGELOG.md +22 -0
  149. package/dist-cms/tinymce/composer.json +1 -1
  150. package/dist-cms/tinymce/icons/default/icons.js +3 -0
  151. package/dist-cms/tinymce/icons/default/icons.min.js +1 -1
  152. package/dist-cms/tinymce/langs/ar.js +1 -1
  153. package/dist-cms/tinymce/langs/bg_BG.js +56 -56
  154. package/dist-cms/tinymce/langs/fr_FR.js +1 -1
  155. package/dist-cms/tinymce/langs/ka_GE.js +406 -0
  156. package/dist-cms/tinymce/langs/nb_NO.js +15 -15
  157. package/dist-cms/tinymce/models/dom/model.js +1 -1
  158. package/dist-cms/tinymce/models/dom/model.min.js +1 -1
  159. package/dist-cms/tinymce/package.json +1 -1
  160. package/dist-cms/tinymce/plugins/accordion/plugin.js +1 -1
  161. package/dist-cms/tinymce/plugins/accordion/plugin.min.js +1 -1
  162. package/dist-cms/tinymce/plugins/advlist/plugin.js +1 -1
  163. package/dist-cms/tinymce/plugins/advlist/plugin.min.js +1 -1
  164. package/dist-cms/tinymce/plugins/anchor/plugin.js +1 -1
  165. package/dist-cms/tinymce/plugins/anchor/plugin.min.js +1 -1
  166. package/dist-cms/tinymce/plugins/autolink/plugin.js +1 -1
  167. package/dist-cms/tinymce/plugins/autolink/plugin.min.js +1 -1
  168. package/dist-cms/tinymce/plugins/autoresize/plugin.js +1 -1
  169. package/dist-cms/tinymce/plugins/autoresize/plugin.min.js +1 -1
  170. package/dist-cms/tinymce/plugins/autosave/plugin.js +1 -1
  171. package/dist-cms/tinymce/plugins/autosave/plugin.min.js +1 -1
  172. package/dist-cms/tinymce/plugins/charmap/plugin.js +1 -1
  173. package/dist-cms/tinymce/plugins/charmap/plugin.min.js +1 -1
  174. package/dist-cms/tinymce/plugins/code/plugin.js +1 -1
  175. package/dist-cms/tinymce/plugins/code/plugin.min.js +1 -1
  176. package/dist-cms/tinymce/plugins/codesample/plugin.js +1 -1
  177. package/dist-cms/tinymce/plugins/codesample/plugin.min.js +1 -1
  178. package/dist-cms/tinymce/plugins/directionality/plugin.js +1 -1
  179. package/dist-cms/tinymce/plugins/directionality/plugin.min.js +1 -1
  180. package/dist-cms/tinymce/plugins/emoticons/plugin.js +1 -1
  181. package/dist-cms/tinymce/plugins/emoticons/plugin.min.js +1 -1
  182. package/dist-cms/tinymce/plugins/fullscreen/plugin.js +1 -1
  183. package/dist-cms/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  184. package/dist-cms/tinymce/plugins/help/plugin.js +6 -1
  185. package/dist-cms/tinymce/plugins/help/plugin.min.js +2 -2
  186. package/dist-cms/tinymce/plugins/image/plugin.js +1 -1
  187. package/dist-cms/tinymce/plugins/image/plugin.min.js +1 -1
  188. package/dist-cms/tinymce/plugins/importcss/plugin.js +1 -1
  189. package/dist-cms/tinymce/plugins/importcss/plugin.min.js +1 -1
  190. package/dist-cms/tinymce/plugins/insertdatetime/plugin.js +1 -1
  191. package/dist-cms/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  192. package/dist-cms/tinymce/plugins/link/plugin.js +1 -1
  193. package/dist-cms/tinymce/plugins/link/plugin.min.js +1 -1
  194. package/dist-cms/tinymce/plugins/lists/plugin.js +1 -1
  195. package/dist-cms/tinymce/plugins/lists/plugin.min.js +1 -1
  196. package/dist-cms/tinymce/plugins/media/plugin.js +1 -1
  197. package/dist-cms/tinymce/plugins/media/plugin.min.js +1 -1
  198. package/dist-cms/tinymce/plugins/nonbreaking/plugin.js +1 -1
  199. package/dist-cms/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  200. package/dist-cms/tinymce/plugins/pagebreak/plugin.js +1 -1
  201. package/dist-cms/tinymce/plugins/pagebreak/plugin.min.js +1 -1
  202. package/dist-cms/tinymce/plugins/preview/plugin.js +1 -1
  203. package/dist-cms/tinymce/plugins/preview/plugin.min.js +1 -1
  204. package/dist-cms/tinymce/plugins/quickbars/plugin.js +1 -1
  205. package/dist-cms/tinymce/plugins/quickbars/plugin.min.js +1 -1
  206. package/dist-cms/tinymce/plugins/save/plugin.js +1 -1
  207. package/dist-cms/tinymce/plugins/save/plugin.min.js +1 -1
  208. package/dist-cms/tinymce/plugins/searchreplace/plugin.js +1 -1
  209. package/dist-cms/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  210. package/dist-cms/tinymce/plugins/table/plugin.js +1 -1
  211. package/dist-cms/tinymce/plugins/table/plugin.min.js +1 -1
  212. package/dist-cms/tinymce/plugins/template/plugin.js +1 -1
  213. package/dist-cms/tinymce/plugins/template/plugin.min.js +1 -1
  214. package/dist-cms/tinymce/plugins/visualblocks/plugin.js +1 -1
  215. package/dist-cms/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  216. package/dist-cms/tinymce/plugins/visualchars/plugin.js +1 -1
  217. package/dist-cms/tinymce/plugins/visualchars/plugin.min.js +1 -1
  218. package/dist-cms/tinymce/plugins/wordcount/plugin.js +1 -1
  219. package/dist-cms/tinymce/plugins/wordcount/plugin.min.js +1 -1
  220. package/dist-cms/tinymce/skins/ui/oxide/skin.css +18 -0
  221. package/dist-cms/tinymce/skins/ui/oxide/skin.min.css +1 -1
  222. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.css +18 -0
  223. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  224. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.css +18 -0
  225. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  226. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.css +18 -0
  227. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  228. package/dist-cms/tinymce/themes/silver/theme.js +279 -85
  229. package/dist-cms/tinymce/themes/silver/theme.min.js +2 -2
  230. package/dist-cms/tinymce/tinymce.d.ts +7 -2
  231. package/dist-cms/tinymce/tinymce.js +3 -3
  232. package/dist-cms/tinymce/tinymce.min.js +2 -2
  233. package/dist-cms/tsconfig.tsbuildinfo +1 -1
  234. package/dist-cms/umbraco-package-schema.json +40 -120
  235. package/dist-cms/vscode-html-custom-data.json +6 -6
  236. package/package.json +24 -25
  237. package/dist-cms/external/monaco-editor/javascript-53ce59fc.js +0 -6
  238. package/dist-cms/external/monaco-editor/tsMode-3f4e7f54.js +0 -16
  239. package/dist-cms/packages/templating/components/file-system-tree-item/file-system-tree-item.context.js +0 -10
@@ -302,10 +302,8 @@
302
302
  "type": "string"
303
303
  },
304
304
  "type": {
305
+ "const": "bundle",
305
306
  "description": "The type of extension such as dashboard etc...",
306
- "enum": [
307
- "bundle"
308
- ],
309
307
  "type": "string"
310
308
  },
311
309
  "weight": {
@@ -354,10 +352,8 @@
354
352
  "type": "string"
355
353
  },
356
354
  "type": {
355
+ "const": "collectionView",
357
356
  "description": "The type of extension such as dashboard etc...",
358
- "enum": [
359
- "collectionView"
360
- ],
361
357
  "type": "string"
362
358
  },
363
359
  "weight": {
@@ -407,10 +403,8 @@
407
403
  "type": "string"
408
404
  },
409
405
  "type": {
406
+ "const": "dashboard",
410
407
  "description": "The type of extension such as dashboard etc...",
411
- "enum": [
412
- "dashboard"
413
- ],
414
408
  "type": "string"
415
409
  },
416
410
  "weight": {
@@ -450,10 +444,8 @@
450
444
  "type": "string"
451
445
  },
452
446
  "type": {
447
+ "const": "dashboardCollection",
453
448
  "description": "The type of extension such as dashboard etc...",
454
- "enum": [
455
- "dashboardCollection"
456
- ],
457
449
  "type": "string"
458
450
  },
459
451
  "weight": {
@@ -503,10 +495,8 @@
503
495
  "type": "string"
504
496
  },
505
497
  "type": {
498
+ "const": "entityAction",
506
499
  "description": "The type of extension such as dashboard etc...",
507
- "enum": [
508
- "entityAction"
509
- ],
510
500
  "type": "string"
511
501
  },
512
502
  "weight": {
@@ -557,10 +547,8 @@
557
547
  "type": "string"
558
548
  },
559
549
  "type": {
550
+ "const": "entityBulkAction",
560
551
  "description": "The type of extension such as dashboard etc...",
561
- "enum": [
562
- "entityBulkAction"
563
- ],
564
552
  "type": "string"
565
553
  },
566
554
  "weight": {
@@ -599,10 +587,8 @@
599
587
  "type": "string"
600
588
  },
601
589
  "type": {
590
+ "const": "entryPoint",
602
591
  "description": "The type of extension such as dashboard etc...",
603
- "enum": [
604
- "entryPoint"
605
- ],
606
592
  "type": "string"
607
593
  },
608
594
  "weight": {
@@ -647,10 +633,8 @@
647
633
  "type": "string"
648
634
  },
649
635
  "type": {
636
+ "const": "externalLoginProvider",
650
637
  "description": "The type of extension such as dashboard etc...",
651
- "enum": [
652
- "externalLoginProvider"
653
- ],
654
638
  "type": "string"
655
639
  },
656
640
  "weight": {
@@ -687,10 +671,8 @@
687
671
  "type": "string"
688
672
  },
689
673
  "type": {
674
+ "const": "globalContext",
690
675
  "description": "The type of extension such as dashboard etc...",
691
- "enum": [
692
- "globalContext"
693
- ],
694
676
  "type": "string"
695
677
  },
696
678
  "weight": {
@@ -734,10 +716,8 @@
734
716
  "type": "string"
735
717
  },
736
718
  "type": {
719
+ "const": "headerApp",
737
720
  "description": "The type of extension such as dashboard etc...",
738
- "enum": [
739
- "headerApp"
740
- ],
741
721
  "type": "string"
742
722
  },
743
723
  "weight": {
@@ -767,10 +747,8 @@
767
747
  "type": "string"
768
748
  },
769
749
  "kind": {
750
+ "const": "button",
770
751
  "description": "The kind of the extension, used to group extensions together",
771
- "enum": [
772
- "button"
773
- ],
774
752
  "type": "string"
775
753
  },
776
754
  "meta": {
@@ -782,10 +760,8 @@
782
760
  "type": "string"
783
761
  },
784
762
  "type": {
763
+ "const": "headerApp",
785
764
  "description": "The type of extension such as dashboard etc...",
786
- "enum": [
787
- "headerApp"
788
- ],
789
765
  "type": "string"
790
766
  },
791
767
  "weight": {
@@ -831,10 +807,8 @@
831
807
  "type": "string"
832
808
  },
833
809
  "type": {
810
+ "const": "healthCheck",
834
811
  "description": "The type of extension such as dashboard etc...",
835
- "enum": [
836
- "healthCheck"
837
- ],
838
812
  "type": "string"
839
813
  },
840
814
  "weight": {
@@ -871,10 +845,8 @@
871
845
  "type": "string"
872
846
  },
873
847
  "type": {
848
+ "const": "itemStore",
874
849
  "description": "The type of extension such as dashboard etc...",
875
- "enum": [
876
- "itemStore"
877
- ],
878
850
  "type": "string"
879
851
  },
880
852
  "weight": {
@@ -917,10 +889,8 @@
917
889
  "type": "string"
918
890
  },
919
891
  "type": {
892
+ "const": "menu",
920
893
  "description": "The type of extension such as dashboard etc...",
921
- "enum": [
922
- "menu"
923
- ],
924
894
  "type": "string"
925
895
  },
926
896
  "weight": {
@@ -967,10 +937,8 @@
967
937
  "type": "string"
968
938
  },
969
939
  "type": {
940
+ "const": "menuItem",
970
941
  "description": "The type of extension such as dashboard etc...",
971
- "enum": [
972
- "menuItem"
973
- ],
974
942
  "type": "string"
975
943
  },
976
944
  "weight": {
@@ -1005,10 +973,8 @@
1005
973
  "type": "string"
1006
974
  },
1007
975
  "kind": {
976
+ "const": "tree",
1008
977
  "description": "The kind of the extension, used to group extensions together",
1009
- "enum": [
1010
- "tree"
1011
- ],
1012
978
  "type": "string"
1013
979
  },
1014
980
  "meta": {
@@ -1020,10 +986,8 @@
1020
986
  "type": "string"
1021
987
  },
1022
988
  "type": {
989
+ "const": "menuItem",
1023
990
  "description": "The type of extension such as dashboard etc...",
1024
- "enum": [
1025
- "menuItem"
1026
- ],
1027
991
  "type": "string"
1028
992
  },
1029
993
  "weight": {
@@ -1069,10 +1033,8 @@
1069
1033
  "type": "string"
1070
1034
  },
1071
1035
  "type": {
1036
+ "const": "modal",
1072
1037
  "description": "The type of extension such as dashboard etc...",
1073
- "enum": [
1074
- "modal"
1075
- ],
1076
1038
  "type": "string"
1077
1039
  },
1078
1040
  "weight": {
@@ -1116,10 +1078,8 @@
1116
1078
  "type": "string"
1117
1079
  },
1118
1080
  "type": {
1081
+ "const": "packageView",
1119
1082
  "description": "The type of extension such as dashboard etc...",
1120
- "enum": [
1121
- "packageView"
1122
- ],
1123
1083
  "type": "string"
1124
1084
  },
1125
1085
  "weight": {
@@ -1167,10 +1127,8 @@
1167
1127
  "type": "string"
1168
1128
  },
1169
1129
  "type": {
1130
+ "const": "propertyAction",
1170
1131
  "description": "The type of extension such as dashboard etc...",
1171
- "enum": [
1172
- "propertyAction"
1173
- ],
1174
1132
  "type": "string"
1175
1133
  },
1176
1134
  "weight": {
@@ -1206,10 +1164,8 @@
1206
1164
  "type": "string"
1207
1165
  },
1208
1166
  "type": {
1167
+ "const": "propertyEditorSchema",
1209
1168
  "description": "The type of extension such as dashboard etc...",
1210
- "enum": [
1211
- "propertyEditorSchema"
1212
- ],
1213
1169
  "type": "string"
1214
1170
  },
1215
1171
  "weight": {
@@ -1254,10 +1210,8 @@
1254
1210
  "type": "string"
1255
1211
  },
1256
1212
  "type": {
1213
+ "const": "propertyEditorUi",
1257
1214
  "description": "The type of extension such as dashboard etc...",
1258
- "enum": [
1259
- "propertyEditorUi"
1260
- ],
1261
1215
  "type": "string"
1262
1216
  },
1263
1217
  "weight": {
@@ -1294,10 +1248,8 @@
1294
1248
  "type": "string"
1295
1249
  },
1296
1250
  "type": {
1251
+ "const": "repository",
1297
1252
  "description": "The type of extension such as dashboard etc...",
1298
- "enum": [
1299
- "repository"
1300
- ],
1301
1253
  "type": "string"
1302
1254
  },
1303
1255
  "weight": {
@@ -1341,10 +1293,8 @@
1341
1293
  "type": "string"
1342
1294
  },
1343
1295
  "type": {
1296
+ "const": "section",
1344
1297
  "description": "The type of extension such as dashboard etc...",
1345
- "enum": [
1346
- "section"
1347
- ],
1348
1298
  "type": "string"
1349
1299
  },
1350
1300
  "weight": {
@@ -1391,10 +1341,8 @@
1391
1341
  "type": "string"
1392
1342
  },
1393
1343
  "type": {
1344
+ "const": "sectionSidebarApp",
1394
1345
  "description": "The type of extension such as dashboard etc...",
1395
- "enum": [
1396
- "sectionSidebarApp"
1397
- ],
1398
1346
  "type": "string"
1399
1347
  },
1400
1348
  "weight": {
@@ -1428,10 +1376,8 @@
1428
1376
  "type": "string"
1429
1377
  },
1430
1378
  "kind": {
1379
+ "const": "menu",
1431
1380
  "description": "The kind of the extension, used to group extensions together",
1432
- "enum": [
1433
- "menu"
1434
- ],
1435
1381
  "type": "string"
1436
1382
  },
1437
1383
  "meta": {
@@ -1443,10 +1389,8 @@
1443
1389
  "type": "string"
1444
1390
  },
1445
1391
  "type": {
1392
+ "const": "sectionSidebarApp",
1446
1393
  "description": "The type of extension such as dashboard etc...",
1447
- "enum": [
1448
- "sectionSidebarApp"
1449
- ],
1450
1394
  "type": "string"
1451
1395
  },
1452
1396
  "weight": {
@@ -1497,10 +1441,8 @@
1497
1441
  "type": "string"
1498
1442
  },
1499
1443
  "type": {
1444
+ "const": "sectionView",
1500
1445
  "description": "The type of extension such as dashboard etc...",
1501
- "enum": [
1502
- "sectionView"
1503
- ],
1504
1446
  "type": "string"
1505
1447
  },
1506
1448
  "weight": {
@@ -1538,10 +1480,8 @@
1538
1480
  "type": "string"
1539
1481
  },
1540
1482
  "type": {
1483
+ "const": "store",
1541
1484
  "description": "The type of extension such as dashboard etc...",
1542
- "enum": [
1543
- "store"
1544
- ],
1545
1485
  "type": "string"
1546
1486
  },
1547
1487
  "weight": {
@@ -1581,10 +1521,8 @@
1581
1521
  "type": "string"
1582
1522
  },
1583
1523
  "type": {
1524
+ "const": "theme",
1584
1525
  "description": "The type of extension such as dashboard etc...",
1585
- "enum": [
1586
- "theme"
1587
- ],
1588
1526
  "type": "string"
1589
1527
  },
1590
1528
  "weight": {
@@ -1624,10 +1562,8 @@
1624
1562
  "type": "string"
1625
1563
  },
1626
1564
  "type": {
1565
+ "const": "tinyMcePlugin",
1627
1566
  "description": "The type of extension such as dashboard etc...",
1628
- "enum": [
1629
- "tinyMcePlugin"
1630
- ],
1631
1567
  "type": "string"
1632
1568
  },
1633
1569
  "weight": {
@@ -1662,10 +1598,8 @@
1662
1598
  "type": "string"
1663
1599
  },
1664
1600
  "type": {
1601
+ "const": "tree",
1665
1602
  "description": "The type of extension such as dashboard etc...",
1666
- "enum": [
1667
- "tree"
1668
- ],
1669
1603
  "type": "string"
1670
1604
  },
1671
1605
  "weight": {
@@ -1712,10 +1646,8 @@
1712
1646
  "type": "string"
1713
1647
  },
1714
1648
  "type": {
1649
+ "const": "treeItem",
1715
1650
  "description": "The type of extension such as dashboard etc...",
1716
- "enum": [
1717
- "treeItem"
1718
- ],
1719
1651
  "type": "string"
1720
1652
  },
1721
1653
  "weight": {
@@ -1752,10 +1684,8 @@
1752
1684
  "type": "string"
1753
1685
  },
1754
1686
  "type": {
1687
+ "const": "treeStore",
1755
1688
  "description": "The type of extension such as dashboard etc...",
1756
- "enum": [
1757
- "treeStore"
1758
- ],
1759
1689
  "type": "string"
1760
1690
  },
1761
1691
  "weight": {
@@ -1917,10 +1847,8 @@
1917
1847
  "type": "string"
1918
1848
  },
1919
1849
  "type": {
1850
+ "const": "userProfileApp",
1920
1851
  "description": "The type of extension such as dashboard etc...",
1921
- "enum": [
1922
- "userProfileApp"
1923
- ],
1924
1852
  "type": "string"
1925
1853
  },
1926
1854
  "weight": {
@@ -1965,10 +1893,8 @@
1965
1893
  "type": "string"
1966
1894
  },
1967
1895
  "type": {
1896
+ "const": "workspace",
1968
1897
  "description": "The type of extension such as dashboard etc...",
1969
- "enum": [
1970
- "workspace"
1971
- ],
1972
1898
  "type": "string"
1973
1899
  },
1974
1900
  "weight": {
@@ -2016,10 +1942,8 @@
2016
1942
  "type": "string"
2017
1943
  },
2018
1944
  "type": {
1945
+ "const": "workspaceAction",
2019
1946
  "description": "The type of extension such as dashboard etc...",
2020
- "enum": [
2021
- "workspaceAction"
2022
- ],
2023
1947
  "type": "string"
2024
1948
  },
2025
1949
  "weight": {
@@ -2068,10 +1992,8 @@
2068
1992
  "type": "string"
2069
1993
  },
2070
1994
  "type": {
1995
+ "const": "workspaceEditorView",
2071
1996
  "description": "The type of extension such as dashboard etc...",
2072
- "enum": [
2073
- "workspaceEditorView"
2074
- ],
2075
1997
  "type": "string"
2076
1998
  },
2077
1999
  "weight": {
@@ -2121,10 +2043,8 @@
2121
2043
  "type": "string"
2122
2044
  },
2123
2045
  "type": {
2046
+ "const": "workspaceViewCollection",
2124
2047
  "description": "The type of extension such as dashboard etc...",
2125
- "enum": [
2126
- "workspaceViewCollection"
2127
- ],
2128
2048
  "type": "string"
2129
2049
  },
2130
2050
  "weight": {
@@ -1732,6 +1732,11 @@
1732
1732
  "description": "Properties:\n\n * `_item` - \n\n * `item` - \n\n * `styles` {`any[]`} - ",
1733
1733
  "attributes": []
1734
1734
  },
1735
+ {
1736
+ "name": "umb-file-system-tree-item",
1737
+ "description": "Tree item element for file system tree items. Uses the path as the unique identifier.\n\nProperties:\n\n * `_item` - \n\n * `item` - \n\n * `styles` {`any[]`} - ",
1738
+ "attributes": []
1739
+ },
1735
1740
  {
1736
1741
  "name": "umb-tree-item-base",
1737
1742
  "description": "Properties:\n\n * `_iconAlias` {`string | undefined`} - \n\n * `_item` - \n\n * `_childItems` {`any[] | undefined`} - \n\n * `_href` {`string | undefined`} - \n\n * `_isLoading` {`boolean`} - \n\n * `_isSelectableContext` {`boolean`} - \n\n * `_isSelectable` {`boolean`} - \n\n * `_isSelected` {`boolean`} - \n\n * `_hasChildren` {`boolean`} - \n\n * `_iconSlotHasChildren` {`boolean`} - \n\n * `styles` {`any[]`} - ",
@@ -3046,11 +3051,6 @@
3046
3051
  }
3047
3052
  ]
3048
3053
  },
3049
- {
3050
- "name": "umb-file-system-tree-item",
3051
- "description": "Properties:\n\n * `_item` - \n\n * `item` - \n\n * `styles` {`any[]`} - ",
3052
- "attributes": []
3053
- },
3054
3054
  {
3055
3055
  "name": "umb-templating-insert-menu",
3056
3056
  "description": "Events:\n\n * `insert` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `hidePartialView` {`boolean`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `_modalContext` - \n\n * `hidePartialView` {`boolean`} - \n\n * `styles` {`any[]`} - ",
@@ -3119,7 +3119,7 @@
3119
3119
  },
3120
3120
  {
3121
3121
  "name": "umb-partial-views-workspace-edit",
3122
- "description": "Properties:\n\n * `_name` {`string | null | undefined`} - \n\n * `_content` {`string | null | undefined`} - \n\n * `_codeEditor` - \n\n * `styles` {`any[]`} - ",
3122
+ "description": "Properties:\n\n * `_name` {`string | undefined`} - \n\n * `_content` {`string | null | undefined`} - \n\n * `_path` {`string | null | undefined`} - \n\n * `_ready` {`boolean | undefined`} - \n\n * `_codeEditor` - \n\n * `_modalContext` - \n\n * `inputQuery$` - \n\n * `styles` {`any[]`} - ",
3123
3123
  "attributes": []
3124
3124
  },
3125
3125
  {
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@umbraco-cms/backoffice",
3
3
  "license": "MIT",
4
- "version": "14.0.0-d542ed7d",
4
+ "version": "14.0.0-e72b5840",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": null,
8
- "./backend-api": "./dist-cms/external/backend-api/index.js",
9
8
  "./class-api": "./dist-cms/libs/class-api/index.js",
10
9
  "./context-api": "./dist-cms/libs/context-api/index.js",
11
10
  "./controller-api": "./dist-cms/libs/controller-api/index.js",
@@ -40,27 +39,27 @@
40
39
  "./section": "./dist-cms/packages/core/section/index.js",
41
40
  "./sorter": "./dist-cms/packages/core/sorter/index.js",
42
41
  "./store": "./dist-cms/packages/core/store/index.js",
43
- "./themes": "./dist-cms/packages/core/themes/index.ts",
42
+ "./themes": "./dist-cms/packages/core/themes/index.js",
44
43
  "./tree": "./dist-cms/packages/core/tree/index.js",
45
44
  "./variant": "./dist-cms/packages/core/variant/index.js",
46
45
  "./workspace": "./dist-cms/packages/core/workspace/index.js",
47
- "./document": "./dist-cms/packages/documents/documents/index.ts",
48
- "./document-blueprint": "./dist-cms/packages/documents/document-blueprints/index.ts",
49
- "./document-type": "./dist-cms/packages/documents/document-types/index.ts",
50
- "./media": "./dist-cms/packages/media/media/index.ts",
51
- "./media-type": "./dist-cms/packages/media/media-types/index.ts",
52
- "./member": "./dist-cms/packages/members/members/index.ts",
53
- "./member-group": "./dist-cms/packages/members/member-groups/index.ts",
54
- "./member-type": "./dist-cms/packages/members/member-types/index.ts",
55
- "./package": "./dist-cms/packages/packages/package/index.ts",
56
- "./data-type": "./dist-cms/packages/settings/data-types/index.ts",
57
- "./language": "./dist-cms/packages/settings/languages/index.ts",
46
+ "./document": "./dist-cms/packages/documents/documents/index.js",
47
+ "./document-blueprint": "./dist-cms/packages/documents/document-blueprints/index.js",
48
+ "./document-type": "./dist-cms/packages/documents/document-types/index.js",
49
+ "./media": "./dist-cms/packages/media/media/index.js",
50
+ "./media-type": "./dist-cms/packages/media/media-types/index.js",
51
+ "./member": "./dist-cms/packages/members/members/index.js",
52
+ "./member-group": "./dist-cms/packages/members/member-groups/index.js",
53
+ "./member-type": "./dist-cms/packages/members/member-types/index.js",
54
+ "./package": "./dist-cms/packages/packages/package/index.js",
55
+ "./data-type": "./dist-cms/packages/settings/data-types/index.js",
56
+ "./language": "./dist-cms/packages/settings/languages/index.js",
58
57
  "./logviewer": "./dist-cms/packages/settings/logviewer/index.js",
59
- "./relation-type": "./dist-cms/packages/settings/relation-types/index.ts",
60
- "./tags": "./dist-cms/packages/tags/index.ts",
61
- "./partial-view": "./dist-cms/packages/templating/partial-views/index.ts",
62
- "./stylesheet": "./dist-cms/packages/templating/stylesheets/index.ts",
63
- "./template": "./dist-cms/packages/templating/templates/index.ts",
58
+ "./relation-type": "./dist-cms/packages/settings/relation-types/index.js",
59
+ "./tags": "./dist-cms/packages/tags/index.js",
60
+ "./partial-view": "./dist-cms/packages/templating/partial-views/index.js",
61
+ "./stylesheet": "./dist-cms/packages/templating/stylesheets/index.js",
62
+ "./template": "./dist-cms/packages/templating/templates/index.js",
64
63
  "./user-group": "./dist-cms/packages/users/user-groups/index.js",
65
64
  "./current-user": "./dist-cms/packages/users/current-user/index.js",
66
65
  "./users": "./dist-cms/packages/users/users/index.js",
@@ -128,13 +127,13 @@
128
127
  "@openid/appauth": "^1.3.1",
129
128
  "@umbraco-ui/uui": "1.3.0",
130
129
  "@umbraco-ui/uui-css": "1.3.0",
131
- "element-internals-polyfill": "^1.1.19",
132
- "lit": "^2.7.4",
130
+ "element-internals-polyfill": "^1.3.5",
131
+ "lit": "^2.7.6",
133
132
  "lodash-es": "4.17.21",
134
- "monaco-editor": "^0.36.1",
135
- "rxjs": "^7.8.0",
136
- "tinymce": "^6.5.1",
137
- "tinymce-i18n": "^23.6.19",
133
+ "monaco-editor": "^0.40.0",
134
+ "rxjs": "^7.8.1",
135
+ "tinymce": "^6.6.0",
136
+ "tinymce-i18n": "^23.7.17",
138
137
  "uuid": "^9.0.0"
139
138
  }
140
139
  }
@@ -1,6 +0,0 @@
1
- import{conf as t,language as e}from"./typescript-4d577e09.js";import"./index-534fb84c.js";/*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var s=t,i={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{s as conf,i as language};
@@ -1,16 +0,0 @@
1
- import{t as z,m as G}from"./index-534fb84c.js";/*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var T=Object.defineProperty,J=Object.getOwnPropertyDescriptor,Q=Object.getOwnPropertyNames,q=Object.prototype.hasOwnProperty,X=(e,t,s)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,L=(e,t,s,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Q(t))!q.call(e,i)&&i!==s&&T(e,i,{get:()=>t[i],enumerable:!(o=J(t,i))||o.enumerable});return e},Y=(e,t,s)=>(L(e,t,"default"),s&&L(s,t,"default")),f=(e,t,s)=>(X(e,typeof t!="symbol"?t+"":t,s),s),n={};Y(n,G);var P=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}_configChangeListener;_updateExtraLibsToken;_extraLibsChangeListener;_worker;_client;dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;const e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=n.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync()?await this._worker.withSyncedResources(n.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy()))()),this._client}async getLanguageServiceWorker(...e){const t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},a={};a["lib.d.ts"]=!0,a["lib.dom.d.ts"]=!0,a["lib.dom.iterable.d.ts"]=!0,a["lib.es2015.collection.d.ts"]=!0,a["lib.es2015.core.d.ts"]=!0,a["lib.es2015.d.ts"]=!0,a["lib.es2015.generator.d.ts"]=!0,a["lib.es2015.iterable.d.ts"]=!0,a["lib.es2015.promise.d.ts"]=!0,a["lib.es2015.proxy.d.ts"]=!0,a["lib.es2015.reflect.d.ts"]=!0,a["lib.es2015.symbol.d.ts"]=!0,a["lib.es2015.symbol.wellknown.d.ts"]=!0,a["lib.es2016.array.include.d.ts"]=!0,a["lib.es2016.d.ts"]=!0,a["lib.es2016.full.d.ts"]=!0,a["lib.es2017.d.ts"]=!0,a["lib.es2017.full.d.ts"]=!0,a["lib.es2017.intl.d.ts"]=!0,a["lib.es2017.object.d.ts"]=!0,a["lib.es2017.sharedmemory.d.ts"]=!0,a["lib.es2017.string.d.ts"]=!0,a["lib.es2017.typedarrays.d.ts"]=!0,a["lib.es2018.asyncgenerator.d.ts"]=!0,a["lib.es2018.asynciterable.d.ts"]=!0,a["lib.es2018.d.ts"]=!0,a["lib.es2018.full.d.ts"]=!0,a["lib.es2018.intl.d.ts"]=!0,a["lib.es2018.promise.d.ts"]=!0,a["lib.es2018.regexp.d.ts"]=!0,a["lib.es2019.array.d.ts"]=!0,a["lib.es2019.d.ts"]=!0,a["lib.es2019.full.d.ts"]=!0,a["lib.es2019.object.d.ts"]=!0,a["lib.es2019.string.d.ts"]=!0,a["lib.es2019.symbol.d.ts"]=!0,a["lib.es2020.bigint.d.ts"]=!0,a["lib.es2020.d.ts"]=!0,a["lib.es2020.full.d.ts"]=!0,a["lib.es2020.intl.d.ts"]=!0,a["lib.es2020.promise.d.ts"]=!0,a["lib.es2020.sharedmemory.d.ts"]=!0,a["lib.es2020.string.d.ts"]=!0,a["lib.es2020.symbol.wellknown.d.ts"]=!0,a["lib.es2021.d.ts"]=!0,a["lib.es2021.full.d.ts"]=!0,a["lib.es2021.intl.d.ts"]=!0,a["lib.es2021.promise.d.ts"]=!0,a["lib.es2021.string.d.ts"]=!0,a["lib.es2021.weakref.d.ts"]=!0,a["lib.es5.d.ts"]=!0,a["lib.es6.d.ts"]=!0,a["lib.esnext.d.ts"]=!0,a["lib.esnext.full.d.ts"]=!0,a["lib.esnext.intl.d.ts"]=!0,a["lib.esnext.promise.d.ts"]=!0,a["lib.esnext.string.d.ts"]=!0,a["lib.esnext.weakref.d.ts"]=!0,a["lib.scripthost.d.ts"]=!0,a["lib.webworker.d.ts"]=!0,a["lib.webworker.importscripts.d.ts"]=!0,a["lib.webworker.iterable.d.ts"]=!0;function C(e,t,s=0){if(typeof e=="string")return e;if(e===void 0)return"";let o="";if(s){o+=t;for(let i=0;i<s;i++)o+=" "}if(o+=e.messageText,s++,e.next)for(const i of e.next)o+=C(i,t,s);return o}function w(e){return e?e.map(t=>t.text).join(""):""}var _=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let s=e.getPositionAt(t.start),o=e.getPositionAt(t.start+t.length),{lineNumber:i,column:d}=s,{lineNumber:c,column:r}=o;return{startLineNumber:i,startColumn:d,endLineNumber:c,endColumn:r}}},O=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}_libFiles;_hasFetchedLibFiles;_fetchLibFilesPromise;isLibFile(e){return e&&e.path.indexOf("/lib.")===0?!!a[e.path.slice(1)]:!1}getOrCreateModel(e){const t=n.Uri.parse(e),s=n.editor.getModel(t);if(s)return s;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return n.editor.createModel(this._libFiles[t.path.slice(1)],"typescript",t);const o=z.getExtraLibs()[e];return o?n.editor.createModel(o.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},I=class extends _{constructor(e,t,s,o){super(o),this._libFiles=e,this._defaults=t,this._selector=s;const i=r=>{if(r.getLanguageId()!==s)return;const u=()=>{const{onlyVisible:b}=this._defaults.getDiagnosticsOptions();b?r.isAttachedToEditor()&&this._doValidate(r):this._doValidate(r)};let g;const p=r.onDidChangeContent(()=>{clearTimeout(g),g=window.setTimeout(u,500)}),h=r.onDidChangeAttached(()=>{const{onlyVisible:b}=this._defaults.getDiagnosticsOptions();b&&(r.isAttachedToEditor()?u():n.editor.setModelMarkers(r,this._selector,[]))});this._listener[r.uri.toString()]={dispose(){p.dispose(),h.dispose(),clearTimeout(g)}},u()},d=r=>{n.editor.setModelMarkers(r,this._selector,[]);const u=r.uri.toString();this._listener[u]&&(this._listener[u].dispose(),delete this._listener[u])};this._disposables.push(n.editor.onDidCreateModel(r=>i(r))),this._disposables.push(n.editor.onWillDisposeModel(d)),this._disposables.push(n.editor.onDidChangeModelLanguage(r=>{d(r.model),i(r.model)})),this._disposables.push({dispose(){for(const r of n.editor.getModels())d(r)}});const c=()=>{for(const r of n.editor.getModels())d(r),i(r)};this._disposables.push(this._defaults.onDidChange(c)),this._disposables.push(this._defaults.onDidExtraLibsChange(c)),n.editor.getModels().forEach(r=>i(r))}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){const t=await this._worker(e.uri);if(e.isDisposed())return;const s=[],{noSyntaxValidation:o,noSemanticValidation:i,noSuggestionDiagnostics:d}=this._defaults.getDiagnosticsOptions();o||s.push(t.getSyntacticDiagnostics(e.uri.toString())),i||s.push(t.getSemanticDiagnostics(e.uri.toString())),d||s.push(t.getSuggestionDiagnostics(e.uri.toString()));const c=await Promise.all(s);if(!c||e.isDisposed())return;const r=c.reduce((g,p)=>p.concat(g),[]).filter(g=>(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(g.code)===-1),u=r.map(g=>g.relatedInformation||[]).reduce((g,p)=>p.concat(g),[]).map(g=>g.file?n.Uri.parse(g.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(u),!e.isDisposed()&&n.editor.setModelMarkers(e,this._selector,r.map(g=>this._convertDiagnostics(e,g)))}_convertDiagnostics(e,t){const s=t.start||0,o=t.length||1,{lineNumber:i,column:d}=e.getPositionAt(s),{lineNumber:c,column:r}=e.getPositionAt(s+o),u=[];return t.reportsUnnecessary&&u.push(n.MarkerTag.Unnecessary),t.reportsDeprecated&&u.push(n.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:i,startColumn:d,endLineNumber:c,endColumn:r,message:C(t.messageText,`
7
- `),code:t.code.toString(),tags:u,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];const s=[];return t.forEach(o=>{let i=e;if(o.file&&(i=this._libFiles.getOrCreateModel(o.file.fileName)),!i)return;const d=o.start||0,c=o.length||1,{lineNumber:r,column:u}=i.getPositionAt(d),{lineNumber:g,column:p}=i.getPositionAt(d+c);s.push({resource:i.uri,startLineNumber:r,startColumn:u,endLineNumber:g,endColumn:p,message:C(o.messageText,`
8
- `)})}),s}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return n.MarkerSeverity.Error;case 3:return n.MarkerSeverity.Info;case 0:return n.MarkerSeverity.Warning;case 2:return n.MarkerSeverity.Hint}return n.MarkerSeverity.Info}},v=class extends _{get triggerCharacters(){return["."]}async provideCompletionItems(e,t,s,o){const i=e.getWordUntilPosition(t),d=new n.Range(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn),c=e.uri,r=e.getOffsetAt(t),u=await this._worker(c);if(e.isDisposed())return;const g=await u.getCompletionsAtPosition(c.toString(),r);return!g||e.isDisposed()?void 0:{suggestions:g.entries.map(h=>{let b=d;if(h.replacementSpan){const S=e.getPositionAt(h.replacementSpan.start),x=e.getPositionAt(h.replacementSpan.start+h.replacementSpan.length);b=new n.Range(S.lineNumber,S.column,x.lineNumber,x.column)}const k=[];return h.kindModifiers!==void 0&&h.kindModifiers.indexOf("deprecated")!==-1&&k.push(n.languages.CompletionItemTag.Deprecated),{uri:c,position:t,offset:r,range:b,label:h.name,insertText:h.name,sortText:h.sortText,kind:v.convertKind(h.kind),tags:k}})}}async resolveCompletionItem(e,t){const s=e,o=s.uri,i=s.position,d=s.offset,r=await(await this._worker(o)).getCompletionEntryDetails(o.toString(),d,s.label);return r?{uri:o,position:i,label:r.name,kind:v.convertKind(r.kind),detail:w(r.displayParts),documentation:{value:v.createDocumentationString(r)}}:s}static convertKind(e){switch(e){case l.primitiveType:case l.keyword:return n.languages.CompletionItemKind.Keyword;case l.variable:case l.localVariable:return n.languages.CompletionItemKind.Variable;case l.memberVariable:case l.memberGetAccessor:case l.memberSetAccessor:return n.languages.CompletionItemKind.Field;case l.function:case l.memberFunction:case l.constructSignature:case l.callSignature:case l.indexSignature:return n.languages.CompletionItemKind.Function;case l.enum:return n.languages.CompletionItemKind.Enum;case l.module:return n.languages.CompletionItemKind.Module;case l.class:return n.languages.CompletionItemKind.Class;case l.interface:return n.languages.CompletionItemKind.Interface;case l.warning:return n.languages.CompletionItemKind.File}return n.languages.CompletionItemKind.Property}static createDocumentationString(e){let t=w(e.documentation);if(e.tags)for(const s of e.tags)t+=`
9
-
10
- ${N(s)}`;return t}};function N(e){let t=`*@${e.name}*`;if(e.name==="param"&&e.text){const[s,...o]=e.text;t+=`\`${s.text}\``,o.length>0&&(t+=` \u2014 ${o.map(i=>i.text).join(" ")}`)}else Array.isArray(e.text)?t+=` \u2014 ${e.text.map(s=>s.text).join(" ")}`:e.text&&(t+=` \u2014 ${e.text}`);return t}var F=class extends _{signatureHelpTriggerCharacters=["(",","];static _toSignatureHelpTriggerReason(e){switch(e.triggerKind){case n.languages.SignatureHelpTriggerKind.TriggerCharacter:return e.triggerCharacter?e.isRetrigger?{kind:"retrigger",triggerCharacter:e.triggerCharacter}:{kind:"characterTyped",triggerCharacter:e.triggerCharacter}:{kind:"invoked"};case n.languages.SignatureHelpTriggerKind.ContentChange:return e.isRetrigger?{kind:"retrigger"}:{kind:"invoked"};case n.languages.SignatureHelpTriggerKind.Invoke:default:return{kind:"invoked"}}}async provideSignatureHelp(e,t,s,o){const i=e.uri,d=e.getOffsetAt(t),c=await this._worker(i);if(e.isDisposed())return;const r=await c.getSignatureHelpItems(i.toString(),d,{triggerReason:F._toSignatureHelpTriggerReason(o)});if(!r||e.isDisposed())return;const u={activeSignature:r.selectedItemIndex,activeParameter:r.argumentIndex,signatures:[]};return r.items.forEach(g=>{const p={label:"",parameters:[]};p.documentation={value:w(g.documentation)},p.label+=w(g.prefixDisplayParts),g.parameters.forEach((h,b,k)=>{const S=w(h.displayParts),x={label:S,documentation:{value:w(h.documentation)}};p.label+=S,p.parameters.push(x),b<k.length-1&&(p.label+=w(g.separatorDisplayParts))}),p.label+=w(g.suffixDisplayParts),u.signatures.push(p)}),{value:u,dispose(){}}}},M=class extends _{async provideHover(e,t,s){const o=e.uri,i=e.getOffsetAt(t),d=await this._worker(o);if(e.isDisposed())return;const c=await d.getQuickInfoAtPosition(o.toString(),i);if(!c||e.isDisposed())return;const r=w(c.documentation),u=c.tags?c.tags.map(p=>N(p)).join(`
11
-
12
- `):"",g=w(c.displayParts);return{range:this._textSpanToRange(e,c.textSpan),contents:[{value:"```typescript\n"+g+"\n```\n"},{value:r+(u?`
13
-
14
- `+u:"")}]}}},K=class extends _{async provideDocumentHighlights(e,t,s){const o=e.uri,i=e.getOffsetAt(t),d=await this._worker(o);if(e.isDisposed())return;const c=await d.getOccurrencesAtPosition(o.toString(),i);if(!(!c||e.isDisposed()))return c.map(r=>({range:this._textSpanToRange(e,r.textSpan),kind:r.isWriteAccess?n.languages.DocumentHighlightKind.Write:n.languages.DocumentHighlightKind.Text}))}},R=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideDefinition(e,t,s){const o=e.uri,i=e.getOffsetAt(t),d=await this._worker(o);if(e.isDisposed())return;const c=await d.getDefinitionAtPosition(o.toString(),i);if(!c||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(c.map(u=>n.Uri.parse(u.fileName))),e.isDisposed()))return;const r=[];for(let u of c){const g=this._libFiles.getOrCreateModel(u.fileName);g&&r.push({uri:g.uri,range:this._textSpanToRange(g,u.textSpan)})}return r}},E=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideReferences(e,t,s,o){const i=e.uri,d=e.getOffsetAt(t),c=await this._worker(i);if(e.isDisposed())return;const r=await c.getReferencesAtPosition(i.toString(),d);if(!r||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(r.map(g=>n.Uri.parse(g.fileName))),e.isDisposed()))return;const u=[];for(let g of r){const p=this._libFiles.getOrCreateModel(g.fileName);p&&u.push({uri:p.uri,range:this._textSpanToRange(p,g.textSpan)})}return u}},H=class extends _{async provideDocumentSymbols(e,t){const s=e.uri,o=await this._worker(s);if(e.isDisposed())return;const i=await o.getNavigationBarItems(s.toString());if(!i||e.isDisposed())return;const d=(r,u,g)=>{let p={name:u.text,detail:"",kind:m[u.kind]||n.languages.SymbolKind.Variable,range:this._textSpanToRange(e,u.spans[0]),selectionRange:this._textSpanToRange(e,u.spans[0]),tags:[]};if(g&&(p.containerName=g),u.childItems&&u.childItems.length>0)for(let h of u.childItems)d(r,h,p.name);r.push(p)};let c=[];return i.forEach(r=>d(c,r)),c}},l=class{};f(l,"unknown",""),f(l,"keyword","keyword"),f(l,"script","script"),f(l,"module","module"),f(l,"class","class"),f(l,"interface","interface"),f(l,"type","type"),f(l,"enum","enum"),f(l,"variable","var"),f(l,"localVariable","local var"),f(l,"function","function"),f(l,"localFunction","local function"),f(l,"memberFunction","method"),f(l,"memberGetAccessor","getter"),f(l,"memberSetAccessor","setter"),f(l,"memberVariable","property"),f(l,"constructorImplementation","constructor"),f(l,"callSignature","call"),f(l,"indexSignature","index"),f(l,"constructSignature","construct"),f(l,"parameter","parameter"),f(l,"typeParameter","type parameter"),f(l,"primitiveType","primitive type"),f(l,"label","label"),f(l,"alias","alias"),f(l,"const","const"),f(l,"let","let"),f(l,"warning","warning");var m=Object.create(null);m[l.module]=n.languages.SymbolKind.Module,m[l.class]=n.languages.SymbolKind.Class,m[l.enum]=n.languages.SymbolKind.Enum,m[l.interface]=n.languages.SymbolKind.Interface,m[l.memberFunction]=n.languages.SymbolKind.Method,m[l.memberVariable]=n.languages.SymbolKind.Property,m[l.memberGetAccessor]=n.languages.SymbolKind.Property,m[l.memberSetAccessor]=n.languages.SymbolKind.Property,m[l.variable]=n.languages.SymbolKind.Variable,m[l.const]=n.languages.SymbolKind.Variable,m[l.localVariable]=n.languages.SymbolKind.Variable,m[l.variable]=n.languages.SymbolKind.Variable,m[l.function]=n.languages.SymbolKind.Function,m[l.localFunction]=n.languages.SymbolKind.Function;var y=class extends _{static _convertOptions(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:2,NewLineCharacter:`
15
- `,InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}}_convertTextChanges(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}}},V=class extends y{async provideDocumentRangeFormattingEdits(e,t,s,o){const i=e.uri,d=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),r=await this._worker(i);if(e.isDisposed())return;const u=await r.getFormattingEditsForRange(i.toString(),d,c,y._convertOptions(s));if(!(!u||e.isDisposed()))return u.map(g=>this._convertTextChanges(e,g))}},W=class extends y{get autoFormatTriggerCharacters(){return[";","}",`
16
- `]}async provideOnTypeFormattingEdits(e,t,s,o,i){const d=e.uri,c=e.getOffsetAt(t),r=await this._worker(d);if(e.isDisposed())return;const u=await r.getFormattingEditsAfterKeystroke(d.toString(),c,s,y._convertOptions(o));if(!(!u||e.isDisposed()))return u.map(g=>this._convertTextChanges(e,g))}},j=class extends y{async provideCodeActions(e,t,s,o){const i=e.uri,d=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),r=y._convertOptions(e.getOptions()),u=s.markers.filter(b=>b.code).map(b=>b.code).map(Number),g=await this._worker(i);if(e.isDisposed())return;const p=await g.getCodeFixesAtPosition(i.toString(),d,c,u,r);return!p||e.isDisposed()?{actions:[],dispose:()=>{}}:{actions:p.filter(b=>b.changes.filter(k=>k.isNewFile).length===0).map(b=>this._tsCodeFixActionToMonacoCodeAction(e,s,b)),dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(e,t,s){const o=[];for(const d of s.changes)for(const c of d.textChanges)o.push({resource:e.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(e,c.span),text:c.newText}});return{title:s.description,edit:{edits:o},diagnostics:t.markers,kind:"quickfix"}}},B=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideRenameEdits(e,t,s,o){const i=e.uri,d=i.toString(),c=e.getOffsetAt(t),r=await this._worker(i);if(e.isDisposed())return;const u=await r.getRenameInfo(d,c,{allowRenameOfImportPath:!1});if(u.canRename===!1)return{edits:[],rejectReason:u.localizedErrorMessage};if(u.fileToRename!==void 0)throw new Error("Renaming files is not supported.");const g=await r.findRenameLocations(d,c,!1,!1,!1);if(!g||e.isDisposed())return;const p=[];for(const h of g){const b=this._libFiles.getOrCreateModel(h.fileName);if(b)p.push({resource:b.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(b,h.textSpan),text:s}});else throw new Error(`Unknown file ${h.fileName}.`)}return{edits:p}}},U=class extends _{async provideInlayHints(e,t,s){const o=e.uri,i=o.toString(),d=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),r=await this._worker(o);return e.isDisposed()?null:{hints:(await r.provideInlayHints(i,d,c)).map(p=>({...p,label:p.text,position:e.getPositionAt(p.position),kind:this._convertHintKind(p.kind)})),dispose:()=>{}}}_convertHintKind(e){switch(e){case"Parameter":return n.languages.InlayHintKind.Parameter;case"Type":return n.languages.InlayHintKind.Type;default:return n.languages.InlayHintKind.Type}}},A,D;function Z(e){D=$(e,"typescript")}function ee(e){A=$(e,"javascript")}function te(){return new Promise((e,t)=>{if(!A)return t("JavaScript not registered!");e(A)})}function re(){return new Promise((e,t)=>{if(!D)return t("TypeScript not registered!");e(D)})}function $(e,t){const s=[],o=new P(t,e),i=(...r)=>o.getLanguageServiceWorker(...r),d=new O(i);function c(){const{modeConfiguration:r}=e;se(s),r.completionItems&&s.push(n.languages.registerCompletionItemProvider(t,new v(i))),r.signatureHelp&&s.push(n.languages.registerSignatureHelpProvider(t,new F(i))),r.hovers&&s.push(n.languages.registerHoverProvider(t,new M(i))),r.documentHighlights&&s.push(n.languages.registerDocumentHighlightProvider(t,new K(i))),r.definitions&&s.push(n.languages.registerDefinitionProvider(t,new R(d,i))),r.references&&s.push(n.languages.registerReferenceProvider(t,new E(d,i))),r.documentSymbols&&s.push(n.languages.registerDocumentSymbolProvider(t,new H(i))),r.rename&&s.push(n.languages.registerRenameProvider(t,new B(d,i))),r.documentRangeFormattingEdits&&s.push(n.languages.registerDocumentRangeFormattingEditProvider(t,new V(i))),r.onTypeFormattingEdits&&s.push(n.languages.registerOnTypeFormattingEditProvider(t,new W(i))),r.codeActions&&s.push(n.languages.registerCodeActionProvider(t,new j(i))),r.inlayHints&&s.push(n.languages.registerInlayHintsProvider(t,new U(i))),r.diagnostics&&s.push(new I(d,e,t,i))}return c(),i}function se(e){for(;e.length;)e.pop().dispose()}export{_ as Adapter,j as CodeActionAdaptor,R as DefinitionAdapter,I as DiagnosticsAdapter,V as FormatAdapter,y as FormatHelper,W as FormatOnTypeAdapter,U as InlayHintsAdapter,l as Kind,O as LibFiles,K as OccurrencesAdapter,H as OutlineAdapter,M as QuickInfoAdapter,E as ReferenceAdapter,B as RenameAdapter,F as SignatureHelpAdapter,v as SuggestAdapter,P as WorkerManager,C as flattenDiagnosticMessageText,te as getJavaScriptWorker,re as getTypeScriptWorker,ee as setupJavaScript,Z as setupTypeScript};