@scalar/api-client 2.8.1 → 2.9.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 (444) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/dist/components/AddressBar/AddressBarHistory.vue2.js +9 -10
  3. package/dist/components/CodeInput/CodeInput.vue2.js +5 -5
  4. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  5. package/dist/components/CommandPalette/CommandActionForm.vue.js +10 -10
  6. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +3 -3
  7. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +3 -3
  8. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +18 -20
  9. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +2 -2
  10. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +1 -1
  11. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +13 -14
  12. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +3 -3
  13. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +3 -3
  14. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -24
  15. package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
  16. package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
  17. package/dist/components/DataTable/DataTableInputSelect.vue.js +8 -9
  18. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -10
  19. package/dist/components/IconSelector.vue.js +1 -1
  20. package/dist/components/ImportCollection/DropEventListener.vue.js +12 -12
  21. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +8 -8
  22. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
  23. package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -16
  24. package/dist/components/ImportCollection/PasteEventListener.vue.js +1 -1
  25. package/dist/components/ImportCollection/PrefetchError.vue.js +2 -2
  26. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +5 -7
  27. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -1
  28. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  29. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +3 -3
  30. package/dist/components/OpenApiClientButton.vue2.js +1 -1
  31. package/dist/components/Server/ServerSelector.vue.js +1 -2
  32. package/dist/components/SideNav/SideHelp.vue.js +13 -19
  33. package/dist/components/SideNav/SideNav.vue.js +4 -5
  34. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +4 -5
  35. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  36. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  37. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  38. package/dist/components/TopNav/TopNav.vue.js +8 -10
  39. package/dist/components/TopNav/TopNavItem.vue2.js +8 -12
  40. package/dist/hooks/index.d.ts +0 -1
  41. package/dist/hooks/index.d.ts.map +1 -1
  42. package/dist/hooks/index.js +9 -11
  43. package/dist/hooks/useClientConfig.d.ts +3 -0
  44. package/dist/hooks/useClientConfig.d.ts.map +1 -1
  45. package/dist/index.d.ts +1 -2
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +8 -15
  48. package/dist/layouts/App/create-api-client-app.d.ts +3646 -3645
  49. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  50. package/dist/layouts/App/create-api-client-app.js +24 -18
  51. package/dist/layouts/Modal/create-api-client-modal.d.ts +5 -8089
  52. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  53. package/dist/layouts/Modal/create-api-client-modal.js +28 -46
  54. package/dist/layouts/Modal/index.d.ts +2 -2
  55. package/dist/layouts/Modal/index.d.ts.map +1 -1
  56. package/dist/layouts/Modal/index.js +2 -5
  57. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  58. package/dist/layouts/Web/create-api-client-web.js +15 -12
  59. package/dist/libs/create-client.d.ts +2 -2
  60. package/dist/libs/create-client.d.ts.map +1 -1
  61. package/dist/libs/postman.d.ts +1 -1
  62. package/dist/libs/postman.d.ts.map +1 -1
  63. package/dist/libs/postman.js +12 -12
  64. package/dist/libs/validate-parameters.d.ts +10 -2
  65. package/dist/libs/validate-parameters.d.ts.map +1 -1
  66. package/dist/libs/validate-parameters.js +13 -6
  67. package/dist/routes.d.ts +3 -184
  68. package/dist/routes.d.ts.map +1 -1
  69. package/dist/routes.js +6 -6
  70. package/dist/store/active-entities.d.ts +1 -1
  71. package/dist/store/active-entities.d.ts.map +1 -1
  72. package/dist/store/active-entities.js +2 -2
  73. package/dist/store/router-params.d.ts.map +1 -1
  74. package/dist/style.css +1 -1
  75. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +5 -5
  76. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  77. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  78. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +3 -3
  79. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +3 -4
  80. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts +1 -0
  81. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts.map +1 -1
  82. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -2
  83. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +7 -8
  84. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +44 -55
  85. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +16 -18
  86. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +41 -46
  87. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  88. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +3 -0
  89. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
  90. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
  91. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +201 -187
  92. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
  93. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +8 -10
  94. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +2 -3
  95. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +2 -4
  96. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +14 -16
  97. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +3 -0
  98. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
  99. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
  100. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +87 -85
  101. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +10 -11
  102. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +4 -5
  103. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +1 -1
  104. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +3 -3
  105. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +1 -1
  106. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +5 -5
  107. package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +9 -10
  108. package/dist/v2/components/TempReplaceMe.vue.d.ts +3 -0
  109. package/dist/v2/components/TempReplaceMe.vue.d.ts.map +1 -0
  110. package/dist/v2/components/TempReplaceMe.vue.js +12 -0
  111. package/dist/v2/components/code-input/CodeInput.test.d.ts +2 -0
  112. package/dist/v2/components/code-input/CodeInput.test.d.ts.map +1 -0
  113. package/dist/v2/components/code-input/CodeInput.vue.d.ts +140 -0
  114. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -0
  115. package/dist/v2/components/code-input/CodeInput.vue.js +8 -0
  116. package/dist/v2/components/code-input/CodeInput.vue2.js +202 -0
  117. package/dist/v2/components/code-input/code-variable-widget.d.ts +21 -0
  118. package/dist/v2/components/code-input/code-variable-widget.d.ts.map +1 -0
  119. package/dist/v2/components/code-input/code-variable-widget.js +106 -0
  120. package/dist/v2/components/code-input/code-variable-widget.test.d.ts +2 -0
  121. package/dist/v2/components/code-input/code-variable-widget.test.d.ts.map +1 -0
  122. package/dist/v2/components/code-input/index.d.ts +2 -0
  123. package/dist/v2/components/code-input/index.d.ts.map +1 -0
  124. package/dist/v2/components/code-input/index.js +4 -0
  125. package/dist/v2/components/data-table/DataTable.vue.d.ts +22 -0
  126. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -0
  127. package/dist/v2/components/data-table/DataTable.vue.js +38 -0
  128. package/dist/v2/components/data-table/DataTable.vue2.js +4 -0
  129. package/dist/v2/components/data-table/DataTableCell.vue.d.ts +19 -0
  130. package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -0
  131. package/dist/v2/components/data-table/DataTableCell.vue.js +26 -0
  132. package/dist/v2/components/data-table/DataTableCell.vue2.js +4 -0
  133. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +14 -0
  134. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -0
  135. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +53 -0
  136. package/dist/v2/components/data-table/DataTableCheckbox.vue2.js +4 -0
  137. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +13 -0
  138. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -0
  139. package/dist/v2/components/data-table/DataTableHeader.vue.js +18 -0
  140. package/dist/v2/components/data-table/DataTableHeader.vue2.js +4 -0
  141. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +53 -0
  142. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -0
  143. package/dist/v2/components/data-table/DataTableInput.vue.js +7 -0
  144. package/dist/v2/components/data-table/DataTableInput.vue2.js +117 -0
  145. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +16 -0
  146. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -0
  147. package/dist/v2/components/data-table/DataTableInputSelect.vue.js +146 -0
  148. package/dist/v2/components/data-table/DataTableInputSelect.vue2.js +4 -0
  149. package/dist/v2/components/data-table/DataTableRow.vue.d.ts +13 -0
  150. package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -0
  151. package/dist/v2/components/data-table/DataTableRow.vue.js +12 -0
  152. package/dist/v2/components/data-table/DataTableText.vue.d.ts +16 -0
  153. package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -0
  154. package/dist/v2/components/data-table/DataTableText.vue.js +23 -0
  155. package/dist/v2/components/data-table/DataTableText.vue2.js +4 -0
  156. package/dist/v2/components/data-table/index.d.ts +9 -0
  157. package/dist/v2/components/data-table/index.d.ts.map +1 -0
  158. package/dist/v2/components/data-table/index.js +18 -0
  159. package/dist/v2/components/resize/Resize.vue.d.ts +20 -0
  160. package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -0
  161. package/dist/v2/components/resize/Resize.vue.js +8 -0
  162. package/dist/v2/components/resize/Resize.vue2.js +36 -0
  163. package/dist/v2/components/resize/index.d.ts +3 -0
  164. package/dist/v2/components/resize/index.d.ts.map +1 -0
  165. package/dist/v2/components/resize/index.js +4 -0
  166. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +39 -0
  167. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -0
  168. package/dist/v2/components/sidebar/Sidebar.vue.js +95 -0
  169. package/dist/v2/components/sidebar/Sidebar.vue2.js +4 -0
  170. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +13 -0
  171. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -0
  172. package/dist/v2/components/sidebar/SidebarMenu.vue.js +63 -0
  173. package/dist/v2/components/sidebar/SidebarMenu.vue2.js +4 -0
  174. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +10 -0
  175. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -0
  176. package/dist/v2/components/sidebar/SidebarToggle.vue.js +52 -0
  177. package/dist/v2/components/sidebar/SidebarToggle.vue2.js +4 -0
  178. package/dist/v2/components/sidebar/index.d.ts +4 -0
  179. package/dist/v2/components/sidebar/index.d.ts.map +1 -0
  180. package/dist/v2/components/sidebar/index.js +8 -0
  181. package/dist/v2/features/app/App.test.d.ts +2 -0
  182. package/dist/v2/features/app/App.test.d.ts.map +1 -0
  183. package/dist/v2/features/app/App.vue.d.ts +16 -0
  184. package/dist/v2/features/app/App.vue.d.ts.map +1 -0
  185. package/dist/v2/features/app/App.vue.js +87 -0
  186. package/dist/v2/features/app/App.vue3.js +5 -0
  187. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +30 -0
  188. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -0
  189. package/dist/v2/features/app/components/AppSidebar.vue.js +7 -0
  190. package/dist/v2/features/app/components/AppSidebar.vue2.js +117 -0
  191. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +6 -0
  192. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -0
  193. package/dist/v2/features/app/components/DesktopTabs.vue.js +15 -0
  194. package/dist/v2/features/app/components/DesktopTabs.vue2.js +6 -0
  195. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +3 -0
  196. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -0
  197. package/dist/v2/features/app/components/DownloadAppButton.vue.js +7 -0
  198. package/dist/v2/features/app/components/DownloadAppButton.vue2.js +19 -0
  199. package/dist/v2/features/app/components/WebTopNav.vue.d.ts +16 -0
  200. package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -0
  201. package/dist/v2/features/app/components/WebTopNav.vue.js +28 -0
  202. package/dist/v2/features/app/components/WebTopNav.vue2.js +4 -0
  203. package/dist/v2/features/app/components/index.d.ts +2 -0
  204. package/dist/v2/features/app/components/index.d.ts.map +1 -0
  205. package/dist/v2/features/app/components/index.js +5 -0
  206. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +25 -0
  207. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -0
  208. package/dist/v2/features/app/helpers/create-api-client-app.js +21 -0
  209. package/dist/v2/features/app/helpers/routes.d.ts +106 -0
  210. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -0
  211. package/dist/v2/features/app/helpers/routes.js +109 -0
  212. package/dist/v2/features/app/index.d.ts +2 -0
  213. package/dist/v2/features/app/index.d.ts.map +1 -0
  214. package/dist/v2/features/app/index.js +4 -0
  215. package/dist/v2/features/collection/DocumentCollection.test.d.ts +2 -0
  216. package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +1 -0
  217. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +12 -0
  218. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -0
  219. package/dist/v2/features/collection/DocumentCollection.vue.js +4 -0
  220. package/dist/v2/features/collection/DocumentCollection.vue2.js +95 -0
  221. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +10 -0
  222. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -0
  223. package/dist/v2/features/collection/WorkspaceCollection.vue.js +4 -0
  224. package/dist/v2/features/collection/WorkspaceCollection.vue2.js +40 -0
  225. package/dist/v2/features/collection/components/Authentication.test.d.ts +2 -0
  226. package/dist/v2/features/collection/components/Authentication.test.d.ts.map +1 -0
  227. package/dist/v2/features/collection/components/Authentication.vue.d.ts +48 -0
  228. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -0
  229. package/dist/v2/features/collection/components/Authentication.vue.js +7 -0
  230. package/dist/v2/features/collection/components/Authentication.vue2.js +50 -0
  231. package/dist/v2/features/collection/components/Cookies.vue.d.ts +3 -0
  232. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -0
  233. package/dist/v2/features/collection/components/Cookies.vue.js +9 -0
  234. package/dist/v2/features/collection/components/Environment.test.d.ts +2 -0
  235. package/dist/v2/features/collection/components/Environment.test.d.ts.map +1 -0
  236. package/dist/v2/features/collection/components/Environment.vue.d.ts +15 -0
  237. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -0
  238. package/dist/v2/features/collection/components/Environment.vue.js +4 -0
  239. package/dist/v2/features/collection/components/Environment.vue2.js +29 -0
  240. package/dist/v2/features/collection/components/Form.vue.d.ts +29 -0
  241. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -0
  242. package/dist/v2/features/collection/components/Form.vue.js +83 -0
  243. package/dist/v2/features/collection/components/Form.vue2.js +4 -0
  244. package/dist/v2/features/collection/components/LabelInput.test.d.ts +2 -0
  245. package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +1 -0
  246. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +10 -0
  247. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -0
  248. package/dist/v2/features/collection/components/LabelInput.vue.js +7 -0
  249. package/dist/v2/features/collection/components/LabelInput.vue2.js +29 -0
  250. package/dist/v2/features/collection/components/Overview.test.d.ts +2 -0
  251. package/dist/v2/features/collection/components/Overview.test.d.ts.map +1 -0
  252. package/dist/v2/features/collection/components/Overview.vue.d.ts +15 -0
  253. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -0
  254. package/dist/v2/features/collection/components/Overview.vue.js +7 -0
  255. package/dist/v2/features/collection/components/Overview.vue2.js +89 -0
  256. package/dist/v2/features/collection/components/Servers.test.d.ts +2 -0
  257. package/dist/v2/features/collection/components/Servers.test.d.ts.map +1 -0
  258. package/dist/v2/features/collection/components/Servers.vue.d.ts +33 -0
  259. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -0
  260. package/dist/v2/features/collection/components/Servers.vue.js +4 -0
  261. package/dist/v2/features/collection/components/Servers.vue2.js +120 -0
  262. package/dist/v2/features/collection/components/Settings.test.d.ts +2 -0
  263. package/dist/v2/features/collection/components/Settings.test.d.ts.map +1 -0
  264. package/dist/v2/features/collection/components/Settings.vue.d.ts +17 -0
  265. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -0
  266. package/dist/v2/features/collection/components/Settings.vue.js +7 -0
  267. package/dist/v2/features/collection/components/Settings.vue2.js +100 -0
  268. package/dist/v2/features/collection/components/Tabs.test.d.ts +2 -0
  269. package/dist/v2/features/collection/components/Tabs.test.d.ts.map +1 -0
  270. package/dist/v2/features/collection/components/Tabs.vue.d.ts +6 -0
  271. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -0
  272. package/dist/v2/features/collection/components/Tabs.vue.js +46 -0
  273. package/dist/v2/features/collection/components/Tabs.vue2.js +4 -0
  274. package/dist/v2/features/environments/EnvironmentsList.test.d.ts +2 -0
  275. package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +1 -0
  276. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +9 -0
  277. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -0
  278. package/dist/v2/features/environments/EnvironmentsList.vue.js +66 -0
  279. package/dist/v2/features/environments/EnvironmentsList.vue2.js +4 -0
  280. package/dist/v2/features/environments/components/Environment.test.d.ts +2 -0
  281. package/dist/v2/features/environments/components/Environment.test.d.ts.map +1 -0
  282. package/dist/v2/features/environments/components/Environment.vue.d.ts +16 -0
  283. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -0
  284. package/dist/v2/features/environments/components/Environment.vue.js +53 -0
  285. package/dist/v2/features/environments/components/Environment.vue2.js +4 -0
  286. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +2 -0
  287. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +1 -0
  288. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +10 -0
  289. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -0
  290. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +121 -0
  291. package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +4 -0
  292. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +12 -0
  293. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -0
  294. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +85 -0
  295. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue2.js +4 -0
  296. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +14 -0
  297. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -0
  298. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +53 -0
  299. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue2.js +4 -0
  300. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +21 -0
  301. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -0
  302. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +109 -0
  303. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue2.js +4 -0
  304. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +2 -0
  305. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +1 -0
  306. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +10 -0
  307. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -0
  308. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +7 -0
  309. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +136 -0
  310. package/dist/v2/features/environments/index.d.ts +2 -0
  311. package/dist/v2/features/environments/index.d.ts.map +1 -0
  312. package/dist/v2/features/environments/index.js +4 -0
  313. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +2 -0
  314. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +1 -0
  315. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +25 -0
  316. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -0
  317. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +7 -0
  318. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +156 -0
  319. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +2 -0
  320. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +1 -0
  321. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts +32 -0
  322. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts.map +1 -0
  323. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.js +7 -0
  324. package/dist/v2/features/global-cookies/components/GlobalCookies.vue2.js +58 -0
  325. package/dist/v2/features/global-cookies/index.d.ts +2 -0
  326. package/dist/v2/features/global-cookies/index.d.ts.map +1 -0
  327. package/dist/v2/features/global-cookies/index.js +4 -0
  328. package/dist/v2/features/modal/Modal.vue.d.ts +16 -0
  329. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -0
  330. package/dist/v2/features/modal/Modal.vue.js +7 -0
  331. package/dist/v2/features/modal/Modal.vue2.js +81 -0
  332. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +53 -0
  333. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -0
  334. package/dist/v2/features/modal/helpers/create-api-client-modal.js +46 -0
  335. package/dist/v2/features/modal/index.d.ts +2 -0
  336. package/dist/v2/features/modal/index.d.ts.map +1 -0
  337. package/dist/v2/features/modal/index.js +4 -0
  338. package/dist/v2/features/operation/Operation.test.d.ts +2 -0
  339. package/dist/v2/features/operation/Operation.test.d.ts.map +1 -0
  340. package/dist/v2/features/operation/Operation.vue.d.ts +79 -0
  341. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -0
  342. package/dist/v2/features/operation/Operation.vue.js +124 -0
  343. package/dist/v2/features/operation/Operation.vue2.js +4 -0
  344. package/dist/v2/features/operation/components/Header.test.d.ts +2 -0
  345. package/dist/v2/features/operation/components/Header.test.d.ts.map +1 -0
  346. package/dist/v2/features/operation/components/Header.vue.d.ts +85 -0
  347. package/dist/v2/features/operation/components/Header.vue.d.ts.map +1 -0
  348. package/dist/v2/features/operation/components/Header.vue.js +7 -0
  349. package/dist/v2/features/operation/components/Header.vue2.js +97 -0
  350. package/dist/v2/features/operation/index.d.ts +3 -0
  351. package/dist/v2/features/operation/index.d.ts.map +1 -0
  352. package/dist/v2/features/operation/index.js +4 -0
  353. package/dist/v2/features/settings/Settings.test.d.ts +2 -0
  354. package/dist/v2/features/settings/Settings.test.d.ts.map +1 -0
  355. package/dist/v2/features/settings/Settings.vue.d.ts +22 -0
  356. package/dist/v2/features/settings/Settings.vue.d.ts.map +1 -0
  357. package/dist/v2/features/settings/Settings.vue.js +268 -0
  358. package/dist/v2/features/settings/Settings.vue2.js +4 -0
  359. package/dist/v2/features/settings/components/Appearance.vue.d.ts +10 -0
  360. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -0
  361. package/dist/v2/features/settings/components/Appearance.vue.js +88 -0
  362. package/dist/v2/features/settings/components/Appearance.vue2.js +4 -0
  363. package/dist/v2/features/settings/components/Section.vue.d.ts +14 -0
  364. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -0
  365. package/dist/v2/features/settings/components/Section.vue.js +24 -0
  366. package/dist/v2/features/settings/components/Section.vue2.js +4 -0
  367. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +9 -0
  368. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -0
  369. package/dist/v2/features/settings/helpers/get-theme-colors.js +17 -0
  370. package/dist/v2/features/settings/index.d.ts +2 -0
  371. package/dist/v2/features/settings/index.d.ts.map +1 -0
  372. package/dist/v2/features/settings/index.js +4 -0
  373. package/dist/v2/helpers/test-utils.d.ts +4 -0
  374. package/dist/v2/helpers/test-utils.d.ts.map +1 -0
  375. package/dist/v2/hooks/use-document-watcher.d.ts +28 -0
  376. package/dist/v2/hooks/use-document-watcher.d.ts.map +1 -0
  377. package/dist/v2/hooks/use-document-watcher.test.d.ts +2 -0
  378. package/dist/v2/hooks/use-document-watcher.test.d.ts.map +1 -0
  379. package/dist/v2/hooks/use-workspace-client-events.d.ts +9 -0
  380. package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -0
  381. package/dist/v2/hooks/use-workspace-client-events.js +27 -0
  382. package/dist/v2/plugins.d.ts +44 -0
  383. package/dist/v2/plugins.d.ts.map +1 -0
  384. package/dist/v2/types/layout.d.ts +10 -0
  385. package/dist/v2/types/layout.d.ts.map +1 -0
  386. package/dist/views/Collection/Collection.vue2.js +6 -6
  387. package/dist/views/Collection/CollectionCookies.vue2.js +3 -3
  388. package/dist/views/Collection/CollectionEnvironment.vue2.js +12 -13
  389. package/dist/views/Collection/CollectionScripts.vue2.js +3 -3
  390. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  391. package/dist/views/Collection/CollectionServerForm.vue.js +42 -62
  392. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  393. package/dist/views/Collection/CollectionServers.vue2.js +43 -50
  394. package/dist/views/Collection/CollectionSettings.vue.js +2 -2
  395. package/dist/views/Collection/CollectionSettings.vue2.js +5 -6
  396. package/dist/views/Collection/CollectionSync.vue2.js +3 -3
  397. package/dist/views/Collection/components/EnvironmentForm.vue2.js +10 -12
  398. package/dist/views/Collection/components/MarkdownInput.vue2.js +2 -4
  399. package/dist/views/Cookies/CookieModal.vue2.js +6 -6
  400. package/dist/views/Cookies/Cookies.vue2.js +6 -6
  401. package/dist/views/Environment/Environment.vue2.js +5 -6
  402. package/dist/views/Environment/EnvironmentModal.vue.js +13 -14
  403. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +8 -9
  404. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  405. package/dist/views/Request/RequestRoot.vue.js +2 -2
  406. package/dist/views/Request/RequestRoot.vue2.js +79 -80
  407. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +10 -11
  408. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -55
  409. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +10 -12
  410. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +2 -2
  411. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +39 -44
  412. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  413. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  414. package/dist/views/Request/RequestSection/RequestBody.vue2.js +96 -78
  415. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +3 -3
  416. package/dist/views/Request/RequestSection/RequestParams.vue.js +2 -3
  417. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  418. package/dist/views/Request/RequestSection/RequestSection.vue2.js +55 -55
  419. package/dist/views/Request/RequestSection/RequestTable.vue2.js +15 -17
  420. package/dist/views/Request/RequestSidebar.vue2.js +7 -8
  421. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  422. package/dist/views/Request/RequestSidebarItem.vue2.js +31 -32
  423. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  424. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -16
  425. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +11 -13
  426. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +4 -5
  427. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -5
  428. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
  429. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
  430. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +4 -4
  431. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +11 -13
  432. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +7 -8
  433. package/dist/views/Request/components/WorkspaceDropdown.vue.js +11 -14
  434. package/dist/views/Request/libs/oauth2.d.ts +1 -1
  435. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  436. package/dist/views/Settings/SettingsGeneral.vue.js +40 -42
  437. package/dist/views/Settings/components/SettingsAppearance.vue.js +8 -11
  438. package/package.json +31 -26
  439. package/dist/hooks/useKeyMap.d.ts +0 -2
  440. package/dist/hooks/useKeyMap.d.ts.map +0 -1
  441. package/dist/hooks/useKeyMap.js +0 -9
  442. package/dist/router.d.ts +0 -8
  443. package/dist/router.d.ts.map +0 -1
  444. package/dist/router.js +0 -20
