@scalar/api-client 2.26.0 → 2.26.2

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 (546) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts +2 -1
  3. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  4. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -1
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/CodeInput/CodeInput.vue.d.ts +3 -2
  7. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  8. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +5 -4
  9. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  10. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -1
  11. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
  12. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -1
  13. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  14. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -1
  15. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  16. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -1
  17. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  18. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts +2 -1
  19. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts.map +1 -1
  20. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +2 -1
  21. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  22. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +2 -1
  23. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +2 -1
  25. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
  26. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +2 -1
  27. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  28. package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +2 -1
  29. package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +1 -1
  30. package/dist/components/DataTable/DataTable.vue.d.ts +3 -2
  31. package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
  32. package/dist/components/DataTable/DataTableCell.vue.d.ts +5 -4
  33. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  34. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +2 -1
  35. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
  36. package/dist/components/DataTable/DataTableHeader.vue.d.ts +5 -4
  37. package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +1 -1
  38. package/dist/components/DataTable/DataTableInput.vue.d.ts +7 -6
  39. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  40. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +2 -1
  41. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  42. package/dist/components/DataTable/DataTableRow.vue.d.ts +3 -2
  43. package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
  44. package/dist/components/DataTable/DataTableText.vue.d.ts +5 -4
  45. package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
  46. package/dist/components/EmptyState.vue.d.ts +2 -1
  47. package/dist/components/EmptyState.vue.d.ts.map +1 -1
  48. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +2 -1
  49. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  50. package/dist/components/Form/Form.vue.d.ts +5 -4
  51. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  52. package/dist/components/Form/LabelInput.vue.d.ts +2 -1
  53. package/dist/components/Form/LabelInput.vue.d.ts.map +1 -1
  54. package/dist/components/HelpfulLink.vue.d.ts +3 -2
  55. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  56. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -1
  57. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  58. package/dist/components/IconSelector.vue.d.ts +6 -5
  59. package/dist/components/IconSelector.vue.d.ts.map +1 -1
  60. package/dist/components/ImportCollection/DropEventListener.vue.d.ts +2 -1
  61. package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
  62. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +3 -2
  63. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
  64. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +2 -1
  65. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  66. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +2 -1
  67. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  68. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +2 -1
  69. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  70. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +2 -1
  71. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
  72. package/dist/components/ImportCollection/PrefetchError.vue.d.ts +2 -1
  73. package/dist/components/ImportCollection/PrefetchError.vue.d.ts.map +1 -1
  74. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +2 -1
  75. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
  76. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts +2 -1
  77. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  78. package/dist/components/OpenApiClientButton.vue.d.ts +2 -1
  79. package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
  80. package/dist/components/ScalarAsciiArt.vue.d.ts +2 -1
  81. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  82. package/dist/components/SectionFilter.vue.d.ts +14 -9
  83. package/dist/components/SectionFilter.vue.d.ts.map +1 -1
  84. package/dist/components/SectionFilterButton.vue.d.ts +3 -2
  85. package/dist/components/SectionFilterButton.vue.d.ts.map +1 -1
  86. package/dist/components/Server/ServerDropdown.vue.d.ts +2 -1
  87. package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
  88. package/dist/components/Server/ServerDropdownItem.vue.d.ts +2 -1
  89. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  90. package/dist/components/Server/ServerSelector.vue.d.ts +2 -1
  91. package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
  92. package/dist/components/Server/ServerVariablesForm.vue.d.ts +2 -1
  93. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
  94. package/dist/components/Server/ServerVariablesSelect.vue.d.ts +2 -1
  95. package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
  96. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +2 -1
  97. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
  98. package/dist/components/SideNav/DownloadAppButton.vue.d.ts +2 -1
  99. package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -1
  100. package/dist/components/SideNav/SideHelp.vue.d.ts +2 -1
  101. package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
  102. package/dist/components/SideNav/SideNav.vue.d.ts +2 -1
  103. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  104. package/dist/components/SideNav/SideNavGroup.vue.d.ts +3 -2
  105. package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -1
  106. package/dist/components/SideNav/SideNavLink.vue.d.ts +6 -5
  107. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  108. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +5 -4
  109. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
  110. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -1
  111. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  112. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +2 -1
  113. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
  114. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +2 -1
  115. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
  116. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +3 -2
  117. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  118. package/dist/components/Sidebar/Sidebar.vue.d.ts +3 -2
  119. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  120. package/dist/components/Sidebar/SidebarButton.vue.d.ts +3 -2
  121. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  122. package/dist/components/Sidebar/SidebarList.vue.d.ts +3 -2
  123. package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
  124. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +2 -1
  125. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  126. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  127. package/dist/components/Sidebar/SidebarListElement.vue2.js +1 -1
  128. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +2 -1
  129. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  130. package/dist/components/Sidebar/SidebarToggle.vue.d.ts +2 -1
  131. package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
  132. package/dist/components/TopNav/TopNav.vue.d.ts +2 -1
  133. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  134. package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -1
  135. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  136. package/dist/components/ViewLayout/ViewLayout.vue.d.ts +3 -2
  137. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  138. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +9 -8
  139. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  140. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts +3 -2
  141. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
  142. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +3 -2
  143. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  144. package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -1
  145. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  146. package/dist/layouts/App/MainLayout.vue.d.ts +5 -4
  147. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  148. package/dist/layouts/Modal/ApiClientModal.vue.d.ts +2 -1
  149. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  150. package/dist/layouts/Modal/ApiClientModal.vue.js +28 -5
  151. package/dist/layouts/Modal/ApiClientModal.vue2.js +2 -53
  152. package/dist/layouts/Modal/create-api-client-modal.js +8 -8
  153. package/dist/layouts/Web/ApiClientWeb.vue.d.ts +2 -1
  154. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  155. package/dist/style.css +1 -1
  156. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +4 -3
  157. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  158. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +48 -43
  159. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -1
  160. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  161. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  162. package/dist/v2/blocks/operation-block/components/Header.vue2.js +10 -10
  163. package/dist/v2/blocks/operation-block/helpers/send-request.d.ts +1 -1
  164. package/dist/v2/blocks/operation-block/helpers/send-request.d.ts.map +1 -1
  165. package/dist/v2/blocks/operation-block/helpers/send-request.js +1 -1
  166. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts +4 -2
  167. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
  168. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts +5 -4
  169. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts.map +1 -1
  170. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +16 -3
  171. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
  172. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
  173. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +86 -78
  174. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +3 -2
  175. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  176. package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
  177. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +102 -101
  178. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +2 -1
  179. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  180. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts +2 -1
  181. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts.map +1 -1
  182. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts +2 -1
  183. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
  184. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -1
  185. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -1
  186. package/dist/v2/blocks/request-block/components/RequestParams.vue.js +6 -6
  187. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +38 -3
  188. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
  189. package/dist/v2/blocks/request-block/components/RequestTable.vue.js +1 -1
  190. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +40 -4
  191. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  192. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts +2 -1
  193. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -1
  194. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  195. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts +3 -2
  196. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -1
  197. package/dist/v2/blocks/response-block/ResponseBlock.vue.js +1 -1
  198. package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +71 -72
  199. package/dist/v2/blocks/response-block/components/Headers.vue.d.ts +5 -4
  200. package/dist/v2/blocks/response-block/components/Headers.vue.d.ts.map +1 -1
  201. package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts +2 -1
  202. package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -1
  203. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts +2 -1
  204. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts.map +1 -1
  205. package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts +3 -2
  206. package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts.map +1 -1
  207. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +2 -1
  208. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
  209. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts +2 -1
  210. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -1
  211. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts +2 -1
  212. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -1
  213. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts +2 -1
  214. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -1
  215. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts +2 -1
  216. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -1
  217. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts +2 -1
  218. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts.map +1 -1
  219. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +2 -1
  220. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
  221. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts +2 -1
  222. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  223. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts +2 -1
  224. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -1
  225. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -1
  226. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  227. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts +2 -1
  228. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts.map +1 -1
  229. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts +2 -1
  230. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts.map +1 -1
  231. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +35 -41
  232. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +2 -1
  233. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  234. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -1
  235. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  236. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +2 -1
  237. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  238. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +2 -1
  239. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
  240. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +2 -1
  241. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
  242. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +2 -1
  243. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  244. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +8 -6
  245. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  246. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +2 -1
  247. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  248. package/dist/v2/components/callout/Callout.vue.d.ts +3 -2
  249. package/dist/v2/components/callout/Callout.vue.d.ts.map +1 -1
  250. package/dist/v2/components/code-input/CodeInput.vue.d.ts +3 -2
  251. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
  252. package/dist/v2/components/data-table/DataTable.vue.d.ts +3 -2
  253. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -1
  254. package/dist/v2/components/data-table/DataTableCell.vue.d.ts +5 -4
  255. package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -1
  256. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +2 -1
  257. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -1
  258. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +5 -4
  259. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -1
  260. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +7 -6
  261. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
  262. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +2 -1
  263. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -1
  264. package/dist/v2/components/data-table/DataTableRow.vue.d.ts +3 -2
  265. package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -1
  266. package/dist/v2/components/data-table/DataTableText.vue.d.ts +5 -4
  267. package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -1
  268. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +3 -2
  269. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts.map +1 -1
  270. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts +3 -2
  271. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts.map +1 -1
  272. package/dist/v2/components/layout/ValueEmitter.vue.d.ts +15 -10
  273. package/dist/v2/components/layout/ValueEmitter.vue.d.ts.map +1 -1
  274. package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -1
  275. package/dist/v2/components/modals/DeleteModal.vue.d.ts.map +1 -1
  276. package/dist/v2/components/modals/ModalClientContainer.spec.d.ts +2 -0
  277. package/dist/v2/components/modals/ModalClientContainer.spec.d.ts.map +1 -0
  278. package/dist/v2/components/modals/ModalClientContainer.vue.d.ts +24 -0
  279. package/dist/v2/components/modals/ModalClientContainer.vue.d.ts.map +1 -0
  280. package/dist/v2/components/modals/ModalClientContainer.vue.js +7 -0
  281. package/dist/v2/components/modals/ModalClientContainer.vue2.js +60 -0
  282. package/dist/v2/components/resize/Resize.vue.d.ts +3 -2
  283. package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -1
  284. package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -1
  285. package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
  286. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts +2 -1
  287. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts.map +1 -1
  288. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +5 -3
  289. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  290. package/dist/v2/components/sidebar/Sidebar.vue.js +1 -1
  291. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +3 -2
  292. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
  293. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +4 -3
  294. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -1
  295. package/dist/v2/features/app/App.vue.d.ts +4 -3
  296. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  297. package/dist/v2/features/app/app-events.d.ts +1 -1
  298. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  299. package/dist/v2/features/app/app-events.js +95 -56
  300. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +5 -3
  301. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  302. package/dist/v2/features/app/components/AppSidebar.vue.js +3 -3
  303. package/dist/v2/features/app/components/AppSidebar.vue2.js +62 -57
  304. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +2 -1
  305. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +1 -1
  306. package/dist/v2/features/app/components/DesktopTab.vue.d.ts +2 -1
  307. package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +1 -1
  308. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +2 -1
  309. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
  310. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +2 -1
  311. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -1
  312. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +2 -1
  313. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +1 -1
  314. package/dist/v2/features/app/components/SplashScreen.vue.d.ts +2 -1
  315. package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +1 -1
  316. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +1 -1
  317. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  318. package/dist/v2/features/app/helpers/routes.d.ts +1 -1
  319. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  320. package/dist/v2/features/app/index.d.ts +0 -1
  321. package/dist/v2/features/app/index.d.ts.map +1 -1
  322. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +2 -1
  323. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  324. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +2 -1
  325. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
  326. package/dist/v2/features/collection/components/Authentication.vue.d.ts +2 -1
  327. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  328. package/dist/v2/features/collection/components/Cookies.vue.d.ts +2 -1
  329. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
  330. package/dist/v2/features/collection/components/Environment.vue.d.ts +2 -1
  331. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  332. package/dist/v2/features/collection/components/Form.vue.d.ts +5 -4
  333. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
  334. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +4 -3
  335. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
  336. package/dist/v2/features/collection/components/Overview.vue.d.ts +2 -1
  337. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
  338. package/dist/v2/features/collection/components/Servers.vue.d.ts +2 -1
  339. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  340. package/dist/v2/features/collection/components/Settings.vue.d.ts +2 -1
  341. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
  342. package/dist/v2/features/collection/components/Tabs.vue.d.ts +2 -1
  343. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -1
  344. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +3 -2
  345. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +1 -1
  346. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +3 -2
  347. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts.map +1 -1
  348. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +3 -2
  349. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts.map +1 -1
  350. package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts +3 -2
  351. package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts.map +1 -1
  352. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +3 -2
  353. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +1 -1
  354. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +3 -2
  355. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
  356. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +3 -2
  357. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +1 -1
  358. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +3 -2
  359. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +1 -1
  360. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +3 -2
  361. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +1 -1
  362. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +3 -2
  363. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +1 -1
  364. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +2 -1
  365. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
  366. package/dist/v2/features/environments/components/Environment.vue.d.ts +2 -1
  367. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
  368. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +2 -1
  369. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
  370. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +2 -1
  371. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -1
  372. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -1
  373. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -1
  374. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +2 -1
  375. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -1
  376. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +2 -1
  377. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
  378. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +2 -1
  379. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
  380. package/dist/v2/features/modal/Modal.vue.d.ts +4 -3
  381. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  382. package/dist/v2/features/modal/Modal.vue.js +120 -5
  383. package/dist/v2/features/modal/Modal.vue2.js +2 -147
  384. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +1 -1
  385. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
  386. package/dist/v2/features/modal/helpers/create-api-client-modal.js +12 -12
  387. package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
  388. package/dist/v2/features/modal/modal-events.js +33 -20
  389. package/dist/v2/features/operation/Operation.vue.d.ts +3 -2
  390. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  391. package/dist/v2/features/operation/Operation.vue.js +6 -6
  392. package/dist/v2/features/settings/CollectionSettings.vue.d.ts +2 -1
  393. package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
  394. package/dist/v2/features/settings/DocumentSettings.vue.d.ts +2 -1
  395. package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
  396. package/dist/v2/features/settings/components/Appearance.vue.d.ts +2 -1
  397. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -1
  398. package/dist/v2/features/settings/components/Section.vue.d.ts +3 -2
  399. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
  400. package/dist/v2/helpers/index.d.ts +0 -1
  401. package/dist/v2/helpers/index.d.ts.map +1 -1
  402. package/dist/v2/workspace-events.d.ts.map +1 -1
  403. package/dist/v2/workspace-events.js +9 -6
  404. package/dist/views/Collection/Collection.vue.d.ts +2 -1
  405. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  406. package/dist/views/Collection/CollectionAuthentication.vue.d.ts +2 -1
  407. package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
  408. package/dist/views/Collection/CollectionCookies.vue.d.ts +2 -1
  409. package/dist/views/Collection/CollectionCookies.vue.d.ts.map +1 -1
  410. package/dist/views/Collection/CollectionEnvironment.vue.d.ts +2 -1
  411. package/dist/views/Collection/CollectionEnvironment.vue.d.ts.map +1 -1
  412. package/dist/views/Collection/CollectionInfoForm.vue.d.ts +2 -1
  413. package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -1
  414. package/dist/views/Collection/CollectionNavigation.vue.d.ts +2 -1
  415. package/dist/views/Collection/CollectionNavigation.vue.d.ts.map +1 -1
  416. package/dist/views/Collection/CollectionOverview.vue.d.ts +2 -1
  417. package/dist/views/Collection/CollectionOverview.vue.d.ts.map +1 -1
  418. package/dist/views/Collection/CollectionScripts.vue.d.ts +2 -1
  419. package/dist/views/Collection/CollectionScripts.vue.d.ts.map +1 -1
  420. package/dist/views/Collection/CollectionServerForm.vue.d.ts +2 -1
  421. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  422. package/dist/views/Collection/CollectionServers.vue.d.ts +2 -1
  423. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  424. package/dist/views/Collection/CollectionSettings.vue.d.ts +2 -1
  425. package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
  426. package/dist/views/Collection/CollectionSync.vue.d.ts +2 -1
  427. package/dist/views/Collection/CollectionSync.vue.d.ts.map +1 -1
  428. package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +2 -1
  429. package/dist/views/Collection/components/EnvironmentForm.vue.d.ts.map +1 -1
  430. package/dist/views/Collection/components/MarkdownInput.vue.d.ts +2 -1
  431. package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -1
  432. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +2 -1
  433. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
  434. package/dist/views/Cookies/CookieForm.vue.d.ts +2 -1
  435. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  436. package/dist/views/Cookies/CookieModal.vue.d.ts +2 -1
  437. package/dist/views/Cookies/CookieModal.vue.d.ts.map +1 -1
  438. package/dist/views/Cookies/CookieRaw.vue.d.ts +2 -1
  439. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  440. package/dist/views/Cookies/Cookies.vue.d.ts +2 -1
  441. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  442. package/dist/views/Environment/Environment.vue.d.ts +2 -1
  443. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  444. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +2 -1
  445. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts.map +1 -1
  446. package/dist/views/Environment/EnvironmentColors.vue.d.ts +2 -1
  447. package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +1 -1
  448. package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -1
  449. package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
  450. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -1
  451. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  452. package/dist/views/Request/Request.vue.d.ts +2 -1
  453. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  454. package/dist/views/Request/RequestRoot.vue.d.ts +2 -1
  455. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  456. package/dist/views/Request/RequestRoot.vue.js +2 -2
  457. package/dist/views/Request/RequestRoot.vue2.js +10 -10
  458. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
  459. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  460. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +3 -2
  461. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  462. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +2 -1
  463. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  464. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +3 -2
  465. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  466. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +3 -2
  467. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  468. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -5
  469. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  470. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +3 -2
  471. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  472. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +2 -1
  473. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  474. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +2 -1
  475. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  476. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +2 -1
  477. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  478. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +2 -1
  479. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  480. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +2 -1
  481. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  482. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  483. package/dist/views/Request/RequestSection/RequestSection.vue2.js +33 -33
  484. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -1
  485. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  486. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +2 -1
  487. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  488. package/dist/views/Request/RequestSidebar.vue.d.ts +2 -1
  489. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  490. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  491. package/dist/views/Request/RequestSidebar.vue2.js +139 -155
  492. package/dist/views/Request/RequestSidebarItem.vue.d.ts +3 -2
  493. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  494. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  495. package/dist/views/Request/RequestSidebarItem.vue2.js +106 -103
  496. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +2 -1
  497. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  498. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +2 -1
  499. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  500. package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts +2 -1
  501. package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -1
  502. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +2 -1
  503. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  504. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +2 -1
  505. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
  506. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +3 -2
  507. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -1
  508. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +2 -1
  509. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
  510. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +2 -1
  511. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  512. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts +2 -1
  513. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts.map +1 -1
  514. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +2 -1
  515. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
  516. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +2 -1
  517. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
  518. package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts +2 -1
  519. package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts.map +1 -1
  520. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +2 -1
  521. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  522. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  523. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +2 -1
  524. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  525. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts +2 -1
  526. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  527. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +2 -1
  528. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  529. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +2 -1
  530. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  531. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  532. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +25 -25
  533. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts +2 -1
  534. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  535. package/dist/views/Settings/Settings.vue.d.ts +2 -1
  536. package/dist/views/Settings/Settings.vue.d.ts.map +1 -1
  537. package/dist/views/Settings/SettingsGeneral.vue.d.ts +2 -1
  538. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  539. package/dist/views/Settings/components/SettingsAppearance.vue.d.ts +2 -1
  540. package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -1
  541. package/dist/views/Settings/components/SettingsSection.vue.d.ts +3 -2
  542. package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -1
  543. package/package.json +12 -11
  544. package/dist/v2/helpers/plugins.d.ts +0 -65
  545. package/dist/v2/helpers/plugins.d.ts.map +0 -1
  546. package/dist/v2/helpers/plugins.js +0 -11
