@scalar/api-client 2.2.51 → 2.2.53

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 (404) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +30 -30
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  7. package/dist/components/AddressBar/AddressBarHistory.vue2.js +22 -22
  8. package/dist/components/CodeInput/CodeInput.vue.d.ts +3 -1
  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.vue2.js +38 -38
  12. package/dist/components/CommandPalette/CommandActionForm.vue.js +2 -2
  13. package/dist/components/CommandPalette/CommandActionInput.vue.js +1 -1
  14. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  15. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +13 -13
  16. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  17. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +143 -114
  18. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  19. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +59 -51
  20. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
  21. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  22. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
  23. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +85 -82
  24. package/dist/components/CommandPalette/WatchModeToggle.vue.js +2 -2
  25. package/dist/components/ContextBar.vue.js +2 -2
  26. package/dist/components/ContextBar.vue2.js +2 -2
  27. package/dist/components/DataTable/DataTable.vue.js +1 -1
  28. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  29. package/dist/components/DataTable/DataTableCell.vue.js +11 -11
  30. package/dist/components/DataTable/DataTableCheckbox.vue.js +3 -3
  31. package/dist/components/DataTable/DataTableInput.vue.d.ts +175 -6
  32. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  33. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  34. package/dist/components/DataTable/DataTableInput.vue2.js +57 -48
  35. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  36. package/dist/components/DataTable/DataTableInputSelect.vue.js +1 -1
  37. package/dist/components/DataTable/DataTableText.vue.js +1 -1
  38. package/dist/components/EmptyState.vue.js +1 -1
  39. package/dist/components/EmptyState.vue2.js +4 -4
  40. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  41. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +13 -13
  42. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  43. package/dist/components/Form/Form.vue.js +56 -36
  44. package/dist/components/Form/LabelInput.vue.d.ts +14 -0
  45. package/dist/components/Form/LabelInput.vue.d.ts.map +1 -0
  46. package/dist/components/Form/LabelInput.vue.js +7 -0
  47. package/dist/components/Form/LabelInput.vue2.js +42 -0
  48. package/dist/components/HelpfulLink.vue.js +1 -1
  49. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +1 -1
  50. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  51. package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
  52. package/dist/components/HttpMethod/HttpMethod.vue2.js +1 -1
  53. package/dist/components/IconSelector.vue.js +3 -3
  54. package/dist/components/ImportCollection/DropEventListener.vue.js +3 -3
  55. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  56. package/dist/components/ImportCollection/ImportNowButton.vue.js +8 -8
  57. package/dist/components/ImportCollection/IntegrationLogo.vue.js +1 -1
  58. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +1 -1
  59. package/dist/components/ImportCollection/PrefetchError.vue.js +1 -1
  60. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  61. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +15 -15
  62. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  63. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +2 -2
  64. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts.map +1 -1
  65. package/dist/components/ImportCurl/ImportCurlModal.vue.js +1 -1
  66. package/dist/components/ImportCurl/ImportCurlModal.vue2.js +13 -13
  67. package/dist/components/ScalarAsciiArt.vue.js +3 -3
  68. package/dist/components/Search/useSearch.d.ts.map +1 -1
  69. package/dist/components/Search/useSearch.js +5 -13
  70. package/dist/components/Server/ServerDropdown.vue.d.ts +0 -1
  71. package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
  72. package/dist/components/Server/ServerDropdown.vue.js +40 -57
  73. package/dist/components/Server/ServerDropdownItem.vue.d.ts +0 -1
  74. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  75. package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
  76. package/dist/components/Server/ServerDropdownItem.vue2.js +19 -20
  77. package/dist/components/Server/ServerSelector.vue.d.ts +12 -0
  78. package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -0
  79. package/dist/components/Server/ServerSelector.vue.js +85 -0
  80. package/dist/components/Server/ServerSelector.vue2.js +4 -0
  81. package/dist/components/Server/ServerVariablesForm.vue.d.ts +1 -1
  82. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
  83. package/dist/components/Server/ServerVariablesForm.vue.js +1 -1
  84. package/dist/components/Server/ServerVariablesSelect.vue.js +1 -1
  85. package/dist/components/Server/ServerVariablesTextbox.vue.js +1 -1
  86. package/dist/components/Server/index.d.ts +1 -0
  87. package/dist/components/Server/index.d.ts.map +1 -1
  88. package/dist/components/Server/index.js +6 -4
  89. package/dist/components/Server/types.d.ts.map +1 -1
  90. package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -1
  91. package/dist/components/SideNav/DownloadAppButton.vue.js +2 -2
  92. package/dist/components/SideNav/DownloadAppButton.vue2.js +6 -6
  93. package/dist/components/SideNav/SideHelp.vue.js +12 -12
  94. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  95. package/dist/components/SideNav/SideNav.vue.js +73 -58
  96. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  97. package/dist/components/SideNav/SideNavLink.vue.js +3 -3
  98. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +2 -2
  99. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
  100. package/dist/components/SideNav/SideNavRouterLink.vue.js +17 -28
  101. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  102. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +1 -1
  103. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
  104. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +12 -12
  105. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
  106. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +4 -4
  107. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +2 -2
  108. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +3 -3
  109. package/dist/components/Sidebar/Sidebar.vue.d.ts +1 -4
  110. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  111. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  112. package/dist/components/Sidebar/Sidebar.vue2.js +34 -34
  113. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  114. package/dist/components/Sidebar/SidebarButton.vue.js +6 -6
  115. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +2 -2
  116. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  117. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  118. package/dist/components/Sidebar/SidebarListElement.vue2.js +36 -46
  119. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  120. package/dist/components/Sidebar/SidebarListElementActions.vue.js +7 -7
  121. package/dist/components/Sidebar/SidebarToggle.vue.d.ts +1 -8
  122. package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
  123. package/dist/components/Sidebar/SidebarToggle.vue.js +20 -21
  124. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  125. package/dist/components/TopNav/TopNav.vue.js +104 -85
  126. package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
  127. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  128. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  129. package/dist/components/TopNav/TopNavItem.vue2.js +1 -1
  130. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  131. package/dist/components/ViewLayout/ViewLayout.vue.js +16 -10
  132. package/dist/components/ViewLayout/ViewLayout.vue2.js +4 -0
  133. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  134. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +29 -29
  135. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -1
  136. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  137. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +20 -13
  138. package/dist/components/ViewLayout/ViewLayoutSection.vue2.js +4 -0
  139. package/dist/constants.d.ts +16 -12
  140. package/dist/constants.d.ts.map +1 -1
  141. package/dist/constants.js +35 -6
  142. package/dist/hooks/index.d.ts +0 -1
  143. package/dist/hooks/index.d.ts.map +1 -1
  144. package/dist/hooks/index.js +5 -7
  145. package/dist/hooks/useFileDialog.d.ts +1 -1
  146. package/dist/hooks/useFileDialog.d.ts.map +1 -1
  147. package/dist/hooks/useFileDialog.js +1 -6
  148. package/dist/hooks/useResponseBody.d.ts.map +1 -1
  149. package/dist/hooks/useResponseBody.js +3 -9
  150. package/dist/hooks/useSidebar.d.ts +19 -2
  151. package/dist/hooks/useSidebar.d.ts.map +1 -1
  152. package/dist/hooks/useSidebar.js +25 -9
  153. package/dist/hooks/useSidebar.test.d.ts +2 -0
  154. package/dist/hooks/useSidebar.test.d.ts.map +1 -0
  155. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  156. package/dist/layouts/App/ApiClientApp.vue.js +41 -35
  157. package/dist/layouts/App/MainLayout.vue.js +4 -4
  158. package/dist/layouts/App/create-api-client-app.d.ts +207 -255
  159. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  160. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  161. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  162. package/dist/layouts/Modal/ApiClientModal.vue2.js +8 -8
  163. package/dist/layouts/Modal/create-api-client-modal.d.ts +414 -510
  164. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  165. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  166. package/dist/layouts/Web/ApiClientWeb.vue.js +39 -33
  167. package/dist/layouts/Web/create-api-client-web.d.ts +207 -255
  168. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  169. package/dist/libs/create-client.d.ts +200 -248
  170. package/dist/libs/create-client.d.ts.map +1 -1
  171. package/dist/libs/create-client.js +79 -63
  172. package/dist/libs/errors.d.ts.map +1 -1
  173. package/dist/libs/extractAttachmentFilename.d.ts.map +1 -1
  174. package/dist/libs/extractAttachmentFilename.js +1 -3
  175. package/dist/libs/find-request.d.ts.map +1 -1
  176. package/dist/libs/getOpenApiDocumentDetails.d.ts.map +1 -1
  177. package/dist/libs/importers/curl.d.ts.map +1 -1
  178. package/dist/libs/importers/curl.js +2 -12
  179. package/dist/libs/isUrl.d.ts.map +1 -1
  180. package/dist/libs/local-storage.d.ts.map +1 -1
  181. package/dist/libs/local-storage.js +1 -9
  182. package/dist/libs/normalize-headers.d.ts.map +1 -1
  183. package/dist/libs/normalize-headers.js +2 -6
  184. package/dist/libs/parse-curl.d.ts.map +1 -1
  185. package/dist/libs/parse-curl.js +1 -5
  186. package/dist/libs/postman.d.ts.map +1 -1
  187. package/dist/libs/send-request/create-fetch-body.d.ts +1 -1
  188. package/dist/libs/send-request/create-fetch-body.d.ts.map +1 -1
  189. package/dist/libs/send-request/create-fetch-body.js +1 -2
  190. package/dist/libs/send-request/create-fetch-headers.d.ts.map +1 -1
  191. package/dist/libs/send-request/create-fetch-query-params.d.ts.map +1 -1
  192. package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
  193. package/dist/libs/send-request/create-request-operation.js +6 -12
  194. package/dist/libs/send-request/create-request-operation.test.d.ts +0 -3
  195. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  196. package/dist/libs/string-template.d.ts.map +1 -1
  197. package/dist/libs/string-template.js +1 -4
  198. package/dist/router.d.ts.map +1 -1
  199. package/dist/routes.d.ts +62 -14
  200. package/dist/routes.d.ts.map +1 -1
  201. package/dist/routes.js +93 -75
  202. package/dist/store/active-entities.d.ts +32 -32
  203. package/dist/store/active-entities.d.ts.map +1 -1
  204. package/dist/store/active-entities.js +37 -35
  205. package/dist/store/collections.d.ts +164 -164
  206. package/dist/store/collections.d.ts.map +1 -1
  207. package/dist/store/cookies.d.ts +4 -4
  208. package/dist/store/cookies.d.ts.map +1 -1
  209. package/dist/store/cookies.js +1 -5
  210. package/dist/store/environment.d.ts +4 -4
  211. package/dist/store/request-example.d.ts +2 -2
  212. package/dist/store/requests.d.ts +4 -4
  213. package/dist/store/requests.d.ts.map +1 -1
  214. package/dist/store/security-schemes.d.ts +8 -8
  215. package/dist/store/store-context.d.ts.map +1 -1
  216. package/dist/store/store.d.ts +200 -248
  217. package/dist/store/store.d.ts.map +1 -1
  218. package/dist/store/tags.d.ts.map +1 -1
  219. package/dist/store/workspace.d.ts +4 -4
  220. package/dist/style.css +1 -1
  221. package/dist/tailwind/desktop-variants.d.ts.map +1 -1
  222. package/dist/types/vue.d.ts.map +1 -1
  223. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  224. package/dist/views/Collection/Collection.vue.js +4 -0
  225. package/dist/views/Collection/Collection.vue2.js +50 -0
  226. package/dist/views/Collection/CollectionAuthentication.vue.d.ts +3 -0
  227. package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -0
  228. package/dist/views/Collection/CollectionAuthentication.vue.js +4 -0
  229. package/dist/views/Collection/CollectionAuthentication.vue2.js +16 -0
  230. package/dist/views/Collection/CollectionCookies.vue.d.ts +3 -0
  231. package/dist/views/Collection/CollectionCookies.vue.d.ts.map +1 -0
  232. package/dist/views/Collection/CollectionCookies.vue.js +4 -0
  233. package/dist/views/Collection/CollectionCookies.vue2.js +16 -0
  234. package/dist/views/Collection/CollectionEnvironment.vue.d.ts +3 -0
  235. package/dist/views/Collection/CollectionEnvironment.vue.d.ts.map +1 -0
  236. package/dist/views/Collection/CollectionEnvironment.vue.js +4 -0
  237. package/dist/views/Collection/CollectionEnvironment.vue2.js +16 -0
  238. package/dist/views/{Servers/Servers.vue.d.ts → Collection/CollectionInfoForm.vue.d.ts} +1 -1
  239. package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -0
  240. package/dist/views/Collection/CollectionInfoForm.vue.js +7 -0
  241. package/dist/views/Collection/CollectionInfoForm.vue2.js +70 -0
  242. package/dist/views/Collection/CollectionNavigation.vue.d.ts +6 -0
  243. package/dist/views/Collection/CollectionNavigation.vue.d.ts.map +1 -0
  244. package/dist/views/Collection/CollectionNavigation.vue.js +142 -0
  245. package/dist/views/Collection/CollectionNavigation.vue2.js +4 -0
  246. package/dist/views/Collection/CollectionOverview.vue.d.ts +3 -0
  247. package/dist/views/Collection/CollectionOverview.vue.d.ts.map +1 -0
  248. package/dist/views/Collection/CollectionOverview.vue.js +4 -0
  249. package/dist/views/Collection/CollectionOverview.vue2.js +37 -0
  250. package/dist/views/Collection/CollectionScripts.vue.d.ts +3 -0
  251. package/dist/views/Collection/CollectionScripts.vue.d.ts.map +1 -0
  252. package/dist/views/Collection/CollectionScripts.vue.js +4 -0
  253. package/dist/views/Collection/CollectionScripts.vue2.js +16 -0
  254. package/dist/views/Collection/CollectionServerForm.vue.d.ts +10 -0
  255. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -0
  256. package/dist/views/Collection/CollectionServerForm.vue.js +74 -0
  257. package/dist/views/Collection/CollectionServerForm.vue2.js +4 -0
  258. package/dist/views/{Servers/ServerForm.vue.d.ts → Collection/CollectionServers.vue.d.ts} +1 -1
  259. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -0
  260. package/dist/views/Collection/CollectionServers.vue.js +4 -0
  261. package/dist/views/Collection/CollectionServers.vue2.js +124 -0
  262. package/dist/views/Collection/CollectionSettings.vue.d.ts +3 -0
  263. package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -0
  264. package/dist/views/Collection/CollectionSettings.vue.js +7 -0
  265. package/dist/views/Collection/CollectionSettings.vue2.js +124 -0
  266. package/dist/views/Collection/CollectionSync.vue.d.ts +3 -0
  267. package/dist/views/Collection/CollectionSync.vue.d.ts.map +1 -0
  268. package/dist/views/Collection/CollectionSync.vue.js +4 -0
  269. package/dist/views/Collection/CollectionSync.vue2.js +16 -0
  270. package/dist/views/Collection/components/MarkdownInput.vue.d.ts +16 -0
  271. package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -0
  272. package/dist/views/Collection/components/MarkdownInput.vue.js +7 -0
  273. package/dist/views/Collection/components/MarkdownInput.vue2.js +95 -0
  274. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
  275. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +7 -7
  276. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts.map +1 -1
  277. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +1 -3
  278. package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +1 -1
  279. package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +1 -5
  280. package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts.map +1 -1
  281. package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +1 -5
  282. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  283. package/dist/views/Cookies/CookieForm.vue.js +18 -23
  284. package/dist/views/Cookies/CookieModal.vue.d.ts.map +1 -1
  285. package/dist/views/Cookies/CookieModal.vue.js +1 -1
  286. package/dist/views/Cookies/CookieModal.vue2.js +7 -7
  287. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  288. package/dist/views/Cookies/Cookies.vue2.js +96 -78
  289. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  290. package/dist/views/Environment/Environment.vue2.js +125 -112
  291. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts.map +1 -1
  292. package/dist/views/Environment/EnvironmentColorModal.vue.js +5 -5
  293. package/dist/views/Environment/EnvironmentColors.vue.js +8 -8
  294. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +1 -1
  295. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  296. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +16 -16
  297. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  298. package/dist/views/Request/Request.vue.js +1 -1
  299. package/dist/views/Request/Request.vue2.js +114 -171
  300. package/dist/views/Request/RequestRoot.vue.d.ts +13 -0
  301. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -0
  302. package/dist/views/Request/RequestRoot.vue.js +7 -0
  303. package/dist/views/Request/RequestRoot.vue2.js +78 -0
  304. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +1 -1
  305. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  306. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +9 -9
  307. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
  308. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  309. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +5 -5
  310. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  311. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
  312. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +104 -89
  313. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +5 -5
  314. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  315. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
  316. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  317. package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
  318. package/dist/views/Request/RequestSection/RequestBody.vue2.js +59 -65
  319. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  320. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +3 -3
  321. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +22 -23
  322. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
  323. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  324. package/dist/views/Request/RequestSection/RequestParams.vue.js +14 -14
  325. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
  326. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  327. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +6 -6
  328. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
  329. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  330. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  331. package/dist/views/Request/RequestSection/RequestSection.vue2.js +38 -38
  332. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
  333. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  334. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  335. package/dist/views/Request/RequestSection/RequestTable.vue2.js +34 -33
  336. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  337. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
  338. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +5 -5
  339. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts.map +1 -1
  340. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +2 -6
  341. package/dist/views/Request/RequestSidebar.vue.d.ts +3 -10
  342. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  343. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  344. package/dist/views/Request/RequestSidebar.vue2.js +186 -188
  345. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  346. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  347. package/dist/views/Request/RequestSidebarItem.vue2.js +290 -173
  348. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  349. package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
  350. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -13
  351. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +1 -4
  352. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  353. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  354. package/dist/views/Request/RequestSubpageHeader.vue2.js +51 -51
  355. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  356. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
  357. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +12 -12
  358. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
  359. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +1 -1
  360. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
  361. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
  362. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +2 -2
  363. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  364. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
  365. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +1 -1
  366. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
  367. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +8 -8
  368. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +1 -1
  369. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  370. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  371. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +20 -20
  372. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +25 -26
  373. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  374. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +3 -3
  375. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +1 -1
  376. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  377. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +7 -7
  378. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  379. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
  380. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +7 -7
  381. package/dist/views/Request/hooks/useOpenApiWatcher.d.ts.map +1 -1
  382. package/dist/views/Request/hooks/useOpenApiWatcher.js +12 -37
  383. package/dist/views/Request/libs/request.d.ts +4 -0
  384. package/dist/views/Request/libs/request.d.ts.map +1 -1
  385. package/dist/views/Request/libs/request.js +2 -1
  386. package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
  387. package/dist/views/Request/libs/watch-mode.js +63 -63
  388. package/dist/views/Request/types/sidebar-item.d.ts +1 -1
  389. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
  390. package/dist/views/Settings/Settings.vue.d.ts.map +1 -1
  391. package/dist/views/Settings/Settings.vue2.js +8 -8
  392. package/dist/views/Settings/components/SettingsAppearance.vue.js +6 -6
  393. package/dist/vitest.setup.d.ts +16 -0
  394. package/dist/vitest.setup.d.ts.map +1 -0
  395. package/package.json +16 -21
  396. package/dist/views/Servers/ServerForm.vue.d.ts.map +0 -1
  397. package/dist/views/Servers/ServerForm.vue.js +0 -39
  398. package/dist/views/Servers/ServerForm.vue2.js +0 -4
  399. package/dist/views/Servers/Servers.vue.d.ts.map +0 -1
  400. package/dist/views/Servers/Servers.vue.js +0 -4
  401. package/dist/views/Servers/Servers.vue2.js +0 -168
  402. package/dist/views/Servers/index.d.ts +0 -2
  403. package/dist/views/Servers/index.d.ts.map +0 -1
  404. package/dist/views/Servers/index.js +0 -4
