@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,7 +1,7 @@
1
1
  import o from "./ImportCurlModal.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6103022c"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-50c10cc9"]]);
5
5
  export {
6
- a as default
6
+ p as default
7
7
  };
@@ -1,79 +1,80 @@
1
- import { defineComponent as g, ref as y, computed as N, watch as V, openBlock as k, createBlock as R, unref as s, withCtx as n, createVNode as r, createElementVNode as a, toDisplayString as h, createTextVNode as C } from "vue";
2
- import S from "../HttpMethod/HttpMethod.vue.js";
3
- import { ScalarModal as I, ScalarTextField as B, ScalarButton as x } from "@scalar/components";
4
- import { useToasts as E } from "@scalar/use-toasts";
5
- const M = { class: "border flex flex-row gap-2 h-10 items-center my-4 p-[3px] rounded text-sm" }, T = { class: "flex h-full" }, U = { class: "scroll-timeline-x whitespace-nowrap" }, j = { class: "flex gap-10 justify-between" }, L = /* @__PURE__ */ g({
1
+ import { defineComponent as _, ref as g, computed as N, watch as V, openBlock as k, createBlock as R, unref as s, withCtx as n, createVNode as r, withKeys as S, createElementVNode as l, toDisplayString as x, createTextVNode as h } from "vue";
2
+ import I from "../HttpMethod/HttpMethod.vue.js";
3
+ import { ScalarModal as B, ScalarTextField as E, ScalarButton as v } from "@scalar/components";
4
+ import { useToasts as M } from "@scalar/use-toasts";
5
+ const T = { class: "border flex flex-row gap-2 h-10 items-center my-4 p-[3px] rounded text-sm" }, K = { class: "flex h-full" }, U = { class: "scroll-timeline-x whitespace-nowrap" }, j = { class: "flex gap-10 justify-between" }, L = /* @__PURE__ */ _({
6
6
  __name: "ImportCurlModal",
7
7
  props: {
8
8
  parsedCurl: {},
9
9
  state: {}
10
10
  },
11
11
  emits: ["importCurl", "close"],
12
- setup(v, { emit: _ }) {
13
- const e = v, u = _, { toast: q } = E(), t = y(""), i = N(() => !t.value.trim());
14
- function b() {
12
+ setup(q, { emit: w }) {
13
+ const t = q, u = w, { toast: y } = M(), o = g(""), i = N(() => !o.value.trim());
14
+ function p() {
15
15
  if (i.value) {
16
- q("Please enter a name before importing your request.", "error");
16
+ y("Please enter a name before importing your request.", "error");
17
17
  return;
18
18
  }
19
- w();
19
+ b();
20
20
  }
21
- function w() {
22
- e.parsedCurl && u("importCurl", {
23
- parsedCurl: e.parsedCurl,
24
- requestName: t.value
21
+ function b() {
22
+ t.parsedCurl && u("importCurl", {
23
+ parsedCurl: t.parsedCurl,
24
+ requestName: o.value
25
25
  });
26
26
  }
27
27
  return V(
28
- () => e.state.open,
29
- (l) => {
30
- l && (t.value = "");
28
+ () => t.state.open,
29
+ (a) => {
30
+ a && (o.value = "");
31
31
  }
32
- ), (l, o) => (k(), R(s(I), {
32
+ ), (a, e) => (k(), R(s(B), {
33
33
  size: "xs",
34
- state: l.state,
34
+ state: a.state,
35
35
  title: "Import cURL request"
36
36
  }, {
37
37
  default: n(() => {
38
- var p, d, m, c;
38
+ var d, m, c, f;
39
39
  return [
40
- r(s(B), {
41
- modelValue: t.value,
42
- "onUpdate:modelValue": o[0] || (o[0] = (f) => t.value = f),
40
+ r(s(E), {
41
+ modelValue: o.value,
42
+ "onUpdate:modelValue": e[0] || (e[0] = (C) => o.value = C),
43
43
  autofocus: "",
44
- placeholder: "Request Name"
44
+ placeholder: "Request Name",
45
+ onKeyup: S(p, ["enter"])
45
46
  }, null, 8, ["modelValue"]),
46
- a("div", M, [
47
- a("div", T, [
48
- r(S, {
47
+ l("div", T, [
48
+ l("div", K, [
49
+ r(I, {
49
50
  isEditable: !1,
50
51
  isSquare: "",
51
- method: ((p = e.parsedCurl) == null ? void 0 : p.method) || "get"
52
+ method: ((d = t.parsedCurl) == null ? void 0 : d.method) || "get"
52
53
  }, null, 8, ["method"])
53
54
  ]),
54
- a("span", U, h(((m = (d = e.parsedCurl) == null ? void 0 : d.servers) == null ? void 0 : m[0]) || "") + h(((c = e.parsedCurl) == null ? void 0 : c.path) || ""), 1)
55
+ l("span", U, x(((c = (m = t.parsedCurl) == null ? void 0 : m.servers) == null ? void 0 : c[0]) || "") + x(((f = t.parsedCurl) == null ? void 0 : f.path) || ""), 1)
55
56
  ]),
56
- a("div", j, [
57
- r(s(x), {
57
+ l("div", j, [
58
+ r(s(v), {
58
59
  class: "gap-1.5 px-2.5 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
59
60
  type: "button",
60
61
  variant: "outlined",
61
- onClick: o[1] || (o[1] = (f) => u("close"))
62
+ onClick: e[1] || (e[1] = (C) => u("close"))
62
63
  }, {
63
- default: n(() => [
64
- C(" Cancel ")
65
- ]),
64
+ default: n(() => e[2] || (e[2] = [
65
+ h(" Cancel ")
66
+ ])),
66
67
  _: 1
67
68
  }),
68
- r(s(x), {
69
+ r(s(v), {
69
70
  class: "gap-1.5 font-medium px-2.5 h-8 shadow-none focus:outline-none",
70
71
  disabled: i.value,
71
72
  type: "submit",
72
- onClick: b
73
+ onClick: p
73
74
  }, {
74
- default: n(() => [
75
- C(" Import Request ")
76
- ]),
75
+ default: n(() => e[3] || (e[3] = [
76
+ h(" Import Request ")
77
+ ])),
77
78
  _: 1
78
79
  }, 8, ["disabled"])
79
80
  ])
@@ -1,18 +1,9 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  art: string;
3
3
  animate?: boolean;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
5
5
  art: string;
6
6
  animate?: boolean;
7
- }>>>, {}, {}>;
7
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
9
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToOption<T> = {
11
- [K in keyof T]-?: {} extends Pick<T, K> ? {
12
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
- } : {
14
- type: import('vue').PropType<T[K]>;
15
- required: true;
16
- };
17
- };
18
9
  //# sourceMappingURL=ScalarAsciiArt.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarAsciiArt.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarAsciiArt.vue"],"names":[],"mappings":";SAgE6B,MAAM;cAAY,OAAO;;SAAzB,MAAM;cAAY,OAAO;;AA4EtD,wBAMG;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":"ScalarAsciiArt.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarAsciiArt.vue"],"names":[],"mappings":";SAgE6B,MAAM;cAAY,OAAO;;SAAzB,MAAM;cAAY,OAAO;;AA4EtD,wBAMG"}
@@ -1,20 +1,11 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  hotkey: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
- hotkeyPressed: (key: string) => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
3
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ hotkeyPressed: (key: string) => any;
5
+ }, string, import("vue").PublicProps, Readonly<{
6
6
  hotkey: string;
7
- }>>> & {
7
+ }> & Readonly<{
8
8
  onHotkeyPressed?: ((key: string) => 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=ScalarHotkey.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarHotkey.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarHotkey.vue"],"names":[],"mappings":";YAoDU,MAAM;;;;YAAN,MAAM;;;;AAgFhB,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":"ScalarHotkey.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarHotkey.vue"],"names":[],"mappings":";YAoDU,MAAM;;;;YAAN,MAAM;;;;AAgFhB,wBAOG"}
@@ -2,39 +2,18 @@ declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
3
  default?(_: {}): any;
4
4
  };
5
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ declare const __VLS_component: import("vue").DefineComponent<{
6
6
  if?: boolean;
7
- }>, {
8
- if: boolean;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
10
8
  if?: boolean;
11
- }>, {
12
- if: boolean;
13
- }>>>, {
9
+ }> & Readonly<{}>, {
14
10
  if: boolean;
15
- }, {}>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
12
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
13
  export default _default;
18
- type __VLS_WithDefaults<P, D> = {
19
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
20
- default: D[K];
21
- }> : P[K];
22
- };
23
- type __VLS_Prettify<T> = {
24
- [K in keyof T]: T[K];
25
- } & {};
26
14
  type __VLS_WithTemplateSlots<T, S> = T & {
27
15
  new (): {
28
16
  $slots: S;
29
17
  };
30
18
  };
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
40
19
  //# sourceMappingURL=ScreenReader.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScreenReader.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScreenReader.vue"],"names":[],"mappings":"AAsDA,iBAAS,cAAc;qBA6BM,GAAG;qBACH,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;SA9DZ,OAAO;;;;SAAP,OAAO;;;;QAAP,OAAO;MAoEd,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,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,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":"ScreenReader.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScreenReader.vue"],"names":[],"mappings":"AAsDA,iBAAS,cAAc;qBA6BM,GAAG;qBACH,GAAG;EAe/B;AACD,QAAA,MAAM,eAAe;SA/DZ,OAAO;;SAAP,OAAO;;QAAP,OAAO;6EAsEd,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAexG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -4,7 +4,7 @@ import { type FuseResult } from 'fuse.js';
4
4
  * Provides search state, results, and methods for searching.
5
5
  */
6
6
  export declare function useSearch(): {
7
- searchText: import("vue").Ref<string>;
7
+ searchText: import("vue").Ref<string, string>;
8
8
  searchResultsWithPlaceholderResults: import("vue").ComputedRef<FuseResult<{
9
9
  title: string;
10
10
  description: string;
@@ -12,7 +12,7 @@ export declare function useSearch(): {
12
12
  id: string;
13
13
  path: string;
14
14
  }>[]>;
15
- selectedSearchResult: import("vue").Ref<number>;
15
+ selectedSearchResult: import("vue").Ref<number, number>;
16
16
  onSearchResultClick: (entry: FuseResult<{
17
17
  title: string;
18
18
  description: string;
@@ -21,8 +21,8 @@ export declare function useSearch(): {
21
21
  path: string;
22
22
  }>) => void;
23
23
  fuseSearch: () => void;
24
- searchInputRef: import("vue").Ref<HTMLInputElement | null>;
25
- searchResultRefs: import("vue").Ref<HTMLElement[]>;
24
+ searchInputRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
25
+ searchResultRefs: import("vue").Ref<HTMLElement[], HTMLElement[]>;
26
26
  navigateSearchResults: (direction: "up" | "down") => void;
27
27
  selectSearchResult: () => void;
28
28
  };
@@ -1,3 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=SideHelp.vue.d.ts.map
@@ -1,116 +1,116 @@
1
- import { defineComponent as l, openBlock as o, createBlock as i, unref as s, withCtx as c, createElementVNode as e, createVNode as t } from "vue";
2
- import { ScalarDropdown as r, ScalarDropdownItem as a, ScalarIcon as n } from "@scalar/components";
3
- const d = {
4
- class: "min-w-[37px] max-w-[37px] hover:bg-b-3 flex items-center justify-center rounded-lg p-[7px] text-c-3 focus:text-c-1 scalar-app-nav-padding",
1
+ import { defineComponent as i, openBlock as c, createBlock as r, unref as t, withCtx as l, createElementVNode as e, createVNode as n } from "vue";
2
+ import { ScalarDropdown as d, ScalarDropdownItem as o, ScalarIcon as a } from "@scalar/components";
3
+ const p = {
4
+ class: "min-w-[37px] max-w-[37px] hover:bg-b-2 flex items-center justify-center rounded-lg p-[7px] text-c-3 focus:text-c-1 scalar-app-nav-padding",
5
5
  type: "button"
6
- }, _ = /* @__PURE__ */ e("span", { class: "px-2.5 py-1.5 text-xs text-c-2 font-medium" }, "Support", -1), p = {
6
+ }, u = {
7
7
  class: "no-underline block",
8
8
  href: "https://discord.gg/scalar",
9
9
  target: "_blank"
10
- }, u = { class: "flex items-center justify-center" }, f = /* @__PURE__ */ e("span", null, "Discord", -1), h = {
10
+ }, f = { class: "flex items-center justify-center" }, m = {
11
11
  class: "no-underline block",
12
12
  href: "https://github.com/scalar/scalar",
13
13
  target: "_blank"
14
- }, m = { class: "flex items-center justify-center" }, x = /* @__PURE__ */ e("span", null, "GitHub", -1), g = {
14
+ }, x = { class: "flex items-center justify-center" }, _ = {
15
15
  class: "no-underline block",
16
16
  href: "mailto:marc@scalar.com",
17
17
  target: "_blank"
18
- }, b = { class: "flex items-center justify-center" }, k = /* @__PURE__ */ e("span", null, "Email", -1), w = /* @__PURE__ */ e("span", { class: "px-2.5 py-1.5 text-xs text-c-2 font-medium" }, "Product", -1), y = {
18
+ }, g = { class: "flex items-center justify-center" }, h = {
19
19
  class: "no-underline block",
20
20
  href: "https://scalar.com/changelog",
21
21
  target: "_blank"
22
- }, v = { class: "flex items-center justify-center" }, j = /* @__PURE__ */ e("span", null, "Changelog", -1), z = {
22
+ }, b = { class: "flex items-center justify-center" }, k = {
23
23
  class: "no-underline block",
24
24
  href: "https://github.com/scalar/scalar/issues/2669",
25
25
  target: "_blank"
26
- }, S = { class: "flex items-center justify-center" }, C = /* @__PURE__ */ e("span", null, "Roadmap", -1), I = /* @__PURE__ */ l({
26
+ }, w = { class: "flex items-center justify-center" }, S = /* @__PURE__ */ i({
27
27
  __name: "SideHelp",
28
- setup(D) {
29
- return (H, E) => (o(), i(s(r), {
28
+ setup(y) {
29
+ return (v, s) => (c(), r(t(d), {
30
30
  class: "max-w-[150px]",
31
31
  placement: "top-end"
32
32
  }, {
33
- items: c(() => [
34
- _,
35
- e("a", p, [
36
- t(s(a), { class: "flex items-center gap-1.5 w-full" }, {
37
- default: c(() => [
38
- e("div", u, [
39
- t(s(n), {
33
+ items: l(() => [
34
+ s[5] || (s[5] = e("span", { class: "px-2.5 py-1.5 text-xs text-c-2 font-medium" }, "Support", -1)),
35
+ e("a", u, [
36
+ n(t(o), { class: "flex items-center gap-1.5 w-full" }, {
37
+ default: l(() => [
38
+ e("div", f, [
39
+ n(t(a), {
40
40
  icon: "DiscordLine",
41
41
  size: "xs",
42
42
  thickness: "1.75"
43
43
  })
44
44
  ]),
45
- f
45
+ s[0] || (s[0] = e("span", null, "Discord", -1))
46
46
  ]),
47
47
  _: 1
48
48
  })
49
49
  ]),
50
- e("a", h, [
51
- t(s(a), { class: "flex items-center gap-1.5 w-full" }, {
52
- default: c(() => [
53
- e("div", m, [
54
- t(s(n), {
50
+ e("a", m, [
51
+ n(t(o), { class: "flex items-center gap-1.5 w-full" }, {
52
+ default: l(() => [
53
+ e("div", x, [
54
+ n(t(a), {
55
55
  icon: "GitHubLine",
56
56
  size: "xs",
57
57
  thickness: "1.75"
58
58
  })
59
59
  ]),
60
- x
60
+ s[1] || (s[1] = e("span", null, "GitHub", -1))
61
61
  ]),
62
62
  _: 1
63
63
  })
64
64
  ]),
65
- e("a", g, [
66
- t(s(a), { class: "flex items-center gap-1.5 w-full" }, {
67
- default: c(() => [
68
- e("div", b, [
69
- t(s(n), {
65
+ e("a", _, [
66
+ n(t(o), { class: "flex items-center gap-1.5 w-full" }, {
67
+ default: l(() => [
68
+ e("div", g, [
69
+ n(t(a), {
70
70
  icon: "Email",
71
71
  size: "xs"
72
72
  })
73
73
  ]),
74
- k
74
+ s[2] || (s[2] = e("span", null, "Email", -1))
75
75
  ]),
76
76
  _: 1
77
77
  })
78
78
  ]),
79
- w,
80
- e("a", y, [
81
- t(s(a), { class: "flex items-center gap-1.5 w-full" }, {
82
- default: c(() => [
83
- e("div", v, [
84
- t(s(n), {
79
+ s[6] || (s[6] = e("span", { class: "px-2.5 py-1.5 text-xs text-c-2 font-medium" }, "Product", -1)),
80
+ e("a", h, [
81
+ n(t(o), { class: "flex items-center gap-1.5 w-full" }, {
82
+ default: l(() => [
83
+ e("div", b, [
84
+ n(t(a), {
85
85
  icon: "Changelog",
86
86
  size: "xs",
87
87
  thickness: "1.75"
88
88
  })
89
89
  ]),
90
- j
90
+ s[3] || (s[3] = e("span", null, "Changelog", -1))
91
91
  ]),
92
92
  _: 1
93
93
  })
94
94
  ]),
95
- e("a", z, [
96
- t(s(a), { class: "flex items-center gap-1.5 w-full" }, {
97
- default: c(() => [
98
- e("div", S, [
99
- t(s(n), {
95
+ e("a", k, [
96
+ n(t(o), { class: "flex items-center gap-1.5 w-full" }, {
97
+ default: l(() => [
98
+ e("div", w, [
99
+ n(t(a), {
100
100
  icon: "Roadmap",
101
101
  size: "xs",
102
102
  thickness: "1.75"
103
103
  })
104
104
  ]),
105
- C
105
+ s[4] || (s[4] = e("span", null, "Roadmap", -1))
106
106
  ]),
107
107
  _: 1
108
108
  })
109
109
  ])
110
110
  ]),
111
- default: c(() => [
112
- e("button", d, [
113
- t(s(n), {
111
+ default: l(() => [
112
+ e("button", p, [
113
+ n(t(a), {
114
114
  icon: "Help",
115
115
  thickness: "1.5"
116
116
  })
@@ -121,5 +121,5 @@ const d = {
121
121
  }
122
122
  });
123
123
  export {
124
- I as default
124
+ S as default
125
125
  };
@@ -1,3 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=SideNav.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AAkLA,wBAKG"}
1
+ {"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AAmLA,wBAKG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SideNav.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a00979e0"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-26a2bed3"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,56 +1,56 @@
1
- import { defineComponent as g, openBlock as o, createElementBlock as r, createElementVNode as e, Fragment as p, renderList as u, unref as i, createVNode as a, withCtx as l, createTextVNode as m, toDisplayString as x } from "vue";
2
- import { ROUTES as v } from "../../constants.js";
3
- import { useRouter as h } from "vue-router";
4
- import N from "./SideHelp.vue.js";
1
+ import { defineComponent as p, openBlock as o, createElementBlock as r, createElementVNode as e, Fragment as u, renderList as x, unref as i, createVNode as a, withCtx as m, createTextVNode as f, toDisplayString as v } from "vue";
2
+ import { ROUTES as N } from "../../constants.js";
3
+ import { useRouter as S } from "vue-router";
4
+ import h from "./SideHelp.vue.js";
5
5
  import _ from "./SideNavLink.vue.js";
6
- const S = {
6
+ const y = {
7
7
  "aria-label": "Side Navigation",
8
8
  class: "text-c-2 w-15 flex flex-col items-center px-2 py-2 scalar-sidenav relative drag-region bg-b-1 border-t-1/2",
9
9
  role: "navigation"
10
- }, y = { class: "flex flex-col gap-1.5" }, b = { class: "mt-auto flex flex-col py-0.5" }, k = { class: "flex items-center no-drag-region" }, E = { class: "flex items-center no-drag-region" }, F = /* @__PURE__ */ g({
10
+ }, b = { class: "flex flex-col gap-1.5" }, k = { class: "mt-auto flex flex-col gap-1.5 py-0.5" }, E = { class: "flex items-center no-drag-region" }, R = { class: "flex items-center no-drag-region" }, F = /* @__PURE__ */ p({
11
11
  __name: "SideNav",
12
- setup(R) {
13
- const { currentRoute: s } = h();
14
- return (V, w) => (o(), r("nav", S, [
15
- e("ul", y, [
16
- (o(!0), r(p, null, u(i(v).filter(
12
+ setup(V) {
13
+ const { currentRoute: s } = S();
14
+ return (w, l) => (o(), r("nav", y, [
15
+ e("ul", b, [
16
+ (o(!0), r(u, null, x(i(N).filter(
17
17
  (t) => t.name !== "settings"
18
- ), ({ icon: t, name: n, prettyName: f }, d) => {
18
+ ), ({ icon: t, name: n, prettyName: d }, g) => {
19
19
  var c;
20
20
  return o(), r("li", {
21
- key: d,
21
+ key: g,
22
22
  class: "no-drag-region"
23
23
  }, [
24
24
  a(_, {
25
25
  active: (c = i(s).name) == null ? void 0 : c.startsWith(n),
26
26
  icon: t,
27
27
  name: n,
28
- prettyName: f
28
+ prettyName: d
29
29
  }, {
30
- default: l(() => [
31
- m(x(n), 1)
30
+ default: m(() => [
31
+ f(v(n), 1)
32
32
  ]),
33
33
  _: 2
34
34
  }, 1032, ["active", "icon", "name", "prettyName"])
35
35
  ]);
36
36
  }), 128))
37
37
  ]),
38
- e("ul", b, [
39
- e("li", k, [
38
+ e("ul", k, [
39
+ e("li", E, [
40
40
  a(_, {
41
41
  active: i(s).name === "settings",
42
42
  icon: "Settings",
43
43
  name: "settings",
44
44
  prettyName: "Settings"
45
45
  }, {
46
- default: l(() => [
47
- m(" Settings ")
48
- ]),
46
+ default: m(() => l[0] || (l[0] = [
47
+ f(" Settings ")
48
+ ])),
49
49
  _: 1
50
50
  }, 8, ["active"])
51
51
  ]),
52
- e("li", E, [
53
- a(N)
52
+ e("li", R, [
53
+ a(h)
54
54
  ])
55
55
  ])
56
56
  ]));
@@ -4,15 +4,15 @@ type IconProps = InstanceType<typeof ScalarIcon>['$props'];
4
4
  declare function __VLS_template(): {
5
5
  default?(_: {}): any;
6
6
  };
7
- declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
7
+ declare const __VLS_component: import("vue").DefineComponent<{
8
8
  icon: IconProps["icon"];
9
9
  name: (typeof ROUTES)[number]["name"] | "settings";
10
10
  active?: boolean;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
12
12
  icon: IconProps["icon"];
13
13
  name: (typeof ROUTES)[number]["name"] | "settings";
14
14
  active?: boolean;
15
- }>>>, {}, {}>;
15
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
17
  export default _default;
18
18
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -20,13 +20,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
20
20
  $slots: S;
21
21
  };
22
22
  };
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToOption<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
32
23
  //# sourceMappingURL=SideNavLink.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAI/C,KAAK,SAAS,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAgB1D,iBAAS,cAAc;qBAqEO,GAAG;EAgBhC;AACD,QAAA,MAAM,eAAe;UAnGb,SAAS,CAAC,MAAM,CAAC;UACjB,CAAC,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,UAAU;aACzC,OAAO;;UAFV,SAAS,CAAC,MAAM,CAAC;UACjB,CAAC,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,UAAU;aACzC,OAAO;aAuGhB,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":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAI/C,KAAK,SAAS,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAgB1D,iBAAS,cAAc;qBAqEO,GAAG;EAgBhC;AACD,QAAA,MAAM,eAAe;UAnGb,SAAS,CAAC,MAAM,CAAC;UACjB,CAAC,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,UAAU;aACzC,OAAO;;UAFV,SAAS,CAAC,MAAM,CAAC;UACjB,CAAC,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,UAAU;aACzC,OAAO;iGAuGhB,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,22 +1,13 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  activeUser?: {
3
3
  displayName: string;
4
4
  imageUri?: string;
5
5
  };
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
  activeUser?: {
8
8
  displayName: string;
9
9
  imageUri?: string;
10
10
  };
11
- }>>>, {}, {}>;
11
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToOption<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
22
13
  //# sourceMappingURL=WorkspaceProfileIcon.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceProfileIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/WorkspaceProfileIcon.vue"],"names":[],"mappings":";iBAsGe;QACX,WAAW,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB;;iBAHY;QACX,WAAW,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB;;AAwEH,wBAMG;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":"WorkspaceProfileIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/WorkspaceProfileIcon.vue"],"names":[],"mappings":";iBAsGe;QACX,WAAW,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB;;iBAHY;QACX,WAAW,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB;;AAwEH,wBAMG"}