@@ -1,27 +1,27 @@
1
- import { defineComponent as j, computed as n, ref as z, useId as s, watch as X, createBlock as C, openBlock as d, withCtx as q, createElementVNode as K, withDirectives as c, createElementBlock as x, createVNode as m, unref as v, vShow as y, mergeProps as B, toHandlers as b, Fragment as J, renderList as W, createCommentVNode as E, resolveDynamicComponent as Y, toDisplayString as Z } from "vue";
2
- import { ScalarErrorBoundary as _ } from "@scalar/components";
1
+ import { defineComponent as z, computed as n, ref as X, useId as s, watch as J, createBlock as q, openBlock as v, withCtx as C, createElementVNode as K, withDirectives as m, createElementBlock as B, createVNode as d, unref as y, vShow as c, mergeProps as f, toHandlers as b, Fragment as W, renderList as Y, createCommentVNode as E, resolveDynamicComponent as Z, toDisplayString as _ } from "vue";
2
+ import { ScalarErrorBoundary as ee } from "@scalar/components";
3
3
  import { canMethodHaveBody as w } from "@scalar/helpers/http/can-method-have-body";
4
- import { REGEX as ee } from "@scalar/helpers/regex/regex-helpers";
5
- import { getResolvedRef as R } from "@scalar/workspace-store/helpers/get-resolved-ref";
6
- import { unpackProxyObject as te } from "@scalar/workspace-store/helpers/unpack-proxy";
7
- import ae from "../../../components/SectionFilter.vue.js";
8
- import le from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
9
- import { filterGlobalCookie as ne } from "../operation-block/helpers/filter-global-cookies.js";
10
- import { getExample as oe } from "../operation-block/helpers/get-example.js";
11
- import { getResolvedUrl as re } from "../operation-block/helpers/get-resolved-url.js";
12
- import ie from "./components/RequestBody.vue.js";
13
- import ue from "./components/RequestCodeSnippet.vue.js";
4
+ import { REGEX as te } from "@scalar/helpers/regex/regex-helpers";
5
+ import { getResolvedRef as p } from "@scalar/workspace-store/helpers/get-resolved-ref";
6
+ import { unpackProxyObject as ae } from "@scalar/workspace-store/helpers/unpack-proxy";
7
+ import le from "../../../components/SectionFilter.vue.js";
8
+ import ne from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
9
+ import { filterGlobalCookie as oe } from "../operation-block/helpers/filter-global-cookies.js";
10
+ import { getExample as re } from "../operation-block/helpers/get-example.js";
11
+ import { getResolvedUrl as ie } from "../operation-block/helpers/get-resolved-url.js";
12
+ import ue from "./components/RequestBody.vue.js";
13
+ import se from "./components/RequestCodeSnippet.vue.js";
14
14
  import k from "./components/RequestParams.vue.js";
