@scalar/api-client 2.8.1 → 2.9.1

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 (444) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/dist/components/AddressBar/AddressBarHistory.vue2.js +9 -10
  3. package/dist/components/CodeInput/CodeInput.vue2.js +5 -5
  4. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  5. package/dist/components/CommandPalette/CommandActionForm.vue.js +10 -10
  6. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +3 -3
  7. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +3 -3
  8. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +18 -20
  9. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +2 -2
  10. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +1 -1
  11. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +13 -14
  12. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +3 -3
  13. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +3 -3
  14. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -24
  15. package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
  16. package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
  17. package/dist/components/DataTable/DataTableInputSelect.vue.js +8 -9
  18. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -10
  19. package/dist/components/IconSelector.vue.js +1 -1
  20. package/dist/components/ImportCollection/DropEventListener.vue.js +12 -12
  21. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +8 -8
  22. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
  23. package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -16
  24. package/dist/components/ImportCollection/PasteEventListener.vue.js +1 -1
  25. package/dist/components/ImportCollection/PrefetchError.vue.js +2 -2
  26. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +5 -7
  27. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -1
  28. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  29. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +3 -3
  30. package/dist/components/OpenApiClientButton.vue2.js +1 -1
  31. package/dist/components/Server/ServerSelector.vue.js +1 -2
  32. package/dist/components/SideNav/SideHelp.vue.js +13 -19
  33. package/dist/components/SideNav/SideNav.vue.js +4 -5
  34. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +4 -5
  35. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  36. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  37. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  38. package/dist/components/TopNav/TopNav.vue.js +8 -10
  39. package/dist/components/TopNav/TopNavItem.vue2.js +8 -12
  40. package/dist/hooks/index.d.ts +0 -1
  41. package/dist/hooks/index.d.ts.map +1 -1
  42. package/dist/hooks/index.js +9 -11
  43. package/dist/hooks/useClientConfig.d.ts +3 -0
  44. package/dist/hooks/useClientConfig.d.ts.map +1 -1
  45. package/dist/index.d.ts +1 -2
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +8 -15
  48. package/dist/layouts/App/create-api-client-app.d.ts +3646 -3645
  49. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  50. package/dist/layouts/App/create-api-client-app.js +24 -18
  51. package/dist/layouts/Modal/create-api-client-modal.d.ts +5 -8089
  52. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  53. package/dist/layouts/Modal/create-api-client-modal.js +28 -46
  54. package/dist/layouts/Modal/index.d.ts +2 -2
  55. package/dist/layouts/Modal/index.d.ts.map +1 -1
  56. package/dist/layouts/Modal/index.js +2 -5
  57. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  58. package/dist/layouts/Web/create-api-client-web.js +15 -12
  59. package/dist/libs/create-client.d.ts +2 -2
  60. package/dist/libs/create-client.d.ts.map +1 -1
  61. package/dist/libs/postman.d.ts +1 -1
  62. package/dist/libs/postman.d.ts.map +1 -1
  63. package/dist/libs/postman.js +12 -12
  64. package/dist/libs/validate-parameters.d.ts +10 -2
  65. package/dist/libs/validate-parameters.d.ts.map +1 -1
  66. package/dist/libs/validate-parameters.js +13 -6
  67. package/dist/routes.d.ts +3 -184
  68. package/dist/routes.d.ts.map +1 -1
  69. package/dist/routes.js +6 -6
  70. package/dist/store/active-entities.d.ts +1 -1
  71. package/dist/store/active-entities.d.ts.map +1 -1
  72. package/dist/store/active-entities.js +2 -2
  73. package/dist/store/router-params.d.ts.map +1 -1
  74. package/dist/style.css +1 -1
  75. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +5 -5
  76. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  77. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  78. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +3 -3
  79. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +3 -4
  80. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts +1 -0
  81. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts.map +1 -1
  82. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -2
  83. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +7 -8
  84. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +44 -55
  85. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +16 -18
  86. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +41 -46
  87. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  88. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +3 -0
  89. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
  90. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
  91. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +201 -187
  92. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
  93. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +8 -10
  94. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +2 -3
  95. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +2 -4
  96. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +14 -16
  97. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +3 -0
  98. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
  99. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
  100. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +87 -85
  101. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +10 -11
  102. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +4 -5
  103. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +1 -1
  104. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +3 -3
  105. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +1 -1
  106. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +5 -5
  107. package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +9 -10
  108. package/dist/v2/components/TempReplaceMe.vue.d.ts +3 -0
  109. package/dist/v2/components/TempReplaceMe.vue.d.ts.map +1 -0
  110. package/dist/v2/components/TempReplaceMe.vue.js +12 -0
  111. package/dist/v2/components/code-input/CodeInput.test.d.ts +2 -0
  112. package/dist/v2/components/code-input/CodeInput.test.d.ts.map +1 -0
  113. package/dist/v2/components/code-input/CodeInput.vue.d.ts +140 -0
  114. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -0
  115. package/dist/v2/components/code-input/CodeInput.vue.js +8 -0
  116. package/dist/v2/components/code-input/CodeInput.vue2.js +202 -0
  117. package/dist/v2/components/code-input/code-variable-widget.d.ts +21 -0
  118. package/dist/v2/components/code-input/code-variable-widget.d.ts.map +1 -0
  119. package/dist/v2/components/code-input/code-variable-widget.js +106 -0
  120. package/dist/v2/components/code-input/code-variable-widget.test.d.ts +2 -0
  121. package/dist/v2/components/code-input/code-variable-widget.test.d.ts.map +1 -0
  122. package/dist/v2/components/code-input/index.d.ts +2 -0
  123. package/dist/v2/components/code-input/index.d.ts.map +1 -0
  124. package/dist/v2/components/code-input/index.js +4 -0
  125. package/dist/v2/components/data-table/DataTable.vue.d.ts +22 -0
  126. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -0
  127. package/dist/v2/components/data-table/DataTable.vue.js +38 -0
  128. package/dist/v2/components/data-table/DataTable.vue2.js +4 -0
  129. package/dist/v2/components/data-table/DataTableCell.vue.d.ts +19 -0
  130. package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -0
  131. package/dist/v2/components/data-table/DataTableCell.vue.js +26 -0
  132. package/dist/v2/components/data-table/DataTableCell.vue2.js +4 -0
  133. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +14 -0
  134. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -0
  135. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +53 -0
  136. package/dist/v2/components/data-table/DataTableCheckbox.vue2.js +4 -0
  137. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +13 -0
  138. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -0
  139. package/dist/v2/components/data-table/DataTableHeader.vue.js +18 -0
  140. package/dist/v2/components/data-table/DataTableHeader.vue2.js +4 -0
  141. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +53 -0
  142. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -0
  143. package/dist/v2/components/data-table/DataTableInput.vue.js +7 -0
  144. package/dist/v2/components/data-table/DataTableInput.vue2.js +117 -0
  145. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +16 -0
  146. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -0
  147. package/dist/v2/components/data-table/DataTableInputSelect.vue.js +146 -0
  148. package/dist/v2/components/data-table/DataTableInputSelect.vue2.js +4 -0
  149. package/dist/v2/components/data-table/DataTableRow.vue.d.ts +13 -0
  150. package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -0
  151. package/dist/v2/components/data-table/DataTableRow.vue.js +12 -0
  152. package/dist/v2/components/data-table/DataTableText.vue.d.ts +16 -0
  153. package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -0
  154. package/dist/v2/components/data-table/DataTableText.vue.js +23 -0
  155. package/dist/v2/components/data-table/DataTableText.vue2.js +4 -0
  156. package/dist/v2/components/data-table/index.d.ts +9 -0
  157. package/dist/v2/components/data-table/index.d.ts.map +1 -0
  158. package/dist/v2/components/data-table/index.js +18 -0
  159. package/dist/v2/components/resize/Resize.vue.d.ts +20 -0
  160. package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -0
  161. package/dist/v2/components/resize/Resize.vue.js +8 -0
  162. package/dist/v2/components/resize/Resize.vue2.js +36 -0
  163. package/dist/v2/components/resize/index.d.ts +3 -0
  164. package/dist/v2/components/resize/index.d.ts.map +1 -0
  165. package/dist/v2/components/resize/index.js +4 -0
  166. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +39 -0
  167. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -0
  168. package/dist/v2/components/sidebar/Sidebar.vue.js +95 -0
  169. package/dist/v2/components/sidebar/Sidebar.vue2.js +4 -0
  170. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +13 -0
  171. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -0
  172. package/dist/v2/components/sidebar/SidebarMenu.vue.js +63 -0
  173. package/dist/v2/components/sidebar/SidebarMenu.vue2.js +4 -0
  174. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +10 -0
  175. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -0
  176. package/dist/v2/components/sidebar/SidebarToggle.vue.js +52 -0
  177. package/dist/v2/components/sidebar/SidebarToggle.vue2.js +4 -0
  178. package/dist/v2/components/sidebar/index.d.ts +4 -0
  179. package/dist/v2/components/sidebar/index.d.ts.map +1 -0
  180. package/dist/v2/components/sidebar/index.js +8 -0
  181. package/dist/v2/features/app/App.test.d.ts +2 -0
  182. package/dist/v2/features/app/App.test.d.ts.map +1 -0
  183. package/dist/v2/features/app/App.vue.d.ts +16 -0
  184. package/dist/v2/features/app/App.vue.d.ts.map +1 -0
  185. package/dist/v2/features/app/App.vue.js +87 -0
  186. package/dist/v2/features/app/App.vue3.js +5 -0
  187. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +30 -0
  188. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -0
  189. package/dist/v2/features/app/components/AppSidebar.vue.js +7 -0
  190. package/dist/v2/features/app/components/AppSidebar.vue2.js +117 -0
  191. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +6 -0
  192. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -0
  193. package/dist/v2/features/app/components/DesktopTabs.vue.js +15 -0
  194. package/dist/v2/features/app/components/DesktopTabs.vue2.js +6 -0
  195. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +3 -0
  196. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -0
  197. package/dist/v2/features/app/components/DownloadAppButton.vue.js +7 -0
  198. package/dist/v2/features/app/components/DownloadAppButton.vue2.js +19 -0
  199. package/dist/v2/features/app/components/WebTopNav.vue.d.ts +16 -0
  200. package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -0
  201. package/dist/v2/features/app/components/WebTopNav.vue.js +28 -0
  202. package/dist/v2/features/app/components/WebTopNav.vue2.js +4 -0
  203. package/dist/v2/features/app/components/index.d.ts +2 -0
  204. package/dist/v2/features/app/components/index.d.ts.map +1 -0
  205. package/dist/v2/features/app/components/index.js +5 -0
  206. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +25 -0
  207. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -0
  208. package/dist/v2/features/app/helpers/create-api-client-app.js +21 -0
  209. package/dist/v2/features/app/helpers/routes.d.ts +106 -0
  210. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -0
  211. package/dist/v2/features/app/helpers/routes.js +109 -0
  212. package/dist/v2/features/app/index.d.ts +2 -0
  213. package/dist/v2/features/app/index.d.ts.map +1 -0
  214. package/dist/v2/features/app/index.js +4 -0
  215. package/dist/v2/features/collection/DocumentCollection.test.d.ts +2 -0
  216. package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +1 -0
  217. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +12 -0
  218. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -0
  219. package/dist/v2/features/collection/DocumentCollection.vue.js +4 -0
  220. package/dist/v2/features/collection/DocumentCollection.vue2.js +95 -0
  221. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +10 -0
  222. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -0
  223. package/dist/v2/features/collection/WorkspaceCollection.vue.js +4 -0
  224. package/dist/v2/features/collection/WorkspaceCollection.vue2.js +40 -0
  225. package/dist/v2/features/collection/components/Authentication.test.d.ts +2 -0
  226. package/dist/v2/features/collection/components/Authentication.test.d.ts.map +1 -0
  227. package/dist/v2/features/collection/components/Authentication.vue.d.ts +48 -0
  228. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -0
  229. package/dist/v2/features/collection/components/Authentication.vue.js +7 -0
  230. package/dist/v2/features/collection/components/Authentication.vue2.js +50 -0
  231. package/dist/v2/features/collection/components/Cookies.vue.d.ts +3 -0
  232. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -0
  233. package/dist/v2/features/collection/components/Cookies.vue.js +9 -0
  234. package/dist/v2/features/collection/components/Environment.test.d.ts +2 -0
  235. package/dist/v2/features/collection/components/Environment.test.d.ts.map +1 -0
  236. package/dist/v2/features/collection/components/Environment.vue.d.ts +15 -0
  237. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -0
  238. package/dist/v2/features/collection/components/Environment.vue.js +4 -0
  239. package/dist/v2/features/collection/components/Environment.vue2.js +29 -0
  240. package/dist/v2/features/collection/components/Form.vue.d.ts +29 -0
  241. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -0
  242. package/dist/v2/features/collection/components/Form.vue.js +83 -0
  243. package/dist/v2/features/collection/components/Form.vue2.js +4 -0
  244. package/dist/v2/features/collection/components/LabelInput.test.d.ts +2 -0
  245. package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +1 -0
  246. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +10 -0
  247. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -0
  248. package/dist/v2/features/collection/components/LabelInput.vue.js +7 -0
  249. package/dist/v2/features/collection/components/LabelInput.vue2.js +29 -0
  250. package/dist/v2/features/collection/components/Overview.test.d.ts +2 -0
  251. package/dist/v2/features/collection/components/Overview.test.d.ts.map +1 -0
  252. package/dist/v2/features/collection/components/Overview.vue.d.ts +15 -0
  253. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -0
  254. package/dist/v2/features/collection/components/Overview.vue.js +7 -0
  255. package/dist/v2/features/collection/components/Overview.vue2.js +89 -0
  256. package/dist/v2/features/collection/components/Servers.test.d.ts +2 -0
  257. package/dist/v2/features/collection/components/Servers.test.d.ts.map +1 -0
  258. package/dist/v2/features/collection/components/Servers.vue.d.ts +33 -0
  259. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -0
  260. package/dist/v2/features/collection/components/Servers.vue.js +4 -0
  261. package/dist/v2/features/collection/components/Servers.vue2.js +120 -0
  262. package/dist/v2/features/collection/components/Settings.test.d.ts +2 -0
  263. package/dist/v2/features/collection/components/Settings.test.d.ts.map +1 -0
  264. package/dist/v2/features/collection/components/Settings.vue.d.ts +17 -0
  265. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -0
  266. package/dist/v2/features/collection/components/Settings.vue.js +7 -0
  267. package/dist/v2/features/collection/components/Settings.vue2.js +100 -0
  268. package/dist/v2/features/collection/components/Tabs.test.d.ts +2 -0
  269. package/dist/v2/features/collection/components/Tabs.test.d.ts.map +1 -0
  270. package/dist/v2/features/collection/components/Tabs.vue.d.ts +6 -0
  271. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -0
  272. package/dist/v2/features/collection/components/Tabs.vue.js +46 -0
  273. package/dist/v2/features/collection/components/Tabs.vue2.js +4 -0
  274. package/dist/v2/features/environments/EnvironmentsList.test.d.ts +2 -0
  275. package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +1 -0
  276. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +9 -0
  277. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -0
  278. package/dist/v2/features/environments/EnvironmentsList.vue.js +66 -0
  279. package/dist/v2/features/environments/EnvironmentsList.vue2.js +4 -0
  280. package/dist/v2/features/environments/components/Environment.test.d.ts +2 -0
  281. package/dist/v2/features/environments/components/Environment.test.d.ts.map +1 -0
  282. package/dist/v2/features/environments/components/Environment.vue.d.ts +16 -0
  283. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -0
  284. package/dist/v2/features/environments/components/Environment.vue.js +53 -0
  285. package/dist/v2/features/environments/components/Environment.vue2.js +4 -0
  286. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +2 -0
  287. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +1 -0
  288. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +10 -0
  289. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -0
  290. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +121 -0
  291. package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +4 -0
  292. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +12 -0
  293. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -0
  294. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +85 -0
  295. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue2.js +4 -0
  296. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +14 -0
  297. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -0
  298. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +53 -0
  299. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue2.js +4 -0
  300. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +21 -0
  301. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -0
  302. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +109 -0
  303. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue2.js +4 -0
  304. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +2 -0
  305. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +1 -0
  306. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +10 -0
  307. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -0
  308. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +7 -0
  309. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +136 -0
  310. package/dist/v2/features/environments/index.d.ts +2 -0
  311. package/dist/v2/features/environments/index.d.ts.map +1 -0
  312. package/dist/v2/features/environments/index.js +4 -0
  313. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +2 -0
  314. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +1 -0
  315. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +25 -0
  316. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -0
  317. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +7 -0
  318. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +156 -0
  319. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +2 -0
  320. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +1 -0
  321. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts +32 -0
  322. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts.map +1 -0
  323. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.js +7 -0
  324. package/dist/v2/features/global-cookies/components/GlobalCookies.vue2.js +58 -0
  325. package/dist/v2/features/global-cookies/index.d.ts +2 -0
  326. package/dist/v2/features/global-cookies/index.d.ts.map +1 -0
  327. package/dist/v2/features/global-cookies/index.js +4 -0
  328. package/dist/v2/features/modal/Modal.vue.d.ts +16 -0
  329. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -0
  330. package/dist/v2/features/modal/Modal.vue.js +7 -0
  331. package/dist/v2/features/modal/Modal.vue2.js +81 -0
  332. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +53 -0
  333. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -0
  334. package/dist/v2/features/modal/helpers/create-api-client-modal.js +46 -0
  335. package/dist/v2/features/modal/index.d.ts +2 -0
  336. package/dist/v2/features/modal/index.d.ts.map +1 -0
  337. package/dist/v2/features/modal/index.js +4 -0
  338. package/dist/v2/features/operation/Operation.test.d.ts +2 -0
  339. package/dist/v2/features/operation/Operation.test.d.ts.map +1 -0
  340. package/dist/v2/features/operation/Operation.vue.d.ts +79 -0
  341. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -0
  342. package/dist/v2/features/operation/Operation.vue.js +124 -0
  343. package/dist/v2/features/operation/Operation.vue2.js +4 -0
  344. package/dist/v2/features/operation/components/Header.test.d.ts +2 -0
  345. package/dist/v2/features/operation/components/Header.test.d.ts.map +1 -0
  346. package/dist/v2/features/operation/components/Header.vue.d.ts +85 -0
  347. package/dist/v2/features/operation/components/Header.vue.d.ts.map +1 -0
  348. package/dist/v2/features/operation/components/Header.vue.js +7 -0
  349. package/dist/v2/features/operation/components/Header.vue2.js +97 -0
  350. package/dist/v2/features/operation/index.d.ts +3 -0
  351. package/dist/v2/features/operation/index.d.ts.map +1 -0
  352. package/dist/v2/features/operation/index.js +4 -0
  353. package/dist/v2/features/settings/Settings.test.d.ts +2 -0
  354. package/dist/v2/features/settings/Settings.test.d.ts.map +1 -0
  355. package/dist/v2/features/settings/Settings.vue.d.ts +22 -0
  356. package/dist/v2/features/settings/Settings.vue.d.ts.map +1 -0
  357. package/dist/v2/features/settings/Settings.vue.js +268 -0
  358. package/dist/v2/features/settings/Settings.vue2.js +4 -0
  359. package/dist/v2/features/settings/components/Appearance.vue.d.ts +10 -0
  360. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -0
  361. package/dist/v2/features/settings/components/Appearance.vue.js +88 -0
  362. package/dist/v2/features/settings/components/Appearance.vue2.js +4 -0
  363. package/dist/v2/features/settings/components/Section.vue.d.ts +14 -0
  364. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -0
  365. package/dist/v2/features/settings/components/Section.vue.js +24 -0
  366. package/dist/v2/features/settings/components/Section.vue2.js +4 -0
  367. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +9 -0
  368. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -0
  369. package/dist/v2/features/settings/helpers/get-theme-colors.js +17 -0
  370. package/dist/v2/features/settings/index.d.ts +2 -0
  371. package/dist/v2/features/settings/index.d.ts.map +1 -0
  372. package/dist/v2/features/settings/index.js +4 -0
  373. package/dist/v2/helpers/test-utils.d.ts +4 -0
  374. package/dist/v2/helpers/test-utils.d.ts.map +1 -0
  375. package/dist/v2/hooks/use-document-watcher.d.ts +28 -0
  376. package/dist/v2/hooks/use-document-watcher.d.ts.map +1 -0
  377. package/dist/v2/hooks/use-document-watcher.test.d.ts +2 -0
  378. package/dist/v2/hooks/use-document-watcher.test.d.ts.map +1 -0
  379. package/dist/v2/hooks/use-workspace-client-events.d.ts +9 -0
  380. package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -0
  381. package/dist/v2/hooks/use-workspace-client-events.js +27 -0
  382. package/dist/v2/plugins.d.ts +44 -0
  383. package/dist/v2/plugins.d.ts.map +1 -0
  384. package/dist/v2/types/layout.d.ts +10 -0
  385. package/dist/v2/types/layout.d.ts.map +1 -0
  386. package/dist/views/Collection/Collection.vue2.js +6 -6
  387. package/dist/views/Collection/CollectionCookies.vue2.js +3 -3
  388. package/dist/views/Collection/CollectionEnvironment.vue2.js +12 -13
  389. package/dist/views/Collection/CollectionScripts.vue2.js +3 -3
  390. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  391. package/dist/views/Collection/CollectionServerForm.vue.js +42 -62
  392. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  393. package/dist/views/Collection/CollectionServers.vue2.js +43 -50
  394. package/dist/views/Collection/CollectionSettings.vue.js +2 -2
  395. package/dist/views/Collection/CollectionSettings.vue2.js +5 -6
  396. package/dist/views/Collection/CollectionSync.vue2.js +3 -3
  397. package/dist/views/Collection/components/EnvironmentForm.vue2.js +10 -12
  398. package/dist/views/Collection/components/MarkdownInput.vue2.js +2 -4
  399. package/dist/views/Cookies/CookieModal.vue2.js +6 -6
  400. package/dist/views/Cookies/Cookies.vue2.js +6 -6
  401. package/dist/views/Environment/Environment.vue2.js +5 -6
  402. package/dist/views/Environment/EnvironmentModal.vue.js +13 -14
  403. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +8 -9
  404. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  405. package/dist/views/Request/RequestRoot.vue.js +2 -2
  406. package/dist/views/Request/RequestRoot.vue2.js +79 -80
  407. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +10 -11
  408. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -55
  409. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +10 -12
  410. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +2 -2
  411. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +39 -44
  412. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  413. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  414. package/dist/views/Request/RequestSection/RequestBody.vue2.js +96 -78
  415. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +3 -3
  416. package/dist/views/Request/RequestSection/RequestParams.vue.js +2 -3
  417. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  418. package/dist/views/Request/RequestSection/RequestSection.vue2.js +55 -55
  419. package/dist/views/Request/RequestSection/RequestTable.vue2.js +15 -17
  420. package/dist/views/Request/RequestSidebar.vue2.js +7 -8
  421. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  422. package/dist/views/Request/RequestSidebarItem.vue2.js +31 -32
  423. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  424. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -16
  425. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +11 -13
  426. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +4 -5
  427. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -5
  428. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
  429. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
  430. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +4 -4
  431. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +11 -13
  432. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +7 -8
  433. package/dist/views/Request/components/WorkspaceDropdown.vue.js +11 -14
  434. package/dist/views/Request/libs/oauth2.d.ts +1 -1
  435. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  436. package/dist/views/Settings/SettingsGeneral.vue.js +40 -42
  437. package/dist/views/Settings/components/SettingsAppearance.vue.js +8 -11
  438. package/package.json +31 -26
  439. package/dist/hooks/useKeyMap.d.ts +0 -2
  440. package/dist/hooks/useKeyMap.d.ts.map +0 -1
  441. package/dist/hooks/useKeyMap.js +0 -9
  442. package/dist/router.d.ts +0 -8
  443. package/dist/router.d.ts.map +0 -1
  444. package/dist/router.js +0 -20
