@scalar/api-client 2.8.1 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (444) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/dist/components/AddressBar/AddressBarHistory.vue2.js +9 -10
  3. package/dist/components/CodeInput/CodeInput.vue2.js +5 -5
  4. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  5. package/dist/components/CommandPalette/CommandActionForm.vue.js +10 -10
  6. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +3 -3
  7. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +3 -3
  8. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +18 -20
  9. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +2 -2
  10. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +1 -1
  11. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +13 -14
  12. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +3 -3
  13. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +3 -3
  14. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -24
  15. package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
  16. package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
  17. package/dist/components/DataTable/DataTableInputSelect.vue.js +8 -9
  18. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -10
  19. package/dist/components/IconSelector.vue.js +1 -1
  20. package/dist/components/ImportCollection/DropEventListener.vue.js +12 -12
  21. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +8 -8
  22. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
  23. package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -16
  24. package/dist/components/ImportCollection/PasteEventListener.vue.js +1 -1
  25. package/dist/components/ImportCollection/PrefetchError.vue.js +2 -2
  26. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +5 -7
  27. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -1
  28. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  29. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +3 -3
  30. package/dist/components/OpenApiClientButton.vue2.js +1 -1
  31. package/dist/components/Server/ServerSelector.vue.js +1 -2
  32. package/dist/components/SideNav/SideHelp.vue.js +13 -19
  33. package/dist/components/SideNav/SideNav.vue.js +4 -5
  34. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +4 -5
  35. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  36. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  37. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  38. package/dist/components/TopNav/TopNav.vue.js +8 -10
  39. package/dist/components/TopNav/TopNavItem.vue2.js +8 -12
  40. package/dist/hooks/index.d.ts +0 -1
  41. package/dist/hooks/index.d.ts.map +1 -1
  42. package/dist/hooks/index.js +9 -11
  43. package/dist/hooks/useClientConfig.d.ts +3 -0
  44. package/dist/hooks/useClientConfig.d.ts.map +1 -1
  45. package/dist/index.d.ts +1 -2
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +8 -15
  48. package/dist/layouts/App/create-api-client-app.d.ts +3646 -3645
  49. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  50. package/dist/layouts/App/create-api-client-app.js +24 -18
  51. package/dist/layouts/Modal/create-api-client-modal.d.ts +5 -8089
  52. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  53. package/dist/layouts/Modal/create-api-client-modal.js +28 -46
  54. package/dist/layouts/Modal/index.d.ts +2 -2
  55. package/dist/layouts/Modal/index.d.ts.map +1 -1
  56. package/dist/layouts/Modal/index.js +2 -5
  57. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  58. package/dist/layouts/Web/create-api-client-web.js +15 -12
  59. package/dist/libs/create-client.d.ts +2 -2
  60. package/dist/libs/create-client.d.ts.map +1 -1
  61. package/dist/libs/postman.d.ts +1 -1
  62. package/dist/libs/postman.d.ts.map +1 -1
  63. package/dist/libs/postman.js +12 -12
  64. package/dist/libs/validate-parameters.d.ts +10 -2
  65. package/dist/libs/validate-parameters.d.ts.map +1 -1
  66. package/dist/libs/validate-parameters.js +13 -6
  67. package/dist/routes.d.ts +3 -184
  68. package/dist/routes.d.ts.map +1 -1
  69. package/dist/routes.js +6 -6
  70. package/dist/store/active-entities.d.ts +1 -1
  71. package/dist/store/active-entities.d.ts.map +1 -1
  72. package/dist/store/active-entities.js +2 -2
  73. package/dist/store/router-params.d.ts.map +1 -1
  74. package/dist/style.css +1 -1
  75. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +5 -5
  76. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  77. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  78. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +3 -3
  79. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +3 -4
  80. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts +1 -0
  81. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts.map +1 -1
  82. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -2
  83. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +7 -8
  84. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +44 -55
  85. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +16 -18
  86. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +41 -46
  87. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  88. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +3 -0
  89. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
  90. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
  91. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +201 -187
  92. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
  93. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +8 -10
  94. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +2 -3
  95. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +2 -4
  96. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +14 -16
  97. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +3 -0
  98. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
  99. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
  100. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +87 -85
  101. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +10 -11
  102. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +4 -5
  103. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +1 -1
  104. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +3 -3
  105. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +1 -1
  106. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +5 -5
  107. package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +9 -10
  108. package/dist/v2/components/TempReplaceMe.vue.d.ts +3 -0
  109. package/dist/v2/components/TempReplaceMe.vue.d.ts.map +1 -0
  110. package/dist/v2/components/TempReplaceMe.vue.js +12 -0
  111. package/dist/v2/components/code-input/CodeInput.test.d.ts +2 -0
  112. package/dist/v2/components/code-input/CodeInput.test.d.ts.map +1 -0
  113. package/dist/v2/components/code-input/CodeInput.vue.d.ts +140 -0
  114. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -0
  115. package/dist/v2/components/code-input/CodeInput.vue.js +8 -0
  116. package/dist/v2/components/code-input/CodeInput.vue2.js +202 -0
  117. package/dist/v2/components/code-input/code-variable-widget.d.ts +21 -0
  118. package/dist/v2/components/code-input/code-variable-widget.d.ts.map +1 -0
  119. package/dist/v2/components/code-input/code-variable-widget.js +106 -0
  120. package/dist/v2/components/code-input/code-variable-widget.test.d.ts +2 -0
  121. package/dist/v2/components/code-input/code-variable-widget.test.d.ts.map +1 -0
  122. package/dist/v2/components/code-input/index.d.ts +2 -0
  123. package/dist/v2/components/code-input/index.d.ts.map +1 -0
  124. package/dist/v2/components/code-input/index.js +4 -0
  125. package/dist/v2/components/data-table/DataTable.vue.d.ts +22 -0
  126. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -0
  127. package/dist/v2/components/data-table/DataTable.vue.js +38 -0
  128. package/dist/v2/components/data-table/DataTable.vue2.js +4 -0
  129. package/dist/v2/components/data-table/DataTableCell.vue.d.ts +19 -0
  130. package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -0
  131. package/dist/v2/components/data-table/DataTableCell.vue.js +26 -0
  132. package/dist/v2/components/data-table/DataTableCell.vue2.js +4 -0
  133. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +14 -0
  134. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -0
  135. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +53 -0
  136. package/dist/v2/components/data-table/DataTableCheckbox.vue2.js +4 -0
  137. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +13 -0
  138. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -0
  139. package/dist/v2/components/data-table/DataTableHeader.vue.js +18 -0
  140. package/dist/v2/components/data-table/DataTableHeader.vue2.js +4 -0
  141. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +53 -0
  142. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -0
  143. package/dist/v2/components/data-table/DataTableInput.vue.js +7 -0
  144. package/dist/v2/components/data-table/DataTableInput.vue2.js +117 -0
  145. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +16 -0
  146. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -0
  147. package/dist/v2/components/data-table/DataTableInputSelect.vue.js +146 -0
  148. package/dist/v2/components/data-table/DataTableInputSelect.vue2.js +4 -0
  149. package/dist/v2/components/data-table/DataTableRow.vue.d.ts +13 -0
  150. package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -0
  151. package/dist/v2/components/data-table/DataTableRow.vue.js +12 -0
  152. package/dist/v2/components/data-table/DataTableText.vue.d.ts +16 -0
  153. package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -0
  154. package/dist/v2/components/data-table/DataTableText.vue.js +23 -0
  155. package/dist/v2/components/data-table/DataTableText.vue2.js +4 -0
  156. package/dist/v2/components/data-table/index.d.ts +9 -0
  157. package/dist/v2/components/data-table/index.d.ts.map +1 -0
  158. package/dist/v2/components/data-table/index.js +18 -0
  159. package/dist/v2/components/resize/Resize.vue.d.ts +20 -0
  160. package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -0
  161. package/dist/v2/components/resize/Resize.vue.js +8 -0
  162. package/dist/v2/components/resize/Resize.vue2.js +36 -0
  163. package/dist/v2/components/resize/index.d.ts +3 -0
  164. package/dist/v2/components/resize/index.d.ts.map +1 -0
  165. package/dist/v2/components/resize/index.js +4 -0
  166. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +39 -0
  167. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -0
  168. package/dist/v2/components/sidebar/Sidebar.vue.js +95 -0
  169. package/dist/v2/components/sidebar/Sidebar.vue2.js +4 -0
  170. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +13 -0
  171. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -0
  172. package/dist/v2/components/sidebar/SidebarMenu.vue.js +63 -0
  173. package/dist/v2/components/sidebar/SidebarMenu.vue2.js +4 -0
  174. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +10 -0
  175. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -0
  176. package/dist/v2/components/sidebar/SidebarToggle.vue.js +52 -0
  177. package/dist/v2/components/sidebar/SidebarToggle.vue2.js +4 -0
  178. package/dist/v2/components/sidebar/index.d.ts +4 -0
  179. package/dist/v2/components/sidebar/index.d.ts.map +1 -0
  180. package/dist/v2/components/sidebar/index.js +8 -0
  181. package/dist/v2/features/app/App.test.d.ts +2 -0
  182. package/dist/v2/features/app/App.test.d.ts.map +1 -0
  183. package/dist/v2/features/app/App.vue.d.ts +16 -0
  184. package/dist/v2/features/app/App.vue.d.ts.map +1 -0
  185. package/dist/v2/features/app/App.vue.js +87 -0
  186. package/dist/v2/features/app/App.vue3.js +5 -0
  187. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +30 -0
  188. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -0
  189. package/dist/v2/features/app/components/AppSidebar.vue.js +7 -0
  190. package/dist/v2/features/app/components/AppSidebar.vue2.js +117 -0
  191. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +6 -0
  192. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -0
  193. package/dist/v2/features/app/components/DesktopTabs.vue.js +15 -0
  194. package/dist/v2/features/app/components/DesktopTabs.vue2.js +6 -0
  195. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +3 -0
  196. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -0
  197. package/dist/v2/features/app/components/DownloadAppButton.vue.js +7 -0
  198. package/dist/v2/features/app/components/DownloadAppButton.vue2.js +19 -0
  199. package/dist/v2/features/app/components/WebTopNav.vue.d.ts +16 -0
  200. package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -0
  201. package/dist/v2/features/app/components/WebTopNav.vue.js +28 -0
  202. package/dist/v2/features/app/components/WebTopNav.vue2.js +4 -0
  203. package/dist/v2/features/app/components/index.d.ts +2 -0
  204. package/dist/v2/features/app/components/index.d.ts.map +1 -0
  205. package/dist/v2/features/app/components/index.js +5 -0
  206. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +25 -0
  207. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -0
  208. package/dist/v2/features/app/helpers/create-api-client-app.js +21 -0
  209. package/dist/v2/features/app/helpers/routes.d.ts +106 -0
  210. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -0
  211. package/dist/v2/features/app/helpers/routes.js +109 -0
  212. package/dist/v2/features/app/index.d.ts +2 -0
  213. package/dist/v2/features/app/index.d.ts.map +1 -0
  214. package/dist/v2/features/app/index.js +4 -0
  215. package/dist/v2/features/collection/DocumentCollection.test.d.ts +2 -0
  216. package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +1 -0
  217. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +12 -0
  218. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -0
  219. package/dist/v2/features/collection/DocumentCollection.vue.js +4 -0
  220. package/dist/v2/features/collection/DocumentCollection.vue2.js +95 -0
  221. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +10 -0
  222. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -0
  223. package/dist/v2/features/collection/WorkspaceCollection.vue.js +4 -0
  224. package/dist/v2/features/collection/WorkspaceCollection.vue2.js +40 -0
  225. package/dist/v2/features/collection/components/Authentication.test.d.ts +2 -0
  226. package/dist/v2/features/collection/components/Authentication.test.d.ts.map +1 -0
  227. package/dist/v2/features/collection/components/Authentication.vue.d.ts +48 -0
  228. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -0
  229. package/dist/v2/features/collection/components/Authentication.vue.js +7 -0
  230. package/dist/v2/features/collection/components/Authentication.vue2.js +50 -0
  231. package/dist/v2/features/collection/components/Cookies.vue.d.ts +3 -0
  232. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -0
  233. package/dist/v2/features/collection/components/Cookies.vue.js +9 -0
  234. package/dist/v2/features/collection/components/Environment.test.d.ts +2 -0
  235. package/dist/v2/features/collection/components/Environment.test.d.ts.map +1 -0
  236. package/dist/v2/features/collection/components/Environment.vue.d.ts +15 -0
  237. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -0
  238. package/dist/v2/features/collection/components/Environment.vue.js +4 -0
  239. package/dist/v2/features/collection/components/Environment.vue2.js +29 -0
  240. package/dist/v2/features/collection/components/Form.vue.d.ts +29 -0
  241. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -0
  242. package/dist/v2/features/collection/components/Form.vue.js +83 -0
  243. package/dist/v2/features/collection/components/Form.vue2.js +4 -0
  244. package/dist/v2/features/collection/components/LabelInput.test.d.ts +2 -0
  245. package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +1 -0
  246. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +10 -0
  247. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -0
  248. package/dist/v2/features/collection/components/LabelInput.vue.js +7 -0
  249. package/dist/v2/features/collection/components/LabelInput.vue2.js +29 -0
  250. package/dist/v2/features/collection/components/Overview.test.d.ts +2 -0
  251. package/dist/v2/features/collection/components/Overview.test.d.ts.map +1 -0
  252. package/dist/v2/features/collection/components/Overview.vue.d.ts +15 -0
  253. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -0
  254. package/dist/v2/features/collection/components/Overview.vue.js +7 -0
  255. package/dist/v2/features/collection/components/Overview.vue2.js +89 -0
  256. package/dist/v2/features/collection/components/Servers.test.d.ts +2 -0
  257. package/dist/v2/features/collection/components/Servers.test.d.ts.map +1 -0
  258. package/dist/v2/features/collection/components/Servers.vue.d.ts +33 -0
  259. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -0
  260. package/dist/v2/features/collection/components/Servers.vue.js +4 -0
  261. package/dist/v2/features/collection/components/Servers.vue2.js +120 -0
  262. package/dist/v2/features/collection/components/Settings.test.d.ts +2 -0
  263. package/dist/v2/features/collection/components/Settings.test.d.ts.map +1 -0
  264. package/dist/v2/features/collection/components/Settings.vue.d.ts +17 -0
  265. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -0
  266. package/dist/v2/features/collection/components/Settings.vue.js +7 -0
  267. package/dist/v2/features/collection/components/Settings.vue2.js +100 -0
  268. package/dist/v2/features/collection/components/Tabs.test.d.ts +2 -0
  269. package/dist/v2/features/collection/components/Tabs.test.d.ts.map +1 -0
  270. package/dist/v2/features/collection/components/Tabs.vue.d.ts +6 -0
  271. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -0
  272. package/dist/v2/features/collection/components/Tabs.vue.js +46 -0
  273. package/dist/v2/features/collection/components/Tabs.vue2.js +4 -0
  274. package/dist/v2/features/environments/EnvironmentsList.test.d.ts +2 -0
  275. package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +1 -0
  276. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +9 -0
  277. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -0
  278. package/dist/v2/features/environments/EnvironmentsList.vue.js +66 -0
  279. package/dist/v2/features/environments/EnvironmentsList.vue2.js +4 -0
  280. package/dist/v2/features/environments/components/Environment.test.d.ts +2 -0
  281. package/dist/v2/features/environments/components/Environment.test.d.ts.map +1 -0
  282. package/dist/v2/features/environments/components/Environment.vue.d.ts +16 -0
  283. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -0
  284. package/dist/v2/features/environments/components/Environment.vue.js +53 -0
  285. package/dist/v2/features/environments/components/Environment.vue2.js +4 -0
  286. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +2 -0
  287. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +1 -0
  288. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +10 -0
  289. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -0
  290. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +121 -0
  291. package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +4 -0
  292. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +12 -0
  293. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -0
  294. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +85 -0
  295. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue2.js +4 -0
  296. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +14 -0
  297. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -0
  298. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +53 -0
  299. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue2.js +4 -0
  300. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +21 -0
  301. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -0
  302. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +109 -0
  303. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue2.js +4 -0
  304. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +2 -0
  305. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +1 -0
  306. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +10 -0
  307. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -0
  308. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +7 -0
  309. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +136 -0
  310. package/dist/v2/features/environments/index.d.ts +2 -0
  311. package/dist/v2/features/environments/index.d.ts.map +1 -0
  312. package/dist/v2/features/environments/index.js +4 -0
  313. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +2 -0
  314. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +1 -0
  315. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +25 -0
  316. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -0
  317. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +7 -0
  318. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +156 -0
  319. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +2 -0
  320. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +1 -0
  321. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts +32 -0
  322. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts.map +1 -0
  323. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.js +7 -0
  324. package/dist/v2/features/global-cookies/components/GlobalCookies.vue2.js +58 -0
  325. package/dist/v2/features/global-cookies/index.d.ts +2 -0
  326. package/dist/v2/features/global-cookies/index.d.ts.map +1 -0
  327. package/dist/v2/features/global-cookies/index.js +4 -0
  328. package/dist/v2/features/modal/Modal.vue.d.ts +16 -0
  329. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -0
  330. package/dist/v2/features/modal/Modal.vue.js +7 -0
  331. package/dist/v2/features/modal/Modal.vue2.js +81 -0
  332. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +53 -0
  333. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -0
  334. package/dist/v2/features/modal/helpers/create-api-client-modal.js +46 -0
  335. package/dist/v2/features/modal/index.d.ts +2 -0
  336. package/dist/v2/features/modal/index.d.ts.map +1 -0
  337. package/dist/v2/features/modal/index.js +4 -0
  338. package/dist/v2/features/operation/Operation.test.d.ts +2 -0
  339. package/dist/v2/features/operation/Operation.test.d.ts.map +1 -0
  340. package/dist/v2/features/operation/Operation.vue.d.ts +79 -0
  341. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -0
  342. package/dist/v2/features/operation/Operation.vue.js +124 -0
  343. package/dist/v2/features/operation/Operation.vue2.js +4 -0
  344. package/dist/v2/features/operation/components/Header.test.d.ts +2 -0
  345. package/dist/v2/features/operation/components/Header.test.d.ts.map +1 -0
  346. package/dist/v2/features/operation/components/Header.vue.d.ts +85 -0
  347. package/dist/v2/features/operation/components/Header.vue.d.ts.map +1 -0
  348. package/dist/v2/features/operation/components/Header.vue.js +7 -0
  349. package/dist/v2/features/operation/components/Header.vue2.js +97 -0
  350. package/dist/v2/features/operation/index.d.ts +3 -0
  351. package/dist/v2/features/operation/index.d.ts.map +1 -0
  352. package/dist/v2/features/operation/index.js +4 -0
  353. package/dist/v2/features/settings/Settings.test.d.ts +2 -0
  354. package/dist/v2/features/settings/Settings.test.d.ts.map +1 -0
  355. package/dist/v2/features/settings/Settings.vue.d.ts +22 -0
  356. package/dist/v2/features/settings/Settings.vue.d.ts.map +1 -0
  357. package/dist/v2/features/settings/Settings.vue.js +268 -0
  358. package/dist/v2/features/settings/Settings.vue2.js +4 -0
  359. package/dist/v2/features/settings/components/Appearance.vue.d.ts +10 -0
  360. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -0
  361. package/dist/v2/features/settings/components/Appearance.vue.js +88 -0
  362. package/dist/v2/features/settings/components/Appearance.vue2.js +4 -0
  363. package/dist/v2/features/settings/components/Section.vue.d.ts +14 -0
  364. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -0
  365. package/dist/v2/features/settings/components/Section.vue.js +24 -0
  366. package/dist/v2/features/settings/components/Section.vue2.js +4 -0
  367. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +9 -0
  368. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -0
  369. package/dist/v2/features/settings/helpers/get-theme-colors.js +17 -0
  370. package/dist/v2/features/settings/index.d.ts +2 -0
  371. package/dist/v2/features/settings/index.d.ts.map +1 -0
  372. package/dist/v2/features/settings/index.js +4 -0
  373. package/dist/v2/helpers/test-utils.d.ts +4 -0
  374. package/dist/v2/helpers/test-utils.d.ts.map +1 -0
  375. package/dist/v2/hooks/use-document-watcher.d.ts +28 -0
  376. package/dist/v2/hooks/use-document-watcher.d.ts.map +1 -0
  377. package/dist/v2/hooks/use-document-watcher.test.d.ts +2 -0
  378. package/dist/v2/hooks/use-document-watcher.test.d.ts.map +1 -0
  379. package/dist/v2/hooks/use-workspace-client-events.d.ts +9 -0
  380. package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -0
  381. package/dist/v2/hooks/use-workspace-client-events.js +27 -0
  382. package/dist/v2/plugins.d.ts +44 -0
  383. package/dist/v2/plugins.d.ts.map +1 -0
  384. package/dist/v2/types/layout.d.ts +10 -0
  385. package/dist/v2/types/layout.d.ts.map +1 -0
  386. package/dist/views/Collection/Collection.vue2.js +6 -6
  387. package/dist/views/Collection/CollectionCookies.vue2.js +3 -3
  388. package/dist/views/Collection/CollectionEnvironment.vue2.js +12 -13
  389. package/dist/views/Collection/CollectionScripts.vue2.js +3 -3
  390. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  391. package/dist/views/Collection/CollectionServerForm.vue.js +42 -62
  392. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  393. package/dist/views/Collection/CollectionServers.vue2.js +43 -50
  394. package/dist/views/Collection/CollectionSettings.vue.js +2 -2
  395. package/dist/views/Collection/CollectionSettings.vue2.js +5 -6
  396. package/dist/views/Collection/CollectionSync.vue2.js +3 -3
  397. package/dist/views/Collection/components/EnvironmentForm.vue2.js +10 -12
  398. package/dist/views/Collection/components/MarkdownInput.vue2.js +2 -4
  399. package/dist/views/Cookies/CookieModal.vue2.js +6 -6
  400. package/dist/views/Cookies/Cookies.vue2.js +6 -6
  401. package/dist/views/Environment/Environment.vue2.js +5 -6
  402. package/dist/views/Environment/EnvironmentModal.vue.js +13 -14
  403. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +8 -9
  404. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  405. package/dist/views/Request/RequestRoot.vue.js +2 -2
  406. package/dist/views/Request/RequestRoot.vue2.js +79 -80
  407. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +10 -11
  408. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -55
  409. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +10 -12
  410. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +2 -2
  411. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +39 -44
  412. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  413. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  414. package/dist/views/Request/RequestSection/RequestBody.vue2.js +96 -78
  415. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +3 -3
  416. package/dist/views/Request/RequestSection/RequestParams.vue.js +2 -3
  417. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  418. package/dist/views/Request/RequestSection/RequestSection.vue2.js +55 -55
  419. package/dist/views/Request/RequestSection/RequestTable.vue2.js +15 -17
  420. package/dist/views/Request/RequestSidebar.vue2.js +7 -8
  421. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  422. package/dist/views/Request/RequestSidebarItem.vue2.js +31 -32
  423. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  424. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -16
  425. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +11 -13
  426. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +4 -5
  427. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -5
  428. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
  429. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
  430. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +4 -4
  431. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +11 -13
  432. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +7 -8
  433. package/dist/views/Request/components/WorkspaceDropdown.vue.js +11 -14
  434. package/dist/views/Request/libs/oauth2.d.ts +1 -1
  435. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  436. package/dist/views/Settings/SettingsGeneral.vue.js +40 -42
  437. package/dist/views/Settings/components/SettingsAppearance.vue.js +8 -11
  438. package/package.json +31 -26
  439. package/dist/hooks/useKeyMap.d.ts +0 -2
  440. package/dist/hooks/useKeyMap.d.ts.map +0 -1
  441. package/dist/hooks/useKeyMap.js +0 -9
  442. package/dist/router.d.ts +0 -8
  443. package/dist/router.d.ts.map +0 -1
  444. package/dist/router.js +0 -20
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, createBlock as i, openBlock as u, withCtx as n, createVNode as r, createElementBlock as b, createTextVNode as f, toDisplayString as c, Fragment as g, renderList as z, normalizeClass as v, unref as s, createCommentVNode as k, createElementVNode as p } from "vue";
1
+ import { defineComponent as _, createBlock as i, openBlock as u, withCtx as n, createVNode as r, createElementBlock as b, createTextVNode as f, toDisplayString as c, Fragment as g, renderList as z, normalizeClass as v, unref as s, createCommentVNode as k, createElementVNode as p } from "vue";
2
2
  import { ScalarTooltip as q, ScalarIcon as B, ScalarButton as R } from "@scalar/components";