@@ -14,9 +14,6 @@ type __VLS_Props = {
14
14
  server: ServerObject | undefined;
15
15
  /** Server list available for operation/document */
16
16
  servers: ServerObject[];
17
- /** Environment variables used for codemirror variables pill on input */
18
- environment: Environment;
19
- envVariables: EnvVariable[];
20
17
  /** List of request history */
21
18
  history: History[];
22
19
  /** Client layout */
@@ -25,6 +22,9 @@ type __VLS_Props = {
25
22
  percentage?: number;
26
23
  /** Event bus */
27
24
  events: ReturnType<typeof createStoreEvents>;
25
+ /** TODO: to be removed once we fully migrate to the new store */
26
+ environment: Environment;
27
+ envVariables: EnvVariable[];
28
28
  };
29
29
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
30
30
  addServer: () => any;
@@ -33,6 +33,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
33
33
  key: string;
34
34
  value: string;
35
35
  }) => any;
36
+ execute: () => any;
36
37
  "update:selectedServer": (payload: {
37
38
  id: string;
38
39
  }) => any;
@@ -42,7 +43,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
42
43
  "update:path": (payload: {
43
44
  path: string;
44
45
  }) => any;
45
- execute: () => any;
46
46
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
47
47
  onAddServer?: (() => any) | undefined;
