@scalar/api-client 2.5.19 → 2.5.21

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 (298) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts +2 -2
  3. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue3.js +4 -0
  5. package/dist/components/AddressBar/AddressBarHistory.vue.js +1 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue3.js +4 -0
  7. package/dist/components/AddressBar/index.d.ts +1 -1
  8. package/dist/components/CodeInput/CodeInput.vue.d.ts +5 -5
  9. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  10. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  11. package/dist/components/CodeInput/CodeInput.vue3.js +4 -0
  12. package/dist/components/CodeInput/CodeInput.vue4.js +4 -0
  13. package/dist/components/CodeInput/codeVariableWidget.d.ts +1 -1
  14. package/dist/components/CodeInput/index.d.ts +1 -1
  15. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +3 -3
  16. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  17. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -2
  18. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -2
  19. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -2
  20. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -2
  21. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts +2 -2
  22. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +1 -1
  23. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue3.js +4 -0
  24. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +2 -2
  25. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +2 -2
  26. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +2 -2
  27. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +22 -22
  28. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  29. package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
  30. package/dist/components/CommandPalette/TheCommandPalette.vue3.js +4 -0
  31. package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +1 -1
  32. package/dist/components/CommandPalette/index.d.ts +1 -1
  33. package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
  34. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  35. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +1 -1
  36. package/dist/components/DataTable/DataTableInput.vue.d.ts +40 -40
  37. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  38. package/dist/components/DataTable/DataTableInput.vue.js +1 -1
  39. package/dist/components/DataTable/DataTableInput.vue3.js +4 -0
  40. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +1 -1
  41. package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
  42. package/dist/components/DataTable/index.d.ts +8 -8
  43. package/dist/components/EmptyState.vue.js +1 -1
  44. package/dist/components/EmptyState.vue3.js +4 -0
  45. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  46. package/dist/components/Form/LabelInput.vue.d.ts +2 -2
  47. package/dist/components/Form/LabelInput.vue.js +1 -1
  48. package/dist/components/Form/LabelInput.vue3.js +4 -0
  49. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  50. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +1 -1
  51. package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
  52. package/dist/components/HttpMethod/HttpMethod.vue3.js +4 -0
  53. package/dist/components/HttpMethod/index.d.ts +1 -1
  54. package/dist/components/IconSelector.vue.d.ts +1 -1
  55. package/dist/components/IconSelector.vue.d.ts.map +1 -1
  56. package/dist/components/ImportCollection/DropEventListener.vue.d.ts +1 -1
  57. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +1 -1
  58. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +1 -1
  59. package/dist/components/ImportCollection/ImportCollectionModal.vue2.js +4 -0
  60. package/dist/components/ImportCollection/ImportCollectionModal.vue3.js +1 -1
  61. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +1 -1
  62. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +1 -1
  63. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +1 -1
  64. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +2 -2
  65. package/dist/components/ImportCollection/index.d.ts +1 -1
  66. package/dist/components/ImportCollection/utils/import-collection.d.ts +1 -1
  67. package/dist/components/ImportCollection/utils/workspace-store-is-empty.d.ts +1 -1
  68. package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
  69. package/dist/components/OpenApiClientButton.vue.js +3 -3
  70. package/dist/components/OpenApiClientButton.vue2.js +11 -8
  71. package/dist/components/OpenApiClientButton.vue3.js +4 -0
  72. package/dist/components/ScalarAsciiArt.vue.js +1 -1
  73. package/dist/components/ScalarAsciiArt.vue3.js +4 -0
  74. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  75. package/dist/components/SectionFilter.vue.d.ts +1 -1
  76. package/dist/components/SectionFilter.vue.js +1 -1
  77. package/dist/components/SectionFilter.vue3.js +4 -0
  78. package/dist/components/SectionFilterButton.vue.d.ts.map +1 -1
  79. package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
  80. package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
  81. package/dist/components/Server/ServerDropdownItem.vue3.js +4 -0
  82. package/dist/components/Server/ServerSelector.vue.d.ts +1 -1
  83. package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
  84. package/dist/components/Server/ServerSelector.vue.js +27 -26
  85. package/dist/components/Server/ServerVariablesForm.vue.d.ts +1 -1
  86. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
  87. package/dist/components/Server/ServerVariablesForm.vue.js +5 -2
  88. package/dist/components/Server/ServerVariablesSelect.vue.d.ts +1 -1
  89. package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
  90. package/dist/components/Server/ServerVariablesSelect.vue.js +24 -24
  91. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +1 -1
  92. package/dist/components/Server/index.d.ts +3 -3
  93. package/dist/components/SideNav/DownloadAppButton.vue.js +1 -1
  94. package/dist/components/SideNav/DownloadAppButton.vue3.js +4 -0
  95. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  96. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
  97. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -2
  98. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +2 -2
  99. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +2 -2
  100. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +2 -2
  101. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  102. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
  103. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue3.js +4 -0
  104. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  105. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  106. package/dist/components/Sidebar/Sidebar.vue3.js +4 -0
  107. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  108. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +4 -4
  109. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  110. package/dist/components/Sidebar/SidebarListElement.vue3.js +4 -0
  111. package/dist/components/Sidebar/SidebarListElement.vue4.js +4 -0
  112. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +2 -2
  113. package/dist/components/Sidebar/index.d.ts +1 -1
  114. package/dist/components/TopNav/TopNavItem.vue.d.ts +5 -5
  115. package/dist/components/TopNav/TopNavItem.vue.js +1 -1
  116. package/dist/components/TopNav/TopNavItem.vue3.js +4 -0
  117. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +1 -1
  118. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  119. package/dist/components/ViewLayout/index.d.ts +1 -1
  120. package/dist/components/index.d.ts +3 -3
  121. package/dist/hooks/index.d.ts +5 -5
  122. package/dist/hooks/useSidebar.d.ts +1 -1
  123. package/dist/index.d.ts +5 -5
  124. package/dist/index.js +2 -2
  125. package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -2
  126. package/dist/layouts/App/ApiClientApp.vue2.js +4 -0
  127. package/dist/layouts/App/ApiClientApp.vue3.js +1 -1
  128. package/dist/layouts/App/create-api-client-app.d.ts +131 -101
  129. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  130. package/dist/layouts/App/create-api-client-app.js +1 -1
  131. package/dist/layouts/App/index.d.ts +2 -2
  132. package/dist/layouts/App/index.js +1 -1
  133. package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
  134. package/dist/layouts/Modal/ApiClientModal.vue3.js +4 -0
  135. package/dist/layouts/Modal/create-api-client-modal.d.ts +263 -203
  136. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  137. package/dist/layouts/Modal/index.d.ts +2 -2
  138. package/dist/layouts/Web/ApiClientWeb.vue2.js +4 -0
  139. package/dist/layouts/Web/ApiClientWeb.vue3.js +1 -1
  140. package/dist/layouts/Web/create-api-client-web.d.ts +131 -101
  141. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  142. package/dist/layouts/Web/create-api-client-web.js +1 -1
  143. package/dist/layouts/Web/index.d.ts +2 -2
  144. package/dist/layouts/Web/index.js +1 -1
  145. package/dist/libs/create-client.d.ts +131 -101
  146. package/dist/libs/create-client.d.ts.map +1 -1
  147. package/dist/libs/environment-parser.d.ts +1 -1
  148. package/dist/libs/find-request.d.ts +2 -2
  149. package/dist/libs/find-request.d.ts.map +1 -1
  150. package/dist/libs/get-request-uid-by-path-method.d.ts +1 -1
  151. package/dist/libs/hot-keys.d.ts +1 -1
  152. package/dist/libs/importers/index.d.ts +1 -1
  153. package/dist/libs/index.d.ts +16 -16
  154. package/dist/libs/local-storage.d.ts +1 -1
  155. package/dist/libs/send-request/create-request-operation.d.ts +3 -3
  156. package/dist/libs/send-request/create-request-operation.test.d.ts +9 -9
  157. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  158. package/dist/libs/send-request/index.d.ts +3 -3
  159. package/dist/plugins/hooks/usePluginManager.d.ts +1 -1
  160. package/dist/plugins/index.d.ts +2 -2
  161. package/dist/router.d.ts +1 -1
  162. package/dist/routes.d.ts +38 -38
  163. package/dist/store/active-entities.d.ts +9 -9
  164. package/dist/store/active-entities.d.ts.map +1 -1
  165. package/dist/store/events.d.ts +8 -8
  166. package/dist/store/import-spec.d.ts +1 -1
  167. package/dist/store/index.d.ts +2 -2
  168. package/dist/store/request-example.d.ts +70 -70
  169. package/dist/store/request-example.d.ts.map +1 -1
  170. package/dist/store/requests.d.ts +23 -23
  171. package/dist/store/requests.d.ts.map +1 -1
  172. package/dist/store/security-schemes.d.ts +32 -2
  173. package/dist/store/security-schemes.d.ts.map +1 -1
  174. package/dist/store/store.d.ts +129 -99
  175. package/dist/store/store.d.ts.map +1 -1
  176. package/dist/style.css +1 -1
  177. package/dist/style.css.js +4 -0
  178. package/dist/views/Collection/CollectionAuthentication.vue.js +1 -1
  179. package/dist/views/Collection/CollectionAuthentication.vue3.js +4 -0
  180. package/dist/views/Collection/CollectionEnvironment.vue.js +1 -1
  181. package/dist/views/Collection/CollectionEnvironment.vue3.js +4 -0
  182. package/dist/views/Collection/CollectionInfoForm.vue.js +1 -1
  183. package/dist/views/Collection/CollectionInfoForm.vue3.js +4 -0
  184. package/dist/views/Collection/CollectionSettings.vue.js +1 -1
  185. package/dist/views/Collection/CollectionSettings.vue3.js +4 -0
  186. package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +1 -1
  187. package/dist/views/Collection/components/EnvironmentForm.vue.js +1 -1
  188. package/dist/views/Collection/components/EnvironmentForm.vue3.js +4 -0
  189. package/dist/views/Collection/components/MarkdownInput.vue.d.ts +2 -2
  190. package/dist/views/Collection/components/MarkdownInput.vue.js +1 -1
  191. package/dist/views/Collection/components/MarkdownInput.vue3.js +4 -0
  192. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +1 -1
  193. package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +1 -1
  194. package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts +1 -1
  195. package/dist/views/Components/CodeSnippet/index.d.ts +4 -4
  196. package/dist/views/Cookies/CookieModal.vue.d.ts +3 -3
  197. package/dist/views/Cookies/CookieModal.vue.js +1 -1
  198. package/dist/views/Cookies/CookieModal.vue3.js +4 -0
  199. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +2 -2
  200. package/dist/views/Environment/EnvironmentColors.vue.d.ts +1 -1
  201. package/dist/views/Environment/EnvironmentModal.vue.d.ts +3 -3
  202. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -2
  203. package/dist/views/Environment/handle-drag.d.ts +1 -1
  204. package/dist/views/Request/Request.vue.d.ts +3 -3
  205. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  206. package/dist/views/Request/Request.vue.js +3 -3
  207. package/dist/views/Request/Request.vue2.js +22 -22
  208. package/dist/views/Request/Request.vue3.js +4 -0
  209. package/dist/views/Request/RequestRoot.vue.d.ts +2 -2
  210. package/dist/views/Request/RequestRoot.vue.js +1 -1
  211. package/dist/views/Request/RequestRoot.vue3.js +4 -0
  212. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -2
  213. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +1 -1
  214. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
  215. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +1 -1
  216. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  217. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +3 -3
  218. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +115 -103
  219. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue3.js +4 -0
  220. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +1 -1
  221. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  222. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +3 -3
  223. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +35 -33
  224. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue3.js +4 -0
  225. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +5 -5
  226. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  227. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +1 -1
  228. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  229. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +239 -5
  230. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +2 -244
  231. package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +2 -2
  232. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
  233. package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
  234. package/dist/views/Request/RequestSection/RequestBody.vue3.js +4 -0
  235. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +1 -1
  236. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +1 -1
  237. package/dist/views/Request/RequestSection/RequestCodeExample.vue3.js +4 -0
  238. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
  239. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
  240. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
  241. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  242. package/dist/views/Request/RequestSection/RequestSection.vue3.js +4 -0
  243. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +9 -9
  244. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  245. package/dist/views/Request/RequestSection/RequestTable.vue3.js +4 -0
  246. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
  247. package/dist/views/Request/RequestSection/RequestTableTooltip.vue3.js +4 -0
  248. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +10 -10
  249. package/dist/views/Request/RequestSection/helpers/update-scheme.d.ts +1 -1
  250. package/dist/views/Request/RequestSection/index.d.ts +2 -2
  251. package/dist/views/Request/RequestSidebar.vue.d.ts +3 -3
  252. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  253. package/dist/views/Request/RequestSidebar.vue3.js +4 -0
  254. package/dist/views/Request/RequestSidebarItem.vue.d.ts +14 -14
  255. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  256. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  257. package/dist/views/Request/RequestSidebarItem.vue3.js +4 -0
  258. package/dist/views/Request/RequestSidebarItem.vue4.js +4 -0
  259. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +5 -5
  260. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  261. package/dist/views/Request/RequestSidebarItemMenu.vue3.js +4 -0
  262. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +3 -3
  263. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  264. package/dist/views/Request/RequestSubpageHeader.vue3.js +4 -0
  265. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +1 -1
  266. package/dist/views/Request/ResponseSection/ResponseBody.vue3.js +4 -0
  267. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +1 -1
  268. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
  269. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue3.js +4 -0
  270. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +1 -1
  271. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue3.js +4 -0
  272. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +1 -1
  273. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue2.js +4 -0
  274. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue3.js +1 -1
  275. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  276. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  277. package/dist/views/Request/ResponseSection/ResponseEmpty.vue3.js +4 -0
  278. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +1 -1
  279. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue3.js +4 -0
  280. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
  281. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
  282. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +1 -1
  283. package/dist/views/Request/ResponseSection/ResponseSection.vue3.js +4 -0
  284. package/dist/views/Request/ResponseSection/index.d.ts +2 -2
  285. package/dist/views/Request/components/index.d.ts +1 -1
  286. package/dist/views/Request/consts/index.d.ts +3 -3
  287. package/dist/views/Request/consts/new-auth-options.d.ts +4 -6
  288. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
  289. package/dist/views/Request/handle-drag.d.ts +2 -2
  290. package/dist/views/Request/libs/auth.d.ts +1 -1
  291. package/dist/views/Request/libs/index.d.ts +3 -3
  292. package/dist/views/Request/libs/oauth2.d.ts +1 -1
  293. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  294. package/dist/views/Request/libs/oauth2.js +51 -51
  295. package/dist/views/Request/libs/watch-mode.d.ts +2 -2
  296. package/dist/vitest.setup.d.ts +21 -7
  297. package/dist/vitest.setup.d.ts.map +1 -1
  298. package/package.json +18 -18
