@scalar/api-client 2.2.45 → 2.2.47

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 (359) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +1 -2
  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 +35 -30
  8. package/dist/components/AddressBar/index.d.ts +1 -1
  9. package/dist/components/CodeInput/CodeInput.vue.d.ts +5 -5
  10. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  11. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  12. package/dist/components/CodeInput/CodeInput.vue2.js +66 -60
  13. package/dist/components/CodeInput/codeVariableWidget.d.ts +5 -5
  14. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  15. package/dist/components/CodeInput/codeVariableWidget.js +2 -3
  16. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +4 -4
  17. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  18. package/dist/components/CommandPalette/CommandActionForm.vue.js +10 -10
  19. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -2
  20. package/dist/components/CommandPalette/CommandActionInput.vue.js +1 -1
  21. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -2
  22. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -2
  23. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +46 -40
  25. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -2
  26. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -2
  27. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +2 -2
  28. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +2 -2
  29. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +2 -2
  30. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +14 -14
  31. package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +1 -1
  32. package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
  33. package/dist/components/CommandPalette/index.d.ts +1 -1
  34. package/dist/components/ContextBar.vue.d.ts +1 -1
  35. package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
  36. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  37. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +1 -1
  38. package/dist/components/DataTable/DataTableCheckbox.vue.js +6 -6
  39. package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -6
  40. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  41. package/dist/components/DataTable/DataTableInput.vue.js +4 -4
  42. package/dist/components/DataTable/DataTableInput.vue2.js +22 -23
  43. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +3 -3
  44. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  45. package/dist/components/DataTable/DataTableInputSelect.vue.js +39 -39
  46. package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
  47. package/dist/components/DataTable/index.d.ts +8 -8
  48. package/dist/components/EmptyState.vue.d.ts.map +1 -1
  49. package/dist/components/EmptyState.vue.js +2 -2
  50. package/dist/components/EmptyState.vue2.js +13 -13
  51. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  52. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  53. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +1 -1
  54. package/dist/components/HttpMethod/index.d.ts +1 -1
  55. package/dist/components/IconSelector.vue.d.ts +1 -1
  56. package/dist/components/IconSelector.vue.d.ts.map +1 -1
  57. package/dist/components/ImportCollection/DropEventListener.vue.d.ts +1 -1
  58. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +1 -1
  59. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +1 -1
  60. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +1 -1
  61. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +1 -1
  62. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +2 -2
  63. package/dist/components/ImportCollection/index.d.ts +1 -1
  64. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +3 -3
  65. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  66. package/dist/components/Search/useSearch.d.ts +4 -2
  67. package/dist/components/Search/useSearch.d.ts.map +1 -1
  68. package/dist/components/Search/useSearch.js +63 -56
  69. package/dist/components/Search/useSearch.test.d.ts +2 -0
  70. package/dist/components/Search/useSearch.test.d.ts.map +1 -0
  71. package/dist/components/Server/ServerDropdown.test.d.ts +2 -0
  72. package/dist/components/Server/ServerDropdown.test.d.ts.map +1 -0
  73. package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -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 +27 -28
  77. package/dist/components/Server/ServerVariablesForm.vue.d.ts +2 -2
  78. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
  79. package/dist/components/Server/ServerVariablesSelect.vue.d.ts +2 -2
  80. package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
  81. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +2 -2
  82. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
  83. package/dist/components/Server/ServerVariablesTextbox.vue.js +9 -9
  84. package/dist/components/Server/index.d.ts +2 -2
  85. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  86. package/dist/components/SideNav/SideNav.vue.js +19 -19
  87. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  88. package/dist/components/SideNav/SideNavLink.vue.js +11 -11
  89. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +1 -1
  90. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
  91. package/dist/components/SideNav/SideNavRouterLink.vue.js +19 -13
  92. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +3 -3
  93. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  94. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +2 -2
  95. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +2 -2
  96. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +2 -2
  97. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  98. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  99. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  100. package/dist/components/Sidebar/Sidebar.vue2.js +5 -5
  101. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  102. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +3 -3
  103. package/dist/components/Sidebar/SidebarListElement.vue.js +1 -1
  104. package/dist/components/Sidebar/SidebarListElement.vue2.js +9 -9
  105. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +3 -3
  106. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  107. package/dist/components/Sidebar/SidebarToggle.vue.d.ts +1 -1
  108. package/dist/components/Sidebar/index.d.ts +1 -1
  109. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  110. package/dist/components/TopNav/TopNav.vue.js +74 -73
  111. package/dist/components/TopNav/TopNavItem.vue.d.ts +5 -5
  112. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  113. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  114. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +3 -3
  115. package/dist/components/index.d.ts +3 -3
  116. package/dist/hooks/index.d.ts +5 -4
  117. package/dist/hooks/index.d.ts.map +1 -1
  118. package/dist/hooks/index.js +4 -2
  119. package/dist/hooks/useResponseBody.d.ts +18 -0
  120. package/dist/hooks/useResponseBody.d.ts.map +1 -0
  121. package/dist/hooks/useResponseBody.js +28 -0
  122. package/dist/hooks/useResponseBody.test.d.ts +2 -0
  123. package/dist/hooks/useResponseBody.test.d.ts.map +1 -0
  124. package/dist/index.d.ts +4 -4
  125. package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -2
  126. package/dist/layouts/App/create-api-client-app.d.ts +106 -66
  127. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  128. package/dist/layouts/App/create-api-client-app.test.d.ts +2 -0
  129. package/dist/layouts/App/create-api-client-app.test.d.ts.map +1 -0
  130. package/dist/layouts/App/index.d.ts +2 -2
  131. package/dist/layouts/Modal/create-api-client-modal.d.ts +215 -135
  132. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  133. package/dist/layouts/Modal/create-api-client-modal.test.d.ts +2 -0
  134. package/dist/layouts/Modal/create-api-client-modal.test.d.ts.map +1 -0
  135. package/dist/layouts/Modal/index.d.ts +2 -2
  136. package/dist/layouts/Web/create-api-client-web.d.ts +106 -66
  137. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  138. package/dist/layouts/Web/create-api-client-web.test.d.ts +2 -0
  139. package/dist/layouts/Web/create-api-client-web.test.d.ts.map +1 -0
  140. package/dist/layouts/Web/index.d.ts +2 -2
  141. package/dist/libs/create-client.d.ts +106 -66
  142. package/dist/libs/create-client.d.ts.map +1 -1
  143. package/dist/libs/create-client.js +56 -57
  144. package/dist/libs/env-helpers.test.d.ts +2 -0
  145. package/dist/libs/env-helpers.test.d.ts.map +1 -0
  146. package/dist/libs/environment-parser.d.ts +1 -1
  147. package/dist/libs/event-bus.test.d.ts +2 -0
  148. package/dist/libs/event-bus.test.d.ts.map +1 -0
  149. package/dist/libs/extractAttachmentFilename.test.d.ts +2 -0
  150. package/dist/libs/extractAttachmentFilename.test.d.ts.map +1 -0
  151. package/dist/libs/find-request.test.d.ts +2 -0
  152. package/dist/libs/find-request.test.d.ts.map +1 -0
  153. package/dist/libs/getOpenApiDocumentDetails.d.ts +1 -1
  154. package/dist/libs/getOpenApiDocumentDetails.d.ts.map +1 -1
  155. package/dist/libs/hot-keys.d.ts +1 -1
  156. package/dist/libs/importers/curl.js +1 -1
  157. package/dist/libs/importers/curl.test.d.ts +2 -0
  158. package/dist/libs/importers/curl.test.d.ts.map +1 -0
  159. package/dist/libs/importers/index.d.ts +1 -1
  160. package/dist/libs/index.d.ts +16 -16
  161. package/dist/libs/local-storage.d.ts +1 -1
  162. package/dist/libs/normalize-headers.test.d.ts +2 -0
  163. package/dist/libs/normalize-headers.test.d.ts.map +1 -0
  164. package/dist/libs/parse-curl.test.d.ts +2 -0
  165. package/dist/libs/parse-curl.test.d.ts.map +1 -0
  166. package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
  167. package/dist/libs/send-request/build-request-security.js +13 -12
  168. package/dist/libs/send-request/build-request-security.test.d.ts +2 -0
  169. package/dist/libs/send-request/build-request-security.test.d.ts.map +1 -0
  170. package/dist/libs/send-request/create-fetch-auth.test.d.ts +2 -0
  171. package/dist/libs/send-request/create-fetch-auth.test.d.ts.map +1 -0
  172. package/dist/libs/send-request/create-fetch-body.test.d.ts +2 -0
  173. package/dist/libs/send-request/create-fetch-body.test.d.ts.map +1 -0
  174. package/dist/libs/send-request/create-fetch-headers.test.d.ts +2 -0
  175. package/dist/libs/send-request/create-fetch-headers.test.d.ts.map +1 -0
  176. package/dist/libs/send-request/create-fetch-query-params.test.d.ts +2 -0
  177. package/dist/libs/send-request/create-fetch-query-params.test.d.ts.map +1 -0
  178. package/dist/libs/send-request/create-request-operation.d.ts +4 -4
  179. package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
  180. package/dist/libs/send-request/create-request-operation.js +55 -51
  181. package/dist/libs/send-request/create-request-operation.test.d.ts +171 -0
  182. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -0
  183. package/dist/libs/send-request/decode-buffer.test.d.ts +2 -0
  184. package/dist/libs/send-request/decode-buffer.test.d.ts.map +1 -0
  185. package/dist/libs/send-request/index.d.ts +2 -2
  186. package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
  187. package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
  188. package/dist/libs/send-request/set-request-cookies.test.d.ts +2 -0
  189. package/dist/libs/send-request/set-request-cookies.test.d.ts.map +1 -0
  190. package/dist/libs/string-template.test.d.ts +2 -0
  191. package/dist/libs/string-template.test.d.ts.map +1 -0
  192. package/dist/router.d.ts +1 -1
  193. package/dist/routes.d.ts +27 -27
  194. package/dist/routes.js +4 -4
  195. package/dist/routes.test.d.ts +2 -0
  196. package/dist/routes.test.d.ts.map +1 -0
  197. package/dist/store/active-entities.d.ts +10 -6
  198. package/dist/store/active-entities.d.ts.map +1 -1
  199. package/dist/store/collections.d.ts +1 -1
  200. package/dist/store/collections.d.ts.map +1 -1
  201. package/dist/store/collections.js +17 -14
  202. package/dist/store/collections.test.d.ts +2 -0
  203. package/dist/store/collections.test.d.ts.map +1 -0
  204. package/dist/store/events.d.ts +7 -7
  205. package/dist/store/import-spec.d.ts +1 -1
  206. package/dist/store/index.d.ts +2 -2
  207. package/dist/store/request-example.d.ts +52 -52
  208. package/dist/store/request-example.d.ts.map +1 -1
  209. package/dist/store/request.test.d.ts +2 -0
  210. package/dist/store/request.test.d.ts.map +1 -0
  211. package/dist/store/requests.d.ts +1 -1
  212. package/dist/store/router-params.d.ts +1 -1
  213. package/dist/store/store.d.ts +103 -63
  214. package/dist/store/store.d.ts.map +1 -1
  215. package/dist/store/store.js +1 -1
  216. package/dist/store/workspace.d.ts +44 -4
  217. package/dist/store/workspace.d.ts.map +1 -1
  218. package/dist/style.css +1 -1
  219. package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts +2 -0
  220. package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts.map +1 -0
  221. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +13 -0
  222. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -0
  223. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +46 -0
  224. package/dist/views/Components/CodeSnippet/CodeSnippet.vue2.js +4 -0
  225. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts +28 -0
  226. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts.map +1 -0
  227. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +64 -0
  228. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts +2 -0
  229. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts.map +1 -0
  230. package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +12 -0
  231. package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +1 -0
  232. package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +47 -0
  233. package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts +2 -0
  234. package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts.map +1 -0
  235. package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts +13 -0
  236. package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts.map +1 -0
  237. package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +47 -0
  238. package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts +2 -0
  239. package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts.map +1 -0
  240. package/dist/views/Components/CodeSnippet/index.d.ts +5 -0
  241. package/dist/views/Components/CodeSnippet/index.d.ts.map +1 -0
  242. package/dist/views/Components/CodeSnippet/index.js +10 -0
  243. package/dist/views/Cookies/CookieModal.vue.d.ts +3 -3
  244. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  245. package/dist/views/Cookies/Cookies.vue2.js +77 -70
  246. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  247. package/dist/views/Environment/Environment.vue2.js +127 -113
  248. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +2 -2
  249. package/dist/views/Environment/EnvironmentColors.vue.d.ts +1 -1
  250. package/dist/views/Environment/EnvironmentModal.vue.d.ts +6 -6
  251. package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
  252. package/dist/views/Environment/EnvironmentModal.vue.js +1 -1
  253. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -2
  254. package/dist/views/Request/Request.vue.d.ts +2 -2
  255. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  256. package/dist/views/Request/Request.vue.js +2 -2
  257. package/dist/views/Request/Request.vue2.js +92 -86
  258. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -2
  259. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
  260. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts +2 -0
  261. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts.map +1 -0
  262. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +1 -1
  263. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  264. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  265. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +4 -4
  266. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  267. package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +2 -2
  268. package/dist/views/Request/RequestSection/RequestBody.test.d.ts +2 -0
  269. package/dist/views/Request/RequestSection/RequestBody.test.d.ts.map +1 -0
  270. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  271. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  272. package/dist/views/Request/RequestSection/RequestBody.vue2.js +20 -20
  273. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +3 -0
  274. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -0
  275. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +7 -0
  276. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +141 -0
  277. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  278. package/dist/views/Request/RequestSection/RequestParams.vue.js +53 -59
  279. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  280. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  281. package/dist/views/Request/RequestSection/RequestSection.vue2.js +71 -62
  282. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +8 -8
  283. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  284. package/dist/views/Request/RequestSection/RequestTable.vue2.js +59 -59
  285. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts +6 -0
  286. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts.map +1 -0
  287. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +20 -0
  288. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts +2 -0
  289. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts.map +1 -0
  290. package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +6 -0
  291. package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -0
  292. package/dist/views/Request/RequestSection/helpers/getting-started.js +17 -0
  293. package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts +2 -0
  294. package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts.map +1 -0
  295. package/dist/views/Request/RequestSection/index.d.ts +2 -1
  296. package/dist/views/Request/RequestSection/index.d.ts.map +1 -1
  297. package/dist/views/Request/RequestSection/index.js +4 -2
  298. package/dist/views/Request/RequestSidebar.vue.d.ts +5 -5
  299. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  300. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  301. package/dist/views/Request/RequestSidebar.vue2.js +211 -193
  302. package/dist/views/Request/RequestSidebarItem.vue.d.ts +18 -31
  303. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  304. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  305. package/dist/views/Request/RequestSidebarItem.vue2.js +113 -113
  306. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +5 -5
  307. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  308. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  309. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +120 -101
  310. package/dist/views/Request/RequestSubpageHeader.test.d.ts +2 -0
  311. package/dist/views/Request/RequestSubpageHeader.test.d.ts.map +1 -0
  312. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +3 -3
  313. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  314. package/dist/views/Request/RequestSubpageHeader.vue2.js +1 -1
  315. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  316. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
  317. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +50 -64
  318. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +3 -3
  319. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
  320. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
  321. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +27 -27
  322. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +1 -1
  323. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  324. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
  325. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +1 -1
  326. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts +2 -0
  327. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts.map +1 -0
  328. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +6 -0
  329. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
  330. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +38 -19
  331. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  332. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  333. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
  334. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +30 -28
  335. package/dist/views/Request/ResponseSection/index.d.ts +1 -1
  336. package/dist/views/Request/components/index.d.ts +1 -1
  337. package/dist/views/Request/consts/index.d.ts +3 -3
  338. package/dist/views/Request/handle-drag.d.ts +2 -2
  339. package/dist/views/Request/libs/auth.d.ts +1 -1
  340. package/dist/views/Request/libs/auth.test.d.ts +2 -0
  341. package/dist/views/Request/libs/auth.test.d.ts.map +1 -0
  342. package/dist/views/Request/libs/index.d.ts +2 -2
  343. package/dist/views/Request/libs/oauth2.d.ts +2 -2
  344. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  345. package/dist/views/Request/libs/oauth2.js +7 -7
  346. package/dist/views/Request/libs/oauth2.test.d.ts +2 -0
  347. package/dist/views/Request/libs/oauth2.test.d.ts.map +1 -0
  348. package/dist/views/Request/libs/request.test.d.ts +2 -0
  349. package/dist/views/Request/libs/request.test.d.ts.map +1 -0
  350. package/dist/views/Request/libs/watch-mode.d.ts +2 -2
  351. package/dist/views/Request/libs/watch-mode.test.d.ts +2 -0
  352. package/dist/views/Request/libs/watch-mode.test.d.ts.map +1 -0
  353. package/dist/views/Request/types/sidebar-item.d.ts +2 -2
  354. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
  355. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  356. package/dist/views/Servers/Servers.vue2.js +73 -63
  357. package/dist/views/Servers/index.d.ts +1 -1
  358. package/dist/views/Settings/components/SettingsAppearance.vue.js +6 -6
  359. package/package.json +21 -15