48
48
  onImportCurl?: ((value: string) => any) | undefined;
@@ -50,6 +50,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
50
50
  key: string;
51
51
  value: string;
52
52
  }) => any) | undefined;
53
+ onExecute?: (() => any) | undefined;
53
54
  "onUpdate:selectedServer"?: ((payload: {
54
55
  id: string;
55
56
  }) => any) | undefined;
@@ -59,7 +60,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
59
60
  "onUpdate:path"?: ((payload: {
60
61
  path: string;
61
62
  }) => any) | undefined;
62
- onExecute?: (() => any) | undefined;
63
63
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
64
64
  export default _default;
65
65
  //# sourceMappingURL=AddressBar.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-address-bar-block/components/AddressBar.vue"],"names":[],"mappings":"AAsSA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AACrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAKhG,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGvD,OAA0B,EAAE,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEzE,KAAK,WAAW,GAAG;IACjB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,MAAM,EAAE,cAAc,CAAA;IACtB,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,mDAAmD;IACnD,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,wEAAwE;IACxE,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,8BAA8B;IAC9B,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IACpB,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB;IAChB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;CAC7C,CAAC;;;;;aAwBuC,MAAM;eAAS,MAAM;;;YADhB,MAAM;;;gBANV,cAAc;;;cAElB,MAAM;;;;;;;aAKH,MAAM;eAAS,MAAM;;;YADhB,MAAM;;;gBANV,cAAc;;;cAElB,MAAM;;;;AA8Y5C,wBAOG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-address-bar-block/components/AddressBar.vue"],"names":[],"mappings":"AAuSA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AACrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAKhG,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGvD,OAA0B,EAAE,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEzE,KAAK,WAAW,GAAG;IACjB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,MAAM,EAAE,cAAc,CAAA;IACtB,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,mDAAmD;IACnD,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,8BAA8B;IAC9B,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IACpB,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB;IAChB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;IAE5C,iEAAiE;IACjE,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;;;;;aAwBuC,MAAM;eAAS,MAAM;;;;YADhB,MAAM;;;gBANV,cAAc;;;cAElB,MAAM;;;;;;aAKH,MAAM;eAAS,MAAM;;;;YADhB,MAAM;;;gBANV,cAAc;;;cAElB,MAAM;;;AA8Y5C,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-dae5edff"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-3f08f1e1"]]);