15
- import { createParameterHandlers as S } from "./helpers/create-parameter-handlers.js";
16
- import { getDefaultHeaders as se } from "./helpers/get-default-headers.js";
17
- import { getParameterSchema as me } from "./helpers/get-parameter-schema.js";
15
+ import { createParameterHandlers as g } from "./helpers/create-parameter-handlers.js";
16
+ import { getDefaultHeaders as me } from "./helpers/get-default-headers.js";
17
+ import { getParameterSchema as de } from "./helpers/get-parameter-schema.js";
18
18
  import { groupBy as D } from "./helpers/group-by.js";
19
- import { isParamDisabled as de } from "./helpers/is-param-disabled.js";
20
- import ce from "../scalar-auth-selector-block/components/AuthSelector.vue.js";
21
- const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24" }, ye = ["for"], he = ["id", "placeholder", "value"], fe = {
19
+ import { isParamDisabled as ce } from "./helpers/is-param-disabled.js";
20
+ import ve from "../scalar-auth-selector-block/components/AuthSelector.vue.js";
21
+ const ye = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24" }, he = ["for"], fe = ["id", "placeholder", "value"], xe = {
22
22
  key: 2,
23
23
  class: "text-c-1 flex h-8 items-center"
24
- }, xe = ["id", "role"], Ne = /* @__PURE__ */ j({
24
+ }, Be = ["id", "role"], Te = /* @__PURE__ */ z({
25
25
  __name: "RequestBlock",
26
26
  props: {
27
27
  authMeta: { default: () => ({ type: "document" }) },
@@ -44,38 +44,38 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
44
44
  server: {}
45
45
  },
46
46
  setup(e) {
47
- const r = n(() => ({
47
+ const o = n(() => ({
48
48
  method: e.method,
49
49
  path: e.path,
50
50
  exampleKey: e.exampleKey
51
- })), o = n(
51
+ })), r = n(
52
52
  () => D(
53
- e.operation.parameters?.map((t) => R(t)) ?? [],
53
+ e.operation.parameters?.map((t) => p(t)) ?? [],
54
54
  "in",
55
55
  (t) => {
56
- const a = oe(t, e.exampleKey, void 0);
56
+ const a = re(t, e.exampleKey, void 0);
57
57
  return {
58
58
  name: t.name,
59
59
  value: a?.value ?? "",
60
60
  description: t.description,
61
- schema: me(t),
61
+ schema: de(t),
62
62
  isRequired: t.required,
63
- isDisabled: de(t, a),
63
+ isDisabled: ce(t, a),
64
64
  originalParameter: t
65
65
  };
66
66
  }
67
67
  )
68
68
  ), I = n(
69
69
  () => D(
70
- o.value.header?.map((t) => ({
70
+ r.value.header?.map((t) => ({
71
71
  ...t,
72
72
  name: t.name.toLowerCase()
73
73
  })) ?? [],
74
74
  "name"
75
75
  )
76
76
  ), N = n(
77
- () => se({ method: e.method, operation: e.operation, exampleKey: e.exampleKey })
78
- ), V = n(() => {
77
+ () => me({ method: e.method, operation: e.operation, exampleKey: e.exampleKey })
78
+ ), R = n(() => {
79
79
  const t = e.operation["x-scalar-disable-parameters"]?.["default-headers"]?.[e.exampleKey] ?? {};
80
80
  return N.value.map((a) => {
81
81
  const l = I.value[a.name.toLowerCase()]?.[0];
@@ -89,17 +89,17 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
89
89
  };
90
90
  });
91
91
  }), A = n(() => [
92
- ...V.value,
93
- ...o.value.header ?? []
94
- ]), P = n(() => {
95
- const t = re({
92
+ ...R.value,
93
+ ...r.value.header ?? []
94
+ ]), V = n(() => {
95
+ const t = ie({
96
96
  environment: e.environment,
97
97
  server: e.server,
98
98
  path: e.path,
99
99
  pathVariables: {}
100
100
  }), a = e.operation["x-scalar-disable-parameters"]?.["global-cookies"]?.[e.exampleKey] ?? {};
101
101
  return e.globalCookies?.filter(
102
- (l) => ne({
102
+ (l) => oe({
103
103
  cookie: l,
104
104
  url: t,
105
105
  // Do not filter global cookies for the default cookies section (it's already filtered in the buildRequestCookieHeader function)
@@ -109,14 +109,14 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
109
109
  ).map((l) => ({
110
110
  name: l.name,
111
111
  value: l.value,
112
- globalRoute: l.location === "document" ? "document.cookies" : "workspace.cookies",
112
+ globalRoute: l.location === "document" ? { page: "document", path: "cookies" } : { page: "workspace", path: "cookies" },
113
113
  isReadonly: !0,
114
114
  isDisabled: a[l.name.toLowerCase()] ?? !1
115
115
  })) ?? [];
116
- }), H = n(() => [
117
- ...P.value ?? [],
118
- ...o.value.cookie ?? []
119
- ]), i = z("All"), T = [
116
+ }), P = n(() => [
117
+ ...V.value ?? [],
118
+ ...r.value.cookie ?? []
119
+ ]), i = X("All"), T = [
120
120
  "Auth",
121
121
  "Variables",
122
122
  "Cookies",
@@ -133,15 +133,15 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
133
133
  Body: s()
134
134
  }, O = n(() => {
135
135
  const t = /* @__PURE__ */ new Set(["All", ...T]);
136
- return o.value.path?.length || t.delete("Variables"), w(e.method) || t.delete("Body"), U.value && t.delete("Auth"), [...t];
136
+ return r.value.path?.length || t.delete("Variables"), w(e.method) || t.delete("Body"), H.value && t.delete("Auth"), [...t];
137
137
  }), u = n(
138
138
  () => Object.fromEntries(
139
139
  O.value.map((t) => [t, $[t]])
140
140
  )
141
- ), U = n(
141
+ ), H = n(
142
142
  () => e.layout === "modal" && !e.operation.security && !Object.keys(e.securitySchemes ?? {}).length
143
- ), L = n(() => e.operation.summary ? e.operation.summary : e.path.replace(ee.PROTOCOL, "") || "Request Name"), h = (t) => i.value === "All" || i.value === t;
144
- X(
143
+ ), L = n(() => e.operation.summary ? e.operation.summary : e.path.replace(te.PROTOCOL, "") || "Request Name"), h = (t) => i.value === "All" || i.value === t;
144
+ J(
145
145
  () => e.method,
146
146
  (t) => {
147
147
  i.value === "Body" && !w(t) && (i.value = "All");
@@ -150,27 +150,27 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
150
150
  const F = (t) => {
151
151
  const a = t.target.value;
152
152
  e.eventBus.emit("operation:update:summary", {
153
- meta: r.value,
153
+ meta: o.value,
154
154
  payload: { summary: a }
155
155
  });
156
- }, f = n(() => ({
157
- path: S("path", e.eventBus, r.value, {
158
- context: o.value.path ?? []
156
+ }, x = n(() => ({
157
+ path: g("path", e.eventBus, o.value, {
158
+ context: r.value.path ?? []
159
159
  }),
160
- cookie: S("cookie", e.eventBus, r.value, {
161
- context: H.value ?? [],
162
- globalParameters: P.value.length
160
+ cookie: g("cookie", e.eventBus, o.value, {
161
+ context: P.value ?? [],
162
+ globalParameters: V.value.length
163
163
  }),
164
- header: S("header", e.eventBus, r.value, {
164
+ header: g("header", e.eventBus, o.value, {
165
165
  context: A.value,
166
- defaultParameters: V.value.length
166
+ defaultParameters: R.value.length
167
167
  }),
168
- query: S("query", e.eventBus, r.value, {
169
- context: o.value.query ?? []
168
+ query: g("query", e.eventBus, o.value, {
169
+ context: r.value.query ?? []
170
170
  })
171
171
  })), G = (t) => e.eventBus.emit("operation:update:requestBody:contentType", {
172
172
  payload: { contentType: t.value },
173
- meta: r.value
173
+ meta: o.value
174
174
  }), Q = ({
175
175
  payload: t,
176
176
  contentType: a
@@ -181,7 +181,7 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
181
181
  {
182
182
  payload: t,
183
183
  contentType: a,
184
- meta: r.value
184
+ meta: o.value
185
185
  },
186
186
  {
187
187
  debounceKey: l
@@ -195,48 +195,48 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
195
195
  e.eventBus.emit(
196
196
  "operation:update:requestBody:formValue",
197
197
  {
198
- payload: t.map((g) => te(g, { depth: 1 })),
198
+ payload: t.map((S) => ae(S, { depth: 1 })),
199
199
  contentType: a,
200
- meta: r.value
200
+ meta: o.value
201
201
  },
202
202
  {
203
203
  debounceKey: l
204
204
  }
205
205
  );
206
- }, p = s();
207
- return (t, a) => (d(), C(le, {
206
+ }, U = s(), j = (t) => e.eventBus.emit("operation:update:extension", { payload: t, meta: o.value });
207
+ return (t, a) => (v(), q(ne, {
208
208
  "aria-label": `Request: ${e.operation.summary}`
209
209
  }, {
210
- title: q(() => [
211
- K("div", ve, [
212
- e.layout !== "modal" ? (d(), x("label", {
210
+ title: C(() => [
211
+ K("div", ye, [
212
+ e.layout !== "modal" ? (v(), B("label", {
213
213
  key: 0,
214
214
  class: "pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",
215
- for: v(p)
216
- }, null, 8, ye)) : E("", !0),
217
- e.layout !== "modal" ? (d(), x("input", {
215
+ for: y(U)
216
+ }, null, 8, he)) : E("", !0),
217
+ e.layout !== "modal" ? (v(), B("input", {
218
218
  key: 1,
219
- id: v(p),
219
+ id: y(U),
220
220
  class: "text-c-1 group-hover-input pointer-events-auto relative z-10 -ml-0.5 h-8 w-full rounded pl-1.25 has-[:focus-visible]:outline md:-ml-1.25",
221
221
  placeholder: L.value,
222
222
  value: e.operation.summary,
223
223
  onInput: F
224
- }, null, 40, he)) : (d(), x("span", fe, Z(e.operation.summary), 1))
224
+ }, null, 40, fe)) : (v(), B("span", xe, _(e.operation.summary), 1))
225
225
  ]),
226
- m(ae, {
226
+ d(le, {
227
227
  modelValue: i.value,
228
228
  "onUpdate:modelValue": a[0] || (a[0] = (l) => i.value = l),
229
229
  filterIds: u.value,
230
230
  filters: O.value
231
231
  }, null, 8, ["modelValue", "filterIds", "filters"])
232
232
  ]),
233
- default: q(() => [
233
+ default: C(() => [
234
234
  K("div", {
235
235
  id: u.value.All,
236
236
  class: "request-section-content custom-scroll relative flex flex-1 flex-col",
237
237
  role: i.value === "All" ? "tabpanel" : "none"
238
238
  }, [
239
- c(m(v(ce), {
239
+ m(d(y(ve), {
240
240
  id: u.value.Auth,
241
241
  environment: e.environment,
242
242
  eventBus: e.eventBus,
@@ -249,74 +249,75 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
249
249
  server: e.server,
250
250
  title: "Authentication"
251
251
  }, null, 8, ["id", "environment", "eventBus", "meta", "proxyUrl", "securityRequirements", "securitySchemes", "selectedSecurity", "selectedSecuritySchemes", "server"]), [
252
- [y, h("Auth") && !U.value]
252
+ [c, h("Auth") && !H.value]
253
253
  ]),
254
- c(m(k, B({
254
+ m(d(k, f({
255
255
  id: u.value.Variables,
256
256
  environment: e.environment,
257
257
  eventBus: e.eventBus,
258
258
  exampleKey: e.exampleKey,
259
- rows: o.value.path ?? [],
259
+ rows: r.value.path ?? [],
260
260
  showAddRowPlaceholder: !1,
261
261
  title: "Variables"
262
- }, b(f.value.path)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
263
- [y, h("Variables") && o.value.path?.length]
262
+ }, b(x.value.path)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
263
+ [c, h("Variables") && r.value.path?.length]
264
264
  ]),
265
- c(m(k, B({
265
+ m(d(k, f({
266
266
  id: u.value.Cookies,
267
267
  environment: e.environment,
268
268
  eventBus: e.eventBus,
269
269
  exampleKey: e.exampleKey,
270
- rows: H.value ?? [],
270
+ rows: P.value ?? [],
271
271
  showAddRowPlaceholder: !0,
272
272
  title: "Cookies"
273
- }, b(f.value.cookie)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
274
- [y, h("Cookies")]
273
+ }, b(x.value.cookie)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
274
+ [c, h("Cookies")]
275
275
  ]),
276
- c(m(k, B({
276
+ m(d(k, f({
277
277
  id: u.value.Headers,
278
278
  environment: e.environment,
279
279
  eventBus: e.eventBus,
280
280
  exampleKey: e.exampleKey,
281
281
  rows: A.value ?? [],
282
282
  title: "Headers"
283
- }, b(f.value.header)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
284
- [y, h("Headers")]
283
+ }, b(x.value.header)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
284
+ [c, h("Headers")]
285
285
  ]),
286
- c(m(k, B({
286
+ m(d(k, f({
287
287
  id: u.value.Query,
288
288
  environment: e.environment,
289
289
  eventBus: e.eventBus,
290
290
  exampleKey: e.exampleKey,
291
- rows: o.value.query ?? [],
291
+ rows: r.value.query ?? [],
292
292
  title: "Query Parameters"
293
- }, b(f.value.query)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
294
- [y, h("Query")]
293
+ }, b(x.value.query)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
294
+ [c, h("Query")]
295
295
  ]),
296
- c(m(ie, {
296
+ m(d(ue, {
297
297
  id: u.value.Body,
298
298
  environment: e.environment,
299
299
  exampleKey: e.exampleKey,
300
- requestBody: v(R)(e.operation.requestBody),
300
+ requestBody: y(p)(e.operation.requestBody),
301
301
  title: "Request Body",
302
302
  "onUpdate:contentType": G,
303
303
  "onUpdate:formValue": M,
304
304
  "onUpdate:value": Q
305
305
  }, null, 8, ["id", "environment", "exampleKey", "requestBody"]), [
306
- [y, h("Body") && v(w)(e.method)]
306
+ [c, h("Body") && y(w)(e.method)]
307
307
  ]),
308
- (d(!0), x(J, null, W(e.plugins, (l, g) => (d(), C(v(_), { key: g }, {
309
- default: q(() => [
310
- l?.components?.request ? (d(), C(Y(l.components.request), {
308
+ (v(!0), B(W, null, Y(e.plugins, (l, S) => m((v(), q(y(ee), { key: S }, {
309
+ default: C(() => [
310
+ l?.components?.request ? (v(), q(Z(l.components.request.component), f({
311
311
  key: 0,
312
- operation: e.operation,
313
- selectedExample: e.exampleKey
314
- }, null, 8, ["operation", "selectedExample"])) : E("", !0)
312
+ operation: e.operation
313
+ }, { ref_for: !0 }, l.components.request.additionalProps, { "onOperation:update:extension": j }), null, 16, ["operation"])) : E("", !0)
315
314
  ]),
316
315
  _: 2
317
- }, 1024))), 128)),
316
+ }, 1024)), [
317
+ [c, i.value === "All"]
318
+ ])), 128)),
318
319
  a[1] || (a[1] = K("div", { class: "flex grow" }, null, -1)),
319
- c(m(ue, {
320
+ m(d(se, {
320
321
  clientOptions: e.clientOptions,
321
322
  eventBus: e.eventBus,
322
323
  globalCookies: e.globalCookies,
@@ -326,17 +327,17 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
326
327
  path: e.path,
327
328
  securitySchemes: e.selectedSecuritySchemes,
328
329
  selectedClient: e.selectedClient,
329
- selectedContentType: v(R)(e.operation.requestBody)?.["x-scalar-selected-content-type"]?.[e.exampleKey],
330
+ selectedContentType: y(p)(e.operation.requestBody)?.["x-scalar-selected-content-type"]?.[e.exampleKey],
330
331
  selectedServer: e.server ?? void 0
331
332
  }, null, 8, ["clientOptions", "eventBus", "globalCookies", "method", "operation", "path", "securitySchemes", "selectedClient", "selectedContentType", "selectedServer"]), [
332
- [y, i.value === "All"]
333
+ [c, i.value === "All"]
333
334
  ])
334
- ], 8, xe)
335
+ ], 8, Be)
335
336
  ]),
336
337
  _: 1
337
338
  }, 8, ["aria-label"]));
338
339
  }
339
340
  });
340
341
  export {
341
- Ne as default
342
+ Te as default
342
343
  };
@@ -10,7 +10,7 @@ type __VLS_Props = {
10
10
  /** Selected environment */
11
11
  environment: XScalarEnvironment;
12
12
  };
13
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
14
  "update:formValue": (payload: Pick<{
15
15
  payload: {
16
16
  name: string;
@@ -47,5 +47,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
47
47
  meta: import("@scalar/workspace-store/events").OperationExampleMeta;
48
48
  }, "payload" | "contentType">) => any) | undefined;
49
49
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
50
+ declare const _default: typeof __VLS_export;
50
51
  export default _default;
51
52
  //# sourceMappingURL=RequestBody.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBody.vue"],"names":[],"mappings":"AA8RA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAA;AAgBrG,KAAK,WAAW,GAAG;IACjB,mBAAmB;IACnB,WAAW,CAAC,EAAE,iBAAiB,CAAA;IAC/B,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,2BAA2B;IAC3B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;;;;;;;;;;;;eAI4C,MAAM;;;;;;;;;;;;;;;;;;eAAN,MAAM;;;;;;;;AA8epD,wBAOG"}
1
+ {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBody.vue"],"names":[],"mappings":"AA+RA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAA;AAgBrG,KAAK,WAAW,GAAG;IACjB,mBAAmB;IACnB,WAAW,CAAC,EAAE,iBAAiB,CAAA;IAC/B,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,2BAA2B;IAC3B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AAugBF,QAAA,MAAM,YAAY;;;;;;;;;;;eAlgB4B,MAAM;;;;;;;;;;;;;;;;;;eAAN,MAAM;;;;;;;kFAqgBlD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -5,7 +5,7 @@ type __VLS_Props = {
5
5
  selectedContentType: string;
6
6
  environment: XScalarEnvironment;
7
7
  };
8
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
9
  "update:formValue": (payload: {
10
10
  name: string;
11
11
  value: string | File;
@@ -18,5 +18,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
18
18
  isDisabled: boolean;
19
19
  }[]) => any) | undefined;
20
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
21
22
  export default _default;
22
23
  //# sourceMappingURL=RequestBodyForm.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestBodyForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBodyForm.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAA;AAOjG,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI,CAAA;IACzC,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;;;;;;;;;;;;;;AAwKF,wBAOG"}
1
+ {"version":3,"file":"RequestBodyForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBodyForm.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAA;AAOjG,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI,CAAA;IACzC,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AA0KF,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,6 +3,7 @@ import type { OperationCodeSampleProps } from '../../../../v2/blocks/operation-c
3
3
  type __VLS_Props = OperationCodeSampleProps & {
4
4
  eventBus: WorkspaceEventBus;
5
5
  };
6
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
8
9
  //# sourceMappingURL=RequestCodeSnippet.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestCodeSnippet.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestCodeSnippet.vue"],"names":[],"mappings":"AAmKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAQvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sEAAsE,CAAA;AAQpH,KAAK,WAAW,GAAG,wBAAwB,GAAG;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,CAAC;;AAgR9E,wBAMG"}
1
+ {"version":3,"file":"RequestCodeSnippet.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestCodeSnippet.vue"],"names":[],"mappings":"AAoKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAQvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sEAAsE,CAAA;AAQpH,KAAK,WAAW,GAAG,wBAAwB,GAAG;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAoS9E,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -12,7 +12,7 @@ type __VLS_Props = {
12
12
  environment: XScalarEnvironment;
13
13
  eventBus: WorkspaceEventBus;
14
14
  };
15
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
16
  delete: (payload: {
17
17
  index: number;
18
18
  }) => any;
@@ -33,5 +33,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
33
33
  }) => any) | undefined;
34
34
  onDeleteAll?: (() => any) | undefined;
35
35
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: typeof __VLS_export;
36
37
  export default _default;
37
38
  //# sourceMappingURL=RequestParams.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestParams.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAMnH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAErD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,EAAE,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;;;eAiBgC,MAAM;;;;;;;;;;eAAN,MAAM;;;;;;;;;AAsLxC,wBAOG"}
1
+ {"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestParams.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAMnH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAErD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,EAAE,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;AAgNF,QAAA,MAAM,YAAY;;eA9LgB,MAAM;;;;;;;;;;eAAN,MAAM;;;;;;;;kFAiMtC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -17,9 +17,9 @@ const A = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
17
17
  },
18
18
  emits: ["upsert", "delete", "deleteAll"],
19
19
  setup(e, { emit: f }) {
20
- const a = f, w = R(() => e.rows.length > 1), p = (i, t) => {
21
- const { value: l, ...v } = t;
22
- l instanceof File || a("upsert", i, { ...v, value: l ?? "" });
20
+ const a = f, v = R(() => e.rows.length > 1), w = (i, t) => {
21
+ const { value: l, ...p } = t;
22
+ l instanceof File || a("upsert", i, { ...p, value: l ?? "" });
23
23
  };
24
24
  return (i, t) => (r(), s(n(C), {
25
25
  class: "group/params",
@@ -30,7 +30,7 @@ const A = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
30
30
  ]),
31
31
  actions: o(() => [
32
32
  d("div", A, [
33
- w.value ? (r(), s(n(b), {
33
+ v.value ? (r(), s(n(b), {
34
34
  key: 0,
35
35
  content: "Clear optional parameters",
36
36
  placement: "left"
@@ -65,8 +65,8 @@ const A = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
65
65
  label: e.label,
66
66
  showAddRowPlaceholder: e.showAddRowPlaceholder,
67
67
  onDeleteRow: t[1] || (t[1] = (l) => a("delete", { index: l })),
68
- onNavigate: t[2] || (t[2] = (l) => e.eventBus.emit("ui:route:page", { name: l })),
69
- onUpsertRow: p
68
+ onNavigate: t[2] || (t[2] = (l) => e.eventBus.emit("ui:navigate", l)),
69
+ onUpsertRow: w
70
70
  }, null, 8, ["data", "environment", "exampleKey", "globalRoute", "invalidParams", "label", "showAddRowPlaceholder"])
71
71
  ]),
72
72
  _: 1
@@ -10,8 +10,25 @@ type __VLS_Props = {
10
10
  showAddRowPlaceholder?: boolean;
11
11
  environment: XScalarEnvironment;
12
12
  };
13
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
- navigate: (route: string) => any;
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ navigate: (route: NonNullable<({
15
+ namespace?: string;
16
+ workspaceSlug?: string;
17
+ callback?: (status: "success" | "error") => void;
18
+ } & ({
19
+ page: "document";
20
+ path: "overview" | "servers" | "environment" | "authentication" | "cookies" | "settings";
21
+ documentSlug?: string;
22
+ } | {
23
+ page: "workspace";
24
+ path: "environment" | "cookies" | "settings";
25
+ } | {
26
+ page: "example";
27
+ documentSlug?: string;
28
+ path: string;
29
+ method: import("@scalar/helpers/http/http-methods").HttpMethod;
30
+ exampleName: string;
31
+ })) | undefined>) => any;
15
32
  deleteRow: (index: number) => any;
16
33
  uploadFile: (index: number) => any;
17
34
  removeFile: (index: number) => any;
@@ -21,7 +38,24 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
21
38
  isDisabled: boolean;
22
39
  }) => any;
23
40
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
- onNavigate?: ((route: string) => any) | undefined;
41
+ onNavigate?: ((route: NonNullable<({
42
+ namespace?: string;
43
+ workspaceSlug?: string;
44
+ callback?: (status: "success" | "error") => void;
45
+ } & ({
46
+ page: "document";
47
+ path: "overview" | "servers" | "environment" | "authentication" | "cookies" | "settings";
48
+ documentSlug?: string;
49
+ } | {
50
+ page: "workspace";
51
+ path: "environment" | "cookies" | "settings";
52
+ } | {
53
+ page: "example";
54
+ documentSlug?: string;
55
+ path: string;
56
+ method: import("@scalar/helpers/http/http-methods").HttpMethod;
57
+ exampleName: string;
58
+ })) | undefined>) => any) | undefined;
25
59
  onDeleteRow?: ((index: number) => any) | undefined;
26
60
  onUploadFile?: ((index: number) => any) | undefined;
27
61
  onRemoveFile?: ((index: number) => any) | undefined;
@@ -31,5 +65,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
31
65
  isDisabled: boolean;
32
66
  }) => any) | undefined;
33
67
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
+ declare const _default: typeof __VLS_export;
34
69
  export default _default;
35
70
  //# sourceMappingURL=RequestTable.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestTable.vue"],"names":[],"mappings":"AA6IA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAGnH,OAAwB,EACtB,KAAK,QAAQ,EACd,MAAM,0DAA0D,CAAA;AAOjE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,EAAE,CAAA;IAChB,8BAA8B;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;;;;;;;cAiBU,MAAM;eACL,MAAM,GAAG,IAAI,GAAG,SAAS;oBACpB,OAAO;;;;;;;;cAFb,MAAM;eACL,MAAM,GAAG,IAAI,GAAG,SAAS;oBACpB,OAAO;;;AAsMzB,wBAOG"}
1
+ {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestTable.vue"],"names":[],"mappings":"AA8IA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAGnH,OAAwB,EACtB,KAAK,QAAQ,EACd,MAAM,0DAA0D,CAAA;AAOjE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,EAAE,CAAA;IAChB,8BAA8B;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AA4OF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;cA1NN,MAAM;eACL,MAAM,GAAG,IAAI,GAAG,SAAS;oBACpB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;cAFb,MAAM;eACL,MAAM,GAAG,IAAI,GAAG,SAAS;oBACpB,OAAO;;kFA2NvB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestTable.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2dc74300"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-36811e28"]]);
5
5
  export {
6
6
  m as default
7
7
  };