@@ -1,10 +1,11 @@
1
- import { defineComponent as w, computed as n, watch as h, createBlock as b, createElementBlock as y, openBlock as m, unref as i, withCtx as p, createVNode as S, createElementVNode as s, toDisplayString as g } from "vue";
2
- import { ScalarListbox as k, ScalarButton as U, ScalarIcon as V } from "@scalar/components";
1
+ import { defineComponent as w, computed as n, watch as b, createBlock as h, createElementBlock as y, openBlock as m, unref as i, withCtx as p, createVNode as g, createElementVNode as s, toDisplayString as S } from "vue";
2
+ import { ScalarListbox as k, ScalarButton as U } from "@scalar/components";
3
+ import { ScalarIconCaretDown as V } from "@scalar/icons";
3
4
  import { useWorkspace as B } from "../../store/store.js";
4
5
  const W = { class: "overflow-x-auto" }, z = {
5
6
  key: 1,
6
7
  class: "text-c-1 flex h-auto w-full items-center gap-0.75 rounded-b-lg px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"
7
- }, C = { class: "overflow-x-auto" }, j = /* @__PURE__ */ w({
8
+ }, C = { class: "overflow-x-auto" }, I = /* @__PURE__ */ w({
8
9
  __name: "ServerSelector",
9
10
  props: {
10
11
  collection: {},
@@ -12,48 +13,48 @@ const W = { class: "overflow-x-auto" }, z = {
12
13
  target: {}
13
14
  },
14
15
  emits: ["updateServer"],
15
- setup(l, { emit: x }) {
16
- const u = x, { servers: o, collectionMutators: c } = B(), a = n(
16
+ setup(o, { emit: x }) {
17
+ const u = x, { servers: l, collectionMutators: c } = B(), a = n(
17
18
  () => {
18
19
  var t;
19
- return (t = l.collection) == null ? void 0 : t.servers.map((e) => {
20
+ return (t = o.collection) == null ? void 0 : t.servers.map((e) => {
20
21
  var r;
21
22
  return {
22
23
  id: e,
23
- label: ((r = o[e]) == null ? void 0 : r.url) ?? "Unknown server"
24
+ label: ((r = l[e]) == null ? void 0 : r.url) ?? "Unknown server"
24
25
  };
25
26
  });
26
27
  }
27
28
  ), d = n({
28
- get: () => l.server ? a.value.find((t) => t.id === l.server.uid) : void 0,
29
+ get: () => o.server ? a.value.find((t) => t.id === o.server.uid) : void 0,
29
30
  set: (t) => {
30
31
  var r;
31
32
  if (!t)
32
33
  return;
33
34
  c.edit(
34
- l.collection.uid,
35
+ o.collection.uid,
35
36
  "selectedServerUid",
36
37
  t.id
37
38
  );
38
- const e = (r = o[t.id]) == null ? void 0 : r.url;
39
+ const e = (r = l[t.id]) == null ? void 0 : r.url;
39
40
  e && u("updateServer", e);
40
41
  }
41
42
  });
42
- h(
43
- () => l.collection,
43
+ b(
44
+ () => o.collection,
44
45
  (t) => {
45
46
  var r, f;
46
47
  if (!t || t.selectedServerUid)
47
48
  return;
48
- const e = (r = l.collection.servers) == null ? void 0 : r[0];
49
- e && (c.edit(l.collection.uid, "selectedServerUid", e), (f = o[e]) != null && f.url && u("updateServer", o[e].url));
49
+ const e = (r = o.collection.servers) == null ? void 0 : r[0];
50
+ e && (c.edit(o.collection.uid, "selectedServerUid", e), (f = l[e]) != null && f.url && u("updateServer", l[e].url));
50
51
  }
51
52
  );
52
53
  const v = n(() => {
53
54
  var t, e, r;
54
- return (e = (t = l.server) == null ? void 0 : t.url) != null && e.endsWith("/") ? l.server.url.slice(0, -1) : ((r = l.server) == null ? void 0 : r.url) || "";
55
+ return (e = (t = o.server) == null ? void 0 : t.url) != null && e.endsWith("/") ? o.server.url.slice(0, -1) : ((r = o.server) == null ? void 0 : r.url) || "";
55
56
  });
56
- return (t, e) => a.value.length > 1 ? (m(), b(i(k), {
57
+ return (t, e) => a.value.length > 1 ? (m(), h(i(k), {
57
58
  key: 0,
58
59
  modelValue: d.value,
59
60
  "onUpdate:modelValue": e[0] || (e[0] = (r) => d.value = r),
@@ -61,20 +62,20 @@ const W = { class: "overflow-x-auto" }, z = {
61
62
  placement: "bottom-start",
62
63
  resize: "",
63
64
  target: t.target,
64
- teleport: `#${t.target}`
65
+ teleport: `#${t.target}`,
66
+ class: "group"
65
67
  }, {
66
68
  default: p(() => [
67
- S(i(U), {
68
- class: "bg-b-1 text-c-1 h-auto w-full justify-start gap-0.75 overflow-x-auto rounded-t-none rounded-b-lg px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",
69
+ g(i(U), {
70
+ class: "bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-lg px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",
69
71
  variant: "ghost"
70
72
  }, {
71
73
  default: p(() => [
72
74
  e[1] || (e[1] = s("span", { class: "sr-only" }, "Server:", -1)),
73
- s("span", W, g(v.value), 1),
74
- S(i(V), {
75
- class: "text-c-2",
76
- icon: "ChevronDown",
77
- size: "sm"
75
+ s("span", W, S(v.value), 1),
76
+ g(i(V), {
77
+ weight: "bold",
78
+ class: "text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100"
78
79
  })
79
80
  ]),
80
81
  _: 1,
@@ -84,10 +85,10 @@ const W = { class: "overflow-x-auto" }, z = {
84
85
  _: 1
85
86
  }, 8, ["modelValue", "options", "target", "teleport"])) : (m(), y("div", z, [
86
87
  e[2] || (e[2] = s("span", { class: "sr-only" }, "Server:", -1)),
87
- s("span", C, g(v.value), 1)
88
+ s("span", C, S(v.value), 1)
88
89
  ]));
89
90
  }
90
91
  });
91
92
  export {
92
- j as default
93
+ I as default
93
94
  };
@@ -10,7 +10,7 @@ type __VLS_Props = {
10
10
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
11
  "update:variable": (name: string, value: string) => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
- "onUpdate:variable"?: (name: string, value: string) => any;
13
+ "onUpdate:variable"?: ((name: string, value: string) => any) | undefined;
14
14
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  export default _default;
16
16
  //# sourceMappingURL=ServerVariablesForm.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesForm.vue"],"names":[],"mappings":"AAmEA,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACrB,MAAM,2BAA2B,CAAA;AAIlC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACvC,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;CAChC,CAAC;;;;;;AA2IF,wBAOG"}
1
+ {"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesForm.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACrB,MAAM,2BAA2B,CAAA;AAIlC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACvC,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;CAChC,CAAC;;;;;;AA6IF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as g, createElementBlock as p, createCommentVNode as y, openBlock as o, Fragment as h, renderList as k, normalizeClass as C, createElementVNode as V, createBlock as f, toDisplayString as B } from "vue";
2
2
  import S from "./ServerVariablesSelect.vue.js";
3
3
  import $ from "./ServerVariablesTextbox.vue.js";
4
- const j = { class: "mr-1.5 flex items-center py-1.5 pl-3 group-has-[input]/label:mr-0 after:content-[':']" }, O = /* @__PURE__ */ g({
4
+ const j = { class: "flex items-center py-1.5 pl-3 group-has-[input]/label:mr-0 after:content-[':']" }, O = /* @__PURE__ */ g({
5
5
  __name: "ServerVariablesForm",
6
6
  props: {
7
7
  variables: {},
@@ -23,7 +23,10 @@ const j = { class: "mr-1.5 flex items-center py-1.5 pl-3 group-has-[input]/label
23
23
  var a, u, c, b, m;
24
24
  return o(), p("label", {
25
25
  key: l,
26
- class: C(["group/label flex w-full", e.layout === "reference" && "rounded-b-lg border-x border-b"])
26
+ class: C([
27
+ "group/label flex w-full",
28
+ e.layout === "reference" && "items-center border-x border-b last:rounded-b-lg"
29
+ ])
27
30
  }, [
28
31
  V("span", j, B(l), 1),
29
32
  (c = (u = (a = e.variables) == null ? void 0 : a[l]) == null ? void 0 : u.enum) != null && c.length ? (o(), f(S, {
@@ -6,7 +6,7 @@ type __VLS_Props = {
6
6
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
7
  change: (v: string) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onChange?: (v: string) => any;
9
+ onChange?: ((v: string) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=ServerVariablesSelect.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAC;;;;;;AA2GF,wBAQG"}
1
+ {"version":3,"file":"ServerVariablesSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"names":[],"mappings":"AA8DA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAC;;;;;;AAkHF,wBAQG"}
@@ -1,9 +1,10 @@
1
- import { defineComponent as v, computed as s, createBlock as f, openBlock as r, unref as a, withCtx as c, createVNode as i, createElementVNode as S, normalizeClass as V, createElementBlock as h, createCommentVNode as g, createTextVNode as C, toDisplayString as k } from "vue";
2
- import { ScalarListbox as B, ScalarButton as N, ScalarIcon as _ } from "@scalar/components";
3
- const b = {
1
+ import { defineComponent as f, computed as r, createBlock as v, openBlock as s, unref as t, withCtx as c, createVNode as i, createElementVNode as g, normalizeClass as S, createElementBlock as V, createCommentVNode as b, createTextVNode as h, toDisplayString as C } from "vue";
2
+ import { ScalarListbox as k, ScalarButton as x } from "@scalar/components";
3
+ import { ScalarIconCaretDown as B } from "@scalar/icons";
4
+ const N = {
4
5
  key: 0,
5
6
  class: "sr-only"
6
- }, x = /* @__PURE__ */ v({
7
+ }, z = /* @__PURE__ */ f({
7
8
  __name: "ServerVariablesSelect",
8
9
  props: {
9
10
  enum: {},
@@ -11,35 +12,34 @@ const b = {
11
12
  controls: {}
12
13
  },
13
14
  emits: ["change"],
14
- setup(m, { emit: u }) {
15
- const o = m, d = u, t = s(
16
- () => o.enum.map((e) => ({ id: e, label: e }))
17
- ), l = s({
18
- get: () => t.value.find((e) => e.id === o.value),
15
+ setup(u, { emit: m }) {
16
+ const a = u, d = m, o = r(
17
+ () => a.enum.map((e) => ({ id: e, label: e }))
18
+ ), n = r({
19
+ get: () => o.value.find((e) => e.id === a.value),
19
20
  set: (e) => d("change", (e == null ? void 0 : e.id) ?? "")
20
21
  });
21
- return (e, n) => (r(), f(a(B), {
22
- modelValue: l.value,
23
- "onUpdate:modelValue": n[0] || (n[0] = (p) => l.value = p),
24
- options: t.value
22
+ return (e, l) => (s(), v(t(k), {
23
+ modelValue: n.value,
24
+ "onUpdate:modelValue": l[0] || (l[0] = (p) => n.value = p),
25
+ options: o.value
25
26
  }, {
26
27
  default: c(() => [
27
- i(a(N), {
28
+ i(t(x), {
28
29
  "aria-controls": e.controls,
29
- class: "h-8 p-1.5 font-normal",
30
+ class: "group/button h-8 gap-1.5 p-1.5 text-base font-normal",
30
31
  variant: "ghost"
31
32
  }, {
32
33
  default: c(() => [
33
- S("span", {
34
- class: V({ "text-c-1": e.value })
34
+ g("span", {
35
+ class: S({ "text-c-1": e.value })
35
36
  }, [
36
- e.value ? (r(), h("span", b, " Selected: ")) : g("", !0),
37
- C(" " + k(e.value || "Select value"), 1)
37
+ e.value ? (s(), V("span", N, " Selected: ")) : b("", !0),
38
+ h(" " + C(e.value || "Select value"), 1)
38
39
  ], 2),
39
- i(a(_), {
40
- class: "ml-1",
41
- icon: "ChevronDown",
42
- size: "sm"
40
+ i(t(B), {
41
+ weight: "bold",
42
+ class: "mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180"
43
43
  })
44
44
  ]),
45
45
  _: 1
@@ -50,5 +50,5 @@ const b = {
50
50
  }
51
51
  });
52
52
  export {
53
- x as default
53
+ z as default
54
54
  };
@@ -5,7 +5,7 @@ type __VLS_Props = {
5
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
6
  change: (v: string) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- onChange?: (v: string) => any;
8
+ onChange?: ((v: string) => any) | undefined;
9
9
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLInputElement>;
10
10
  export default _default;
11
11
  //# sourceMappingURL=ServerVariablesTextbox.vue.d.ts.map
@@ -1,4 +1,4 @@
1
- export { default as ServerVariablesForm } from './ServerVariablesForm.vue';
2
- export { default as ServerDropdown } from './ServerDropdown.vue';
3
- export { default as ServerSelector } from './ServerSelector.vue';
1
+ export { default as ServerVariablesForm } from './ServerVariablesForm.vue.js';
2
+ export { default as ServerDropdown } from './ServerDropdown.vue.js';
3
+ export { default as ServerSelector } from './ServerSelector.vue.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import o from "./DownloadAppButton.vue2.js";
2
- /* empty css */
2
+ import "./DownloadAppButton.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cb45fa05"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const _ = "";
2
+ export {
3
+ _ as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAsCA,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAMpC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AAUF,iBAAS,cAAc;WAkFT,OAAO,IAA6B;;sBATxB,GAAG;yBACC,GAAG;;;;EAahC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAsCA,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAMpC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AAUF,iBAAS,cAAc;WAkFT,OAAO,IAA6B;;sBATxB,GAAG;yBACC,GAAG;;;;EAahC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavRouterLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavRouterLink.vue"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAM9D,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,IAAI,CAAA;IACV,EAAE,EAAE,gBAAgB,CAAA;IACpB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AAQF,iBAAS,cAAc;WA0CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SideNavRouterLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavRouterLink.vue"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAM9D,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,IAAI,CAAA;IACV,EAAE,EAAE,gBAAgB,CAAA;IACpB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AAQF,iBAAS,cAAc;WA0CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -6,8 +6,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
6
6
  delete: () => any;
7
7
  close: () => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onDelete?: () => any;
10
- onClose?: () => any;
9
+ onDelete?: (() => any) | undefined;
10
+ onClose?: (() => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=DeleteSidebarListElement.vue.d.ts.map
@@ -6,8 +6,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
6
6
  close: () => any;
7
7
  edit: (newName: string, newIcon: string) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onClose?: () => any;
10
- onEdit?: (newName: string, newIcon: string) => any;
9
+ onClose?: (() => any) | undefined;
10
+ onEdit?: ((newName: string, newIcon: string) => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=EditSidebarListCollection.vue.d.ts.map
@@ -5,8 +5,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
5
5
  close: () => any;
6
6
  edit: (newName: string) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- onClose?: () => any;
9
- onEdit?: (newName: string) => any;
8
+ onClose?: (() => any) | undefined;
9
+ onEdit?: ((newName: string) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=EditSidebarListElement.vue.d.ts.map
@@ -15,8 +15,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
15
15
  submit: () => any;
16
16
  cancel: () => any;
17
17
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
- onSubmit?: () => any;
19
- onCancel?: () => any;
18
+ onSubmit?: (() => any) | undefined;
19
+ onCancel?: (() => any) | undefined;
20
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
21
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
22
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarListElementForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"names":[],"mappings":"AAmDA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAeF,iBAAS,cAAc;WAoGT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;8FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SidebarListElementForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"names":[],"mappings":"AAmDA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAeF,iBAAS,cAAc;WAoGT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;8FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import o from "./SidebarListElementForm.vue2.js";
2
- /* empty css */
2
+ import "./SidebarListElementForm.vue3.js";
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a93bfefe"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAqJA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAyDF,iBAAS,cAAc;WAoHT,OAAO,IAA6B;;wBAZtB,GAAG;wBACH,GAAG;wBAEH,GAAG;yBADF,GAAG;;;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAqJA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAyDF,iBAAS,cAAc;WAoHT,OAAO,IAA6B;;wBAZtB,GAAG;wBACH,GAAG;wBAEH,GAAG;yBADF,GAAG;;;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import o from "./Sidebar.vue2.js";
2
- /* empty css */
2
+ import "./Sidebar.vue3.js";
3
3
  import a from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-72824faa"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AAcF,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AAcF,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -34,10 +34,10 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
34
34
  colorModal: (id: string) => any;
35
35
  rename: (id: string) => any;
36
36
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
37
- onDelete?: (id: string) => any;
38
- onOnDragEnd?: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => any;
39
- onColorModal?: (id: string) => any;
40
- onRename?: (id: string) => any;
37
+ onDelete?: ((id: string) => any) | undefined;
38
+ onOnDragEnd?: ((draggingItem: DraggingItem, hoveredItem: HoveredItem) => any) | undefined;
39
+ onColorModal?: ((id: string) => any) | undefined;
40
+ onRename?: ((id: string) => any) | undefined;
41
41
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
42
42
  export default _default;
43
43
  //# sourceMappingURL=SidebarListElement.vue.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import t from "./SidebarListElement.vue2.js";
2
- /* empty css */
3
- /* empty css */
2
+ import "./SidebarListElement.vue3.js";
3
+ import "./SidebarListElement.vue4.js";
4
4
  import o from "../../_virtual/_plugin-vue_export-helper.js";
5
5
  const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-0b6c70e4"]]);
6
6
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -13,8 +13,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
13
13
  delete: (id: string) => any;
14
14
  rename: (id: string) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onDelete?: (id: string) => any;
17
- onRename?: (id: string) => any;
16
+ onDelete?: ((id: string) => any) | undefined;
17
+ onRename?: ((id: string) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  export default _default;
20
20
  //# sourceMappingURL=SidebarListElementActions.vue.d.ts.map
@@ -1,3 +1,3 @@
1
- import Sidebar from './Sidebar.vue';
1
+ import Sidebar from './Sidebar.vue.js';
2
2
  export { Sidebar };
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -13,11 +13,11 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
13
13
  copyUrl: () => any;
14
14
  closeOtherTabs: () => any;
15
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onClick?: () => any;
17
- onClose?: () => any;
18
- onNewTab?: () => any;
19
- onCopyUrl?: () => any;
20
- onCloseOtherTabs?: () => any;
16
+ onClick?: (() => any) | undefined;
17
+ onClose?: (() => any) | undefined;
18
+ onNewTab?: (() => any) | undefined;
19
+ onCopyUrl?: (() => any) | undefined;
20
+ onCloseOtherTabs?: (() => any) | undefined;
21
21
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  export default _default;
23
23
  //# sourceMappingURL=TopNavItem.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import o from "./TopNavItem.vue2.js";
2
- /* empty css */
2
+ import "./TopNavItem.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5a1bd09b"]]);
5
5
  export {
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -23,7 +23,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
23
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
24
24
  "update:modelValue": (v: boolean) => any;
25
25
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- "onUpdate:modelValue"?: (v: boolean) => any;
26
+ "onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
27
27
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
29
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayoutCollapse.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutCollapse.vue"],"names":[],"mappings":"AA2GA,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;CAChC,CAAC;AA+BF,iBAAS,cAAc;WAoLT,OAAO,IAA6B;;;;YAVtB,GAAG;;;YACD,GAAG;;;YACH,GAAG;;;;EAahC;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ViewLayoutCollapse.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutCollapse.vue"],"names":[],"mappings":"AA2GA,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;CAChC,CAAC;AA+BF,iBAAS,cAAc;WAoLT,OAAO,IAA6B;;;;YAVtB,GAAG;;;YACD,GAAG;;;YACH,GAAG;;;;EAahC;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,2 +1,2 @@
1
- export { default as ViewLayoutCollapse } from './ViewLayoutCollapse.vue';
1
+ export { default as ViewLayoutCollapse } from './ViewLayoutCollapse.vue.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- export * from './AddressBar';
2
- export * from './Sidebar';
3
- export { default as OpenApiClientButton } from './OpenApiClientButton.vue';
1
+ export * from './AddressBar/index.js';
2
+ export * from './Sidebar/index.js';
3
+ export { default as OpenApiClientButton } from './OpenApiClientButton.vue.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- export * from './useKeyMap';
2
- export * from './useFileDialog';
3
- export * from './useLayout';
4
- export { useResponseBody } from './useResponseBody';
5
- export { useSidebar } from './useSidebar';
1
+ export * from './useKeyMap.js';
2
+ export * from './useFileDialog.js';
3
+ export * from './useLayout.js';
4
+ export { useResponseBody } from './useResponseBody.js';
5
+ export { useSidebar } from './useSidebar.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ClientLayout } from '../hooks/useLayout';
1
+ import type { ClientLayout } from '../hooks/useLayout.js';
2
2
  import { type InjectionKey } from 'vue';
3
3
  type CollapsedSidebarFolders = Record<string, boolean>;
4
4
  /** Creates the sidebar state so that it can be unique across instances of the client */
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import './style.css';
2
- export * from './layouts/Modal';
3
- export * from './layouts/App';
4
- export { useWorkspace } from './store/store';
5
- export { createModalRouter, createWebHashRouter, createWebHistoryRouter, } from './router';
1
+ import './style.css.js';
2
+ export * from './layouts/Modal/index.js';
3
+ export * from './layouts/App/index.js';
4
+ export { useWorkspace } from './store/store.js';
5
+ export { createModalRouter, createWebHashRouter, createWebHistoryRouter, } from './router.js';
6
6
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- /* empty css */
1
+ import "./style.css.js";
2
2
  import { useWorkspace as p } from "./store/store.js";
3
3
  import { createModalRouter as i, createWebHashRouter as l, createWebHistoryRouter as c } from "./router.js";
4
4
  import { default as m } from "./layouts/App/ApiClientApp.vue.js";
5
- /* empty css */
5
+ import "./layouts/App/ApiClientApp.vue2.js";
6
6
  import { default as d } from "./layouts/Modal/ApiClientModal.vue.js";
7
7
  import { createApiClientModal as s, createApiClientModalSync as u } from "./layouts/Modal/create-api-client-modal.js";
8
8
  import { createApiClientApp as C } from "./layouts/App/create-api-client-app.js";
@@ -4,10 +4,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
4
4
  uid: string;
5
5
  }) => any;
6
6
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
7
- onNewTab?: (item: {
7
+ onNewTab?: ((item: {
8
8
  name: string;
9
9
  uid: string;
10
- }) => any;
10
+ }) => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=ApiClientApp.vue.d.ts.map
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import o from "./ApiClientApp.vue.js";
2
- /* empty css */
2
+ import "./ApiClientApp.vue2.js";
3
3
  export {
4
4
  o as default
5
5
  };