@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,24 +1,25 @@
1
- import { computed as E } from "vue";
2
- import { initializeWorkspaceEventHandlers as h } from "../../workspace-events.js";
3
- function N({
4
- eventBus: m,
1
+ import { computed as x } from "vue";
2
+ import { NavigationFailureType as w } from "vue-router";
3
+ import { initializeWorkspaceEventHandlers as g } from "../../workspace-events.js";
4
+ function A({
5
+ eventBus: s,
5
6
  store: r,
6
- router: o,
7
- rebuildSidebar: p,
8
- navigateToCurrentTab: c,
9
- onSelectSidebarItem: d,
10
- onAfterExampleCreation: s,
11
- onCopyTabUrl: i,
12
- onToggleSidebar: f
7
+ router: n,
8
+ rebuildSidebar: u,
9
+ navigateToCurrentTab: m,
10
+ onSelectSidebarItem: f,
11
+ onAfterExampleCreation: i,
12
+ onCopyTabUrl: h,
13
+ onToggleSidebar: l
13
14
  }) {
14
- const u = E(() => o.currentRoute?.value), l = ({
15
+ const o = x(() => n.currentRoute?.value), p = ({
15
16
  documentName: e,
16
17
  path: a,
17
18
  method: t,
18
- exampleName: n
19
- }) => !(e !== void 0 && e !== u.value?.params.documentSlug || a !== void 0 && encodeURIComponent(a) !== u.value?.params.pathEncoded || t !== void 0 && t !== u.value?.params.method || n !== void 0 && n !== u.value?.params.exampleName);
20
- h({
21
- eventBus: m,
19
+ exampleName: c
20
+ }) => !(e !== void 0 && e !== o.value?.params.documentSlug || a !== void 0 && encodeURIComponent(a) !== o.value?.params.pathEncoded || t !== void 0 && t !== o.value?.params.method || c !== void 0 && c !== o.value?.params.exampleName);
21
+ g({
22
+ eventBus: s,
22
23
  store: r,
23
24
  hooks: {
24
25
  //------------------------------------------------------------------------------------
@@ -26,7 +27,7 @@ function N({
26
27
  //------------------------------------------------------------------------------------
27
28
  "document:delete:document": {
28
29
  onAfterExecute: async (e) => {
29
- u?.value?.params.documentSlug === e.name && await o.push({
30
+ o?.value?.params.documentSlug === e.name && await n.push({
30
31
  name: "workspace.environment"
31
32
  });
32
33
  }
@@ -38,38 +39,38 @@ function N({
38
39
  onBeforeExecute: (e) => ({
39
40
  ...e,
40
41
  callback: async (a) => {
41
- a === "success" && (await o.replace({
42
+ a === "success" && (await n.replace({
42
43
  name: "example",
43
44
  params: {
44
45
  method: e.payload.method,
45
46
  pathEncoded: encodeURIComponent(e.payload.path),
46
- exampleName: u.value?.params.exampleName
47
+ exampleName: o.value?.params.exampleName
47
48
  }
48
- }), p(r.value?.workspace.activeDocument?.["x-scalar-navigation"]?.name)), e.callback(a);
49
+ }), u(r.value?.workspace.activeDocument?.["x-scalar-navigation"]?.name)), e.callback(a);
49
50
  }
50
51
  })
51
52
  },
52
53
  "operation:upsert:parameter": {
53
- onAfterExecute: (e) => s(e.meta)
54
+ onAfterExecute: (e) => i(e.meta)
54
55
  },
55
56
  "operation:update:extra-parameters": {
56
- onAfterExecute: (e) => s(e.meta)
57
+ onAfterExecute: (e) => i(e.meta)
57
58
  },
58
59
  "operation:reload:history": {
59
- onAfterExecute: (e) => s({ ...e.meta, exampleKey: "draft" })
60
+ onAfterExecute: (e) => i({ ...e.meta, exampleKey: "draft" })
60
61
  },
61
62
  "operation:delete:operation": {
62
63
  onAfterExecute: async (e) => {
63
- p(e.documentName);
64
+ u(e.documentName);
64
65
  const {
65
66
  documentName: a,
66
- meta: { path: t, method: n }
67
+ meta: { path: t, method: c }
67
68
  } = e;
68
- l({
69
+ p({
69
70
  documentName: a,
70
71
  path: t,
71
- method: n
72
- }) && await o.replace({
72
+ method: c
73
+ }) && await n.replace({
73
74
  name: "document.overview",
74
75
  params: {
75
76
  documentSlug: a
@@ -79,21 +80,21 @@ function N({
79
80
  },
80
81
  "operation:delete:example": {
81
82
  onAfterExecute: async (e) => {
82
- p(e.documentName);
83
+ u(e.documentName);
83
84
  const {
84
85
  documentName: a,
85
- meta: { path: t, method: n, exampleKey: x }
86
+ meta: { path: t, method: c, exampleKey: d }
86
87
  } = e;
87
- l({
88
+ p({
88
89
  documentName: a,
89
90
  path: t,
90
- method: n,
91
- exampleName: x
92
- }) && await o.replace({
91
+ method: c,
92
+ exampleName: d
93
+ }) && await n.replace({
93
94
  name: "example",
94
95
  params: {
95
96
  pathEncoded: encodeURIComponent(t),
96
- method: n,
97
+ method: c,
97
98
  documentSlug: a,
98
99
  exampleName: "default"
99
100
  }
@@ -104,55 +105,93 @@ function N({
104
105
  // Operation Request Body Related Hooks
105
106
  //------------------------------------------------------------------------------------
106
107
  "operation:update:requestBody:value": {
107
- onAfterExecute: (e) => s(e.meta)
108
+ onAfterExecute: (e) => i(e.meta)
108
109
  },
109
110
  "operation:update:requestBody:formValue": {
110
- onAfterExecute: (e) => s(e.meta)
111
+ onAfterExecute: (e) => i(e.meta)
111
112
  },
112
113
  //------------------------------------------------------------------------------------
113
114
  // Tag Related Event Hooks
114
115
  //------------------------------------------------------------------------------------
115
116
  "tag:create:tag": {
116
- onAfterExecute: (e) => p(e.documentName)
117
+ onAfterExecute: (e) => u(e.documentName)
117
118
  },
118
119
  "tag:delete:tag": {
119
- onAfterExecute: (e) => p(e.documentName)
120
+ onAfterExecute: (e) => u(e.documentName)
120
121
  },
121
122
  //------------------------------------------------------------------------------------
122
123
  // Tabs Related Event Hooks
123
124
  //------------------------------------------------------------------------------------
124
125
  "tabs:add:tab": {
125
- onAfterExecute: c
126
+ onAfterExecute: m
126
127
  },
127
128
  "tabs:close:tab": {
128
- onAfterExecute: c
129
+ onAfterExecute: m
129
130
  },
130
131
  "tabs:focus:tab": {
131
- onAfterExecute: c
132
+ onAfterExecute: m
132
133
  },
133
134
  "tabs:focus:tab-last": {
134
- onAfterExecute: c
135
+ onAfterExecute: m
135
136
  },
136
137
  "tabs:navigate:previous": {
137
- onAfterExecute: c
138
+ onAfterExecute: m
138
139
  },
139
140
  "tabs:navigate:next": {
140
- onAfterExecute: c
141
+ onAfterExecute: m
141
142
  },
142
143
  "tabs:update:tabs": {
143
- onAfterExecute: c
144
+ onAfterExecute: m
144
145
  }
145
146
  }
146
- }), m.on("scroll-to:nav-item", ({ id: e }) => d(e)), m.on("ui:toggle:sidebar", f), m.on("ui:route:page", ({ name: e }) => o.push({ name: e })), m.on("ui:route:example", async ({ exampleName: e, callback: a }) => {
147
- const t = await o.replace({
148
- name: "example",
149
- params: {
150
- exampleName: e
151
- }
152
- });
153
- a(t ? "error" : "success");
154
- }), m.on("tabs:copy:url", (e) => i(e.index));
147
+ }), s.on("scroll-to:nav-item", ({ id: e }) => f(e)), s.on("ui:toggle:sidebar", l), s.on("ui:navigate", async (e) => {
148
+ const a = (t) => {
149
+ if (!t)
150
+ return e.callback?.("success");
151
+ const c = w.duplicated;
152
+ return t.type !== c ? e.callback?.("error") : e.callback?.("success");
153
+ };
154
+ if (e.page === "document") {
155
+ const t = {
156
+ documentSlug: e.documentSlug,
157
+ workspaceSlug: e.workspaceSlug,
158
+ namespace: e.namespace
159
+ };
160
+ if (e.path === "overview")
161
+ return a(await n.push({ name: "document.overview", params: t }));
162
+ if (e.path === "servers")
163
+ return a(await n.push({ name: "document.servers", params: t }));
164
+ if (e.path === "environment")
165
+ return a(await n.push({ name: "document.environment", params: t }));
166
+ if (e.path === "authentication")
167
+ return a(await n.push({ name: "document.authentication", params: t }));
168
+ if (e.path === "cookies")
169
+ return a(await n.push({ name: "document.cookies", params: t }));
170
+ if (e.path === "settings")
171
+ return a(await n.push({ name: "document.settings", params: t }));
172
+ }
173
+ if (e.page === "workspace") {
174
+ const t = { workspaceSlug: e.workspaceSlug, namespace: e.namespace };
175
+ if (e.path === "environment")
176
+ return a(await n.push({ name: "workspace.environment", params: t }));
177
+ if (e.path === "cookies")
178
+ return a(await n.push({ name: "workspace.cookies", params: t }));
179
+ if (e.path === "settings")
180
+ return a(await n.push({ name: "workspace.settings", params: t }));
181
+ }
182
+ if (e.page === "example") {
183
+ const t = {
184
+ namespace: e.namespace,
185
+ workspaceSlug: e.workspaceSlug,
186
+ documentSlug: e.documentSlug,
187
+ pathEncoded: encodeURIComponent(e.path),
188
+ method: e.method,
189
+ exampleName: e.exampleName
190
+ };
191
+ return a(await n.push({ name: "example", params: t }));
192
+ }
193
+ }), s.on("tabs:copy:url", (e) => h(e.index));
155
194
  }
156
195
  export {
157
- N as initializeAppEventHandlers
196
+ A as initializeAppEventHandlers
158
197
  };
@@ -45,13 +45,14 @@ type __VLS_Slots = {
45
45
  /** Slot for customizing the actions section of the sidebar menu. */
46
46
  sidebarMenuActions?(): unknown;
47
47
  };
48
- type __VLS_PublicProps = __VLS_Props & {
48
+ type __VLS_ModelProps = {
49
49
  /** Controls the visibility of the sidebar */
50
50
  'isSidebarOpen': boolean;
51
51
  /** Controls the width of the sidebar */
52
52
  'sidebarWidth': number;
53
53
  };
54
- declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
55
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
56
  "update:sidebarWidth": (value: number) => any;
56
57
  "update:isSidebarOpen": (value: boolean) => any;
57
58
  } & {
@@ -67,7 +68,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
67
68
  "onClick:workspace"?: (() => any) | undefined;
68
69
  "onUpdate:isSidebarOpen"?: ((value: boolean) => any) | undefined;
69
70
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
70
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
71
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
72
+ declare const _default: typeof __VLS_export;
71
73
  export default _default;
72
74
  type __VLS_WithSlots<T, S> = T & {
73
75
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/AppSidebar.vue"],"names":[],"mappings":"AAkeA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAA;AAO3B,OAAO,KAAK,EAA6B,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAUhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,KAAK,WAAW,GAAG;IACf;;OAEG;IACH,MAAM,EAAE,YAAY,CAAA;IAEpB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;IAE1C;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;OAGG;IACH,eAAe,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9C;;;OAGG;IACH,UAAU,EAAE,cAAc,EAAE,CAAA;IAC5B;;;OAGG;IACH,QAAQ,EAAE,iBAAiB,CAAA;IAC3B;;;OAGG;IACH,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;AAgBJ,KAAK,WAAW,GAAG;IACjB,oEAAoE;IACpE,kBAAkB,CAAC,IAAI,OAAO,CAAA;CAC/B,CAAC;AAmLF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,6CAA6C;IAC7C,eAAe,EAAE,OAAO,CAAC;IACzB,wCAAwC;IACxC,cAAc,EAAE,MAAM,CAAC;CACtB,CAAC;AAqfF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;kFAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/AppSidebar.vue"],"names":[],"mappings":"AA4eA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAA;AAQ3B,OAAO,KAAK,EAA6B,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAUhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,KAAK,WAAW,GAAG;IACf;;OAEG;IACH,MAAM,EAAE,YAAY,CAAA;IAEpB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;IAE1C;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;OAGG;IACH,eAAe,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9C;;;OAGG;IACH,UAAU,EAAE,cAAc,EAAE,CAAA;IAC5B;;;OAGG;IACH,QAAQ,EAAE,iBAAiB,CAAA;IAC3B;;;OAGG;IACH,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;AAiBJ,KAAK,WAAW,GAAG;IACjB,oEAAoE;IACpE,kBAAkB,CAAC,IAAI,OAAO,CAAA;CAC/B,CAAC;AAkLF,KAAK,gBAAgB,GAAG;IACxB,6CAA6C;IAC7C,eAAe,EAAE,OAAO,CAAC;IACzB,wCAAwC;IACxC,cAAc,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgkBxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AppSidebar.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-6a79a4d6"]]);
3
+ import e from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e0eb043e"]]);
5
5
  export {
6
- m as default
6
+ a as default
7
7
  };
@@ -1,24 +1,25 @@
1
- import { defineComponent as R, mergeModels as W, computed as k, capitalize as V, useModel as I, ref as F, createElementBlock as c, openBlock as u, createVNode as d, createBlock as M, createCommentVNode as p, unref as s, createSlots as G, withCtx as r, createTextVNode as b, createElementVNode as l, withKeys as w, withModifiers as v, toDisplayString as L, renderSlot as j, normalizeClass as H, Fragment as h, nextTick as U } from "vue";
1
+ import { defineComponent as L, mergeModels as I, computed as k, capitalize as R, useModel as W, ref as V, createElementBlock as c, openBlock as u, createVNode as d, createBlock as x, createCommentVNode as p, unref as i, createSlots as j, withCtx as r, createTextVNode as b, createElementVNode as l, withKeys as w, withModifiers as v, toDisplayString as F, renderSlot as G, normalizeClass as H, Fragment as h, nextTick as U } from "vue";
2
2
  import { useModal as J, ScalarSidebarItem as O, ScalarIconButton as Y, ScalarButton as $, ScalarModal as Q } from "@scalar/components";
3
3
  import { isMacOS as X } from "@scalar/helpers/general/is-mac-os";
4
4
  import { ScalarIconPlus as Z, ScalarIconDotsThree as _, ScalarIconGlobe as ee } from "@scalar/icons";
5
+ import { LibraryIcon as te } from "@scalar/icons/library";
5
6
  import { getParentEntry as S } from "@scalar/workspace-store/navigation";
6
- import te from "../../../../assets/rabbit.ascii.js";
7
- import ae from "../../../../assets/rabbitjump.ascii.js";
7
+ import ae from "../../../../assets/rabbit.ascii.js";
8
+ import oe from "../../../../assets/rabbitjump.ascii.js";
8
9
  import E from "../../../../components/ScalarAsciiArt.vue.js";
9
- import oe from "../../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
10
- import ne from "./SidebarItemMenu.vue.js";
10
+ import ne from "../../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
11
+ import ie from "./SidebarItemMenu.vue.js";
11
12
  import { dragHandleFactory as se } from "../../../helpers/drag-handle-factory.js";
12
- import ie from "../../../components/sidebar/Sidebar.vue.js";
13
- const re = { class: "flex" }, le = {
13
+ import re from "../../../components/sidebar/Sidebar.vue.js";
14
+ const le = { class: "flex" }, de = {
14
15
  key: 0,
15
- class: "flex items-center"
16
- }, de = {
16
+ class: "relative flex items-center"
17
+ }, ue = {
17
18
  key: 0,
18
19
  class: "empty-sidebar-item-content overflow-hidden px-2.5 py-2.5"
19
- }, ue = { class: "rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]" }, me = { class: "gap-1.5 p-2" }, ce = { class: "text-sidebar-c-2 rounded border px-1.25 py-1 text-xs leading-none font-medium uppercase" }, Ce = /* @__PURE__ */ R({
20
+ }, me = { class: "rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]" }, ce = { class: "gap-1.5 p-2" }, pe = { class: "text-sidebar-c-2 rounded border px-1.25 py-1 text-xs leading-none font-medium uppercase" }, We = /* @__PURE__ */ L({
20
21
  __name: "AppSidebar",
21
- props: /* @__PURE__ */ W({
22
+ props: /* @__PURE__ */ I({
22
23
  layout: {},
23
24
  sidebarState: {},
24
25
  isWorkspaceOpen: { type: Boolean },
@@ -35,18 +36,18 @@ const re = { class: "flex" }, le = {
35
36
  },
36
37
  sidebarWidthModifiers: {}
37
38
  }),
38
- emits: /* @__PURE__ */ W(["click:workspace", "selectItem", "select:workspace", "create:workspace"], ["update:isSidebarOpen", "update:sidebarWidth"]),
39
+ emits: /* @__PURE__ */ I(["click:workspace", "selectItem", "select:workspace", "create:workspace"], ["update:isSidebarOpen", "update:sidebarWidth"]),
39
40
  setup(o, { emit: A }) {
40
- const f = A, D = k(() => V(o.activeWorkspace.label)), x = I(o, "isSidebarOpen"), B = I(o, "sidebarWidth"), g = k(() => o.sidebarState.items.value.length <= 1), C = k(
41
+ const f = A, D = k(() => R(o.activeWorkspace.label)), M = W(o, "isSidebarOpen"), B = W(o, "sidebarWidth"), g = k(() => o.sidebarState.items.value.length <= 1), C = k(
41
42
  () => se({
42
43
  store: o.store,
43
44
  sidebarState: o.sidebarState
44
45
  })
45
- ), N = (a, e) => C.value.handleDragEnd(a, e), T = (a, e) => C.value.isDroppable(a, e), i = F(null), y = J(), K = k(() => {
46
- const a = i.value?.item;
46
+ ), N = (a, e) => C.value.handleDragEnd(a, e), T = (a, e) => C.value.isDroppable(a, e), s = V(null), y = J(), K = k(() => {
47
+ const a = s.value?.item;
47
48
  return a?.type === "document" ? "This cannot be undone. You're about to delete the document and all tags and operations inside it." : `Are you sure you want to delete this ${a?.type ?? "item"}? This action cannot be undone.`;
48
49
  }), z = () => {
49
- const a = i.value?.item;
50
+ const a = s.value?.item;
50
51
  if (!a)
51
52
  return;
52
53
  const e = o.sidebarState.getEntryById(a.id), t = S("document", e), n = S("operation", e);
@@ -80,17 +81,17 @@ const re = { class: "flex" }, le = {
80
81
  documentName: t.name
81
82
  });
82
83
  }
83
- y.hide(), i.value = null;
84
+ y.hide(), s.value = null;
84
85
  }
85
86
  }, m = async (a, e) => {
86
- if (i.value?.showMenu)
87
+ if (s.value?.showMenu)
87
88
  return;
88
89
  const t = a.currentTarget;
89
- i.value = { item: e, el: t, showMenu: !0 }, await U();
90
+ s.value = { item: e, el: t, showMenu: !0 }, await U();
90
91
  const n = a instanceof MouseEvent ? new MouseEvent(a.type, a) : new KeyboardEvent(a.type, a);
91
- i.value?.el.dispatchEvent(n);
92
+ s.value?.el.dispatchEvent(n);
92
93
  }, P = () => {
93
- i.value && (i.value.showMenu = !1);
94
+ s.value && (s.value.showMenu = !1);
94
95
  }, q = (a) => {
95
96
  const e = o.sidebarState.getEntryById(a.id), t = S("document", e), n = S("tag", e);
96
97
  o.eventBus.emit("ui:open:command-palette", {
@@ -101,10 +102,10 @@ const re = { class: "flex" }, le = {
101
102
  }
102
103
  });
103
104
  };
104
- return (a, e) => (u(), c("div", re, [
105
- d(s(ie), {
106
- isSidebarOpen: x.value,
107
- "onUpdate:isSidebarOpen": e[3] || (e[3] = (t) => x.value = t),
105
+ return (a, e) => (u(), c("div", le, [
106
+ d(i(re), {
107
+ isSidebarOpen: M.value,
108
+ "onUpdate:isSidebarOpen": e[3] || (e[3] = (t) => M.value = t),
108
109
  sidebarWidth: B.value,
109
110
  "onUpdate:sidebarWidth": e[4] || (e[4] = (t) => B.value = t),
110
111
  activeWorkspace: o.activeWorkspace,
@@ -117,28 +118,28 @@ const re = { class: "flex" }, le = {
117
118
  onReorder: e[6] || (e[6] = (t, n) => N(t, n)),
118
119
  "onSelect:workspace": e[7] || (e[7] = (t) => f("select:workspace", t)),
119
120
  onSelectItem: e[8] || (e[8] = (t) => f("selectItem", t))
120
- }, G({
121
+ }, j({
121
122
  sidebarMenuActions: r(() => [
122
- j(a.$slots, "sidebarMenuActions", {}, void 0, !0)
123
+ G(a.$slots, "sidebarMenuActions", {}, void 0, !0)
123
124
  ]),
124
125
  workspaceButton: r(() => [
125
- d(s(O), {
126
+ d(i(O), {
126
127
  is: "button",
127
128
  active: o.isWorkspaceOpen,
128
- icon: s(ee),
129
+ icon: i(ee),
129
130
  onClick: e[0] || (e[0] = (t) => f("click:workspace"))
130
131
  }, {
131
132
  default: r(() => [
132
- b(L(D.value), 1)
133
+ b(F(D.value), 1)
133
134
  ]),
134
135
  _: 1
135
136
  }, 8, ["active", "icon"])
136
137
  ]),
137
138
  decorator: r(({ item: t }) => [
138
- d(s(Y), {
139
+ d(i(Y), {
139
140
  "aria-expanded": "false",
140
141
  "aria-haspopup": "menu",
141
- icon: s(_),
142
+ icon: i(_),
142
143
  label: "More options",
143
144
  size: "sm",
144
145
  weight: "bold",
@@ -152,17 +153,21 @@ const re = { class: "flex" }, le = {
152
153
  }, null, 8, ["icon", "onClick", "onKeydown"])
153
154
  ]),
154
155
  icon: r(({ item: t }) => [
155
- t.type === "document" && o.store.workspace.documents[t.name]?.["x-scalar-is-dirty"] === !0 ? (u(), c("div", le, [...e[11] || (e[11] = [
156
- l("div", { class: "h-2 w-2 rounded-full bg-white" }, null, -1)
157
- ])])) : p("", !0)
156
+ t.type === "document" && o.store.workspace.documents[t.name]?.["x-scalar-is-dirty"] === !0 ? (u(), c("div", de, [
157
+ d(i(te), {
158
+ class: "block",
159
+ src: "icon" in t && t.icon || "interface-content-folder"
160
+ }, null, 8, ["src"]),
161
+ e[11] || (e[11] = l("div", { class: "bg-orange absolute -top-1.25 -right-1.25 flex h-2.5 w-2.5 items-center justify-center rounded-full text-[9px] font-bold text-white" }, " ! ", -1))
162
+ ])) : p("", !0)
158
163
  ]),
159
164
  empty: r(({ item: t }) => [
160
- d(s(O), {
165
+ d(i(O), {
161
166
  is: "button",
162
167
  onClick: (n) => q(t)
163
168
  }, {
164
169
  icon: r(() => [
165
- d(s(Z))
170
+ d(i(Z))
166
171
  ]),
167
172
  default: r(() => [...e[12] || (e[12] = [
168
173
  b("Add operation", -1)
@@ -180,14 +185,14 @@ const re = { class: "flex" }, le = {
180
185
  "empty-sidebar-item border-t": g.value
181
186
  })
182
187
  }, [
183
- g.value ? (u(), c("div", de, [
184
- l("div", ue, [
188
+ g.value ? (u(), c("div", ue, [
189
+ l("div", me, [
185
190
  d(E, {
186
- art: s(te),
191
+ art: i(ae),
187
192
  class: "rabbitsit font-bold"
188
193
  }, null, 8, ["art"]),
189
194
  d(E, {
190
- art: s(ae),
195
+ art: i(oe),
191
196
  class: "rabbitjump absolute top-0 left-0 font-bold"
192
197
  }, null, 8, ["art"])
193
198
  ]),
@@ -196,8 +201,8 @@ const re = { class: "flex" }, le = {
196
201
  l("p", { class: "mt-2 leading-3" }, " Create request, folder, collection or import from OpenAPI/Postman ")
197
202
  ], -1))
198
203
  ])) : p("", !0),
199
- l("div", me, [
200
- g.value ? (u(), M(s($), {
204
+ l("div", ce, [
205
+ g.value ? (u(), x(i($), {
201
206
  key: 0,
202
207
  class: "w-full",
203
208
  size: "sm",
@@ -211,7 +216,7 @@ const re = { class: "flex" }, le = {
211
216
  ])]),
212
217
  _: 1
213
218
  })) : p("", !0),
214
- d(s($), {
219
+ d(i($), {
215
220
  class: "w-full",
216
221
  hotkey: "K",
217
222
  size: "sm",
@@ -220,8 +225,8 @@ const re = { class: "flex" }, le = {
220
225
  }, {
221
226
  default: r(() => [
222
227
  e[20] || (e[20] = b(" Add Item   ", -1)),
223
- l("span", ce, [
224
- s(X)() ? (u(), c(h, { key: 0 }, [
228
+ l("span", pe, [
229
+ i(X)() ? (u(), c(h, { key: 0 }, [
225
230
  e[15] || (e[15] = l("span", { class: "sr-only" }, "Command", -1)),
226
231
  e[16] || (e[16] = l("span", { "aria-hidden": "true" }, "⌘", -1))
227
232
  ], 64)) : (u(), c(h, { key: 1 }, [
@@ -239,26 +244,26 @@ const re = { class: "flex" }, le = {
239
244
  key: "0"
240
245
  } : void 0
241
246
  ]), 1032, ["isSidebarOpen", "sidebarWidth", "activeWorkspace", "documents", "layout", "sidebarState", "workspaces"]),
242
- i.value?.showMenu ? (u(), M(ne, {
247
+ s.value?.showMenu ? (u(), x(ie, {
243
248
  key: 0,
244
249
  eventBus: o.eventBus,
245
- item: i.value.item,
250
+ item: s.value.item,
246
251
  sidebarState: o.sidebarState,
247
- target: i.value.el,
252
+ target: s.value.el,
248
253
  onCloseMenu: P,
249
- onShowDeleteModal: e[9] || (e[9] = (t) => s(y).show())
254
+ onShowDeleteModal: e[9] || (e[9] = (t) => i(y).show())
250
255
  }, null, 8, ["eventBus", "item", "sidebarState", "target"])) : p("", !0),
251
- i.value ? (u(), M(s(Q), {
256
+ s.value ? (u(), x(i(Q), {
252
257
  key: 1,
253
258
  size: "xxs",
254
- state: s(y),
255
- title: `Delete ${i.value.item.title}`
259
+ state: i(y),
260
+ title: `Delete ${s.value.item.title}`
256
261
  }, {
257
262
  default: r(() => [
258
- d(oe, {
259
- variableName: i.value.item.title,
263
+ d(ne, {
264
+ variableName: s.value.item.title,
260
265
  warningMessage: K.value,
261
- onClose: e[10] || (e[10] = (t) => s(y).hide()),
266
+ onClose: e[10] || (e[10] = (t) => i(y).hide()),
262
267
  onDelete: z
263
268
  }, null, 8, ["variableName", "warningMessage"])
264
269
  ]),
@@ -268,5 +273,5 @@ const re = { class: "flex" }, le = {
268
273
  }
269
274
  });
270
275
  export {
271
- Ce as default
276
+ We as default
272
277
  };
@@ -2,7 +2,7 @@ import { type ModalState } from '@scalar/components';
2
2
  type __VLS_Props = {
3
3
  state: ModalState;
4
4
  };
5
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
6
  "create:workspace": (payload: {
7
7
  name: string;
8
8
  }) => any;
@@ -11,5 +11,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
11
11
  name: string;
12
12
  }) => any) | undefined;
13
13
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
15
16
  //# sourceMappingURL=CreateWorkspaceModal.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateWorkspaceModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/CreateWorkspaceModal.vue"],"names":[],"mappings":"AAAA,OAwEO,EAAe,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAMjE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;CAClB,CAAC;;;cAIyC,MAAM;;;;cAAN,MAAM;;;AA4HjD,wBAOG"}
1
+ {"version":3,"file":"CreateWorkspaceModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/CreateWorkspaceModal.vue"],"names":[],"mappings":"AAAA,OAyEO,EAAe,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAMjE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;CAClB,CAAC;AAgIF,QAAA,MAAM,YAAY;;cA3HyB,MAAM;;;;cAAN,MAAM;;kFA8H/C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -9,7 +9,7 @@ type __VLS_Props = {
9
9
  /** The tab data */
10
10
  tab: Tab;
11
11
  };
12
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
13
  click: () => any;
14
14
  close: () => any;
15
15
  newTab: () => any;
@@ -22,5 +22,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
22
22
  onCopyUrl?: (() => any) | undefined;
23
23
  onCloseOtherTabs?: (() => any) | undefined;
24
24
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
25
26
  export default _default;
26
27
  //# sourceMappingURL=DesktopTab.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DesktopTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DesktopTab.vue"],"names":[],"mappings":"AAwTA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sDAAsD,CAAA;AAG/E,KAAK,WAAW,GAAG;IACjB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,2CAA2C;IAC3C,MAAM,EAAE,OAAO,CAAA;IACf,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,mBAAmB;IACnB,GAAG,EAAE,GAAG,CAAA;CACT,CAAC;;;;;;;;;;;;;;AA6WF,wBAOG"}
1
+ {"version":3,"file":"DesktopTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DesktopTab.vue"],"names":[],"mappings":"AAyTA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sDAAsD,CAAA;AAG/E,KAAK,WAAW,GAAG;IACjB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,2CAA2C;IAC3C,MAAM,EAAE,OAAO,CAAA;IACf,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,mBAAmB;IACnB,GAAG,EAAE,GAAG,CAAA;CACT,CAAC;AAwZF,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -8,6 +8,7 @@ type __VLS_Props = {
8
8
  /** Workspace event bus for emitting tab-related events */
9
9
  eventBus: WorkspaceEventBus;
10
10
  };
11
- 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>;
11
+ 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>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
13
14
  //# sourceMappingURL=DesktopTabs.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DesktopTabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DesktopTabs.vue"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oEAAoE,CAAA;AAK7F,KAAK,WAAW,GAAG;IACjB,iBAAiB;IACjB,IAAI,EAAE,GAAG,EAAE,CAAA;IACX,+BAA+B;IAC/B,cAAc,EAAE,MAAM,CAAA;IACtB,0DAA0D;IAC1D,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;;AAmJF,wBAMG"}
1
+ {"version":3,"file":"DesktopTabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DesktopTabs.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oEAAoE,CAAA;AAK7F,KAAK,WAAW,GAAG;IACjB,iBAAiB;IACjB,IAAI,EAAE,GAAG,EAAE,CAAA;IACX,+BAA+B;IAC/B,cAAc,EAAE,MAAM,CAAA;IACtB,0DAA0D;IAC1D,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;AAyJF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,3 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
3
4
  //# sourceMappingURL=DownloadAppButton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DownloadAppButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DownloadAppButton.vue"],"names":[],"mappings":";AAuGA,wBAKG"}
1
+ {"version":3,"file":"DownloadAppButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DownloadAppButton.vue"],"names":[],"mappings":"AA4FA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -11,12 +11,13 @@ type __VLS_Props = {
11
11
  /** The target to position the dropdown relative to */
12
12
  target: HTMLElement;
13
13
  };
14
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
15
  closeMenu: () => any;
16
16
  showDeleteModal: () => any;
17
17
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
18
  onCloseMenu?: (() => any) | undefined;
19
19
  onShowDeleteModal?: (() => 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=SidebarItemMenu.vue.d.ts.map