@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,38 +1,27 @@
1
- import { defineComponent as a, openBlock as r, createBlock as n, unref as o, withCtx as c, renderSlot as m } from "vue";
1
+ import { defineComponent as e, openBlock as t, createBlock as i, unref as n, withCtx as r, renderSlot as a } from "vue";
2
+ import { RouterLink as c } from "vue-router";
2
3
  import p from "./SideNavLink.vue.js";
3
- import { PathId as s } from "../../routes.js";
4
- import { useActiveEntities as f } from "../../store/active-entities.js";
5
- import { RouterLink as u } from "vue-router";
6
- const $ = /* @__PURE__ */ a({
4
+ const _ = /* @__PURE__ */ e({
7
5
  __name: "SideNavRouterLink",
8
6
  props: {
9
7
  icon: {},
10
- name: {},
8
+ to: {},
11
9
  active: { type: Boolean }
12
10
  },
13
- setup(l) {
14
- const { activeWorkspace: i } = f();
15
- return (e, d) => {
16
- var t;
17
- return r(), n(p, {
18
- is: o(u),
19
- active: !!e.active,
20
- icon: e.icon,
21
- to: {
22
- name: `${e.name}.default`,
23
- params: {
24
- [o(s).Workspace]: (t = o(i)) == null ? void 0 : t.uid
25
- }
26
- }
27
- }, {
28
- default: c(() => [
29
- m(e.$slots, "default")
30
- ]),
31
- _: 3
32
- }, 8, ["is", "active", "icon", "to"]);
33
- };
11
+ setup(s) {
12
+ return (o, f) => (t(), i(p, {
13
+ is: n(c),
14
+ active: !!o.active,
15
+ icon: o.icon,
16
+ to: o.to
17
+ }, {
18
+ default: r(() => [
19
+ a(o.$slots, "default")
20
+ ]),
21
+ _: 3
22
+ }, 8, ["is", "active", "icon", "to"]));
34
23
  }
35
24
  });
36
25
  export {
37
- $ as default
26
+ _ as default
38
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"names":[],"mappings":"AAyCA,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;CACnC,CAAC;;;;;;;;AAoHF,wBAQG"}
1
+ {"version":3,"file":"DeleteSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"names":[],"mappings":"AA2CA,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;CACnC,CAAC;;;;;;;;AAoHF,wBAQG"}
@@ -2,7 +2,7 @@ import { defineComponent as m, computed as p, openBlock as r, createBlock as c,
2
2
  import f from "./SidebarListElementForm.vue.js";
3
3
  const v = {
4
4
  key: 0,
5
- class: "leading-normal text-c-2 text-sm text-pretty"
5
+ class: "text-c-2 text-pretty text-sm leading-normal"
6
6
  }, w = /* @__PURE__ */ m({
7
7
  __name: "DeleteSidebarListElement",
8
8
  props: {
@@ -1 +1 @@
1
- {"version":3,"file":"EditSidebarListCollection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/EditSidebarListCollection.vue"],"names":[],"mappings":"AAuDA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAC;;;;;;;;AAsJF,wBAQG"}
1
+ {"version":3,"file":"EditSidebarListCollection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/EditSidebarListCollection.vue"],"names":[],"mappings":"AAyDA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAC;;;;;;;;AAsJF,wBAQG"}
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as p, ref as m, openBlock as f, createBlock as v, withCtx as n, createElementVNode as u, createVNode as l, unref as s } from "vue";
2
- import x from "../../IconSelector.vue.js";
3
- import V from "./SidebarListElementForm.vue.js";
4
- import { ScalarButton as _, ScalarTextField as b } from "@scalar/components";
5
- import { LibraryIcon as S } from "@scalar/icons";
6
- const C = { class: "grid gap-2 grid-cols-[auto,1fr]" }, g = { class: "flex aspect-square" }, k = /* @__PURE__ */ p({
2
+ import { ScalarButton as x, ScalarTextField as V } from "@scalar/components";
3
+ import { LibraryIcon as _ } from "@scalar/icons";
4
+ import b from "../../IconSelector.vue.js";
5
+ import S from "./SidebarListElementForm.vue.js";
6
+ const C = { class: "grid grid-cols-[auto,1fr] gap-2" }, g = { class: "flex aspect-square" }, k = /* @__PURE__ */ p({
7
7
  __name: "EditSidebarListCollection",
8
8
  props: {
9
9
  name: {},
@@ -12,26 +12,26 @@ const C = { class: "grid gap-2 grid-cols-[auto,1fr]" }, g = { class: "flex aspec
12
12
  emits: ["close", "edit"],
13
13
  setup(d, { emit: c }) {
14
14
  const r = d, i = c, a = m(r.name), o = m(r.icon);
15
- return (w, e) => (f(), v(V, {
15
+ return (w, e) => (f(), v(S, {
16
16
  onCancel: e[2] || (e[2] = (t) => i("close")),
17
17
  onSubmit: e[3] || (e[3] = (t) => i("edit", a.value, o.value))
18
18
  }, {
19
19
  default: n(() => [
20
20
  u("div", C, [
21
21
  u("div", g, [
22
- l(x, {
22
+ l(b, {
23
23
  modelValue: o.value,
24
24
  "onUpdate:modelValue": e[0] || (e[0] = (t) => o.value = t),
25
25
  placement: "bottom-start"
26
26
  }, {
27
27
  default: n(() => [
28
- l(s(_), {
29
- class: "aspect-square px-0 h-auto",
28
+ l(s(x), {
29
+ class: "aspect-square h-auto px-0",
30
30
  variant: "outlined"
31
31
  }, {
32
32
  default: n(() => [
33
- l(s(S), {
34
- class: "size-4 text-c-2",
33
+ l(s(_), {
34
+ class: "text-c-2 size-4",
35
35
  src: o.value
36
36
  }, null, 8, ["src"])
37
37
  ]),
@@ -41,7 +41,7 @@ const C = { class: "grid gap-2 grid-cols-[auto,1fr]" }, g = { class: "flex aspec
41
41
  _: 1
42
42
  }, 8, ["modelValue"])
43
43
  ]),
44
- l(s(b), {
44
+ l(s(V), {
45
45
  modelValue: a.value,
46
46
  "onUpdate:modelValue": e[1] || (e[1] = (t) => a.value = t),
47
47
  autofocus: "",
@@ -1 +1 @@
1
- {"version":3,"file":"EditSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/EditSidebarListElement.vue"],"names":[],"mappings":"AAiCA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;CACb,CAAC;;;;;;;;AA8GF,wBAQG"}
1
+ {"version":3,"file":"EditSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/EditSidebarListElement.vue"],"names":[],"mappings":"AAmCA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;CACb,CAAC;;;;;;;;AA8GF,wBAQG"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, ref as i, openBlock as u, createBlock as s, withCtx as d, createVNode as p, unref as f } from "vue";
2
- import c from "./SidebarListElementForm.vue.js";
3
- import { ScalarTextField as v } from "@scalar/components";
2
+ import { ScalarTextField as c } from "@scalar/components";
3
+ import v from "./SidebarListElementForm.vue.js";
4
4
  const C = /* @__PURE__ */ a({
5
5
  __name: "EditSidebarListElement",
6
6
  props: {
@@ -9,12 +9,12 @@ const C = /* @__PURE__ */ a({
9
9
  emits: ["close", "edit"],
10
10
  setup(l, { emit: m }) {
11
11
  const r = l, n = m, t = i(r.name);
12
- return (x, e) => (u(), s(c, {
12
+ return (x, e) => (u(), s(v, {
13
13
  onCancel: e[1] || (e[1] = (o) => n("close")),
14
14
  onSubmit: e[2] || (e[2] = (o) => n("edit", t.value))
15
15
  }, {
16
16
  default: d(() => [
17
- p(f(v), {
17
+ p(f(c), {
18
18
  modelValue: t.value,
19
19
  "onUpdate:modelValue": e[0] || (e[0] = (o) => t.value = o),
20
20
  autofocus: ""
@@ -1,7 +1,7 @@
1
1
  import o from "./SidebarListElementForm.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b6a60dbc"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c6b17e96"]]);
5
5
  export {
6
- e as default
6
+ a as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as u, openBlock as m, createElementBlock as d, withModifiers as f, renderSlot as c, createElementVNode as b, createVNode as n, unref as a, withCtx as r, createTextVNode as s, toDisplayString as v } from "vue";
2
2
  import { ScalarButton as l } from "@scalar/components";
3
- const g = { class: "flex gap-10 justify-between" }, y = /* @__PURE__ */ u({
3
+ const g = { class: "flex justify-between gap-10" }, y = /* @__PURE__ */ u({
4
4
  __name: "SidebarListElementForm",
5
5
  props: {
6
6
  danger: { type: Boolean },
@@ -16,7 +16,7 @@ const g = { class: "flex gap-10 justify-between" }, y = /* @__PURE__ */ u({
16
16
  c(t.$slots, "default", {}, void 0, !0),
17
17
  b("div", g, [
18
18
  n(a(l), {
19
- class: "gap-1.5 px-2.5 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
19
+ class: "flex h-8 cursor-pointer items-center gap-1.5 px-2.5 shadow-none focus:outline-none",
20
20
  type: "button",
21
21
  variant: "outlined",
22
22
  onClick: e[0] || (e[0] = (p) => o("cancel"))
@@ -27,7 +27,7 @@ const g = { class: "flex gap-10 justify-between" }, y = /* @__PURE__ */ u({
27
27
  _: 1
28
28
  }),
29
29
  n(a(l), {
30
- class: "gap-1.5 font-medium px-2.5 h-8 shadow-none focus:outline-none custom-scroll whitespace-nowrap",
30
+ class: "custom-scroll h-8 gap-1.5 whitespace-nowrap px-2.5 font-medium shadow-none focus:outline-none",
31
31
  type: "submit",
32
32
  variant: t.danger ? "danger" : "solid"
33
33
  }, {
@@ -1,6 +1,5 @@
1
1
  type __VLS_Props = {
2
2
  title?: string;
3
- isSidebarOpen?: boolean;
4
3
  };
5
4
  declare function __VLS_template(): {
6
5
  attrs: Partial<{}>;
@@ -16,9 +15,7 @@ declare function __VLS_template(): {
16
15
  rootEl: HTMLElement;
17
16
  };
18
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
- isSidebarOpen: boolean;
21
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
18
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
22
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
20
  export default _default;
24
21
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAmJA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AA+DJ,iBAAS,cAAc;WAoHT,OAAO,IAA6B;;wBAZtB,GAAG;wBACH,GAAG;wBAEH,GAAG;yBADF,GAAG;;;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;mBAzMD,OAAO;qFAiNzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAepG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAmJA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAyDF,iBAAS,cAAc;WAoHT,OAAO,IAA6B;;wBAZtB,GAAG;wBACH,GAAG;wBAEH,GAAG;yBADF,GAAG;;;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Sidebar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5397f2a7"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-d9639e58"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,63 +1,63 @@
1
- import { defineComponent as S, ref as g, withDirectives as D, openBlock as l, createElementBlock as m, normalizeClass as h, normalizeStyle as L, unref as s, renderSlot as n, createElementVNode as r, toDisplayString as _, createCommentVNode as u, Fragment as W, vShow as $ } from "vue";
2
- import { useBreakpoints as z } from "@scalar/use-hooks/useBreakpoints";
3
- import { useWorkspace as B } from "../../store/store.js";
4
- import { useLayout as C } from "../../hooks/useLayout.js";
5
- const I = {
1
+ import { defineComponent as E, ref as g, withDirectives as S, openBlock as l, createElementBlock as m, normalizeClass as h, normalizeStyle as _, unref as t, renderSlot as r, createElementVNode as n, toDisplayString as D, createCommentVNode as u, Fragment as L, vShow as N } from "vue";
2
+ import { useBreakpoints as W } from "@scalar/use-hooks/useBreakpoints";
3
+ import { useLayout as $ } from "../../hooks/useLayout.js";
4
+ import { useSidebar as z } from "../../hooks/useSidebar.js";
5
+ import { useWorkspace as C } from "../../store/store.js";
6
+ const B = {
6
7
  key: 0,
7
- class: "min-h-12 xl:min-h-client-header flex items-center justify-between px-3 py-1.5 md:px-[18px] md:py-2.5 text-sm"
8
- }, X = { class: "font-medium m-0 text-sm whitespace-nowrap" }, N = { class: "bg-b-1 relative z-10 pt-0 md:px-2.5 md:pb-2.5 sticky bottom-0 w-[inherit] has-[.empty-sidebar-item]:border-t-1/2" }, F = /* @__PURE__ */ S({
8
+ class: "xl:min-h-client-header flex min-h-12 items-center justify-between px-3 py-1.5 text-sm md:px-[18px] md:py-2.5"
9
+ }, I = { class: "m-0 whitespace-nowrap text-sm font-medium" }, X = { class: "bg-b-1 has-[.empty-sidebar-item]:border-t-1/2 relative sticky bottom-0 z-10 w-[inherit] pt-0 md:px-2.5 md:pb-2.5" }, q = /* @__PURE__ */ E({
9
10
  __name: "Sidebar",
10
11
  props: {
11
- title: {},
12
- isSidebarOpen: { type: Boolean, default: !0 }
12
+ title: {}
13
13
  },
14
- setup(y) {
15
- const w = y, { sidebarWidth: o, setSidebarWidth: i } = B(), { layout: c } = C(), a = g(!1), p = g(null), { breakpoints: d } = z(), x = (e) => {
14
+ setup(R) {
15
+ const { isSidebarOpen: y } = z(), { sidebarWidth: o, setSidebarWidth: i } = C(), { layout: c } = $(), a = g(!1), p = g(null), { breakpoints: d } = W(), w = (e) => {
16
16
  e.preventDefault();
17
- const f = e.clientX, k = parseInt(
17
+ const f = e.clientX, x = Number.parseInt(
18
18
  getComputedStyle(p.value).width || o.value,
19
19
  10
20
- ), b = (E) => {
20
+ ), b = (k) => {
21
21
  a.value = !0, document.body.classList.add("dragging");
22
- let t = k + E.clientX - f;
23
- t > 420 && (t = 420 + (t - 420) * 0.2), t < 240 && (t = 240), i(`${t}px`);
22
+ let s = x + k.clientX - f;
23
+ s > 420 && (s = 420 + (s - 420) * 0.2), s < 240 && (s = 240), i(`${s}px`);
24
24
  }, v = () => {
25
- a.value = !1, document.body.classList.remove("dragging"), document.documentElement.removeEventListener("mousemove", b, !1), document.documentElement.removeEventListener("mouseup", v, !1), parseInt(o.value, 10) > 420 ? i("360px") : parseInt(o.value, 10) < 240 && i("240px");
25
+ a.value = !1, document.body.classList.remove("dragging"), document.documentElement.removeEventListener("mousemove", b, !1), document.documentElement.removeEventListener("mouseup", v, !1), Number.parseInt(o.value, 10) > 420 ? i("360px") : Number.parseInt(o.value, 10) < 240 && i("240px");
26
26
  };
27
27
  document.documentElement.addEventListener("mousemove", b, !1), document.documentElement.addEventListener("mouseup", v, !1);
28
28
  };
29
- return (e, f) => D((l(), m("aside", {
29
+ return (e, f) => S((l(), m("aside", {
30
30
  ref_key: "sidebarRef",
31
31
  ref: p,
32
- class: h(["sidebar overflow-hidden relative flex flex-col flex-1 md:flex-none bg-b-1 md:border-b-0 md:border-r-1/2 min-w-full md:min-w-fit leading-3", { dragging: a.value }]),
33
- style: L({ width: s(d).lg ? s(o) : "100%" })
32
+ class: h(["sidebar bg-b-1 md:border-r-1/2 relative flex min-w-full flex-1 flex-col overflow-hidden leading-3 md:min-w-fit md:flex-none md:border-b-0", { dragging: a.value }]),
33
+ style: _({ width: t(d).lg ? t(o) : "100%" })
34
34
  }, [
35
- n(e.$slots, "header", {}, void 0, !0),
36
- s(c) !== "modal" && e.title ? (l(), m("div", I, [
37
- r("h2", X, _(e.title), 1),
38
- s(d).lg ? u("", !0) : n(e.$slots, "button", { key: 0 }, void 0, !0)
35
+ r(e.$slots, "header", {}, void 0, !0),
36
+ t(c) !== "modal" && e.title ? (l(), m("div", B, [
37
+ n("h2", I, D(e.title), 1),
38
+ t(d).lg ? u("", !0) : r(e.$slots, "button", { key: 0 }, void 0, !0)
39
39
  ])) : u("", !0),
40
- r("div", {
41
- class: h(["custom-scroll sidebar-height pb-0 md:pb-[37px] w-[inherit]", {
42
- "sidebar-mask": s(c) !== "modal"
40
+ n("div", {
41
+ class: h(["custom-scroll sidebar-height w-[inherit] pb-0 md:pb-[37px]", {
42
+ "sidebar-mask": t(c) !== "modal"
43
43
  }])
44
44
  }, [
45
- n(e.$slots, "content", {}, void 0, !0)
45
+ r(e.$slots, "content", {}, void 0, !0)
46
46
  ], 2),
47
- s(d).lg ? (l(), m(W, { key: 1 }, [
48
- r("div", N, [
49
- n(e.$slots, "button", {}, void 0, !0)
47
+ t(d).lg ? (l(), m(L, { key: 1 }, [
48
+ n("div", X, [
49
+ r(e.$slots, "button", {}, void 0, !0)
50
50
  ]),
51
- r("div", {
51
+ n("div", {
52
52
  class: "resizer",
53
- onMousedown: x
53
+ onMousedown: w
54
54
  }, null, 32)
55
55
  ], 64)) : u("", !0)
56
56
  ], 6)), [
57
- [$, w.isSidebarOpen]
57
+ [N, t(y)]
58
58
  ]);
59
59
  }
60
60
  });
61
61
  export {
62
- F as default
62
+ q as default
63
63
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AAqCA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AAcF,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AAcF,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, openBlock as o, createBlock as e, unref as r, withCtx as u, renderSlot as p, createCommentVNode as s } from "vue";
2
- import m from "../ScalarHotkey.vue.js";
3
- import { ScalarButton as d } from "@scalar/components";
2
+ import { ScalarButton as m } from "@scalar/components";
3
+ import d from "../ScalarHotkey.vue.js";
4
4
  import { useLayout as k } from "../../hooks/useLayout.js";
5
5
  const g = /* @__PURE__ */ i({
6
6
  __name: "SidebarButton",
@@ -12,17 +12,17 @@ const g = /* @__PURE__ */ i({
12
12
  const a = n, { layout: c } = k(), l = () => {
13
13
  a.click();
14
14
  };
15
- return (t, h) => (o(), e(r(d), {
16
- class: "bg-b-1 text-c-1 hover:bg-b-2 group relative w-auto md:w-full border-1/2 px-2 py-1 md:p-1.5 h-auto",
15
+ return (t, h) => (o(), e(r(m), {
16
+ class: "bg-b-1 text-c-1 hover:bg-b-2 border-1/2 group relative h-auto w-auto px-2 py-1 md:w-full md:p-1.5",
17
17
  icon: "Plus",
18
18
  variant: "outlined",
19
19
  onClick: l
20
20
  }, {
21
21
  default: u(() => [
22
22
  p(t.$slots, "title"),
23
- t.hotkey && r(c) === "desktop" ? (o(), e(m, {
23
+ t.hotkey && r(c) === "desktop" ? (o(), e(d, {
24
24
  key: 0,
25
- class: "hidden md:block absolute right-2 group-hover:opacity-80 text-c-2 add-item-hotkey",
25
+ class: "text-c-2 add-item-hotkey absolute right-2 hidden group-hover:opacity-80 md:block",
26
26
  hotkey: t.hotkey
27
27
  }, null, 8, ["hotkey"])) : s("", !0)
28
28
  ]),
@@ -1,4 +1,5 @@
1
1
  import { type Icon } from '@scalar/components';
2
+ import { type RouteLocationRaw } from 'vue-router';
2
3
  type __VLS_Props = {
3
4
  variable: {
4
5
  uid: string;
@@ -7,12 +8,11 @@ type __VLS_Props = {
7
8
  icon?: Icon;
8
9
  isDefault?: boolean;
9
10
  };
10
- collectionId?: string;
11
11
  warningMessage?: string;
12
+ to: RouteLocationRaw;
12
13
  isDeletable?: boolean;
13
14
  isCopyable?: boolean;
14
15
  isRenameable?: boolean;
15
- type: 'environment' | 'cookies' | 'servers';
16
16
  };
17
17
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
18
  delete: (id: string) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarListElement.vue"],"names":[],"mappings":"AAsHA,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,oBAAoB,CAAA;AAK1D,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,IAAI,CAAC,EAAE,IAAI,CAAA;QACX,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;IACD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,EAAE,aAAa,GAAG,SAAS,GAAG,SAAS,CAAA;CAC5C,CAAC;;;;;;;;;;AAyNF,wBAQG"}
1
+ {"version":3,"file":"SidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarListElement.vue"],"names":[],"mappings":"AAgGA,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAa,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAM7D,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,IAAI,CAAC,EAAE,IAAI,CAAA;QACX,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;IACD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,EAAE,EAAE,gBAAgB,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;;;;;;;;;;AAiMF,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./SidebarListElement.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-a6c1ff1c"]]);
4
+ const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-245380f1"]]);
5
5
  export {
6
- f as default
6
+ a as default
7
7
  };
@@ -1,74 +1,64 @@
1
- import { defineComponent as C, resolveComponent as h, openBlock as s, createElementBlock as c, createVNode as d, normalizeClass as B, unref as p, withModifiers as D, withCtx as I, createElementVNode as m, normalizeStyle as M, createCommentVNode as u, createBlock as R, toDisplayString as E } from "vue";
2
- import N from "./SidebarListElementActions.vue.js";
3
- import { useActiveEntities as S } from "../../store/active-entities.js";
4
- import { ScalarIcon as z } from "@scalar/components";
5
- import { useRouter as V } from "vue-router";
6
- const A = { class: "empty-variable-name text-sm line-clamp-1 break-all group-hover:pr-5" }, F = /* @__PURE__ */ C({
1
+ import { defineComponent as y, resolveComponent as C, openBlock as l, createElementBlock as i, createVNode as s, normalizeClass as k, withModifiers as h, withCtx as w, createElementVNode as m, normalizeStyle as B, createCommentVNode as b, createBlock as D, unref as M, toDisplayString as R } from "vue";
2
+ import { ScalarIcon as N } from "@scalar/components";
3
+ import { useRouter as S } from "vue-router";
4
+ import z from "./SidebarListElementActions.vue.js";
5
+ const E = { class: "empty-variable-name line-clamp-1 break-all text-sm group-hover:pr-5" }, K = /* @__PURE__ */ y({
7
6
  __name: "SidebarListElement",
8
7
  props: {
9
8
  variable: {},
10
- collectionId: {},
11
9
  warningMessage: {},
10
+ to: {},
12
11
  isDeletable: { type: Boolean },
13
12
  isCopyable: { type: Boolean },
14
- isRenameable: { type: Boolean },
15
- type: {}
13
+ isRenameable: { type: Boolean }
16
14
  },
17
15
  emits: ["delete", "colorModal", "rename"],
18
- setup(b, { emit: v }) {
19
- const k = b, r = v, y = V(), { activeWorkspace: t } = S(), f = (e, a, i) => {
20
- var n;
21
- const o = {
22
- workspaceId: (n = t.value) == null ? void 0 : n.uid,
23
- type: k.type,
24
- collectionId: i || void 0,
25
- uid: a
26
- }, l = i ? `/workspace/${o.workspaceId}/${o.type}/${o.collectionId}/${o.uid}` : `/workspace/${o.workspaceId}/${o.type}/${o.uid}`;
27
- e.metaKey ? window.open(l, "_blank") : y.push({ path: l });
28
- }, g = (e) => {
29
- r("delete", e);
30
- }, w = (e) => {
31
- r("colorModal", e);
32
- }, $ = (e) => {
33
- r("rename", e);
16
+ setup(p, { emit: u }) {
17
+ const n = p, a = u, r = S(), c = (e) => {
18
+ e.metaKey ? window.open(r.resolve(n.to).href, "_blank") : r.push(n.to);
19
+ }, d = (e) => {
20
+ a("delete", e);
21
+ }, v = (e) => {
22
+ a("colorModal", e);
23
+ }, f = (e) => {
24
+ a("rename", e);
34
25
  };
35
- return (e, a) => {
36
- var o, l;
37
- const i = h("router-link");
38
- return s(), c("li", null, [
39
- d(i, {
40
- class: B(["h-8 text-c-2 hover:bg-b-2 group relative block flex items-center gap-1.5 rounded py-1 pr-1.5 font-medium no-underline", [e.variable.color ? "pl-1" : "pl-1.5"]]),
41
- exactActiveClass: "active-link",
26
+ return (e, o) => {
27
+ const g = C("router-link");
28
+ return l(), i("li", null, [
29
+ s(g, {
30
+ class: k(["text-c-2 hover:bg-b-2 group relative flex h-8 items-center gap-1.5 rounded py-1 pr-1.5 font-medium no-underline", [e.variable.color ? "pl-1" : "pl-1.5"]]),
31
+ exactActiveClass: "bg-b-2 text-c-1",
42
32
  role: "button",
43
- to: e.collectionId ? `/workspace/${(o = p(t)) == null ? void 0 : o.uid}/${e.type}/${e.collectionId}/${e.variable.uid}` : `/workspace/${(l = p(t)) == null ? void 0 : l.uid}/${e.type}/${e.variable.uid}`,
44
- onClick: a[1] || (a[1] = D((n) => f(n, e.variable.uid, e.collectionId), ["prevent"]))
33
+ to: e.to,
34
+ onClick: o[1] || (o[1] = h((t) => c(t), ["prevent"]))
45
35
  }, {
46
- default: I(() => [
47
- e.variable.color ? (s(), c("button", {
36
+ default: w(() => [
37
+ e.variable.color ? (l(), i("button", {
48
38
  key: 0,
49
39
  class: "hover:bg-b-3 rounded p-1.5",
50
40
  type: "button",
51
- onClick: a[0] || (a[0] = (n) => w(e.variable.uid))
41
+ onClick: o[0] || (o[0] = (t) => v(e.variable.uid))
52
42
  }, [
53
43
  m("div", {
54
44
  class: "h-2.5 w-2.5 rounded-xl",
55
- style: M({ backgroundColor: e.variable.color })
45
+ style: B({ backgroundColor: e.variable.color })
56
46
  }, null, 4)
57
- ])) : u("", !0),
58
- e.variable.icon ? (s(), R(p(z), {
47
+ ])) : b("", !0),
48
+ e.variable.icon ? (l(), D(M(N), {
59
49
  key: 1,
60
50
  class: "text-sidebar-c-2 size-3.5 stroke-[2.25]",
61
51
  icon: e.variable.icon
62
- }, null, 8, ["icon"])) : u("", !0),
63
- m("span", A, E(e.variable.name), 1),
64
- d(N, {
52
+ }, null, 8, ["icon"])) : b("", !0),
53
+ m("span", E, R(e.variable.name), 1),
54
+ s(z, {
65
55
  isCopyable: !!e.isCopyable,
66
56
  isDeletable: !!e.isDeletable,
67
57
  isRenameable: !!e.isRenameable,
68
58
  variable: { ...e.variable, isDefault: e.variable.isDefault ?? !1 },
69
59
  warningMessage: e.warningMessage,
70
- onDelete: g,
71
- onRename: $
60
+ onDelete: d,
61
+ onRename: f
72
62
  }, null, 8, ["isCopyable", "isDeletable", "isRenameable", "variable", "warningMessage"])
73
63
  ]),
74
64
  _: 1
@@ -78,5 +68,5 @@ const A = { class: "empty-variable-name text-sm line-clamp-1 break-all group-hov
78
68
  }
79
69
  });
80
70
  export {
81
- F as default
71
+ K as default
82
72
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarListElementActions.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarListElementActions.vue"],"names":[],"mappings":"AAmGA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,SAAS,EAAE,OAAO,CAAA;KACnB,CAAA;IACD,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;;;;;;;;AA2MF,wBAOG"}
1
+ {"version":3,"file":"SidebarListElementActions.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarListElementActions.vue"],"names":[],"mappings":"AAqGA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,SAAS,EAAE,OAAO,CAAA;KACnB,CAAA;IACD,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;;;;;;;;AA2MF,wBAOG"}
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as g, ref as C, openBlock as n, createElementBlock as l, Fragment as h, createElementVNode as w, unref as a, createVNode as i, createCommentVNode as r, withModifiers as k, withCtx as M, createBlock as D } from "vue";
2
- import N from "./Actions/DeleteSidebarListElement.vue.js";
3
- import { useModal as $, ScalarIcon as m, ScalarModal as B } from "@scalar/components";
4
- import { useClipboard as x } from "@scalar/use-hooks/useClipboard";
5
- const E = { class: "absolute flex right-1 opacity-0 group-hover:opacity-100" }, R = /* @__PURE__ */ g({
2
+ import { useModal as N, ScalarIcon as m, ScalarModal as $ } from "@scalar/components";
3
+ import { useClipboard as B } from "@scalar/use-hooks/useClipboard";
4
+ import x from "./Actions/DeleteSidebarListElement.vue.js";
5
+ const E = { class: "absolute right-1 flex opacity-0 group-hover:opacity-100" }, R = /* @__PURE__ */ g({
6
6
  __name: "SidebarListElementActions",
7
7
  props: {
8
8
  variable: {},
@@ -13,7 +13,7 @@ const E = { class: "absolute flex right-1 opacity-0 group-hover:opacity-100" },
13
13
  },
14
14
  emits: ["delete", "rename"],
15
15
  setup(d, { emit: p }) {
16
- const b = p, o = C({ action: "None", name: "" }), s = $(), { copyToClipboard: v } = x();
16
+ const b = p, o = C({ action: "None", name: "" }), s = N(), { copyToClipboard: v } = B();
17
17
  function f(e) {
18
18
  o.value = { action: e, name: d.variable.name }, s.show();
19
19
  }
@@ -62,13 +62,13 @@ const E = { class: "absolute flex right-1 opacity-0 group-hover:opacity-100" },
62
62
  })
63
63
  ])) : r("", !0)
64
64
  ]),
65
- i(a(B), {
65
+ i(a($), {
66
66
  size: "sm",
67
67
  state: a(s),
68
68
  title: `${o.value.action} ${o.value.name}`
69
69
  }, {
70
70
  default: M(() => [
71
- o.value.action === "Delete" ? (n(), D(N, {
71
+ o.value.action === "Delete" ? (n(), D(x, {
72
72
  key: 0,
73
73
  variableName: o.value.name,
74
74
  warningMessage: e.warningMessage,
@@ -1,10 +1,3 @@
1
- type __VLS_Props = {
2
- modelValue: boolean;
3
- };
4
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
- "update:modelValue": (v: boolean) => any;
6
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
- "onUpdate:modelValue"?: (v: boolean) => any;
8
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLButtonElement>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>;
9
2
  export default _default;
10
3
  //# sourceMappingURL=SidebarToggle.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarToggle.vue"],"names":[],"mappings":"AA+CA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;AAiFF,wBAQG"}
1
+ {"version":3,"file":"SidebarToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarToggle.vue"],"names":[],"mappings":";AAqHA,wBAMG"}