@@ -1,7 +1,7 @@
1
1
  import t from "./DataTableInput.vue2.js";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-cb0ff5b1"]]);
3
+ import a from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-921a6c09"]]);
5
5
  export {
6
- r as default
6
+ m as default
7
7
  };
@@ -1,18 +1,15 @@
1
- import { defineComponent as w, ref as m, computed as b, openBlock as l, createBlock as u, normalizeClass as k, withCtx as g, createElementBlock as s, renderSlot as i, createTextVNode as B, createCommentVNode as d, createElementVNode as C, Fragment as $, mergeProps as f, unref as h } from "vue";
2
- import q from "../CodeInput/CodeInput.vue.js";
3
- import { ScalarIconButton as O } from "@scalar/components";
4
- import A from "./DataTableCell.vue.js";
5
- import I from "./DataTableInputSelect.vue.js";
6
- const E = {
7
- key: 0,
8
- class: "text-c-1 flex items-center pl-3 pr-0"
9
- }, F = { class: "row-1 overflow-x-auto" }, S = ["readOnly", "type", "value"], T = {
1
+ import { defineComponent as b, ref as i, computed as C, openBlock as t, createBlock as u, normalizeClass as g, withCtx as B, createElementBlock as s, renderSlot as p, createTextVNode as $, createCommentVNode as d, createElementVNode as h, Fragment as O, mergeProps as c, unref as q } from "vue";
2
+ import { ScalarIconButton as I } from "@scalar/components";
3
+ import A from "../CodeInput/CodeInput.vue.js";
4
+ import E from "./DataTableCell.vue.js";
5
+ import F from "./DataTableInputSelect.vue.js";
6
+ const S = ["for"], T = { class: "row-1 overflow-x-auto" }, N = ["readOnly", "type", "value"], P = {
10
7
  key: 2,
11
- class: "scalar-input-required absolute centered-y right-2 pt-px text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-has-[:focus-visible]:opacity-0"
8
+ class: "scalar-input-required centered-y text-xxs text-c-3 bg-b-1 absolute right-2 pt-px opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 peer-has-[:focus-visible]:opacity-0"
12
9
  }, x = {
13
10
  key: 1,
14
- class: "absolute centered-y right-7 text-orange text-xs"
15
- }, z = /* @__PURE__ */ w({
11
+ class: "centered-y text-orange absolute right-7 text-xs"
12
+ }, R = /* @__PURE__ */ b({
16
13
  inheritAttrs: !1,
17
14
  __name: "DataTableInput",
18
15
  props: {
@@ -32,42 +29,54 @@ const E = {
32
29
  },
33
30
  emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
34
31
  setup(v, { emit: y }) {
35
- const t = v, r = y, n = m(!0), c = m(!1), V = () => {
36
- c.value || r("inputBlur");
37
- }, p = b(
38
- () => t.type === "password" ? n.value ? "password" : "text" : t.type ?? "text"
39
- );
40
- return (e, a) => (l(), u(A, {
41
- class: k(["relative row", e.containerClass])
32
+ const a = v, r = y, n = i(!0), V = i(!1), m = i(null), w = () => {
33
+ V.value || r("inputBlur");
34
+ }, f = C(
35
+ () => a.type === "password" ? n.value ? "password" : "text" : a.type ?? "text"
36
+ ), k = () => {
37
+ var e, l;
38
+ !((e = a.enum) != null && e.length) && !a.readOnly && ((l = m.value) == null || l.focus());
39
+ };
40
+ return (e, l) => (t(), u(E, {
41
+ class: g(["row relative", e.containerClass])
42
42
  }, {
43
- default: g(() => [
44
- e.$slots.default ? (l(), s("div", E, [
45
- i(e.$slots, "default", {}, void 0, !0),
46
- a[5] || (a[5] = B(": "))
47
- ])) : d("", !0),
48
- C("div", F, [
49
- t.enum && t.enum.length ? (l(), u(I, {
43
+ default: B(() => [
44
+ e.$slots.default ? (t(), s("div", {
45
+ key: 0,
46
+ class: "text-c-1 flex items-center pl-3 pr-0",
47
+ for: e.id ?? "",
48
+ onClick: k
49
+ }, [
50
+ p(e.$slots, "default", {}, void 0, !0),
51
+ l[5] || (l[5] = $(": "))
52
+ ], 8, S)) : d("", !0),
53
+ h("div", T, [
54
+ a.enum && a.enum.length ? (t(), u(F, {
50
55
  key: 0,
51
- canAddCustomValue: t.canAddCustomEnumValue,
52
- modelValue: t.modelValue,
53
- value: t.enum,
54
- "onUpdate:modelValue": a[0] || (a[0] = (o) => r("update:modelValue", o))
55
- }, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (l(), s($, { key: 1 }, [
56
- n.value && e.type === "password" ? (l(), s("input", f({ key: 0 }, e.id ? { ...e.$attrs, id: e.id } : e.$attrs, {
56
+ canAddCustomValue: a.canAddCustomEnumValue,
57
+ modelValue: a.modelValue,
58
+ value: a.enum,
59
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => r("update:modelValue", o))
60
+ }, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (t(), s(O, { key: 1 }, [
61
+ n.value && e.type === "password" ? (t(), s("input", c({ key: 0 }, e.id ? { ...e.$attrs, id: e.id } : e.$attrs, {
57
62
  autocomplete: "off",
58
- class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer px-2 py-1.25 -outline-offset-2",
63
+ class: "text-c-1 disabled:text-c-2 py-1.25 peer w-full min-w-0 border-none px-2 -outline-offset-2",
59
64
  "data-1p-ignore": "",
60
65
  readOnly: e.readOnly,
61
66
  spellcheck: "false",
62
- type: p.value,
67
+ type: f.value,
63
68
  value: e.modelValue,
64
- onInput: a[1] || (a[1] = (o) => r(
69
+ onInput: l[1] || (l[1] = (o) => r(
65
70
  "update:modelValue",
66
71
  o.target.value ?? ""
67
72
  ))
68
- }), null, 16, S)) : (l(), u(q, f({ key: 1 }, e.$attrs, {
73
+ }), null, 16, N)) : (t(), u(A, c({
74
+ key: 1,
75
+ ref_key: "codeInput",
76
+ ref: m
77
+ }, e.$attrs, {
69
78
  id: e.id,
70
- class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer",
79
+ class: "text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none",
71
80
  disableCloseBrackets: "",
72
81
  disableTabIndent: "",
73
82
  envVariables: e.envVariables,
@@ -78,25 +87,25 @@ const E = {
78
87
  readOnly: e.readOnly,
79
88
  required: !!e.required,
80
89
  spellcheck: "false",
81
- type: p.value,
90
+ type: f.value,
82
91
  workspace: e.workspace,
83
- onBlur: V,
84
- onFocus: a[2] || (a[2] = (o) => r("inputFocus")),
85
- "onUpdate:modelValue": a[3] || (a[3] = (o) => r("update:modelValue", o))
92
+ onBlur: w,
93
+ onFocus: l[2] || (l[2] = (o) => r("inputFocus")),
94
+ "onUpdate:modelValue": l[3] || (l[3] = (o) => r("update:modelValue", o))
86
95
  }), null, 16, ["id", "envVariables", "environment", "max", "min", "modelValue", "readOnly", "required", "type", "workspace"])),
87
- e.required ? (l(), s("div", T, " Required ")) : d("", !0)
96
+ e.required ? (t(), s("div", P, " Required ")) : d("", !0)
88
97
  ], 64))
89
98
  ]),
90
- e.$slots.warning ? (l(), s("div", x, [
91
- i(e.$slots, "warning", {}, void 0, !0)
99
+ e.$slots.warning ? (t(), s("div", x, [
100
+ p(e.$slots, "warning", {}, void 0, !0)
92
101
  ])) : d("", !0),
93
- i(e.$slots, "icon", {}, void 0, !0),
94
- e.type === "password" ? (l(), u(h(O), {
102
+ p(e.$slots, "icon", {}, void 0, !0),
103
+ e.type === "password" ? (t(), u(q(I), {
95
104
  key: 2,
96
105
  class: "-ml-.5 mr-0.75 h-6 w-6 self-center p-1.5",
97
106
  icon: n.value ? "Show" : "Hide",
98
107
  label: n.value ? "Show Password" : "Hide Password",
99
- onClick: a[4] || (a[4] = (o) => n.value = !n.value)
108
+ onClick: l[4] || (l[4] = (o) => n.value = !n.value)
100
109
  }, null, 8, ["icon", "label"])) : d("", !0)
101
110
  ]),
102
111
  _: 3
@@ -104,5 +113,5 @@ const E = {
104
113
  }
105
114
  });
106
115
  export {
107
- z as default
116
+ R as default
108
117
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInputSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputSelect.vue"],"names":[],"mappings":"AA4LA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACrC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B,CAAC;;;;;;uBAFoB,OAAO;;AA2W/B,wBASG"}
1
+ {"version":3,"file":"DataTableInputSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputSelect.vue"],"names":[],"mappings":"AA4LA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACrC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B,CAAC;;;;;;uBAFoB,OAAO;;AA4W/B,wBASG"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as O, computed as m, ref as w, watch as S, nextTick as E, openBlock as o, createElementBlock as f, createBlock as v, unref as a, withCtx as u, createVNode as n, createElementVNode as d, toDisplayString as y, withDirectives as K, withKeys as M, vModelText as R, Fragment as C, renderList as U, normalizeClass as W, createTextVNode as $, createCommentVNode as _ } from "vue";
2
2
  import { ScalarComboboxMultiselect as F, ScalarButton as b, ScalarIcon as h, ScalarDropdown as L, ScalarDropdownItem as D, ScalarDropdownDivider as q } from "@scalar/components";
3
- const G = { class: "group-[.alert]:outline-orange w-full pr-4 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline" }, H = { class: "text-c-1 whitespace-nowrap" }, J = { class: "text-c-1" }, P = { class: "flex h-4 w-4 items-center justify-center" }, Z = /* @__PURE__ */ O({
3
+ const G = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-4 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline" }, H = { class: "text-c-1 whitespace-nowrap" }, J = { class: "text-c-1" }, P = { class: "flex h-4 w-4 items-center justify-center" }, Z = /* @__PURE__ */ O({
4
4
  __name: "DataTableInputSelect",
5
5
  props: {
6
6
  modelValue: {},
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as t, openBlock as a, createBlock as o, withCtx as r, createElementVNode as s, renderSlot as n, createTextVNode as p, toDisplayString as l } from "vue";
2
2
  import c from "./DataTableCell.vue.js";
3
- const i = { class: "flex-1 px-2 py-1.5 whitespace-nowrap" }, x = /* @__PURE__ */ t({
3
+ const i = { class: "flex-1 whitespace-nowrap px-2 py-1.5" }, x = /* @__PURE__ */ t({
4
4
  __name: "DataTableText",
5
5
  props: {
6
6
  text: {}
@@ -1,7 +1,7 @@
1
1
  import t from "./EmptyState.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-6c848a44"]]);
4
+ const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-6e1f579f"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -2,25 +2,25 @@ import { defineComponent as o, openBlock as c, createElementBlock as n, createEl
2
2
  import l from "../assets/keycap.ascii.js";
3
3
  import s from "./ScalarAsciiArt.vue.js";
4
4
  import i from "./ScalarHotkey.vue.js";
5
- const p = { class: "scale-75 flex flex-center w-full" }, m = { class: "relative" }, d = { class: "relative -ml-12" }, h = /* @__PURE__ */ o({
5
+ const p = { class: "flex-center flex w-full scale-75" }, m = { class: "relative" }, d = { class: "relative -ml-12" }, h = /* @__PURE__ */ o({
6
6
  __name: "EmptyState",
7
7
  setup(_) {
8
8
  return (f, r) => (c(), n("div", p, [
9
9
  e("div", m, [
10
10
  t(i, {
11
- class: "keycap-hotkey border-transparent right-14 text-xl",
11
+ class: "keycap-hotkey right-14 border-transparent text-xl",
12
12
  hotkey: ""
13
13
  }),
14
14
  t(s, {
15
15
  art: a(l),
16
- class: "!leading-[6px] text-c-3"
16
+ class: "text-c-3 !leading-[6px]"
17
17
  }, null, 8, ["art"])
18
18
  ]),
19
19
  e("div", d, [
20
20
  r[0] || (r[0] = e("div", { class: "keycap-hotkey right-16 text-xl" }, "K", -1)),
21
21
  t(s, {
22
22
  art: a(l),
23
- class: "!leading-[6px] keycap-n"
23
+ class: "keycap-n !leading-[6px]"
24
24
  }, null, 8, ["art"])
25
25
  ])
26
26
  ]));
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EnvironmentSelector/EnvironmentSelector.vue"],"names":[],"mappings":";AAodA,wBAMG"}
1
+ {"version":3,"file":"EnvironmentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EnvironmentSelector/EnvironmentSelector.vue"],"names":[],"mappings":";AAsdA,wBAMG"}
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as I, computed as f, watch as B, onMounted as D, openBlock as c, createElementBlock as x, createVNode as s, unref as n, withCtx as l, Fragment as j, renderList as M, createBlock as w, withModifiers as h, createTextVNode as E, toDisplayString as k, createElementVNode as u, normalizeClass as V, createCommentVNode as z } from "vue";
2
- import { useActiveEntities as L } from "../../store/active-entities.js";
3
- import { ScalarDropdown as W, ScalarDropdownItem as m, ScalarListboxCheckbox as $, ScalarIcon as g, ScalarDropdownDivider as A, ScalarButton as F } from "@scalar/components";
4
- import { useRouter as O } from "vue-router";
2
+ import { ScalarDropdown as L, ScalarDropdownItem as m, ScalarListboxCheckbox as W, ScalarIcon as g, ScalarDropdownDivider as $, ScalarButton as A } from "@scalar/components";
3
+ import { useRouter as F } from "vue-router";
4
+ import { useActiveEntities as O } from "../../store/active-entities.js";
5
5
  import { useWorkspace as R } from "../../store/store.js";
6
6
  import { useLayout as T } from "../../hooks/useLayout.js";
7
- const q = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap" }, G = { class: "flex items-center justify-center h-4 w-4" }, Y = /* @__PURE__ */ I({
7
+ const q = { class: "m-0 flex items-center gap-1.5 whitespace-nowrap font-medium" }, G = { class: "flex h-4 w-4 items-center justify-center" }, Y = /* @__PURE__ */ I({
8
8
  __name: "EnvironmentSelector",
9
9
  setup(H) {
10
- const { activeCollection: a, activeWorkspace: i, activeEnvironment: v } = L(), { collectionMutators: _ } = R(), { layout: b } = T(), C = O(), d = (e) => {
10
+ const { activeCollection: a, activeWorkspace: i, activeEnvironment: v } = O(), { collectionMutators: _ } = R(), { layout: b } = T(), C = F(), d = (e) => {
11
11
  a.value && i.value && (_.edit(
12
12
  a.value.uid,
13
13
  "x-scalar-active-environment",
@@ -41,17 +41,17 @@ const q = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
41
41
  ), D(() => {
42
42
  a.value && p(a.value);
43
43
  }), (e, t) => (c(), x("div", null, [
44
- s(n(W), { placement: "bottom-end" }, {
44
+ s(n(L), { placement: "bottom-end" }, {
45
45
  items: l(() => [
46
46
  (c(!0), x(j, null, M(N.value, (o) => (c(), w(n(m), {
47
47
  key: o.uid,
48
- class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
48
+ class: "group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
49
49
  onClick: h((r) => d(o.uid), ["stop"])
50
50
  }, {
51
51
  default: l(() => {
52
52
  var r;
53
53
  return [
54
- s(n($), {
54
+ s(n(W), {
55
55
  selected: ((r = n(a)) == null ? void 0 : r["x-scalar-active-environment"]) === o.uid
56
56
  }, null, 8, ["selected"]),
57
57
  E(" " + k(o.name), 1)
@@ -60,7 +60,7 @@ const q = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
60
60
  _: 2
61
61
  }, 1032, ["onClick"]))), 128)),
62
62
  s(n(m), {
63
- class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
63
+ class: "group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
64
64
  onClick: t[0] || (t[0] = h((o) => d(""), ["stop"]))
65
65
  }, {
66
66
  default: l(() => {
@@ -68,7 +68,7 @@ const q = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
68
68
  return [
69
69
  u("div", {
70
70
  class: V([
71
- "flex items-center justify-center rounded-full p-[3px] w-4 h-4",
71
+ "flex h-4 w-4 items-center justify-center rounded-full p-[3px]",
72
72
  ((o = n(v)) == null ? void 0 : o.uid) === "" && ((r = n(a)) == null ? void 0 : r["x-scalar-active-environment"]) === "" ? "bg-c-accent text-b-1" : "shadow-border text-transparent"
73
73
  ])
74
74
  }, [
@@ -83,7 +83,7 @@ const q = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
83
83
  }),
84
84
  _: 1
85
85
  }),
86
- s(n(A)),
86
+ s(n($)),
87
87
  n(b) !== "modal" ? (c(), w(n(m), {
88
88
  key: 0,
89
89
  class: "flex items-center gap-1.5",
@@ -102,8 +102,8 @@ const q = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
102
102
  })) : z("", !0)
103
103
  ]),
104
104
  default: l(() => [
105
- s(n(F), {
106
- class: "font-normal h-auto justify-start py-1.5 px-1.5 pl-2 text-c-1 hover:bg-b-2 w-fit",
105
+ s(n(A), {
106
+ class: "text-c-1 hover:bg-b-2 h-auto w-fit justify-start px-1.5 py-1.5 pl-2 font-normal",
107
107
  fullWidth: "",
108
108
  variant: "ghost"
109
109
  }, {
@@ -1 +1 @@
1
- {"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAUlE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;KACpB,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,CAAC,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,EAC/B,GAAG,EAAE,CAAC,EACN,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,KACrC,IAAI,CAAA;CACV,CAAC;AAWF,iBAAS,cAAc;WAwGT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;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":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAWlE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;KACpB,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,CAAC,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,EAC/B,GAAG,EAAE,CAAC,EACN,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,KACrC,IAAI,CAAA;CACV,CAAC;AAYF,iBAAS,cAAc;WA+HT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;AAiBD,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,10 +1,11 @@
1
- import { defineComponent as u, openBlock as t, createBlock as r, withCtx as a, createElementBlock as i, toDisplayString as m, renderSlot as f, createElementVNode as k, unref as l, Fragment as V, renderList as v, normalizeClass as _, createVNode as y, createTextVNode as b, createCommentVNode as h } from "vue";
2
- import w from "../DataTable/DataTable.vue.js";
3
- import E from "../DataTable/DataTableInput.vue.js";
4
- import g from "../DataTable/DataTableRow.vue.js";
5
- import C from "../ViewLayout/ViewLayoutSection.vue.js";
6
- import { useActiveEntities as N } from "../../store/active-entities.js";
7
- const U = { key: 0 }, B = { class: "custom-scroll flex flex-1 flex-col gap-1.5" }, A = /* @__PURE__ */ u({
1
+ import { defineComponent as v, useId as b, openBlock as l, createBlock as r, createSlots as c, withCtx as o, createElementVNode as n, unref as t, createElementBlock as m, Fragment as y, renderList as h, normalizeClass as V, createVNode as p, toDisplayString as f, createCommentVNode as g, renderSlot as w } from "vue";
2
+ import { ScalarIcon as E } from "@scalar/components";
3
+ import C from "../DataTable/DataTable.vue.js";
4
+ import S from "../DataTable/DataTableInput.vue.js";
5
+ import U from "../DataTable/DataTableRow.vue.js";
6
+ import $ from "../ViewLayout/ViewLayoutSection.vue.js";
7
+ import { useActiveEntities as B } from "../../store/active-entities.js";
8
+ const D = { key: 0 }, F = { class: "custom-scroll flex flex-1 flex-col gap-1.5" }, I = ["for"], N = { class: "bg-b-2 flex-center border-l px-2" }, q = /* @__PURE__ */ v({
8
9
  __name: "Form",
9
10
  props: {
10
11
  title: {},
@@ -12,49 +13,68 @@ const U = { key: 0 }, B = { class: "custom-scroll flex flex-1 flex-col gap-1.5"
12
13
  data: {},
13
14
  onUpdate: { type: Function }
14
15
  },
15
- setup(D) {
16
- const { activeEnvVariables: c, activeEnvironment: d, activeWorkspace: n } = N();
17
- return (e, F) => (t(), r(C, null, {
18
- title: a(() => [
19
- e.title ? (t(), i("span", U, m(e.title), 1)) : f(e.$slots, "title", { key: 1 })
20
- ]),
21
- default: a(() => [
22
- k("div", B, [
23
- Object.keys(e.data).length > 0 && l(n) ? (t(), r(w, {
16
+ setup(z) {
17
+ const { activeEnvVariables: u, activeEnvironment: k, activeWorkspace: s } = B(), i = b();
18
+ return (e, T) => (l(), r($, null, c({
19
+ default: o(() => [
20
+ n("div", F, [
21
+ Object.keys(e.data).length > 0 && t(s) ? (l(), r(C, {
24
22
  key: 0,
25
23
  columns: [""]
26
24
  }, {
27
- default: a(() => [
28
- (t(!0), i(V, null, v(e.options, (o, s) => (t(), r(g, {
29
- key: s,
30
- class: _({ "border-t": s === 0 })
25
+ default: o(() => [
26
+ (l(!0), m(y, null, h(e.options, (a, d) => (l(), r(U, {
27
+ key: d,
28
+ class: V({ "border-t": d === 0 })
31
29
  }, {
32
- default: a(() => [
33
- y(E, {
34
- envVariables: l(c),
35
- environment: l(d),
36
- modelValue: e.data[o.key] ?? "",
37
- placeholder: o.placeholder,
38
- workspace: l(n),
39
- "onUpdate:modelValue": (p) => e.onUpdate(o.key, p)
40
- }, {
41
- default: a(() => [
42
- b(m(o.label), 1)
30
+ default: o(() => [
31
+ p(S, {
32
+ id: t(i),
33
+ envVariables: t(u),
34
+ environment: t(k),
35
+ modelValue: e.data[a.key] ?? "",
36
+ placeholder: a.placeholder,
37
+ workspace: t(s),
38
+ "onUpdate:modelValue": (_) => e.onUpdate(a.key, _)
39
+ }, c({
40
+ default: o(() => [
41
+ n("label", { for: t(i) }, f(a.label), 9, I)
43
42
  ]),
44
43
  _: 2
45
- }, 1032, ["envVariables", "environment", "modelValue", "placeholder", "workspace", "onUpdate:modelValue"])
44
+ }, [
45
+ a.key === "description" ? {
46
+ name: "icon",
47
+ fn: o(() => [
48
+ n("div", N, [
49
+ p(t(E), {
50
+ icon: "Markdown",
51
+ size: "lg"
52
+ })
53
+ ])
54
+ ]),
55
+ key: "0"
56
+ } : void 0
57
+ ]), 1032, ["id", "envVariables", "environment", "modelValue", "placeholder", "workspace", "onUpdate:modelValue"])
46
58
  ]),
47
59
  _: 2
48
60
  }, 1032, ["class"]))), 128))
49
61
  ]),
50
62
  _: 1
51
- })) : h("", !0)
63
+ })) : g("", !0)
52
64
  ])
53
65
  ]),
54
- _: 3
55
- }));
66
+ _: 2
67
+ }, [
68
+ e.title || e.$slots.title ? {
69
+ name: "title",
70
+ fn: o(() => [
71
+ e.title ? (l(), m("span", D, f(e.title), 1)) : w(e.$slots, "title", { key: 1 })
72
+ ]),
73
+ key: "0"
74
+ } : void 0
75
+ ]), 1024));
56
76
  }
57
77
  });
58
78
  export {
59
- A as default
79
+ q as default
60
80
  };
@@ -0,0 +1,14 @@
1
+ import type { ClientLayout } from '../../hooks/useLayout';
2
+ type __VLS_Props = {
3
+ inputId: string;
4
+ placeholder: string;
5
+ value: string | undefined;
6
+ layout?: ClientLayout;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ updateValue: (value: string) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onUpdateValue?: (value: string) => any;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ export default _default;
14
+ //# sourceMappingURL=LabelInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/LabelInput.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAIrD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB,CAAC;;;;;;AA2FF,wBAQG"}
@@ -0,0 +1,7 @@
1
+ import o from "./LabelInput.vue2.js";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fced736a"]]);
5
+ export {
6
+ e as default
7
+ };
@@ -0,0 +1,42 @@
1
+ import { defineComponent as c, openBlock as l, createElementBlock as n, normalizeProps as u, guardReactiveProps as m, unref as o, Fragment as f, createElementVNode as p, mergeProps as r, toDisplayString as v } from "vue";
2
+ import { useBindCx as h } from "@scalar/components";
3
+ const g = ["for"], y = ["id", "placeholder", "value"], b = /* @__PURE__ */ c({
4
+ __name: "LabelInput",
5
+ props: {
6
+ inputId: {},
7
+ placeholder: {},
8
+ value: {},
9
+ layout: {}
10
+ },
11
+ emits: ["updateValue"],
12
+ setup(_, { emit: i }) {
13
+ const s = i, { cx: t } = h(), d = (e) => {
14
+ const a = e.target;
15
+ s("updateValue", a.value);
16
+ };
17
+ return (e, a) => (l(), n("div", u(m(o(t)("flex-1 flex gap-1 items-center pointer-events-none group"))), [
18
+ e.layout !== "modal" ? (l(), n(f, { key: 0 }, [
19
+ p("label", r(
20
+ o(t)(
21
+ "absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text"
22
+ ),
23
+ { for: e.inputId }
24
+ ), null, 16, g),
25
+ p("input", r(
26
+ o(t)(
27
+ "flex-1 text-c-1 rounded pointer-events-auto relative w-full pl-1.25 -ml-0.5 md:-ml-1.25 h-8 group-hover-input has-[:focus-visible]:outline z-10"
28
+ ),
29
+ {
30
+ id: e.inputId,
31
+ placeholder: e.placeholder,
32
+ value: e.value,
33
+ onInput: d
34
+ }
35
+ ), null, 16, y)
36
+ ], 64)) : (l(), n("span", u(r({ key: 1 }, o(t)("flex items-center text-c-1 h-8"))), v(e.value), 17))
37
+ ], 16));
38
+ }
39
+ });
40
+ export {
41
+ b as default
42
+ };
@@ -6,7 +6,7 @@ const l = ["href"], p = /* @__PURE__ */ r({
6
6
  },
7
7
  setup(s) {
8
8
  return (e, f) => (n(), o("a", {
9
- class: "cursor-help decoration-c-3 underline underline-offset-2",
9
+ class: "decoration-c-3 cursor-help underline underline-offset-2",
10
10
  href: e.href,
11
11
  rel: "noopener noreferrer",
12
12
  target: "_blank"
@@ -8,8 +8,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onChange?: (value: "delete" | "get" | "head" | "connect" | "options" | "patch" | "post" | "put" | "trace") => any;
10
10
  }>, {
11
- isSquare: boolean;
12
11
  isEditable: boolean;
12
+ isSquare: boolean;
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
15
15
  //# 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":"AAgGA,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;;;;;;cAHW,OAAO;gBAEL,OAAO;;AAwIxB,wBAQG"}
1
+ {"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AAgGA,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;;;;;;gBADa,OAAO;cAFT,OAAO;;AA0ItB,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./HttpMethod.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const _ = /* @__PURE__ */ o(t, [["__scopeId", "data-v-46723816"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-73e8dbd2"]]);
5
5
  export {
6
- _ as default
6
+ e as default
7
7
  };
@@ -34,7 +34,7 @@ const H = /* @__PURE__ */ g({
34
34
  key: 0,
35
35
  modelValue: i.value,
36
36
  "onUpdate:modelValue": u[0] || (u[0] = (S) => i.value = S),
37
- class: "mt-1 font-code text-sm scalar-client",
37
+ class: "font-code scalar-client mt-1 text-sm",
38
38
  options: t(n)
39
39
  }, {
40
40
  default: q(() => [
@@ -2,7 +2,7 @@ import { defineComponent as g, computed as V, openBlock as s, createBlock as n,
2
2
  import { RadioGroup as S, RadioGroupLabel as m, RadioGroupOption as C } from "@headlessui/vue";
3
3
  import { ScalarPopover as I } from "@scalar/components";
4
4
  import { libraryIcons as h, LibraryIcon as B } from "@scalar/icons";
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({
5
+ const G = { class: "flex text-sm" }, L = { class: "bg-b-1 custom-scroll grid w-dvw max-w-[420px] auto-rows-[32px] grid-cols-[repeat(auto-fill,minmax(32px,1fr))] content-between justify-between rounded border p-1" }, $ = /* @__PURE__ */ g({
6
6
  __name: "IconSelector",
7
7
  props: {
8
8
  modelValue: {},
@@ -26,7 +26,7 @@ const G = { class: "flex text-sm" }, L = { class: "grid grid-cols-[repeat(auto-f
26
26
  }, {
27
27
  default: o(() => [
28
28
  u("div", G, [
29
- a(e(m), { class: "text-c-2 py-1 px-1" }, {
29
+ a(e(m), { class: "text-c-2 px-1 py-1" }, {
30
30
  default: o(() => [
31
31
  d(l.$slots, "title", {}, () => [
32
32
  r[1] || (r[1] = p("Select an icon"))
@@ -39,7 +39,7 @@ const G = { class: "flex text-sm" }, L = { class: "grid grid-cols-[repeat(auto-f
39
39
  (s(!0), k(y, null, _(e(h), (t) => (s(), n(e(C), {
40
40
  key: t.src,
41
41
  as: "li",
42
- class: "p-2 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",
42
+ class: "text-c-3 hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2 flex cursor-pointer items-center justify-center rounded p-2",
43
43
  value: t.src,
44
44
  onClick: v
45
45
  }, {
@@ -2,8 +2,8 @@ import { defineComponent as x, ref as h, onMounted as D, onBeforeUnmount as E, o
2
2
  import { ScalarIcon as w } from "@scalar/components";
3
3
  const B = {
4
4
  key: 0,
5
- class: "fixed translate-x-1/2 translate-y-1/2 md:translate-x-0 md:translate-y-0 right-1/2 bottom-1/2 md:bottom-10 md:right-10 w-64 h-64 bg-b-2 z-50 rounded-xl border transition-opacity duration-200"
6
- }, F = { class: "flex flex-col items-center justify-center h-full" }, z = /* @__PURE__ */ x({
5
+ class: "bg-b-2 fixed bottom-1/2 right-1/2 z-50 h-64 w-64 translate-x-1/2 translate-y-1/2 rounded-xl border transition-opacity duration-200 md:bottom-10 md:right-10 md:translate-x-0 md:translate-y-0"
6
+ }, F = { class: "flex h-full flex-col items-center justify-center" }, z = /* @__PURE__ */ x({
7
7
  __name: "DropEventListener",
8
8
  emits: ["input"],
9
9
  setup(N, { emit: y }) {
@@ -71,7 +71,7 @@ const B = {
71
71
  thickness: "2"
72
72
  })
73
73
  ]),
74
- n[0] || (n[0] = d("div", { class: "text-center text-c-1 m-4" }, " Drop your OpenAPI document here ", -1))
74
+ n[0] || (n[0] = d("div", { class: "text-c-1 m-4 text-center" }, " Drop your OpenAPI document here ", -1))
75
75
  ])
76
76
  ])) : A("", !0)
77
77
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"ImportNowButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportNowButton.vue"],"names":[],"mappings":"AAkHA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;AA+KF,wBAOG"}
1
+ {"version":3,"file":"ImportNowButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportNowButton.vue"],"names":[],"mappings":"AAoHA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;AA+KF,wBAOG"}