@scalar/api-client 2.1.21 → 2.1.22

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