@@ -46,7 +46,7 @@ const T = ["for"], N = { class: "relative flex min-w-0 flex-1" }, P = ["readOnly
46
46
  onClick: b
47
47
  }, [
48
48
  p(e.$slots, "default", {}, void 0, !0),
49
- l[5] || (l[5] = O(": "))
49
+ l[5] || (l[5] = O(": ", -1))
50
50
  ], 8, T)) : u("", !0),
51
51
  I("div", N, [
52
52
  n.enum && n.enum.length ? (a(), s(F, {
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, computed as m, ref as V, watch as _, nextTick as E, createElementBlock as f, openBlock as o, createBlock as v, withDirectives as K, unref as a, withCtx as s, createVNode as n, createElementVNode as i, toDisplayString as y, withKeys as M, vModelText as R, createCommentVNode as S, Fragment as C, renderList as U, normalizeClass as $ } from "vue";
1
+ import { defineComponent as T, computed as m, ref as V, watch as S, nextTick as E, createElementBlock as f, openBlock as o, createBlock as v, withDirectives as K, unref as a, withCtx as s, createVNode as n, createElementVNode as i, toDisplayString as y, withKeys as M, vModelText as R, createCommentVNode as C, Fragment as _, renderList as U, normalizeClass as $ } from "vue";
2
2
  import { ScalarComboboxMultiselect as F, ScalarButton as b, ScalarIcon as h, ScalarDropdown as L, ScalarDropdownItem as D, ScalarDropdownDivider as W } from "@scalar/components";
3
3
  const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline" }, G = { class: "text-c-1 whitespace-nowrap" }, H = { class: "text-c-1 overflow-hidden text-ellipsis" }, J = { class: "overflow-hidden text-ellipsis" }, P = { class: "flex h-4 w-4 items-center justify-center" }, Z = /* @__PURE__ */ T({
4
4
  __name: "DataTableInputSelect",
@@ -12,7 +12,7 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
12
12
  emits: ["update:modelValue"],
13
13
  setup(z, { emit: B }) {
14
14
  const u = z, c = B, p = m(() => u.value ?? []), d = V(!1), r = V(""), x = V(null);
15
- _(r, (e) => {
15
+ S(r, (e) => {
16
16
  c("update:modelValue", e);
17
17
  });
18
18
  const g = (e) => {
@@ -22,7 +22,7 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
22
22
  }, A = () => {
23
23
  r.value.trim() || c("update:modelValue", ""), d.value = !1;
24
24
  }, I = (e) => u.modelValue.toString() === e;
25
- _(d, (e) => {
25
+ S(d, (e) => {
26
26
  e && E(() => {
27
27
  x.value?.focus();
28
28
  });
@@ -79,7 +79,7 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
79
79
  value: k.value
80
80
  }, {
81
81
  items: s(() => [
82
- (o(!0), f(C, null, U(p.value, (t) => (o(), v(a(D), {
82
+ (o(!0), f(_, null, U(p.value, (t) => (o(), v(a(D), {
83
83
  key: t,
84
84
  class: "group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
85
85
  value: t,
@@ -102,8 +102,8 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
102
102
  ]),
103
103
  _: 2
104
104
  }, 1032, ["value", "onClick"]))), 128)),
105
- e.canAddCustomValue ? (o(), f(C, { key: 0 }, [
106
- p.value.length ? (o(), v(a(W), { key: 0 })) : S("", !0),
105
+ e.canAddCustomValue ? (o(), f(_, { key: 0 }, [
106
+ p.value.length ? (o(), v(a(W), { key: 0 })) : C("", !0),
107
107
  n(a(D), {
108
108
  class: "flex items-center gap-1.5",
109
109
  onClick: l[1] || (l[1] = (t) => d.value = !0)
@@ -117,10 +117,9 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
117
117
  ]),
118
118
  l[2] || (l[2] = i("span", null, "Add value", -1))
119
119
  ]),
120
- _: 1,
121
- __: [2]
120
+ _: 1
122
121
  })
123
- ], 64)) : S("", !0)
122
+ ], 64)) : C("", !0)
124
123
  ]),
125
124
  default: s(() => [
126
125
  n(a(b), {
@@ -1,5 +1,5 @@
1
- import { defineComponent as B, computed as E, watch as h, onMounted as D, createBlock as v, openBlock as s, unref as n, withCtx as r, createVNode as l, createElementVNode as d, toDisplayString as g, createElementBlock as L, createCommentVNode as M, Fragment as V, renderList as j, withModifiers as w, createTextVNode as _ } from "vue";
2
- import { ScalarDropdown as W, ScalarButton as T, ScalarDropdownItem as p, ScalarListboxCheckbox as k, ScalarDropdownDivider as $, ScalarIcon as z } from "@scalar/components";
1
+ import { defineComponent as B, computed as E, watch as h, onMounted as D, createBlock as v, openBlock as s, unref as n, withCtx as r, createVNode as l, createElementVNode as d, toDisplayString as g, createElementBlock as L, createCommentVNode as M, Fragment as V, renderList as j, withModifiers as w, createTextVNode as k } from "vue";
2
+ import { ScalarDropdown as W, ScalarButton as T, ScalarDropdownItem as p, ScalarListboxCheckbox as _, ScalarDropdownDivider as $, ScalarIcon as z } from "@scalar/components";
3
3
  import { useRouter as A } from "vue-router";
4
4
  import { PathId as F } from "../../routes.js";
5
5
  import { useActiveEntities as O } from "../../store/active-entities.js";
@@ -56,10 +56,10 @@ const q = { class: "m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"
56
56
  onClick: w((x) => m(a.uid), ["stop"])
57
57
  }, {
58
58
  default: r(() => [
59
- l(n(k), {
59
+ l(n(_), {
60
60
  selected: n(o)?.["x-scalar-active-environment"] === a.uid
61
61
  }, null, 8, ["selected"]),
62
- _(" " + g(a.name), 1)
62
+ k(" " + g(a.name), 1)
63
63
  ]),
64
64
  _: 2
65
65
  }, 1032, ["onClick"]))), 128)),
@@ -68,13 +68,12 @@ const q = { class: "m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"
68
68
  onClick: e[0] || (e[0] = w((a) => m(""), ["stop"]))
69
69
  }, {
70
70
  default: r(() => [
71
- l(n(k), {
71
+ l(n(_), {
72
72
  selected: n(c)?.uid === "" && n(o)?.["x-scalar-active-environment"] === "" || n(c)?.name === "No Environment"
73
73
  }, null, 8, ["selected"]),
74
- e[1] || (e[1] = _(" No Environment "))
74
+ e[1] || (e[1] = k(" No Environment ", -1))
75
75
  ]),
76
- _: 1,
77
- __: [1]
76
+ _: 1
78
77
  }),
79
78
  l(n($)),
80
79
  n(C) !== "modal" ? (s(), v(n(p), {
@@ -91,8 +90,7 @@ const q = { class: "m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"
91
90
  ]),
92
91
  e[2] || (e[2] = d("span", { class: "leading-none" }, "Manage Environments", -1))
93
92
  ]),
94
- _: 1,
95
- __: [2]
93
+ _: 1
96
94
  })) : M("", !0)
97
95
  ]),
98
96
  default: r(() => [
@@ -30,7 +30,7 @@ const G = { class: "flex text-sm" }, L = { class: "bg-b-1 custom-scroll grid w-d
30
30
  a(e(m), { class: "text-c-2 px-1 py-1" }, {
31
31
  default: o(() => [
32
32
  u(l.$slots, "title", {}, () => [
33
- r[1] || (r[1] = p("Select an icon"))
33
+ r[1] || (r[1] = p("Select an icon", -1))
34
34
  ])
35
35
  ]),
36
36
  _: 3
@@ -10,30 +10,30 @@ const A = {
10
10
  const l = v, a = y(!1);
11
11
  let o = 0;
12
12
  x(() => {
13
- document.addEventListener("dragenter", m), document.addEventListener("dragleave", f), document.addEventListener("dragover", u), document.addEventListener("drop", c);
13
+ document.addEventListener("dragenter", m), document.addEventListener("dragleave", f), document.addEventListener("dragover", c), document.addEventListener("drop", u);
14
14
  }), h(() => {
15
- document.removeEventListener("dragenter", m), document.removeEventListener("dragover", u), document.removeEventListener("dragleave", f), document.removeEventListener("drop", c);
15
+ document.removeEventListener("dragenter", m), document.removeEventListener("dragover", c), document.removeEventListener("dragleave", f), document.removeEventListener("drop", u);
16
16
  });
17
17
  function d(e) {
18
18
  return e.dataTransfer?.types.includes("text/html") ?? !1;
19
19
  }
20
- async function c(e) {
20
+ function u(e) {
21
21
  if (e.preventDefault(), a.value = !1, o = 0, !d(e) && e.dataTransfer) {
22
22
  const t = e.dataTransfer.getData("text").replace(/^blob:/, "");
23
23
  if (t)
24
24
  l("input", t, null, "drop");
25
25
  else if (e.dataTransfer.files.length > 0) {
26
- const r = e.dataTransfer.files[0];
27
- if (!r)
26
+ const n = e.dataTransfer.files[0];
27
+ if (!n)
28
28
  return;
29
- const n = new FileReader();
30
- n.onload = async (i) => {
29
+ const r = new FileReader();
30
+ r.onload = (i) => {
31
31
  i.target && typeof i.target.result == "string" && l("input", i.target.result, null, "drop");
32
- }, n.readAsText(r);
32
+ }, r.readAsText(n);
33
33
  }
34
34
  }
35
35
  }
36
- function u(e) {
36
+ function c(e) {
37
37
  e.preventDefault();
38
38
  }
39
39
  function f(e) {
@@ -43,9 +43,9 @@ const A = {
43
43
  if (e.preventDefault(), o++, !d(e)) {
44
44
  if (e.dataTransfer) {
45
45
  const t = e.dataTransfer.items;
46
- for (let r = 0; r < t.length; r++) {
47
- const n = t[r];
48
- if (n?.kind === "string" || n?.type?.includes("json") || n?.type?.includes("yml") || n?.type?.includes("yaml")) {
46
+ for (let n = 0; n < t.length; n++) {
47
+ const r = t[n];
48
+ if (r?.kind === "string" || r?.type?.includes("json") || r?.type?.includes("yml") || r?.type?.includes("yaml")) {
49
49
  a.value = !0;
50
50
  return;
51
51
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, ref as u, createElementBlock as k, openBlock as y, Fragment as w, createVNode as r, renderSlot as g, nextTick as h } from "vue";
1
+ import { defineComponent as I, ref as u, createElementBlock as k, openBlock as w, Fragment as y, createVNode as r, renderSlot as g, nextTick as h } from "vue";
2
2
  import { useToasts as C } from "@scalar/use-toasts";
3
3
  import { useRouter as T } from "vue-router";
4
4
  import { workspaceStoreIsEmpty as $ } from "./utils/workspace-store-is-empty.js";
@@ -26,7 +26,7 @@ const J = /* @__PURE__ */ I({
26
26
  n.value = e, s.value = t, i.value = o;
27
27
  }
28
28
  const f = T(), { activeWorkspace: p } = q(), { toast: l } = C();
29
- async function d(e) {
29
+ function d(e) {
30
30
  return e ? new Promise((t) => {
31
31
  B({
32
32
  store: c,
@@ -36,20 +36,20 @@ const J = /* @__PURE__ */ I({
36
36
  watchMode: !0,
37
37
  onSuccess(o) {
38
38
  if (o) {
39
- _(o), l("Import successful", "info"), t(!0);
39
+ v(o), l("Import successful", "info"), t(!0);
40
40
  return;
41
41
  }
42
42
  l("Import failed: No collection was created", "error"), t(!1);
43
43
  },
44
44
  onError(o) {
45
45
  console.error("[importCollection]", o);
46
- const v = o?.message || "Unknown error";
47
- l(`Import failed: ${v}`, "error"), t(!1);
46
+ const _ = o?.message || "Unknown error";
47
+ l(`Import failed: ${_}`, "error"), t(!1);
48
48
  }
49
49
  });
50
- }) : !1;
50
+ }) : Promise.resolve(!1);
51
51
  }
52
- function _(e) {
52
+ function v(e) {
53
53
  e && f.push({
54
54
  name: "request",
55
55
  params: {
@@ -58,7 +58,7 @@ const J = /* @__PURE__ */ I({
58
58
  }
59
59
  });
60
60
  }
61
- return (e, t) => (y(), k(w, null, [
61
+ return (e, t) => (w(), k(y, null, [
62
62
  r(F, {
63
63
  eventType: i.value,
64
64
  integration: s.value,
@@ -159,7 +159,7 @@ const ue = ["innerHTML"], fe = { class: "relative flex h-screen flex-col justify
159
159
  ]),
160
160
  e("div", ge, [
161
161
  e("div", _e, [
162
- t[2] || (t[2] = k(" Import to: ")),
162
+ t[2] || (t[2] = k(" Import to: ", -1)),
163
163
  d(ae)
164
164
  ])
165
165
  ]),
@@ -1,11 +1,11 @@
1
- import { defineComponent as y, createElementBlock as C, createCommentVNode as h, openBlock as o, Fragment as v, createBlock as u, unref as a, withCtx as m, createTextVNode as c } from "vue";
1
+ import { defineComponent as C, createElementBlock as h, createCommentVNode as y, openBlock as o, Fragment as v, createBlock as u, unref as a, withCtx as m, createTextVNode as c } from "vue";
2
2
  import { ScalarButton as p } from "@scalar/components";
3
3
  import { useToasts as b } from "@scalar/use-toasts";
4
4
  import { useRouter as g } from "vue-router";
5
5
  import { useActiveEntities as x } from "../../store/active-entities.js";
6
6
  import { importCollection as B } from "./utils/import-collection.js";
7
7
  import { useWorkspace as I } from "../../store/store.js";
8
- const z = /* @__PURE__ */ y({
8
+ const R = /* @__PURE__ */ C({
9
9
  __name: "ImportNowButton",
10
10
  props: {
11
11
  source: {},
@@ -15,7 +15,7 @@ const z = /* @__PURE__ */ y({
15
15
  emits: ["importFinished"],
16
16
  setup(r, { emit: l }) {
17
17
  const f = l, d = g(), k = I(), { activeWorkspace: n } = x(), { toast: s } = b();
18
- async function i() {
18
+ function i() {
19
19
  B({
20
20
  store: k,
21
21
  workspace: n.value,
@@ -40,7 +40,7 @@ const z = /* @__PURE__ */ y({
40
40
  }
41
41
  });
42
42
  }
43
- return (e, t) => e.source ? (o(), C(v, { key: 0 }, [
43
+ return (e, t) => e.source ? (o(), h(v, { key: 0 }, [
44
44
  e.variant === "button" ? (o(), u(a(p), {
45
45
  key: 0,
46
46
  class: "mt-3 h-fit w-full rounded-lg px-6 py-2.5 font-bold",
@@ -48,11 +48,10 @@ const z = /* @__PURE__ */ y({
48
48
  type: "button",
49
49
  onClick: i
50
50
  }, {
51
- default: m(() => t[0] || (t[0] = [
52
- c(" Import Collection ")
53
- ])),
54
- _: 1,
55
- __: [0]
51
+ default: m(() => [...t[0] || (t[0] = [
52
+ c(" Import Collection ", -1)
53
+ ])]),
54
+ _: 1
56
55
  })) : (o(), u(a(p), {
57
56
  key: 1,
58
57
  class: "h-fit rounded-lg px-6 py-2.5 text-[21px] font-bold",
@@ -61,15 +60,14 @@ const z = /* @__PURE__ */ y({
61
60
  variant: "ghost",
62
61
  onClick: i
63
62
  }, {
64
- default: m(() => t[1] || (t[1] = [
65
- c(" Try it in the browser ")
66
- ])),
67
- _: 1,
68
- __: [1]
63
+ default: m(() => [...t[1] || (t[1] = [
64
+ c(" Try it in the browser ", -1)
65
+ ])]),
66
+ _: 1
69
67
  }))
70
- ], 64)) : h("", !0);
68
+ ], 64)) : y("", !0);
71
69
  }
72
70
  });
73
71
  export {
74
- z as default
72
+ R as default
75
73
  };
@@ -9,7 +9,7 @@ const p = /* @__PURE__ */ r({
9
9
  }), m(() => {
10
10
  document.removeEventListener("paste", n);
11
11
  });
12
- async function n(e) {
12
+ function n(e) {
13
13
  const t = e.target, i = !!document.activeElement?.classList.contains("cm-content");
14
14
  if (!(t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable || i)) && e.clipboardData) {
15
15
  const a = e.clipboardData.getData("text");
@@ -10,7 +10,7 @@ const a = { class: "w-full text-center text-sm font-medium break-words" }, u = [
10
10
  },
11
11
  setup(p) {
12
12
  return (t, e) => (o(), n("div", a, [
13
- e[0] || (e[0] = r(" We couldn't find an OpenAPI document at the provided URL. Please download and import the ")),
13
+ e[0] || (e[0] = r(" We couldn't find an OpenAPI document at the provided URL. Please download and import the ", -1)),
14
14
  t.url && d(s)(t.url) ? (o(), n("a", {
15
15
  key: 0,
16
16
  href: t.url,
@@ -18,7 +18,7 @@ const a = { class: "w-full text-center text-sm font-medium break-words" }, u = [
18
18
  target: "_blank",
19
19
  textContent: "OpenAPI document manually"
20
20
  }, null, 8, u)) : (o(), n("span", m)),
21
- e[1] || (e[1] = r(". "))
21
+ e[1] || (e[1] = r(". ", -1))
22
22
  ]));
23
23
  }
24
24
  });
@@ -69,8 +69,7 @@ const P = { class: "flex w-[inherit] items-center text-base" }, R = { class: "m-
69
69
  ]),
70
70
  a[2] || (a[2] = t("span", null, "New Workspace", -1))
71
71
  ]),
72
- _: 1,
73
- __: [2]
72
+ _: 1
74
73
  })
75
74
  ]),
76
75
  default: o(() => [
@@ -118,11 +117,10 @@ const P = { class: "flex w-[inherit] items-center text-base" }, R = { class: "m-
118
117
  disabled: !r.value.trim(),
119
118
  type: "submit"
120
119
  }, {
121
- default: o(() => a[3] || (a[3] = [
122
- V(" Continue ")
123
- ])),
124
- _: 1,
125
- __: [3]
120
+ default: o(() => [...a[3] || (a[3] = [
121
+ V(" Continue ", -1)
122
+ ])]),
123
+ _: 1
126
124
  }, 8, ["disabled"])
127
125
  ], 32)
128
126
  ]),
@@ -41,6 +41,6 @@ export declare function useUrlPrefetcher(): {
41
41
  input: string;
42
42
  error: any;
43
43
  }>;
44
- resetPrefetchResult: () => Promise<void>;
44
+ resetPrefetchResult: () => void;
45
45
  };
46
46
  //# sourceMappingURL=useUrlPrefetcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUrlPrefetcher.d.ts","sourceRoot":"","sources":["../../../../src/components/ImportCollection/hooks/useUrlPrefetcher.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB,CAAA;AAED;;GAEG;AACH,wBAAgB,gBAAgB;;eAVvB,MAAM,GAAG,SAAS;iBAChB,MAAM,GAAG,IAAI;eACf,MAAM,GAAG,IAAI;aACf,MAAM,GAAG,IAAI;eACX,MAAM,GAAG,IAAI;;yBAsH4B,MAAM,GAAG,IAAI,aAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBjF"}
1
+ {"version":3,"file":"useUrlPrefetcher.d.ts","sourceRoot":"","sources":["../../../../src/components/ImportCollection/hooks/useUrlPrefetcher.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB,CAAA;AAED;;GAEG;AACH,wBAAgB,gBAAgB;;eAVvB,MAAM,GAAG,SAAS;iBAChB,MAAM,GAAG,IAAI;eACf,MAAM,GAAG,IAAI;aACf,MAAM,GAAG,IAAI;eACX,MAAM,GAAG,IAAI;;yBAsH4B,MAAM,GAAG,IAAI,aAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBjF"}
@@ -2,7 +2,7 @@ import { resolve as i } from "@scalar/import";
2
2
  import { redirectToProxy as f, fetchWithProxyFallback as d } from "@scalar/oas-utils/helpers";
3
3
  import { reactive as h } from "vue";
4
4
  import { isUrl as m } from "../../../libs/isUrl.js";
5
- function b() {
5
+ function v() {
6
6
  const n = h({
7
7
  state: "idle",
8
8
  content: null,
@@ -10,7 +10,7 @@ function b() {
10
10
  input: null,
11
11
  error: null
12
12
  });
13
- async function u() {
13
+ function u() {
14
14
  Object.assign(n, {
15
15
  state: "idle",
16
16
  content: null,
@@ -101,5 +101,5 @@ function b() {
101
101
  };
102
102
  }
103
103
  export {
104
- b as useUrlPrefetcher
104
+ v as useUrlPrefetcher
105
105
  };
@@ -39,7 +39,7 @@ const k = ["href"], L = /* @__PURE__ */ i({
39
39
  size: "xs",
40
40
  thickness: "2.5"
41
41
  }),
42
- o[0] || (o[0] = f(" Open API Client "))
42
+ o[0] || (o[0] = f(" Open API Client ", -1))
43
43
  ], 8, k)) : m("", !0);
44
44
  }
45
45
  });
@@ -67,8 +67,7 @@ const B = { class: "overflow-x-auto" }, W = {
67
67
  class: "text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100"
68
68
  })
69
69
  ]),
70
- _: 1,
71
- __: [1]
70
+ _: 1
72
71
  })
73
72
  ]),
74
73
  _: 1
@@ -5,11 +5,11 @@ const f = {
5
5
  class: "block no-underline",
6
6
  href: "https://discord.gg/scalar",
7
7
  target: "_blank"
8
- }, m = { class: "flex items-center justify-center" }, _ = {
8
+ }, m = { class: "flex items-center justify-center" }, x = {
9
9
  class: "block no-underline",
10
10
  href: "https://github.com/scalar/scalar",
11
11
  target: "_blank"
12
- }, x = { class: "flex items-center justify-center" }, g = {
12
+ }, _ = { class: "flex items-center justify-center" }, g = {
13
13
  class: "block no-underline",
14
14
  href: "mailto:support@scalar.com",
15
15
  target: "_blank"
@@ -42,14 +42,13 @@ const f = {
42
42
  ]),
43
43
  t[1] || (t[1] = e("span", null, "Discord", -1))
44
44
  ]),
45
- _: 1,
46
- __: [1]
45
+ _: 1
47
46
  })
48
47
  ]),
49
- e("a", _, [
48
+ e("a", x, [
50
49
  l(s(o), { class: "flex w-full items-center gap-1.5" }, {
51
50
  default: n(() => [
52
- e("div", x, [
51
+ e("div", _, [
53
52
  l(s(a), {
54
53
  icon: "GitHubLine",
55
54
  size: "xs",
@@ -58,8 +57,7 @@ const f = {
58
57
  ]),
59
58
  t[2] || (t[2] = e("span", null, "GitHub", -1))
60
59
  ]),
61
- _: 1,
62
- __: [2]
60
+ _: 1
63
61
  })
64
62
  ]),
65
63
  e("a", g, [
@@ -73,8 +71,7 @@ const f = {
73
71
  ]),
74
72
  t[3] || (t[3] = e("span", null, "Email", -1))
75
73
  ]),
76
- _: 1,
77
- __: [3]
74
+ _: 1
78
75
  })
79
76
  ]),
80
77
  t[7] || (t[7] = e("span", { class: "text-c-2 px-2.5 py-1.5 text-xs font-medium" }, "Product", -1)),
@@ -90,8 +87,7 @@ const f = {
90
87
  ]),
91
88
  t[4] || (t[4] = e("span", null, "Changelog", -1))
92
89
  ]),
93
- _: 1,
94
- __: [4]
90
+ _: 1
95
91
  })
96
92
  ]),
97
93
  e("a", w, [
@@ -106,8 +102,7 @@ const f = {
106
102
  ]),
107
103
  t[5] || (t[5] = e("span", null, "Roadmap", -1))
108
104
  ]),
109
- _: 1,
110
- __: [5]
105
+ _: 1
111
106
  })
112
107
  ])
113
108
  ]),
@@ -117,11 +112,10 @@ const f = {
117
112
  icon: "Help",
118
113
  type: "button"
119
114
  }, {
120
- default: n(() => t[0] || (t[0] = [
121
- d(" About ")
122
- ])),
123
- _: 1,
124
- __: [0]
115
+ default: n(() => [...t[0] || (t[0] = [
116
+ d(" About ", -1)
117
+ ])]),
118
+ _: 1
125
119
  })
126
120
  ]),
127
121
  _: 1
@@ -73,11 +73,10 @@ const j = { class: "flex items-center" }, A = { class: "flex items-center" }, R
73
73
  }
74
74
  }
75
75
  }, {
76
- default: n(() => p[0] || (p[0] = [
77
- d(" Settings ")
78
- ])),
79
- _: 1,
80
- __: [0]
76
+ default: n(() => [...p[0] || (p[0] = [
77
+ d(" Settings ", -1)
78
+ ])]),
79
+ _: 1
81
80
  }, 8, ["active", "to"])
82
81
  ]),
83
82
  c("li", A, [
@@ -21,11 +21,10 @@ const g = { class: "flex justify-between gap-10" }, y = /* @__PURE__ */ u({
21
21
  variant: "outlined",
22
22
  onClick: e[0] || (e[0] = (p) => o("cancel"))
23
23
  }, {
24
- default: r(() => e[2] || (e[2] = [
25
- s(" Cancel ")
26
- ])),
27
- _: 1,
28
- __: [2]
24
+ default: r(() => [...e[2] || (e[2] = [
25
+ s(" Cancel ", -1)
26
+ ])]),
27
+ _: 1
29
28
  }),
30
29
  n(a(l), {
31
30
  class: "custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",
@@ -1 +1 @@
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;AA+JF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA2B9C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,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;AA8JF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA2B9C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,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
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-72824faa"]]);
3
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-dcff7b49"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -6,7 +6,7 @@ import { useWorkspace as C } from "../../store/store.js";
6
6
  const B = {
7
7
  key: 0,
8
8
  class: "xl:min-h-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 text-sm font-medium whitespace-nowrap" }, X = { class: "bg-b-1 relative sticky bottom-0 z-10 w-[inherit] pt-0 has-[.empty-sidebar-item]:border-t md:px-2.5 md:pb-2.5" }, q = /* @__PURE__ */ E({
9
+ }, I = { class: "m-0 text-sm font-medium whitespace-nowrap" }, X = { class: "bg-b-1 sticky bottom-0 z-10 w-[inherit] pt-0 has-[.empty-sidebar-item]:border-t md:px-2.5 md:pb-2.5" }, q = /* @__PURE__ */ E({
10
10
  __name: "Sidebar",
11
11
  props: {
12
12
  title: {}
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, reactive as $, ref as j, computed as _, watch as S, onMounted as O, onBeforeUnmount as W, createElementBlock as C, openBlock as c, createElementVNode as v, createVNode as n, unref as a, withCtx as u, createTextVNode as L, createBlock as g, createCommentVNode as D, toDisplayString as K, Fragment as q, renderList as F } from "vue";
1
+ import { defineComponent as V, reactive as $, ref as j, computed as S, watch as _, onMounted as O, onBeforeUnmount as W, createElementBlock as C, openBlock as c, createElementVNode as v, createVNode as n, unref as a, withCtx as u, createTextVNode as L, createBlock as g, createCommentVNode as D, toDisplayString as K, Fragment as q, renderList as F } from "vue";
2
2
  import { ScalarContextMenu as H, ScalarFloating as G, ScalarDropdownMenu as J, ScalarDropdownButton as I, ScalarIcon as d, ScalarHotkey as P } from "@scalar/components";
3
3
  import { LibraryIcon as Q } from "@scalar/icons/library";
4
4
  import { useClipboard as X } from "@scalar/use-hooks/useClipboard";
@@ -23,7 +23,7 @@ const le = { class: "mac:pl-[72px] t-app__top-nav relative flex h-10 pl-2" }, ae
23
23
  icon: "Add",
24
24
  isCollection: !1
25
25
  }
26
- ]), l = j(0), T = _(() => l.value), y = _(() => i.currentRoute.value.name?.toString().startsWith("collection."));
26
+ ]), l = j(0), T = S(() => l.value), y = S(() => i.currentRoute.value.name?.toString().startsWith("collection."));
27
27
  function N() {
28
28
  if (y.value) {
29
29
  t[l.value] = {
@@ -71,7 +71,7 @@ const le = { class: "mac:pl-[72px] t-app__top-nav relative flex h-10 pl-2" }, ae
71
71
  function p(e) {
72
72
  l.value = e, h();
73
73
  }
74
- S(
74
+ _(
75
75
  () => i.currentRoute.value.path,
76
76
  () => {
77
77
  N();
@@ -107,7 +107,7 @@ const le = { class: "mac:pl-[72px] t-app__top-nav relative flex h-10 pl-2" }, ae
107
107
  isCollection: !1
108
108
  });
109
109
  };
110
- return S(
110
+ return _(
111
111
  () => A.openNewTab,
112
112
  (e) => {
113
113
  e && B(e);
@@ -146,14 +146,13 @@ const le = { class: "mac:pl-[72px] t-app__top-nav relative flex h-10 pl-2" }, ae
146
146
  size: "sm",
147
147
  thickness: "1.5"
148
148
  }),
149
- o[1] || (o[1] = L(" New Tab ")),
149
+ o[1] || (o[1] = L(" New Tab ", -1)),
150
150
  n(a(P), {
151
151
  class: "bg-b-2 ml-auto",
152
152
  hotkey: "T"
153
153
  })
154
154
  ]),
155
- _: 1,
156
- __: [1]
155
+ _: 1
157
156
  }),
158
157
  n(a(I), {
159
158
  class: "flex items-center gap-1.5",
@@ -165,10 +164,9 @@ const le = { class: "mac:pl-[72px] t-app__top-nav relative flex h-10 pl-2" }, ae
165
164
  size: "sm",
166
165
  thickness: "1.5"
167
166
  }),
168
- o[2] || (o[2] = L(" Copy URL "))
167
+ o[2] || (o[2] = L(" Copy URL ", -1))
169
168
  ]),
170
- _: 1,
171
- __: [2]
169
+ _: 1
172
170
  })
173
171
  ]),
174
172
  _: 1