@nuraly/runtime 0.1.7 → 0.1.9

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 (349) hide show
  1. package/README.md +83 -765
  2. package/components/ui/components/Event/EventValue/EventValue.ts +13 -8
  3. package/components/ui/components/ToastContainer/ToastContainer.ts +1 -1
  4. package/components/ui/components/advanced/AIChat/AIChat.ts +1 -2
  5. package/components/ui/components/advanced/Collapse/Collapse.ts +5 -2
  6. package/components/ui/components/advanced/Collections/Collections.ts +2 -2
  7. package/components/ui/components/advanced/MicroApp/MicroApp.ts +3 -11
  8. package/components/ui/components/advanced/RefComponent/RefComponent.ts +2 -2
  9. package/components/ui/components/advanced/RichText/RichText.ts +5 -4
  10. package/components/ui/components/advanced/RichText/RichTextEditor.ts +0 -167
  11. package/components/ui/components/base/BaseElement/base-change-detection.ts +1 -5
  12. package/components/ui/components/base/BaseElement.ts +229 -610
  13. package/components/ui/components/base/FormRegisterable.ts +83 -0
  14. package/components/ui/components/base/controllers/DragDropController.ts +175 -0
  15. package/components/ui/components/base/controllers/ErrorController.ts +180 -0
  16. package/components/ui/components/base/controllers/EventController.ts +112 -0
  17. package/components/ui/components/base/controllers/InputHandlerController.ts +298 -0
  18. package/components/ui/components/base/controllers/SelectionController.ts +323 -0
  19. package/components/ui/components/base/controllers/StyleHandlerController.ts +286 -0
  20. package/components/ui/components/base/controllers/index.ts +11 -0
  21. package/components/ui/components/base/mixins/EditorModeMixin.ts +185 -0
  22. package/components/ui/components/base/mixins/index.ts +6 -0
  23. package/components/ui/components/base/types/base-element.types.ts +138 -0
  24. package/components/ui/components/base/types/index.ts +21 -0
  25. package/components/ui/components/base/utils/event-debouncer.ts +209 -0
  26. package/components/ui/components/base/utils/index.ts +11 -0
  27. package/components/ui/components/base/utils/style-cache.ts +94 -0
  28. package/components/ui/components/display/BoxModel/BoxModel.ts +177 -116
  29. package/components/ui/components/display/Code/Code.ts +40 -26
  30. package/components/ui/components/display/Divider/Divider.ts +2 -2
  31. package/components/ui/components/display/Icon/Icon.ts +2 -3
  32. package/components/ui/components/display/Image/Image.ts +72 -46
  33. package/components/ui/components/display/Tag/Tag.ts +2 -3
  34. package/components/ui/components/display/Video/Video.ts +91 -31
  35. package/components/ui/components/inputs/Button/Button.ts +2 -2
  36. package/components/ui/components/inputs/Checkbox/Checkbox.ts +14 -40
  37. package/components/ui/components/inputs/ColorPicker/colorpicker.ts +9 -4
  38. package/components/ui/components/inputs/DatePicker/DatePicker.ts +47 -25
  39. package/components/ui/components/inputs/Dropdown/Dropdown.ts +2 -2
  40. package/components/ui/components/inputs/Form/Form.style.ts +26 -0
  41. package/components/ui/components/inputs/Form/Form.ts +360 -0
  42. package/components/ui/components/inputs/IconPicker/IconPicker.ts +22 -18
  43. package/components/ui/components/inputs/InsertDropdown/InsertDropdown.ts +0 -20
  44. package/components/ui/components/inputs/NumberInput/NumberInput.ts +0 -4
  45. package/components/ui/components/inputs/RadioButton/Radio-button.ts +17 -13
  46. package/components/ui/components/inputs/Select/Select.ts +44 -24
  47. package/components/ui/components/inputs/TextInput/TextInput.ts +15 -9
  48. package/components/ui/components/inputs/Textarea/Textarea.ts +30 -30
  49. package/components/ui/components/inputs/UsersDropdown/UsersDropdown.ts +1 -1
  50. package/components/ui/components/layout/Card/Card.ts +112 -10
  51. package/components/ui/components/layout/Containers/Container.style.ts +18 -0
  52. package/components/ui/components/layout/Containers/Container.ts +11 -5
  53. package/components/ui/components/layout/Grid/Col.style.ts +27 -0
  54. package/components/ui/components/layout/Grid/Col.ts +213 -0
  55. package/components/ui/components/layout/Grid/Row.style.ts +73 -0
  56. package/components/ui/components/layout/Grid/Row.ts +170 -0
  57. package/components/ui/components/layout/Grid/index.ts +7 -0
  58. package/components/ui/components/layout/Panel/Panel.ts +2 -2
  59. package/components/ui/components/layout/Tabs/Tabs.ts +0 -1
  60. package/components/ui/components/navigation/EmbedURL/EmbedURL.ts +62 -26
  61. package/components/ui/components/navigation/Link/Link.ts +27 -16
  62. package/components/ui/components/navigation/Menu/Menu.ts +26 -48
  63. package/components/ui/components/runtime/MicroApp/MicroApp.ts +7 -147
  64. package/components/ui/components/runtime/MicroApp/MicroAppDataLoader.ts +6 -2
  65. package/components/ui/components/studio/FunctionsPanel/FunctionsPanel.ts +484 -0
  66. package/components/ui/components/studio/FunctionsPanel/index.ts +1 -0
  67. package/components/ui/components/utility/AccessRoles/AccessRoles.style.ts +242 -0
  68. package/components/ui/components/utility/AccessRoles/AccessRoles.ts +476 -0
  69. package/components/ui/components/utility/Border/Border.ts +0 -14
  70. package/components/ui/components/utility/BorderManager/BorderManager.style.ts +237 -0
  71. package/components/ui/components/utility/BorderManager/BorderManager.ts +503 -0
  72. package/components/ui/components/utility/BoxShadow/BoxShadow.ts +0 -16
  73. package/components/ui/components/utility/Document/Document.ts +54 -25
  74. package/components/ui/components/utility/Export-Import/Export-Import.ts +8 -7
  75. package/components/ui/components/utility/Handlers/Handlers.ts +14 -17
  76. package/components/ui/components/utility/ValidationRules/ValidationRules.ts +440 -0
  77. package/components/ui/components/wrappers/GenerikWrapper/DragWrapper/DragWrapper.ts +1 -0
  78. package/components/ui/components/wrappers/GenerikWrapper/GenerikWrapper.ts +1 -24
  79. package/components/ui/nuraly-ui/src/components/badge/badge.style.ts +4 -3
  80. package/components/ui/nuraly-ui/src/components/datepicker/datepicker.component.ts +2 -0
  81. package/components/ui/nuraly-ui/src/components/radio-group/radio-group.component.ts +12 -6
  82. package/components/ui/nuraly-ui/src/components/radio-group/radio-group.style.ts +23 -0
  83. package/dist/{index-B4yIOSMd.js → BaseElement-BNBn_IJk.js} +2920 -267
  84. package/dist/{CodeEditor-YsOapSut.js → CodeEditor-B1gNuvPb.js} +84127 -76319
  85. package/dist/{CodeEditor-BiNku87K.js → CodeEditor-Cpph-xRc.js} +7 -7
  86. package/dist/{abap-B2diVmjb.js → abap-D0Neqhq6.js} +91 -1
  87. package/dist/{apex-3NuJ-nsI.js → apex-B5LhxkeG.js} +18 -1
  88. package/dist/assets/editor.worker-DcwbJ0PV.js +12 -0
  89. package/dist/assets/html.worker-BTMxskjR.js +461 -0
  90. package/dist/assets/json.worker-D3vTGdf_.js +49 -0
  91. package/dist/assets/ts.worker-BsM1BXac.js +51334 -0
  92. package/dist/{azcli-XGXuUsMB.js → azcli-BrBH0QTU.js} +1 -1
  93. package/dist/{bat-B8Vhm634.js → bat-BfzAov64.js} +12 -1
  94. package/dist/{bicep-Cc8X5S_k.js → bicep-C3bCSWel.js} +1 -1
  95. package/dist/{cameligo-Bo3wBh9T.js → cameligo-sFL5plcd.js} +13 -1
  96. package/dist/{clojure-CPoQlpIK.js → clojure-CfeExRz0.js} +14 -1
  97. package/dist/{coffee-BxvTGz39.js → coffee-Xws5K0WL.js} +11 -1
  98. package/dist/{cpp-5RpEV7vC.js → cpp-CqOUEpxN.js} +28 -23
  99. package/dist/{csharp-slXXP3fo.js → csharp-DVLiBOZb.js} +13 -1
  100. package/dist/{csp-B98p6-gH.js → csp-DVFp9bw5.js} +3 -1
  101. package/dist/{css-BDsDSAin.js → css-DwARn2R6.js} +8 -1
  102. package/dist/cssMode-D82-gS78.js +1577 -0
  103. package/dist/{cypher-Dc4IMouD.js → cypher-uY0Mffat.js} +8 -1
  104. package/dist/{dart-LhvE3yD2.js → dart-D27H-mX_.js} +18 -1
  105. package/dist/{dockerfile-CwzplJeZ.js → dockerfile-CmV85WZK.js} +5 -1
  106. package/dist/{ecl-DxW3FiJi.js → ecl--fKn7yzB.js} +9 -1
  107. package/dist/{elixir-BI40g7TU.js → elixir-DUhH17ON.js} +87 -1
  108. package/dist/{flow9-tR2v0bGz.js → flow9-B3Dx2LLe.js} +8 -1
  109. package/dist/{freemarker2-Bfqhwyij.js → freemarker2-CYRLpyjt.js} +359 -7
  110. package/dist/{fsharp-BLAma0OT.js → fsharp-SyqBfUAR.js} +14 -1
  111. package/dist/{go-nYcD3y4Z.js → go-BbMR2tdT.js} +17 -1
  112. package/dist/{graphql-Dp1cHWmP.js → graphql-DDJE6tIl.js} +17 -1
  113. package/dist/{handlebars-DCgKNBmn.js → handlebars-R8Efxi60.js} +38 -4
  114. package/dist/{hcl-6NT8Kbna.js → hcl-YBvpaUqf.js} +13 -1
  115. package/dist/{html-C6wR7sMB.js → html-czhjovcp.js} +37 -4
  116. package/dist/htmlMode-DpyKDYYs.js +1587 -0
  117. package/dist/{ini-BZCOLrEc.js → ini-Ct73dBtM.js} +10 -1
  118. package/dist/{java-DAMcfJbX.js → java-C_jlkwoG.js} +18 -1
  119. package/dist/{javascript-D1L5MTmg.js → javascript-DwqkMEdb.js} +3 -2
  120. package/dist/jsonMode-Cmxxe0W9.js +2002 -0
  121. package/dist/{julia-CQ46G71H.js → julia-D8WE5U1e.js} +22 -1
  122. package/dist/{kotlin-CEjVo_6E.js → kotlin-Zy9aq5yB.js} +15 -1
  123. package/dist/{less-DreV99nP.js → less-sZ0iHtE8.js} +1 -1
  124. package/dist/{lexon-DBVJhqLb.js → lexon-CsdNL29A.js} +13 -1
  125. package/dist/{liquid-D_pDYIs1.js → liquid-2spuEcBh.js} +12 -4
  126. package/dist/{lua-Dcc_j6L-.js → lua-C2YJo0zw.js} +12 -1
  127. package/dist/{m3-B9SlZL4n.js → m3-CPLP40SG.js} +7 -1
  128. package/dist/{markdown-CuGw9_MP.js → markdown-B1mf5e0R.js} +34 -1
  129. package/dist/{mdx-CKsJ3cF4.js → mdx-BjBXyEeR.js} +2 -2
  130. package/dist/{micro-app-entry-xdTX5-ut.js → micro-app-entry-DYAnCRDo.js} +8132 -9649
  131. package/dist/micro-app.bundle.js +3 -3
  132. package/dist/micro-app.js +3565 -6710
  133. package/dist/{mips-BUWqP-OH.js → mips-DA33BZX1.js} +11 -1
  134. package/dist/{msdax-DtkouYCg.js → msdax-CCYFIQsP.js} +5 -1
  135. package/dist/{mysql-IkAsWSmF.js → mysql-hjmIjL-D.js} +11 -3
  136. package/dist/{objective-c-B2-ronfg.js → objective-c-RRCpEmqC.js} +2 -1
  137. package/dist/{pascal-Bsnz2eJA.js → pascal-CeV8XfxB.js} +13 -1
  138. package/dist/{pascaligo-D_sMUn0Q.js → pascaligo-IEEGVJAJ.js} +13 -1
  139. package/dist/{perl-BPzHt9SS.js → perl-B5-QbHq_.js} +34 -1
  140. package/dist/{pgsql-DlTJB0PD.js → pgsql-s6kqEJmi.js} +14 -4
  141. package/dist/{php-Dmq5OjwK.js → php-CWWqzOo8.js} +36 -1
  142. package/dist/{pla-HJcccrBy.js → pla-FSvb_YP_.js} +13 -1
  143. package/dist/{postiats-OQn6DKv-.js → postiats-DQdscQXO.js} +370 -1
  144. package/dist/{powerquery-DKaMYC8w.js → powerquery-CtA5JA1I.js} +7 -1
  145. package/dist/{powershell-DWeJHik1.js → powershell-DglEq96N.js} +13 -1
  146. package/dist/{protobuf-CBn_IseU.js → protobuf-BSepub3e.js} +5 -1
  147. package/dist/{pug-BoRpCINl.js → pug-B1847F4G.js} +16 -1
  148. package/dist/{python-zPpZYwLF.js → python-DLI1ji08.js} +59 -11
  149. package/dist/{qsharp-4rGyVZOw.js → qsharp-D4i0Nqg9.js} +28 -3
  150. package/dist/{r-DsgLhBOb.js → r-cdRigKxa.js} +5 -1
  151. package/dist/{razor-B_fCUeGX.js → razor-oAnIJsrL.js} +48 -4
  152. package/dist/{redis-B2fdL4Bg.js → redis-D9MFxvE8.js} +16 -6
  153. package/dist/{redshift-DoaeyCkH.js → redshift-CmCnsvL-.js} +13 -4
  154. package/dist/{restructuredtext-D-6OFBY9.js → restructuredtext-CWy8J51t.js} +19 -1
  155. package/dist/{ruby-D1DD6baV.js → ruby-WP-c36m5.js} +76 -3
  156. package/dist/runtime.js +34 -45
  157. package/dist/{rust-DssUV39M.js → rust-Q9FLdYpu.js} +13 -1
  158. package/dist/{sb-Dmb6tAdv.js → sb-C54-JBGT.js} +12 -1
  159. package/dist/{scala-Co3ETaym.js → scala-CzbFImc5.js} +24 -1
  160. package/dist/{scheme-CMrqXTty.js → scheme-BhfDmYN3.js} +1 -1
  161. package/dist/{scss-DkGudv8Q.js → scss-CEmiBXpS.js} +25 -1
  162. package/dist/{shell-BHN2BI4L.js → shell-Bmc1VhG0.js} +4 -1
  163. package/dist/{solidity-b-R-raGB.js → solidity-C9Q2I8Hh.js} +23 -1
  164. package/dist/{sophia-Y4GjyxNB.js → sophia-jWa1UyKz.js} +16 -1
  165. package/dist/{sparql-CDAPZb88.js → sparql-CM7jctbc.js} +15 -1
  166. package/dist/{sql-DkkpPiUq.js → sql-WzihTkbg.js} +42 -1
  167. package/dist/{st-CSPV91Ej.js → st-6y7_3aup.js} +8 -1
  168. package/dist/style.css +1 -1
  169. package/dist/{swift-DdSC5O48.js → swift-k-0zxG_D.js} +4 -1
  170. package/dist/{systemverilog-CI03XpAv.js → systemverilog-Pnr5_rIP.js} +29 -3
  171. package/dist/{tcl-B8DayMSI.js → tcl-fNPXval8.js} +7 -1
  172. package/dist/tsMode-D_PMsbjK.js +976 -0
  173. package/dist/{twig-B1AUPVB_.js → twig-L2MkztkV.js} +76 -1
  174. package/dist/{typescript-DrlYcCUn.js → typescript-Bu3ZbtQI.js} +23 -2
  175. package/dist/typespec-Cqqo-3Pt.js +123 -0
  176. package/dist/{vb-BIC7ccdG.js → vb-B5YC2xN9.js} +15 -1
  177. package/dist/{wgsl-C9yjop46.js → wgsl-D9BRtftY.js} +26 -1
  178. package/dist/{xml-BzP9D0eZ.js → xml-CNSSkPqy.js} +8 -2
  179. package/dist/{yaml-CT7GOvXu.js → yaml-5RF_PGNe.js} +30 -2
  180. package/handlers/compiler.ts +196 -16
  181. package/handlers/context-setup.ts +10 -5
  182. package/handlers/handler-api-factory.ts +358 -0
  183. package/handlers/handler-api.ts +379 -0
  184. package/handlers/handler-executor.ts +25 -5
  185. package/handlers/handler-scope.ts +398 -0
  186. package/handlers/index.ts +34 -2
  187. package/handlers/runtime-api/component-properties.ts +0 -8
  188. package/handlers/runtime-api/index.ts +1 -1
  189. package/handlers/runtime-api/toast.ts +1 -1
  190. package/index.ts +14 -115
  191. package/micro-app/README.md +10 -10
  192. package/micro-app/state/MicroAppRuntimeContext.ts +1 -28
  193. package/micro-app-entry.ts +0 -5
  194. package/package.json +22 -1
  195. package/redux/actions/application/index.ts +0 -1
  196. package/redux/actions/component/addComponentAction.ts +15 -4
  197. package/redux/actions/component/moveDraggedComponent.ts +1 -2
  198. package/redux/actions/component/update-component-name.ts +1 -1
  199. package/redux/actions/component/updateComponentAttributes.ts +7 -2
  200. package/redux/handlers/functions/build-function-handler.ts +11 -3
  201. package/redux/handlers/functions/deploy-function-handler.ts +11 -3
  202. package/redux/handlers/functions/invoke-function-handler.ts +11 -3
  203. package/redux/handlers/functions/load-functions-handler.ts +2 -1
  204. package/redux/handlers/functions/update-function-handler.ts +2 -1
  205. package/redux/store/component/component.interface.ts +8 -2
  206. package/redux/store/component/store.ts +1 -4
  207. package/state/runtime-context.ts +1 -23
  208. package/utils/RuntimeContextHelpers.ts +221 -90
  209. package/utils/change-detection.ts +125 -1
  210. package/utils/clipboard-utils.ts +18 -8
  211. package/utils/component-registry.ts +118 -0
  212. package/utils/index.ts +14 -1
  213. package/utils/naming-generator.ts +3 -1
  214. package/utils/randomness.ts +3 -1
  215. package/utils/register-components.ts +21 -29
  216. package/utils/render-util.ts +27 -48
  217. package/utils/toast.ts +97 -0
  218. package/vite.config.ts +29 -12
  219. package/components/ui/components/Event/EventAttribute/EventAttribute.style.ts +0 -11
  220. package/components/ui/components/Event/EventAttribute/EventAttribute.ts +0 -28
  221. package/components/ui/components/base/BaseElement/calculateStyles.ts +0 -31
  222. package/components/ui/components/base/BaseElement/drag-events.helpers.ts +0 -71
  223. package/components/ui/components/base/BaseElement/execute-event.helpers.ts +0 -45
  224. package/components/ui/components/base/BaseElement/interactions.helpers.ts +0 -14
  225. package/components/ui/components/wrappers/ComponentTitle/ComponentTitle.ts +0 -95
  226. package/components/ui/components/wrappers/GenerikWrapper/ResizeWrapper/ResizeWrapper.style.ts +0 -102
  227. package/components/ui/components/wrappers/GenerikWrapper/ResizeWrapper/ResizeWrapper.ts +0 -258
  228. package/components/ui/components/wrappers/PreviewWrapper.ts +0 -28
  229. package/components/ui/components/wrappers/RectangleSelection/RectangleSelection.ts +0 -154
  230. package/components/ui/nuraly-ui/packages/common/dist/constants/index.d.ts +0 -2
  231. package/components/ui/nuraly-ui/packages/common/dist/constants/index.js +0 -2
  232. package/components/ui/nuraly-ui/packages/common/dist/constants.d.ts +0 -17
  233. package/components/ui/nuraly-ui/packages/common/dist/constants.js +0 -7
  234. package/components/ui/nuraly-ui/packages/common/dist/controllers/index.d.ts +0 -2
  235. package/components/ui/nuraly-ui/packages/common/dist/controllers/index.js +0 -2
  236. package/components/ui/nuraly-ui/packages/common/dist/controllers.d.ts +0 -21
  237. package/components/ui/nuraly-ui/packages/common/dist/controllers.js +0 -22
  238. package/components/ui/nuraly-ui/packages/common/dist/index.d.ts +0 -25
  239. package/components/ui/nuraly-ui/packages/common/dist/index.js +0 -27
  240. package/components/ui/nuraly-ui/packages/common/dist/mixins/index.d.ts +0 -2
  241. package/components/ui/nuraly-ui/packages/common/dist/mixins/index.js +0 -3
  242. package/components/ui/nuraly-ui/packages/common/dist/mixins.d.ts +0 -26
  243. package/components/ui/nuraly-ui/packages/common/dist/mixins.js +0 -29
  244. package/components/ui/nuraly-ui/packages/common/dist/shared/base-mixin.d.ts +0 -42
  245. package/components/ui/nuraly-ui/packages/common/dist/shared/base-mixin.js +0 -38
  246. package/components/ui/nuraly-ui/packages/common/dist/shared/constants.d.ts +0 -1
  247. package/components/ui/nuraly-ui/packages/common/dist/shared/constants.js +0 -2
  248. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.controller.d.ts +0 -77
  249. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.controller.js +0 -341
  250. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.interface.d.ts +0 -37
  251. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.interface.js +0 -2
  252. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/index.d.ts +0 -4
  253. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/index.js +0 -4
  254. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/theme.controller.d.ts +0 -48
  255. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/theme.controller.js +0 -133
  256. package/components/ui/nuraly-ui/packages/common/dist/shared/dependency-mixin.d.ts +0 -37
  257. package/components/ui/nuraly-ui/packages/common/dist/shared/dependency-mixin.js +0 -141
  258. package/components/ui/nuraly-ui/packages/common/dist/shared/event-handler-mixin.d.ts +0 -64
  259. package/components/ui/nuraly-ui/packages/common/dist/shared/event-handler-mixin.js +0 -95
  260. package/components/ui/nuraly-ui/packages/common/dist/shared/index.d.ts +0 -13
  261. package/components/ui/nuraly-ui/packages/common/dist/shared/index.js +0 -17
  262. package/components/ui/nuraly-ui/packages/common/dist/shared/theme-mixin.d.ts +0 -78
  263. package/components/ui/nuraly-ui/packages/common/dist/shared/theme-mixin.js +0 -194
  264. package/components/ui/nuraly-ui/packages/common/dist/shared/themes.d.ts +0 -44
  265. package/components/ui/nuraly-ui/packages/common/dist/shared/themes.js +0 -85
  266. package/components/ui/nuraly-ui/packages/common/dist/shared/utils.d.ts +0 -60
  267. package/components/ui/nuraly-ui/packages/common/dist/shared/utils.js +0 -85
  268. package/components/ui/nuraly-ui/packages/common/dist/shared/validation.types.d.ts +0 -108
  269. package/components/ui/nuraly-ui/packages/common/dist/shared/validation.types.js +0 -17
  270. package/components/ui/nuraly-ui/packages/common/dist/themes/index.d.ts +0 -2
  271. package/components/ui/nuraly-ui/packages/common/dist/themes/index.js +0 -2
  272. package/components/ui/nuraly-ui/packages/common/dist/themes.d.ts +0 -22
  273. package/components/ui/nuraly-ui/packages/common/dist/themes.js +0 -23
  274. package/components/ui/nuraly-ui/packages/common/dist/utils/index.d.ts +0 -2
  275. package/components/ui/nuraly-ui/packages/common/dist/utils/index.js +0 -2
  276. package/components/ui/nuraly-ui/packages/common/dist/utils.d.ts +0 -21
  277. package/components/ui/nuraly-ui/packages/common/dist/utils.js +0 -22
  278. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/LICENSE +0 -15
  279. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/README.md +0 -294
  280. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/copy/copy-sync.js +0 -171
  281. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/copy/copy.js +0 -175
  282. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/copy/index.js +0 -7
  283. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/empty/index.js +0 -39
  284. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/file.js +0 -66
  285. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/index.js +0 -23
  286. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/link.js +0 -64
  287. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
  288. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
  289. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/symlink.js +0 -67
  290. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/fs/index.js +0 -146
  291. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/index.js +0 -16
  292. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/json/index.js +0 -16
  293. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  294. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  295. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/json/output-json.js +0 -12
  296. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  297. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  298. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  299. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/move/index.js +0 -7
  300. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/move/move-sync.js +0 -55
  301. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/move/move.js +0 -59
  302. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/output-file/index.js +0 -31
  303. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  304. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/remove/index.js +0 -17
  305. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/util/async.js +0 -29
  306. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/util/stat.js +0 -159
  307. package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/util/utimes.js +0 -36
  308. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/LICENSE +0 -15
  309. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/README.md +0 -294
  310. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/copy/copy-sync.js +0 -171
  311. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/copy/copy.js +0 -175
  312. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/copy/index.js +0 -7
  313. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/empty/index.js +0 -39
  314. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/file.js +0 -66
  315. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/index.js +0 -23
  316. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/link.js +0 -64
  317. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
  318. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
  319. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/symlink.js +0 -67
  320. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/fs/index.js +0 -146
  321. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/index.js +0 -16
  322. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/json/index.js +0 -16
  323. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  324. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  325. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/json/output-json.js +0 -12
  326. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  327. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  328. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  329. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/move/index.js +0 -7
  330. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/move/move-sync.js +0 -55
  331. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/move/move.js +0 -59
  332. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/output-file/index.js +0 -31
  333. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  334. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/remove/index.js +0 -17
  335. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/util/async.js +0 -29
  336. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/util/stat.js +0 -159
  337. package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/util/utimes.js +0 -36
  338. package/dist/SmartAttributeHandler-C4EliaG0.js +0 -153
  339. package/dist/SmartAttributeHandler-u-ZHGueR.js +0 -193
  340. package/dist/assets/editor.worker-C_S4Avdt.js +0 -11
  341. package/dist/assets/html.worker-DfuQASUV.js +0 -458
  342. package/dist/assets/json.worker-Cucz4wxY.js +0 -42
  343. package/dist/assets/ts.worker-Dme6S0YK.js +0 -37021
  344. package/dist/cssMode-CqMQ6Xsa.js +0 -1443
  345. package/dist/htmlMode-KglxyZXm.js +0 -1453
  346. package/dist/jsonMode-B3rqxD-b.js +0 -1863
  347. package/dist/tsMode-DEiq8fQ0.js +0 -800
  348. package/redux/actions/application/loadApplicationPermissionAction.ts +0 -10
  349. package/utils/styleUtil.ts +0 -7