5
5
  export {
6
- e as default
6
+ a as default
7
7
  };
@@ -15,12 +15,12 @@ const z = ["id"], U = { class: "address-bar-bg-states text-xxs group relative or
15
15
  method: {},
16
16
  server: {},
17
17
  servers: {},
18
- environment: {},
19
- envVariables: {},
20
18
  history: {},
21
19
  layout: {},
22
20
  percentage: { default: 100 },
23
- events: {}
21
+ events: {},
22
+ environment: {},
23
+ envVariables: {}
24
24
  },
25
25
  emits: ["importCurl", "update:method", "update:path", "execute", "update:selectedServer", "update:variable", "addServer"],
26
26
  setup(n, { emit: v }) {
@@ -34,8 +34,7 @@ const E = { class: "min-w-0" }, q = { class: "text-c-1 min-w-0 truncate" }, O =
34
34
  }),
35
35
  c[0] || (c[0] = s("span", { class: "sr-only" }, "Request History", -1))
36
36
  ]),
37
- _: 1,
38
- __: [0]
37
+ _: 1
39
38
  })) : _("", !0)
40
39
  ]),
41
40
  _: 2
@@ -73,8 +72,8 @@ const E = { class: "min-w-0" }, q = { class: "text-c-1 min-w-0 truncate" }, O =
73
72
  _: 2