3
3
  import { ScalarIconTrash as D } from "@scalar/icons";
4
4
  import { RouterLink as E } from "vue-router";
@@ -13,7 +13,7 @@ import j from "./RequestTableTooltip.vue.js";
13
13
  const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify-end overflow-hidden p-1" }, O = ["onClick"], A = {
14
14
  key: 1,
15
15
  class: "p-0.5"
16
- }, oe = /* @__PURE__ */ I({
16
+ }, oe = /* @__PURE__ */ _({
17
17
  __name: "RequestTable",
18
18
  props: {
19
19
  items: {},
@@ -29,14 +29,14 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
29
29
  },
30
30
  emits: ["updateRow", "toggleRow", "addRow", "deleteRow", "inputFocus", "inputBlur", "uploadFile", "removeFile"],
31
31
  setup(x, { emit: F }) {
32
- const m = x, t = F, _ = ["", "", "36px"], w = (e, o, l) => {
32
+ const m = x, t = F, U = ["", "", "36px"], w = (e, o, l) => {
33
33
  t("updateRow", e, o, l);
34
- }, U = (e) => {
34
+ }, S = (e) => {
35
35
  t("uploadFile", e);
36
- }, S = (e) => Array.isArray(e.default) && e.default.length === 1 ? e.default[0] : e.default, T = (e) => !!(e.key || e.value);
36
+ }, T = (e) => Array.isArray(e.default) && e.default.length === 1 ? e.default[0] : e.default, I = (e) => !!(e.key || e.value);
37
37
  return (e, o) => (u(), i(G, {
38
38
  class: "group/table flex-1",
39
- columns: _
39
+ columns: U
40
40
  }, {
41
41
  default: n(() => [
42
42
  r($, { class: "sr-only !block" }, {
@@ -93,9 +93,8 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
93
93
  _: 1
94
94
  })
95
95
  ]),
96
- _: 2,
97
- __: [4]
98
- }, 1032, ["to"])) : (u(), i(N, {
96
+ _: 1
97
+ }, 8, ["to"])) : (u(), i(N, {
99
98
  key: 1,
100
99
  class: "!border-r",
101
100
  disabled: m.hasCheckboxDisabled,
@@ -155,7 +154,7 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
155
154
  "onUpdate:modelValue": (a) => t("updateRow", d, "value", a)
156
155
  }, {
157
156
  icon: n(() => [
158
- T(l) && !l.required ? (u(), i(s(R), {
157
+ I(l) && !l.required ? (u(), i(s(R), {
159
158
  key: 0,
160
159
  class: v([{
161
160
  "-mr-0.5": s(h)(l)
@@ -167,11 +166,11 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
167
166
  default: n(() => [
168
167
  r(s(D), { class: "size-3.5" })
169
168
  ]),
170
- _: 2
171
- }, 1032, ["class", "onClick"])) : k("", !0),
169
+ _: 1
170
+ }, 8, ["class", "onClick"])) : k("", !0),
172
171
  s(h)(l) ? (u(), i(j, {
173
172
  key: 1,
174
- item: { ...l, default: S(l) }
173
+ item: { ...l, default: T(l) }
175
174
  }, null, 8, ["item"])) : k("", !0)
176
175
  ]),
177
176
  _: 2
@@ -198,7 +197,7 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
198
197
  class: "bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",
199
198
  size: "sm",
200
199
  variant: "outlined",
201
- onClick: (a) => U(d)
200
+ onClick: (a) => S(d)
202
201
  }, {
203
202
  default: n(() => [
204
203
  o[5] || (o[5] = p("span", null, "Upload File", -1)),
@@ -209,9 +208,8 @@ const K = { class: "text-c-2 filemask flex w-full max-w-[100%] items-end justify
209
208
  thickness: "2.5"
210
209
  })
211
210
  ]),
212
- _: 2,
213
- __: [5]
214
- }, 1032, ["onClick"])
211
+ _: 1
212
+ }, 8, ["onClick"])
215
213
  ]))
216
214
  ]),
