@scalar/api-client 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (904) hide show
  1. package/CHANGELOG.md +161 -0
  2. package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
  3. package/dist/components/HttpMethod/index.js +2 -0
  4. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.d.ts.map +1 -0
  5. package/dist/components/{ScalarAsciiArt.vue.js → ScalarAsciiArt/ScalarAsciiArt.vue.js} +3 -3
  6. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js.map +1 -0
  7. package/dist/components/{ScalarAsciiArt.vue.script.js → ScalarAsciiArt/ScalarAsciiArt.vue.script.js} +1 -1
  8. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.script.js.map +1 -0
  9. package/dist/components/ScalarAsciiArt/index.d.ts +2 -0
  10. package/dist/components/ScalarAsciiArt/index.d.ts.map +1 -0
  11. package/dist/components/ScalarAsciiArt/index.js +2 -0
  12. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -2
  13. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +2 -2
  14. package/dist/components/Sidebar/index.d.ts +2 -0
  15. package/dist/components/Sidebar/index.d.ts.map +1 -0
  16. package/dist/components/Sidebar/index.js +2 -0
  17. package/dist/components/ViewLayout/index.d.ts +4 -0
  18. package/dist/components/ViewLayout/index.d.ts.map +1 -0
  19. package/dist/components/ViewLayout/index.js +4 -0
  20. package/dist/plugins/posthog/index.d.ts.map +1 -1
  21. package/dist/plugins/posthog/index.js +21 -12
  22. package/dist/plugins/posthog/index.js.map +1 -1
  23. package/dist/plugins/posthog/sanitize-event-payload.d.ts +25 -0
  24. package/dist/plugins/posthog/sanitize-event-payload.d.ts.map +1 -0
  25. package/dist/plugins/posthog/sanitize-event-payload.js +136 -0
  26. package/dist/plugins/posthog/sanitize-event-payload.js.map +1 -0
  27. package/dist/style.css +218 -1638
  28. package/dist/types/index.d.ts +3 -0
  29. package/dist/types/index.d.ts.map +1 -0
  30. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  31. package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
  32. package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js +72 -32
  33. package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js.map +1 -1
  34. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -2
  35. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  36. package/dist/v2/blocks/operation-block/components/Header.vue.js +1 -1
  37. package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
  38. package/dist/v2/blocks/operation-block/components/Header.vue.script.js +3 -3
  39. package/dist/v2/blocks/operation-block/components/Header.vue.script.js.map +1 -1
  40. package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js +1 -1
  41. package/dist/v2/blocks/operation-block/index.d.ts +1 -0
  42. package/dist/v2/blocks/operation-block/index.d.ts.map +1 -1
  43. package/dist/v2/blocks/operation-block/index.js +2 -1
  44. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.script.js +1 -1
  45. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +1 -1
  46. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
  47. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js +15 -9
  48. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js.map +1 -1
  49. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts.map +1 -1
  50. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js +9 -7
  51. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js.map +1 -1
  52. package/dist/v2/blocks/operation-code-sample/index.d.ts +1 -0
  53. package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
  54. package/dist/v2/blocks/operation-code-sample/index.js +2 -1
  55. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  56. package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
  57. package/dist/v2/blocks/request-block/RequestBlock.vue.js.map +1 -1
  58. package/dist/v2/blocks/request-block/RequestBlock.vue.script.js +30 -17
  59. package/dist/v2/blocks/request-block/RequestBlock.vue.script.js.map +1 -1
  60. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  61. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +1 -1
  62. package/dist/v2/blocks/request-block/components/RequestBody.vue.js.map +1 -1
  63. package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js +43 -10
  64. package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js.map +1 -1
  65. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.script.js +2 -2
  66. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -2
  67. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -2
  68. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +4 -2
  69. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  70. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js.map +1 -1
  71. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js +2 -2
  72. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js.map +1 -1
  73. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -1
  74. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js.map +1 -1
  75. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.script.js +4 -1
  76. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.script.js.map +1 -1
  77. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +2 -1
  78. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
  79. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +42 -13
  80. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js.map +1 -1
  81. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts +14 -0
  82. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts.map +1 -0
  83. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js +136 -0
  84. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js.map +1 -0
  85. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +1 -1
  86. package/dist/v2/blocks/response-block/ResponseBlock.vue.script.js +1 -1
  87. package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -1
  88. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +1 -1
  89. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js.map +1 -1
  90. package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js +12 -10
  91. package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js.map +1 -1
  92. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +2 -0
  93. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
  94. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js +1 -1
  95. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js.map +1 -1
  96. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js +17 -4
  97. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js.map +1 -1
  98. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts +3 -1
  99. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -1
  100. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +1 -1
  101. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js.map +1 -1
  102. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js +21 -9
  103. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js.map +1 -1
  104. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +2 -2
  105. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
  106. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
  107. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js.map +1 -1
  108. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js +2 -2
  109. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js.map +1 -1
  110. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  111. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +1 -1
  112. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js.map +1 -1
  113. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.script.js +1 -0
  114. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.script.js.map +1 -1
  115. package/dist/v2/blocks/response-block/helpers/media-types.d.ts +1 -1
  116. package/dist/v2/blocks/response-block/helpers/media-types.d.ts.map +1 -1
  117. package/dist/v2/blocks/response-block/helpers/media-types.js +14 -7
  118. package/dist/v2/blocks/response-block/helpers/media-types.js.map +1 -1
  119. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.d.ts +6 -0
  120. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.d.ts.map +1 -0
  121. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js +22 -0
  122. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js.map +1 -0
  123. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -2
  124. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  125. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +1 -1
  126. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js.map +1 -1
  127. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js +124 -91
  128. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js.map +1 -1
  129. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.script.js +1 -1
  130. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -2
  131. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +30 -20
  132. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  133. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js.map +1 -1
  134. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js +43 -21
  135. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js.map +1 -1
  136. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +15 -2
  137. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
  138. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +1 -3
  139. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js.map +1 -1
  140. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js +74 -28
  141. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js.map +1 -1
  142. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +30 -20
  143. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
  144. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js.map +1 -1
  145. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js +190 -72
  146. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js.map +1 -1
  147. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  148. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js.map +1 -1
  149. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js +7 -1
  150. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js.map +1 -1
  151. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +26 -10
  152. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  153. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js.map +1 -1
  154. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js +25 -3
  155. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js.map +1 -1
  156. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  157. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +12 -3
  158. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js.map +1 -1
  159. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +1 -0
  160. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
  161. package/dist/v2/components/code-input/CodeInput.vue.d.ts +4 -4
  162. package/dist/v2/components/code-input/CodeInput.vue.script.js +1 -1
  163. package/dist/v2/components/code-input/code-variable-widget.js +1 -1
  164. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +2 -2
  165. package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -2
  166. package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -2
  167. package/dist/v2/components/server/ServerDropdown.vue.js.map +1 -1
  168. package/dist/v2/components/server/ServerDropdown.vue.script.js +1 -1
  169. package/dist/v2/components/server/ServerDropdown.vue.script.js.map +1 -1
  170. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  171. package/dist/v2/components/sidebar/Sidebar.vue.js.map +1 -1
  172. package/dist/v2/components/sidebar/Sidebar.vue.script.js +4 -3
  173. package/dist/v2/components/sidebar/Sidebar.vue.script.js.map +1 -1
  174. package/dist/v2/constants.js +1 -1
  175. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +2 -2
  176. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +2 -2
  177. package/dist/v2/features/command-palette/index.d.ts +0 -2
  178. package/dist/v2/features/command-palette/index.d.ts.map +1 -1
  179. package/dist/v2/features/command-palette/index.js +1 -3
  180. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -2
  181. package/dist/v2/features/modal/Modal.vue.d.ts +5 -7
  182. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  183. package/dist/v2/features/modal/Modal.vue.js.map +1 -1
  184. package/dist/v2/features/modal/Modal.vue.script.js +3 -3
  185. package/dist/v2/features/modal/Modal.vue.script.js.map +1 -1
  186. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +1 -1
  187. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
  188. package/dist/v2/features/modal/helpers/create-api-client-modal.js +8 -3
  189. package/dist/v2/features/modal/helpers/create-api-client-modal.js.map +1 -1
  190. package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts +5 -1
  191. package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts.map +1 -1
  192. package/dist/v2/features/modal/helpers/resolve-route-parameters.js +15 -4
  193. package/dist/v2/features/modal/helpers/resolve-route-parameters.js.map +1 -1
  194. package/dist/v2/features/modal/hooks/use-modal-sidebar.d.ts.map +1 -1
  195. package/dist/v2/features/modal/hooks/use-modal-sidebar.js +5 -1
  196. package/dist/v2/features/modal/hooks/use-modal-sidebar.js.map +1 -1
  197. package/dist/v2/features/modal/index.js +1 -1
  198. package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
  199. package/dist/v2/features/modal/modal-events.js +10 -6
  200. package/dist/v2/features/modal/modal-events.js.map +1 -1
  201. package/dist/v2/features/operation/Operation.vue.d.ts +35 -3
  202. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  203. package/dist/v2/features/operation/Operation.vue.js.map +1 -1
  204. package/dist/v2/features/operation/Operation.vue.script.js +1 -9
  205. package/dist/v2/features/operation/Operation.vue.script.js.map +1 -1
  206. package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
  207. package/dist/v2/helpers/handle-hotkeys.js +4 -0
  208. package/dist/v2/helpers/handle-hotkeys.js.map +1 -1
  209. package/dist/v2/helpers/test-utils.d.ts +2 -0
  210. package/dist/v2/helpers/test-utils.d.ts.map +1 -1
  211. package/dist/v2/helpers/test-utils.js +18 -0
  212. package/dist/v2/helpers/test-utils.js.map +1 -0
  213. package/dist/v2/hooks/index.d.ts +2 -0
  214. package/dist/v2/hooks/index.d.ts.map +1 -0
  215. package/dist/v2/hooks/index.js +2 -0
  216. package/dist/v2/types/options.d.ts +1 -1
  217. package/dist/v2/types/options.d.ts.map +1 -1
  218. package/dist/v2/workspace-events.d.ts.map +1 -1
  219. package/dist/v2/workspace-events.js +2 -0
  220. package/dist/v2/workspace-events.js.map +1 -1
  221. package/dist/vue-styles.css +108 -658
  222. package/package.json +67 -96
  223. package/dist/components/IconSelector.vue.d.ts +0 -27
  224. package/dist/components/IconSelector.vue.d.ts.map +0 -1
  225. package/dist/components/IconSelector.vue.js +0 -7
  226. package/dist/components/IconSelector.vue.js.map +0 -1
  227. package/dist/components/IconSelector.vue.script.js +0 -65
  228. package/dist/components/IconSelector.vue.script.js.map +0 -1
  229. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +0 -7
  230. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +0 -1
  231. package/dist/components/ImportCollection/IntegrationLogo.vue.js +0 -7
  232. package/dist/components/ImportCollection/IntegrationLogo.vue.js.map +0 -1
  233. package/dist/components/ImportCollection/IntegrationLogo.vue.script.js +0 -50
  234. package/dist/components/ImportCollection/IntegrationLogo.vue.script.js.map +0 -1
  235. package/dist/components/ScalarAsciiArt.vue.d.ts.map +0 -1
  236. package/dist/components/ScalarAsciiArt.vue.js.map +0 -1
  237. package/dist/components/ScalarAsciiArt.vue.script.js.map +0 -1
  238. package/dist/index.d.ts +0 -2
  239. package/dist/index.d.ts.map +0 -1
  240. package/dist/monacoeditorwork/editor.worker.bundle.js +0 -14319
  241. package/dist/monacoeditorwork/json.worker.bundle.js +0 -22098
  242. package/dist/monacoeditorwork/yaml.worker.bundle.js +0 -38414
  243. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts +0 -42
  244. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +0 -1
  245. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +0 -61
  246. package/dist/v2/blocks/request-block/helpers/get-default-headers.js.map +0 -1
  247. package/dist/v2/features/app/App.vue.d.ts +0 -75
  248. package/dist/v2/features/app/App.vue.d.ts.map +0 -1
  249. package/dist/v2/features/app/App.vue.js +0 -8
  250. package/dist/v2/features/app/App.vue.js.map +0 -1
  251. package/dist/v2/features/app/App.vue.script.js +0 -282
  252. package/dist/v2/features/app/App.vue.script.js.map +0 -1
  253. package/dist/v2/features/app/app-events.d.ts +0 -20
  254. package/dist/v2/features/app/app-events.d.ts.map +0 -1
  255. package/dist/v2/features/app/app-events.js +0 -254
  256. package/dist/v2/features/app/app-events.js.map +0 -1
  257. package/dist/v2/features/app/app-state.d.ts +0 -156
  258. package/dist/v2/features/app/app-state.d.ts.map +0 -1
  259. package/dist/v2/features/app/app-state.js +0 -717
  260. package/dist/v2/features/app/app-state.js.map +0 -1
  261. package/dist/v2/features/app/components/AppHeader.vue.d.ts +0 -43
  262. package/dist/v2/features/app/components/AppHeader.vue.d.ts.map +0 -1
  263. package/dist/v2/features/app/components/AppHeader.vue.js +0 -7
  264. package/dist/v2/features/app/components/AppHeader.vue.js.map +0 -1
  265. package/dist/v2/features/app/components/AppHeader.vue.script.js +0 -52
  266. package/dist/v2/features/app/components/AppHeader.vue.script.js.map +0 -1
  267. package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts +0 -32
  268. package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts.map +0 -1
  269. package/dist/v2/features/app/components/AppHeaderActions.vue.js +0 -7
  270. package/dist/v2/features/app/components/AppHeaderActions.vue.js.map +0 -1
  271. package/dist/v2/features/app/components/AppHeaderActions.vue.script.js +0 -170
  272. package/dist/v2/features/app/components/AppHeaderActions.vue.script.js.map +0 -1
  273. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +0 -39
  274. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +0 -1
  275. package/dist/v2/features/app/components/AppSidebar.vue.js +0 -9
  276. package/dist/v2/features/app/components/AppSidebar.vue.js.map +0 -1
  277. package/dist/v2/features/app/components/AppSidebar.vue.script.js +0 -470
  278. package/dist/v2/features/app/components/AppSidebar.vue.script.js.map +0 -1
  279. package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts +0 -28
  280. package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts.map +0 -1
  281. package/dist/v2/features/app/components/CreateVersionModal.vue.js +0 -7
  282. package/dist/v2/features/app/components/CreateVersionModal.vue.js.map +0 -1
  283. package/dist/v2/features/app/components/CreateVersionModal.vue.script.js +0 -84
  284. package/dist/v2/features/app/components/CreateVersionModal.vue.script.js.map +0 -1
  285. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +0 -16
  286. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +0 -1
  287. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +0 -7
  288. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js.map +0 -1
  289. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js +0 -58
  290. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js.map +0 -1
  291. package/dist/v2/features/app/components/DesktopTab.vue.d.ts +0 -27
  292. package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +0 -1
  293. package/dist/v2/features/app/components/DesktopTab.vue.js +0 -9
  294. package/dist/v2/features/app/components/DesktopTab.vue.js.map +0 -1
  295. package/dist/v2/features/app/components/DesktopTab.vue.script.js +0 -121
  296. package/dist/v2/features/app/components/DesktopTab.vue.script.js.map +0 -1
  297. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +0 -14
  298. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +0 -1
  299. package/dist/v2/features/app/components/DesktopTabs.vue.js +0 -7
  300. package/dist/v2/features/app/components/DesktopTabs.vue.js.map +0 -1
  301. package/dist/v2/features/app/components/DesktopTabs.vue.script.js +0 -75
  302. package/dist/v2/features/app/components/DesktopTabs.vue.script.js.map +0 -1
  303. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts +0 -25
  304. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts.map +0 -1
  305. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js +0 -9
  306. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js.map +0 -1
  307. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js +0 -345
  308. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js.map +0 -1
  309. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts +0 -16
  310. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts.map +0 -1
  311. package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts +0 -77
  312. package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts.map +0 -1
  313. package/dist/v2/features/app/components/PublishDocumentModal.vue.js +0 -7
  314. package/dist/v2/features/app/components/PublishDocumentModal.vue.js.map +0 -1
  315. package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js +0 -209
  316. package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js.map +0 -1
  317. package/dist/v2/features/app/components/SidebarDocument.vue.d.ts +0 -45
  318. package/dist/v2/features/app/components/SidebarDocument.vue.d.ts.map +0 -1
  319. package/dist/v2/features/app/components/SidebarDocument.vue.js +0 -7
  320. package/dist/v2/features/app/components/SidebarDocument.vue.js.map +0 -1
  321. package/dist/v2/features/app/components/SidebarDocument.vue.script.js +0 -137
  322. package/dist/v2/features/app/components/SidebarDocument.vue.script.js.map +0 -1
  323. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +0 -26
  324. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +0 -1
  325. package/dist/v2/features/app/components/SidebarItemMenu.vue.js +0 -7
  326. package/dist/v2/features/app/components/SidebarItemMenu.vue.js.map +0 -1
  327. package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js +0 -175
  328. package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js.map +0 -1
  329. package/dist/v2/features/app/components/SplashScreen.vue.d.ts +0 -4
  330. package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +0 -1
  331. package/dist/v2/features/app/components/SplashScreen.vue.js +0 -9
  332. package/dist/v2/features/app/components/SplashScreen.vue.js.map +0 -1
  333. package/dist/v2/features/app/components/SplashScreen.vue.script.js +0 -20
  334. package/dist/v2/features/app/components/SplashScreen.vue.script.js.map +0 -1
  335. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts +0 -18
  336. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts.map +0 -1
  337. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js +0 -9
  338. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js.map +0 -1
  339. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js +0 -136
  340. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js.map +0 -1
  341. package/dist/v2/features/app/components/index.d.ts +0 -2
  342. package/dist/v2/features/app/components/index.d.ts.map +0 -1
  343. package/dist/v2/features/app/components/index.js +0 -2
  344. package/dist/v2/features/app/helpers/check-version-conflict.d.ts +0 -54
  345. package/dist/v2/features/app/helpers/check-version-conflict.d.ts.map +0 -1
  346. package/dist/v2/features/app/helpers/check-version-conflict.js +0 -82
  347. package/dist/v2/features/app/helpers/check-version-conflict.js.map +0 -1
  348. package/dist/v2/features/app/helpers/compute-version-status.d.ts +0 -45
  349. package/dist/v2/features/app/helpers/compute-version-status.d.ts.map +0 -1
  350. package/dist/v2/features/app/helpers/compute-version-status.js +0 -18
  351. package/dist/v2/features/app/helpers/compute-version-status.js.map +0 -1
  352. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +0 -59
  353. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +0 -1
  354. package/dist/v2/features/app/helpers/create-api-client-app.js +0 -55
  355. package/dist/v2/features/app/helpers/create-api-client-app.js.map +0 -1
  356. package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts +0 -39
  357. package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts.map +0 -1
  358. package/dist/v2/features/app/helpers/create-draft-registry-document.js +0 -64
  359. package/dist/v2/features/app/helpers/create-draft-registry-document.js.map +0 -1
  360. package/dist/v2/features/app/helpers/create-temp-operation.d.ts +0 -14
  361. package/dist/v2/features/app/helpers/create-temp-operation.d.ts.map +0 -1
  362. package/dist/v2/features/app/helpers/create-temp-operation.js +0 -52
  363. package/dist/v2/features/app/helpers/create-temp-operation.js.map +0 -1
  364. package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts +0 -26
  365. package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts.map +0 -1
  366. package/dist/v2/features/app/helpers/detect-document-conflicts.js +0 -27
  367. package/dist/v2/features/app/helpers/detect-document-conflicts.js.map +0 -1
  368. package/dist/v2/features/app/helpers/filter-workspaces.d.ts +0 -49
  369. package/dist/v2/features/app/helpers/filter-workspaces.d.ts.map +0 -1
  370. package/dist/v2/features/app/helpers/filter-workspaces.js +0 -55
  371. package/dist/v2/features/app/helpers/filter-workspaces.js.map +0 -1
  372. package/dist/v2/features/app/helpers/get-route-param.d.ts +0 -7
  373. package/dist/v2/features/app/helpers/get-route-param.d.ts.map +0 -1
  374. package/dist/v2/features/app/helpers/get-route-param.js +0 -12
  375. package/dist/v2/features/app/helpers/get-route-param.js.map +0 -1
  376. package/dist/v2/features/app/helpers/group-workspaces.d.ts +0 -44
  377. package/dist/v2/features/app/helpers/group-workspaces.d.ts.map +0 -1
  378. package/dist/v2/features/app/helpers/group-workspaces.js +0 -53
  379. package/dist/v2/features/app/helpers/group-workspaces.js.map +0 -1
  380. package/dist/v2/features/app/helpers/load-registry-document.d.ts +0 -24
  381. package/dist/v2/features/app/helpers/load-registry-document.d.ts.map +0 -1
  382. package/dist/v2/features/app/helpers/load-registry-document.js +0 -47
  383. package/dist/v2/features/app/helpers/load-registry-document.js.map +0 -1
  384. package/dist/v2/features/app/helpers/registry-error-messages.d.ts +0 -23
  385. package/dist/v2/features/app/helpers/registry-error-messages.d.ts.map +0 -1
  386. package/dist/v2/features/app/helpers/registry-error-messages.js +0 -63
  387. package/dist/v2/features/app/helpers/registry-error-messages.js.map +0 -1
  388. package/dist/v2/features/app/helpers/routes.d.ts +0 -184
  389. package/dist/v2/features/app/helpers/routes.d.ts.map +0 -1
  390. package/dist/v2/features/app/helpers/routes.js +0 -153
  391. package/dist/v2/features/app/helpers/routes.js.map +0 -1
  392. package/dist/v2/features/app/helpers/version-status-presentation.d.ts +0 -24
  393. package/dist/v2/features/app/helpers/version-status-presentation.d.ts.map +0 -1
  394. package/dist/v2/features/app/helpers/version-status-presentation.js +0 -43
  395. package/dist/v2/features/app/helpers/version-status-presentation.js.map +0 -1
  396. package/dist/v2/features/app/hooks/use-active-document-version.d.ts +0 -42
  397. package/dist/v2/features/app/hooks/use-active-document-version.d.ts.map +0 -1
  398. package/dist/v2/features/app/hooks/use-active-document-version.js +0 -60
  399. package/dist/v2/features/app/hooks/use-active-document-version.js.map +0 -1
  400. package/dist/v2/features/app/hooks/use-document-filter.d.ts +0 -38
  401. package/dist/v2/features/app/hooks/use-document-filter.d.ts.map +0 -1
  402. package/dist/v2/features/app/hooks/use-document-filter.js +0 -63
  403. package/dist/v2/features/app/hooks/use-document-filter.js.map +0 -1
  404. package/dist/v2/features/app/hooks/use-document-sync.d.ts +0 -126
  405. package/dist/v2/features/app/hooks/use-document-sync.d.ts.map +0 -1
  406. package/dist/v2/features/app/hooks/use-document-sync.js +0 -448
  407. package/dist/v2/features/app/hooks/use-document-sync.js.map +0 -1
  408. package/dist/v2/features/app/hooks/use-document-watcher.d.ts +0 -30
  409. package/dist/v2/features/app/hooks/use-document-watcher.d.ts.map +0 -1
  410. package/dist/v2/features/app/hooks/use-document-watcher.js +0 -168
  411. package/dist/v2/features/app/hooks/use-document-watcher.js.map +0 -1
  412. package/dist/v2/features/app/hooks/use-network-status.d.ts +0 -29
  413. package/dist/v2/features/app/hooks/use-network-status.d.ts.map +0 -1
  414. package/dist/v2/features/app/hooks/use-network-status.js +0 -58
  415. package/dist/v2/features/app/hooks/use-network-status.js.map +0 -1
  416. package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts +0 -17258
  417. package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts.map +0 -1
  418. package/dist/v2/features/app/hooks/use-sidebar-context-menu.js +0 -107
  419. package/dist/v2/features/app/hooks/use-sidebar-context-menu.js.map +0 -1
  420. package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts +0 -119
  421. package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts.map +0 -1
  422. package/dist/v2/features/app/hooks/use-sidebar-documents.js +0 -219
  423. package/dist/v2/features/app/hooks/use-sidebar-documents.js.map +0 -1
  424. package/dist/v2/features/app/hooks/use-theme.d.ts +0 -56
  425. package/dist/v2/features/app/hooks/use-theme.d.ts.map +0 -1
  426. package/dist/v2/features/app/hooks/use-theme.js +0 -94
  427. package/dist/v2/features/app/hooks/use-theme.js.map +0 -1
  428. package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts +0 -35
  429. package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts.map +0 -1
  430. package/dist/v2/features/app/hooks/use-version-conflict-check.js +0 -62
  431. package/dist/v2/features/app/hooks/use-version-conflict-check.js.map +0 -1
  432. package/dist/v2/features/app/index.d.ts +0 -10
  433. package/dist/v2/features/app/index.d.ts.map +0 -1
  434. package/dist/v2/features/app/index.js +0 -8
  435. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +0 -13
  436. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +0 -1
  437. package/dist/v2/features/collection/DocumentCollection.vue.js +0 -8
  438. package/dist/v2/features/collection/DocumentCollection.vue.js.map +0 -1
  439. package/dist/v2/features/collection/DocumentCollection.vue.script.js +0 -112
  440. package/dist/v2/features/collection/DocumentCollection.vue.script.js.map +0 -1
  441. package/dist/v2/features/collection/OperationCollection.vue.d.ts +0 -6
  442. package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +0 -1
  443. package/dist/v2/features/collection/OperationCollection.vue.js +0 -7
  444. package/dist/v2/features/collection/OperationCollection.vue.js.map +0 -1
  445. package/dist/v2/features/collection/OperationCollection.vue.script.js +0 -95
  446. package/dist/v2/features/collection/OperationCollection.vue.script.js.map +0 -1
  447. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +0 -6
  448. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +0 -1
  449. package/dist/v2/features/collection/WorkspaceCollection.vue.js +0 -7
  450. package/dist/v2/features/collection/WorkspaceCollection.vue.js.map +0 -1
  451. package/dist/v2/features/collection/WorkspaceCollection.vue.script.js +0 -74
  452. package/dist/v2/features/collection/WorkspaceCollection.vue.script.js.map +0 -1
  453. package/dist/v2/features/collection/components/Authentication.vue.d.ts +0 -16
  454. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +0 -1
  455. package/dist/v2/features/collection/components/Authentication.vue.js +0 -9
  456. package/dist/v2/features/collection/components/Authentication.vue.js.map +0 -1
  457. package/dist/v2/features/collection/components/Authentication.vue.script.js +0 -174
  458. package/dist/v2/features/collection/components/Authentication.vue.script.js.map +0 -1
  459. package/dist/v2/features/collection/components/Cookies.vue.d.ts +0 -21
  460. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +0 -1
  461. package/dist/v2/features/collection/components/Cookies.vue.js +0 -7
  462. package/dist/v2/features/collection/components/Cookies.vue.js.map +0 -1
  463. package/dist/v2/features/collection/components/Cookies.vue.script.js +0 -58
  464. package/dist/v2/features/collection/components/Cookies.vue.script.js.map +0 -1
  465. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts +0 -12
  466. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts.map +0 -1
  467. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js +0 -9
  468. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js.map +0 -1
  469. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js +0 -174
  470. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js.map +0 -1
  471. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +0 -16
  472. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts.map +0 -1
  473. package/dist/v2/features/collection/components/Editor/Editor.vue.js +0 -9
  474. package/dist/v2/features/collection/components/Editor/Editor.vue.js.map +0 -1
  475. package/dist/v2/features/collection/components/Editor/Editor.vue.script.js +0 -361
  476. package/dist/v2/features/collection/components/Editor/Editor.vue.script.js.map +0 -1
  477. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts +0 -19
  478. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts.map +0 -1
  479. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js +0 -7
  480. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js.map +0 -1
  481. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js +0 -69
  482. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js.map +0 -1
  483. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts +0 -16
  484. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts.map +0 -1
  485. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js +0 -7
  486. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js.map +0 -1
  487. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js +0 -91
  488. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js.map +0 -1
  489. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts +0 -12
  490. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts.map +0 -1
  491. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js +0 -22
  492. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js.map +0 -1
  493. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts +0 -11
  494. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts.map +0 -1
  495. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js +0 -17
  496. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js.map +0 -1
  497. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts +0 -7
  498. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts.map +0 -1
  499. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js +0 -17
  500. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js.map +0 -1
  501. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts +0 -10
  502. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts.map +0 -1
  503. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +0 -34
  504. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js.map +0 -1
  505. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts +0 -10
  506. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts.map +0 -1
  507. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js +0 -18
  508. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js.map +0 -1
  509. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +0 -15
  510. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts.map +0 -1
  511. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +0 -36
  512. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js.map +0 -1
  513. package/dist/v2/features/collection/components/Editor/index.d.ts +0 -2
  514. package/dist/v2/features/collection/components/Editor/index.d.ts.map +0 -1
  515. package/dist/v2/features/collection/components/Editor/index.js +0 -2
  516. package/dist/v2/features/collection/components/Environment.vue.d.ts +0 -21
  517. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +0 -1
  518. package/dist/v2/features/collection/components/Environment.vue.js +0 -7
  519. package/dist/v2/features/collection/components/Environment.vue.js.map +0 -1
  520. package/dist/v2/features/collection/components/Environment.vue.script.js +0 -61
  521. package/dist/v2/features/collection/components/Environment.vue.script.js.map +0 -1
  522. package/dist/v2/features/collection/components/Form.vue.d.ts +0 -29
  523. package/dist/v2/features/collection/components/Form.vue.d.ts.map +0 -1
  524. package/dist/v2/features/collection/components/Form.vue.js +0 -7
  525. package/dist/v2/features/collection/components/Form.vue.js.map +0 -1
  526. package/dist/v2/features/collection/components/Form.vue.script.js +0 -78
  527. package/dist/v2/features/collection/components/Form.vue.script.js.map +0 -1
  528. package/dist/v2/features/collection/components/GetStarted.vue.d.ts +0 -21
  529. package/dist/v2/features/collection/components/GetStarted.vue.d.ts.map +0 -1
  530. package/dist/v2/features/collection/components/GetStarted.vue.js +0 -7
  531. package/dist/v2/features/collection/components/GetStarted.vue.js.map +0 -1
  532. package/dist/v2/features/collection/components/GetStarted.vue.script.js +0 -144
  533. package/dist/v2/features/collection/components/GetStarted.vue.script.js.map +0 -1
  534. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +0 -18
  535. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +0 -1
  536. package/dist/v2/features/collection/components/LabelInput.vue.js +0 -9
  537. package/dist/v2/features/collection/components/LabelInput.vue.js.map +0 -1
  538. package/dist/v2/features/collection/components/LabelInput.vue.script.js +0 -38
  539. package/dist/v2/features/collection/components/LabelInput.vue.script.js.map +0 -1
  540. package/dist/v2/features/collection/components/Overview.vue.d.ts +0 -16
  541. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +0 -1
  542. package/dist/v2/features/collection/components/Overview.vue.js +0 -9
  543. package/dist/v2/features/collection/components/Overview.vue.js.map +0 -1
  544. package/dist/v2/features/collection/components/Overview.vue.script.js +0 -204
  545. package/dist/v2/features/collection/components/Overview.vue.script.js.map +0 -1
  546. package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts +0 -16
  547. package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts.map +0 -1
  548. package/dist/v2/features/collection/components/Runner/components/Runner.vue.js +0 -7
  549. package/dist/v2/features/collection/components/Runner/components/Runner.vue.js.map +0 -1
  550. package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js +0 -223
  551. package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js.map +0 -1
  552. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts +0 -20
  553. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts.map +0 -1
  554. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js +0 -7
  555. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js.map +0 -1
  556. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js +0 -45
  557. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js.map +0 -1
  558. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts +0 -19
  559. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts.map +0 -1
  560. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js +0 -7
  561. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js.map +0 -1
  562. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js +0 -73
  563. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js.map +0 -1
  564. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts +0 -16
  565. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts.map +0 -1
  566. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js +0 -7
  567. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js.map +0 -1
  568. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js +0 -124
  569. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js.map +0 -1
  570. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts +0 -17
  571. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts.map +0 -1
  572. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js +0 -7
  573. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js.map +0 -1
  574. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js +0 -126
  575. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js.map +0 -1
  576. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts +0 -18
  577. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts.map +0 -1
  578. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js +0 -7
  579. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js.map +0 -1
  580. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js +0 -180
  581. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js.map +0 -1
  582. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts +0 -14
  583. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts.map +0 -1
  584. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js +0 -7
  585. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js.map +0 -1
  586. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js +0 -44
  587. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js.map +0 -1
  588. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts +0 -19
  589. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts.map +0 -1
  590. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js +0 -7
  591. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js.map +0 -1
  592. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js +0 -53
  593. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js.map +0 -1
  594. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts +0 -23
  595. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts.map +0 -1
  596. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js +0 -7
  597. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js.map +0 -1
  598. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js +0 -75
  599. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js.map +0 -1
  600. package/dist/v2/features/collection/components/Runner/hooks/index.d.ts +0 -3
  601. package/dist/v2/features/collection/components/Runner/hooks/index.d.ts.map +0 -1
  602. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts +0 -75
  603. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts.map +0 -1
  604. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js +0 -191
  605. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js.map +0 -1
  606. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts +0 -46
  607. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts.map +0 -1
  608. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js +0 -114
  609. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js.map +0 -1
  610. package/dist/v2/features/collection/components/Runner/index.d.ts +0 -2
  611. package/dist/v2/features/collection/components/Runner/index.d.ts.map +0 -1
  612. package/dist/v2/features/collection/components/Scripts.vue.d.ts +0 -16
  613. package/dist/v2/features/collection/components/Scripts.vue.d.ts.map +0 -1
  614. package/dist/v2/features/collection/components/Scripts.vue.js +0 -7
  615. package/dist/v2/features/collection/components/Scripts.vue.js.map +0 -1
  616. package/dist/v2/features/collection/components/Scripts.vue.script.js +0 -49
  617. package/dist/v2/features/collection/components/Scripts.vue.script.js.map +0 -1
  618. package/dist/v2/features/collection/components/Servers.vue.d.ts +0 -16
  619. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +0 -1
  620. package/dist/v2/features/collection/components/Servers.vue.js +0 -7
  621. package/dist/v2/features/collection/components/Servers.vue.js.map +0 -1
  622. package/dist/v2/features/collection/components/Servers.vue.script.js +0 -219
  623. package/dist/v2/features/collection/components/Servers.vue.script.js.map +0 -1
  624. package/dist/v2/features/collection/components/Settings.vue.d.ts +0 -16
  625. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +0 -1
  626. package/dist/v2/features/collection/components/Settings.vue.js +0 -7
  627. package/dist/v2/features/collection/components/Settings.vue.js.map +0 -1
  628. package/dist/v2/features/collection/components/Settings.vue.script.js +0 -81
  629. package/dist/v2/features/collection/components/Settings.vue.script.js.map +0 -1
  630. package/dist/v2/features/collection/components/Tabs.vue.d.ts +0 -8
  631. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +0 -1
  632. package/dist/v2/features/collection/components/Tabs.vue.js +0 -7
  633. package/dist/v2/features/collection/components/Tabs.vue.js.map +0 -1
  634. package/dist/v2/features/collection/components/Tabs.vue.script.js +0 -55
  635. package/dist/v2/features/collection/components/Tabs.vue.script.js.map +0 -1
  636. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts +0 -12
  637. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts.map +0 -1
  638. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js +0 -19
  639. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js.map +0 -1
  640. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +0 -42
  641. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +0 -1
  642. package/dist/v2/features/command-palette/TheCommandPalette.vue.js +0 -9
  643. package/dist/v2/features/command-palette/TheCommandPalette.vue.js.map +0 -1
  644. package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js +0 -189
  645. package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js.map +0 -1
  646. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +0 -49
  647. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +0 -1
  648. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +0 -7
  649. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js.map +0 -1
  650. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js +0 -207
  651. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js.map +0 -1
  652. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +0 -53
  653. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +0 -1
  654. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +0 -7
  655. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js.map +0 -1
  656. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js +0 -225
  657. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js.map +0 -1
  658. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +0 -44
  659. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +0 -1
  660. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js +0 -9
  661. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js.map +0 -1
  662. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js +0 -125
  663. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js.map +0 -1
  664. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts +0 -30
  665. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts.map +0 -1
  666. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js +0 -7
  667. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js.map +0 -1
  668. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js +0 -156
  669. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js.map +0 -1
  670. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts +0 -37
  671. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts.map +0 -1
  672. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js +0 -7
  673. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js.map +0 -1
  674. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js +0 -105
  675. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js.map +0 -1
  676. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +0 -48
  677. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +0 -1
  678. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +0 -7
  679. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js.map +0 -1
  680. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js +0 -226
  681. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js.map +0 -1
  682. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +0 -65
  683. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +0 -1
  684. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +0 -7
  685. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js.map +0 -1
  686. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js +0 -126
  687. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js.map +0 -1
  688. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts +0 -58
  689. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts.map +0 -1
  690. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js +0 -9
  691. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js.map +0 -1
  692. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js +0 -142
  693. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js.map +0 -1
  694. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts +0 -23
  695. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts.map +0 -1
  696. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js +0 -9
  697. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js.map +0 -1
  698. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js +0 -138
  699. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js.map +0 -1
  700. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +0 -34
  701. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +0 -1
  702. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js +0 -7
  703. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js.map +0 -1
  704. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js +0 -39
  705. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js.map +0 -1
  706. package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts +0 -20
  707. package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts.map +0 -1
  708. package/dist/v2/features/command-palette/helpers/generate-unique-slug.js +0 -33
  709. package/dist/v2/features/command-palette/helpers/generate-unique-slug.js.map +0 -1
  710. package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts +0 -11
  711. package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts.map +0 -1
  712. package/dist/v2/features/command-palette/helpers/get-merge-key.js +0 -32
  713. package/dist/v2/features/command-palette/helpers/get-merge-key.js.map +0 -1
  714. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts +0 -24
  715. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts.map +0 -1
  716. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js +0 -56
  717. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js.map +0 -1
  718. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts +0 -24
  719. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts.map +0 -1
  720. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js +0 -22
  721. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js.map +0 -1
  722. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts +0 -26
  723. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts.map +0 -1
  724. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js +0 -119
  725. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js.map +0 -1
  726. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts +0 -14
  727. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts.map +0 -1
  728. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js +0 -19
  729. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js.map +0 -1
  730. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts +0 -28
  731. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts.map +0 -1
  732. package/dist/v2/features/command-palette/helpers/get-postman-document-details.js +0 -36
  733. package/dist/v2/features/command-palette/helpers/get-postman-document-details.js.map +0 -1
  734. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts +0 -30
  735. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts.map +0 -1
  736. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js +0 -70
  737. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js.map +0 -1
  738. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts +0 -20
  739. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +0 -1
  740. package/dist/v2/features/command-palette/helpers/load-document-from-source.js +0 -71
  741. package/dist/v2/features/command-palette/helpers/load-document-from-source.js.map +0 -1
  742. package/dist/v2/features/command-palette/helpers/parse-curl.d.ts +0 -14
  743. package/dist/v2/features/command-palette/helpers/parse-curl.d.ts.map +0 -1
  744. package/dist/v2/features/command-palette/helpers/parse-curl.js +0 -106
  745. package/dist/v2/features/command-palette/helpers/parse-curl.js.map +0 -1
  746. package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts +0 -11
  747. package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts.map +0 -1
  748. package/dist/v2/features/command-palette/helpers/postman-request-collisions.js +0 -35
  749. package/dist/v2/features/command-palette/helpers/postman-request-collisions.js.map +0 -1
  750. package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts +0 -41
  751. package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts.map +0 -1
  752. package/dist/v2/features/command-palette/helpers/postman-request-tree.js +0 -139
  753. package/dist/v2/features/command-palette/helpers/postman-request-tree.js.map +0 -1
  754. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +0 -426
  755. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +0 -1
  756. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +0 -207
  757. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js.map +0 -1
  758. package/dist/v2/features/editor/config.d.ts +0 -16
  759. package/dist/v2/features/editor/config.d.ts.map +0 -1
  760. package/dist/v2/features/editor/config.js +0 -19
  761. package/dist/v2/features/editor/config.js.map +0 -1
  762. package/dist/v2/features/editor/helpers/configure-language-support.d.ts +0 -13
  763. package/dist/v2/features/editor/helpers/configure-language-support.d.ts.map +0 -1
  764. package/dist/v2/features/editor/helpers/configure-language-support.js +0 -48
  765. package/dist/v2/features/editor/helpers/configure-language-support.js.map +0 -1
  766. package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts +0 -6
  767. package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts.map +0 -1
  768. package/dist/v2/features/editor/helpers/ensure-monaco-environment.js +0 -21
  769. package/dist/v2/features/editor/helpers/ensure-monaco-environment.js.map +0 -1
  770. package/dist/v2/features/editor/helpers/json/create-json-model.d.ts +0 -12
  771. package/dist/v2/features/editor/helpers/json/create-json-model.d.ts.map +0 -1
  772. package/dist/v2/features/editor/helpers/json/create-json-model.js +0 -31
  773. package/dist/v2/features/editor/helpers/json/create-json-model.js.map +0 -1
  774. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts +0 -14
  775. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts.map +0 -1
  776. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js +0 -22
  777. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js.map +0 -1
  778. package/dist/v2/features/editor/helpers/json/json-ast.d.ts +0 -12
  779. package/dist/v2/features/editor/helpers/json/json-ast.d.ts.map +0 -1
  780. package/dist/v2/features/editor/helpers/json/json-ast.js +0 -32
  781. package/dist/v2/features/editor/helpers/json/json-ast.js.map +0 -1
  782. package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts +0 -15
  783. package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts.map +0 -1
  784. package/dist/v2/features/editor/helpers/json/json-pointer-links.js +0 -104
  785. package/dist/v2/features/editor/helpers/json/json-pointer-links.js.map +0 -1
  786. package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts +0 -7
  787. package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts.map +0 -1
  788. package/dist/v2/features/editor/helpers/json/json-pointer-path.js +0 -27
  789. package/dist/v2/features/editor/helpers/json/json-pointer-path.js.map +0 -1
  790. package/dist/v2/features/editor/helpers/model.d.ts +0 -9
  791. package/dist/v2/features/editor/helpers/model.d.ts.map +0 -1
  792. package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts +0 -14
  793. package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts.map +0 -1
  794. package/dist/v2/features/editor/helpers/range-to-whole-line.js +0 -27
  795. package/dist/v2/features/editor/helpers/range-to-whole-line.js.map +0 -1
  796. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts +0 -16
  797. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts.map +0 -1
  798. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js +0 -84
  799. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js.map +0 -1
  800. package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts +0 -36
  801. package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts.map +0 -1
  802. package/dist/v2/features/editor/helpers/theme/load-css-variables.js +0 -117
  803. package/dist/v2/features/editor/helpers/theme/load-css-variables.js.map +0 -1
  804. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts +0 -13
  805. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts.map +0 -1
  806. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js +0 -32
  807. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js.map +0 -1
  808. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts +0 -19
  809. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts.map +0 -1
  810. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js +0 -70
  811. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js.map +0 -1
  812. package/dist/v2/features/editor/hooks/use-editor-markers.d.ts +0 -152
  813. package/dist/v2/features/editor/hooks/use-editor-markers.d.ts.map +0 -1
  814. package/dist/v2/features/editor/hooks/use-editor-markers.js +0 -37
  815. package/dist/v2/features/editor/hooks/use-editor-markers.js.map +0 -1
  816. package/dist/v2/features/editor/hooks/use-editor.d.ts +0 -39
  817. package/dist/v2/features/editor/hooks/use-editor.d.ts.map +0 -1
  818. package/dist/v2/features/editor/hooks/use-editor.js +0 -133
  819. package/dist/v2/features/editor/hooks/use-editor.js.map +0 -1
  820. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts +0 -16
  821. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts.map +0 -1
  822. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js +0 -45
  823. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js.map +0 -1
  824. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts +0 -77
  825. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts.map +0 -1
  826. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js +0 -396
  827. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js.map +0 -1
  828. package/dist/v2/features/editor/index.d.ts +0 -5
  829. package/dist/v2/features/editor/index.d.ts.map +0 -1
  830. package/dist/v2/features/editor/index.js +0 -5
  831. package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js +0 -51
  832. package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js.map +0 -1
  833. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +0 -10
  834. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +0 -1
  835. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +0 -9
  836. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js.map +0 -1
  837. package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js +0 -188
  838. package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js.map +0 -1
  839. package/dist/v2/features/global-cookies/index.d.ts +0 -2
  840. package/dist/v2/features/global-cookies/index.d.ts.map +0 -1
  841. package/dist/v2/features/global-cookies/index.js +0 -2
  842. package/dist/v2/features/settings/CollectionSettings.vue.d.ts +0 -28
  843. package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +0 -1
  844. package/dist/v2/features/settings/CollectionSettings.vue.js +0 -7
  845. package/dist/v2/features/settings/CollectionSettings.vue.js.map +0 -1
  846. package/dist/v2/features/settings/CollectionSettings.vue.script.js +0 -229
  847. package/dist/v2/features/settings/CollectionSettings.vue.script.js.map +0 -1
  848. package/dist/v2/features/settings/DocumentSettings.vue.d.ts +0 -20
  849. package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +0 -1
  850. package/dist/v2/features/settings/DocumentSettings.vue.js +0 -7
  851. package/dist/v2/features/settings/DocumentSettings.vue.js.map +0 -1
  852. package/dist/v2/features/settings/DocumentSettings.vue.script.js +0 -92
  853. package/dist/v2/features/settings/DocumentSettings.vue.script.js.map +0 -1
  854. package/dist/v2/features/settings/components/Appearance.vue.d.ts +0 -11
  855. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +0 -1
  856. package/dist/v2/features/settings/components/Appearance.vue.js +0 -7
  857. package/dist/v2/features/settings/components/Appearance.vue.js.map +0 -1
  858. package/dist/v2/features/settings/components/Appearance.vue.script.js +0 -63
  859. package/dist/v2/features/settings/components/Appearance.vue.script.js.map +0 -1
  860. package/dist/v2/features/settings/components/Section.vue.d.ts +0 -16
  861. package/dist/v2/features/settings/components/Section.vue.d.ts.map +0 -1
  862. package/dist/v2/features/settings/components/Section.vue.js +0 -7
  863. package/dist/v2/features/settings/components/Section.vue.js.map +0 -1
  864. package/dist/v2/features/settings/components/Section.vue.script.js +0 -30
  865. package/dist/v2/features/settings/components/Section.vue.script.js.map +0 -1
  866. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +0 -10
  867. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +0 -1
  868. package/dist/v2/features/settings/helpers/get-theme-colors.js +0 -68
  869. package/dist/v2/features/settings/helpers/get-theme-colors.js.map +0 -1
  870. package/dist/v2/features/settings/index.d.ts +0 -3
  871. package/dist/v2/features/settings/index.d.ts.map +0 -1
  872. package/dist/v2/features/settings/index.js +0 -3
  873. package/dist/v2/helpers/download-document.d.ts +0 -2
  874. package/dist/v2/helpers/download-document.d.ts.map +0 -1
  875. package/dist/v2/helpers/download-document.js +0 -42
  876. package/dist/v2/helpers/download-document.js.map +0 -1
  877. package/dist/v2/helpers/drag-handle-factory.d.ts +0 -16
  878. package/dist/v2/helpers/drag-handle-factory.d.ts.map +0 -1
  879. package/dist/v2/helpers/drag-handle-factory.js +0 -258
  880. package/dist/v2/helpers/drag-handle-factory.js.map +0 -1
  881. package/dist/v2/helpers/get-tab-details.d.ts +0 -43
  882. package/dist/v2/helpers/get-tab-details.d.ts.map +0 -1
  883. package/dist/v2/helpers/get-tab-details.js +0 -54
  884. package/dist/v2/helpers/get-tab-details.js.map +0 -1
  885. package/dist/v2/helpers/is-url.d.ts +0 -2
  886. package/dist/v2/helpers/is-url.d.ts.map +0 -1
  887. package/dist/v2/helpers/is-url.js +0 -9
  888. package/dist/v2/helpers/is-url.js.map +0 -1
  889. package/dist/v2/helpers/safe-run.d.ts +0 -34
  890. package/dist/v2/helpers/safe-run.d.ts.map +0 -1
  891. package/dist/v2/helpers/safe-run.js +0 -43
  892. package/dist/v2/helpers/safe-run.js.map +0 -1
  893. package/dist/v2/helpers/storage.d.ts +0 -31
  894. package/dist/v2/helpers/storage.d.ts.map +0 -1
  895. package/dist/v2/helpers/storage.js +0 -37
  896. package/dist/v2/helpers/storage.js.map +0 -1
  897. package/dist/v2/hooks/use-color-mode.d.ts +0 -20
  898. package/dist/v2/hooks/use-color-mode.d.ts.map +0 -1
  899. package/dist/v2/hooks/use-color-mode.js +0 -72
  900. package/dist/v2/hooks/use-color-mode.js.map +0 -1
  901. package/dist/v2/types/configuration.d.ts +0 -278
  902. package/dist/v2/types/configuration.d.ts.map +0 -1
  903. /package/dist/components/{ScalarAsciiArt.vue.d.ts → ScalarAsciiArt/ScalarAsciiArt.vue.d.ts} +0 -0
  904. /package/dist/{index.js → types/index.js} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"range-to-whole-line.js","names":[],"sources":["../../../../../src/v2/features/editor/helpers/range-to-whole-line.ts"],"sourcesContent":["import * as monaco from 'monaco-editor'\n\n/**\n * Expands a given range to cover whole lines within a Monaco editor model.\n *\n * Given a text model and an input range, this function calculates the smallest\n * and largest lines touched by the range and returns a new range that starts at\n * the beginning of the first touched line and ends at the end of the last touched line.\n *\n * @param model The Monaco editor text model.\n * @param range The Monaco Range to expand.\n * @returns A new Monaco Range covering the whole lines spanned by the given range.\n */\nexport const rangeToWholeLine = (model: monaco.editor.ITextModel, range: monaco.Range): monaco.Range => {\n const startOffset = model.getOffsetAt(range.getStartPosition())\n const endOffset = model.getOffsetAt(range.getEndPosition())\n const start = model.getPositionAt(startOffset)\n const inclusiveEndOffset = Math.max(startOffset, endOffset - 1)\n const end = model.getPositionAt(inclusiveEndOffset)\n const startLine = Math.max(1, start.lineNumber)\n const endLine = Math.max(startLine, end.lineNumber)\n return new monaco.Range(startLine, 1, endLine, model.getLineMaxColumn(endLine))\n}\n"],"mappings":";;;;;;;;;;;;;AAaA,IAAa,oBAAoB,OAAiC,UAAsC;CACtG,MAAM,cAAc,MAAM,YAAY,MAAM,kBAAkB,CAAC;CAC/D,MAAM,YAAY,MAAM,YAAY,MAAM,gBAAgB,CAAC;CAC3D,MAAM,QAAQ,MAAM,cAAc,YAAY;CAC9C,MAAM,qBAAqB,KAAK,IAAI,aAAa,YAAY,EAAE;CAC/D,MAAM,MAAM,MAAM,cAAc,mBAAmB;CACnD,MAAM,YAAY,KAAK,IAAI,GAAG,MAAM,WAAW;CAC/C,MAAM,UAAU,KAAK,IAAI,WAAW,IAAI,WAAW;AACnD,QAAO,IAAI,OAAO,MAAM,WAAW,GAAG,SAAS,MAAM,iBAAiB,QAAQ,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Applies a custom Scalar theme to the Monaco editor.