74
73
  }, 1032, ["value", "onClick"]))), 128))
75
74
  ]),
76
- _: 2
77
- }, 1032, ["style"]),
75
+ _: 1
76
+ }, 8, ["style"]),
78
77
  r(t(I), { class: "-top-(--scalar-address-bar-height) rounded-lg" })
79
78
  ]),
80
79
  key: "0"
@@ -1,2 +1,3 @@
1
1
  export { default as AddressBar } from './components/AddressBar.vue.js';
2
+ export type { History } from './components/AddressBarHistory.vue.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/blocks/scalar-address-bar-block/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/blocks/scalar-address-bar-block/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACnE,YAAY,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA"}
@@ -124,11 +124,11 @@ const te = ["id"], le = { class: "flex flex-1" }, oe = { class: "min-w-0 flex-1
124
124
  e[4] || (e[4] = i("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
125
125
  C(" " + h(s.value[0]?.label), 1)
126
126
  ], 64)) : s.value.length > 1 ? (r(), v(k, { key: 1 }, [
127
- e[5] || (e[5] = C(" Multiple ")),
127
+ e[5] || (e[5] = C(" Multiple ", -1)),
128
128
  e[6] || (e[6] = i("span", { class: "sr-only" }, "Auth Types Selected", -1))
129
129
  ], 64)) : (r(), v(k, { key: 2 }, [
130
130
  e[7] || (e[7] = i("span", { class: "sr-only" }, "Select", -1)),
131
- e[8] || (e[8] = C(" Auth Type "))
131
+ e[8] || (e[8] = C(" Auth Type ", -1))
132
132
  ], 64)),
133
133
  m(o(H), {
134
134
  class: "size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180",
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as m, createBlock as p, openBlock as f, unref as o, withCtx as n, createElementVNode as s, toDisplayString as a, createVNode as r, createTextVNode as i } from "vue";
2
2
  import { ScalarModal as h, ScalarButton as c } from "@scalar/components";
3
- const x = { class: "text-c-2 mb-4 text-sm leading-normal" }, _ = { class: "flex justify-between gap-2" }, C = /* @__PURE__ */ m({
3
+ const x = { class: "text-c-2 mb-4 text-sm leading-normal" }, b = { class: "flex justify-between gap-2" }, C = /* @__PURE__ */ m({
4
4
  __name: "DeleteRequestAuthModal",
5
5
  props: {
6
6
  state: {},
7
7
  label: {}
8
8
  },
9
9
  emits: ["close", "delete"],
10
- setup(b, { emit: u }) {
10
+ setup(_, { emit: u }) {
11
11
  const l = u, d = () => {
12
12
  l("delete");
13
13
  };
@@ -18,18 +18,17 @@ const x = { class: "text-c-2 mb-4 text-sm leading-normal" }, _ = { class: "flex
18
18
  }, {
19
19
  default: n(() => [
20
20
  s("p", x, " This cannot be undone. You're about to delete the " + a(t.label) + " security scheme from the collection. ", 1),
21
- s("div", _, [
21
+ s("div", b, [
22
22
  r(o(c), {
23
23
  class: "flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",
24
24
  type: "button",
25
25
  variant: "outlined",
26
26
  onClick: e[0] || (e[0] = (y) => l("close"))
27
27
  }, {
28
- default: n(() => e[1] || (e[1] = [
29
- i(" Cancel ")
30
- ])),
31
- _: 1,
32
- __: [1]
28
+ default: n(() => [...e[1] || (e[1] = [
29
+ i(" Cancel ", -1)
30
+ ])]),
31
+ _: 1
33
32
  }),
34
33
  r(o(c), {
35
34
  class: "flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",
@@ -50,11 +50,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
50
50
  type: "password",
51
51
  "onUpdate:modelValue": e[0] || (e[0] = (a) => s("update:securityScheme", { token: a }))
52
52
  }), {
53
- default: l(() => e[11] || (e[11] = [
54
- d(" Access Token ")
55
- ])),
56
- _: 1,
57
- __: [11]
53
+ default: l(() => [...e[11] || (e[11] = [
54
+ d(" Access Token ", -1)
55
+ ])]),
56
+ _: 1
58
57
  }, 16, ["modelValue"])
59
58
  ]),
60
59
  _: 1
@@ -69,11 +68,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
69
68
  variant: "outlined",
70
69
  onClick: e[1] || (e[1] = (a) => s("update:securityScheme", { token: "" }))
71
70
  }, {
72
- default: l(() => e[12] || (e[12] = [
73
- d(" Clear ")
74
- ])),
75
- _: 1,
76
- __: [12]
71
+ default: l(() => [...e[12] || (e[12] = [
72
+ d(" Clear ", -1)
73
+ ])]),
74
+ _: 1
77
75
  }, 8, ["loading"])
78
76
  ])
79
77
  ]),
@@ -88,22 +86,20 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
88
86
  placeholder: "https://galaxy.scalar.com/authorize",
89
87
  "onUpdate:modelValue": e[2] || (e[2] = (a) => s("update:securityScheme", { authUrl: a }))
90
88
  }), {
91
- default: l(() => e[13] || (e[13] = [
92
- d(" Auth URL ")
93
- ])),
94
- _: 1,
95
- __: [13]
89
+ default: l(() => [...e[13] || (e[13] = [
90
+ d(" Auth URL ", -1)
91
+ ])]),
92
+ _: 1
96
93
  }, 16, ["modelValue"])) : f("", !0),
97
94
  "tokenUrl" in t.value ? (u(), y(c, p({ key: 1 }, m, {
98
95
  modelValue: t.value.tokenUrl,
99
96
  placeholder: "https://galaxy.scalar.com/token",
100
97
  "onUpdate:modelValue": e[3] || (e[3] = (a) => s("update:securityScheme", { tokenUrl: a }))
101
98
  }), {
102
- default: l(() => e[14] || (e[14] = [
103
- d(" Token URL ")
104
- ])),
105
- _: 1,
106
- __: [14]
99
+ default: l(() => [...e[14] || (e[14] = [
100
+ d(" Token URL ", -1)
101
+ ])]),
102
+ _: 1
107
103
  }, 16, ["modelValue"])) : f("", !0)
108
104
  ]),
109
105
  _: 1
@@ -115,11 +111,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
115
111
  placeholder: "https://galaxy.scalar.com/callback",
116
112
  "onUpdate:modelValue": e[4] || (e[4] = (a) => s("update:securityScheme", { redirectUrl: a }))
117
113
  }), {
118
- default: l(() => e[15] || (e[15] = [
119
- d(" Redirect URL ")
120
- ])),
121
- _: 1,
122
- __: [15]
114
+ default: l(() => [...e[15] || (e[15] = [
115
+ d(" Redirect URL ", -1)
116
+ ])]),
117
+ _: 1
123
118
  }, 16, ["modelValue"])
124
119
  ]),
125
120
  _: 1
@@ -133,11 +128,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
133
128
  placeholder: "janedoe",
134
129
  "onUpdate:modelValue": e[5] || (e[5] = (a) => s("update:securityScheme", { username: a }))