217
215
  _: 2
@@ -315,20 +315,19 @@ const je = { class: "bg-b-1 sticky top-0 z-20 flex h-12 items-center px-3" }, Je
315
315
  }]),
316
316
  onClick: se
317
317
  }, {
318
- default: d(() => e[12] || (e[12] = [
319
- D(" Import Collection ")
320
- ])),
321
- _: 1,
322
- __: [12]
318
+ default: d(() => [...e[12] || (e[12] = [
319
+ D(" Import Collection ", -1)
320
+ ])]),
321
+ _: 1
323
322
  }, 8, ["class"])) : m("", !0),
324
323
  t(l) !== "modal" ? (a(), u(Le, {
325
324
  key: 2,
326
325
  click: t(k).commandPalette.emit,
327
326
  hotkey: "K"
328
327
  }, {
329
- title: d(() => e[13] || (e[13] = [
330
- D(" Add Item ")
331
- ])),
328
+ title: d(() => [...e[13] || (e[13] = [
329
+ D(" Add Item ", -1)
330
+ ])]),
332
331
  _: 1
333
332
  }, 8, ["click"])) : m("", !0)
334
333
  ], 2)
@@ -2,7 +2,7 @@ import t from "./RequestSidebarItem.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import o from "../../_virtual/_plugin-vue_export-helper.js";
5
- const d = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4dedda07"]]);
5
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4f5a9d1f"]]);
6
6
  export {
7
- d as default
7
+ f as default
8
8
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as re, useCssVars as ue, computed as v, ref as de, resolveComponent as pe, createElementBlock as C, createCommentVNode as p, openBlock as u, normalizeClass as g, unref as n, createVNode as f, withCtx as m, createBlock as c, withModifiers as h, createElementVNode as s, toDisplayString as j, createTextVNode as B, renderSlot as L, Fragment as ce, renderList as fe, nextTick as me } from "vue";
1
+ import { defineComponent as re, useCssVars as ue, computed as v, ref as de, resolveComponent as pe, createElementBlock as C, createCommentVNode as p, openBlock as u, normalizeClass as g, unref as n, createVNode as c, withCtx as m, createBlock as f, withModifiers as h, createElementVNode as s, toDisplayString as j, createTextVNode as B, renderSlot as L, Fragment as fe, renderList as ce, nextTick as me } from "vue";
2
2
  import { ScalarButton as k, ScalarIcon as b, ScalarSidebarGroupToggle as G, ScalarTooltip as K } from "@scalar/components";
