@scalar/api-client 3.6.1 → 3.8.1

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 (905) hide show
  1. package/CHANGELOG.md +157 -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 +214 -1651
  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/AuthSelector.vue.script.js.map +1 -1
  131. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -2
  132. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +30 -20
  133. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  134. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js.map +1 -1
  135. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js +43 -21
  136. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js.map +1 -1
  137. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +15 -2
  138. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
  139. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +1 -3
  140. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js.map +1 -1
  141. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js +74 -28
  142. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js.map +1 -1
  143. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +30 -20
  144. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
  145. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js.map +1 -1
  146. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js +190 -72
  147. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js.map +1 -1
  148. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  149. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js.map +1 -1
  150. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js +7 -1
  151. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js.map +1 -1
  152. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +26 -10
  153. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  154. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js.map +1 -1
  155. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js +25 -3
  156. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js.map +1 -1
  157. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  158. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +12 -3
  159. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js.map +1 -1
  160. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +1 -0
  161. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
  162. package/dist/v2/components/code-input/CodeInput.vue.d.ts +4 -4
  163. package/dist/v2/components/code-input/CodeInput.vue.script.js +1 -1
  164. package/dist/v2/components/code-input/code-variable-widget.js +1 -1
  165. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +2 -2
  166. package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -2
  167. package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -2
  168. package/dist/v2/components/server/ServerDropdown.vue.js.map +1 -1
  169. package/dist/v2/components/server/ServerDropdown.vue.script.js +1 -1
  170. package/dist/v2/components/server/ServerDropdown.vue.script.js.map +1 -1
  171. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  172. package/dist/v2/components/sidebar/Sidebar.vue.js.map +1 -1
  173. package/dist/v2/components/sidebar/Sidebar.vue.script.js +4 -3
  174. package/dist/v2/components/sidebar/Sidebar.vue.script.js.map +1 -1
  175. package/dist/v2/constants.js +1 -1
  176. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +2 -2
  177. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +2 -2
  178. package/dist/v2/features/command-palette/index.d.ts +0 -2
  179. package/dist/v2/features/command-palette/index.d.ts.map +1 -1
  180. package/dist/v2/features/command-palette/index.js +1 -3
  181. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -2
  182. package/dist/v2/features/modal/Modal.vue.d.ts +5 -7
  183. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  184. package/dist/v2/features/modal/Modal.vue.js.map +1 -1
  185. package/dist/v2/features/modal/Modal.vue.script.js +3 -3
  186. package/dist/v2/features/modal/Modal.vue.script.js.map +1 -1
  187. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +1 -1
  188. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
  189. package/dist/v2/features/modal/helpers/create-api-client-modal.js +8 -3
  190. package/dist/v2/features/modal/helpers/create-api-client-modal.js.map +1 -1
  191. package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts +5 -1
  192. package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts.map +1 -1
  193. package/dist/v2/features/modal/helpers/resolve-route-parameters.js +15 -4
  194. package/dist/v2/features/modal/helpers/resolve-route-parameters.js.map +1 -1
  195. package/dist/v2/features/modal/hooks/use-modal-sidebar.d.ts.map +1 -1
  196. package/dist/v2/features/modal/hooks/use-modal-sidebar.js +5 -1
  197. package/dist/v2/features/modal/hooks/use-modal-sidebar.js.map +1 -1
  198. package/dist/v2/features/modal/index.js +1 -1
  199. package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
  200. package/dist/v2/features/modal/modal-events.js +10 -6
  201. package/dist/v2/features/modal/modal-events.js.map +1 -1
  202. package/dist/v2/features/operation/Operation.vue.d.ts +35 -3
  203. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  204. package/dist/v2/features/operation/Operation.vue.js.map +1 -1
  205. package/dist/v2/features/operation/Operation.vue.script.js +1 -9
  206. package/dist/v2/features/operation/Operation.vue.script.js.map +1 -1
  207. package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
  208. package/dist/v2/helpers/handle-hotkeys.js +4 -0
  209. package/dist/v2/helpers/handle-hotkeys.js.map +1 -1
  210. package/dist/v2/helpers/test-utils.d.ts +2 -0
  211. package/dist/v2/helpers/test-utils.d.ts.map +1 -1
  212. package/dist/v2/helpers/test-utils.js +18 -0
  213. package/dist/v2/helpers/test-utils.js.map +1 -0
  214. package/dist/v2/hooks/index.d.ts +2 -0
  215. package/dist/v2/hooks/index.d.ts.map +1 -0
  216. package/dist/v2/hooks/index.js +2 -0
  217. package/dist/v2/types/options.d.ts +1 -1
  218. package/dist/v2/types/options.d.ts.map +1 -1
  219. package/dist/v2/workspace-events.d.ts.map +1 -1
  220. package/dist/v2/workspace-events.js +2 -0
  221. package/dist/v2/workspace-events.js.map +1 -1
  222. package/dist/vue-styles.css +108 -658
  223. package/package.json +68 -97
  224. package/dist/components/IconSelector.vue.d.ts +0 -27
  225. package/dist/components/IconSelector.vue.d.ts.map +0 -1
  226. package/dist/components/IconSelector.vue.js +0 -7
  227. package/dist/components/IconSelector.vue.js.map +0 -1
  228. package/dist/components/IconSelector.vue.script.js +0 -65
  229. package/dist/components/IconSelector.vue.script.js.map +0 -1
  230. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +0 -7
  231. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +0 -1
  232. package/dist/components/ImportCollection/IntegrationLogo.vue.js +0 -7
  233. package/dist/components/ImportCollection/IntegrationLogo.vue.js.map +0 -1
  234. package/dist/components/ImportCollection/IntegrationLogo.vue.script.js +0 -50
  235. package/dist/components/ImportCollection/IntegrationLogo.vue.script.js.map +0 -1
  236. package/dist/components/ScalarAsciiArt.vue.d.ts.map +0 -1
  237. package/dist/components/ScalarAsciiArt.vue.js.map +0 -1
  238. package/dist/components/ScalarAsciiArt.vue.script.js.map +0 -1
  239. package/dist/index.d.ts +0 -2
  240. package/dist/index.d.ts.map +0 -1
  241. package/dist/monacoeditorwork/editor.worker.bundle.js +0 -14319
  242. package/dist/monacoeditorwork/json.worker.bundle.js +0 -22098
  243. package/dist/monacoeditorwork/yaml.worker.bundle.js +0 -38414
  244. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts +0 -42
  245. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +0 -1
  246. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +0 -61
  247. package/dist/v2/blocks/request-block/helpers/get-default-headers.js.map +0 -1
  248. package/dist/v2/features/app/App.vue.d.ts +0 -75
  249. package/dist/v2/features/app/App.vue.d.ts.map +0 -1
  250. package/dist/v2/features/app/App.vue.js +0 -8
  251. package/dist/v2/features/app/App.vue.js.map +0 -1
  252. package/dist/v2/features/app/App.vue.script.js +0 -284
  253. package/dist/v2/features/app/App.vue.script.js.map +0 -1
  254. package/dist/v2/features/app/app-events.d.ts +0 -20
  255. package/dist/v2/features/app/app-events.d.ts.map +0 -1
  256. package/dist/v2/features/app/app-events.js +0 -254
  257. package/dist/v2/features/app/app-events.js.map +0 -1
  258. package/dist/v2/features/app/app-state.d.ts +0 -156
  259. package/dist/v2/features/app/app-state.d.ts.map +0 -1
  260. package/dist/v2/features/app/app-state.js +0 -717
  261. package/dist/v2/features/app/app-state.js.map +0 -1
  262. package/dist/v2/features/app/components/AppHeader.vue.d.ts +0 -43
  263. package/dist/v2/features/app/components/AppHeader.vue.d.ts.map +0 -1
  264. package/dist/v2/features/app/components/AppHeader.vue.js +0 -7
  265. package/dist/v2/features/app/components/AppHeader.vue.js.map +0 -1
  266. package/dist/v2/features/app/components/AppHeader.vue.script.js +0 -53
  267. package/dist/v2/features/app/components/AppHeader.vue.script.js.map +0 -1
  268. package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts +0 -32
  269. package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts.map +0 -1
  270. package/dist/v2/features/app/components/AppHeaderActions.vue.js +0 -7
  271. package/dist/v2/features/app/components/AppHeaderActions.vue.js.map +0 -1
  272. package/dist/v2/features/app/components/AppHeaderActions.vue.script.js +0 -172
  273. package/dist/v2/features/app/components/AppHeaderActions.vue.script.js.map +0 -1
  274. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +0 -37
  275. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +0 -1
  276. package/dist/v2/features/app/components/AppSidebar.vue.js +0 -9
  277. package/dist/v2/features/app/components/AppSidebar.vue.js.map +0 -1
  278. package/dist/v2/features/app/components/AppSidebar.vue.script.js +0 -466
  279. package/dist/v2/features/app/components/AppSidebar.vue.script.js.map +0 -1
  280. package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts +0 -28
  281. package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts.map +0 -1
  282. package/dist/v2/features/app/components/CreateVersionModal.vue.js +0 -7
  283. package/dist/v2/features/app/components/CreateVersionModal.vue.js.map +0 -1
  284. package/dist/v2/features/app/components/CreateVersionModal.vue.script.js +0 -84
  285. package/dist/v2/features/app/components/CreateVersionModal.vue.script.js.map +0 -1
  286. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +0 -16
  287. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +0 -1
  288. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +0 -7
  289. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js.map +0 -1
  290. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js +0 -58
  291. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js.map +0 -1
  292. package/dist/v2/features/app/components/DesktopTab.vue.d.ts +0 -27
  293. package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +0 -1
  294. package/dist/v2/features/app/components/DesktopTab.vue.js +0 -9
  295. package/dist/v2/features/app/components/DesktopTab.vue.js.map +0 -1
  296. package/dist/v2/features/app/components/DesktopTab.vue.script.js +0 -121
  297. package/dist/v2/features/app/components/DesktopTab.vue.script.js.map +0 -1
  298. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +0 -14
  299. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +0 -1
  300. package/dist/v2/features/app/components/DesktopTabs.vue.js +0 -7
  301. package/dist/v2/features/app/components/DesktopTabs.vue.js.map +0 -1
  302. package/dist/v2/features/app/components/DesktopTabs.vue.script.js +0 -75
  303. package/dist/v2/features/app/components/DesktopTabs.vue.script.js.map +0 -1
  304. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts +0 -25
  305. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts.map +0 -1
  306. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js +0 -9
  307. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js.map +0 -1
  308. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js +0 -345
  309. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js.map +0 -1
  310. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts +0 -16
  311. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts.map +0 -1
  312. package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts +0 -77
  313. package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts.map +0 -1
  314. package/dist/v2/features/app/components/PublishDocumentModal.vue.js +0 -7
  315. package/dist/v2/features/app/components/PublishDocumentModal.vue.js.map +0 -1
  316. package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js +0 -209
  317. package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js.map +0 -1
  318. package/dist/v2/features/app/components/SidebarDocument.vue.d.ts +0 -45
  319. package/dist/v2/features/app/components/SidebarDocument.vue.d.ts.map +0 -1
  320. package/dist/v2/features/app/components/SidebarDocument.vue.js +0 -7
  321. package/dist/v2/features/app/components/SidebarDocument.vue.js.map +0 -1
  322. package/dist/v2/features/app/components/SidebarDocument.vue.script.js +0 -137
  323. package/dist/v2/features/app/components/SidebarDocument.vue.script.js.map +0 -1
  324. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +0 -26
  325. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +0 -1
  326. package/dist/v2/features/app/components/SidebarItemMenu.vue.js +0 -7
  327. package/dist/v2/features/app/components/SidebarItemMenu.vue.js.map +0 -1
  328. package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js +0 -175
  329. package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js.map +0 -1
  330. package/dist/v2/features/app/components/SplashScreen.vue.d.ts +0 -4
  331. package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +0 -1
  332. package/dist/v2/features/app/components/SplashScreen.vue.js +0 -9
  333. package/dist/v2/features/app/components/SplashScreen.vue.js.map +0 -1
  334. package/dist/v2/features/app/components/SplashScreen.vue.script.js +0 -20
  335. package/dist/v2/features/app/components/SplashScreen.vue.script.js.map +0 -1
  336. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts +0 -18
  337. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts.map +0 -1
  338. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js +0 -9
  339. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js.map +0 -1
  340. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js +0 -136
  341. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js.map +0 -1
  342. package/dist/v2/features/app/components/index.d.ts +0 -2
  343. package/dist/v2/features/app/components/index.d.ts.map +0 -1
  344. package/dist/v2/features/app/components/index.js +0 -2
  345. package/dist/v2/features/app/helpers/check-version-conflict.d.ts +0 -54
  346. package/dist/v2/features/app/helpers/check-version-conflict.d.ts.map +0 -1
  347. package/dist/v2/features/app/helpers/check-version-conflict.js +0 -82
  348. package/dist/v2/features/app/helpers/check-version-conflict.js.map +0 -1
  349. package/dist/v2/features/app/helpers/compute-version-status.d.ts +0 -45
  350. package/dist/v2/features/app/helpers/compute-version-status.d.ts.map +0 -1
  351. package/dist/v2/features/app/helpers/compute-version-status.js +0 -18
  352. package/dist/v2/features/app/helpers/compute-version-status.js.map +0 -1
  353. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +0 -59
  354. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +0 -1
  355. package/dist/v2/features/app/helpers/create-api-client-app.js +0 -55
  356. package/dist/v2/features/app/helpers/create-api-client-app.js.map +0 -1
  357. package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts +0 -39
  358. package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts.map +0 -1
  359. package/dist/v2/features/app/helpers/create-draft-registry-document.js +0 -64
  360. package/dist/v2/features/app/helpers/create-draft-registry-document.js.map +0 -1
  361. package/dist/v2/features/app/helpers/create-temp-operation.d.ts +0 -14
  362. package/dist/v2/features/app/helpers/create-temp-operation.d.ts.map +0 -1
  363. package/dist/v2/features/app/helpers/create-temp-operation.js +0 -52
  364. package/dist/v2/features/app/helpers/create-temp-operation.js.map +0 -1
  365. package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts +0 -26
  366. package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts.map +0 -1
  367. package/dist/v2/features/app/helpers/detect-document-conflicts.js +0 -27
  368. package/dist/v2/features/app/helpers/detect-document-conflicts.js.map +0 -1
  369. package/dist/v2/features/app/helpers/filter-workspaces.d.ts +0 -49
  370. package/dist/v2/features/app/helpers/filter-workspaces.d.ts.map +0 -1
  371. package/dist/v2/features/app/helpers/filter-workspaces.js +0 -55
  372. package/dist/v2/features/app/helpers/filter-workspaces.js.map +0 -1
  373. package/dist/v2/features/app/helpers/get-route-param.d.ts +0 -7
  374. package/dist/v2/features/app/helpers/get-route-param.d.ts.map +0 -1
  375. package/dist/v2/features/app/helpers/get-route-param.js +0 -12
  376. package/dist/v2/features/app/helpers/get-route-param.js.map +0 -1
  377. package/dist/v2/features/app/helpers/group-workspaces.d.ts +0 -44
  378. package/dist/v2/features/app/helpers/group-workspaces.d.ts.map +0 -1
  379. package/dist/v2/features/app/helpers/group-workspaces.js +0 -53
  380. package/dist/v2/features/app/helpers/group-workspaces.js.map +0 -1
  381. package/dist/v2/features/app/helpers/load-registry-document.d.ts +0 -24
  382. package/dist/v2/features/app/helpers/load-registry-document.d.ts.map +0 -1
  383. package/dist/v2/features/app/helpers/load-registry-document.js +0 -47
  384. package/dist/v2/features/app/helpers/load-registry-document.js.map +0 -1
  385. package/dist/v2/features/app/helpers/registry-error-messages.d.ts +0 -23
  386. package/dist/v2/features/app/helpers/registry-error-messages.d.ts.map +0 -1
  387. package/dist/v2/features/app/helpers/registry-error-messages.js +0 -63
  388. package/dist/v2/features/app/helpers/registry-error-messages.js.map +0 -1
  389. package/dist/v2/features/app/helpers/routes.d.ts +0 -184
  390. package/dist/v2/features/app/helpers/routes.d.ts.map +0 -1
  391. package/dist/v2/features/app/helpers/routes.js +0 -153
  392. package/dist/v2/features/app/helpers/routes.js.map +0 -1
  393. package/dist/v2/features/app/helpers/version-status-presentation.d.ts +0 -24
  394. package/dist/v2/features/app/helpers/version-status-presentation.d.ts.map +0 -1
  395. package/dist/v2/features/app/helpers/version-status-presentation.js +0 -43
  396. package/dist/v2/features/app/helpers/version-status-presentation.js.map +0 -1
  397. package/dist/v2/features/app/hooks/use-active-document-version.d.ts +0 -42
  398. package/dist/v2/features/app/hooks/use-active-document-version.d.ts.map +0 -1
  399. package/dist/v2/features/app/hooks/use-active-document-version.js +0 -60
  400. package/dist/v2/features/app/hooks/use-active-document-version.js.map +0 -1
  401. package/dist/v2/features/app/hooks/use-document-filter.d.ts +0 -38
  402. package/dist/v2/features/app/hooks/use-document-filter.d.ts.map +0 -1
  403. package/dist/v2/features/app/hooks/use-document-filter.js +0 -63
  404. package/dist/v2/features/app/hooks/use-document-filter.js.map +0 -1
  405. package/dist/v2/features/app/hooks/use-document-sync.d.ts +0 -126
  406. package/dist/v2/features/app/hooks/use-document-sync.d.ts.map +0 -1
  407. package/dist/v2/features/app/hooks/use-document-sync.js +0 -448
  408. package/dist/v2/features/app/hooks/use-document-sync.js.map +0 -1
  409. package/dist/v2/features/app/hooks/use-document-watcher.d.ts +0 -30
  410. package/dist/v2/features/app/hooks/use-document-watcher.d.ts.map +0 -1
  411. package/dist/v2/features/app/hooks/use-document-watcher.js +0 -168
  412. package/dist/v2/features/app/hooks/use-document-watcher.js.map +0 -1
  413. package/dist/v2/features/app/hooks/use-network-status.d.ts +0 -29
  414. package/dist/v2/features/app/hooks/use-network-status.d.ts.map +0 -1
  415. package/dist/v2/features/app/hooks/use-network-status.js +0 -58
  416. package/dist/v2/features/app/hooks/use-network-status.js.map +0 -1
  417. package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts +0 -17258
  418. package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts.map +0 -1
  419. package/dist/v2/features/app/hooks/use-sidebar-context-menu.js +0 -107
  420. package/dist/v2/features/app/hooks/use-sidebar-context-menu.js.map +0 -1
  421. package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts +0 -119
  422. package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts.map +0 -1
  423. package/dist/v2/features/app/hooks/use-sidebar-documents.js +0 -219
  424. package/dist/v2/features/app/hooks/use-sidebar-documents.js.map +0 -1
  425. package/dist/v2/features/app/hooks/use-theme.d.ts +0 -56
  426. package/dist/v2/features/app/hooks/use-theme.d.ts.map +0 -1
  427. package/dist/v2/features/app/hooks/use-theme.js +0 -94
  428. package/dist/v2/features/app/hooks/use-theme.js.map +0 -1
  429. package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts +0 -35
  430. package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts.map +0 -1
  431. package/dist/v2/features/app/hooks/use-version-conflict-check.js +0 -62
  432. package/dist/v2/features/app/hooks/use-version-conflict-check.js.map +0 -1
  433. package/dist/v2/features/app/index.d.ts +0 -10
  434. package/dist/v2/features/app/index.d.ts.map +0 -1
  435. package/dist/v2/features/app/index.js +0 -8
  436. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +0 -13
  437. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +0 -1
  438. package/dist/v2/features/collection/DocumentCollection.vue.js +0 -8
  439. package/dist/v2/features/collection/DocumentCollection.vue.js.map +0 -1
  440. package/dist/v2/features/collection/DocumentCollection.vue.script.js +0 -112
  441. package/dist/v2/features/collection/DocumentCollection.vue.script.js.map +0 -1
  442. package/dist/v2/features/collection/OperationCollection.vue.d.ts +0 -6
  443. package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +0 -1
  444. package/dist/v2/features/collection/OperationCollection.vue.js +0 -7
  445. package/dist/v2/features/collection/OperationCollection.vue.js.map +0 -1
  446. package/dist/v2/features/collection/OperationCollection.vue.script.js +0 -95
  447. package/dist/v2/features/collection/OperationCollection.vue.script.js.map +0 -1
  448. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +0 -6
  449. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +0 -1
  450. package/dist/v2/features/collection/WorkspaceCollection.vue.js +0 -7
  451. package/dist/v2/features/collection/WorkspaceCollection.vue.js.map +0 -1
  452. package/dist/v2/features/collection/WorkspaceCollection.vue.script.js +0 -74
  453. package/dist/v2/features/collection/WorkspaceCollection.vue.script.js.map +0 -1
  454. package/dist/v2/features/collection/components/Authentication.vue.d.ts +0 -16
  455. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +0 -1
  456. package/dist/v2/features/collection/components/Authentication.vue.js +0 -9
  457. package/dist/v2/features/collection/components/Authentication.vue.js.map +0 -1
  458. package/dist/v2/features/collection/components/Authentication.vue.script.js +0 -174
  459. package/dist/v2/features/collection/components/Authentication.vue.script.js.map +0 -1
  460. package/dist/v2/features/collection/components/Cookies.vue.d.ts +0 -21
  461. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +0 -1
  462. package/dist/v2/features/collection/components/Cookies.vue.js +0 -7
  463. package/dist/v2/features/collection/components/Cookies.vue.js.map +0 -1
  464. package/dist/v2/features/collection/components/Cookies.vue.script.js +0 -58
  465. package/dist/v2/features/collection/components/Cookies.vue.script.js.map +0 -1
  466. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts +0 -12
  467. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts.map +0 -1
  468. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js +0 -9
  469. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js.map +0 -1
  470. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js +0 -174
  471. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js.map +0 -1
  472. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +0 -16
  473. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts.map +0 -1
  474. package/dist/v2/features/collection/components/Editor/Editor.vue.js +0 -9
  475. package/dist/v2/features/collection/components/Editor/Editor.vue.js.map +0 -1
  476. package/dist/v2/features/collection/components/Editor/Editor.vue.script.js +0 -361
  477. package/dist/v2/features/collection/components/Editor/Editor.vue.script.js.map +0 -1
  478. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts +0 -19
  479. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts.map +0 -1
  480. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js +0 -7
  481. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js.map +0 -1
  482. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js +0 -69
  483. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js.map +0 -1
  484. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts +0 -16
  485. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts.map +0 -1
  486. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js +0 -7
  487. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js.map +0 -1
  488. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js +0 -91
  489. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js.map +0 -1
  490. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts +0 -12
  491. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts.map +0 -1
  492. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js +0 -22
  493. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js.map +0 -1
  494. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts +0 -11
  495. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts.map +0 -1
  496. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js +0 -17
  497. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js.map +0 -1
  498. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts +0 -7
  499. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts.map +0 -1
  500. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js +0 -17
  501. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js.map +0 -1
  502. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts +0 -10
  503. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts.map +0 -1
  504. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +0 -34
  505. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js.map +0 -1
  506. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts +0 -10
  507. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts.map +0 -1
  508. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js +0 -18
  509. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js.map +0 -1
  510. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +0 -15
  511. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts.map +0 -1
  512. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +0 -36
  513. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js.map +0 -1
  514. package/dist/v2/features/collection/components/Editor/index.d.ts +0 -2
  515. package/dist/v2/features/collection/components/Editor/index.d.ts.map +0 -1
  516. package/dist/v2/features/collection/components/Editor/index.js +0 -2
  517. package/dist/v2/features/collection/components/Environment.vue.d.ts +0 -21
  518. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +0 -1
  519. package/dist/v2/features/collection/components/Environment.vue.js +0 -7
  520. package/dist/v2/features/collection/components/Environment.vue.js.map +0 -1
  521. package/dist/v2/features/collection/components/Environment.vue.script.js +0 -61
  522. package/dist/v2/features/collection/components/Environment.vue.script.js.map +0 -1
  523. package/dist/v2/features/collection/components/Form.vue.d.ts +0 -29
  524. package/dist/v2/features/collection/components/Form.vue.d.ts.map +0 -1
  525. package/dist/v2/features/collection/components/Form.vue.js +0 -7
  526. package/dist/v2/features/collection/components/Form.vue.js.map +0 -1
  527. package/dist/v2/features/collection/components/Form.vue.script.js +0 -78
  528. package/dist/v2/features/collection/components/Form.vue.script.js.map +0 -1
  529. package/dist/v2/features/collection/components/GetStarted.vue.d.ts +0 -21
  530. package/dist/v2/features/collection/components/GetStarted.vue.d.ts.map +0 -1
  531. package/dist/v2/features/collection/components/GetStarted.vue.js +0 -7
  532. package/dist/v2/features/collection/components/GetStarted.vue.js.map +0 -1
  533. package/dist/v2/features/collection/components/GetStarted.vue.script.js +0 -144
  534. package/dist/v2/features/collection/components/GetStarted.vue.script.js.map +0 -1
  535. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +0 -18
  536. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +0 -1
  537. package/dist/v2/features/collection/components/LabelInput.vue.js +0 -9
  538. package/dist/v2/features/collection/components/LabelInput.vue.js.map +0 -1
  539. package/dist/v2/features/collection/components/LabelInput.vue.script.js +0 -38
  540. package/dist/v2/features/collection/components/LabelInput.vue.script.js.map +0 -1
  541. package/dist/v2/features/collection/components/Overview.vue.d.ts +0 -16
  542. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +0 -1
  543. package/dist/v2/features/collection/components/Overview.vue.js +0 -9
  544. package/dist/v2/features/collection/components/Overview.vue.js.map +0 -1
  545. package/dist/v2/features/collection/components/Overview.vue.script.js +0 -204
  546. package/dist/v2/features/collection/components/Overview.vue.script.js.map +0 -1
  547. package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts +0 -16
  548. package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts.map +0 -1
  549. package/dist/v2/features/collection/components/Runner/components/Runner.vue.js +0 -7
  550. package/dist/v2/features/collection/components/Runner/components/Runner.vue.js.map +0 -1
  551. package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js +0 -223
  552. package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js.map +0 -1
  553. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts +0 -20
  554. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts.map +0 -1
  555. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js +0 -7
  556. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js.map +0 -1
  557. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js +0 -45
  558. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js.map +0 -1
  559. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts +0 -19
  560. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts.map +0 -1
  561. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js +0 -7
  562. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js.map +0 -1
  563. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js +0 -73
  564. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js.map +0 -1
  565. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts +0 -16
  566. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts.map +0 -1
  567. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js +0 -7
  568. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js.map +0 -1
  569. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js +0 -124
  570. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js.map +0 -1
  571. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts +0 -17
  572. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts.map +0 -1
  573. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js +0 -7
  574. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js.map +0 -1
  575. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js +0 -126
  576. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js.map +0 -1
  577. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts +0 -18
  578. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts.map +0 -1
  579. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js +0 -7
  580. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js.map +0 -1
  581. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js +0 -180
  582. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js.map +0 -1
  583. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts +0 -14
  584. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts.map +0 -1
  585. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js +0 -7
  586. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js.map +0 -1
  587. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js +0 -44
  588. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js.map +0 -1
  589. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts +0 -19
  590. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts.map +0 -1
  591. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js +0 -7
  592. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js.map +0 -1
  593. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js +0 -53
  594. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js.map +0 -1
  595. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts +0 -23
  596. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts.map +0 -1
  597. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js +0 -7
  598. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js.map +0 -1
  599. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js +0 -75
  600. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js.map +0 -1
  601. package/dist/v2/features/collection/components/Runner/hooks/index.d.ts +0 -3
  602. package/dist/v2/features/collection/components/Runner/hooks/index.d.ts.map +0 -1
  603. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts +0 -75
  604. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts.map +0 -1
  605. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js +0 -191
  606. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js.map +0 -1
  607. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts +0 -46
  608. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts.map +0 -1
  609. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js +0 -114
  610. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js.map +0 -1
  611. package/dist/v2/features/collection/components/Runner/index.d.ts +0 -2
  612. package/dist/v2/features/collection/components/Runner/index.d.ts.map +0 -1
  613. package/dist/v2/features/collection/components/Scripts.vue.d.ts +0 -16
  614. package/dist/v2/features/collection/components/Scripts.vue.d.ts.map +0 -1
  615. package/dist/v2/features/collection/components/Scripts.vue.js +0 -7
  616. package/dist/v2/features/collection/components/Scripts.vue.js.map +0 -1
  617. package/dist/v2/features/collection/components/Scripts.vue.script.js +0 -49
  618. package/dist/v2/features/collection/components/Scripts.vue.script.js.map +0 -1
  619. package/dist/v2/features/collection/components/Servers.vue.d.ts +0 -16
  620. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +0 -1
  621. package/dist/v2/features/collection/components/Servers.vue.js +0 -7
  622. package/dist/v2/features/collection/components/Servers.vue.js.map +0 -1
  623. package/dist/v2/features/collection/components/Servers.vue.script.js +0 -219
  624. package/dist/v2/features/collection/components/Servers.vue.script.js.map +0 -1
  625. package/dist/v2/features/collection/components/Settings.vue.d.ts +0 -16
  626. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +0 -1
  627. package/dist/v2/features/collection/components/Settings.vue.js +0 -7
  628. package/dist/v2/features/collection/components/Settings.vue.js.map +0 -1
  629. package/dist/v2/features/collection/components/Settings.vue.script.js +0 -81
  630. package/dist/v2/features/collection/components/Settings.vue.script.js.map +0 -1
  631. package/dist/v2/features/collection/components/Tabs.vue.d.ts +0 -8
  632. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +0 -1
  633. package/dist/v2/features/collection/components/Tabs.vue.js +0 -7
  634. package/dist/v2/features/collection/components/Tabs.vue.js.map +0 -1
  635. package/dist/v2/features/collection/components/Tabs.vue.script.js +0 -55
  636. package/dist/v2/features/collection/components/Tabs.vue.script.js.map +0 -1
  637. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts +0 -12
  638. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts.map +0 -1
  639. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js +0 -19
  640. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js.map +0 -1
  641. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +0 -42
  642. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +0 -1
  643. package/dist/v2/features/command-palette/TheCommandPalette.vue.js +0 -9
  644. package/dist/v2/features/command-palette/TheCommandPalette.vue.js.map +0 -1
  645. package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js +0 -189
  646. package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js.map +0 -1
  647. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +0 -49
  648. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +0 -1
  649. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +0 -7
  650. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js.map +0 -1
  651. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js +0 -225
  652. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js.map +0 -1
  653. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +0 -53
  654. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +0 -1
  655. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +0 -7
  656. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js.map +0 -1
  657. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js +0 -227
  658. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js.map +0 -1
  659. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +0 -44
  660. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +0 -1
  661. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js +0 -9
  662. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js.map +0 -1
  663. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js +0 -137
  664. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js.map +0 -1
  665. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts +0 -30
  666. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts.map +0 -1
  667. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js +0 -7
  668. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js.map +0 -1
  669. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js +0 -156
  670. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js.map +0 -1
  671. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts +0 -37
  672. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts.map +0 -1
  673. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js +0 -7
  674. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js.map +0 -1
  675. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js +0 -105
  676. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js.map +0 -1
  677. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +0 -48
  678. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +0 -1
  679. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +0 -7
  680. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js.map +0 -1
  681. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js +0 -228
  682. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js.map +0 -1
  683. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +0 -65
  684. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +0 -1
  685. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +0 -7
  686. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js.map +0 -1
  687. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js +0 -142
  688. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js.map +0 -1
  689. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts +0 -58
  690. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts.map +0 -1
  691. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js +0 -9
  692. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js.map +0 -1
  693. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js +0 -142
  694. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js.map +0 -1
  695. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts +0 -23
  696. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts.map +0 -1
  697. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js +0 -9
  698. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js.map +0 -1
  699. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js +0 -138
  700. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js.map +0 -1
  701. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +0 -34
  702. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +0 -1
  703. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js +0 -7
  704. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js.map +0 -1
  705. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js +0 -39
  706. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js.map +0 -1
  707. package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts +0 -20
  708. package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts.map +0 -1
  709. package/dist/v2/features/command-palette/helpers/generate-unique-slug.js +0 -33
  710. package/dist/v2/features/command-palette/helpers/generate-unique-slug.js.map +0 -1
  711. package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts +0 -11
  712. package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts.map +0 -1
  713. package/dist/v2/features/command-palette/helpers/get-merge-key.js +0 -32
  714. package/dist/v2/features/command-palette/helpers/get-merge-key.js.map +0 -1
  715. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts +0 -24
  716. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts.map +0 -1
  717. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js +0 -56
  718. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js.map +0 -1
  719. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts +0 -24
  720. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts.map +0 -1
  721. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js +0 -22
  722. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js.map +0 -1
  723. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts +0 -26
  724. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts.map +0 -1
  725. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js +0 -119
  726. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js.map +0 -1
  727. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts +0 -14
  728. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts.map +0 -1
  729. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js +0 -19
  730. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js.map +0 -1
  731. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts +0 -28
  732. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts.map +0 -1
  733. package/dist/v2/features/command-palette/helpers/get-postman-document-details.js +0 -36
  734. package/dist/v2/features/command-palette/helpers/get-postman-document-details.js.map +0 -1
  735. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts +0 -30
  736. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts.map +0 -1
  737. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js +0 -70
  738. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js.map +0 -1
  739. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts +0 -20
  740. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +0 -1
  741. package/dist/v2/features/command-palette/helpers/load-document-from-source.js +0 -72
  742. package/dist/v2/features/command-palette/helpers/load-document-from-source.js.map +0 -1
  743. package/dist/v2/features/command-palette/helpers/parse-curl.d.ts +0 -14
  744. package/dist/v2/features/command-palette/helpers/parse-curl.d.ts.map +0 -1
  745. package/dist/v2/features/command-palette/helpers/parse-curl.js +0 -106
  746. package/dist/v2/features/command-palette/helpers/parse-curl.js.map +0 -1
  747. package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts +0 -11
  748. package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts.map +0 -1
  749. package/dist/v2/features/command-palette/helpers/postman-request-collisions.js +0 -35
  750. package/dist/v2/features/command-palette/helpers/postman-request-collisions.js.map +0 -1
  751. package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts +0 -41
  752. package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts.map +0 -1
  753. package/dist/v2/features/command-palette/helpers/postman-request-tree.js +0 -139
  754. package/dist/v2/features/command-palette/helpers/postman-request-tree.js.map +0 -1
  755. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +0 -426
  756. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +0 -1
  757. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +0 -207
  758. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js.map +0 -1
  759. package/dist/v2/features/editor/config.d.ts +0 -16
  760. package/dist/v2/features/editor/config.d.ts.map +0 -1
  761. package/dist/v2/features/editor/config.js +0 -19
  762. package/dist/v2/features/editor/config.js.map +0 -1
  763. package/dist/v2/features/editor/helpers/configure-language-support.d.ts +0 -13
  764. package/dist/v2/features/editor/helpers/configure-language-support.d.ts.map +0 -1
  765. package/dist/v2/features/editor/helpers/configure-language-support.js +0 -48
  766. package/dist/v2/features/editor/helpers/configure-language-support.js.map +0 -1
  767. package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts +0 -6
  768. package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts.map +0 -1
  769. package/dist/v2/features/editor/helpers/ensure-monaco-environment.js +0 -21
  770. package/dist/v2/features/editor/helpers/ensure-monaco-environment.js.map +0 -1
  771. package/dist/v2/features/editor/helpers/json/create-json-model.d.ts +0 -12
  772. package/dist/v2/features/editor/helpers/json/create-json-model.d.ts.map +0 -1
  773. package/dist/v2/features/editor/helpers/json/create-json-model.js +0 -31
  774. package/dist/v2/features/editor/helpers/json/create-json-model.js.map +0 -1
  775. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts +0 -14
  776. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts.map +0 -1
  777. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js +0 -22
  778. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js.map +0 -1
  779. package/dist/v2/features/editor/helpers/json/json-ast.d.ts +0 -12
  780. package/dist/v2/features/editor/helpers/json/json-ast.d.ts.map +0 -1
  781. package/dist/v2/features/editor/helpers/json/json-ast.js +0 -32
  782. package/dist/v2/features/editor/helpers/json/json-ast.js.map +0 -1
  783. package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts +0 -15
  784. package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts.map +0 -1
  785. package/dist/v2/features/editor/helpers/json/json-pointer-links.js +0 -104
  786. package/dist/v2/features/editor/helpers/json/json-pointer-links.js.map +0 -1
  787. package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts +0 -7
  788. package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts.map +0 -1
  789. package/dist/v2/features/editor/helpers/json/json-pointer-path.js +0 -27
  790. package/dist/v2/features/editor/helpers/json/json-pointer-path.js.map +0 -1
  791. package/dist/v2/features/editor/helpers/model.d.ts +0 -9
  792. package/dist/v2/features/editor/helpers/model.d.ts.map +0 -1
  793. package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts +0 -14
  794. package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts.map +0 -1
  795. package/dist/v2/features/editor/helpers/range-to-whole-line.js +0 -27
  796. package/dist/v2/features/editor/helpers/range-to-whole-line.js.map +0 -1
  797. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts +0 -16
  798. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts.map +0 -1
  799. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js +0 -84
  800. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js.map +0 -1
  801. package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts +0 -36
  802. package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts.map +0 -1
  803. package/dist/v2/features/editor/helpers/theme/load-css-variables.js +0 -117
  804. package/dist/v2/features/editor/helpers/theme/load-css-variables.js.map +0 -1
  805. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts +0 -13
  806. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts.map +0 -1
  807. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js +0 -32
  808. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js.map +0 -1
  809. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts +0 -19
  810. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts.map +0 -1
  811. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js +0 -70
  812. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js.map +0 -1
  813. package/dist/v2/features/editor/hooks/use-editor-markers.d.ts +0 -152
  814. package/dist/v2/features/editor/hooks/use-editor-markers.d.ts.map +0 -1
  815. package/dist/v2/features/editor/hooks/use-editor-markers.js +0 -37
  816. package/dist/v2/features/editor/hooks/use-editor-markers.js.map +0 -1
  817. package/dist/v2/features/editor/hooks/use-editor.d.ts +0 -39
  818. package/dist/v2/features/editor/hooks/use-editor.d.ts.map +0 -1
  819. package/dist/v2/features/editor/hooks/use-editor.js +0 -133
  820. package/dist/v2/features/editor/hooks/use-editor.js.map +0 -1
  821. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts +0 -16
  822. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts.map +0 -1
  823. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js +0 -45
  824. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js.map +0 -1
  825. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts +0 -77
  826. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts.map +0 -1
  827. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js +0 -396
  828. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js.map +0 -1
  829. package/dist/v2/features/editor/index.d.ts +0 -5
  830. package/dist/v2/features/editor/index.d.ts.map +0 -1
  831. package/dist/v2/features/editor/index.js +0 -5
  832. package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js +0 -51
  833. package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js.map +0 -1
  834. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +0 -10
  835. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +0 -1
  836. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +0 -9
  837. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js.map +0 -1
  838. package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js +0 -188
  839. package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js.map +0 -1
  840. package/dist/v2/features/global-cookies/index.d.ts +0 -2
  841. package/dist/v2/features/global-cookies/index.d.ts.map +0 -1
  842. package/dist/v2/features/global-cookies/index.js +0 -2
  843. package/dist/v2/features/settings/CollectionSettings.vue.d.ts +0 -28
  844. package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +0 -1
  845. package/dist/v2/features/settings/CollectionSettings.vue.js +0 -7
  846. package/dist/v2/features/settings/CollectionSettings.vue.js.map +0 -1
  847. package/dist/v2/features/settings/CollectionSettings.vue.script.js +0 -229
  848. package/dist/v2/features/settings/CollectionSettings.vue.script.js.map +0 -1
  849. package/dist/v2/features/settings/DocumentSettings.vue.d.ts +0 -20
  850. package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +0 -1
  851. package/dist/v2/features/settings/DocumentSettings.vue.js +0 -7
  852. package/dist/v2/features/settings/DocumentSettings.vue.js.map +0 -1
  853. package/dist/v2/features/settings/DocumentSettings.vue.script.js +0 -92
  854. package/dist/v2/features/settings/DocumentSettings.vue.script.js.map +0 -1
  855. package/dist/v2/features/settings/components/Appearance.vue.d.ts +0 -11
  856. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +0 -1
  857. package/dist/v2/features/settings/components/Appearance.vue.js +0 -7
  858. package/dist/v2/features/settings/components/Appearance.vue.js.map +0 -1
  859. package/dist/v2/features/settings/components/Appearance.vue.script.js +0 -63
  860. package/dist/v2/features/settings/components/Appearance.vue.script.js.map +0 -1
  861. package/dist/v2/features/settings/components/Section.vue.d.ts +0 -16
  862. package/dist/v2/features/settings/components/Section.vue.d.ts.map +0 -1
  863. package/dist/v2/features/settings/components/Section.vue.js +0 -7
  864. package/dist/v2/features/settings/components/Section.vue.js.map +0 -1
  865. package/dist/v2/features/settings/components/Section.vue.script.js +0 -30
  866. package/dist/v2/features/settings/components/Section.vue.script.js.map +0 -1
  867. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +0 -10
  868. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +0 -1
  869. package/dist/v2/features/settings/helpers/get-theme-colors.js +0 -68
  870. package/dist/v2/features/settings/helpers/get-theme-colors.js.map +0 -1
  871. package/dist/v2/features/settings/index.d.ts +0 -3
  872. package/dist/v2/features/settings/index.d.ts.map +0 -1
  873. package/dist/v2/features/settings/index.js +0 -3
  874. package/dist/v2/helpers/download-document.d.ts +0 -2
  875. package/dist/v2/helpers/download-document.d.ts.map +0 -1
  876. package/dist/v2/helpers/download-document.js +0 -42
  877. package/dist/v2/helpers/download-document.js.map +0 -1
  878. package/dist/v2/helpers/drag-handle-factory.d.ts +0 -16
  879. package/dist/v2/helpers/drag-handle-factory.d.ts.map +0 -1
  880. package/dist/v2/helpers/drag-handle-factory.js +0 -258
  881. package/dist/v2/helpers/drag-handle-factory.js.map +0 -1
  882. package/dist/v2/helpers/get-tab-details.d.ts +0 -43
  883. package/dist/v2/helpers/get-tab-details.d.ts.map +0 -1
  884. package/dist/v2/helpers/get-tab-details.js +0 -54
  885. package/dist/v2/helpers/get-tab-details.js.map +0 -1
  886. package/dist/v2/helpers/is-url.d.ts +0 -2
  887. package/dist/v2/helpers/is-url.d.ts.map +0 -1
  888. package/dist/v2/helpers/is-url.js +0 -10
  889. package/dist/v2/helpers/is-url.js.map +0 -1
  890. package/dist/v2/helpers/safe-run.d.ts +0 -34
  891. package/dist/v2/helpers/safe-run.d.ts.map +0 -1
  892. package/dist/v2/helpers/safe-run.js +0 -43
  893. package/dist/v2/helpers/safe-run.js.map +0 -1
  894. package/dist/v2/helpers/storage.d.ts +0 -31
  895. package/dist/v2/helpers/storage.d.ts.map +0 -1
  896. package/dist/v2/helpers/storage.js +0 -37
  897. package/dist/v2/helpers/storage.js.map +0 -1
  898. package/dist/v2/hooks/use-color-mode.d.ts +0 -20
  899. package/dist/v2/hooks/use-color-mode.d.ts.map +0 -1
  900. package/dist/v2/hooks/use-color-mode.js +0 -72
  901. package/dist/v2/hooks/use-color-mode.js.map +0 -1
  902. package/dist/v2/types/configuration.d.ts +0 -278
  903. package/dist/v2/types/configuration.d.ts.map +0 -1
  904. /package/dist/components/{ScalarAsciiArt.vue.d.ts → ScalarAsciiArt/ScalarAsciiArt.vue.d.ts} +0 -0
  905. /package/dist/{index.js → types/index.js} +0 -0