135
130
  }), {
136
- default: l(() => e[16] || (e[16] = [
137
- d(" Username ")
138
- ])),
139
- _: 1,
140
- __: [16]
131
+ default: l(() => [...e[16] || (e[16] = [
132
+ d(" Username ", -1)
133
+ ])]),
134
+ _: 1
141
135
  }, 16, ["modelValue"])
142
136
  ]),
143
137
  _: 1
@@ -150,11 +144,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
150
144
  type: "password",
151
145
  "onUpdate:modelValue": e[6] || (e[6] = (a) => s("update:securityScheme", { password: a }))
152
146
  }), {
153
- default: l(() => e[17] || (e[17] = [
154
- d(" Password ")
155
- ])),
156
- _: 1,
157
- __: [17]
147
+ default: l(() => [...e[17] || (e[17] = [
148
+ d(" Password ", -1)
149
+ ])]),
150
+ _: 1
158
151
  }, 16, ["modelValue"])
159
152
  ]),
160
153
  _: 1
@@ -167,11 +160,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
167
160
  placeholder: "12345",
168
161
  "onUpdate:modelValue": e[7] || (e[7] = (a) => s("update:securityScheme", { clientId: a }))
169
162
  }), {
170
- default: l(() => e[18] || (e[18] = [
171
- d(" Client ID ")
172
- ])),
173
- _: 1,
174
- __: [18]
163
+ default: l(() => [...e[18] || (e[18] = [
164
+ d(" Client ID ", -1)
165
+ ])]),
166
+ _: 1
175
167
  }, 16, ["modelValue"])
176
168
  ]),
177
169
  _: 1
@@ -184,11 +176,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
184
176
  type: "password",
185
177
  "onUpdate:modelValue": e[8] || (e[8] = (a) => s("update:securityScheme", { clientSecret: a }))
186
178
  }), {
187
- default: l(() => e[19] || (e[19] = [
188
- d(" Client Secret ")
189
- ])),
190
- _: 1,
191
- __: [19]
179
+ default: l(() => [...e[19] || (e[19] = [
180
+ d(" Client Secret ", -1)
181
+ ])]),
182
+ _: 1
192
183
  }, 16, ["modelValue"])
193
184
  ]),
194
185
  _: 1
@@ -203,11 +194,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
203
194
  usePkce: a
204
195
  }))
205
196
  }), {
206
- default: l(() => e[20] || (e[20] = [
207
- d(" Use PKCE ")
208
- ])),
209
- _: 1,
210
- __: [20]
197
+ default: l(() => [...e[20] || (e[20] = [
198
+ d(" Use PKCE ", -1)
199
+ ])]),
200
+ _: 1
211
201
  }, 16, ["enum", "modelValue"])
212
202
  ]),
213
203
  _: 1
@@ -236,11 +226,10 @@ const B = { class: "flex h-8 items-center justify-end gap-2 border-t" }, F = { c
236
226
  variant: "outlined",
237
227
  onClick: b
238
228
  }, {
239
- default: l(() => e[21] || (e[21] = [
240
- d(" Authorize ")
241
- ])),
242
- _: 1,
243
- __: [21]
229
+ default: l(() => [...e[21] || (e[21] = [
230
+ d(" Authorize ", -1)
231
+ ])]),
232
+ _: 1
244
233
  }, 8, ["loading"])
245
234
  ])
246
235
  ]),
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as A, computed as v, createBlock as d, openBlock as n, unref as s, withCtx as o, createElementVNode as a, createVNode as r, normalizeClass as B, toDisplayString as p, createCommentVNode as u, withModifiers as g, createTextVNode as m, createElementBlock as w, Fragment as O, renderList as j } from "vue";
2
2
  import { Disclosure as z, DisclosureButton as N, DisclosurePanel as T } from "@headlessui/vue";
3
3
  import { ScalarButton as k, ScalarIcon as $ } from "@scalar/components";
4
- import _ from "../../../../components/DataTable/DataTableCell.vue.js";
4
+ import C from "../../../../components/DataTable/DataTableCell.vue.js";
5
5
  import E from "../../../../components/DataTable/DataTableRow.vue.js";
6
6
  import I from "../../../../components/DataTable/DataTableCheckbox.vue.js";