3
3
  import { Draggable as ve } from "@scalar/draggable";
4
4
  import { shouldIgnoreEntity as J } from "@scalar/oas-utils/helpers";
5
5
  import { useRouter as ge, RouterLink as Q } from "vue-router";
6
6
  import { useLayout as be } from "../../hooks/useLayout.js";
7
7
  import { useSidebar as ye } from "../../hooks/useSidebar.js";
8
- import { useActiveEntities as he } from "../../store/active-entities.js";
9
8
  import { PathId as R } from "../../routes.js";
9
+ import { useActiveEntities as he } from "../../store/active-entities.js";
10
10
  import xe from "../../components/HttpMethod/HttpMethod.vue.js";
11
11
  import { getModifiers as ke } from "../../libs/hot-keys.js";
12
12
  import { useWorkspace as we } from "../../store/store.js";
@@ -28,8 +28,8 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
28
28
  emits: ["onDragEnd", "newTab", "openMenu"],
29
29
  setup(o, { emit: X }) {
30
30
  ue((t) => ({
31
- eae2c57a: te.value,
32
- "7c91ad9b": ie.value
31
+ "0bed2d4e": te.value,
32
+ "57ee1db0": ie.value
33
33
  }));
34
34
  const Z = X, { activeCollection: _, activeRequest: A, activeRouterParams: ee, activeWorkspace: x } = he(), {
35
35
  collections: q,
@@ -165,7 +165,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
165
165
  n(d) === "modal" && t.parentUids.length > 1 || n(d) !== "modal" && t.parentUids.length ? "before:bg-border indent-border-line-offset mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-[calc(.75rem_+_.5px)] before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full" : ""
166
166
  ]])