@@ -0,0 +1,976 @@
1
+ import { t as L, m as O } from "./CodeEditor-B1gNuvPb.js";
2
+ /*!-----------------------------------------------------------------------------
3
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4
+ * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
5
+ * Released under the MIT license
6
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
+ *-----------------------------------------------------------------------------*/
8
+ var I = Object.defineProperty, N = Object.getOwnPropertyDescriptor, M = Object.getOwnPropertyNames, R = Object.prototype.hasOwnProperty, K = (e, t, i, o) => {
9
+ if (t && typeof t == "object" || typeof t == "function")
10
+ for (let n of M(t))
11
+ !R.call(e, n) && n !== i && I(e, n, { get: () => t[n], enumerable: !(o = N(t, n)) || o.enumerable });
12
+ return e;
13
+ }, E = (e, t, i) => (K(e, t, "default"), i), a = {};
14
+ E(a, O);
15
+ var H = class {
16
+ constructor(e, t) {
17
+ 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(
18
+ () => this._updateExtraLibs()
19
+ );
20
+ }
21
+ dispose() {
22
+ this._configChangeListener.dispose(), this._extraLibsChangeListener.dispose(), this._stopWorker();
23
+ }
24
+ _stopWorker() {
25
+ this._worker && (this._worker.dispose(), this._worker = null), this._client = null;
26
+ }
27
+ async _updateExtraLibs() {
28
+ if (!this._worker)
29
+ return;
30
+ const e = ++this._updateExtraLibsToken, t = await this._worker.getProxy();
31
+ this._updateExtraLibsToken === e && t.updateExtraLibs(this._defaults.getExtraLibs());
32
+ }
33
+ _getClient() {
34
+ return this._client || (this._client = (async () => (this._worker = a.editor.createWebWorker({
35
+ // module that exports the create() method and returns a `TypeScriptWorker` instance
36
+ moduleId: "vs/language/typescript/tsWorker",
37
+ label: this._modeId,
38
+ keepIdleModels: !0,
39
+ // passed in to the create() method
40
+ createData: {
41
+ compilerOptions: this._defaults.getCompilerOptions(),
42
+ extraLibs: this._defaults.getExtraLibs(),
43
+ customWorkerPath: this._defaults.workerOptions.customWorkerPath,
44
+ inlayHintsOptions: this._defaults.inlayHintsOptions
45
+ }
46
+ }), this._defaults.getEagerModelSync() ? await this._worker.withSyncedResources(
47
+ a.editor.getModels().filter((e) => e.getLanguageId() === this._modeId).map((e) => e.uri)
48
+ ) : await this._worker.getProxy()))()), this._client;
49
+ }
50
+ async getLanguageServiceWorker(...e) {
51
+ const t = await this._getClient();
52
+ return this._worker && await this._worker.withSyncedResources(e), t;
53
+ }
54
+ }, r = {};
55
+ r["lib.d.ts"] = !0;
56
+ r["lib.decorators.d.ts"] = !0;
57
+ r["lib.decorators.legacy.d.ts"] = !0;
58
+ r["lib.dom.asynciterable.d.ts"] = !0;
59
+ r["lib.dom.d.ts"] = !0;
60
+ r["lib.dom.iterable.d.ts"] = !0;
61
+ r["lib.es2015.collection.d.ts"] = !0;
62
+ r["lib.es2015.core.d.ts"] = !0;
63
+ r["lib.es2015.d.ts"] = !0;
64
+ r["lib.es2015.generator.d.ts"] = !0;
65
+ r["lib.es2015.iterable.d.ts"] = !0;
66
+ r["lib.es2015.promise.d.ts"] = !0;
67
+ r["lib.es2015.proxy.d.ts"] = !0;
68
+ r["lib.es2015.reflect.d.ts"] = !0;
69
+ r["lib.es2015.symbol.d.ts"] = !0;
70
+ r["lib.es2015.symbol.wellknown.d.ts"] = !0;
71
+ r["lib.es2016.array.include.d.ts"] = !0;
72
+ r["lib.es2016.d.ts"] = !0;
73
+ r["lib.es2016.full.d.ts"] = !0;
74
+ r["lib.es2016.intl.d.ts"] = !0;
75
+ r["lib.es2017.d.ts"] = !0;
76
+ r["lib.es2017.date.d.ts"] = !0;
77
+ r["lib.es2017.full.d.ts"] = !0;
78
+ r["lib.es2017.intl.d.ts"] = !0;
79
+ r["lib.es2017.object.d.ts"] = !0;
80
+ r["lib.es2017.sharedmemory.d.ts"] = !0;
81
+ r["lib.es2017.string.d.ts"] = !0;
82
+ r["lib.es2017.typedarrays.d.ts"] = !0;
83
+ r["lib.es2018.asyncgenerator.d.ts"] = !0;
84
+ r["lib.es2018.asynciterable.d.ts"] = !0;
85
+ r["lib.es2018.d.ts"] = !0;
86
+ r["lib.es2018.full.d.ts"] = !0;
87
+ r["lib.es2018.intl.d.ts"] = !0;
88
+ r["lib.es2018.promise.d.ts"] = !0;
89
+ r["lib.es2018.regexp.d.ts"] = !0;
90
+ r["lib.es2019.array.d.ts"] = !0;
91
+ r["lib.es2019.d.ts"] = !0;
92
+ r["lib.es2019.full.d.ts"] = !0;
93
+ r["lib.es2019.intl.d.ts"] = !0;
94
+ r["lib.es2019.object.d.ts"] = !0;
95
+ r["lib.es2019.string.d.ts"] = !0;
96
+ r["lib.es2019.symbol.d.ts"] = !0;
97
+ r["lib.es2020.bigint.d.ts"] = !0;
98
+ r["lib.es2020.d.ts"] = !0;
99
+ r["lib.es2020.date.d.ts"] = !0;
100
+ r["lib.es2020.full.d.ts"] = !0;
101
+ r["lib.es2020.intl.d.ts"] = !0;
102
+ r["lib.es2020.number.d.ts"] = !0;
103
+ r["lib.es2020.promise.d.ts"] = !0;
104
+ r["lib.es2020.sharedmemory.d.ts"] = !0;
105
+ r["lib.es2020.string.d.ts"] = !0;
106
+ r["lib.es2020.symbol.wellknown.d.ts"] = !0;
107
+ r["lib.es2021.d.ts"] = !0;
108
+ r["lib.es2021.full.d.ts"] = !0;
109
+ r["lib.es2021.intl.d.ts"] = !0;
110
+ r["lib.es2021.promise.d.ts"] = !0;
111
+ r["lib.es2021.string.d.ts"] = !0;
112
+ r["lib.es2021.weakref.d.ts"] = !0;
113
+ r["lib.es2022.array.d.ts"] = !0;
114
+ r["lib.es2022.d.ts"] = !0;
115
+ r["lib.es2022.error.d.ts"] = !0;
116
+ r["lib.es2022.full.d.ts"] = !0;
117
+ r["lib.es2022.intl.d.ts"] = !0;
118
+ r["lib.es2022.object.d.ts"] = !0;
119
+ r["lib.es2022.regexp.d.ts"] = !0;
120
+ r["lib.es2022.sharedmemory.d.ts"] = !0;
121
+ r["lib.es2022.string.d.ts"] = !0;
122
+ r["lib.es2023.array.d.ts"] = !0;
123
+ r["lib.es2023.collection.d.ts"] = !0;
124
+ r["lib.es2023.d.ts"] = !0;
125
+ r["lib.es2023.full.d.ts"] = !0;
126
+ r["lib.es5.d.ts"] = !0;
127
+ r["lib.es6.d.ts"] = !0;
128
+ r["lib.esnext.collection.d.ts"] = !0;
129
+ r["lib.esnext.d.ts"] = !0;
130
+ r["lib.esnext.decorators.d.ts"] = !0;
131
+ r["lib.esnext.disposable.d.ts"] = !0;
132
+ r["lib.esnext.full.d.ts"] = !0;
133
+ r["lib.esnext.intl.d.ts"] = !0;
134
+ r["lib.esnext.object.d.ts"] = !0;
135
+ r["lib.esnext.promise.d.ts"] = !0;
136
+ r["lib.scripthost.d.ts"] = !0;
137
+ r["lib.webworker.asynciterable.d.ts"] = !0;
138
+ r["lib.webworker.d.ts"] = !0;
139
+ r["lib.webworker.importscripts.d.ts"] = !0;
140
+ r["lib.webworker.iterable.d.ts"] = !0;
141
+ function C(e, t, i = 0) {
142
+ if (typeof e == "string")
143
+ return e;
144
+ if (e === void 0)
145
+ return "";
146
+ let o = "";
147
+ if (i) {
148
+ o += t;
149
+ for (let n = 0; n < i; n++)
150
+ o += " ";
151
+ }
152
+ if (o += e.messageText, i++, e.next)
153
+ for (const n of e.next)
154
+ o += C(n, t, i);
155
+ return o;
156
+ }
157
+ function _(e) {
158
+ return e ? e.map((t) => t.text).join("") : "";
159
+ }
160
+ var m = class {
161
+ constructor(e) {
162
+ this._worker = e;
163
+ }
164
+ // protected _positionToOffset(model: editor.ITextModel, position: monaco.IPosition): number {
165
+ // return model.getOffsetAt(position);
166
+ // }
167
+ // protected _offsetToPosition(model: editor.ITextModel, offset: number): monaco.IPosition {
168
+ // return model.getPositionAt(offset);
169
+ // }
170
+ _textSpanToRange(e, t) {
171
+ let i = e.getPositionAt(t.start), o = e.getPositionAt(t.start + t.length), { lineNumber: n, column: c } = i, { lineNumber: u, column: s } = o;
172
+ return { startLineNumber: n, startColumn: c, endLineNumber: u, endColumn: s };
173
+ }
174
+ }, V = class {
175
+ constructor(e) {
176
+ this._worker = e, this._libFiles = {}, this._hasFetchedLibFiles = !1, this._fetchLibFilesPromise = null;
177
+ }
178
+ isLibFile(e) {
179
+ return e && e.path.indexOf("/lib.") === 0 ? !!r[e.path.slice(1)] : !1;
180
+ }
181
+ getOrCreateModel(e) {
182
+ const t = a.Uri.parse(e), i = a.editor.getModel(t);
183
+ if (i)
184
+ return i;
185
+ if (this.isLibFile(t) && this._hasFetchedLibFiles)
186
+ return a.editor.createModel(this._libFiles[t.path.slice(1)], "typescript", t);
187
+ const o = L.getExtraLibs()[e];
188
+ return o ? a.editor.createModel(o.content, "typescript", t) : null;
189
+ }
190
+ _containsLibFile(e) {
191
+ for (let t of e)
192
+ if (this.isLibFile(t))
193
+ return !0;
194
+ return !1;
195
+ }
196
+ async fetchLibFilesIfNecessary(e) {
197
+ this._containsLibFile(e) && await this._fetchLibFiles();
198
+ }
199
+ _fetchLibFiles() {
200
+ return this._fetchLibFilesPromise || (this._fetchLibFilesPromise = this._worker().then((e) => e.getLibFiles()).then((e) => {
201
+ this._hasFetchedLibFiles = !0, this._libFiles = e;
202
+ })), this._fetchLibFilesPromise;
203
+ }
204
+ }, W = class extends m {
205
+ constructor(e, t, i, o) {
206
+ super(o), this._libFiles = e, this._defaults = t, this._selector = i, this._disposables = [], this._listener = /* @__PURE__ */ Object.create(null);
207
+ const n = (s) => {
208
+ if (s.getLanguageId() !== i)
209
+ return;
210
+ const l = () => {
211
+ const { onlyVisible: f } = this._defaults.getDiagnosticsOptions();
212
+ f ? s.isAttachedToEditor() && this._doValidate(s) : this._doValidate(s);
213
+ };
214
+ let g;
215
+ const d = s.onDidChangeContent(() => {
216
+ clearTimeout(g), g = window.setTimeout(l, 500);
217
+ }), h = s.onDidChangeAttached(() => {
218
+ const { onlyVisible: f } = this._defaults.getDiagnosticsOptions();
219
+ f && (s.isAttachedToEditor() ? l() : a.editor.setModelMarkers(s, this._selector, []));
220
+ });
221
+ this._listener[s.uri.toString()] = {
222
+ dispose() {
223
+ d.dispose(), h.dispose(), clearTimeout(g);
224
+ }
225
+ }, l();
226
+ }, c = (s) => {
227
+ a.editor.setModelMarkers(s, this._selector, []);
228
+ const l = s.uri.toString();
229
+ this._listener[l] && (this._listener[l].dispose(), delete this._listener[l]);
230
+ };
231
+ this._disposables.push(
232
+ a.editor.onDidCreateModel((s) => n(s))
233
+ ), this._disposables.push(a.editor.onWillDisposeModel(c)), this._disposables.push(
234
+ a.editor.onDidChangeModelLanguage((s) => {
235
+ c(s.model), n(s.model);
236
+ })
237
+ ), this._disposables.push({
238
+ dispose() {
239
+ for (const s of a.editor.getModels())
240
+ c(s);
241
+ }
242
+ });
243
+ const u = () => {
244
+ for (const s of a.editor.getModels())
245
+ c(s), n(s);
246
+ };
247
+ this._disposables.push(this._defaults.onDidChange(u)), this._disposables.push(this._defaults.onDidExtraLibsChange(u)), a.editor.getModels().forEach((s) => n(s));
248
+ }
249
+ dispose() {
250
+ this._disposables.forEach((e) => e && e.dispose()), this._disposables = [];
251
+ }
252
+ async _doValidate(e) {
253
+ const t = await this._worker(e.uri);
254
+ if (e.isDisposed())
255
+ return;
256
+ const i = [], { noSyntaxValidation: o, noSemanticValidation: n, noSuggestionDiagnostics: c } = this._defaults.getDiagnosticsOptions();
257
+ o || i.push(t.getSyntacticDiagnostics(e.uri.toString())), n || i.push(t.getSemanticDiagnostics(e.uri.toString())), c || i.push(t.getSuggestionDiagnostics(e.uri.toString()));
258
+ const u = await Promise.all(i);
259
+ if (!u || e.isDisposed())
260
+ return;
261
+ const s = u.reduce((g, d) => d.concat(g), []).filter(
262
+ (g) => (this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore || []).indexOf(g.code) === -1
263
+ ), l = s.map((g) => g.relatedInformation || []).reduce((g, d) => d.concat(g), []).map(
264
+ (g) => g.file ? a.Uri.parse(g.file.fileName) : null
265
+ );
266
+ await this._libFiles.fetchLibFilesIfNecessary(l), !e.isDisposed() && a.editor.setModelMarkers(
267
+ e,
268
+ this._selector,
269
+ s.map((g) => this._convertDiagnostics(e, g))
270
+ );
271
+ }
272
+ _convertDiagnostics(e, t) {
273
+ const i = t.start || 0, o = t.length || 1, { lineNumber: n, column: c } = e.getPositionAt(i), { lineNumber: u, column: s } = e.getPositionAt(
274
+ i + o
275
+ ), l = [];
276
+ return t.reportsUnnecessary && l.push(a.MarkerTag.Unnecessary), t.reportsDeprecated && l.push(a.MarkerTag.Deprecated), {
277
+ severity: this._tsDiagnosticCategoryToMarkerSeverity(t.category),
278
+ startLineNumber: n,
279
+ startColumn: c,
280
+ endLineNumber: u,
281
+ endColumn: s,
282
+ message: C(t.messageText, `
283
+ `),
284
+ code: t.code.toString(),
285
+ tags: l,
286
+ relatedInformation: this._convertRelatedInformation(e, t.relatedInformation)
287
+ };
288
+ }
289
+ _convertRelatedInformation(e, t) {
290
+ if (!t)
291
+ return [];
292
+ const i = [];
293
+ return t.forEach((o) => {
294
+ let n = e;
295
+ if (o.file && (n = this._libFiles.getOrCreateModel(o.file.fileName)), !n)
296
+ return;
297
+ const c = o.start || 0, u = o.length || 1, { lineNumber: s, column: l } = n.getPositionAt(c), { lineNumber: g, column: d } = n.getPositionAt(
298
+ c + u
299
+ );
300
+ i.push({
301
+ resource: n.uri,
302
+ startLineNumber: s,
303
+ startColumn: l,
304
+ endLineNumber: g,
305
+ endColumn: d,
306
+ message: C(o.messageText, `
307
+ `)
308
+ });
309
+ }), i;
310
+ }
311
+ _tsDiagnosticCategoryToMarkerSeverity(e) {
312
+ switch (e) {
313
+ case 1:
314
+ return a.MarkerSeverity.Error;
315
+ case 3:
316
+ return a.MarkerSeverity.Info;
317
+ case 0:
318
+ return a.MarkerSeverity.Warning;
319
+ case 2:
320
+ return a.MarkerSeverity.Hint;
321
+ }
322
+ return a.MarkerSeverity.Info;
323
+ }
324
+ }, j = class x extends m {
325
+ get triggerCharacters() {
326
+ return ["."];
327
+ }
328
+ async provideCompletionItems(t, i, o, n) {
329
+ const c = t.getWordUntilPosition(i), u = new a.Range(
330
+ i.lineNumber,
331
+ c.startColumn,
332
+ i.lineNumber,
333
+ c.endColumn
334
+ ), s = t.uri, l = t.getOffsetAt(i), g = await this._worker(s);
335
+ if (t.isDisposed())
336
+ return;
337
+ const d = await g.getCompletionsAtPosition(s.toString(), l);
338
+ return !d || t.isDisposed() ? void 0 : {
339
+ suggestions: d.entries.map((f) => {
340
+ let w = u;
341
+ if (f.replacementSpan) {
342
+ const k = t.getPositionAt(f.replacementSpan.start), v = t.getPositionAt(f.replacementSpan.start + f.replacementSpan.length);
343
+ w = new a.Range(k.lineNumber, k.column, v.lineNumber, v.column);
344
+ }
345
+ const S = [];
346
+ return f.kindModifiers !== void 0 && f.kindModifiers.indexOf("deprecated") !== -1 && S.push(a.languages.CompletionItemTag.Deprecated), {
347
+ uri: s,
348
+ position: i,
349
+ offset: l,
350
+ range: w,
351
+ label: f.name,
352
+ insertText: f.name,
353
+ sortText: f.sortText,
354
+ kind: x.convertKind(f.kind),
355
+ tags: S
356
+ };
357
+ })
358
+ };
359
+ }
360
+ async resolveCompletionItem(t, i) {
361
+ const o = t, n = o.uri, c = o.position, u = o.offset, l = await (await this._worker(n)).getCompletionEntryDetails(
362
+ n.toString(),
363
+ u,
364
+ o.label
365
+ );
366
+ return l ? {
367
+ uri: n,
368
+ position: c,
369
+ label: l.name,
370
+ kind: x.convertKind(l.kind),
371
+ detail: _(l.displayParts),
372
+ documentation: {
373
+ value: x.createDocumentationString(l)
374
+ }
375
+ } : o;
376
+ }
377
+ static convertKind(t) {
378
+ switch (t) {
379
+ case p.primitiveType:
380
+ case p.keyword:
381
+ return a.languages.CompletionItemKind.Keyword;
382
+ case p.variable:
383
+ case p.localVariable:
384
+ return a.languages.CompletionItemKind.Variable;
385
+ case p.memberVariable:
386
+ case p.memberGetAccessor:
387
+ case p.memberSetAccessor:
388
+ return a.languages.CompletionItemKind.Field;
389
+ case p.function:
390
+ case p.memberFunction:
391
+ case p.constructSignature:
392
+ case p.callSignature:
393
+ case p.indexSignature:
394
+ return a.languages.CompletionItemKind.Function;
395
+ case p.enum:
396
+ return a.languages.CompletionItemKind.Enum;
397
+ case p.module:
398
+ return a.languages.CompletionItemKind.Module;
399
+ case p.class:
400
+ return a.languages.CompletionItemKind.Class;
401
+ case p.interface:
402
+ return a.languages.CompletionItemKind.Interface;
403
+ case p.warning:
404
+ return a.languages.CompletionItemKind.File;
405
+ }
406
+ return a.languages.CompletionItemKind.Property;
407
+ }
408
+ static createDocumentationString(t) {
409
+ let i = _(t.documentation);
410
+ if (t.tags)
411
+ for (const o of t.tags)
412
+ i += `
413
+
414
+ ${F(o)}`;
415
+ return i;
416
+ }
417
+ };
418
+ function F(e) {
419
+ let t = `*@${e.name}*`;
420
+ if (e.name === "param" && e.text) {
421
+ const [i, ...o] = e.text;
422
+ t += `\`${i.text}\``, o.length > 0 && (t += ` — ${o.map((n) => n.text).join(" ")}`);
423
+ } else Array.isArray(e.text) ? t += ` — ${e.text.map((i) => i.text).join(" ")}` : e.text && (t += ` — ${e.text}`);
424
+ return t;
425
+ }
426
+ var B = class T extends m {
427
+ constructor() {
428
+ super(...arguments), this.signatureHelpTriggerCharacters = ["(", ","];
429
+ }
430
+ static _toSignatureHelpTriggerReason(t) {
431
+ switch (t.triggerKind) {
432
+ case a.languages.SignatureHelpTriggerKind.TriggerCharacter:
433
+ return t.triggerCharacter ? t.isRetrigger ? { kind: "retrigger", triggerCharacter: t.triggerCharacter } : { kind: "characterTyped", triggerCharacter: t.triggerCharacter } : { kind: "invoked" };
434
+ case a.languages.SignatureHelpTriggerKind.ContentChange:
435
+ return t.isRetrigger ? { kind: "retrigger" } : { kind: "invoked" };
436
+ case a.languages.SignatureHelpTriggerKind.Invoke:
437
+ default:
438
+ return { kind: "invoked" };
439
+ }
440
+ }
441
+ async provideSignatureHelp(t, i, o, n) {
442
+ const c = t.uri, u = t.getOffsetAt(i), s = await this._worker(c);
443
+ if (t.isDisposed())
444
+ return;
445
+ const l = await s.getSignatureHelpItems(c.toString(), u, {
446
+ triggerReason: T._toSignatureHelpTriggerReason(n)
447
+ });
448
+ if (!l || t.isDisposed())
449
+ return;
450
+ const g = {
451
+ activeSignature: l.selectedItemIndex,
452
+ activeParameter: l.argumentIndex,
453
+ signatures: []
454
+ };
455
+ return l.items.forEach((d) => {
456
+ const h = {
457
+ label: "",
458
+ parameters: []
459
+ };
460
+ h.documentation = {
461
+ value: _(d.documentation)
462
+ }, h.label += _(d.prefixDisplayParts), d.parameters.forEach((f, w, S) => {
463
+ const k = _(f.displayParts), v = {
464
+ label: k,
465
+ documentation: {
466
+ value: _(f.documentation)
467
+ }
468
+ };
469
+ h.label += k, h.parameters.push(v), w < S.length - 1 && (h.label += _(d.separatorDisplayParts));
470
+ }), h.label += _(d.suffixDisplayParts), g.signatures.push(h);
471
+ }), {
472
+ value: g,
473
+ dispose() {
474
+ }
475
+ };
476
+ }
477
+ }, U = class extends m {
478
+ async provideHover(e, t, i) {
479
+ const o = e.uri, n = e.getOffsetAt(t), c = await this._worker(o);
480
+ if (e.isDisposed())
481
+ return;
482
+ const u = await c.getQuickInfoAtPosition(o.toString(), n);
483
+ if (!u || e.isDisposed())
484
+ return;
485
+ const s = _(u.documentation), l = u.tags ? u.tags.map((d) => F(d)).join(`
486
+
487
+ `) : "", g = _(u.displayParts);
488
+ return {
489
+ range: this._textSpanToRange(e, u.textSpan),
490
+ contents: [
491
+ {
492
+ value: "```typescript\n" + g + "\n```\n"
493
+ },
494
+ {
495
+ value: s + (l ? `
496
+
497
+ ` + l : "")
498
+ }
499
+ ]
500
+ };
501
+ }
502
+ }, $ = class extends m {
503
+ async provideDocumentHighlights(e, t, i) {
504
+ const o = e.uri, n = e.getOffsetAt(t), c = await this._worker(o);
505
+ if (e.isDisposed())
506
+ return;
507
+ const u = await c.getDocumentHighlights(o.toString(), n, [
508
+ o.toString()
509
+ ]);
510
+ if (!(!u || e.isDisposed()))
511
+ return u.flatMap((s) => s.highlightSpans.map((l) => ({
512
+ range: this._textSpanToRange(e, l.textSpan),
513
+ kind: l.kind === "writtenReference" ? a.languages.DocumentHighlightKind.Write : a.languages.DocumentHighlightKind.Text
514
+ })));
515
+ }
516
+ }, z = class extends m {
517
+ constructor(e, t) {
518
+ super(t), this._libFiles = e;
519
+ }
520
+ async provideDefinition(e, t, i) {
521
+ const o = e.uri, n = e.getOffsetAt(t), c = await this._worker(o);
522
+ if (e.isDisposed())
523
+ return;
524
+ const u = await c.getDefinitionAtPosition(o.toString(), n);
525
+ if (!u || e.isDisposed() || (await this._libFiles.fetchLibFilesIfNecessary(
526
+ u.map((l) => a.Uri.parse(l.fileName))
527
+ ), e.isDisposed()))
528
+ return;
529
+ const s = [];
530
+ for (let l of u) {
531
+ const g = this._libFiles.getOrCreateModel(l.fileName);
532
+ g && s.push({
533
+ uri: g.uri,
534
+ range: this._textSpanToRange(g, l.textSpan)
535
+ });
536
+ }
537
+ return s;
538
+ }
539
+ }, G = class extends m {
540
+ constructor(e, t) {
541
+ super(t), this._libFiles = e;
542
+ }
543
+ async provideReferences(e, t, i, o) {
544
+ const n = e.uri, c = e.getOffsetAt(t), u = await this._worker(n);
545
+ if (e.isDisposed())
546
+ return;
547
+ const s = await u.getReferencesAtPosition(n.toString(), c);
548
+ if (!s || e.isDisposed() || (await this._libFiles.fetchLibFilesIfNecessary(
549
+ s.map((g) => a.Uri.parse(g.fileName))
550
+ ), e.isDisposed()))
551
+ return;
552
+ const l = [];
553
+ for (let g of s) {
554
+ const d = this._libFiles.getOrCreateModel(g.fileName);
555
+ d && l.push({
556
+ uri: d.uri,
557
+ range: this._textSpanToRange(d, g.textSpan)
558
+ });
559
+ }
560
+ return l;
561
+ }
562
+ }, J = class extends m {
563
+ async provideDocumentSymbols(e, t) {
564
+ const i = e.uri, o = await this._worker(i);
565
+ if (e.isDisposed())
566
+ return;
567
+ const n = await o.getNavigationTree(i.toString());
568
+ if (!n || e.isDisposed())
569
+ return;
570
+ const c = (s, l) => ({
571
+ name: s.text,
572
+ detail: "",
573
+ kind: b[s.kind] || a.languages.SymbolKind.Variable,
574
+ range: this._textSpanToRange(e, s.spans[0]),
575
+ selectionRange: this._textSpanToRange(e, s.spans[0]),
576
+ tags: [],
577
+ children: s.childItems?.map((d) => c(d, s.text)),
578
+ containerName: l
579
+ });
580
+ return n.childItems ? n.childItems.map((s) => c(s)) : [];
581
+ }
582
+ }, p = class {
583
+ static {
584
+ this.unknown = "";
585
+ }
586
+ static {
587
+ this.keyword = "keyword";
588
+ }
589
+ static {
590
+ this.script = "script";
591
+ }
592
+ static {
593
+ this.module = "module";
594
+ }
595
+ static {
596
+ this.class = "class";
597
+ }
598
+ static {
599
+ this.interface = "interface";
600
+ }
601
+ static {
602
+ this.type = "type";
603
+ }
604
+ static {
605
+ this.enum = "enum";
606
+ }
607
+ static {
608
+ this.variable = "var";
609
+ }
610
+ static {
611
+ this.localVariable = "local var";
612
+ }
613
+ static {
614
+ this.function = "function";
615
+ }
616
+ static {
617
+ this.localFunction = "local function";
618
+ }
619
+ static {
620
+ this.memberFunction = "method";
621
+ }
622
+ static {
623
+ this.memberGetAccessor = "getter";
624
+ }
625
+ static {
626
+ this.memberSetAccessor = "setter";
627
+ }
628
+ static {
629
+ this.memberVariable = "property";
630
+ }
631
+ static {
632
+ this.constructorImplementation = "constructor";
633
+ }
634
+ static {
635
+ this.callSignature = "call";
636
+ }
637
+ static {
638
+ this.indexSignature = "index";
639
+ }
640
+ static {
641
+ this.constructSignature = "construct";
642
+ }
643
+ static {
644
+ this.parameter = "parameter";
645
+ }
646
+ static {
647
+ this.typeParameter = "type parameter";
648
+ }
649
+ static {
650
+ this.primitiveType = "primitive type";
651
+ }
652
+ static {
653
+ this.label = "label";
654
+ }
655
+ static {
656
+ this.alias = "alias";
657
+ }
658
+ static {
659
+ this.const = "const";
660
+ }
661
+ static {
662
+ this.let = "let";
663
+ }
664
+ static {
665
+ this.warning = "warning";
666
+ }
667
+ }, b = /* @__PURE__ */ Object.create(null);
668
+ b[p.module] = a.languages.SymbolKind.Module;
669
+ b[p.class] = a.languages.SymbolKind.Class;
670
+ b[p.enum] = a.languages.SymbolKind.Enum;
671
+ b[p.interface] = a.languages.SymbolKind.Interface;
672
+ b[p.memberFunction] = a.languages.SymbolKind.Method;
673
+ b[p.memberVariable] = a.languages.SymbolKind.Property;
674
+ b[p.memberGetAccessor] = a.languages.SymbolKind.Property;
675
+ b[p.memberSetAccessor] = a.languages.SymbolKind.Property;
676
+ b[p.variable] = a.languages.SymbolKind.Variable;
677
+ b[p.const] = a.languages.SymbolKind.Variable;
678
+ b[p.localVariable] = a.languages.SymbolKind.Variable;
679
+ b[p.variable] = a.languages.SymbolKind.Variable;
680
+ b[p.function] = a.languages.SymbolKind.Function;
681
+ b[p.localFunction] = a.languages.SymbolKind.Function;
682
+ var y = class extends m {
683
+ static _convertOptions(e) {
684
+ return {
685
+ ConvertTabsToSpaces: e.insertSpaces,
686
+ TabSize: e.tabSize,
687
+ IndentSize: e.tabSize,
688
+ IndentStyle: 2,
689
+ NewLineCharacter: `
690
+ `,
691
+ InsertSpaceAfterCommaDelimiter: !0,
692
+ InsertSpaceAfterSemicolonInForStatements: !0,
693
+ InsertSpaceBeforeAndAfterBinaryOperators: !0,
694
+ InsertSpaceAfterKeywordsInControlFlowStatements: !0,
695
+ InsertSpaceAfterFunctionKeywordForAnonymousFunctions: !0,
696
+ InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: !1,
697
+ InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: !1,
698
+ InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: !1,
699
+ PlaceOpenBraceOnNewLineForControlBlocks: !1,
700
+ PlaceOpenBraceOnNewLineForFunctions: !1
701
+ };
702
+ }
703
+ _convertTextChanges(e, t) {
704
+ return {
705
+ text: t.newText,
706
+ range: this._textSpanToRange(e, t.span)
707
+ };
708
+ }
709
+ }, Q = class extends y {
710
+ constructor() {
711
+ super(...arguments), this.canFormatMultipleRanges = !1;
712
+ }
713
+ async provideDocumentRangeFormattingEdits(e, t, i, o) {
714
+ const n = e.uri, c = e.getOffsetAt({
715
+ lineNumber: t.startLineNumber,
716
+ column: t.startColumn
717
+ }), u = e.getOffsetAt({
718
+ lineNumber: t.endLineNumber,
719
+ column: t.endColumn
720
+ }), s = await this._worker(n);
721
+ if (e.isDisposed())
722
+ return;
723
+ const l = await s.getFormattingEditsForRange(
724
+ n.toString(),
725
+ c,
726
+ u,
727
+ y._convertOptions(i)
728
+ );
729
+ if (!(!l || e.isDisposed()))
730
+ return l.map((g) => this._convertTextChanges(e, g));
731
+ }
732
+ }, q = class extends y {
733
+ get autoFormatTriggerCharacters() {
734
+ return [";", "}", `
735
+ `];
736
+ }
737
+ async provideOnTypeFormattingEdits(e, t, i, o, n) {
738
+ const c = e.uri, u = e.getOffsetAt(t), s = await this._worker(c);
739
+ if (e.isDisposed())
740
+ return;
741
+ const l = await s.getFormattingEditsAfterKeystroke(
742
+ c.toString(),
743
+ u,
744
+ i,
745
+ y._convertOptions(o)
746
+ );
747
+ if (!(!l || e.isDisposed()))
748
+ return l.map((g) => this._convertTextChanges(e, g));
749
+ }
750
+ }, X = class extends y {
751
+ async provideCodeActions(e, t, i, o) {
752
+ const n = e.uri, c = e.getOffsetAt({
753
+ lineNumber: t.startLineNumber,
754
+ column: t.startColumn
755
+ }), u = e.getOffsetAt({
756
+ lineNumber: t.endLineNumber,
757
+ column: t.endColumn
758
+ }), s = y._convertOptions(e.getOptions()), l = i.markers.filter((f) => f.code).map((f) => f.code).map(Number), g = await this._worker(n);
759
+ if (e.isDisposed())
760
+ return;
761
+ const d = await g.getCodeFixesAtPosition(
762
+ n.toString(),
763
+ c,
764
+ u,
765
+ l,
766
+ s
767
+ );
768
+ return !d || e.isDisposed() ? { actions: [], dispose: () => {
769
+ } } : {
770
+ actions: d.filter((f) => f.changes.filter((w) => w.isNewFile).length === 0).map((f) => this._tsCodeFixActionToMonacoCodeAction(e, i, f)),
771
+ dispose: () => {
772
+ }
773
+ };
774
+ }
775
+ _tsCodeFixActionToMonacoCodeAction(e, t, i) {
776
+ const o = [];
777
+ for (const c of i.changes)
778
+ for (const u of c.textChanges)
779
+ o.push({
780
+ resource: e.uri,
781
+ versionId: void 0,
782
+ textEdit: {
783
+ range: this._textSpanToRange(e, u.span),
784
+ text: u.newText
785
+ }
786
+ });
787
+ return {
788
+ title: i.description,
789
+ edit: { edits: o },
790
+ diagnostics: t.markers,
791
+ kind: "quickfix"
792
+ };
793
+ }
794
+ }, Y = class extends m {
795
+ constructor(e, t) {
796
+ super(t), this._libFiles = e;
797
+ }
798
+ async provideRenameEdits(e, t, i, o) {
799
+ const n = e.uri, c = n.toString(), u = e.getOffsetAt(t), s = await this._worker(n);
800
+ if (e.isDisposed())
801
+ return;
802
+ const l = await s.getRenameInfo(c, u, {
803
+ allowRenameOfImportPath: !1
804
+ });
805
+ if (l.canRename === !1)
806
+ return {
807
+ edits: [],
808
+ rejectReason: l.localizedErrorMessage
809
+ };
810
+ if (l.fileToRename !== void 0)
811
+ throw new Error("Renaming files is not supported.");
812
+ const g = await s.findRenameLocations(
813
+ c,
814
+ u,
815
+ /*strings*/
816
+ !1,
817
+ /*comments*/
818
+ !1,
819
+ /*prefixAndSuffix*/
820
+ !1
821
+ );
822
+ if (!g || e.isDisposed())
823
+ return;
824
+ const d = [];
825
+ for (const h of g) {
826
+ const f = this._libFiles.getOrCreateModel(h.fileName);
827
+ if (f)
828
+ d.push({
829
+ resource: f.uri,
830
+ versionId: void 0,
831
+ textEdit: {
832
+ range: this._textSpanToRange(f, h.textSpan),
833
+ text: i
834
+ }
835
+ });
836
+ else
837
+ throw new Error(`Unknown file ${h.fileName}.`);
838
+ }
839
+ return { edits: d };
840
+ }
841
+ }, Z = class extends m {
842
+ async provideInlayHints(e, t, i) {
843
+ const o = e.uri, n = o.toString(), c = e.getOffsetAt({
844
+ lineNumber: t.startLineNumber,
845
+ column: t.startColumn
846
+ }), u = e.getOffsetAt({
847
+ lineNumber: t.endLineNumber,
848
+ column: t.endColumn
849
+ }), s = await this._worker(o);
850
+ return e.isDisposed() ? null : { hints: (await s.provideInlayHints(n, c, u)).map((d) => ({
851
+ ...d,
852
+ label: d.text,
853
+ position: e.getPositionAt(d.position),
854
+ kind: this._convertHintKind(d.kind)
855
+ })), dispose: () => {
856
+ } };
857
+ }
858
+ _convertHintKind(e) {
859
+ switch (e) {
860
+ case "Parameter":
861
+ return a.languages.InlayHintKind.Parameter;
862
+ case "Type":
863
+ return a.languages.InlayHintKind.Type;
864
+ default:
865
+ return a.languages.InlayHintKind.Type;
866
+ }
867
+ }
868
+ }, D, A;
869
+ function se(e) {
870
+ A = P(e, "typescript");
871
+ }
872
+ function re(e) {
873
+ D = P(e, "javascript");
874
+ }
875
+ function ie() {
876
+ return new Promise((e, t) => {
877
+ if (!D)
878
+ return t("JavaScript not registered!");
879
+ e(D);
880
+ });
881
+ }
882
+ function ne() {
883
+ return new Promise((e, t) => {
884
+ if (!A)
885
+ return t("TypeScript not registered!");
886
+ e(A);
887
+ });
888
+ }
889
+ function P(e, t) {
890
+ const i = [], o = new H(t, e), n = (...s) => o.getLanguageServiceWorker(...s), c = new V(n);
891
+ function u() {
892
+ const { modeConfiguration: s } = e;
893
+ ee(i), s.completionItems && i.push(
894
+ a.languages.registerCompletionItemProvider(
895
+ t,
896
+ new j(n)
897
+ )
898
+ ), s.signatureHelp && i.push(
899
+ a.languages.registerSignatureHelpProvider(
900
+ t,
901
+ new B(n)
902
+ )
903
+ ), s.hovers && i.push(
904
+ a.languages.registerHoverProvider(t, new U(n))
905
+ ), s.documentHighlights && i.push(
906
+ a.languages.registerDocumentHighlightProvider(
907
+ t,
908
+ new $(n)
909
+ )
910
+ ), s.definitions && i.push(
911
+ a.languages.registerDefinitionProvider(
912
+ t,
913
+ new z(c, n)
914
+ )
915
+ ), s.references && i.push(
916
+ a.languages.registerReferenceProvider(
917
+ t,
918
+ new G(c, n)
919
+ )
920
+ ), s.documentSymbols && i.push(
921
+ a.languages.registerDocumentSymbolProvider(
922
+ t,
923
+ new J(n)
924
+ )
925
+ ), s.rename && i.push(
926
+ a.languages.registerRenameProvider(
927
+ t,
928
+ new Y(c, n)
929
+ )
930
+ ), s.documentRangeFormattingEdits && i.push(
931
+ a.languages.registerDocumentRangeFormattingEditProvider(
932
+ t,
933
+ new Q(n)
934
+ )
935
+ ), s.onTypeFormattingEdits && i.push(
936
+ a.languages.registerOnTypeFormattingEditProvider(
937
+ t,
938
+ new q(n)
939
+ )
940
+ ), s.codeActions && i.push(
941
+ a.languages.registerCodeActionProvider(t, new X(n))
942
+ ), s.inlayHints && i.push(
943
+ a.languages.registerInlayHintsProvider(t, new Z(n))
944
+ ), s.diagnostics && i.push(new W(c, e, t, n));
945
+ }
946
+ return u(), n;
947
+ }
948
+ function ee(e) {
949
+ for (; e.length; )
950
+ e.pop().dispose();
951
+ }
952
+ export {
953
+ m as Adapter,
954
+ X as CodeActionAdaptor,
955
+ z as DefinitionAdapter,
956
+ W as DiagnosticsAdapter,
957
+ $ as DocumentHighlightAdapter,
958
+ Q as FormatAdapter,
959
+ y as FormatHelper,
960
+ q as FormatOnTypeAdapter,
961
+ Z as InlayHintsAdapter,
962
+ p as Kind,
963
+ V as LibFiles,
964
+ J as OutlineAdapter,
965
+ U as QuickInfoAdapter,
966
+ G as ReferenceAdapter,
967
+ Y as RenameAdapter,
968
+ B as SignatureHelpAdapter,
969
+ j as SuggestAdapter,
970
+ H as WorkerManager,
971
+ C as flattenDiagnosticMessageText,
972
+ ie as getJavaScriptWorker,
973
+ ne as getTypeScriptWorker,
974
+ re as setupJavaScript,
975
+ se as setupTypeScript
976
+ };