7
7
  const R = { class: "flex h-fit w-full" }, U = { class: "flex-1" }, F = { class: "flex items-center gap-1.75" }, L = {
@@ -14,8 +14,8 @@ const R = { class: "flex h-fit w-full" }, U = { class: "flex-1" }, F = { class:
14
14
  selectedScopes: {}
15
15
  },
16
16
  emits: ["update:selectedScopes"],
17
- setup(c, { emit: C }) {
18
- const i = C, b = v(
17
+ setup(c, { emit: b }) {
18
+ const i = b, y = v(
19
19
  () => Object.entries(c.flow?.scopes ?? {}).map(([e, t]) => ({
20
20
  id: e,
21
21
  label: e,
@@ -33,12 +33,12 @@ const R = { class: "flex h-fit w-full" }, U = { class: "flex-1" }, F = { class:
33
33
  scopes: c.selectedScopes.filter((l) => l !== e)
34
34
  });
35
35
  }
36
- const y = () => {
36
+ const _ = () => {
37
37
  i("update:selectedScopes", { scopes: Object.keys(c.flow?.scopes ?? {}) });
38
38
  }, V = () => {
39
39
  i("update:selectedScopes", { scopes: [] });
40
40
  };
41
- return (e, t) => (n(), d(s(_), { class: "h-auto !max-h-[initial] min-h-8 items-center" }, {
41
+ return (e, t) => (n(), d(s(C), { class: "h-auto !max-h-[initial] min-h-8 items-center" }, {
42
42
  default: o(() => [
43
43
  a("div", R, [
44
44
  t[2] || (t[2] = a("div", { class: "text-c-1 h-full items-center" }, null, -1)),
@@ -63,24 +63,22 @@ const R = { class: "flex h-fit w-full" }, U = { class: "flex-1" }, F = { class:
63
63
  variant: "ghost",
64
64
  onClick: g(V, ["stop"])
65
65
  }, {
66
- default: o(() => t[0] || (t[0] = [
67
- m(" Deselect All ")
68
- ])),
69
- _: 1,
70
- __: [0]
66
+ default: o(() => [...t[0] || (t[0] = [
67
+ m(" Deselect All ", -1)
68
+ ])]),
69
+ _: 1
71
70
  })) : u("", !0),
72
71
  f.value ? u("", !0) : (n(), d(s(k), {
73
72
  key: 1,
74
73
  class: "pr-0.75 pl-1 transition-none",
75
74
  size: "sm",
76
75
  variant: "ghost",
77
- onClick: g(y, ["stop"])
76
+ onClick: g(_, ["stop"])
78
77
  }, {
79
- default: o(() => t[1] || (t[1] = [
80
- m(" Select All ")
81
- ])),
82
- _: 1,
83
- __: [1]
78
+ default: o(() => [...t[1] || (t[1] = [
79
+ m(" Select All ", -1)
80
+ ])]),
81
+ _: 1
84
82
  })),
85
83
  r(s($), {
86
84
  class: "text-c-3 group-hover/scopes-accordion:text-c-2",
@@ -94,13 +92,13 @@ const R = { class: "flex h-fit w-full" }, U = { class: "flex-1" }, F = { class:
94
92
  r(s(T), { as: "template" }, {
95
93
  default: o(() => [
96
94
  a("table", L, [
97
- (n(!0), w(O, null, j(b.value, ({ id: l, label: D, description: h }) => (n(), d(s(E), {
95
+ (n(!0), w(O, null, j(y.value, ({ id: l, label: D, description: h }) => (n(), d(s(E), {
98
96
  key: l,
99
97
  class: "text-c-2",
100
98
  onClick: (x) => S(l, !e.selectedScopes.includes(l))
101
99
  }, {
102
100
  default: o(() => [
103
- r(s(_), { class: "hover:text-c-1 box-border !max-h-[initial] w-full cursor-pointer px-3 py-1.5" }, {
101
+ r(s(C), { class: "hover:text-c-1 box-border !max-h-[initial] w-full cursor-pointer px-3 py-1.5" }, {
104
102
  default: o(() => [
105
103
  h ? (n(), w("div", M, [
106
104
  a("span", P, p(D), 1),
@@ -1,4 +1,4 @@
1
- import { defineComponent as R, computed as N, ref as P, createElementBlock as u, openBlock as r, Fragment as i, renderList as U, createBlock as k, createCommentVNode as b, unref as s, withCtx as o, createVNode as a, createElementVNode as C, toDisplayString as F, mergeProps as v, createTextVNode as x, normalizeClass as j, capitalize as _ } from "vue";
1
+ import { defineComponent as R, computed as N, ref as P, createElementBlock as u, openBlock as r, Fragment as i, renderList as C, createBlock as k, createCommentVNode as b, unref as s, withCtx as o, createVNode as a, createElementVNode as _, toDisplayString as F, mergeProps as v, createTextVNode as x, normalizeClass as j, capitalize as $ } from "vue";
2
2
  import { ScalarMarkdownSummary as z } from "@scalar/components";
3
3
  import { getResolvedRef as K } from "@scalar/workspace-store/helpers/get-resolved-ref";
4
4
  import O from "./OAuth2.vue.js";
@@ -20,41 +20,41 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
20
20
  },
21
21
  emits: ["update:securityScheme", "update:selectedScopes"],
22
22
  setup(S, { emit: I }) {
23
- const c = I, $ = N(
23
+ const c = I, h = N(
24
24
  () => Object.entries(S.selectedSecuritySchema).map(([l, e]) => ({
25
25
  scheme: K(S.securitySchemes[l]),
26
26
  name: l,
27
27
  scopes: e
28
28
  }))
29
29
  ), p = P(""), T = (l, e) => {
30
- const t = e.description ? `: ${e.description}` : "", m = `${_(l)}${t || `: ${e.type}`}`;
30
+ const t = e.description ? `: ${e.description}` : "", m = `${$(l)}${t || `: ${e.type}`}`;
31
31
  if (e.type === "apiKey")
32
- return `${_(l)}${t || `: ${e.in}`}`;
32
+ return `${$(l)}${t || `: ${e.in}`}`;
33
33
  if (e.type === "oauth2") {
34
- const h = Object.keys(e.flows ?? {})[0];
35
- return `${_(l)}: ${p.value ? p.value : h}${t}`;
34
+ const U = Object.keys(e.flows ?? {})[0];
35
+ return `${$(l)}: ${p.value ? p.value : U}${t}`;
36
36
  }
37
- return e.type === "http" ? `${_(l)}: ${e.scheme}${t}` : `${m}${t}`;
37
+ return e.type === "http" ? `${$(l)}: ${e.scheme}${t}` : `${m}${t}`;
38
38
  }, y = {
39
39
  environment: S.environment,
40
40
  envVariables: S.envVariables
41
41
  };
42
- return (l, e) => (r(!0), u(i, null, U($.value, ({ scheme: t, name: m, scopes: h }) => (r(), u(i, { key: m }, [
43
- $.value.length > 1 && t ? (r(), k(s(f), { key: 0 }, {
42
+ return (l, e) => (r(!0), u(i, null, C(h.value, ({ scheme: t, name: m, scopes: U }) => (r(), u(i, { key: m }, [
43
+ h.value.length > 1 && t ? (r(), k(s(f), { key: 0 }, {
44
44
  default: o(() => [
45
45
  a(s(B), {
46
46
  "aria-label": T(m, t),
47
47
  class: "text-c-2 group/auth flex items-center leading-[22px] whitespace-nowrap outline-none hover:whitespace-normal"
48
48
  }, {
49
49
  default: o(() => [
50
- C("p", L, F(T(m, t)), 1)
50
+ _("p", L, F(T(m, t)), 1)
51
51
  ]),
52
52
  _: 2
53
53
  }, 1032, ["aria-label"])
54
54
  ]),
55
55
  _: 2
56
56
  }, 1024)) : b("", !0),
57
- t?.description && $.value.length <= 1 ? (r(), k(s(f), { key: 1 }, {
57
+ t?.description && h.value.length <= 1 ? (r(), k(s(f), { key: 1 }, {
58
58
  default: o(() => [
59
59
  a(s(B), {
60
60
  "aria-label": t.description,
@@ -84,12 +84,11 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
84
84
  payload: { token: n }
85
85
  }))
86
86
  }), {
87
- default: o(() => e[5] || (e[5] = [
88
- x(" Bearer Token ")
89
- ])),
90
- _: 2,
91
- __: [5]
92
- }, 1040, ["containerClass", "modelValue"])
87
+ default: o(() => [...e[5] || (e[5] = [
88
+ x(" Bearer Token ", -1)
89
+ ])]),
90
+ _: 1
91
+ }, 16, ["containerClass", "modelValue"])
93
92
  ]),
94
93
  _: 2
95
94
  }, 1024)) : t?.scheme === "basic" ? (r(), u(i, { key: 1 }, [
@@ -105,12 +104,11 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
105
104
  payload: { username: n }
106
105
  }))
107
106
  }), {
108
- default: o(() => e[6] || (e[6] = [
109
- x(" Username ")
110
- ])),
111
- _: 2,
112
- __: [6]
113
- }, 1040, ["modelValue"])
107
+ default: o(() => [...e[6] || (e[6] = [
108
+ x(" Username ", -1)
109
+ ])]),
110
+ _: 1
111
+ }, 16, ["modelValue"])
114
112
  ]),
115
113
  _: 2
116
114
  }, 1024),
@@ -125,12 +123,11 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
125
123
  payload: { password: n }
126
124
  }))
127
125
  }), {
128
- default: o(() => e[7] || (e[7] = [
129
- x(" Password ")
130
- ])),
131
- _: 2,
132
- __: [7]
133
- }, 1040, ["modelValue"])
126
+ default: o(() => [...e[7] || (e[7] = [
127
+ x(" Password ", -1)
128
+ ])]),
129
+ _: 1
130
+ }, 16, ["modelValue"])
134
131
  ]),
135
132
  _: 2
136
133
  }, 1024)
@@ -147,12 +144,11 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
147
144
  payload: { name: n }
148
145
  }))
149
146
  }), {
150
- default: o(() => e[8] || (e[8] = [
151
- x(" Name ")
152
- ])),
153
- _: 2,
154
- __: [8]
155
- }, 1040, ["containerClass", "modelValue"])
147
+ default: o(() => [...e[8] || (e[8] = [
148
+ x(" Name ", -1)
149
+ ])]),
150
+ _: 1
151
+ }, 16, ["containerClass", "modelValue"])
156
152
  ]),
157
153
  _: 2
158
154
  }, 1024),
@@ -167,12 +163,11 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
167
163
  payload: { value: n }
168
164
  }))
169
165
  }), {
170
- default: o(() => e[9] || (e[9] = [
171
- x(" Value ")
172
- ])),
173
- _: 2,
174
- __: [9]
175
- }, 1040, ["modelValue"])
166
+ default: o(() => [...e[9] || (e[9] = [
167
+ x(" Value ", -1)
168
+ ])]),
169
+ _: 1
170
+ }, 16, ["modelValue"])
176
171
  ]),
177
172
  _: 2
178
173
  }, 1024)
@@ -180,8 +175,8 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
180
175
  a(s(f), null, {
181
176
  default: o(() => [
182
177
  Object.keys(t.flows).length > 1 ? (r(), u("div", M, [
183
- C("div", Q, [
184
- (r(!0), u(i, null, U(t?.flows, (n, d, V) => (r(), u("button", {
178
+ _("div", Q, [
179
+ (r(!0), u(i, null, C(t?.flows, (n, d, V) => (r(), u("button", {
185
180
  key: d,
186
181
  class: j(["floating-bg text-c-3 relative cursor-pointer border-b-[1px] border-transparent py-1 text-base font-medium", {
187
182
  "!text-c-1 !rounded-none border-b-[1px] !border-current": l.layout !== "reference" && (p.value === d || V === 0 && !p.value),
@@ -190,14 +185,14 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
190
185
  type: "button",
191
186
  onClick: (g) => p.value = d
192
187
  }, [
193
- C("span", D, F(d), 1)
188
+ _("span", D, F(d), 1)
194
189
  ], 10, q))), 128))
195
190
  ])
196
191
  ])) : b("", !0)
197
192
  ]),
198
193
  _: 2
199
194
  }, 1024),
200
- (r(!0), u(i, null, U(t.flows, (n, d, V) => (r(), u(i, { key: d }, [
195
+ (r(!0), u(i, null, C(t.flows, (n, d, V) => (r(), u(i, { key: d }, [
201
196
  p.value === d || V === 0 && !p.value ? (r(), k(O, v({
202
197
  key: 0,
203
198
  ref_for: !0
@@ -205,7 +200,7 @@ const L = { class: "bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow
205
200
  flows: t.flows,
206
201
  proxyUrl: "",
207
202
  scheme: t,
208
- selectedScopes: h,
203
+ selectedScopes: U,
209
204
  server: l.server,
210
205
  type: d,
211
206
  "onUpdate:securityScheme": (g) => c("update:securityScheme", {
@@ -1 +1 @@
1
- {"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/oauth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAGlH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElD,qDAAqD;AACrD,KAAK,eAAe,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAA;AAEzD,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,MAAM,CAAA;CAC5B,CAAA;AAgBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAU,UAAU,MAAM,EAAE,UAAU,SAAS,GAAG,OAAO,KAAG,OAAO,CAAC,MAAM,CAY3G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAC1B,OAAO,gBAAgB,EACvB,MAAM,MAAM,gBAAgB,EAC5B,gBAAgB,MAAM,EAAE;AACxB,wEAAwE;AACxE,cAAc,YAAY;AAC1B,kCAAkC;AAClC,WAAW,MAAM,KAChB,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAiK/B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAC3B,OAAO,eAAe,EACtB,MAAM,MAAM,eAAe,EAC3B,QAAQ,MAAM,EACd,4BAIG;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACzB,KACL,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CA8F/B,CAAA"}
1
+ {"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/oauth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAGlH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElD,qDAAqD;AACrD,KAAK,eAAe,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAA;AAEzD,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,MAAM,CAAA;CAC5B,CAAA;AAgBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAU,UAAU,MAAM,EAAE,UAAU,SAAS,GAAG,OAAO,KAAG,OAAO,CAAC,MAAM,CAY3G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAC1B,OAAO,gBAAgB,EACvB,MAAM,MAAM,gBAAgB,EAC5B,gBAAgB,MAAM,EAAE;AACxB,wEAAwE;AACxE,cAAc,YAAY;AAC1B,kCAAkC;AAClC,WAAW,MAAM,KAChB,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAkK/B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAC3B,OAAO,eAAe,EACtB,MAAM,MAAM,eAAe,EAC3B,QAAQ,MAAM,EACd,4BAIG;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACzB,KACL,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CA8F/B,CAAA"}
@@ -3,6 +3,7 @@ import type { Environment } from '@scalar/oas-utils/entities/environment';
3
3
  import type { OpenApiDocument, OperationObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
4
4
  import type { ClientLayout } from '../../../../hooks/index.js';
5
5
  import type { EnvVariable } from '../../../../store/index.js';
6
+ import type { ClientPlugin } from '../../../../v2/plugins';
6
7
  type __VLS_Props = {
7
8
  /** Operation method */
8
9
  method: HttpMethod;
@@ -24,6 +25,8 @@ type __VLS_Props = {
24
25
  server?: ServerObject;
25
26
  /** Client layout */
26
27
  layout: ClientLayout;
28
+ /** Registered app plugins */
29
+ plugins?: ClientPlugin[];
27
30
  /** TODO: remove when we migrate */
28
31
  environment: Environment;
29
32
  envVariables: EnvVariable[];
@@ -1 +1 @@
1
- {"version":3,"file":"OperationBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationBlock.vue"],"names":[],"mappings":"AAmcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAGzE,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EAGf,YAAY,EACb,MAAM,8DAA8D,CAAA;AAKrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAO1C,KAAK,WAAW,GAAG;IACjB,uBAAuB;IACvB,MAAM,EAAE,UAAU,CAAA;IAClB,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,uBAAuB;IACvB,SAAS,EAAE,eAAe,CAAA;IAC1B,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAA;IAClB,wEAAwE;IACxE,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,wCAAwC;IACxC,eAAe,EAAE,WAAW,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAA;IAC9E,4DAA4D;IAC5D,gBAAgB,EAAE,eAAe,CAAC,4BAA4B,CAAC,CAAA;IAC/D,mDAAmD;IACnD,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAA;IACrC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IAEpB,mCAAmC;IACnC,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;;;;;;;;AAyoBF,wBAOG"}
1
+ {"version":3,"file":"OperationBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationBlock.vue"],"names":[],"mappings":"AAidA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAGzE,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EAGf,YAAY,EACb,MAAM,8DAA8D,CAAA;AAKrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAM1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEhD,KAAK,WAAW,GAAG;IACjB,uBAAuB;IACvB,MAAM,EAAE,UAAU,CAAA;IAClB,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,uBAAuB;IACvB,SAAS,EAAE,eAAe,CAAA;IAC1B,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAA;IAClB,wEAAwE;IACxE,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,wCAAwC;IACxC,eAAe,EAAE,WAAW,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAA;IAC9E,4DAA4D;IAC5D,gBAAgB,EAAE,eAAe,CAAC,4BAA4B,CAAC,CAAA;IAC/D,mDAAmD;IACnD,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAA;IACrC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IACpB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB,mCAAmC;IACnC,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;;;;;;;;AAkqBF,wBAOG"}