@@ -1,153 +0,0 @@
1
- import { workspaceStorage } from "../../../helpers/storage.js";
2
- import Authentication_default from "../../collection/components/Authentication.vue.js";
3
- import Cookies_default from "../../collection/components/Cookies.vue.js";
4
- import Editor_default from "../../collection/components/Editor/Editor.vue.js";
5
- import Environment_default from "../../collection/components/Environment.vue.js";
6
- import GetStarted_default from "../../collection/components/GetStarted.vue.js";
7
- import Overview_default from "../../collection/components/Overview.vue.js";
8
- import Runner_default from "../../collection/components/Runner/components/Runner.vue.js";
9
- import Servers_default from "../../collection/components/Servers.vue.js";
10
- import Settings_default from "../../collection/components/Settings.vue.js";
11
- import DocumentCollection_default from "../../collection/DocumentCollection.vue.js";
12
- import OperationCollection_default from "../../collection/OperationCollection.vue.js";
13
- import WorkspaceCollection_default from "../../collection/WorkspaceCollection.vue.js";
14
- import Operation_default from "../../operation/Operation.vue.js";
15
- import { mergeSearchParams } from "@scalar/helpers/url/merge-urls";
16
- //#region src/v2/features/app/helpers/routes.ts
17
- /** Routes for the API client app and web, the same as modal + workspace routes */
18
- var ROUTES = [{
19
- path: "/@:teamSlug/:workspaceSlug",
20
- children: [
21
- {
22
- path: "document/:documentSlug",
23
- children: [{
24
- path: "path/:pathEncoded/method/:method",
25
- children: [{
26
- name: "example",
27
- path: "example/:exampleName",
28
- component: Operation_default
29
- }, {
30
- name: "operation",
31
- path: "",
32
- component: OperationCollection_default,
33
- redirect: { name: "operation.overview" },
34
- children: [
35
- {
36
- name: "operation.overview",
37
- path: "overview",
38
- component: Overview_default
39
- },
40
- {
41
- name: "operation.servers",
42
- path: "servers",
43
- component: Servers_default
44
- },
45
- {
46
- name: "operation.authentication",
47
- path: "authentication",
48
- component: Authentication_default
49
- },
50
- {
51
- name: "operation.editor",
52
- path: "editor",
53
- component: Editor_default
54
- }
55
- ]
56
- }]
57
- }, {
58
- name: "document",
59
- path: "",
60
- component: DocumentCollection_default,
61
- children: [
62
- {
63
- name: "document.redirect",
64
- path: "",
65
- redirect: { name: "document.overview" }
66
- },
67
- {
68
- name: "document.overview",
69
- path: "overview",
70
- component: Overview_default
71
- },
72
- {
73
- name: "document.servers",
74
- path: "servers",
75
- component: Servers_default
76
- },
77
- {
78
- name: "document.environment",
79
- path: "environment",
80
- component: Environment_default
81
- },
82
- {
83
- name: "document.authentication",
84
- path: "authentication",
85
- component: Authentication_default
86
- },
87
- {
88
- name: "document.cookies",
89
- path: "cookies",
90
- component: Cookies_default
91
- },
92
- {
93
- name: "document.scripts",
94
- path: "scripts",
95
- component: () => import("../../collection/components/Scripts.vue.js")
96
- },
97
- {
98
- name: "document.runner",
99
- path: "runner",
100
- component: Runner_default
101
- },
102
- {
103
- name: "document.settings",
104
- path: "settings",
105
- component: Settings_default
106
- }
107
- ]
108
- }]
109
- },
110
- {
111
- name: "workspace.get-started",
112
- path: "get-started",
113
- component: GetStarted_default
114
- },
115
- {
116
- name: "workspace",
117
- path: "",
118
- component: WorkspaceCollection_default,
119
- children: [
120
- {
121
- name: "workspace.environment",
122
- path: "environment",
123
- component: Environment_default
124
- },
125
- {
126
- name: "workspace.cookies",
127
- path: "cookies",
128
- component: Cookies_default
129
- },
130
- {
131
- name: "workspace.settings",
132
- path: "settings",
133
- component: Settings_default
134
- }
135
- ]
136
- }
137
- ]
138
- }, {
139
- path: "/:pathMatch(.*)*",
140
- redirect: () => {
141
- const DEFAULT_PATH = "/@local/default/document/drafts/overview";
142
- const lastPath = workspaceStorage.getLastPath() ?? DEFAULT_PATH;
143
- workspaceStorage.setCurrentPath(DEFAULT_PATH);
144
- const url = new URL(lastPath, "http://example.com");
145
- const queryParameters = new URLSearchParams(window.location.search);
146
- const mergedSearchParams = mergeSearchParams(url.searchParams, queryParameters);
147
- return `${url.pathname}?${mergedSearchParams.toString()}`;
148
- }
149
- }];
150
- //#endregion
151
- export { ROUTES };
152
-
153
- //# sourceMappingURL=routes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routes.js","names":[],"sources":["../../../../../src/v2/features/app/helpers/routes.ts"],"sourcesContent":["import type { HttpMethod } from '@scalar/helpers/http/http-methods'\nimport { mergeSearchParams } from '@scalar/helpers/url/merge-urls'\nimport type { ClientPlugin } from '@scalar/oas-utils/helpers'\nimport type { Theme } from '@scalar/themes'\nimport type { WorkspaceStore } from '@scalar/workspace-store/client'\nimport type { WorkspaceEventBus } from '@scalar/workspace-store/events'\nimport type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments'\nimport type { WorkspaceDocument } from '@scalar/workspace-store/schemas/workspace'\nimport type { MaybeRefOrGetter } from 'vue'\nimport type { RouteRecordRaw } from 'vue-router'\n\nimport Authentication from '@/v2/features/collection/components/Authentication.vue'\nimport Cookies from '@/v2/features/collection/components/Cookies.vue'\nimport { Editor } from '@/v2/features/collection/components/Editor'\nimport Environment from '@/v2/features/collection/components/Environment.vue'\nimport GetStarted from '@/v2/features/collection/components/GetStarted.vue'\nimport Overview from '@/v2/features/collection/components/Overview.vue'\nimport { Runner } from '@/v2/features/collection/components/Runner'\nimport Servers from '@/v2/features/collection/components/Servers.vue'\nimport Settings from '@/v2/features/collection/components/Settings.vue'\nimport DocumentCollection from '@/v2/features/collection/DocumentCollection.vue'\nimport OperationCollection from '@/v2/features/collection/OperationCollection.vue'\nimport WorkspaceCollection from '@/v2/features/collection/WorkspaceCollection.vue'\nimport { Operation } from '@/v2/features/operation'\nimport { workspaceStorage } from '@/v2/helpers/storage'\nimport type { ImportDocumentFromRegistry } from '@/v2/types/configuration'\nimport type { ClientLayout } from '@/v2/types/layout'\nimport type { ApiClientOptions } from '@/v2/types/options'\n\n/** These props are provided at the route level */\nexport type RouteProps = {\n /** The slug of the currently selected document in the workspace */\n documentSlug: string\n /** The currently active document */\n document: WorkspaceDocument | null\n /** The workspace event bus */\n eventBus: WorkspaceEventBus\n /** The layout of the client */\n layout: ClientLayout\n /** The API path currently selected (e.g. \"/users/{id}\") */\n path?: string\n /** The HTTP method for the currently selected API path (e.g. GET, POST) */\n method?: HttpMethod\n /** The name of the currently selected example (for examples within an endpoint) */\n exampleName?: string\n /** The currently active environment */\n environment: XScalarEnvironment\n /** The workspace store */\n workspaceStore: WorkspaceStore\n /** The currently active workspace */\n activeWorkspace: { id: string; label: string }\n /**\n * Whether the active workspace is backed by a team (i.e. not the built-in `local` team).\n */\n isTeamWorkspace?: boolean\n /** Client plugins */\n plugins: ClientPlugin[]\n /** Custom themes available to the team */\n customThemes?: Theme[]\n /** The currently selected theme styles string */\n currentTheme?: string\n /** Whether the current color mode is dark */\n isDarkMode?: boolean\n /**\n * Fetches the full document from registry by meta. When provided, registry meta takes priority\n * over x-scalar-original-source-url when syncing. Returns the document as a plain object.\n */\n fetchRegistryDocument?: ImportDocumentFromRegistry\n /** Whether telemetry is enabled */\n telemetry?: boolean\n /** Updates the telemetry enabled state */\n onUpdateTelemetry?: (value: boolean) => void\n /** App or modal options forwarded to operation/auth blocks */\n options?: MaybeRefOrGetter<ApiClientOptions>\n}\n\n/** When in the collections pages */\nexport type CollectionProps = RouteProps &\n (\n | {\n collectionType: 'document' | 'operation'\n document: WorkspaceDocument\n }\n | {\n collectionType: 'workspace'\n document: null\n }\n )\n\nexport type ScalarClientAppRouteParams =\n | 'teamSlug'\n | 'workspaceSlug'\n | 'documentSlug'\n | 'pathEncoded'\n | 'method'\n | 'exampleName'\n\n/** Routes for the API client app and web, the same as modal + workspace routes */\nexport const ROUTES = [\n {\n path: '/@:teamSlug/:workspaceSlug',\n children: [\n {\n path: 'document/:documentSlug',\n children: [\n // Example page\n {\n path: 'path/:pathEncoded/method/:method',\n children: [\n {\n name: 'example',\n path: 'example/:exampleName',\n component: Operation,\n },\n {\n name: 'operation',\n path: '',\n component: OperationCollection,\n redirect: {\n name: 'operation.overview',\n },\n children: [\n {\n name: 'operation.overview',\n path: 'overview',\n component: Overview,\n },\n {\n name: 'operation.servers',\n path: 'servers',\n component: Servers,\n },\n {\n name: 'operation.authentication',\n path: 'authentication',\n component: Authentication,\n },\n {\n name: 'operation.editor',\n path: 'editor',\n component: Editor,\n },\n ],\n },\n ],\n },\n // Document Page\n {\n name: 'document',\n path: '',\n component: DocumentCollection,\n children: [\n // Redirect to overview\n {\n name: 'document.redirect',\n path: '',\n redirect: {\n name: 'document.overview',\n },\n },\n // Document overview\n {\n name: 'document.overview',\n path: 'overview',\n component: Overview,\n },\n // Document servers\n {\n name: 'document.servers',\n path: 'servers',\n component: Servers,\n },\n // Document environment\n {\n name: 'document.environment',\n path: 'environment',\n component: Environment,\n },\n // Document authentication\n {\n name: 'document.authentication',\n path: 'authentication',\n component: Authentication,\n },\n // Document cookies\n {\n name: 'document.cookies',\n path: 'cookies',\n component: Cookies,\n },\n // Document scripts (pre-request / post-response)\n {\n name: 'document.scripts',\n path: 'scripts',\n component: () => import('@/v2/features/collection/components/Scripts.vue'),\n },\n // Document runner\n {\n name: 'document.runner',\n path: 'runner',\n component: Runner,\n },\n // Document settings\n {\n name: 'document.settings',\n path: 'settings',\n component: Settings,\n },\n ],\n },\n ],\n },\n // Workspace get started page (standalone, no workspace header or tabs)\n {\n name: 'workspace.get-started',\n path: 'get-started',\n component: GetStarted,\n },\n // Workspace page\n {\n name: 'workspace',\n path: '',\n component: WorkspaceCollection,\n children: [\n // Workspace environment\n {\n name: 'workspace.environment',\n path: 'environment',\n component: Environment,\n },\n // Workspace cookies\n {\n name: 'workspace.cookies',\n path: 'cookies',\n component: Cookies,\n },\n // Workspace settings\n {\n name: 'workspace.settings',\n path: 'settings',\n component: Settings,\n },\n ],\n },\n ],\n },\n {\n path: '/:pathMatch(.*)*',\n redirect: () => {\n const DEFAULT_PATH = '/@local/default/document/drafts/overview'\n const lastPath = workspaceStorage.getLastPath() ?? DEFAULT_PATH\n\n // Set the default path to the last path so we don't go to an inifite loop if the last path is invalid\n workspaceStorage.setCurrentPath(DEFAULT_PATH)\n\n const url = new URL(lastPath, 'http://example.com')\n\n const queryParameters = new URLSearchParams(window.location.search)\n\n //Merge the query parameters with the last path\n const mergedSearchParams = mergeSearchParams(url.searchParams, queryParameters)\n\n // Preserve all query paramters\n return `${url.pathname}?${mergedSearchParams.toString()}`\n },\n },\n] satisfies RouteRecordRaw[]\n"],"mappings":";;;;;;;;;;;;;;;;;AAkGA,IAAa,SAAS,CACpB;CACE,MAAM;CACN,UAAU;EACR;GACE,MAAM;GACN,UAAU,CAER;IACE,MAAM;IACN,UAAU,CACR;KACE,MAAM;KACN,MAAM;KACN,WAAW;KACZ,EACD;KACE,MAAM;KACN,MAAM;KACN,WAAW;KACX,UAAU,EACR,MAAM,sBACP;KACD,UAAU;MACR;OACE,MAAM;OACN,MAAM;OACN,WAAW;OACZ;MACD;OACE,MAAM;OACN,MAAM;OACN,WAAW;OACZ;MACD;OACE,MAAM;OACN,MAAM;OACN,WAAW;OACZ;MACD;OACE,MAAM;OACN,MAAM;OACN,WAAW;OACZ;MACF;KACF,CACF;IACF,EAED;IACE,MAAM;IACN,MAAM;IACN,WAAW;IACX,UAAU;KAER;MACE,MAAM;MACN,MAAM;MACN,UAAU,EACR,MAAM,qBACP;MACF;KAED;MACE,MAAM;MACN,MAAM;MACN,WAAW;MACZ;KAED;MACE,MAAM;MACN,MAAM;MACN,WAAW;MACZ;KAED;MACE,MAAM;MACN,MAAM;MACN,WAAW;MACZ;KAED;MACE,MAAM;MACN,MAAM;MACN,WAAW;MACZ;KAED;MACE,MAAM;MACN,MAAM;MACN,WAAW;MACZ;KAED;MACE,MAAM;MACN,MAAM;MACN,iBAAiB,OAAO;MACzB;KAED;MACE,MAAM;MACN,MAAM;MACN,WAAW;MACZ;KAED;MACE,MAAM;MACN,MAAM;MACN,WAAW;MACZ;KACF;IACF,CACF;GACF;EAED;GACE,MAAM;GACN,MAAM;GACN,WAAW;GACZ;EAED;GACE,MAAM;GACN,MAAM;GACN,WAAW;GACX,UAAU;IAER;KACE,MAAM;KACN,MAAM;KACN,WAAW;KACZ;IAED;KACE,MAAM;KACN,MAAM;KACN,WAAW;KACZ;IAED;KACE,MAAM;KACN,MAAM;KACN,WAAW;KACZ;IACF;GACF;EACF;CACF,EACD;CACE,MAAM;CACN,gBAAgB;EACd,MAAM,eAAe;EACrB,MAAM,WAAW,iBAAiB,aAAa,IAAI;AAGnD,mBAAiB,eAAe,aAAa;EAE7C,MAAM,MAAM,IAAI,IAAI,UAAU,qBAAqB;EAEnD,MAAM,kBAAkB,IAAI,gBAAgB,OAAO,SAAS,OAAO;EAGnE,MAAM,qBAAqB,kBAAkB,IAAI,cAAc,gBAAgB;AAG/E,SAAO,GAAG,IAAI,SAAS,GAAG,mBAAmB,UAAU;;CAE1D,CACF"}
@@ -1,24 +0,0 @@
1
- import { ScalarIconCloudCheck } from '@scalar/icons';
2
- import type { VersionStatus } from '../../../../v2/features/app/helpers/compute-version-status.js';
3
- /** Visual presentation for a single sync state. */
4
- type VersionStatusPresentation = {
5
- /** Cloud-style icon component matching the swatch the design system uses for this state. */
6
- icon: typeof ScalarIconCloudCheck;
7
- /** Tailwind text colour class applied to the icon. */
8
- class: string;
9
- /** Human-readable description used as both the tooltip and the accessible label. */
10
- label: string;
11
- };
12
- /**
13
- * Visual mapping for every sync status surfaced by the registry workflow.
14
- *
15
- * The mapping is intentionally shared across surfaces (version picker rows,
16
- * the right-side header indicator, future sync buttons / badges) so the icon
17
- * and colour for a given state stay consistent everywhere it is rendered.
18
- *
19
- * Keep the presentation purely declarative — no behaviour, no event
20
- * handlers — so it remains safe to import from any layer.
21
- */
22
- export declare const VERSION_STATUS_PRESENTATION: Record<VersionStatus, VersionStatusPresentation>;
23
- export {};
24
- //# sourceMappingURL=version-status-presentation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version-status-presentation.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/helpers/version-status-presentation.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,EAErB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAA;AAErF,mDAAmD;AACnD,KAAK,yBAAyB,GAAG;IAC/B,4FAA4F;IAC5F,IAAI,EAAE,OAAO,oBAAoB,CAAA;IACjC,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAA;IACb,oFAAoF;IACpF,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,aAAa,EAAE,yBAAyB,CA0BxF,CAAA"}
@@ -1,43 +0,0 @@
1
- import { ScalarIconCloudArrowDown, ScalarIconCloudArrowUp, ScalarIconCloudCheck, ScalarIconCloudWarning } from "@scalar/icons";
2
- //#region src/v2/features/app/helpers/version-status-presentation.ts
3
- /**
4
- * Visual mapping for every sync status surfaced by the registry workflow.
5
- *
6
- * The mapping is intentionally shared across surfaces (version picker rows,
7
- * the right-side header indicator, future sync buttons / badges) so the icon
8
- * and colour for a given state stay consistent everywhere it is rendered.
9
- *
10
- * Keep the presentation purely declarative — no behaviour, no event
11
- * handlers — so it remains safe to import from any layer.
12
- */
13
- var VERSION_STATUS_PRESENTATION = {
14
- synced: {
15
- icon: ScalarIconCloudCheck,
16
- class: "text-green",
17
- label: "Synced with the registry"
18
- },
19
- push: {
20
- icon: ScalarIconCloudArrowUp,
21
- class: "text-blue",
22
- label: "Local changes ready to push"
23
- },
24
- pull: {
25
- icon: ScalarIconCloudArrowDown,
26
- class: "text-blue",
27
- label: "Upstream changes available to pull"
28
- },
29
- conflict: {
30
- icon: ScalarIconCloudWarning,
31
- class: "text-orange",
32
- label: "Conflicts detected — resolve before pulling"
33
- },
34
- unknown: {
35
- icon: ScalarIconCloudCheck,
36
- class: "text-c-3",
37
- label: "Version not loaded"
38
- }
39
- };
40
- //#endregion
41
- export { VERSION_STATUS_PRESENTATION };
42
-
43
- //# sourceMappingURL=version-status-presentation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version-status-presentation.js","names":[],"sources":["../../../../../src/v2/features/app/helpers/version-status-presentation.ts"],"sourcesContent":["import {\n ScalarIconCloudArrowDown,\n ScalarIconCloudArrowUp,\n ScalarIconCloudCheck,\n ScalarIconCloudWarning,\n} from '@scalar/icons'\n\nimport type { VersionStatus } from '@/v2/features/app/helpers/compute-version-status'\n\n/** Visual presentation for a single sync state. */\ntype VersionStatusPresentation = {\n /** Cloud-style icon component matching the swatch the design system uses for this state. */\n icon: typeof ScalarIconCloudCheck\n /** Tailwind text colour class applied to the icon. */\n class: string\n /** Human-readable description used as both the tooltip and the accessible label. */\n label: string\n}\n\n/**\n * Visual mapping for every sync status surfaced by the registry workflow.\n *\n * The mapping is intentionally shared across surfaces (version picker rows,\n * the right-side header indicator, future sync buttons / badges) so the icon\n * and colour for a given state stay consistent everywhere it is rendered.\n *\n * Keep the presentation purely declarative — no behaviour, no event\n * handlers — so it remains safe to import from any layer.\n */\nexport const VERSION_STATUS_PRESENTATION: Record<VersionStatus, VersionStatusPresentation> = {\n synced: {\n icon: ScalarIconCloudCheck,\n class: 'text-green',\n label: 'Synced with the registry',\n },\n push: {\n icon: ScalarIconCloudArrowUp,\n class: 'text-blue',\n label: 'Local changes ready to push',\n },\n pull: {\n icon: ScalarIconCloudArrowDown,\n class: 'text-blue',\n label: 'Upstream changes available to pull',\n },\n conflict: {\n icon: ScalarIconCloudWarning,\n class: 'text-orange',\n label: 'Conflicts detected — resolve before pulling',\n },\n unknown: {\n icon: ScalarIconCloudCheck,\n class: 'text-c-3',\n label: 'Version not loaded',\n },\n}\n"],"mappings":";;;;;;;;;;;;AA6BA,IAAa,8BAAgF;CAC3F,QAAQ;EACN,MAAM;EACN,OAAO;EACP,OAAO;EACR;CACD,MAAM;EACJ,MAAM;EACN,OAAO;EACP,OAAO;EACR;CACD,MAAM;EACJ,MAAM;EACN,OAAO;EACP,OAAO;EACR;CACD,UAAU;EACR,MAAM;EACN,OAAO;EACP,OAAO;EACR;CACD,SAAS;EACP,MAAM;EACN,OAAO;EACP,OAAO;EACR;CACF"}
@@ -1,42 +0,0 @@
1
- import { type ComputedRef } from 'vue';
2
- import type { AppState } from '../../../../v2/features/app/app-state.js';
3
- import { type SidebarDocumentItem, type SidebarDocumentVersion } from '../../../../v2/features/app/hooks/use-sidebar-documents.js';
4
- import type { RegistryDocumentsState } from '../../../../v2/types/configuration';
5
- /**
6
- * Resolves everything UI surfaces need to know about the document the user
7
- * is currently viewing in a registry-backed workspace.
8
- *
9
- * The breadcrumb's version picker and the right-side sync indicator both
10
- * need the same data:
11
- *
12
- * - the sidebar item for the active group (so titles match the registry),
13
- * - the full version list for that group (used to render dropdown rows /
14
- * feed `useVersionConflictCheck`),
15
- * - and the currently active version (used for the picker selection and
16
- * the standalone status icon).
17
- *
18
- * Pulling this into a composable keeps both surfaces aligned and avoids
19
- * duplicating the active-version selection rules — in particular the
20
- * fallback to the version declared on `x-scalar-registry-meta` when the
21
- * sidebar's notion of the active version has not caught up yet (e.g. during
22
- * a pending fetch).
23
- */
24
- export declare const useActiveDocumentVersion: ({ app, registryDocuments, }: {
25
- app: AppState;
26
- /** Reactive accessor — components pass a getter so the composable stays prop-driven. */
27
- registryDocuments: () => RegistryDocumentsState;
28
- }) => {
29
- documents: ComputedRef<SidebarDocumentItem[]>;
30
- activeRegistryMeta: ComputedRef<{
31
- namespace: string;
32
- slug: string;
33
- version?: string;
34
- commitHash?: string;
35
- conflictCheckedAgainstHash?: string;
36
- hasConflict?: boolean;
37
- } | undefined>;
38
- activeItem: ComputedRef<SidebarDocumentItem | undefined>;
39
- versions: ComputedRef<SidebarDocumentVersion[]>;
40
- activeVersion: ComputedRef<SidebarDocumentVersion | undefined>;
41
- };
42
- //# sourceMappingURL=use-active-document-version.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-active-document-version.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/hooks/use-active-document-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAY,MAAM,KAAK,CAAA;AAEhD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAC3D,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAE5B,MAAM,+CAA+C,CAAA;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEtE;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,wBAAwB,GAAI,6BAGtC;IACD,GAAG,EAAE,QAAQ,CAAA;IACb,wFAAwF;IACxF,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;CAChD,KAAG;IACF,SAAS,EAAE,WAAW,CAAC,mBAAmB,EAAE,CAAC,CAAA;IAC7C,kBAAkB,EAAE,WAAW,CAC3B;QACE,SAAS,EAAE,MAAM,CAAA;QACjB,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,0BAA0B,CAAC,EAAE,MAAM,CAAA;QACnC,WAAW,CAAC,EAAE,OAAO,CAAA;KACtB,GACD,SAAS,CACZ,CAAA;IACD,UAAU,EAAE,WAAW,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAA;IACxD,QAAQ,EAAE,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAA;IAC/C,aAAa,EAAE,WAAW,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAA;CAqD/D,CAAA"}
@@ -1,60 +0,0 @@
1
- import { useSidebarDocuments } from "./use-sidebar-documents.js";
2
- import { computed } from "vue";
3
- //#region src/v2/features/app/hooks/use-active-document-version.ts
4
- /**
5
- * Resolves everything UI surfaces need to know about the document the user
6
- * is currently viewing in a registry-backed workspace.
7
- *
8
- * The breadcrumb's version picker and the right-side sync indicator both
9
- * need the same data:
10
- *
11
- * - the sidebar item for the active group (so titles match the registry),
12
- * - the full version list for that group (used to render dropdown rows /
13
- * feed `useVersionConflictCheck`),
14
- * - and the currently active version (used for the picker selection and
15
- * the standalone status icon).
16
- *
17
- * Pulling this into a composable keeps both surfaces aligned and avoids
18
- * duplicating the active-version selection rules — in particular the
19
- * fallback to the version declared on `x-scalar-registry-meta` when the
20
- * sidebar's notion of the active version has not caught up yet (e.g. during
21
- * a pending fetch).
22
- */
23
- var useActiveDocumentVersion = ({ app, registryDocuments }) => {
24
- const { documents } = useSidebarDocuments({
25
- app,
26
- managedDocs: () => registryDocuments().documents ?? []
27
- });
28
- /** Registry meta for the currently active document (if any). */
29
- const activeRegistryMeta = computed(() => {
30
- return (app.store.value?.workspace.activeDocument)?.["x-scalar-registry-meta"];
31
- });
32
- /**
33
- * Sidebar item representing the currently active registry-backed document.
34
- * We match by `namespace + slug` because a single group can contain
35
- * several versions and the active document may be any of them.
36
- */
37
- const activeItem = computed(() => {
38
- const meta = activeRegistryMeta.value;
39
- if (!meta) return;
40
- return documents.value.find((item) => item.registry?.namespace === meta.namespace && item.registry?.slug === meta.slug);
41
- });
42
- /** Versions for the active group, ordered with the latest first. */
43
- const versions = computed(() => activeItem.value?.versions ?? []);
44
- return {
45
- documents,
46
- activeRegistryMeta,
47
- activeItem,
48
- versions,
49
- activeVersion: computed(() => {
50
- const meta = activeRegistryMeta.value;
51
- const list = versions.value;
52
- if (!meta) return list[0];
53
- return list.find((v) => v.version === meta.version) ?? list[0];
54
- })
55
- };
56
- };
57
- //#endregion
58
- export { useActiveDocumentVersion };
59
-
60
- //# sourceMappingURL=use-active-document-version.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-active-document-version.js","names":[],"sources":["../../../../../src/v2/features/app/hooks/use-active-document-version.ts"],"sourcesContent":["import { type ComputedRef, computed } from 'vue'\n\nimport type { AppState } from '@/v2/features/app/app-state'\nimport {\n type SidebarDocumentItem,\n type SidebarDocumentVersion,\n useSidebarDocuments,\n} from '@/v2/features/app/hooks/use-sidebar-documents'\nimport type { RegistryDocumentsState } from '@/v2/types/configuration'\n\n/**\n * Resolves everything UI surfaces need to know about the document the user\n * is currently viewing in a registry-backed workspace.\n *\n * The breadcrumb's version picker and the right-side sync indicator both\n * need the same data:\n *\n * - the sidebar item for the active group (so titles match the registry),\n * - the full version list for that group (used to render dropdown rows /\n * feed `useVersionConflictCheck`),\n * - and the currently active version (used for the picker selection and\n * the standalone status icon).\n *\n * Pulling this into a composable keeps both surfaces aligned and avoids\n * duplicating the active-version selection rules — in particular the\n * fallback to the version declared on `x-scalar-registry-meta` when the\n * sidebar's notion of the active version has not caught up yet (e.g. during\n * a pending fetch).\n */\nexport const useActiveDocumentVersion = ({\n app,\n registryDocuments,\n}: {\n app: AppState\n /** Reactive accessor — components pass a getter so the composable stays prop-driven. */\n registryDocuments: () => RegistryDocumentsState\n}): {\n documents: ComputedRef<SidebarDocumentItem[]>\n activeRegistryMeta: ComputedRef<\n | {\n namespace: string\n slug: string\n version?: string\n commitHash?: string\n conflictCheckedAgainstHash?: string\n hasConflict?: boolean\n }\n | undefined\n >\n activeItem: ComputedRef<SidebarDocumentItem | undefined>\n versions: ComputedRef<SidebarDocumentVersion[]>\n activeVersion: ComputedRef<SidebarDocumentVersion | undefined>\n} => {\n const { documents } = useSidebarDocuments({\n app,\n managedDocs: () => registryDocuments().documents ?? [],\n })\n\n /** Registry meta for the currently active document (if any). */\n const activeRegistryMeta = computed(() => {\n const doc = app.store.value?.workspace.activeDocument\n return doc?.['x-scalar-registry-meta']\n })\n\n /**\n * Sidebar item representing the currently active registry-backed document.\n * We match by `namespace + slug` because a single group can contain\n * several versions and the active document may be any of them.\n */\n const activeItem = computed(() => {\n const meta = activeRegistryMeta.value\n if (!meta) {\n return undefined\n }\n return documents.value.find(\n (item) => item.registry?.namespace === meta.namespace && item.registry?.slug === meta.slug,\n )\n })\n\n /** Versions for the active group, ordered with the latest first. */\n const versions = computed<SidebarDocumentVersion[]>(() => activeItem.value?.versions ?? [])\n\n /**\n * The version currently active on screen. Prefers matching the version\n * declared on the active document's registry meta so consumers always\n * reflect what the user is viewing, even when the sidebar's notion of the\n * active version has not caught up yet (e.g. during a pending fetch).\n */\n const activeVersion = computed<SidebarDocumentVersion | undefined>(() => {\n const meta = activeRegistryMeta.value\n const list = versions.value\n if (!meta) {\n return list[0]\n }\n return list.find((v) => v.version === meta.version) ?? list[0]\n })\n\n return {\n documents,\n activeRegistryMeta,\n activeItem,\n versions,\n activeVersion,\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA6BA,IAAa,4BAA4B,EACvC,KACA,wBAqBG;CACH,MAAM,EAAE,cAAc,oBAAoB;EACxC;EACA,mBAAmB,mBAAmB,CAAC,aAAa,EAAE;EACvD,CAAC;;CAGF,MAAM,qBAAqB,eAAe;AAExC,UADY,IAAI,MAAM,OAAO,UAAU,kBAC1B;GACb;;;;;;CAOF,MAAM,aAAa,eAAe;EAChC,MAAM,OAAO,mBAAmB;AAChC,MAAI,CAAC,KACH;AAEF,SAAO,UAAU,MAAM,MACpB,SAAS,KAAK,UAAU,cAAc,KAAK,aAAa,KAAK,UAAU,SAAS,KAAK,KACvF;GACD;;CAGF,MAAM,WAAW,eAAyC,WAAW,OAAO,YAAY,EAAE,CAAC;AAiB3F,QAAO;EACL;EACA;EACA;EACA;EACA,eAdoB,eAAmD;GACvE,MAAM,OAAO,mBAAmB;GAChC,MAAM,OAAO,SAAS;AACtB,OAAI,CAAC,KACH,QAAO,KAAK;AAEd,UAAO,KAAK,MAAM,MAAM,EAAE,YAAY,KAAK,QAAQ,IAAI,KAAK;IAC5D;EAQD"}
@@ -1,38 +0,0 @@
1
- import { type MaybeRefOrGetter } from 'vue';
2
- /**
3
- * Minimum shape a filterable item needs. Anything we run through this hook
4
- * must have at least a `title`, which is the only field the fuzzy index
5
- * looks at. Extra fields on `T` are preserved verbatim in the filtered list.
6
- */
7
- type FilterableItem = {
8
- title: string;
9
- };
10
- /**
11
- * Reactive filter state for a list of sidebar documents.
12
- *
13
- * Extracts the "jump to document by name" affordance used by the top-level
14
- * sidebar view into a stand-alone, testable primitive. Callers provide a
15
- * reactive source of items (ref, computed, or getter) and receive:
16
- *
17
- * - `isVisible`: whether the filter input is currently revealed
18
- * - `query`: v-model target for the search input
19
- * - `filteredItems`: the input list narrowed down by the current query
20
- * - `toggle()`: flips `isVisible`; clears the query when hiding so the list
21
- * is not left in a filtered state after the input disappears
22
- * - `reset()`: force-hides the filter and clears the query, e.g. when the
23
- * user drills into a document and the top-level filter no longer applies
24
- *
25
- * The Fuse index is rebuilt whenever the input list changes so newly added
26
- * or removed entries are reflected immediately. We deliberately index only
27
- * the `title` because this is a lightweight UI-level filter, not a content
28
- * search.
29
- */
30
- export declare const useDocumentFilter: <T extends FilterableItem>(items: MaybeRefOrGetter<T[]>) => {
31
- isVisible: import("vue").Ref<boolean, boolean>;
32
- query: import("vue").Ref<string, string>;
33
- filteredItems: import("vue").ComputedRef<T[]>;
34
- toggle: () => void;
35
- reset: () => void;
36
- };
37
- export {};
38
- //# sourceMappingURL=use-document-filter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-document-filter.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/hooks/use-document-filter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAA0B,MAAM,KAAK,CAAA;AAEnE;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,cAAc,EAAE,OAAO,gBAAgB,CAAC,CAAC,EAAE,CAAC;;;;;;CA0CvF,CAAA"}
@@ -1,63 +0,0 @@
1
- import { computed, ref, toValue } from "vue";
2
- import Fuse from "fuse.js";
3
- //#region src/v2/features/app/hooks/use-document-filter.ts
4
- /**
5
- * Reactive filter state for a list of sidebar documents.
6
- *
7
- * Extracts the "jump to document by name" affordance used by the top-level
8
- * sidebar view into a stand-alone, testable primitive. Callers provide a
9
- * reactive source of items (ref, computed, or getter) and receive:
10
- *
11
- * - `isVisible`: whether the filter input is currently revealed
12
- * - `query`: v-model target for the search input
13
- * - `filteredItems`: the input list narrowed down by the current query
14
- * - `toggle()`: flips `isVisible`; clears the query when hiding so the list
15
- * is not left in a filtered state after the input disappears
16
- * - `reset()`: force-hides the filter and clears the query, e.g. when the
17
- * user drills into a document and the top-level filter no longer applies
18
- *
19
- * The Fuse index is rebuilt whenever the input list changes so newly added
20
- * or removed entries are reflected immediately. We deliberately index only
21
- * the `title` because this is a lightweight UI-level filter, not a content
22
- * search.
23
- */
24
- var useDocumentFilter = (items) => {
25
- const isVisible = ref(false);
26
- const query = ref("");
27
- const fuse = computed(() => new Fuse(toValue(items), {
28
- keys: ["title"],
29
- threshold: .3,
30
- ignoreLocation: true
31
- }));
32
- const filteredItems = computed(() => {
33
- const trimmed = query.value.trim();
34
- if (!trimmed) return toValue(items);
35
- return fuse.value.search(trimmed).map((result) => result.item);
36
- });
37
- /**
38
- * Flip the filter input's visibility. Hiding the input also clears the
39
- * current query so the list does not stay filtered after the input
40
- * disappears (which would otherwise leave documents invisible with no way
41
- * for the user to see why).
42
- */
43
- const toggle = () => {
44
- isVisible.value = !isVisible.value;
45
- if (!isVisible.value) query.value = "";
46
- };
47
- /** Hide the input and clear the query. */
48
- const reset = () => {
49
- isVisible.value = false;
50
- query.value = "";
51
- };
52
- return {
53
- isVisible,
54
- query,
55
- filteredItems,
56
- toggle,
57
- reset
58
- };
59
- };
60
- //#endregion
61
- export { useDocumentFilter };
62
-
63
- //# sourceMappingURL=use-document-filter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-document-filter.js","names":[],"sources":["../../../../../src/v2/features/app/hooks/use-document-filter.ts"],"sourcesContent":["import Fuse from 'fuse.js'\nimport { type MaybeRefOrGetter, computed, ref, toValue } from 'vue'\n\n/**\n * Minimum shape a filterable item needs. Anything we run through this hook\n * must have at least a `title`, which is the only field the fuzzy index\n * looks at. Extra fields on `T` are preserved verbatim in the filtered list.\n */\ntype FilterableItem = {\n title: string\n}\n\n/**\n * Reactive filter state for a list of sidebar documents.\n *\n * Extracts the \"jump to document by name\" affordance used by the top-level\n * sidebar view into a stand-alone, testable primitive. Callers provide a\n * reactive source of items (ref, computed, or getter) and receive:\n *\n * - `isVisible`: whether the filter input is currently revealed\n * - `query`: v-model target for the search input\n * - `filteredItems`: the input list narrowed down by the current query\n * - `toggle()`: flips `isVisible`; clears the query when hiding so the list\n * is not left in a filtered state after the input disappears\n * - `reset()`: force-hides the filter and clears the query, e.g. when the\n * user drills into a document and the top-level filter no longer applies\n *\n * The Fuse index is rebuilt whenever the input list changes so newly added\n * or removed entries are reflected immediately. We deliberately index only\n * the `title` because this is a lightweight UI-level filter, not a content\n * search.\n */\nexport const useDocumentFilter = <T extends FilterableItem>(items: MaybeRefOrGetter<T[]>) => {\n const isVisible = ref(false)\n const query = ref('')\n\n const fuse = computed(\n () =>\n new Fuse(toValue(items), {\n keys: ['title'],\n threshold: 0.3,\n ignoreLocation: true,\n }),\n )\n\n const filteredItems = computed<T[]>(() => {\n const trimmed = query.value.trim()\n if (!trimmed) {\n return toValue(items)\n }\n\n return fuse.value.search(trimmed).map((result) => result.item)\n })\n\n /**\n * Flip the filter input's visibility. Hiding the input also clears the\n * current query so the list does not stay filtered after the input\n * disappears (which would otherwise leave documents invisible with no way\n * for the user to see why).\n */\n const toggle = () => {\n isVisible.value = !isVisible.value\n if (!isVisible.value) {\n query.value = ''\n }\n }\n\n /** Hide the input and clear the query. */\n const reset = () => {\n isVisible.value = false\n query.value = ''\n }\n\n return { isVisible, query, filteredItems, toggle, reset }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAgCA,IAAa,qBAA+C,UAAiC;CAC3F,MAAM,YAAY,IAAI,MAAM;CAC5B,MAAM,QAAQ,IAAI,GAAG;CAErB,MAAM,OAAO,eAET,IAAI,KAAK,QAAQ,MAAM,EAAE;EACvB,MAAM,CAAC,QAAQ;EACf,WAAW;EACX,gBAAgB;EACjB,CAAC,CACL;CAED,MAAM,gBAAgB,eAAoB;EACxC,MAAM,UAAU,MAAM,MAAM,MAAM;AAClC,MAAI,CAAC,QACH,QAAO,QAAQ,MAAM;AAGvB,SAAO,KAAK,MAAM,OAAO,QAAQ,CAAC,KAAK,WAAW,OAAO,KAAK;GAC9D;;;;;;;CAQF,MAAM,eAAe;AACnB,YAAU,QAAQ,CAAC,UAAU;AAC7B,MAAI,CAAC,UAAU,MACb,OAAM,QAAQ;;;CAKlB,MAAM,cAAc;AAClB,YAAU,QAAQ;AAClB,QAAM,QAAQ;;AAGhB,QAAO;EAAE;EAAW;EAAO;EAAe;EAAQ;EAAO"}
@@ -1,126 +0,0 @@
1
- import { useModal } from '@scalar/components';
2
- import { type merge } from '@scalar/json-magic/diff';
3
- import { type ComputedRef, type Ref } from 'vue';
4
- import type { AppState } from '../../../../v2/features/app/app-state.js';
5
- import { useActiveDocumentVersion } from '../../../../v2/features/app/hooks/use-active-document-version.js';
6
- import type { RegistryAdapter, RegistryDocumentsState, RegistryNamespacesState } from '../../../../v2/types/configuration';
7
- /**
8
- * Registry meta as it was when a pull began. Captures the same shape
9
- * `activeRegistryMeta` returns so we can hand it to the post-pull
10
- * commit-hash stamp without re-deriving (and possibly missing) it once
11
- * the rebase has finished mutating the active document.
12
- */
13
- type PendingPullRegistryMeta = NonNullable<ReturnType<typeof useActiveDocumentVersion>['activeRegistryMeta']['value']>;
14
- /**
15
- * In-flight pull state captured while the three-way merge editor is on
16
- * screen. We need to hold onto the rebase result (so the user-resolved
17
- * document can still be applied), the registry meta and slug we were
18
- * pulling against, and the upstream commit hash advertised by the
19
- * listing - none of those are reachable from inside the conflict
20
- * modal once the surrounding closure has unwound.
21
- *
22
- * `null` while no pull is awaiting user input. The modal-close handler
23
- * resets it so a dismissed pull cleanly aborts without applying any
24
- * changes (the workspace store only mutates when `applyChanges` is
25
- * actually invoked).
26
- */
27
- type PendingPullState = {
28
- rebaseResult: {
29
- originalDocument: Record<string, unknown>;
30
- resolvedDocument: Record<string, unknown>;
31
- conflicts: ReturnType<typeof merge>['conflicts'];
32
- applyChanges: (input: {
33
- resolvedDocument: Record<string, unknown>;
34
- }) => Promise<void>;
35
- };
36
- meta: PendingPullRegistryMeta;
37
- slug: string;
38
- incomingCommitHash: string | undefined;
39
- };
40
- /**
41
- * Owns the document-level sync flow for the API client header: save,
42
- * revert, pull, push, and first-time publish. The top-level `App.vue`
43
- * was accumulating all five flows alongside its routing / layout glue,
44
- * which made the file hard to reason about in isolation - extracting
45
- * the registry-bound logic into a single hook keeps the component
46
- * declarative and gives the flow a single place to test against.
47
- *
48
- * The hook owns:
49
- * - the visibility computeds for each header action cluster,
50
- * - the network-aware enable / disable gates (`canPullActiveDocument`,
51
- * `canPushActiveDocument`),
52
- * - the modal states for the publish + sync-conflict flows,
53
- * - the pending pull state captured while the three-way merge editor
54
- * is open,
55
- * - and every async handler invoked from the header buttons / modals.
56
- */
57
- export declare const useDocumentSync: ({ app, registry, registryDocuments, }: {
58
- app: AppState;
59
- /** Registry adapter wired up by the host application; `undefined` when registry features are disabled. */
60
- registry: RegistryAdapter | undefined;
61
- /** Reactive accessor — components pass a getter so the hook stays prop-driven. */
62
- registryDocuments: () => RegistryDocumentsState;
63
- }) => {
64
- /** Whether the local-workspace Save / Revert cluster should mount. */
65
- showLocalSaveActions: ComputedRef<boolean>;
66
- /** Whether the team-workspace Pull / Push cluster should mount. */
67
- showTeamSyncActions: ComputedRef<boolean>;
68
- /** Whether the team-workspace Publish cluster (no registry meta yet) should mount. */
69
- showTeamPublishAction: ComputedRef<boolean>;
70
- /** Truthy when at least one of the action clusters is renderable. */
71
- hasHeaderActionCluster: ComputedRef<boolean>;
72
- /** Whether the active document has unsaved local edits. */
73
- isActiveDocumentDirty: ComputedRef<boolean>;
74
- /** Reactive online status. */
75
- isOnline: Ref<boolean>;
76
- /** Reactive offline status (inverse of `isOnline`). */
77
- isOffline: ComputedRef<boolean>;
78
- /** Whether the pull button should be clickable. */
79
- canPullActiveDocument: ComputedRef<boolean>;
80
- /** Whether the push button should be clickable. */
81
- canPushActiveDocument: ComputedRef<boolean>;
82
- /** Modal state for the first-time publish modal. */
83
- publishDocumentModalState: ReturnType<typeof useModal>;
84
- /** Modal state for the three-way merge editor. */
85
- syncConflictModalState: ReturnType<typeof useModal>;
86
- /** In-flight pull state shared with the three-way merge editor. */
87
- pendingPullState: Ref<PendingPullState | null>;
88
- /** Default slug pre-filled into the publish modal. */
89
- publishDefaultSlug: ComputedRef<string>;
90
- /** Default version pre-filled into the publish modal. */
91
- publishDefaultVersion: ComputedRef<string>;
92
- /** Reactive view of the namespaces the user can publish to. */
93
- registryNamespaces: ComputedRef<RegistryNamespacesState>;
94
- /** Persists local edits on the active document. */
95
- handleSaveDocument: () => Promise<void>;
96
- /** Discards local edits and restores the saved baseline. */
97
- handleRevertDocument: () => Promise<void>;
98
- /** Pulls the active document from the registry and rebases local edits. */
99
- handlePullDocument: () => Promise<void>;
100
- /** Publishes the active document as the next commit on the current registry version. */
101
- handlePushDocument: () => Promise<void>;
102
- /** Opens the publish modal for the active document. */
103
- handlePublishDocument: () => void;
104
- /** Submit handler invoked by the publish modal once the user confirms their inputs. */
105
- handlePublishDocumentSubmit: (params: {
106
- input: {
107
- namespace: string;
108
- slug: string;
109
- version: string;
110
- };
111
- done: (outcome: {
112
- ok: true;
113
- } | {
114
- ok: false;
115
- message: string;
116
- }) => void;
117
- }) => Promise<void>;
118
- /** Apply callback wired up to the three-way merge editor. */
119
- handleSyncConflictApplyChanges: (params: {
120
- resolvedDocument: Record<string, unknown>;
121
- }) => Promise<void>;
122
- /** Reset the pending pull when the conflict modal closes without an apply. */
123
- handleSyncConflictModalClose: () => void;
124
- };
125
- export {};
126
- //# sourceMappingURL=use-document-sync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-document-sync.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/hooks/use-document-sync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EAAS,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAG3D,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,GAAG,EAAiB,MAAM,KAAK,CAAA;AAE/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAM3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAA;AAE9F,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAA;AAahH;;;;;GAKG;AACH,KAAK,uBAAuB,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;AAEtH;;;;;;;;;;;;GAYG;AACH,KAAK,gBAAgB,GAAG;IACtB,YAAY,EAAE;QACZ,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;QACzC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;QACzC,SAAS,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,WAAW,CAAC,CAAA;QAChD,YAAY,EAAE,CAAC,KAAK,EAAE;YAAE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;SAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;KACtF,CAAA;IACD,IAAI,EAAE,uBAAuB,CAAA;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;CACvC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,eAAe,GAAI,uCAI7B;IACD,GAAG,EAAE,QAAQ,CAAA;IACb,0GAA0G;IAC1G,QAAQ,EAAE,eAAe,GAAG,SAAS,CAAA;IACrC,kFAAkF;IAClF,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;CAChD,KAAG;IACF,sEAAsE;IACtE,oBAAoB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC1C,mEAAmE;IACnE,mBAAmB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IACzC,sFAAsF;IACtF,qBAAqB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC3C,qEAAqE;IACrE,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC5C,2DAA2D;IAC3D,qBAAqB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC3C,8BAA8B;IAC9B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACtB,uDAAuD;IACvD,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC/B,mDAAmD;IACnD,qBAAqB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC3C,mDAAmD;IACnD,qBAAqB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC3C,oDAAoD;IACpD,yBAAyB,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAA;IACtD,kDAAkD;IAClD,sBAAsB,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAA;IACnD,mEAAmE;IACnE,gBAAgB,EAAE,GAAG,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;IAC9C,sDAAsD;IACtD,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IACvC,yDAAyD;IACzD,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC1C,+DAA+D;IAC/D,kBAAkB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAA;IACxD,mDAAmD;IACnD,kBAAkB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACvC,4DAA4D;IAC5D,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzC,2EAA2E;IAC3E,kBAAkB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACvC,wFAAwF;IACxF,kBAAkB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACvC,uDAAuD;IACvD,qBAAqB,EAAE,MAAM,IAAI,CAAA;IACjC,uFAAuF;IACvF,2BAA2B,EAAE,CAAC,MAAM,EAAE;QACpC,KAAK,EAAE;YAAE,SAAS,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE,CAAA;QAC3D,IAAI,EAAE,CAAC,OAAO,EAAE;YAAE,EAAE,EAAE,IAAI,CAAA;SAAE,GAAG;YAAE,EAAE,EAAE,KAAK,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAA;KACvE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACnB,6DAA6D;IAC7D,8BAA8B,EAAE,CAAC,MAAM,EAAE;QAAE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACxG,8EAA8E;IAC9E,4BAA4B,EAAE,MAAM,IAAI,CAAA;CAokBzC,CAAA"}