167
167
  }, [
168
- f(n(ve), {
168
+ c(n(ve), {
169
169
  id: i.value.entity.uid,
170
170
  ref_key: "draggableRef",
171
171
  ref: z,
@@ -178,7 +178,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
178
178
  onOnDragEnd: e[12] || (e[12] = (...l) => t.$emit("onDragEnd", ...l))
179
179
  }, {
180
180
  default: m(() => [
181
- (i.value.entity.type === "request" || i.value.entity.type === "requestExample") && i.value.to ? (u(), c(n(Q), {
181
+ (i.value.entity.type === "request" || i.value.entity.type === "requestExample") && i.value.to ? (u(), f(n(Q), {
182
182
  key: 0,
183
183
  class: "group no-underline",
184
184
  to: i.value.to,
@@ -197,7 +197,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
197
197
  s("span", qe, j(i.value.title || "Untitled"), 1),
198
198
  s("div", Ue, [
199
199
  s("div", De, [
200
- n(d) !== "modal" ? (u(), c(n(k), {
200
+ n(d) !== "modal" ? (u(), f(n(k), {
201
201
  key: 0,
202
202
  class: g(["hover:bg-b-3 hidden aspect-square h-fit px-0.5 py-0 opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100", {
203
203
  flex: t.menuItem?.item?.entity.uid === i.value.entity.uid && t.menuItem.open
@@ -216,7 +216,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
216
216
  ))
217
217
  }, {
218
218
  default: m(() => [
219
- f(n(b), {
219
+ c(n(b), {
220
220
  icon: "Ellipses",
221
221
  size: "md"
222
222
  })
@@ -225,9 +225,9 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
225
225
  }, 8, ["class"])) : p("", !0)
226
226
  ]),
227
227
  s("span", Ie, [
228
- e[13] || (e[13] = B("   ")),
228
+ e[13] || (e[13] = B("   ", -1)),
229
229
  e[14] || (e[14] = s("span", { class: "sr-only" }, "HTTP Method:", -1)),
230
- i.value.method ? (u(), c(n(xe), {
230
+ i.value.method ? (u(), f(n(xe), {
231
231
  key: 0,
232
232
  class: "font-bold",
233
233
  method: i.value.method
@@ -237,7 +237,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
237
237
  ], 2)
238
238
  ]),
239
239
  _: 1
240
- }, 8, ["to"])) : (n(d) !== "modal" || t.parentUids.length) && i.value.entity.type === "collection" && i.value.to ? (u(), c(n(Q), {
240
+ }, 8, ["to"])) : (n(d) !== "modal" || t.parentUids.length) && i.value.entity.type === "collection" && i.value.to ? (u(), f(n(Q), {
241
241
  key: 1,
242
242
  "aria-expanded": !!n(w)[i.value.entity.uid],
243
243
  class: g(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 no-underline focus-visible:z-10", [
@@ -255,12 +255,12 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
255
255
  onClick: e[2] || (e[2] = h((l) => n(V)(i.value.entity.uid), ["stop", "prevent"]))
256
256
  }, [
257
257
  L(t.$slots, "leftIcon", {}, () => [
258
- f(n(G), {
258
+ c(n(G), {
259
259
  class: "text-c-3 shrink-0",
260
260
  open: !!n(w)[i.value.entity.uid]
261
261
  }, null, 8, ["open"])
262
262
  ], !0),
263
- e[15] || (e[15] = B("   "))
263
+ e[15] || (e[15] = B("   ", -1))
264
264
  ]),
265
265
  s("div", Ce, [
266
266
  s("span", Re, j(i.value.title), 1),
@@ -271,7 +271,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
271
271
  hidden: !t.menuItem.open || t.menuItem.item?.entity.uid !== i.value.entity.uid
272
272
  }])
273
273
  }, [
274
- n(d) !== "modal" && !D.value || D.value && H.value ? (u(), c(n(k), {
274
+ n(d) !== "modal" && !D.value || D.value && H.value ? (u(), f(n(k), {
275
275
  key: 0,
276
276
  class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
277
277
  size: "sm",
@@ -287,14 +287,14 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
287
287
  ))
288
288
  }, {
289
289
  default: m(() => [
290
- f(n(b), {
290
+ c(n(b), {
291
291
  icon: "Ellipses",
292
292
  size: "md"
293
293
  })
294
294
  ]),
295
295
  _: 1
296
296
  })) : p("", !0),
297
- n(d) !== "modal" ? (u(), c(n(k), {
297
+ n(d) !== "modal" ? (u(), f(n(k), {
298
298
  key: 1,
299
299
  class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
300
300
  size: "sm",
@@ -302,7 +302,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
302
302
  onClick: e[4] || (e[4] = h((l) => S(i.value.entity.uid), ["stop", "prevent"]))
303
303
  }, {
304
304
  default: m(() => [
305
- f(n(b), {
305
+ c(n(b), {
306
306
  icon: "Add",
307
307
  size: "md",
308
308
  thickness: "2"
@@ -311,7 +311,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
311
311
  _: 1
312
312
  })) : p("", !0)
313
313
  ], 2),
314
- i.value.watchMode ? (u(), c(n(K), {
314
+ i.value.watchMode ? (u(), f(n(K), {
315
315
  key: 0,
316
316
  placement: "right",
317
317
  offset: 12,
@@ -319,7 +319,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
319
319
  }, {
320
320
  default: m(() => [
321
321
  s("button", Me, [
322
- f(n(b), {
322
+ c(n(b), {
323
323
  class: g(["ml-0.5 text-sm", Y.value]),
324
324
  icon: "Watch",
325
325
  size: "md",
@@ -343,12 +343,12 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
343
343
  }, [
344
344
  s("span", $e, [
345
345
  L(t.$slots, "leftIcon", {}, () => [
346
- f(n(G), {
346
+ c(n(G), {
347
347
  class: "text-c-3 hover:text-c-1 shrink-0",
348
348
  open: !!n(w)[i.value.entity.uid]
349
349
  }, null, 8, ["open"])
350
350
  ], !0),
351
- e[17] || (e[17] = B("   "))
351
+ e[17] || (e[17] = B("   ", -1))
352
352
  ]),
353
353
  s("div", ze, [
354
354
  s("span", Se, j(i.value.title), 1),
@@ -359,7 +359,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
359
359
  hidden: !t.menuItem.open || t.menuItem.item?.entity.uid !== i.value.entity.uid
360
360
  }])
361
361
  }, [
362
- n(d) !== "modal" && !D.value || D.value && H.value ? (u(), c(n(k), {
362
+ n(d) !== "modal" && !D.value || D.value && H.value ? (u(), f(n(k), {
363
363
  key: 0,
364
364
  class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
365
365
  size: "sm",
@@ -375,14 +375,14 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
375
375
  ))
376
376
  }, {
377
377
  default: m(() => [
378
- f(n(b), {
378
+ c(n(b), {
379
379
  icon: "Ellipses",
380
380
  size: "md"
381
381
  })
382
382
  ]),
383
383
  _: 1
384
384
  })) : p("", !0),
385
- n(d) !== "modal" ? (u(), c(n(k), {
385
+ n(d) !== "modal" ? (u(), f(n(k), {
386
386
  key: 1,
387
387
  class: "hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",
388
388
  size: "sm",
@@ -390,7 +390,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
390
390
  onClick: e[6] || (e[6] = h((l) => S(i.value.entity.uid), ["stop", "prevent"]))
391
391
  }, {
392
392
  default: m(() => [
393
- f(n(b), {
393
+ c(n(b), {
394
394
  icon: "Add",
395
395
  size: "md",
396
396
  thickness: "2"
@@ -399,7 +399,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
399
399
  _: 1
400
400
  })) : p("", !0)
401
401
  ], 2),
402
- i.value.watchMode ? (u(), c(n(K), {
402
+ i.value.watchMode ? (u(), f(n(K), {
403
403
  key: 0,
404
404
  content: "Watching: {{ item.documentUrl }}",
405
405
  placement: "right",
@@ -407,7 +407,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
407
407
  }, {
408
408
  default: m(() => [
409
409
  s("button", Be, [
410
- f(n(b), {
410
+ c(n(b), {
411
411
  class: g(["ml-0.5 text-sm", Y.value]),
412
412
  icon: "Watch",
413
413
  size: "md",
@@ -422,7 +422,7 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
422
422
  ])
423
423
  ], 10, Ee)) : p("", !0),
424
424
  ne.value ? (u(), C("ul", We, [
425
- (u(!0), C(ce, null, fe(i.value.children, (l) => (u(), c(r, {
425
+ (u(!0), C(fe, null, ce(i.value.children, (l) => (u(), f(r, {
426
426
  key: l,
427
427
  isDraggable: !n(M)[l],
428
428
  isDroppable: oe,
@@ -433,21 +433,20 @@ const qe = { class: "line-clamp-1 w-full pl-2 break-all" }, Ue = { class: "flex
433
433
  onOnDragEnd: e[9] || (e[9] = (...a) => t.$emit("onDragEnd", ...a)),
434
434
  onOpenMenu: e[10] || (e[10] = (a) => t.$emit("openMenu", a))
435
435
  }, null, 8, ["isDraggable", "menuItem", "parentUids", "uid"]))), 128)),
436
- i.value.children.length === 0 ? (u(), c(n(k), {
436
+ i.value.children.length === 0 ? (u(), f(n(k), {
437
437
  key: 0,
438
438
  class: g(["text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 text-xs", t.parentUids.length ? "pl-9" : ""]),
439
439
  variant: "ghost",
440
440
  onClick: e[11] || (e[11] = (l) => S(i.value.entity.uid))
441
441
  }, {
442
442
  default: m(() => [
443
- f(n(b), {
443
+ c(n(b), {
444
444
  icon: "Add",
445
445
  size: "sm"
446
446
  }),
447
447
  e[19] || (e[19] = s("span", null, "Add Request", -1))
448
448
  ]),
449
- _: 1,
450
- __: [19]
449
+ _: 1
451
450
  }, 8, ["class"])) : p("", !0)
452
451
  ])) : p("", !0)
453
452
  ]),
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestSidebarItemMenu.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ e(t, [["__scopeId", "data-v-c405ab35"]]);
4
+ const m = /* @__PURE__ */ e(t, [["__scopeId", "data-v-01a1ab71"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -4,9 +4,9 @@ import { useRouter as X } from "vue-router";
4
4
  import b from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
5
5
  import Y from "../../components/Sidebar/Actions/EditSidebarListCollection.vue.js";
6
6
  import Z from "../../components/Sidebar/Actions/EditSidebarListElement.vue.js";
7
+ import { PathId as u } from "../../routes.js";
7
8
  import { useActiveEntities as _ } from "../../store/active-entities.js";
8
9
  import { createInitialRequest as ee } from "../../store/requests.js";
9
- import { PathId as u } from "../../routes.js";
10
10
  import { useWorkspace as te } from "../../store/store.js";
11
11
  const fe = /* @__PURE__ */ L({
12
12
  __name: "RequestSidebarItemMenu",
@@ -15,9 +15,9 @@ const fe = /* @__PURE__ */ L({
15
15
  },
16
16
  emits: ["closeMenu", "toggleWatchMode", "clearDrafts"],
17
17
  setup(x, { emit: z }) {
18
- const s = x, y = z, { replace: k } = X(), {
18
+ const s = x, M = z, { replace: k } = X(), {
19
19
  activeRouterParams: E,
20
- activeWorkspaceCollections: M,
20
+ activeWorkspaceCollections: y,
21
21
  activeWorkspaceRequests: N
22
22
  } = _(), { events: S, requestMutators: T } = te(), d = $(), v = $(), g = $(), A = () => S.commandPalette.emit({
23
23
  commandName: "Add Example",
@@ -28,7 +28,7 @@ const fe = /* @__PURE__ */ L({
28
28
  s.menuItem.item?.edit(t, e), d.hide();
29
29
  }, B = () => {
30
30
  if (s.menuItem.item?.delete(), !N.value.length) {
31
- const { request: t } = ee(), e = M.value.find(
31
+ const { request: t } = ee(), e = y.value.find(
32
32
  (m) => m.info?.title === "Drafts"
33
33
  );
34
34
  e && (T.add(t, e.uid), k({
@@ -48,8 +48,8 @@ const fe = /* @__PURE__ */ L({
48
48
  params: {
49
49
  [u.Request]: "default"
50
50
  }
51
- }), M.value[0]) {
52
- const t = M.value[0].requests[0];
51
+ }), y.value[0]) {
52
+ const t = y.value[0].requests[0];
53
53
  k({
54
54
  name: "request",
55
55
  params: {
@@ -59,15 +59,15 @@ const fe = /* @__PURE__ */ L({
59
59
  }
60
60
  v.hide();
61
61
  }, f = P(null);
62
- F([() => s.menuItem.open, f], async ([t]) => {
62
+ F([() => s.menuItem.open, f], ([t]) => {
63
63
  t && f.value?.$parent?.$el && f.value.$parent.$el.focus();
64
64
  });
65
- const h = () => s.menuItem.open && y("closeMenu");
65
+ const h = () => s.menuItem.open && M("closeMenu");
66
66
  K(() => window.addEventListener("click", h)), j(() => window.removeEventListener("click", h));
67
67
  const U = () => {
68
- y("toggleWatchMode", s.menuItem.item);
68
+ M("toggleWatchMode", s.menuItem.item);
69
69
  }, V = () => {
70
- y("clearDrafts"), g.hide();
70
+ M("clearDrafts"), g.hide();
71
71
  }, D = G(() => s.menuItem.item?.title === "Drafts");
72
72
  return (t, e) => (l(), w(C, null, [
73
73
  t.menuItem.targetRef && t.menuItem.open ? (l(), o(n(O), {
@@ -95,8 +95,7 @@ const fe = /* @__PURE__ */ L({
95
95
  }),
96
96
  e[8] || (e[8] = c("span", null, "Add Example", -1))
97
97
  ]),
98
- _: 1,
99
- __: [8]
98
+ _: 1
100
99
  })) : r("", !0),
101
100
  D.value ? r("", !0) : (l(), o(n(p), {
102
101
  key: 1,
@@ -154,8 +153,7 @@ const fe = /* @__PURE__ */ L({
154
153
  }),
155
154
  e[9] || (e[9] = c("span", null, "Delete", -1))
156
155
  ]),
157
- _: 1,
158
- __: [9]
156
+ _: 1
159
157
  })),
160
158
  D.value ? (l(), o(n(p), {
161
159
  key: 4,
@@ -171,8 +169,7 @@ const fe = /* @__PURE__ */ L({
171
169
  }),
172
170
  e[10] || (e[10] = c("span", null, "Clear Drafts", -1))
173
171
  ]),
174
- _: 1,
175
- __: [10]
172
+ _: 1
176
173
  })) : r("", !0)
177
174
  ]),
178
175
  _: 1
@@ -26,9 +26,9 @@ const h = {
26
26
  defaultOpen: !1,
27
27
  itemCount: s.headers.length
28
28
  }, {
29
- title: e(() => t[0] || (t[0] = [
30
- n("Request Headers")
31
- ])),
29
+ title: e(() => [...t[0] || (t[0] = [
30
+ n("Request Headers", -1)
31
+ ])]),
32
32
  default: e(() => [
33
33
  s.headers.length ? (r(), l("div", h, [
34
34
  a(b, {
@@ -39,18 +39,16 @@ const h = {
39
39
  a(c, { class: "sr-only !block" }, {
40
40
  default: e(() => [
41
41
  a(u(_), null, {
42
- default: e(() => t[1] || (t[1] = [
43
- n("Header Key")
44
- ])),
45
- _: 1,
46
- __: [1]
42
+ default: e(() => [...t[1] || (t[1] = [
43
+ n("Header Key", -1)
44
+ ])]),
45
+ _: 1
47
46
  }),
48
47
  a(u(_), null, {
49
- default: e(() => t[2] || (t[2] = [
50
- n("Header Value")
51
- ])),
52
- _: 1,
53
- __: [2]
48
+ default: e(() => [...t[2] || (t[2] = [
49
+ n("Header Value", -1)
50
+ ])]),
51
+ _: 1
54
52
  })
55
53
  ]),
56
54
  _: 1
@@ -55,11 +55,10 @@ const D = {
55
55
  type: a(i).essence
56
56
  }, null, 8, ["alpha", "mode", "src", "type"])) : r("", !0),
57
57
  !e.value?.raw && !e.value?.preview ? (t(), n(E, { key: 2 }, {
58
- default: d(() => u[1] || (u[1] = [
59
- h(" Binary file ")
60
- ])),
61
- _: 1,
62
- __: [1]
58
+ default: d(() => [...u[1] || (u[1] = [
59
+ h(" Binary file ", -1)
60
+ ])]),
61
+ _: 1
63
62
  })) : r("", !0)
64
63
  ])) : r("", !0)
65
64
  ]),
@@ -51,11 +51,10 @@ const c = ["src"], k = ["src", "type"], w = ["src", "type"], B = ["data", "type"
51
51
  onError: o[3] || (o[3] = (t) => r.value = !0)
52
52
  }, null, 40, B))
53
53
  ], 2)) : (s(), y(v, { key: 1 }, {
54
- default: f(() => o[4] || (o[4] = [
55
- m("Preview unavailable")
56
- ])),
57
- _: 1,
58
- __: [4]
54
+ default: f(() => [...o[4] || (o[4] = [
55
+ m("Preview unavailable", -1)
56
+ ])]),
57
+ _: 1
59
58
  }));
60
59
  }
61
60
  });
@@ -18,7 +18,7 @@ const R = /* @__PURE__ */ c({
18
18
  });
19
19
  return (w, t) => (x(), f(_, { class: "!max-h-100% response-body-virtual overflow-x-auto" }, u({
20
20
  title: r(() => [
21
- t[0] || (t[0] = y("Body"))
21
+ t[0] || (t[0] = y("Body", -1))
22
22
  ]),
23
23
  default: r(() => [
24
24
  t[1] || (t[1] = h("div", { class: "font-code text-xxs rounded-t border border-b-0 px-2.5 py-1.5" }, " This response body is massive! Syntax highlighting won't work here. ", -1)),
@@ -13,9 +13,9 @@ const d = {
13
13
  },
14
14
  setup(x) {
15
15
  return (s, l) => (e(), r(k, { defaultOpen: !1 }, {
16
- title: t(() => l[0] || (l[0] = [
17
- p("Cookies")
18
- ])),
16
+ title: t(() => [...l[0] || (l[0] = [
17
+ p("Cookies", -1)
18
+ ])]),
19
19
  default: t(() => [
20
20
  (e(), n(a, { key: 0 }, [
21
21
  s.cookies.length ? (e(), r(u, {
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
33
33
  }));
34
34
  }, f = (o) => {
35
35
  o?.createNew && g.name === "request" && d();
36
- }, v = "2.8.1";
36
+ }, v = "2.9.1";
37
37
  return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (o, e) => (i(), l("div", W, [
38
38
  s("div", {
39
39
  class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
@@ -74,7 +74,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
74
74
  type: "button",
75
75
  onClick: e[0] || (e[0] = (k) => t(a).commandPalette.emit())
76
76
  }, [
77
- e[5] || (e[5] = c(" Get Started ")),
77
+ e[5] || (e[5] = c(" Get Started ", -1)),
78
78
  u(t(p), { hotkey: "k" })
79
79
  ])) : m("", !0),
80
80
  t(n) === "desktop" ? (i(), l("button", {
@@ -83,7 +83,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
83
83
  type: "button",
84
84
  onClick: e[1] || (e[1] = (k) => d())
85
85
  }, [
86
- e[6] || (e[6] = c(" New Request ")),
86
+ e[6] || (e[6] = c(" New Request ", -1)),
87
87
  u(t(p), { hotkey: "N" })
88
88
  ])) : m("", !0),
89
89
  s("button", {
@@ -91,7 +91,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
91
91
  type: "button",
92
92
  onClick: e[2] || (e[2] = (k) => t(a).executeRequest.emit())
93
93
  }, [
94
- e[7] || (e[7] = c(" Send Request ")),
94
+ e[7] || (e[7] = c(" Send Request ", -1)),
95
95
  u(t(p), { hotkey: "↵" })
96
96
  ])
97
97
  ])
@@ -26,9 +26,9 @@ const h = {
26
26
  defaultOpen: !1,
27
27
  itemCount: s.headers.length
28
28
  }, {
29
- title: e(() => r[0] || (r[0] = [
30
- n("Response Headers")
31
- ])),
29
+ title: e(() => [...r[0] || (r[0] = [
30
+ n("Response Headers", -1)
31
+ ])]),
32
32
  default: e(() => [
33
33
  s.headers.length ? (t(), l("div", h, [
34
34
  a(b, {
@@ -39,18 +39,16 @@ const h = {
39
39
  a(p, { class: "sr-only !block" }, {
40
40
  default: e(() => [
41
41
  a(d(_), null, {
42
- default: e(() => r[1] || (r[1] = [
43
- n("Header Key")
44
- ])),
45
- _: 1,
46
- __: [1]
42
+ default: e(() => [...r[1] || (r[1] = [
43
+ n("Header Key", -1)
44
+ ])]),
45
+ _: 1
47
46
  }),
48
47
  a(d(_), null, {
49
- default: e(() => r[2] || (r[2] = [
50
- n("Header Value")
51
- ])),
52
- _: 1,
53
- __: [2]
48
+ default: e(() => [...r[2] || (r[2] = [
49
+ n("Header Value", -1)
50
+ ])]),
51
+ _: 1
54
52
  })
55
53
  ]),
56
54
  _: 1