3
- *
4
- * This function loads CSS variables for either dark or light mode, maps the colors to Monaco's editor theme keys,
5
- * and then applies the new theme. Theme color tokens are resolved from CSS custom properties.
6
- *
7
- * Example usage:
8
- *
9
- * await applyScalarTheme('scalar', true); // Apply dark mode
10
- * await applyScalarTheme('scalar', false); // Apply light mode
11
- *
12
- * @param theme - The theme string key to load variables for (e.g. 'scalar').
13
- * @param isDarkMode - Whether to use dark or light variables.
14
- */
15
- export declare const applyScalarTheme: (theme: string, isDarkMode: boolean) => Promise<void>;
16
- //# sourceMappingURL=apply-scalar-theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apply-scalar-theme.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/editor/helpers/theme/apply-scalar-theme.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,GAAU,OAAO,MAAM,EAAE,YAAY,OAAO,kBAwExE,CAAA"}
@@ -1,84 +0,0 @@
1
- import { loadCssVariables } from "./load-css-variables.js";
2
- import * as monaco from "monaco-editor";
3
- //#region src/v2/features/editor/helpers/theme/apply-scalar-theme.ts
4
- var THEME_NAME = "scalar-theme";
5
- /**
6
- * Applies a custom Scalar theme to the Monaco editor.
7
- *
8
- * This function loads CSS variables for either dark or light mode, maps the colors to Monaco's editor theme keys,
9
- * and then applies the new theme. Theme color tokens are resolved from CSS custom properties.
10
- *
11
- * Example usage:
12
- *
13
- * await applyScalarTheme('scalar', true); // Apply dark mode
14
- * await applyScalarTheme('scalar', false); // Apply light mode
15
- *
16
- * @param theme - The theme string key to load variables for (e.g. 'scalar').
17
- * @param isDarkMode - Whether to use dark or light variables.
18
- */
19
- var applyScalarTheme = async (theme, isDarkMode) => {
20
- const allVars = await loadCssVariables(theme);
21
- const vars = isDarkMode ? allVars.dark : allVars.light;
22
- /**
23
- * Build a colors object for Monaco from the variable map.
24
- * Only assign if the variable exists in the loaded vars.
25
- */
26
- const colors = Object.fromEntries(Object.entries({
27
- "editor.background": "--scalar-background-1",
28
- "editor.foreground": "--scalar-color-1",
29
- "editorLineNumber.foreground": "--scalar-color-3",
30
- "editorLineNumber.activeForeground": "--scalar-color-1",
31
- "editorLineHighlight.background": "--scalar-background-2",
32
- "editorCursor.foreground": "--scalar-color-1",
33
- "editorCursor.background": "--scalar-background-1",
34
- "editor.selectionBackground": "--scalar-background-3",
35
- "editor.inactiveSelectionBackground": "--scalar-background-3",
36
- "editorIndentGuide.background": "--scalar-background-3",
37
- "editorIndentGuide.activeBackground": "--scalar-background-2",
38
- "editorWhitespace.foreground": "--scalar-border-color",
39
- "editorBracketMatch.background": "--scalar-background-3",
40
- "editorBracketMatch.border": "--scalar-color-accent",
41
- "editor.selectionHighlightBackground": "--scalar-background-3",
42
- "editor.hoverHighlightBackground": "--scalar-background-3",
43
- "editorLink.activeForeground": "--scalar-color-3",
44
- "editorOverviewRuler.border": "--scalar-border-color"
45
- }).filter(([_, cssVar]) => !!vars[cssVar]).map(([prop, cssVar]) => [prop, vars[cssVar]]));
46
- monaco.editor.defineTheme(THEME_NAME, {
47
- base: isDarkMode ? "vs-dark" : "vs",
48
- inherit: true,
49
- rules: [
50
- {
51
- token: "",
52
- foreground: vars["--scalar-color-3"]
53
- },
54
- {
55
- token: "comment",
56
- foreground: vars["--scalar-color-2"],
57
- fontStyle: "italic"
58
- },
59
- {
60
- token: "keyword",
61
- foreground: vars["--scalar-color-accent"],
62
- fontStyle: "bold"
63
- },
64
- {
65
- token: "number",
66
- foreground: vars["--scalar-color-purple"]
67
- },
68
- {
69
- token: "string",
70
- foreground: vars["--scalar-color-2"]
71
- },
72
- {
73
- token: "delimiter",
74
- foreground: vars["--scalar-color-3"]
75
- }
76
- ],
77
- colors
78
- });
79
- monaco.editor.setTheme(THEME_NAME);
80
- };
81
- //#endregion
82
- export { applyScalarTheme };
83
-
84
- //# sourceMappingURL=apply-scalar-theme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apply-scalar-theme.js","names":[],"sources":["../../../../../../src/v2/features/editor/helpers/theme/apply-scalar-theme.ts"],"sourcesContent":["import * as monaco from 'monaco-editor'\n\nimport { loadCssVariables } from './load-css-variables'\n\nconst THEME_NAME = 'scalar-theme'\n\n/**\n * Applies a custom Scalar theme to the Monaco editor.\n *\n * This function loads CSS variables for either dark or light mode, maps the colors to Monaco's editor theme keys,\n * and then applies the new theme. Theme color tokens are resolved from CSS custom properties.\n *\n * Example usage:\n *\n * await applyScalarTheme('scalar', true); // Apply dark mode\n * await applyScalarTheme('scalar', false); // Apply light mode\n *\n * @param theme - The theme string key to load variables for (e.g. 'scalar').\n * @param isDarkMode - Whether to use dark or light variables.\n */\nexport const applyScalarTheme = async (theme: string, isDarkMode: boolean) => {\n // Load all CSS variables for the given theme\n const allVars = await loadCssVariables(theme)\n\n // Pick variables for dark or light mode\n const vars = isDarkMode ? allVars.dark : allVars.light\n\n /**\n * Map Monaco editor theme keys to CSS variable names.\n */\n const varsMap = {\n 'editor.background': '--scalar-background-1',\n 'editor.foreground': '--scalar-color-1',\n 'editorLineNumber.foreground': '--scalar-color-3',\n 'editorLineNumber.activeForeground': '--scalar-color-1',\n 'editorLineHighlight.background': '--scalar-background-2',\n 'editorCursor.foreground': '--scalar-color-1',\n 'editorCursor.background': '--scalar-background-1',\n 'editor.selectionBackground': '--scalar-background-3',\n 'editor.inactiveSelectionBackground': '--scalar-background-3',\n 'editorIndentGuide.background': '--scalar-background-3',\n 'editorIndentGuide.activeBackground': '--scalar-background-2',\n 'editorWhitespace.foreground': '--scalar-border-color',\n 'editorBracketMatch.background': '--scalar-background-3',\n 'editorBracketMatch.border': '--scalar-color-accent',\n 'editor.selectionHighlightBackground': '--scalar-background-3',\n 'editor.hoverHighlightBackground': '--scalar-background-3',\n 'editorLink.activeForeground': '--scalar-color-3',\n 'editorOverviewRuler.border': '--scalar-border-color',\n }\n\n /**\n * Build a colors object for Monaco from the variable map.\n * Only assign if the variable exists in the loaded vars.\n */\n const colors = Object.fromEntries(\n Object.entries(varsMap)\n .filter(([_, cssVar]) => !!vars[cssVar])\n .map(([prop, cssVar]) => [prop, vars[cssVar] as string]),\n )\n\n // Define the theme in Monaco using the chosen variables.\n monaco.editor.defineTheme(THEME_NAME, {\n base: isDarkMode ? 'vs-dark' : 'vs',\n inherit: true,\n rules: [\n // Default text\n { token: '', foreground: vars['--scalar-color-3'] },\n // Comments\n {\n token: 'comment',\n foreground: vars['--scalar-color-2'],\n fontStyle: 'italic',\n },\n // Keywords\n {\n token: 'keyword',\n foreground: vars['--scalar-color-accent'],\n fontStyle: 'bold',\n },\n // Numbers\n { token: 'number', foreground: vars['--scalar-color-purple'] },\n // Strings\n { token: 'string', foreground: vars['--scalar-color-2'] },\n // Delimiters (punctuation)\n { token: 'delimiter', foreground: vars['--scalar-color-3'] },\n ],\n colors,\n })\n\n // Finally, set the theme\n monaco.editor.setTheme(THEME_NAME)\n}\n"],"mappings":";;;AAIA,IAAM,aAAa;;;;;;;;;;;;;;;AAgBnB,IAAa,mBAAmB,OAAO,OAAe,eAAwB;CAE5E,MAAM,UAAU,MAAM,iBAAiB,MAAM;CAG7C,MAAM,OAAO,aAAa,QAAQ,OAAO,QAAQ;;;;;CA8BjD,MAAM,SAAS,OAAO,YACpB,OAAO,QA1BO;EACd,qBAAqB;EACrB,qBAAqB;EACrB,+BAA+B;EAC/B,qCAAqC;EACrC,kCAAkC;EAClC,2BAA2B;EAC3B,2BAA2B;EAC3B,8BAA8B;EAC9B,sCAAsC;EACtC,gCAAgC;EAChC,sCAAsC;EACtC,+BAA+B;EAC/B,iCAAiC;EACjC,6BAA6B;EAC7B,uCAAuC;EACvC,mCAAmC;EACnC,+BAA+B;EAC/B,8BAA8B;EAC/B,CAOwB,CACpB,QAAQ,CAAC,GAAG,YAAY,CAAC,CAAC,KAAK,QAAQ,CACvC,KAAK,CAAC,MAAM,YAAY,CAAC,MAAM,KAAK,QAAkB,CAAC,CAC3D;AAGD,QAAO,OAAO,YAAY,YAAY;EACpC,MAAM,aAAa,YAAY;EAC/B,SAAS;EACT,OAAO;GAEL;IAAE,OAAO;IAAI,YAAY,KAAK;IAAqB;GAEnD;IACE,OAAO;IACP,YAAY,KAAK;IACjB,WAAW;IACZ;GAED;IACE,OAAO;IACP,YAAY,KAAK;IACjB,WAAW;IACZ;GAED;IAAE,OAAO;IAAU,YAAY,KAAK;IAA0B;GAE9D;IAAE,OAAO;IAAU,YAAY,KAAK;IAAqB;GAEzD;IAAE,OAAO;IAAa,YAAY,KAAK;IAAqB;GAC7D;EACD;EACD,CAAC;AAGF,QAAO,OAAO,SAAS,WAAW"}
@@ -1,36 +0,0 @@
1
- /**
2
- * Maps a comma-separated selector list to the theme modes it applies to.
3
- * Only **exact** `.light-mode` or `.dark-mode` selectors match (no compound selectors like `.light-mode .foo`).
4
- */
5
- export declare const getColorModesFromSelectors: (text: string) => ("light" | "dark")[];
6
- /**
7
- * Parses a single custom property value from the stylesheet into a normalized form:
8
- * - `#RRGGBB` / `#RRGGBBAA` (uppercase)
9
- * - `#RGB` short hex expanded to six digits
10
- * - `rgb()` / `rgba()` with comma-separated channels (lower input only)
11
- * - `var(--x)` / `var(--x, fallback)` returned as-is for a later resolve pass
12
- */
13
- export declare const parseVariableValue: (value: string) => string | undefined;
14
- /**
15
- * Recursively resolves a value if it is (or becomes) `var(--name)` against `variables`.
16
- * Missing names or non-var values are returned unchanged.
17
- */
18
- export declare const resolveVariableValue: (value: string, variables: Record<string, string>) => string;
19
- /**
20
- * Resolves `var(--*)` values in a flat map of custom properties in one pass.
21
- * Values that are not var references are copied through.
22
- */
23
- export declare const resolveVariables: (variables: Record<string, string>) => Record<string, string>;
24
- /**
25
- * Extracts CSS custom properties (variables) from a given CSS string
26
- * for .light-mode and .dark-mode selectors and returns an object
27
- * with 'light' and 'dark' keys containing the filtered variables.
28
- *
29
- * @param css - The CSS string to parse.
30
- * @returns An object with `light` and `dark` properties containing the extracted CSS variables.
31
- */
32
- export declare const loadCssVariables: (css: string) => Promise<{
33
- light: Record<string, string>;
34
- dark: Record<string, string>;
35
- }>;
36
- //# sourceMappingURL=load-css-variables.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"load-css-variables.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/editor/helpers/theme/load-css-variables.ts"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GAAI,MAAM,MAAM,yBActD,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,MAAM,uBAmC/C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,OAAO,MAAM,EAAE,WAAW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,MAcvF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAWzF,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAU,KAAK,MAAM;;;EAsCjD,CAAA"}
@@ -1,117 +0,0 @@
1
- import { z } from "zod";
2
- //#region src/v2/features/editor/helpers/theme/load-css-variables.ts
3
- /**
4
- * Patterns for CSS color values we can normalize to hex (or pass through as var()).
5
- * Space-separated rgb() and modern slash syntax are not supported here.
6
- */
7
- var hexShortRegex = /^#([0-9a-fA-F]){3}$/;
8
- var hexRegex = /^#([0-9a-fA-F]{6})$/;
9
- var hexAlphaRegex = /^#([0-9a-fA-F]{8})$/;
10
- var rgbRegex = /^rgb\(\s*(\d{1,3})\s*,?\s*(\d{1,3})\s*,?\s*(\d{1,3})\s*\)$/;
11
- var rgbaRegex = /^rgba\(\s*(\d{1,3})\s*,?\s*(\d{1,3})\s*,?\s*(\d{1,3})\s*,?\s*(\d*\.?\d+)\s*\)$/;
12
- /** Optional fallback: var(--name, fallback) */
13
- var varRegex = /^var\(\s*(--[^)]+)\s*(?:,\s*([^)]*))?\s*\)$/i;
14
- /**
15
- * Maps a comma-separated selector list to the theme modes it applies to.
16
- * Only **exact** `.light-mode` or `.dark-mode` selectors match (no compound selectors like `.light-mode .foo`).
17
- */
18
- var getColorModesFromSelectors = (text) => {
19
- return text.split(",").map((selector) => selector.trim()).map((selector) => {
20
- if (selector === ".light-mode") return "light";
21
- if (selector === ".dark-mode") return "dark";
22
- return null;
23
- }).filter((mode) => mode !== null);
24
- };
25
- /**
26
- * Parses a single custom property value from the stylesheet into a normalized form:
27
- * - `#RRGGBB` / `#RRGGBBAA` (uppercase)
28
- * - `#RGB` short hex expanded to six digits
29
- * - `rgb()` / `rgba()` with comma-separated channels (lower input only)
30
- * - `var(--x)` / `var(--x, fallback)` returned as-is for a later resolve pass
31
- */
32
- var parseVariableValue = (value) => {
33
- const normalized = value.trim().toLowerCase();
34
- const hexValue = z.union([z.string().regex(hexRegex), z.string().regex(hexAlphaRegex)]).safeParse(normalized);
35
- if (!hexValue.error) return hexValue.data.toUpperCase();
36
- const shortHexValue = z.string().regex(hexShortRegex).safeParse(normalized);
37
- if (!shortHexValue.error) {
38
- const [_, r, g, b] = shortHexValue.data.toUpperCase();
39
- return `#${r}${r}${g}${g}${b}${b}`;
40
- }
41
- const rgbValue = z.union([z.string().regex(rgbRegex), z.string().regex(rgbaRegex)]).safeParse(normalized);
42
- if (!rgbValue.error) {
43
- const [_, r = "0", g = "0", b = "0", a = "1"] = rgbValue.data.startsWith("rgba") ? rgbaRegex.exec(rgbValue.data) ?? [] : rgbRegex.exec(rgbValue.data) ?? [];
44
- const toHex = (v) => Number.parseInt(v, 10).toString(16).padStart(2, "0").toUpperCase();
45
- const alpha = Math.round(Number.parseFloat(a) * 255);
46
- return `#${toHex(r)}${toHex(g)}${toHex(b)}${alpha === 255 ? "" : toHex(String(alpha))}`;
47
- }
48
- const varValue = z.string().regex(varRegex).safeParse(normalized);
49
- if (!varValue.error) return varValue.data;
50
- };
51
- /**
52
- * Recursively resolves a value if it is (or becomes) `var(--name)` against `variables`.
53
- * Missing names or non-var values are returned unchanged.
54
- */
55
- var resolveVariableValue = (value, variables) => {
56
- const varValue = z.string().regex(varRegex).safeParse(value);
57
- if (!varValue.error) {
58
- const [_, varName] = varRegex.exec(varValue.data) ?? [];
59
- if (!varName) return value;
60
- const resolved = variables[varName];
61
- if (!resolved) return value;
62
- return resolveVariableValue(resolved, variables);
63
- }
64
- return value;
65
- };
66
- /**
67
- * Resolves `var(--*)` values in a flat map of custom properties in one pass.
68
- * Values that are not var references are copied through.
69
- */
70
- var resolveVariables = (variables) => {
71
- const resolved = Object.entries(variables).map(([name, value]) => {
72
- const varValue = z.string().regex(varRegex).safeParse(value);
73
- if (!varValue.error) return [name, resolveVariableValue(varValue.data, variables)];
74
- return [name, value];
75
- });
76
- return Object.fromEntries(resolved);
77
- };
78
- /**
79
- * Extracts CSS custom properties (variables) from a given CSS string
80
- * for .light-mode and .dark-mode selectors and returns an object
81
- * with 'light' and 'dark' keys containing the filtered variables.
82
- *
83
- * @param css - The CSS string to parse.
84
- * @returns An object with `light` and `dark` properties containing the extracted CSS variables.
85
- */
86
- var loadCssVariables = async (css) => {
87
- const sheet = new CSSStyleSheet();
88
- await sheet.replace(css);
89
- const parsed = Array.from(sheet.cssRules).filter((cssRule) => cssRule instanceof CSSStyleRule).reduce((variables, cssRule) => {
90
- const colorModes = getColorModesFromSelectors(cssRule.selectorText);
91
- if (!colorModes.length) return variables;
92
- const styles = Array.from(cssRule.style).reduce((style, name) => {
93
- if (!name.startsWith("--")) return style;
94
- const parsedValue = parseVariableValue(cssRule.style.getPropertyValue(name));
95
- if (parsedValue) style[name] = parsedValue;
96
- return style;
97
- }, {});
98
- colorModes.forEach((colorMode) => {
99
- variables[colorMode] = {
100
- ...variables[colorMode],
101
- ...styles
102
- };
103
- });
104
- return variables;
105
- }, {
106
- light: {},
107
- dark: {}
108
- });
109
- return {
110
- light: resolveVariables(parsed.light),
111
- dark: resolveVariables(parsed.dark)
112
- };
113
- };
114
- //#endregion
115
- export { loadCssVariables };
116
-
117
- //# sourceMappingURL=load-css-variables.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"load-css-variables.js","names":[],"sources":["../../../../../../src/v2/features/editor/helpers/theme/load-css-variables.ts"],"sourcesContent":["import { z } from 'zod'\n\n/** Which theme bucket a CSS rule applies to after parsing. */\ntype ColorMode = 'light' | 'dark'\n\n/** Accumulated custom properties per mode while walking stylesheet rules. */\ntype Variables = Record<ColorMode, Record<string, string>>\n\n/**\n * Patterns for CSS color values we can normalize to hex (or pass through as var()).\n * Space-separated rgb() and modern slash syntax are not supported here.\n */\nconst hexShortRegex = /^#([0-9a-fA-F]){3}$/\nconst hexRegex = /^#([0-9a-fA-F]{6})$/\nconst hexAlphaRegex = /^#([0-9a-fA-F]{8})$/\nconst rgbRegex = /^rgb\\(\\s*(\\d{1,3})\\s*,?\\s*(\\d{1,3})\\s*,?\\s*(\\d{1,3})\\s*\\)$/\nconst rgbaRegex = /^rgba\\(\\s*(\\d{1,3})\\s*,?\\s*(\\d{1,3})\\s*,?\\s*(\\d{1,3})\\s*,?\\s*(\\d*\\.?\\d+)\\s*\\)$/\n/** Optional fallback: var(--name, fallback) */\nconst varRegex = /^var\\(\\s*(--[^)]+)\\s*(?:,\\s*([^)]*))?\\s*\\)$/i\n\n/**\n * Maps a comma-separated selector list to the theme modes it applies to.\n * Only **exact** `.light-mode` or `.dark-mode` selectors match (no compound selectors like `.light-mode .foo`).\n */\nexport const getColorModesFromSelectors = (text: string) => {\n const selectors = text.split(',').map((selector) => selector.trim())\n\n return selectors\n .map((selector) => {\n if (selector === '.light-mode') {\n return 'light'\n }\n if (selector === '.dark-mode') {\n return 'dark'\n }\n return null\n })\n .filter((mode) => mode !== null)\n}\n\n/**\n * Parses a single custom property value from the stylesheet into a normalized form:\n * - `#RRGGBB` / `#RRGGBBAA` (uppercase)\n * - `#RGB` short hex expanded to six digits\n * - `rgb()` / `rgba()` with comma-separated channels (lower input only)\n * - `var(--x)` / `var(--x, fallback)` returned as-is for a later resolve pass\n */\nexport const parseVariableValue = (value: string) => {\n const normalized = value.trim().toLowerCase()\n\n const hexValue = z.union([z.string().regex(hexRegex), z.string().regex(hexAlphaRegex)]).safeParse(normalized)\n\n if (!hexValue.error) {\n return hexValue.data.toUpperCase()\n }\n\n const shortHexValue = z.string().regex(hexShortRegex).safeParse(normalized)\n\n if (!shortHexValue.error) {\n const [_, r, g, b] = shortHexValue.data.toUpperCase()\n return `#${r}${r}${g}${g}${b}${b}`\n }\n\n const rgbValue = z.union([z.string().regex(rgbRegex), z.string().regex(rgbaRegex)]).safeParse(normalized)\n\n if (!rgbValue.error) {\n const [_, r = '0', g = '0', b = '0', a = '1'] = rgbValue.data.startsWith('rgba')\n ? (rgbaRegex.exec(rgbValue.data) ?? [])\n : (rgbRegex.exec(rgbValue.data) ?? [])\n\n const toHex = (v: string) => Number.parseInt(v, 10).toString(16).padStart(2, '0').toUpperCase()\n const alpha = Math.round(Number.parseFloat(a) * 255)\n\n return `#${toHex(r)}${toHex(g)}${toHex(b)}${alpha === 255 ? '' : toHex(String(alpha))}`\n }\n\n const varValue = z.string().regex(varRegex).safeParse(normalized)\n if (!varValue.error) {\n return varValue.data\n }\n\n return undefined\n}\n\n/**\n * Recursively resolves a value if it is (or becomes) `var(--name)` against `variables`.\n * Missing names or non-var values are returned unchanged.\n */\nexport const resolveVariableValue = (value: string, variables: Record<string, string>): string => {\n const varValue = z.string().regex(varRegex).safeParse(value)\n if (!varValue.error) {\n const [_, varName] = varRegex.exec(varValue.data) ?? []\n if (!varName) {\n return value\n }\n const resolved = variables[varName]\n if (!resolved) {\n return value\n }\n return resolveVariableValue(resolved, variables)\n }\n return value\n}\n\n/**\n * Resolves `var(--*)` values in a flat map of custom properties in one pass.\n * Values that are not var references are copied through.\n */\nexport const resolveVariables = (variables: Record<string, string>): Record<string, string> => {\n const entries = Object.entries(variables)\n\n const resolved = entries.map(([name, value]) => {\n const varValue = z.string().regex(varRegex).safeParse(value)\n if (!varValue.error) {\n return [name, resolveVariableValue(varValue.data, variables)]\n }\n return [name, value]\n })\n return Object.fromEntries(resolved)\n}\n\n/**\n * Extracts CSS custom properties (variables) from a given CSS string\n * for .light-mode and .dark-mode selectors and returns an object\n * with 'light' and 'dark' keys containing the filtered variables.\n *\n * @param css - The CSS string to parse.\n * @returns An object with `light` and `dark` properties containing the extracted CSS variables.\n */\nexport const loadCssVariables = async (css: string) => {\n const sheet = new CSSStyleSheet()\n await sheet.replace(css)\n\n const cssRules = Array.from(sheet.cssRules).filter((cssRule) => cssRule instanceof CSSStyleRule)\n const parsed = cssRules.reduce<Variables>(\n (variables, cssRule) => {\n const colorModes = getColorModesFromSelectors(cssRule.selectorText)\n if (!colorModes.length) {\n return variables\n }\n\n // Collect valid CSS variable declarations from the rule's style\n const styles = Array.from(cssRule.style).reduce<Record<string, string>>((style, name) => {\n if (!name.startsWith('--')) {\n return style\n }\n const value = cssRule.style.getPropertyValue(name)\n const parsedValue = parseVariableValue(value)\n if (parsedValue) {\n style[name] = parsedValue\n }\n return style\n }, {})\n\n colorModes.forEach((colorMode) => {\n variables[colorMode] = { ...variables[colorMode], ...styles }\n })\n\n return variables\n },\n { light: {}, dark: {} },\n )\n\n return {\n light: resolveVariables(parsed.light),\n dark: resolveVariables(parsed.dark),\n }\n}\n"],"mappings":";;;;;;AAYA,IAAM,gBAAgB;AACtB,IAAM,WAAW;AACjB,IAAM,gBAAgB;AACtB,IAAM,WAAW;AACjB,IAAM,YAAY;;AAElB,IAAM,WAAW;;;;;AAMjB,IAAa,8BAA8B,SAAiB;AAG1D,QAFkB,KAAK,MAAM,IAAI,CAAC,KAAK,aAAa,SAAS,MAAM,CAAC,CAGjE,KAAK,aAAa;AACjB,MAAI,aAAa,cACf,QAAO;AAET,MAAI,aAAa,aACf,QAAO;AAET,SAAO;GACP,CACD,QAAQ,SAAS,SAAS,KAAK;;;;;;;;;AAUpC,IAAa,sBAAsB,UAAkB;CACnD,MAAM,aAAa,MAAM,MAAM,CAAC,aAAa;CAE7C,MAAM,WAAW,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,SAAS,EAAE,EAAE,QAAQ,CAAC,MAAM,cAAc,CAAC,CAAC,CAAC,UAAU,WAAW;AAE7G,KAAI,CAAC,SAAS,MACZ,QAAO,SAAS,KAAK,aAAa;CAGpC,MAAM,gBAAgB,EAAE,QAAQ,CAAC,MAAM,cAAc,CAAC,UAAU,WAAW;AAE3E,KAAI,CAAC,cAAc,OAAO;EACxB,MAAM,CAAC,GAAG,GAAG,GAAG,KAAK,cAAc,KAAK,aAAa;AACrD,SAAO,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI;;CAGjC,MAAM,WAAW,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,SAAS,EAAE,EAAE,QAAQ,CAAC,MAAM,UAAU,CAAC,CAAC,CAAC,UAAU,WAAW;AAEzG,KAAI,CAAC,SAAS,OAAO;EACnB,MAAM,CAAC,GAAG,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,IAAI,OAAO,SAAS,KAAK,WAAW,OAAO,GAC3E,UAAU,KAAK,SAAS,KAAK,IAAI,EAAE,GACnC,SAAS,KAAK,SAAS,KAAK,IAAI,EAAE;EAEvC,MAAM,SAAS,MAAc,OAAO,SAAS,GAAG,GAAG,CAAC,SAAS,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,aAAa;EAC/F,MAAM,QAAQ,KAAK,MAAM,OAAO,WAAW,EAAE,GAAG,IAAI;AAEpD,SAAO,IAAI,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,UAAU,MAAM,KAAK,MAAM,OAAO,MAAM,CAAC;;CAGvF,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,SAAS,CAAC,UAAU,WAAW;AACjE,KAAI,CAAC,SAAS,MACZ,QAAO,SAAS;;;;;;AAUpB,IAAa,wBAAwB,OAAe,cAA8C;CAChG,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,SAAS,CAAC,UAAU,MAAM;AAC5D,KAAI,CAAC,SAAS,OAAO;EACnB,MAAM,CAAC,GAAG,WAAW,SAAS,KAAK,SAAS,KAAK,IAAI,EAAE;AACvD,MAAI,CAAC,QACH,QAAO;EAET,MAAM,WAAW,UAAU;AAC3B,MAAI,CAAC,SACH,QAAO;AAET,SAAO,qBAAqB,UAAU,UAAU;;AAElD,QAAO;;;;;;AAOT,IAAa,oBAAoB,cAA8D;CAG7F,MAAM,WAFU,OAAO,QAAQ,UAAU,CAEhB,KAAK,CAAC,MAAM,WAAW;EAC9C,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,SAAS,CAAC,UAAU,MAAM;AAC5D,MAAI,CAAC,SAAS,MACZ,QAAO,CAAC,MAAM,qBAAqB,SAAS,MAAM,UAAU,CAAC;AAE/D,SAAO,CAAC,MAAM,MAAM;GACpB;AACF,QAAO,OAAO,YAAY,SAAS;;;;;;;;;;AAWrC,IAAa,mBAAmB,OAAO,QAAgB;CACrD,MAAM,QAAQ,IAAI,eAAe;AACjC,OAAM,MAAM,QAAQ,IAAI;CAGxB,MAAM,SADW,MAAM,KAAK,MAAM,SAAS,CAAC,QAAQ,YAAY,mBAAmB,aAAa,CACxE,QACrB,WAAW,YAAY;EACtB,MAAM,aAAa,2BAA2B,QAAQ,aAAa;AACnE,MAAI,CAAC,WAAW,OACd,QAAO;EAIT,MAAM,SAAS,MAAM,KAAK,QAAQ,MAAM,CAAC,QAAgC,OAAO,SAAS;AACvF,OAAI,CAAC,KAAK,WAAW,KAAK,CACxB,QAAO;GAGT,MAAM,cAAc,mBADN,QAAQ,MAAM,iBAAiB,KAAK,CACL;AAC7C,OAAI,YACF,OAAM,QAAQ;AAEhB,UAAO;KACN,EAAE,CAAC;AAEN,aAAW,SAAS,cAAc;AAChC,aAAU,aAAa;IAAE,GAAG,UAAU;IAAY,GAAG;IAAQ;IAC7D;AAEF,SAAO;IAET;EAAE,OAAO,EAAE;EAAE,MAAM,EAAE;EAAE,CACxB;AAED,QAAO;EACL,OAAO,iBAAiB,OAAO,MAAM;EACrC,MAAM,iBAAiB,OAAO,KAAK;EACpC"}
@@ -1,13 +0,0 @@
1
- import type { EditorModel } from '../../../../../v2/features/editor/helpers/model';
2
- /**
3
- * Creates a YAML model for use in the Monaco editor.
4
- *
5
- * @param value - The initial YAML string value for the model.
6
- * @returns An object containing the Monaco model and a method to get a range from a YAML path.
7
- *
8
- * The created model is configured for YAML language support.
9
- * The `getRangeFromPath` method returns a Monaco Range object indicating the text range
10
- * that corresponds to a given path in the YAML document, or null if the path is not found.
11
- */
12
- export declare const createYamlModel: (value?: string) => EditorModel;
13
- //# sourceMappingURL=create-yaml-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-yaml-model.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/editor/helpers/yaml/create-yaml-model.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAQ,MAAM,oCAAoC,CAAA;AAG3E;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,WAoBhD,CAAA"}
@@ -1,32 +0,0 @@
1
- import { configureYaml } from "../configure-language-support.js";
2
- import { getYamlNodeRangeFromPath } from "./get-yaml-node-range-from-path.js";
3
- import * as monaco from "monaco-editor";
4
- //#region src/v2/features/editor/helpers/yaml/create-yaml-model.ts
5
- /**
6
- * Creates a YAML model for use in the Monaco editor.
7
- *
8
- * @param value - The initial YAML string value for the model.
9
- * @returns An object containing the Monaco model and a method to get a range from a YAML path.
10
- *
11
- * The created model is configured for YAML language support.
12
- * The `getRangeFromPath` method returns a Monaco Range object indicating the text range
13
- * that corresponds to a given path in the YAML document, or null if the path is not found.
14
- */
15
- var createYamlModel = (value) => {
16
- const model = monaco.editor.createModel(value ?? "", "yaml");
17
- configureYaml(model.uri.toString());
18
- return {
19
- model,
20
- getRangeFromPath: (path) => {
21
- const range = getYamlNodeRangeFromPath(model.getValue(), path);
22
- if (!range) return null;
23
- const start = model.getPositionAt(range.startOffset);
24
- const end = model.getPositionAt(range.endOffset);
25
- return new monaco.Range(start.lineNumber, start.column, end.lineNumber, end.column);
26
- }
27
- };
28
- };
29
- //#endregion
30
- export { createYamlModel };
31
-
32
- //# sourceMappingURL=create-yaml-model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-yaml-model.js","names":[],"sources":["../../../../../../src/v2/features/editor/helpers/yaml/create-yaml-model.ts"],"sourcesContent":["import * as monaco from 'monaco-editor'\n\nimport { configureYaml } from '@/v2/features/editor/helpers/configure-language-support'\nimport type { EditorModel, Path } from '@/v2/features/editor/helpers/model'\nimport { getYamlNodeRangeFromPath } from '@/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path'\n\n/**\n * Creates a YAML model for use in the Monaco editor.\n *\n * @param value - The initial YAML string value for the model.\n * @returns An object containing the Monaco model and a method to get a range from a YAML path.\n *\n * The created model is configured for YAML language support.\n * The `getRangeFromPath` method returns a Monaco Range object indicating the text range\n * that corresponds to a given path in the YAML document, or null if the path is not found.\n */\nexport const createYamlModel = (value?: string): EditorModel => {\n const model = monaco.editor.createModel(value ?? '', 'yaml')\n\n // Configure language support\n configureYaml(model.uri.toString())\n\n return {\n model,\n getRangeFromPath: (path: Path) => {\n const range = getYamlNodeRangeFromPath(model.getValue(), path)\n if (!range) {\n return null\n }\n\n const start = model.getPositionAt(range.startOffset)\n const end = model.getPositionAt(range.endOffset)\n\n return new monaco.Range(start.lineNumber, start.column, end.lineNumber, end.column)\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAgBA,IAAa,mBAAmB,UAAgC;CAC9D,MAAM,QAAQ,OAAO,OAAO,YAAY,SAAS,IAAI,OAAO;AAG5D,eAAc,MAAM,IAAI,UAAU,CAAC;AAEnC,QAAO;EACL;EACA,mBAAmB,SAAe;GAChC,MAAM,QAAQ,yBAAyB,MAAM,UAAU,EAAE,KAAK;AAC9D,OAAI,CAAC,MACH,QAAO;GAGT,MAAM,QAAQ,MAAM,cAAc,MAAM,YAAY;GACpD,MAAM,MAAM,MAAM,cAAc,MAAM,UAAU;AAEhD,UAAO,IAAI,OAAO,MAAM,MAAM,YAAY,MAAM,QAAQ,IAAI,YAAY,IAAI,OAAO;;EAEtF"}
@@ -1,19 +0,0 @@
1
- import type { Path } from '../../../../../v2/features/editor/helpers/model';
2
- type YamlNodeRange = {
3
- startOffset: number;
4
- endOffset: number;
5
- };
6
- /**
7
- * Finds the byte range (offset) in the YAML text corresponding to a JSON path.
8
- * Given a YAML string and a path (array of segments), parses the document and walks
9
- * down the tree to find the target node or key, returning its start and end offsets.
10
- * Will prefer to highlight the "key" part for map entries, to avoid highlighting the value which
11
- * might be offset due to block structure.
12
- *
13
- * @param yamlText The YAML string
14
- * @param path An array representing the path to traverse
15
- * @returns The byte offsets in the YAML string of the node (or null if not found)
16
- */
17
- export declare const getYamlNodeRangeFromPath: (yamlText: string, path: Path) => YamlNodeRange | null;
18
- export {};
19
- //# sourceMappingURL=get-yaml-node-range-from-path.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-yaml-node-range-from-path.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAA;AAE9D,KAAK,aAAa,GAAG;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAaD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,GAAI,UAAU,MAAM,EAAE,MAAM,IAAI,KAAG,aAAa,GAAG,IA0EvF,CAAA"}
@@ -1,70 +0,0 @@
1
- import { isMap, isPair, isScalar, isSeq, parseDocument } from "yaml";
2
- //#region src/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.ts
3
- var isValidYamlRange = (range) => Array.isArray(range) && typeof range[0] === "number" && typeof range[1] === "number";
4
- var safeParseDocument = (yamlText) => {
5
- try {
6
- return parseDocument(yamlText);
7
- } catch {
8
- return null;
9
- }
10
- };
11
- /**
12
- * Finds the byte range (offset) in the YAML text corresponding to a JSON path.
13
- * Given a YAML string and a path (array of segments), parses the document and walks
14
- * down the tree to find the target node or key, returning its start and end offsets.
15
- * Will prefer to highlight the "key" part for map entries, to avoid highlighting the value which
16
- * might be offset due to block structure.
17
- *
18
- * @param yamlText The YAML string
19
- * @param path An array representing the path to traverse
20
- * @returns The byte offsets in the YAML string of the node (or null if not found)
21
- */
22
- var getYamlNodeRangeFromPath = (yamlText, path) => {
23
- const doc = safeParseDocument(yamlText);
24
- if (!doc) return null;
25
- let current = doc.contents;
26
- let lastPair = null;
27
- for (const segment of path) {
28
- if (isMap(current)) {
29
- const key = String(segment);
30
- const pair = current.items.find((p) => {
31
- if (!isPair(p)) return false;
32
- const pairKey = p.key;
33
- return isScalar(pairKey) ? String(pairKey.value) === key : String(pairKey) === key;
34
- });
35
- if (!pair || !isPair(pair)) return null;
36
- lastPair = pair;
37
- current = pair.value;
38
- continue;
39
- }
40
- if (isSeq(current)) {
41
- const index = typeof segment === "number" ? segment : Number.parseInt(String(segment), 10);
42
- if (!Number.isFinite(index) || index < 0 || index >= current.items.length) return null;
43
- lastPair = null;
44
- current = current.items[index];
45
- continue;
46
- }
47
- return null;
48
- }
49
- if (lastPair && isPair(lastPair)) {
50
- const keyRange = lastPair.key?.range;
51
- const valueRange = lastPair.value?.range;
52
- if (!isValidYamlRange(keyRange)) return null;
53
- const startOffset = Math.max(0, keyRange[0]);
54
- return {
55
- startOffset,
56
- endOffset: isValidYamlRange(valueRange) ? Math.max(startOffset, valueRange[1]) : Math.max(startOffset, keyRange[1])
57
- };
58
- }
59
- const nodeRange = current?.range;
60
- if (!isValidYamlRange(nodeRange)) return null;
61
- const startOffset = Math.max(0, nodeRange[0]);
62
- return {
63
- startOffset,
64
- endOffset: Math.max(startOffset, nodeRange[1])
65
- };
66
- };
67
- //#endregion
68
- export { getYamlNodeRangeFromPath };
69
-
70
- //# sourceMappingURL=get-yaml-node-range-from-path.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-yaml-node-range-from-path.js","names":[],"sources":["../../../../../../src/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.ts"],"sourcesContent":["import { isMap, isPair, isScalar, isSeq, parseDocument } from 'yaml'\n\nimport type { Path } from '@/v2/features/editor/helpers/model'\n\ntype YamlNodeRange = {\n startOffset: number\n endOffset: number\n}\n\nconst isValidYamlRange = (range: unknown): range is readonly [number, number, ...unknown[]] =>\n Array.isArray(range) && typeof range[0] === 'number' && typeof range[1] === 'number'\n\nconst safeParseDocument = (yamlText: string) => {\n try {\n return parseDocument(yamlText)\n } catch {\n return null\n }\n}\n\n/**\n * Finds the byte range (offset) in the YAML text corresponding to a JSON path.\n * Given a YAML string and a path (array of segments), parses the document and walks\n * down the tree to find the target node or key, returning its start and end offsets.\n * Will prefer to highlight the \"key\" part for map entries, to avoid highlighting the value which\n * might be offset due to block structure.\n *\n * @param yamlText The YAML string\n * @param path An array representing the path to traverse\n * @returns The byte offsets in the YAML string of the node (or null if not found)\n */\nexport const getYamlNodeRangeFromPath = (yamlText: string, path: Path): YamlNodeRange | null => {\n const doc = safeParseDocument(yamlText)\n if (!doc) {\n return null\n }\n\n let current: unknown = doc.contents\n let lastPair: unknown = null\n\n // Traverse the path, descending through maps and sequences as needed.\n for (const segment of path) {\n if (isMap(current)) {\n const key = String(segment)\n const pair = current.items.find((p) => {\n if (!isPair(p)) {\n return false\n }\n const pairKey = p.key\n return isScalar(pairKey) ? String(pairKey.value) === key : String(pairKey) === key\n })\n\n if (!pair || !isPair(pair)) {\n // Path segment does not exist in this map\n return null\n }\n\n lastPair = pair\n current = pair.value\n continue\n }\n\n if (isSeq(current)) {\n // Ensure we have a valid integer index for arrays\n const index = typeof segment === 'number' ? segment : Number.parseInt(String(segment), 10)\n if (!Number.isFinite(index) || index < 0 || index >= current.items.length) {\n return null\n }\n\n lastPair = null\n current = current.items[index]\n continue\n }\n\n // If current isn't traversable\n return null\n }\n\n // Prefer highlighting the key line for map entries (avoids being off-by-one line for block values).\n if (lastPair && isPair(lastPair)) {\n const keyRange = (lastPair.key as { range?: unknown } | null)?.range\n const valueRange = (lastPair.value as { range?: unknown } | null)?.range\n\n if (!isValidYamlRange(keyRange)) {\n return null\n }\n\n const startOffset = Math.max(0, keyRange[0])\n const endOffset = isValidYamlRange(valueRange)\n ? Math.max(startOffset, valueRange[1])\n : Math.max(startOffset, keyRange[1])\n\n return { startOffset, endOffset }\n }\n\n // For non-map entries, just use the node's own range property if it exists.\n const nodeRange = (current as { range?: unknown } | null)?.range\n if (!isValidYamlRange(nodeRange)) {\n return null\n }\n\n const startOffset = Math.max(0, nodeRange[0])\n const endOffset = Math.max(startOffset, nodeRange[1])\n\n return { startOffset, endOffset }\n}\n"],"mappings":";;AASA,IAAM,oBAAoB,UACxB,MAAM,QAAQ,MAAM,IAAI,OAAO,MAAM,OAAO,YAAY,OAAO,MAAM,OAAO;AAE9E,IAAM,qBAAqB,aAAqB;AAC9C,KAAI;AACF,SAAO,cAAc,SAAS;SACxB;AACN,SAAO;;;;;;;;;;;;;;AAeX,IAAa,4BAA4B,UAAkB,SAAqC;CAC9F,MAAM,MAAM,kBAAkB,SAAS;AACvC,KAAI,CAAC,IACH,QAAO;CAGT,IAAI,UAAmB,IAAI;CAC3B,IAAI,WAAoB;AAGxB,MAAK,MAAM,WAAW,MAAM;AAC1B,MAAI,MAAM,QAAQ,EAAE;GAClB,MAAM,MAAM,OAAO,QAAQ;GAC3B,MAAM,OAAO,QAAQ,MAAM,MAAM,MAAM;AACrC,QAAI,CAAC,OAAO,EAAE,CACZ,QAAO;IAET,MAAM,UAAU,EAAE;AAClB,WAAO,SAAS,QAAQ,GAAG,OAAO,QAAQ,MAAM,KAAK,MAAM,OAAO,QAAQ,KAAK;KAC/E;AAEF,OAAI,CAAC,QAAQ,CAAC,OAAO,KAAK,CAExB,QAAO;AAGT,cAAW;AACX,aAAU,KAAK;AACf;;AAGF,MAAI,MAAM,QAAQ,EAAE;GAElB,MAAM,QAAQ,OAAO,YAAY,WAAW,UAAU,OAAO,SAAS,OAAO,QAAQ,EAAE,GAAG;AAC1F,OAAI,CAAC,OAAO,SAAS,MAAM,IAAI,QAAQ,KAAK,SAAS,QAAQ,MAAM,OACjE,QAAO;AAGT,cAAW;AACX,aAAU,QAAQ,MAAM;AACxB;;AAIF,SAAO;;AAIT,KAAI,YAAY,OAAO,SAAS,EAAE;EAChC,MAAM,WAAY,SAAS,KAAoC;EAC/D,MAAM,aAAc,SAAS,OAAsC;AAEnE,MAAI,CAAC,iBAAiB,SAAS,CAC7B,QAAO;EAGT,MAAM,cAAc,KAAK,IAAI,GAAG,SAAS,GAAG;AAK5C,SAAO;GAAE;GAAa,WAJJ,iBAAiB,WAAW,GAC1C,KAAK,IAAI,aAAa,WAAW,GAAG,GACpC,KAAK,IAAI,aAAa,SAAS,GAAG;GAEL;;CAInC,MAAM,YAAa,SAAwC;AAC3D,KAAI,CAAC,iBAAiB,UAAU,CAC9B,QAAO;CAGT,MAAM,cAAc,KAAK,IAAI,GAAG,UAAU,GAAG;AAG7C,QAAO;EAAE;EAAa,WAFJ,KAAK,IAAI,aAAa,UAAU,GAAG;EAEpB"}
@@ -1,152 +0,0 @@
1
- import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
2
- import { type MaybeRefOrGetter } from 'vue';
3
- export declare const useEditorMarkers: (editorRef: MaybeRefOrGetter<monaco.editor.IStandaloneCodeEditor | undefined>) => {
4
- markers: import("vue").Ref<{
5
- owner: string;
6
- resource: {
7
- readonly scheme: string;
8
- readonly authority: string;
9
- readonly path: string;
10
- readonly query: string;
11
- readonly fragment: string;
12
- readonly fsPath: string;
13
- with: (change: {
14
- scheme?: string;
15
- authority?: string | null;
16
- path?: string | null;
17
- query?: string | null;
18
- fragment?: string | null;
19
- }) => monaco.Uri;
20
- toString: (skipEncoding?: boolean) => string;
21
- toJSON: () => monaco.UriComponents;
22
- };
23
- severity: monaco.MarkerSeverity;
24
- code?: string | {
25
- value: string;
26
- target: {
27
- readonly scheme: string;
28
- readonly authority: string;
29
- readonly path: string;
30
- readonly query: string;
31
- readonly fragment: string;
32
- readonly fsPath: string;
33
- with: (change: {
34
- scheme?: string;
35
- authority?: string | null;
36
- path?: string | null;
37
- query?: string | null;
38
- fragment?: string | null;
39
- }) => monaco.Uri;
40
- toString: (skipEncoding?: boolean) => string;
41
- toJSON: () => monaco.UriComponents;
42
- };
43
- } | undefined;
44
- message: string;
45
- source?: string | undefined;
46
- startLineNumber: number;
47
- startColumn: number;
48
- endLineNumber: number;
49
- endColumn: number;
50
- modelVersionId?: number | undefined;
51
- relatedInformation?: {
52
- resource: {
53
- readonly scheme: string;
54
- readonly authority: string;
55
- readonly path: string;
56
- readonly query: string;
57
- readonly fragment: string;
58
- readonly fsPath: string;
59
- with: (change: {
60
- scheme?: string;
61
- authority?: string | null;
62
- path?: string | null;
63
- query?: string | null;
64
- fragment?: string | null;
65
- }) => monaco.Uri;
66
- toString: (skipEncoding?: boolean) => string;
67
- toJSON: () => monaco.UriComponents;
68
- };
69
- message: string;
70
- startLineNumber: number;
71
- startColumn: number;
72
- endLineNumber: number;
73
- endColumn: number;
74
- }[] | undefined;
75
- tags?: monaco.MarkerTag[] | undefined;
76
- origin?: string | undefined | undefined;
77
- }[], monaco.editor.IMarker[] | {
78
- owner: string;
79
- resource: {
80
- readonly scheme: string;
81
- readonly authority: string;
82
- readonly path: string;
83
- readonly query: string;
84
- readonly fragment: string;
85
- readonly fsPath: string;
86
- with: (change: {
87
- scheme?: string;
88
- authority?: string | null;
89
- path?: string | null;
90
- query?: string | null;
91
- fragment?: string | null;
92
- }) => monaco.Uri;
93
- toString: (skipEncoding?: boolean) => string;
94
- toJSON: () => monaco.UriComponents;
95
- };
96
- severity: monaco.MarkerSeverity;
97
- code?: string | {
98
- value: string;
99
- target: {
100
- readonly scheme: string;
101
- readonly authority: string;
102
- readonly path: string;
103
- readonly query: string;
104
- readonly fragment: string;
105
- readonly fsPath: string;
106
- with: (change: {
107
- scheme?: string;
108
- authority?: string | null;
109
- path?: string | null;
110
- query?: string | null;
111
- fragment?: string | null;
112
- }) => monaco.Uri;
113
- toString: (skipEncoding?: boolean) => string;
114
- toJSON: () => monaco.UriComponents;
115
- };
116
- } | undefined;
117
- message: string;
118
- source?: string | undefined;
119
- startLineNumber: number;
120
- startColumn: number;
121
- endLineNumber: number;
122
- endColumn: number;
123
- modelVersionId?: number | undefined;
124
- relatedInformation?: {
125
- resource: {
126
- readonly scheme: string;
127
- readonly authority: string;
128
- readonly path: string;
129
- readonly query: string;
130
- readonly fragment: string;
131
- readonly fsPath: string;
132
- with: (change: {
133
- scheme?: string;
134
- authority?: string | null;
135
- path?: string | null;
136
- query?: string | null;
137
- fragment?: string | null;
138
- }) => monaco.Uri;
139
- toString: (skipEncoding?: boolean) => string;
140
- toJSON: () => monaco.UriComponents;
141
- };
142
- message: string;
143
- startLineNumber: number;
144
- startColumn: number;
145
- endLineNumber: number;
146
- endColumn: number;
147
- }[] | undefined;
148
- tags?: monaco.MarkerTag[] | undefined;
149
- origin?: string | undefined | undefined;
150
- }[]>;
151
- };
152
- //# sourceMappingURL=use-editor-markers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-editor-markers.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/editor/hooks/use-editor-markers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,2CAA2C,CAAA;AACnE,OAAO,EAAE,KAAK,gBAAgB,EAAmD,MAAM,KAAK,CAAA;AAE5F,eAAO,MAAM,gBAAgB,GAAI,WAAW,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,qBAAqB,GAAG,SAAS,CAAC;;;;;;;;;;;sBAkDs5H,CAAC;yBAAqB,CAAC;oBAAuB,CAAC;qBAAwB,CAAC;wBAA2B,CAAC;;;;;;;;;;;;;;;;0BAApG,CAAC;6BAAqB,CAAC;wBAAuB,CAAC;yBAAwB,CAAC;4BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;0BAApG,CAAC;6BAAqB,CAAC;wBAAuB,CAAC;yBAAwB,CAAC;4BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAApG,CAAC;yBAAqB,CAAC;oBAAuB,CAAC;qBAAwB,CAAC;wBAA2B,CAAC;;;;;;;;;;;;;;;;0BAApG,CAAC;6BAAqB,CAAC;wBAAuB,CAAC;yBAAwB,CAAC;4BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;0BAApG,CAAC;6BAAqB,CAAC;wBAAuB,CAAC;yBAAwB,CAAC;4BAA2B,CAAC;;;;;;;;;;;;;;CADtmI,CAAA"}