@scalar/api-client 2.1.21 → 2.1.23

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 (307) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +22 -0
  3. package/dist/components/AddressBar/AddressBar.vue.d.ts +4 -4
  4. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  5. package/dist/components/AddressBar/AddressBar.vue2.js +80 -80
  6. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +3 -12
  7. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  8. package/dist/components/AddressBar/AddressBarServer.vue.d.ts +1 -1
  9. package/dist/components/AddressBar/AddressBarServer.vue.js +37 -37
  10. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts +3 -12
  11. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
  12. package/dist/components/CodeInput/CodeInput.vue.d.ts +11 -44
  13. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  14. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +8 -17
  15. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  16. package/dist/components/CommandPalette/CommandActionForm.vue.js +10 -10
  17. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +7 -16
  18. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
  19. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +5 -5
  20. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  21. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +2 -2
  22. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +7 -16
  23. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +31 -31
  25. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +5 -5
  26. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  27. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +65 -65
  28. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +7 -16
  29. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  30. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +12 -12
  31. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +5 -5
  32. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  33. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +33 -33
  34. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +5 -5
  35. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  36. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +21 -21
  37. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +5 -5
  38. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
  39. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +14 -14
  40. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +48 -56
  41. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  42. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
  43. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +163 -154
  44. package/dist/components/ContextBar.vue.d.ts +6 -15
  45. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  46. package/dist/components/DataTable/DataTable.vue.d.ts +3 -12
  47. package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
  48. package/dist/components/DataTable/DataTableCell.vue.d.ts +4 -25
  49. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  50. package/dist/components/DataTable/DataTableCell.vue.js +5 -5
  51. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +7 -28
  52. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
  53. package/dist/components/DataTable/DataTableHeader.vue.d.ts +1 -1
  54. package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +1 -1
  55. package/dist/components/DataTable/DataTableInput.vue.d.ts +12 -37
  56. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  57. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +7 -28
  58. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  59. package/dist/components/DataTable/DataTableInputSelect.vue.js +34 -34
  60. package/dist/components/DataTable/DataTableRow.vue.d.ts +1 -1
  61. package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
  62. package/dist/components/DataTable/DataTableText.vue.d.ts +12 -12
  63. package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
  64. package/dist/components/DataTable/DataTableText.vue.js +13 -9
  65. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +1 -1
  66. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +37 -37
  67. package/dist/components/Form/Form.vue.d.ts +3 -12
  68. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  69. package/dist/components/HelpfulLink.vue.d.ts +3 -12
  70. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  71. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +7 -32
  72. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  73. package/dist/components/IconSelector.vue.d.ts +6 -15
  74. package/dist/components/IconSelector.vue.d.ts.map +1 -1
  75. package/dist/components/IconSelector.vue.js +14 -14
  76. package/dist/components/ImportCollection/DropEventListener.vue.d.ts +4 -4
  77. package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
  78. package/dist/components/ImportCollection/DropEventListener.vue.js +20 -20
  79. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +1 -1
  80. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
  81. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +6 -15
  82. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  83. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +84 -63
  84. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +6 -15
  85. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  86. package/dist/components/ImportCollection/ImportNowButton.vue.js +38 -42
  87. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts +3 -12
  88. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +1 -1
  89. package/dist/components/ImportCollection/OperationBadge.vue.d.ts +3 -12
  90. package/dist/components/ImportCollection/OperationBadge.vue.d.ts.map +1 -1
  91. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +4 -4
  92. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
  93. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +4 -4
  94. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
  95. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts +3 -0
  96. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -0
  97. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +125 -0
  98. package/dist/components/ImportCollection/WorkspaceSelector.vue2.js +4 -0
  99. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +7 -16
  100. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts.map +1 -1
  101. package/dist/components/ImportCurl/ImportCurlModal.vue.js +2 -2
  102. package/dist/components/ImportCurl/ImportCurlModal.vue2.js +41 -40
  103. package/dist/components/ScalarAsciiArt.vue.d.ts +3 -12
  104. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  105. package/dist/components/ScalarHotkey.vue.d.ts +6 -15
  106. package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
  107. package/dist/components/ScreenReader.vue.d.ts +4 -25
  108. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  109. package/dist/components/Search/useSearch.d.ts +4 -4
  110. package/dist/components/SideNav/SideHelp.vue.d.ts +1 -1
  111. package/dist/components/SideNav/SideHelp.vue.js +49 -49
  112. package/dist/components/SideNav/SideNav.vue.d.ts +1 -1
  113. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  114. package/dist/components/SideNav/SideNav.vue.js +1 -1
  115. package/dist/components/SideNav/SideNav.vue2.js +23 -23
  116. package/dist/components/SideNav/SideNavLink.vue.d.ts +3 -12
  117. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  118. package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts +3 -12
  119. package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts.map +1 -1
  120. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +8 -17
  121. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  122. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +7 -16
  123. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
  124. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +7 -16
  125. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
  126. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +7 -16
  127. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  128. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +8 -8
  129. package/dist/components/Sidebar/Sidebar.vue.d.ts +4 -25
  130. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  131. package/dist/components/Sidebar/SidebarButton.vue.d.ts +3 -12
  132. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  133. package/dist/components/Sidebar/SidebarList.vue.d.ts +1 -1
  134. package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
  135. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +11 -34
  136. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  137. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  138. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +6 -15
  139. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  140. package/dist/components/Sidebar/SidebarListElementActions.vue.js +21 -21
  141. package/dist/components/Sidebar/SidebarToggle.vue.d.ts +6 -15
  142. package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
  143. package/dist/components/Sidebar/SidebarToggle.vue.js +24 -24
  144. package/dist/components/SubpageHeader.vue.d.ts +1 -1
  145. package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
  146. package/dist/components/TopNav/TopNav.vue.d.ts +3 -12
  147. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  148. package/dist/components/TopNav/TopNav.vue2.js +66 -66
  149. package/dist/components/TopNav/TopNavItem.vue.d.ts +11 -20
  150. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  151. package/dist/components/TopNav/TopNavItem.vue2.js +32 -32
  152. package/dist/components/ViewLayout/ViewLayout.vue.d.ts +1 -1
  153. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  154. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +4 -27
  155. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  156. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts +1 -1
  157. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
  158. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +1 -1
  159. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  160. package/dist/data/httpHeaders.d.ts +6 -0
  161. package/dist/data/httpHeaders.d.ts.map +1 -0
  162. package/dist/data/httpHeaders.js +537 -0
  163. package/dist/hooks/useDarkModeState.d.ts +1 -1
  164. package/dist/hooks/useFileDialog.d.ts +15 -0
  165. package/dist/hooks/useFileDialog.d.ts.map +1 -1
  166. package/dist/layouts/App/ApiClientApp.vue.d.ts +4 -4
  167. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  168. package/dist/layouts/App/create-api-client-app.d.ts +10 -10
  169. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  170. package/dist/layouts/Modal/ApiClientModal.vue.d.ts +1 -1
  171. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  172. package/dist/layouts/Modal/create-api-client-modal.d.ts +20 -20
  173. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  174. package/dist/layouts/Web/ApiClientWeb.vue.d.ts +1 -1
  175. package/dist/layouts/Web/create-api-client-web.d.ts +10 -10
  176. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  177. package/dist/libs/create-client.d.ts +10 -10
  178. package/dist/libs/create-client.d.ts.map +1 -1
  179. package/dist/libs/importers/curl.d.ts +25 -1
  180. package/dist/libs/importers/curl.d.ts.map +1 -1
  181. package/dist/libs/importers/curl.js +40 -38
  182. package/dist/libs/parse-curl.d.ts +3 -4
  183. package/dist/libs/parse-curl.d.ts.map +1 -1
  184. package/dist/libs/parse-curl.js +58 -55
  185. package/dist/libs/send-request.d.ts +5 -5
  186. package/dist/libs/send-request.d.ts.map +1 -1
  187. package/dist/libs/send-request.js +93 -99
  188. package/dist/store/collections.d.ts.map +1 -1
  189. package/dist/store/import-spec.d.ts.map +1 -1
  190. package/dist/store/request-example.d.ts +4 -4
  191. package/dist/store/requests.d.ts +4 -4
  192. package/dist/store/requests.d.ts.map +1 -1
  193. package/dist/store/store.d.ts +20 -20
  194. package/dist/store/store.d.ts.map +1 -1
  195. package/dist/store/tags.d.ts.map +1 -1
  196. package/dist/style.css +1 -1
  197. package/dist/views/Collection/Collection.vue.d.ts +1 -1
  198. package/dist/views/Components/RequestBodies/RequestBodies.vue.d.ts +1 -1
  199. package/dist/views/Cookies/CookieForm.vue.d.ts +1 -1
  200. package/dist/views/Cookies/CookieForm.vue.js +15 -15
  201. package/dist/views/Cookies/CookieRaw.vue.d.ts +1 -1
  202. package/dist/views/Cookies/CookieRaw.vue.js +14 -14
  203. package/dist/views/Cookies/Cookies.vue.d.ts +1 -1
  204. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  205. package/dist/views/Cookies/Cookies.vue2.js +23 -23
  206. package/dist/views/Environment/Environment.vue.d.ts +1 -1
  207. package/dist/views/Environment/Environment.vue2.js +29 -29
  208. package/dist/views/Environment/EnvironmentColors.vue.d.ts +6 -15
  209. package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +1 -1
  210. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +6 -15
  211. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  212. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +27 -27
  213. package/dist/views/Request/Request.vue.d.ts +4 -4
  214. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  215. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +6 -15
  216. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  217. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +14 -14
  218. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +3 -12
  219. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  220. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +82 -82
  221. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +3 -12
  222. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  223. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +31 -31
  224. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +3 -12
  225. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  226. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +92 -92
  227. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +7 -16
  228. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +1 -1
  229. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +1 -1
  230. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +60 -60
  231. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +11 -34
  232. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  233. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +3 -12
  234. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  235. package/dist/views/Request/RequestSection/RequestBody.vue.js +71 -71
  236. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +3 -12
  237. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  238. package/dist/views/Request/RequestSection/RequestParams.vue.js +34 -34
  239. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +3 -12
  240. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  241. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +34 -34
  242. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
  243. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  244. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +14 -37
  245. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  246. package/dist/views/Request/RequestSection/RequestTable.vue2.js +67 -67
  247. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +3 -12
  248. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  249. package/dist/views/Request/RequestSidebar.vue.d.ts +7 -16
  250. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  251. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  252. package/dist/views/Request/RequestSidebar.vue2.js +92 -91
  253. package/dist/views/Request/RequestSidebarItem.vue.d.ts +9 -34
  254. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  255. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  256. package/dist/views/Request/RequestSidebarItem.vue2.js +123 -123
  257. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +6 -15
  258. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  259. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +60 -60
  260. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +9 -18
  261. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  262. package/dist/views/Request/RequestSubpageHeader.vue.js +4 -4
  263. package/dist/views/Request/RequestSubpageHeader.vue2.js +26 -26
  264. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +3 -12
  265. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  266. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +26 -26
  267. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +3 -12
  268. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
  269. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +8 -8
  270. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +1 -1
  271. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -1
  272. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +3 -12
  273. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
  274. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -4
  275. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +3 -12
  276. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  277. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +6 -15
  278. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
  279. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +3 -12
  280. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
  281. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +15 -15
  282. package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts +3 -12
  283. package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts.map +1 -1
  284. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +19 -19
  285. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +1 -1
  286. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +35 -35
  287. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +3 -12
  288. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  289. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +44 -23
  290. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts +1 -1
  291. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +12 -12
  292. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +3 -12
  293. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  294. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +3 -12
  295. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  296. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +42 -42
  297. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts +1 -1
  298. package/dist/views/Request/components/WorkspaceDropdown.vue.js +85 -85
  299. package/dist/views/Servers/ServerForm.vue.d.ts +1 -1
  300. package/dist/views/Servers/Servers.vue.d.ts +1 -1
  301. package/dist/views/Servers/Servers.vue2.js +29 -29
  302. package/dist/views/Settings/Settings.vue.d.ts +1 -1
  303. package/dist/views/Settings/SettingsGeneral.vue.d.ts +1 -1
  304. package/dist/views/Settings/SettingsGeneral.vue.js +37 -37
  305. package/dist/views/Settings/SettingsGeneralMode.vue.d.ts +1 -1
  306. package/dist/views/Settings/SettingsGeneralMode.vue.js +38 -38
  307. package/package.json +14 -19