@@ -13,7 +13,7 @@ type __VLS_Props = {
13
13
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
14
  "update:variable": (key: string, value: string) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- "onUpdate:variable"?: ((key: string, value: string) => any) | undefined;
16
+ "onUpdate:variable"?: (key: string, value: string) => any;
17
17
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
18
18
  export default _default;
19
19
  //# sourceMappingURL=ServerDropdownItem.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdownItem.vue"],"names":[],"mappings":"AA2HA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAKxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,GAAG,SAAS,CAAA;IAChC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,YAAY,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3C,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;IAC9B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;CAC/B,CAAC;;;;;;AAiMF,wBAQG"}
1
+ {"version":3,"file":"ServerDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdownItem.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAKxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,GAAG,SAAS,CAAA;IAChC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,YAAY,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3C,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;IAC9B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;CAC/B,CAAC;;;;;;AAgMF,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ServerDropdownItem.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-2ce760a9"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-fe4c1651"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as O, useId as V, computed as b, openBlock as l, createElementBlock as d, normalizeClass as f, createElementVNode as c, unref as a, createVNode as p, toDisplayString as M, withModifiers as E, createCommentVNode as y } from "vue";
2
- import I from "./ServerVariablesForm.vue.js";
3
- import { useWorkspace as N } from "../../store/store.js";
4
- import { ScalarListboxCheckbox as q, ScalarMarkdown as B } from "@scalar/components";
5
- const D = ["aria-controls", "aria-expanded"], j = { class: "whitespace-nowrap text-ellipsis overflow-hidden" }, z = ["id"], L = { key: 0 }, P = { class: "description px-3 py-1.5 text-c-3" }, F = /* @__PURE__ */ O({
1
+ import { defineComponent as C, useId as O, computed as b, openBlock as l, createElementBlock as d, normalizeClass as V, createElementVNode as c, mergeProps as M, unref as a, createVNode as p, toDisplayString as E, withModifiers as I, createCommentVNode as f } from "vue";
2
+ import N from "./ServerVariablesForm.vue.js";
3
+ import { useWorkspace as q } from "../../store/store.js";
4
+ import { ScalarListboxCheckbox as B, ScalarMarkdown as D } from "@scalar/components";
5
+ const P = ["aria-expanded"], j = { class: "whitespace-nowrap text-ellipsis overflow-hidden" }, z = ["id"], L = { key: 0 }, U = { class: "description px-3 py-1.5 text-c-3" }, G = /* @__PURE__ */ C({
6
6
  __name: "ServerDropdownItem",
7
7
  props: {
8
8
  collection: {},
@@ -13,10 +13,10 @@ const D = ["aria-controls", "aria-expanded"], j = { class: "whitespace-nowrap te
13
13
  layout: {}
14
14
  },
15
15
  emits: ["update:variable"],
16
- setup(h, { emit: S }) {
17
- const t = h, k = S, u = V(), { collectionMutators: x, requestMutators: v, servers: g } = N(), _ = (e, r) => {
16
+ setup(y, { emit: h }) {
17
+ const t = y, S = h, u = O(), { collectionMutators: g, requestMutators: v, servers: k } = q(), x = (e, r) => {
18
18
  var o, i;
19
- m(e) && t.layout !== "reference" && (r == null || r.stopPropagation()), t.type === "collection" && t.collection ? ((i = (o = t.operation) == null ? void 0 : o.servers) != null && i.length && v.edit(t.operation.uid, "selectedServerUid", ""), x.edit(
19
+ m(e) && t.layout !== "reference" && (r == null || r.stopPropagation()), t.type === "collection" && t.collection ? ((i = (o = t.operation) == null ? void 0 : o.servers) != null && i.length && v.edit(t.operation.uid, "selectedServerUid", ""), g.edit(
20
20
  t.collection.uid,
21
21
  "selectedServerUid",
22
22
  e
@@ -28,54 +28,53 @@ const D = ["aria-controls", "aria-expanded"], j = { class: "whitespace-nowrap te
28
28
  }
29
29
  ), m = (e) => {
30
30
  if (!e) return !1;
31
- const r = g[e];
31
+ const r = k[e];
32
32
  return Object.keys((r == null ? void 0 : r.variables) ?? {}).length > 0;
33
33
  }, n = b(
34
34
  () => {
35
35
  var e;
36
36
  return s.value && m(((e = t.server) == null ? void 0 : e.uid) ?? "");
37
37
  }
38
- ), w = (e, r) => {
39
- k("update:variable", e, r);
38
+ ), _ = (e, r) => {
39
+ S("update:variable", e, r);
40
40
  };
41
41
  return (e, r) => {
42
42
  var o, i;
43
43
  return l(), d("div", {
44
- class: f(["min-h-fit rounded flex flex-col border group/item", { "border-transparent": !s.value }])
44
+ class: V(["min-h-fit rounded flex flex-col border group/item", { "border-transparent": !s.value }])
45
45
  }, [
46
- c("button", {
47
- "aria-controls": n.value ? a(u) : void 0,
46
+ c("button", M(n.value ? { "aria-controls": a(u) } : {}, {
48
47
  "aria-expanded": n.value,
49
- class: f(["cursor-pointer rounded flex items-center gap-1.5 min-h-8 px-1.5", s.value ? "text-c-1 bg-b-2" : "hover:bg-b-2"]),
48
+ class: ["cursor-pointer rounded flex items-center gap-1.5 min-h-8 px-1.5", s.value ? "text-c-1 bg-b-2" : "hover:bg-b-2"],
50
49
  type: "button",
51
- onClick: r[0] || (r[0] = (C) => _(e.serverOption.id, C))
52
- }, [
53
- p(a(q), { selected: s.value }, null, 8, ["selected"]),
54
- c("span", j, M(e.serverOption.label), 1)
55
- ], 10, D),
50
+ onClick: r[0] || (r[0] = (w) => x(e.serverOption.id, w))
51
+ }), [
52
+ p(a(B), { selected: s.value }, null, 8, ["selected"]),
53
+ c("span", j, E(e.serverOption.label), 1)
54
+ ], 16, P),
56
55
  n.value && t.layout !== "reference" ? (l(), d("div", {
57
56
  key: 0,
58
57
  id: a(u),
59
58
  class: "bg-b-2 border-t divide divide-y *:pl-4 rounded-b",
60
- onClick: r[1] || (r[1] = E(() => {
59
+ onClick: r[1] || (r[1] = I(() => {
61
60
  }, ["stop"]))
62
61
  }, [
63
- p(I, {
62
+ p(N, {
64
63
  variables: (o = e.server) == null ? void 0 : o.variables,
65
- "onUpdate:variable": w
64
+ "onUpdate:variable": _
66
65
  }, null, 8, ["variables"]),
67
66
  (i = e.server) != null && i.description ? (l(), d("div", L, [
68
- c("div", P, [
69
- p(a(B), {
67
+ c("div", U, [
68
+ p(a(D), {
70
69
  value: e.server.description
71
70
  }, null, 8, ["value"])
72
71
  ])
73
- ])) : y("", !0)
74
- ], 8, z)) : y("", !0)
72
+ ])) : f("", !0)
73
+ ], 8, z)) : f("", !0)
75
74
  ], 2);
76
75
  };
77
76
  }
78
77
  });
79
78
  export {
80
- F as default
79
+ G as default
81
80
  };
@@ -1,6 +1,6 @@
1
1
  import type { ServerVariableValues, ServerVariables } from '../../components/Server/types';
2
2
  type __VLS_Props = {
3
- variables?: ServerVariables;
3
+ variables?: ServerVariables | undefined;
4
4
  values?: ServerVariableValues;
5
5
  /** The ID of the input controlled by the variables form */
6
6
  controls?: string;
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
9
  "update:variable": (name: string, value: string) => any;
10
10
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- "onUpdate:variable"?: ((name: string, value: string) => any) | undefined;
11
+ "onUpdate:variable"?: (name: string, value: string) => any;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
14
14
  //# sourceMappingURL=ServerVariablesForm.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesForm.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,2BAA2B,CAAA;AAIlC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,eAAe,CAAA;IAC3B,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;;;;;;AA0IF,wBAOG"}
1
+ {"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesForm.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,2BAA2B,CAAA;AAIlC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACvC,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;;;;;;AA0IF,wBAOG"}
@@ -1,12 +1,12 @@
1
1
  type __VLS_Props = {
2
2
  enum: string[];
3
3
  value: string;
4
- controls?: string;
4
+ controls: string | undefined;
5
5
  };
6
6
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
7
  change: (v: string) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onChange?: ((v: string) => any) | undefined;
9
+ onChange?: (v: string) => any;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=ServerVariablesSelect.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;;;;;;AA6GF,wBAQG"}
1
+ {"version":3,"file":"ServerVariablesSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAC;;;;;;AA6GF,wBAQG"}
@@ -1,11 +1,11 @@
1
1
  type __VLS_Props = {
2
2
  value: string;
3
- controls?: string;
3
+ controls: string | undefined;
4
4
  };
5
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
6
  change: (v: string) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- onChange?: ((v: string) => any) | undefined;
8
+ onChange?: (v: string) => any;
9
9
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLInputElement>;
10
10
  export default _default;
11
11
  //# sourceMappingURL=ServerVariablesTextbox.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesTextbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesTextbox.vue"],"names":[],"mappings":"AAiCA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;;;;;;AAwEF,wBAQG"}
1
+ {"version":3,"file":"ServerVariablesTextbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesTextbox.vue"],"names":[],"mappings":"AAiCA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAC;;;;;;AAwEF,wBAQG"}
@@ -1,5 +1,5 @@
1
- import { defineComponent as c, computed as p, withDirectives as u, openBlock as i, createElementBlock as m, vModelText as d } from "vue";
2
- const f = ["aria-controls"], x = /* @__PURE__ */ c({
1
+ import { defineComponent as p, computed as c, withDirectives as u, openBlock as m, createElementBlock as i, mergeProps as d, vModelText as f } from "vue";
2
+ const g = /* @__PURE__ */ p({
3
3
  __name: "ServerVariablesTextbox",
4
4
  props: {
5
5
  value: {},
@@ -7,23 +7,23 @@ const f = ["aria-controls"], x = /* @__PURE__ */ c({
7
7
  },
8
8
  emits: ["change"],
9
9
  setup(l, { emit: r }) {
10
- const a = l, n = r, t = p({
10
+ const a = l, n = r, t = c({
11
11
  get: () => a.value,
12
12
  set: (e) => n("change", e)
13
13
  });
14
- return (e, o) => u((i(), m("input", {
15
- "onUpdate:modelValue": o[0] || (o[0] = (s) => t.value = s),
16
- "aria-controls": e.controls,
14
+ return (e, o) => u((m(), i("input", d({
15
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => t.value = s)
16
+ }, e.controls ? { ...e.$attrs, "aria-controls": e.controls } : {}, {
17
17
  autocomplete: "off",
18
18
  class: "px-1.5 text-c-1 border-transparent -outline-offset-1 w-full group-last/label:rounded-br-lg",
19
19
  placeholder: "value",
20
20
  spellcheck: "false",
21
21
  type: "text"
22
- }, null, 8, f)), [
23
- [d, t.value]
22
+ }), null, 16)), [
23
+ [f, t.value]
24
24
  ]);
25
25
  }
26
26
  });
27
27
  export {
28
- x as default
28
+ g as default
29
29
  };
@@ -1,3 +1,3 @@
1
- export { default as ServerVariablesForm } from './ServerVariablesForm.vue.js';
2
- export { default as ServerDropdown } from './ServerDropdown.vue.js';
1
+ export { default as ServerVariablesForm } from './ServerVariablesForm.vue';
2
+ export { default as ServerDropdown } from './ServerDropdown.vue';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AAoOA,wBAMG"}
1
+ {"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AA0OA,wBAMG"}
@@ -1,24 +1,24 @@
1
- import { defineComponent as h, openBlock as r, createElementBlock as o, normalizeClass as f, unref as e, createVNode as t, withCtx as n, createElementVNode as i, Fragment as v, renderList as w, createTextVNode as d, toDisplayString as y, createCommentVNode as b } from "vue";
1
+ import { defineComponent as h, openBlock as o, createElementBlock as r, normalizeClass as f, unref as e, createVNode as t, withCtx as n, createElementVNode as i, Fragment as v, renderList as w, createTextVNode as d, toDisplayString as y, createCommentVNode as b } from "vue";
2
2
  import { ROUTES as k } from "../../constants.js";
3
3
  import { ScalarIcon as N } from "@scalar/components";
4
4
  import { useRouter as S } from "vue-router";
5
- import C from "./DownloadAppButton.vue.js";
6
- import V from "./SideHelp.vue.js";
5
+ import B from "./DownloadAppButton.vue.js";
6
+ import C from "./SideHelp.vue.js";
7
7
  import u from "./SideNavGroup.vue.js";
8
8
  import _ from "./SideNavRouterLink.vue.js";
9
- import { useLayout as j } from "../../hooks/useLayout.js";
10
- const B = { class: "flex items-center" }, E = { class: "flex items-center" }, L = {
9
+ import { useLayout as V } from "../../hooks/useLayout.js";
10
+ const j = { class: "flex items-center" }, E = { class: "flex items-center" }, L = {
11
11
  key: 0,
12
12
  class: "hidden sm:ml-1.5 sm:flex items-center justify-center"
13
13
  }, q = /* @__PURE__ */ h({
14
14
  __name: "SideNav",
15
15
  setup(R) {
16
- const { currentRoute: m } = S(), { layout: s } = j();
17
- return ($, l) => (r(), o("nav", {
16
+ const { currentRoute: m } = S(), { layout: a } = V();
17
+ return ($, l) => (o(), r("nav", {
18
18
  "aria-label": "App Navigation",
19
19
  class: f([
20
20
  "flex items-center justify-center sm:justify-between gap-1.5 app-drag-region pt-2",
21
- e(s) === "web" ? "border h-header !pt-0" : "sm:flex-col px-2 pb-2"
21
+ e(a) === "web" ? "border h-header !pt-0" : "sm:flex-col px-2 pb-2"
22
22
  ]),
23
23
  role: "navigation"
24
24
  }, [
@@ -26,7 +26,7 @@ const B = { class: "flex items-center" }, E = { class: "flex items-center" }, L
26
26
  default: n(() => [
27
27
  i("a", {
28
28
  class: f(["hidden items-center mr-3 ml-1", {
29
- "sm:flex": e(s) === "web"
29
+ "sm:flex": e(a) === "web"
30
30
  }]),
31
31
  href: "https://www.scalar.com",
32
32
  target: "_blank"
@@ -36,14 +36,14 @@ const B = { class: "flex items-center" }, E = { class: "flex items-center" }, L
36
36
  size: "xl"
37
37
  })
38
38
  ], 2),
39
- (r(!0), o(v, null, w(e(k).filter(
40
- (a) => a.name !== "settings"
41
- ), ({ icon: a, name: c, prettyName: g }, x) => {
39
+ (o(!0), r(v, null, w(e(k).filter(
40
+ (s) => s.name !== "settings"
41
+ ), ({ icon: s, name: c, prettyName: g }, x) => {
42
42
  var p;
43
- return r(), o("li", { key: x }, [
43
+ return o(), r("li", { key: x }, [
44
44
  t(_, {
45
- active: (p = e(m).name) == null ? void 0 : p.startsWith(c),
46
- icon: a,
45
+ active: !!((p = e(m).name) != null && p.startsWith(c)),
46
+ icon: s,
47
47
  name: c
48
48
  }, {
49
49
  default: n(() => [
@@ -58,7 +58,7 @@ const B = { class: "flex items-center" }, E = { class: "flex items-center" }, L
58
58
  }),
59
59
  t(u, { class: "app-no-drag-region" }, {
60
60
  default: n(() => [
61
- i("li", B, [
61
+ i("li", j, [
62
62
  t(_, {
63
63
  active: e(m).name === "settings",
64
64
  icon: "Settings",
@@ -71,10 +71,10 @@ const B = { class: "flex items-center" }, E = { class: "flex items-center" }, L
71
71
  }, 8, ["active"])
72
72
  ]),
73
73
  i("li", E, [
74
- t(V)
75
- ]),
76
- e(s) !== "desktop" ? (r(), o("li", L, [
77
74
  t(C)
75
+ ]),
76
+ e(a) !== "desktop" ? (o(), r("li", L, [
77
+ t(B)
78
78
  ])) : b("", !0)
79
79
  ]),
80
80
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAqCA,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAIpC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AAUF,iBAAS,cAAc;WA8ET,OAAO,IAA6B;;sBATxB,GAAG;yBACC,GAAG;;;;EAahC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAsCA,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAIpC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;CACX,CAAC;AAUF,iBAAS,cAAc;WAkFT,OAAO,IAA6B;;sBATxB,GAAG;yBACC,GAAG;;;;EAahC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as a, openBlock as r, createBlock as i, resolveDynamicComponent as m, normalizeClass as s, unref as o, withCtx as l, renderSlot as t, createVNode as c, createElementVNode as p } from "vue";
2
- import { ScalarIcon as u } from "@scalar/components";
3
- import { useLayout as d } from "../../hooks/useLayout.js";
4
- const h = /* @__PURE__ */ a({
1
+ import { defineComponent as r, openBlock as a, createBlock as i, resolveDynamicComponent as m, normalizeClass as s, unref as o, withCtx as l, renderSlot as t, createVNode as c, createElementVNode as d } from "vue";
2
+ import { ScalarIcon as p } from "@scalar/components";
3
+ import { useLayout as u } from "../../hooks/useLayout.js";
4
+ const v = /* @__PURE__ */ r({
5
5
  __name: "SideNavLink",
6
6
  props: {
7
7
  is: {},
@@ -9,22 +9,22 @@ const h = /* @__PURE__ */ a({
9
9
  icon: {}
10
10
  },
11
11
  setup(f) {
12
- const { layout: n } = d();
13
- return (e, w) => (r(), i(m(e.is ?? "a"), {
14
- class: s(["hover:bg-b-2 no-underline min-w-[37px] max-w-[37px] flex items-center justify-center rounded-lg p-2", {
15
- "bg-b-2 transition-none hover:cursor-auto text-c-1": e.active,
12
+ const { layout: n } = u();
13
+ return (e, b) => (a(), i(m(e.is ?? "a"), {
14
+ class: s(["hover:bg-b-3 dark:hover:bg-b-2 no-underline min-w-[37px] max-w-[37px] flex items-center justify-center rounded-lg p-2", {
15
+ "bg-b-3 dark:bg-b-2 transition-none hover:cursor-default text-c-1": e.active,
16
16
  "sm:min-w-max sm:max-w-max sm:rounded sm:py-1.5": o(n) === "web"
17
17
  }])
18
18
  }, {
19
19
  default: l(() => [
20
20
  t(e.$slots, "icon", {}, () => [
21
- c(o(u), {
21
+ c(o(p), {
22
22
  class: s(o(n) === "web" ? "sm:hidden" : ""),
23
23
  icon: e.icon,
24
24
  thickness: "1.5"
25
25
  }, null, 8, ["class", "icon"])
26
26
  ]),
27
- p("span", {
27
+ d("span", {
28
28
  class: s(["text-sm font-medium sr-only", { "sm:not-sr-only": o(n) === "web" }])
29
29
  }, [
30
30
  t(e.$slots, "default")
@@ -35,5 +35,5 @@ const h = /* @__PURE__ */ a({
35
35
  }
36
36
  });
37
37
  export {
38
- h as default
38
+ v as default
39
39
  };
@@ -1,4 +1,4 @@
1
- import type { ROUTES } from '../../constants.js';
1
+ import type { ROUTES } from '../../constants';
2
2
  import type { Icon } from '@scalar/components';
3
3
  type __VLS_Props = {
4
4
  icon: Icon;
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavRouterLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavRouterLink.vue"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAK9C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,IAAI,CAAA;IACV,IAAI,EAAE,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AAUF,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SideNavRouterLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavRouterLink.vue"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAGzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAK9C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,IAAI,CAAA;IACV,IAAI,EAAE,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AAUF,iBAAS,cAAc;WAoDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;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,26 +1,32 @@
1
- import { defineComponent as n, openBlock as r, createBlock as a, unref as t, withCtx as c, renderSlot as s } from "vue";
1
+ import { defineComponent as a, openBlock as r, createBlock as n, unref as o, withCtx as c, renderSlot as m } from "vue";
2
2
  import p from "./SideNavLink.vue.js";
3
- import { useActiveEntities as m } from "../../store/active-entities.js";
4
- import { RouterLink as f } from "vue-router";
5
- const $ = /* @__PURE__ */ n({
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({
6
7
  __name: "SideNavRouterLink",
7
8
  props: {
8
9
  icon: {},
9
10
  name: {},
10
11
  active: { type: Boolean }
11
12
  },
12
- setup(u) {
13
- const { activeWorkspace: i } = m();
14
- return (e, l) => {
15
- var o;
16
- return r(), a(p, {
17
- is: t(f),
18
- active: e.active,
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,
19
20
  icon: e.icon,
20
- to: `/workspace/${(o = t(i)) == null ? void 0 : o.uid}/${e.name}`
21
+ to: {
22
+ name: `${e.name}.default`,
23
+ params: {
24
+ [o(s).Workspace]: (t = o(i)) == null ? void 0 : t.uid
25
+ }
26
+ }
21
27
  }, {
22
28
  default: c(() => [
23
- s(e.$slots, "default")
29
+ m(e.$slots, "default")
24
30
  ]),
25
31
  _: 3
26
32
  }, 8, ["is", "active", "icon", "to"]);
@@ -1,13 +1,13 @@
1
1
  type __VLS_Props = {
2
2
  variableName: string;
3
- warningMessage?: string;
3
+ warningMessage: string | undefined;
4
4
  };
5
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
6
  delete: () => any;
7
7
  close: () => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onDelete?: (() => any) | undefined;
10
- onClose?: (() => any) | undefined;
9
+ onDelete?: () => any;
10
+ onClose?: () => any;
11
11
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=DeleteSidebarListElement.vue.d.ts.map
@@ -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,CAAC,EAAE,MAAM,CAAA;CACxB,CAAC;;;;;;;;AAoHF,wBAQG"}
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"}
@@ -6,8 +6,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
6
6
  close: () => any;
7
7
  edit: (newName: string, newIcon: string) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onClose?: (() => any) | undefined;
10
- onEdit?: ((newName: string, newIcon: string) => any) | undefined;
9
+ onClose?: () => any;
10
+ onEdit?: (newName: string, newIcon: string) => any;
11
11
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=EditSidebarListCollection.vue.d.ts.map
@@ -5,8 +5,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
5
5
  close: () => any;
6
6
  edit: (newName: string) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- onClose?: (() => any) | undefined;
9
- onEdit?: ((newName: string) => any) | undefined;
8
+ onClose?: () => any;
9
+ onEdit?: (newName: string) => any;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=EditSidebarListElement.vue.d.ts.map
@@ -15,8 +15,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
15
15
  submit: () => any;
16
16
  cancel: () => any;
17
17
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
- onSubmit?: (() => any) | undefined;
19
- onCancel?: (() => any) | undefined;
18
+ onSubmit?: () => any;
19
+ onCancel?: () => any;
20
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
21
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
22
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarListElementForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"names":[],"mappings":"AAmDA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAeF,iBAAS,cAAc;WAoGT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;8FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SidebarListElementForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"names":[],"mappings":"AAmDA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAeF,iBAAS,cAAc;WAoGT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;8FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"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;WAmHT,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;mBAxMD,OAAO;qFAgNzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,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;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,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-f2016488"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5397f2a7"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -5,7 +5,7 @@ import { useLayout as C } from "../../hooks/useLayout.js";
5
5
  const I = {
6
6
  key: 0,
7
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: "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
+ }, 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({
9
9
  __name: "Sidebar",
10
10
  props: {
11
11
  title: {},
@@ -17,14 +17,14 @@ const I = {
17
17
  const f = e.clientX, k = parseInt(
18
18
  getComputedStyle(p.value).width || o.value,
19
19
  10
20
- ), v = (E) => {
20
+ ), b = (E) => {
21
21
  a.value = !0, document.body.classList.add("dragging");
22
22
  let t = k + E.clientX - f;
23
23
  t > 420 && (t = 420 + (t - 420) * 0.2), t < 240 && (t = 240), i(`${t}px`);
24
- }, b = () => {
25
- a.value = !1, document.body.classList.remove("dragging"), document.documentElement.removeEventListener("mousemove", v, !1), document.documentElement.removeEventListener("mouseup", b, !1), parseInt(o.value, 10) > 420 ? i("360px") : parseInt(o.value, 10) < 240 && i("240px");
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");
26
26
  };
27
- document.documentElement.addEventListener("mousemove", v, !1), document.documentElement.addEventListener("mouseup", b, !1);
27
+ document.documentElement.addEventListener("mousemove", b, !1), document.documentElement.addEventListener("mouseup", v, !1);
28
28
  };
29
29
  return (e, f) => D((l(), m("aside", {
30
30
  ref_key: "sidebarRef",
@@ -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;AAWpG,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":"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"}
@@ -19,9 +19,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
19
19
  rename: (id: string) => any;
20
20
  colorModal: (id: string) => any;
21
21
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- onDelete?: ((id: string) => any) | undefined;
23
- onRename?: ((id: string) => any) | undefined;
24
- onColorModal?: ((id: string) => any) | undefined;
22
+ onDelete?: (id: string) => any;
23
+ onRename?: (id: string) => any;
24
+ onColorModal?: (id: string) => any;
25
25
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
26
26
  export default _default;
27
27
  //# sourceMappingURL=SidebarListElement.vue.d.ts.map
@@ -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-0a5daf7f"]]);
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-a6c1ff1c"]]);
5
5
  export {
6
6
  f as default
7
7
  };