@@ -1,36 +1,36 @@
1
- import { defineComponent as y, computed as S, openBlock as a, createElementBlock as f, createVNode as n, unref as e, withCtx as o, Fragment as N, renderList as D, createBlock as v, withModifiers as h, createElementVNode as r, normalizeClass as w, createTextVNode as l, toDisplayString as x, createCommentVNode as j } from "vue";
2
- import { ScalarDropdown as z, ScalarDropdownItem as d, ScalarIcon as c, ScalarDropdownDivider as B, ScalarButton as I } from "@scalar/components";
1
+ import { defineComponent as y, computed as S, openBlock as l, createElementBlock as f, createVNode as n, unref as e, withCtx as r, Fragment as N, renderList as D, createBlock as v, withModifiers as h, createElementVNode as s, normalizeClass as w, createTextVNode as d, toDisplayString as x, createCommentVNode as j } from "vue";
2
+ import { ScalarDropdown as z, ScalarDropdownItem as u, ScalarIcon as c, ScalarDropdownDivider as B, ScalarButton as I } from "@scalar/components";
3
3
  import { useRouter as V } from "vue-router";
4
4
  import { useWorkspace as M } from "../../store/store.js";
5
- const W = { class: "font-medium m-0 text-sm flex gap-1.5 items-center whitespace-nowrap" }, $ = { class: "flex items-center justify-center h-4 w-4" }, O = /* @__PURE__ */ r("span", { class: "leading-none" }, "Manage Environments", -1), G = /* @__PURE__ */ y({
5
+ const W = { class: "font-medium m-0 text-sm flex gap-1.5 items-center whitespace-nowrap" }, $ = { class: "flex items-center justify-center h-4 w-4" }, A = /* @__PURE__ */ y({
6
6
  __name: "EnvironmentSelector",
7
- setup(R) {
7
+ setup(O) {
8
8
  const {
9
- environments: u,
10
- activeWorkspace: s,
9
+ environments: m,
10
+ activeWorkspace: i,
11
11
  workspaceMutators: k,
12
- activeEnvironment: _,
13
- isReadOnly: g
14
- } = M(), b = V(), m = (i) => {
15
- k.edit(s.value.uid, "activeEnvironmentId", i);
16
- }, C = () => b.push(`/workspace/${s.value.uid}/environment`), E = S(() => [
12
+ activeEnvironment: g,
13
+ isReadOnly: b
14
+ } = M(), C = V(), p = (a) => {
15
+ k.edit(i.value.uid, "activeEnvironmentId", a);
16
+ }, E = () => C.push(`/workspace/${i.value.uid}/environment`), _ = S(() => [
17
17
  // Always add the default environment
18
- u.default,
19
- ...Object.values(u).filter((i) => i.uid !== "default")
18
+ m.default,
19
+ ...Object.values(m).filter((a) => a.uid !== "default")
20
20
  ]);
21
- return (i, p) => (a(), f("div", null, [
21
+ return (a, o) => (l(), f("div", null, [
22
22
  n(e(z), null, {
23
- items: o(() => [
24
- (a(!0), f(N, null, D(E.value, (t) => (a(), v(e(d), {
23
+ items: r(() => [
24
+ (l(!0), f(N, null, D(_.value, (t) => (l(), v(e(u), {
25
25
  key: t.uid,
26
26
  class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
27
- onClick: h((F) => m(t.uid), ["stop"])
27
+ onClick: h((R) => p(t.uid), ["stop"])
28
28
  }, {
29
- default: o(() => [
30
- r("div", {
29
+ default: r(() => [
30
+ s("div", {
31
31
  class: w([
32
32
  "flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",
33
- e(s).activeEnvironmentId === t.uid ? "bg-blue text-b-1" : "text-transparent"
33
+ e(i).activeEnvironmentId === t.uid ? "bg-blue text-b-1" : "text-transparent"
34
34
  ])
35
35
  }, [
36
36
  n(e(c), {
@@ -39,19 +39,19 @@ const W = { class: "font-medium m-0 text-sm flex gap-1.5 items-center whitespace
39
39
  thickness: "3.5"
40
40
  })
41
41
  ], 2),
42
- l(" " + x(t.name), 1)
42
+ d(" " + x(t.name), 1)
43
43
  ]),
44
44
  _: 2
45
45
  }, 1032, ["onClick"]))), 128)),
46
- n(e(d), {
46
+ n(e(u), {
47
47
  class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
48
- onClick: p[0] || (p[0] = h((t) => m(""), ["stop"]))
48
+ onClick: o[0] || (o[0] = h((t) => p(""), ["stop"]))
49
49
  }, {
50
- default: o(() => [
51
- r("div", {
50
+ default: r(() => [
51
+ s("div", {
52
52
  class: w([
53
53
  "flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",
54
- e(s).activeEnvironmentId === "" ? "bg-blue text-b-1" : "text-transparent"
54
+ e(i).activeEnvironmentId === "" ? "bg-blue text-b-1" : "text-transparent"
55
55
  ])
56
56
  }, [
57
57
  n(e(c), {
@@ -60,39 +60,39 @@ const W = { class: "font-medium m-0 text-sm flex gap-1.5 items-center whitespace
60
60
  thickness: "3.5"
61
61
  })
62
62
  ], 2),
63
- l(" No Environment ")
63
+ o[1] || (o[1] = d(" No Environment "))
64
64
  ]),
65
65
  _: 1
66
66
  }),
67
67
  n(e(B)),
68
- e(g) ? j("", !0) : (a(), v(e(d), {
68
+ e(b) ? j("", !0) : (l(), v(e(u), {
69
69
  key: 0,
70
70
  class: "flex items-center gap-1.5",
71
- onClick: C
71
+ onClick: E
72
72
  }, {
73
- default: o(() => [
74
- r("div", $, [
73
+ default: r(() => [
74
+ s("div", $, [
75
75
  n(e(c), {
76
76
  icon: "Brackets",
77
77
  size: "sm"
78
78
  })
79
79
  ]),
80
- O
80
+ o[2] || (o[2] = s("span", { class: "leading-none" }, "Manage Environments", -1))
81
81
  ]),
82
82
  _: 1
83
83
  }))
84
84
  ]),
85
- default: o(() => [
85
+ default: r(() => [
86
86
  n(e(I), {
87
87
  class: "font-normal h-auto justify-start py-1.5 px-1.5 text-c-1 hover:bg-b-2 text-c-2 w-fit",
88
88
  fullWidth: "",
89
89
  variant: "ghost"
90
90
  }, {
91
- default: o(() => {
91
+ default: r(() => {
92
92
  var t;
93
93
  return [
94
- r("h2", W, [
95
- l(x(((t = e(_)) == null ? void 0 : t.name) ?? "No Environment") + " ", 1),
94
+ s("h2", W, [
95
+ d(x(((t = e(g)) == null ? void 0 : t.name) ?? "No Environment") + " ", 1),
96
96
  n(e(c), {
97
97
  class: "size-3",
98
98
  icon: "ChevronDown",
@@ -110,5 +110,5 @@ const W = { class: "font-medium m-0 text-sm flex gap-1.5 items-center whitespace
110
110
  }
111
111
  });
112
112
  export {
113
- G as default
113
+ A as default
114
114
  };
@@ -1,7 +1,7 @@
1
1
  declare function __VLS_template(): {
2
2
  title?(_: {}): any;
3
3
  };
4
- declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
+ declare const __VLS_component: import("vue").DefineComponent<{
5
5
  title?: string;
6
6
  options: {
7
7
  key: string;
@@ -10,7 +10,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOp
10
10
  }[];
11
11
  data: Record<string, any>;
12
12
  onUpdate: (key: string, value: any) => void;
13
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
14
14
  title?: string;
15
15
  options: {
16
16
  key: string;
@@ -19,7 +19,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOp
19
19
  }[];
20
20
  data: Record<string, any>;
21
21
  onUpdate: (key: string, value: any) => void;
22
- }>>>, {}, {}>;
22
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
24
24
  export default _default;
25
25
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -27,13 +27,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
27
27
  $slots: S;
28
28
  };
29
29
  };
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToOption<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: import('vue').PropType<T[K]>;
36
- required: true;
37
- };
38
- };
39
30
  //# sourceMappingURL=Form.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AA8DA,iBAAS,cAAc;mBA4FI,GAAG;EAkB7B;AACD,QAAA,MAAM,eAAe;YA3HX,MAAM;aACL;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE;UACxD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;cACf,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;;YAHnC,MAAM;aACL;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE;UACxD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;cACf,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;aA8H3C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AA8DA,iBAAS,cAAc;mBA4FI,GAAG;EAkB7B;AACD,QAAA,MAAM,eAAe;YA3HX,MAAM;aACL;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE;UACxD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;cACf,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;;YAHnC,MAAM;aACL;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE;UACxD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;cACf,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;iGA8H3C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,11 +1,11 @@
1
1
  declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
3
  };
4
- declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
+ declare const __VLS_component: import("vue").DefineComponent<{
5
5
  href: string;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
6
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
7
  href: string;
8
- }>>>, {}, {}>;
8
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
9
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
10
  export default _default;
11
11
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -13,13 +13,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
13
13
  $slots: S;
14
14
  };
15
15
  };
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToOption<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
22
- required: true;
23
- };
24
- };
25
16
  //# sourceMappingURL=HelpfulLink.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpfulLink.vue.d.ts","sourceRoot":"","sources":["../../src/components/HelpfulLink.vue"],"names":[],"mappings":"AAwBA,iBAAS,cAAc;qBAuBM,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;UA9CS,MAAM;;UAAN,MAAM;aAoDlC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"HelpfulLink.vue.d.ts","sourceRoot":"","sources":["../../src/components/HelpfulLink.vue"],"names":[],"mappings":"AAwBA,iBAAS,cAAc;qBAuBM,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;UA9CS,MAAM;;UAAN,MAAM;iGAoDlC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,43 +1,18 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  isSquare?: boolean;
3
3
  method: string;
4
4
  isEditable?: boolean;
5
- }>, {
6
- isSquare: boolean;
7
- isDisable: boolean;
8
- isEditable: boolean;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- change: (value: "connect" | "delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace") => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ change: (value: "connect" | "delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace") => any;
7
+ }, string, import("vue").PublicProps, Readonly<{
12
8
  isSquare?: boolean;
13
9
  method: string;
14
10
  isEditable?: boolean;
15
- }>, {
16
- isSquare: boolean;
17
- isDisable: boolean;
18
- isEditable: boolean;
19
- }>>> & {
11
+ }> & Readonly<{
20
12
  onChange?: ((value: "connect" | "delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace") => any) | undefined;
21
- }, {
13
+ }>, {
22
14
  isSquare: boolean;
23
15
  isEditable: boolean;
24
- }, {}>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
17
  export default _default;
26
- type __VLS_WithDefaults<P, D> = {
27
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
- default: D[K];
29
- }> : P[K];
30
- };
31
- type __VLS_Prettify<T> = {
32
- [K in keyof T]: T[K];
33
- } & {};
34
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
- type __VLS_TypePropsToOption<T> = {
36
- [K in keyof T]-?: {} extends Pick<T, K> ? {
37
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
- } : {
39
- type: import('vue').PropType<T[K]>;
40
- required: true;
41
- };
42
- };
43
18
  //# sourceMappingURL=HttpMethod.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":";eAmGe,OAAO;YACV,MAAM;iBACD,OAAO;;;;;;;;eAFT,OAAO;YACV,MAAM;iBACD,OAAO;;;;;;;;cAFT,OAAO;gBAEL,OAAO;;AAkIxB,wBAOG;AAOH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":";eAmGe,OAAO;YACV,MAAM;iBACD,OAAO;;;;eAFT,OAAO;YACV,MAAM;iBACD,OAAO;;;;cAFT,OAAO;gBAEL,OAAO;;AAuIxB,wBAUG"}
@@ -5,17 +5,17 @@ declare function __VLS_template(): {
5
5
  default?(_: {}): any;
6
6
  title?(_: {}): any;
7
7
  };
8
- declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
8
+ declare const __VLS_component: import("vue").DefineComponent<{
9
9
  modelValue: string;
10
10
  placement?: AlignedPlacement;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- "update:modelValue": (icon: string) => void;
13
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ "update:modelValue": (icon: string) => any;
13
+ }, string, import("vue").PublicProps, Readonly<{
14
14
  modelValue: string;
15
15
  placement?: AlignedPlacement;
16
- }>>> & {
16
+ }> & Readonly<{
17
17
  "onUpdate:modelValue"?: ((icon: string) => any) | undefined;
18
- }, {}, {}>;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
20
  export default _default;
21
21
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -23,13 +23,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
23
23
  $slots: S;
24
24
  };
25
25
  };
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToOption<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
35
26
  //# sourceMappingURL=IconSelector.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconSelector.vue.d.ts","sourceRoot":"","sources":["../../src/components/IconSelector.vue"],"names":[],"mappings":"AA8EA,KAAK,IAAI,GAAG,KAAK,GAAG,QAAQ,CAAA;AAC5B,KAAK,SAAS,GAAG,OAAO,GAAG,KAAK,CAAA;AAChC,KAAK,gBAAgB,GAAG,GAAG,IAAI,IAAI,SAAS,EAAE,CAAA;AAa9C,iBAAS,cAAc;qBAoKM,GAAG;mBACJ,GAAG;EAsB9B;AACD,QAAA,MAAM,eAAe;gBApNP,MAAM;gBACN,gBAAgB;;;;gBADhB,MAAM;gBACN,gBAAgB;;;UA0N5B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"IconSelector.vue.d.ts","sourceRoot":"","sources":["../../src/components/IconSelector.vue"],"names":[],"mappings":"AA8EA,KAAK,IAAI,GAAG,KAAK,GAAG,QAAQ,CAAA;AAC5B,KAAK,SAAS,GAAG,OAAO,GAAG,KAAK,CAAA;AAChC,KAAK,gBAAgB,GAAG,GAAG,IAAI,IAAI,SAAS,EAAE,CAAA;AAe9C,iBAAS,cAAc;qBAoKM,GAAG;mBACJ,GAAG;EAwB9B;AACD,QAAA,MAAM,eAAe;gBAxNP,MAAM;gBACN,gBAAgB;;;;gBADhB,MAAM;gBACN,gBAAgB;;;kFAgO5B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as g, computed as V, openBlock as a, createBlock as n, unref as e, withCtx as o, createVNode as r, createElementVNode as u, renderSlot as d, createTextVNode as p, createElementBlock as _, Fragment as k, renderList as y, toDisplayString as w } from "vue";
2
- import { RadioGroup as h, RadioGroupLabel as m, RadioGroupOption as S } from "@headlessui/vue";
3
- import { ScalarPopover as C } from "@scalar/components";
4
- import { libraryIcons as I, LibraryIcon as B } from "@scalar/icons";
1
+ import { defineComponent as g, computed as V, openBlock as s, createBlock as n, unref as e, withCtx as o, createVNode as a, createElementVNode as u, renderSlot as d, createTextVNode as p, createElementBlock as k, Fragment as y, renderList as _, toDisplayString as w } from "vue";
2
+ import { RadioGroup as S, RadioGroupLabel as m, RadioGroupOption as C } from "@headlessui/vue";
3
+ import { ScalarPopover as I } from "@scalar/components";
4
+ import { libraryIcons as h, LibraryIcon as B } from "@scalar/icons";
5
5
  const G = { class: "flex text-sm" }, L = { class: "grid grid-cols-[repeat(auto-fill,minmax(32px,1fr))] auto-rows-[32px] justify-between content-between rounded bg-b-1 border p-1 max-w-[420px] w-dvw custom-scroll" }, $ = /* @__PURE__ */ g({
6
6
  __name: "IconSelector",
7
7
  props: {
@@ -10,33 +10,33 @@ const G = { class: "flex text-sm" }, L = { class: "grid grid-cols-[repeat(auto-f
10
10
  },
11
11
  emits: ["update:modelValue"],
12
12
  setup(i, { emit: f }) {
13
- const b = i, x = f, s = V({
13
+ const b = i, x = f, c = V({
14
14
  get: () => b.modelValue,
15
15
  set: (l) => x("update:modelValue", l)
16
16
  });
17
- return (l, c) => (a(), n(e(C), {
17
+ return (l, r) => (s(), n(e(I), {
18
18
  class: "bg-b-2 rounded",
19
19
  placement: l.placement ?? "bottom"
20
20
  }, {
21
21
  popover: o(({ close: v }) => [
22
- r(e(h), {
23
- modelValue: s.value,
24
- "onUpdate:modelValue": c[0] || (c[0] = (t) => s.value = t),
22
+ a(e(S), {
23
+ modelValue: c.value,
24
+ "onUpdate:modelValue": r[0] || (r[0] = (t) => c.value = t),
25
25
  class: "flex flex-col"
26
26
  }, {
27
27
  default: o(() => [
28
28
  u("div", G, [
29
- r(e(m), { class: "text-c-2 py-1 px-1" }, {
29
+ a(e(m), { class: "text-c-2 py-1 px-1" }, {
30
30
  default: o(() => [
31
31
  d(l.$slots, "title", {}, () => [
32
- p("Select an icon")
32
+ r[1] || (r[1] = p("Select an icon"))
33
33
  ])
34
34
  ]),
35
35
  _: 3
36
36
  })
37
37
  ]),
38
38
  u("ul", L, [
39
- (a(!0), _(k, null, y(e(I), (t) => (a(), n(e(S), {
39
+ (s(!0), k(y, null, _(e(h), (t) => (s(), n(e(C), {
40
40
  key: t.src,
41
41
  as: "li",
42
42
  class: "p-2.25 rounded flex items-center justify-center text-c-3 cursor-pointer hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2",
@@ -44,13 +44,13 @@ const G = { class: "flex text-sm" }, L = { class: "grid grid-cols-[repeat(auto-f
44
44
  onClick: v
45
45
  }, {
46
46
  default: o(() => [
47
- r(e(m), { class: "sr-only" }, {
47
+ a(e(m), { class: "sr-only" }, {
48
48
  default: o(() => [
49
49
  p(w(t.src.replaceAll("-", " ")) + " Icon ", 1)
50
50
  ]),
51
51
  _: 2
52
52
  }, 1024),
53
- r(e(B), {
53
+ a(e(B), {
54
54
  class: "stroke-2",
55
55
  src: t.src
56
56
  }, null, 8, ["src"])
@@ -1,7 +1,7 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
- input: (value: string) => void;
3
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
2
+ input: (value: string) => any;
3
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
4
  onInput?: ((value: string) => any) | undefined;
5
- }, {}, {}>;
5
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  export default _default;
7
7
  //# sourceMappingURL=DropEventListener.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropEventListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/DropEventListener.vue"],"names":[],"mappings":";;;;;AA4SA,wBAMG"}
1
+ {"version":3,"file":"DropEventListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/DropEventListener.vue"],"names":[],"mappings":";;;;;AAgTA,wBAQG"}
@@ -1,29 +1,29 @@
1
- import { defineComponent as v, ref as g, onMounted as h, onBeforeUnmount as y, openBlock as m, createBlock as _, Transition as x, withCtx as D, createElementBlock as E, createElementVNode as s, createVNode as L, unref as T, createCommentVNode as C } from "vue";
1
+ import { defineComponent as v, ref as g, onMounted as y, onBeforeUnmount as h, openBlock as m, createBlock as x, Transition as D, withCtx as E, createElementBlock as _, createElementVNode as s, createVNode as L, unref as T, createCommentVNode as C } from "vue";
2
2
  import { ScalarIcon as b } from "@scalar/components";
3
3
  const k = {
4
4
  key: 0,
5
5
  class: "fixed bottom-10 right-10 w-64 h-64 bg-b-2 z-50 rounded-xl border transition-opacity duration-200"
6
- }, w = { class: "flex flex-col items-center justify-center h-full" }, A = /* @__PURE__ */ s("div", { class: "text-center text-c-1 m-4" }, " Drop your OpenAPI document here ", -1), j = /* @__PURE__ */ v({
6
+ }, w = { class: "flex flex-col items-center justify-center h-full" }, V = /* @__PURE__ */ v({
7
7
  __name: "DropEventListener",
8
8
  emits: ["input"],
9
- setup(B, { emit: p }) {
9
+ setup(A, { emit: p }) {
10
10
  const d = p, r = g(!1);
11
11
  let o = 0;
12
- h(() => {
12
+ y(() => {
13
13
  document.addEventListener("dragenter", f), document.addEventListener("dragleave", u), document.addEventListener("dragover", c), document.addEventListener("drop", l);
14
- }), y(() => {
14
+ }), h(() => {
15
15
  document.removeEventListener("dragenter", f), document.removeEventListener("dragover", c), document.removeEventListener("dragleave", u), document.removeEventListener("drop", l);
16
16
  });
17
17
  async function l(e) {
18
18
  if (e.preventDefault(), r.value = !1, o = 0, e.dataTransfer) {
19
- const n = e.dataTransfer.getData("text").replace(/^blob:/, "");
20
- if (n)
21
- d("input", n);
19
+ const t = e.dataTransfer.getData("text").replace(/^blob:/, "");
20
+ if (t)
21
+ d("input", t);
22
22
  else if (e.dataTransfer.files.length > 0) {
23
- const a = e.dataTransfer.files[0], t = new FileReader();
24
- t.onload = async (i) => {
23
+ const a = e.dataTransfer.files[0], n = new FileReader();
24
+ n.onload = async (i) => {
25
25
  i.target && typeof i.target.result == "string" && d("input", i.target.result);
26
- }, t.readAsText(a);
26
+ }, n.readAsText(a);
27
27
  }
28
28
  }
29
29
  }
@@ -35,10 +35,10 @@ const k = {
35
35
  }
36
36
  function f(e) {
37
37
  if (e.preventDefault(), o++, e.dataTransfer) {
38
- const n = e.dataTransfer.items;
39
- for (let a = 0; a < n.length; a++) {
40
- const t = n[a];
41
- if (t.kind === "string" || t.type.includes("json") || t.type.includes("yml") || t.type.includes("yaml")) {
38
+ const t = e.dataTransfer.items;
39
+ for (let a = 0; a < t.length; a++) {
40
+ const n = t[a];
41
+ if (n.kind === "string" || n.type.includes("json") || n.type.includes("yml") || n.type.includes("yaml")) {
42
42
  r.value = !0;
43
43
  return;
44
44
  }
@@ -46,14 +46,14 @@ const k = {
46
46
  }
47
47
  r.value = !1;
48
48
  }
49
- return (e, n) => (m(), _(x, {
49
+ return (e, t) => (m(), x(D, {
50
50
  enterActiveClass: "transition-opacity duration-200",
51
51
  enterFromClass: "opacity-0",
52
52
  leaveActiveClass: "transition-opacity duration-200",
53
53
  leaveToClass: "opacity-0"
54
54
  }, {
55
- default: D(() => [
56
- r.value ? (m(), E("div", k, [
55
+ default: E(() => [
56
+ r.value ? (m(), _("div", k, [
57
57
  s("div", w, [
58
58
  s("div", null, [
59
59
  L(T(b), {
@@ -62,7 +62,7 @@ const k = {
62
62
  thickness: "2"
63
63
  })
64
64
  ]),
65
- A
65
+ t[0] || (t[0] = s("div", { class: "text-center text-c-1 m-4" }, " Drop your OpenAPI document here ", -1))
66
66
  ])
67
67
  ])) : C("", !0)
68
68
  ]),
@@ -71,5 +71,5 @@ const k = {
71
71
  }
72
72
  });
73
73
  export {
74
- j as default
74
+ V as default
75
75
  };
@@ -1,7 +1,7 @@
1
1
  declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
3
  };
4
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
5
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
6
  export default _default;
7
7
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"ImportCollectionListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionListener.vue"],"names":[],"mappings":"AAyEA,iBAAS,cAAc;qBA4GO,GAAG;EAoBhC;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ImportCollectionListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionListener.vue"],"names":[],"mappings":"AAyEA,iBAAS,cAAc;qBA4GO,GAAG;EAoBhC;AACD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,20 +1,11 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  source: string | null;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
- importFinished: () => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
3
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ importFinished: () => any;
5
+ }, string, import("vue").PublicProps, Readonly<{
6
6
  source: string | null;
7
- }>>> & {
7
+ }> & Readonly<{
8
8
  onImportFinished?: (() => any) | undefined;
9
- }, {}, {}>;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToOption<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
18
- };
19
- };
20
11
  //# sourceMappingURL=ImportCollectionModal.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":";YAqKU,MAAM,GAAG,IAAI;;;;YAAb,MAAM,GAAG,IAAI;;;;AAsQvB,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":";YA2LU,MAAM,GAAG,IAAI;;;;YAAb,MAAM,GAAG,IAAI;;;;AAmTvB,wBASG"}