@scalar/api-client 2.8.0 → 2.9.0

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 (418) hide show
  1. package/CHANGELOG.md +90 -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 +2 -2
  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.vue.d.ts +4 -4
  15. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -24
  16. package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
  17. package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
  18. package/dist/components/DataTable/DataTableInputSelect.vue.js +8 -9
  19. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -10
  20. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  21. package/dist/components/IconSelector.vue.js +1 -1
  22. package/dist/components/ImportCollection/DropEventListener.vue.js +12 -12
  23. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +8 -8
  24. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
  25. package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -16
  26. package/dist/components/ImportCollection/PasteEventListener.vue.js +1 -1
  27. package/dist/components/ImportCollection/PrefetchError.vue.js +2 -2
  28. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +5 -7
  29. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -1
  30. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  31. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +3 -3
  32. package/dist/components/OpenApiClientButton.vue2.js +1 -1
  33. package/dist/components/Server/ServerSelector.vue.js +1 -2
  34. package/dist/components/SideNav/SideHelp.vue.js +13 -19
  35. package/dist/components/SideNav/SideNav.vue.js +4 -5
  36. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +4 -5
  37. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  38. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  39. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  40. package/dist/components/TopNav/TopNav.vue.js +8 -10
  41. package/dist/components/TopNav/TopNavItem.vue2.js +8 -12
  42. package/dist/hooks/index.d.ts +0 -1
  43. package/dist/hooks/index.d.ts.map +1 -1
  44. package/dist/hooks/index.js +9 -11
  45. package/dist/hooks/useClientConfig.d.ts +9 -6
  46. package/dist/hooks/useClientConfig.d.ts.map +1 -1
  47. package/dist/index.d.ts +1 -2
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +8 -15
  50. package/dist/layouts/App/create-api-client-app.d.ts +3644 -3643
  51. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  52. package/dist/layouts/App/create-api-client-app.js +24 -18
  53. package/dist/layouts/Modal/create-api-client-modal.d.ts +5 -8089
  54. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  55. package/dist/layouts/Modal/create-api-client-modal.js +28 -46
  56. package/dist/layouts/Modal/index.d.ts +2 -2
  57. package/dist/layouts/Modal/index.d.ts.map +1 -1
  58. package/dist/layouts/Modal/index.js +2 -5
  59. package/dist/layouts/Web/create-api-client-web.d.ts +20 -20
  60. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  61. package/dist/layouts/Web/create-api-client-web.js +15 -12
  62. package/dist/libs/create-client.d.ts +25 -25
  63. package/dist/libs/create-client.d.ts.map +1 -1
  64. package/dist/libs/create-client.js +23 -23
  65. package/dist/libs/find-request.d.ts +2 -2
  66. package/dist/libs/postman.d.ts +1 -1
  67. package/dist/libs/postman.d.ts.map +1 -1
  68. package/dist/libs/postman.js +12 -12
  69. package/dist/libs/send-request/create-request-operation.js +8 -8
  70. package/dist/libs/send-request/create-request-operation.test.d.ts +2 -2
  71. package/dist/libs/validate-parameters.d.ts +10 -2
  72. package/dist/libs/validate-parameters.d.ts.map +1 -1
  73. package/dist/libs/validate-parameters.js +13 -6
  74. package/dist/plugins/plugin-manager.d.ts +1 -1
  75. package/dist/routes.d.ts +3 -184
  76. package/dist/routes.d.ts.map +1 -1
  77. package/dist/routes.js +6 -6
  78. package/dist/store/active-entities.d.ts +3 -3
  79. package/dist/store/active-entities.d.ts.map +1 -1
  80. package/dist/store/active-entities.js +2 -2
  81. package/dist/store/requests.d.ts +22 -22
  82. package/dist/store/router-params.d.ts.map +1 -1
  83. package/dist/store/store.d.ts +20 -20
  84. package/dist/style.css +1 -1
  85. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
  86. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +1 -1
  87. package/dist/v2/blocks/operation-code-sample/index.d.ts +1 -0
  88. package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
  89. package/dist/v2/blocks/operation-code-sample/index.js +8 -6
  90. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +5 -5
  91. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  92. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  93. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +3 -3
  94. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +3 -4
  95. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts +1 -0
  96. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts.map +1 -1
  97. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -2
  98. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +7 -8
  99. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +44 -55
  100. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +16 -18
  101. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +41 -46
  102. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  103. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +3 -0
  104. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
  105. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
  106. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +201 -187
  107. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
  108. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +8 -10
  109. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +2 -3
  110. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +2 -4
  111. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +14 -16
  112. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +3 -0
  113. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
  114. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
  115. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +87 -85
  116. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +10 -11
  117. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +4 -5
  118. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +1 -1
  119. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +3 -3
  120. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +1 -1
  121. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +5 -5
  122. package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +9 -10
  123. package/dist/v2/components/TempReplaceMe.vue.d.ts +3 -0
  124. package/dist/v2/components/TempReplaceMe.vue.d.ts.map +1 -0
  125. package/dist/v2/components/TempReplaceMe.vue.js +12 -0
  126. package/dist/v2/components/resize/Resize.vue.d.ts +20 -0
  127. package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -0
  128. package/dist/v2/components/resize/Resize.vue.js +8 -0
  129. package/dist/v2/components/resize/Resize.vue2.js +36 -0
  130. package/dist/v2/components/resize/index.d.ts +3 -0
  131. package/dist/v2/components/resize/index.d.ts.map +1 -0
  132. package/dist/v2/components/resize/index.js +4 -0
  133. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +39 -0
  134. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -0
  135. package/dist/v2/components/sidebar/Sidebar.vue.js +95 -0
  136. package/dist/v2/components/sidebar/Sidebar.vue2.js +4 -0
  137. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +13 -0
  138. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -0
  139. package/dist/v2/components/sidebar/SidebarMenu.vue.js +63 -0
  140. package/dist/v2/components/sidebar/SidebarMenu.vue2.js +4 -0
  141. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +10 -0
  142. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -0
  143. package/dist/v2/components/sidebar/SidebarToggle.vue.js +52 -0
  144. package/dist/v2/components/sidebar/SidebarToggle.vue2.js +4 -0
  145. package/dist/v2/components/sidebar/index.d.ts +4 -0
  146. package/dist/v2/components/sidebar/index.d.ts.map +1 -0
  147. package/dist/v2/components/sidebar/index.js +8 -0
  148. package/dist/v2/features/app/App.vue.d.ts +16 -0
  149. package/dist/v2/features/app/App.vue.d.ts.map +1 -0
  150. package/dist/v2/features/app/App.vue.js +72 -0
  151. package/dist/v2/features/app/App.vue3.js +5 -0
  152. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +30 -0
  153. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -0
  154. package/dist/v2/features/app/components/AppSidebar.vue.js +7 -0
  155. package/dist/v2/features/app/components/AppSidebar.vue2.js +117 -0
  156. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +3 -0
  157. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -0
  158. package/dist/v2/features/app/components/DesktopTabs.vue.js +14 -0
  159. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +3 -0
  160. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -0
  161. package/dist/v2/features/app/components/DownloadAppButton.vue.js +7 -0
  162. package/dist/v2/features/app/components/DownloadAppButton.vue2.js +19 -0
  163. package/dist/v2/features/app/components/WebTopNav.vue.d.ts +16 -0
  164. package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -0
  165. package/dist/v2/features/app/components/WebTopNav.vue.js +28 -0
  166. package/dist/v2/features/app/components/WebTopNav.vue2.js +4 -0
  167. package/dist/v2/features/app/components/index.d.ts +2 -0
  168. package/dist/v2/features/app/components/index.d.ts.map +1 -0
  169. package/dist/v2/features/app/components/index.js +5 -0
  170. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +25 -0
  171. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -0
  172. package/dist/v2/features/app/helpers/create-api-client-app.js +21 -0
  173. package/dist/v2/features/app/helpers/routes.d.ts +103 -0
  174. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -0
  175. package/dist/v2/features/app/helpers/routes.js +115 -0
  176. package/dist/v2/features/app/index.d.ts +2 -0
  177. package/dist/v2/features/app/index.d.ts.map +1 -0
  178. package/dist/v2/features/app/index.js +4 -0
  179. package/dist/v2/features/collection/DocumentCollection.test.d.ts +2 -0
  180. package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +1 -0
  181. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +12 -0
  182. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -0
  183. package/dist/v2/features/collection/DocumentCollection.vue.js +4 -0
  184. package/dist/v2/features/collection/DocumentCollection.vue2.js +82 -0
  185. package/dist/v2/features/collection/WorkspaceCollection.test.d.ts +2 -0
  186. package/dist/v2/features/collection/WorkspaceCollection.test.d.ts.map +1 -0
  187. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +10 -0
  188. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -0
  189. package/dist/v2/features/collection/WorkspaceCollection.vue.js +4 -0
  190. package/dist/v2/features/collection/WorkspaceCollection.vue2.js +38 -0
  191. package/dist/v2/features/collection/components/Authentication.test.d.ts +2 -0
  192. package/dist/v2/features/collection/components/Authentication.test.d.ts.map +1 -0
  193. package/dist/v2/features/collection/components/Authentication.vue.d.ts +48 -0
  194. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -0
  195. package/dist/v2/features/collection/components/Authentication.vue.js +7 -0
  196. package/dist/v2/features/collection/components/Authentication.vue2.js +50 -0
  197. package/dist/v2/features/collection/components/Cookies.vue.d.ts +3 -0
  198. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -0
  199. package/dist/v2/features/collection/components/Cookies.vue.js +9 -0
  200. package/dist/v2/features/collection/components/Environment.test.d.ts +2 -0
  201. package/dist/v2/features/collection/components/Environment.test.d.ts.map +1 -0
  202. package/dist/v2/features/collection/components/Environment.vue.d.ts +89 -0
  203. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -0
  204. package/dist/v2/features/collection/components/Environment.vue.js +4 -0
  205. package/dist/v2/features/collection/components/Environment.vue2.js +34 -0
  206. package/dist/v2/features/collection/components/Form.vue.d.ts +29 -0
  207. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -0
  208. package/dist/v2/features/collection/components/Form.vue.js +83 -0
  209. package/dist/v2/features/collection/components/Form.vue2.js +4 -0
  210. package/dist/v2/features/collection/components/LabelInput.test.d.ts +2 -0
  211. package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +1 -0
  212. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +10 -0
  213. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -0
  214. package/dist/v2/features/collection/components/LabelInput.vue.js +7 -0
  215. package/dist/v2/features/collection/components/LabelInput.vue2.js +29 -0
  216. package/dist/v2/features/collection/components/Overview.test.d.ts +2 -0
  217. package/dist/v2/features/collection/components/Overview.test.d.ts.map +1 -0
  218. package/dist/v2/features/collection/components/Overview.vue.d.ts +14 -0
  219. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -0
  220. package/dist/v2/features/collection/components/Overview.vue.js +4 -0
  221. package/dist/v2/features/collection/components/Overview.vue2.js +91 -0
  222. package/dist/v2/features/collection/components/Servers.test.d.ts +2 -0
  223. package/dist/v2/features/collection/components/Servers.test.d.ts.map +1 -0
  224. package/dist/v2/features/collection/components/Servers.vue.d.ts +33 -0
  225. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -0
  226. package/dist/v2/features/collection/components/Servers.vue.js +4 -0
  227. package/dist/v2/features/collection/components/Servers.vue2.js +120 -0
  228. package/dist/v2/features/collection/components/Settings.test.d.ts +2 -0
  229. package/dist/v2/features/collection/components/Settings.test.d.ts.map +1 -0
  230. package/dist/v2/features/collection/components/Settings.vue.d.ts +17 -0
  231. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -0
  232. package/dist/v2/features/collection/components/Settings.vue.js +7 -0
  233. package/dist/v2/features/collection/components/Settings.vue2.js +100 -0
  234. package/dist/v2/features/collection/components/Tabs.test.d.ts +2 -0
  235. package/dist/v2/features/collection/components/Tabs.test.d.ts.map +1 -0
  236. package/dist/v2/features/collection/components/Tabs.vue.d.ts +6 -0
  237. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -0
  238. package/dist/v2/features/collection/components/Tabs.vue.js +46 -0
  239. package/dist/v2/features/collection/components/Tabs.vue2.js +4 -0
  240. package/dist/v2/features/environments/Environments.test.d.ts +2 -0
  241. package/dist/v2/features/environments/Environments.test.d.ts.map +1 -0
  242. package/dist/v2/features/environments/Environments.vue.d.ts +31 -0
  243. package/dist/v2/features/environments/Environments.vue.d.ts.map +1 -0
  244. package/dist/v2/features/environments/Environments.vue.js +65 -0
  245. package/dist/v2/features/environments/Environments.vue2.js +4 -0
  246. package/dist/v2/features/environments/EnvironmentsList.test.d.ts +2 -0
  247. package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +1 -0
  248. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +98 -0
  249. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -0
  250. package/dist/v2/features/environments/EnvironmentsList.vue.js +114 -0
  251. package/dist/v2/features/environments/EnvironmentsList.vue2.js +4 -0
  252. package/dist/v2/features/environments/components/Environment.test.d.ts +2 -0
  253. package/dist/v2/features/environments/components/Environment.test.d.ts.map +1 -0
  254. package/dist/v2/features/environments/components/Environment.vue.d.ts +70 -0
  255. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -0
  256. package/dist/v2/features/environments/components/Environment.vue.js +104 -0
  257. package/dist/v2/features/environments/components/Environment.vue2.js +4 -0
  258. package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts +20 -0
  259. package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts.map +1 -0
  260. package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.js +48 -0
  261. package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue2.js +4 -0
  262. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +2 -0
  263. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +1 -0
  264. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +10 -0
  265. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -0
  266. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +97 -0
  267. package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +4 -0
  268. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +19 -0
  269. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -0
  270. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +63 -0
  271. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue2.js +4 -0
  272. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +14 -0
  273. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -0
  274. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +53 -0
  275. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue2.js +4 -0
  276. package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts +18 -0
  277. package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts.map +1 -0
  278. package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.js +35 -0
  279. package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue2.js +4 -0
  280. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +2 -0
  281. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +1 -0
  282. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +23 -0
  283. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -0
  284. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +7 -0
  285. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +122 -0
  286. package/dist/v2/features/environments/index.d.ts +5 -0
  287. package/dist/v2/features/environments/index.d.ts.map +1 -0
  288. package/dist/v2/features/environments/index.js +6 -0
  289. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +2 -0
  290. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +1 -0
  291. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +25 -0
  292. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -0
  293. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +7 -0
  294. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +156 -0
  295. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +2 -0
  296. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +1 -0
  297. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts +32 -0
  298. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts.map +1 -0
  299. package/dist/v2/features/global-cookies/components/GlobalCookies.vue.js +7 -0
  300. package/dist/v2/features/global-cookies/components/GlobalCookies.vue2.js +58 -0
  301. package/dist/v2/features/global-cookies/index.d.ts +2 -0
  302. package/dist/v2/features/global-cookies/index.d.ts.map +1 -0
  303. package/dist/v2/features/global-cookies/index.js +4 -0
  304. package/dist/v2/features/modal/Modal.vue.d.ts +16 -0
  305. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -0
  306. package/dist/v2/features/modal/Modal.vue.js +7 -0
  307. package/dist/v2/features/modal/Modal.vue2.js +81 -0
  308. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +53 -0
  309. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -0
  310. package/dist/v2/features/modal/helpers/create-api-client-modal.js +46 -0
  311. package/dist/v2/features/modal/index.d.ts +2 -0
  312. package/dist/v2/features/modal/index.d.ts.map +1 -0
  313. package/dist/v2/features/modal/index.js +4 -0
  314. package/dist/v2/features/operation/Operation.test.d.ts +2 -0
  315. package/dist/v2/features/operation/Operation.test.d.ts.map +1 -0
  316. package/dist/v2/features/operation/Operation.vue.d.ts +79 -0
  317. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -0
  318. package/dist/v2/features/operation/Operation.vue.js +124 -0
  319. package/dist/v2/features/operation/Operation.vue2.js +4 -0
  320. package/dist/v2/features/operation/components/Header.test.d.ts +2 -0
  321. package/dist/v2/features/operation/components/Header.test.d.ts.map +1 -0
  322. package/dist/v2/features/operation/components/Header.vue.d.ts +85 -0
  323. package/dist/v2/features/operation/components/Header.vue.d.ts.map +1 -0
  324. package/dist/v2/features/operation/components/Header.vue.js +7 -0
  325. package/dist/v2/features/operation/components/Header.vue2.js +97 -0
  326. package/dist/v2/features/operation/index.d.ts +3 -0
  327. package/dist/v2/features/operation/index.d.ts.map +1 -0
  328. package/dist/v2/features/operation/index.js +4 -0
  329. package/dist/v2/features/settings/Settings.test.d.ts +2 -0
  330. package/dist/v2/features/settings/Settings.test.d.ts.map +1 -0
  331. package/dist/v2/features/settings/Settings.vue.d.ts +22 -0
  332. package/dist/v2/features/settings/Settings.vue.d.ts.map +1 -0
  333. package/dist/v2/features/settings/Settings.vue.js +268 -0
  334. package/dist/v2/features/settings/Settings.vue2.js +4 -0
  335. package/dist/v2/features/settings/components/Appearance.vue.d.ts +10 -0
  336. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -0
  337. package/dist/v2/features/settings/components/Appearance.vue.js +88 -0
  338. package/dist/v2/features/settings/components/Appearance.vue2.js +4 -0
  339. package/dist/v2/features/settings/components/Section.vue.d.ts +14 -0
  340. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -0
  341. package/dist/v2/features/settings/components/Section.vue.js +24 -0
  342. package/dist/v2/features/settings/components/Section.vue2.js +4 -0
  343. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +9 -0
  344. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -0
  345. package/dist/v2/features/settings/helpers/get-theme-colors.js +17 -0
  346. package/dist/v2/features/settings/index.d.ts +2 -0
  347. package/dist/v2/features/settings/index.d.ts.map +1 -0
  348. package/dist/v2/features/settings/index.js +4 -0
  349. package/dist/v2/hooks/use-document-watcher.d.ts +28 -0
  350. package/dist/v2/hooks/use-document-watcher.d.ts.map +1 -0
  351. package/dist/v2/hooks/use-document-watcher.test.d.ts +2 -0
  352. package/dist/v2/hooks/use-document-watcher.test.d.ts.map +1 -0
  353. package/dist/v2/hooks/use-workspace-client-events.d.ts +8 -0
  354. package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -0
  355. package/dist/v2/hooks/use-workspace-client-events.js +13 -0
  356. package/dist/v2/plugins.d.ts +44 -0
  357. package/dist/v2/plugins.d.ts.map +1 -0
  358. package/dist/v2/types/layout.d.ts +10 -0
  359. package/dist/v2/types/layout.d.ts.map +1 -0
  360. package/dist/views/Collection/Collection.vue2.js +6 -6
  361. package/dist/views/Collection/CollectionCookies.vue2.js +3 -3
  362. package/dist/views/Collection/CollectionEnvironment.vue2.js +12 -13
  363. package/dist/views/Collection/CollectionScripts.vue2.js +3 -3
  364. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  365. package/dist/views/Collection/CollectionServerForm.vue.js +42 -62
  366. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  367. package/dist/views/Collection/CollectionServers.vue2.js +43 -50
  368. package/dist/views/Collection/CollectionSettings.vue.js +2 -2
  369. package/dist/views/Collection/CollectionSettings.vue2.js +5 -6
  370. package/dist/views/Collection/CollectionSync.vue2.js +3 -3
  371. package/dist/views/Collection/components/EnvironmentForm.vue2.js +10 -12
  372. package/dist/views/Collection/components/MarkdownInput.vue2.js +2 -4
  373. package/dist/views/Cookies/CookieModal.vue2.js +6 -6
  374. package/dist/views/Cookies/Cookies.vue2.js +6 -6
  375. package/dist/views/Environment/Environment.vue2.js +5 -6
  376. package/dist/views/Environment/EnvironmentModal.vue.js +13 -14
  377. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +8 -9
  378. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  379. package/dist/views/Request/RequestRoot.vue.js +2 -2
  380. package/dist/views/Request/RequestRoot.vue2.js +79 -80
  381. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +10 -11
  382. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -55
  383. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +10 -12
  384. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +2 -2
  385. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +39 -44
  386. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  387. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  388. package/dist/views/Request/RequestSection/RequestBody.vue2.js +96 -78
  389. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +3 -3
  390. package/dist/views/Request/RequestSection/RequestParams.vue.js +2 -3
  391. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  392. package/dist/views/Request/RequestSection/RequestSection.vue2.js +55 -55
  393. package/dist/views/Request/RequestSection/RequestTable.vue2.js +15 -17
  394. package/dist/views/Request/RequestSidebar.vue2.js +7 -8
  395. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  396. package/dist/views/Request/RequestSidebarItem.vue2.js +31 -32
  397. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  398. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -16
  399. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +11 -13
  400. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +4 -5
  401. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -5
  402. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
  403. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
  404. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +4 -4
  405. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +11 -13
  406. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +7 -8
  407. package/dist/views/Request/components/WorkspaceDropdown.vue.js +11 -14
  408. package/dist/views/Request/libs/oauth2.d.ts +1 -1
  409. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  410. package/dist/views/Settings/SettingsGeneral.vue.js +40 -42
  411. package/dist/views/Settings/components/SettingsAppearance.vue.js +8 -11
  412. package/package.json +52 -27
  413. package/dist/hooks/useKeyMap.d.ts +0 -2
  414. package/dist/hooks/useKeyMap.d.ts.map +0 -1
  415. package/dist/hooks/useKeyMap.js +0 -9
  416. package/dist/router.d.ts +0 -8
  417. package/dist/router.d.ts.map +0 -1
  418. package/dist/router.js +0 -20
@@ -0,0 +1,58 @@
1
+ import { defineComponent as c, createBlock as u, openBlock as l, withCtx as s, createVNode as a, createElementVNode as n, createElementBlock as r, unref as k, Fragment as m, createTextVNode as d, toDisplayString as x } from "vue";
2
+ import { ScalarIconCookie as v } from "@scalar/icons";
3
+ import b from "../../../../components/ViewLayout/ViewLayout.vue.js";
4
+ import g from "../../../../components/ViewLayout/ViewLayoutContent.vue.js";
5
+ import w from "../../../../components/ViewLayout/ViewLayoutSection.vue.js";
6
+ import V from "./CookiesTable.vue.js";
7
+ const _ = { class: "mx-auto flex max-h-full w-full max-w-[720px] !flex-col gap-8 overflow-auto px-5 py-15" }, y = { class: "flex flex-col gap-2" }, C = { class: "flex items-center gap-2 text-xl font-bold" }, T = /* @__PURE__ */ c({
8
+ __name: "GlobalCookies",
9
+ props: {
10
+ documentName: {},
11
+ cookies: {},
12
+ environment: {},
13
+ envVariables: {}
14
+ },
15
+ emits: ["navigation:update:selection", "navigation:update:sidebarWidth", "cookie:add", "cookie:update", "cookie:delete"],
16
+ setup(N, { emit: p }) {
17
+ const i = p;
18
+ return (o, e) => (l(), u(b, null, {
19
+ default: s(() => [
20
+ a(g, { class: "flex-1" }, {
21
+ default: s(() => [
22
+ a(w, null, {
23
+ default: s(() => [
24
+ n("div", _, [
25
+ n("div", y, [
26
+ n("h2", C, [
27
+ a(k(v)),
28
+ o.documentName ? (l(), r(m, { key: 1 }, [
29
+ d(x(o.documentName) + " cookies", 1)
30
+ ], 64)) : (l(), r(m, { key: 0 }, [
31
+ d(" Global cookies ")
32
+ ], 64))
33
+ ]),
34
+ e[3] || (e[3] = n("p", { class: "text-c-2 mb-4 text-sm" }, " Manage your global cookies here. ", -1))
35
+ ]),
36
+ a(V, {
37
+ data: o.cookies,
38
+ envVariables: o.envVariables,
39
+ environment: o.environment,
40
+ onAddRow: e[0] || (e[0] = (t) => i("cookie:add", t)),
41
+ onDeleteRow: e[1] || (e[1] = (t) => i("cookie:delete", t)),
42
+ onUpdateRow: e[2] || (e[2] = (t, f) => i("cookie:update", t, f))
43
+ }, null, 8, ["data", "envVariables", "environment"])
44
+ ])
45
+ ]),
46
+ _: 1
47
+ })
48
+ ]),
49
+ _: 1
50
+ })
51
+ ]),
52
+ _: 1
53
+ }));
54
+ }
55
+ });
56
+ export {
57
+ T as default
58
+ };
@@ -0,0 +1,2 @@
1
+ export { default as GlobalCookies } from './components/GlobalCookies.vue.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/global-cookies/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,gCAAgC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { default as e } from "./components/GlobalCookies.vue.js";
2
+ export {
3
+ e as GlobalCookies
4
+ };
@@ -0,0 +1,16 @@
1
+ import { type ModalState } from '@scalar/components';
2
+ import type { WorkspaceStore } from '@scalar/workspace-store/client';
3
+ import type { ActiveEntities } from '../../../v2/features/modal/helpers/create-api-client-modal.js';
4
+ export type ModalProps = {
5
+ activeEntities: ActiveEntities;
6
+ workspaceStore: WorkspaceStore;
7
+ modalState: ModalState;
8
+ };
9
+ /**
10
+ * Scalar Api Client Modal
11
+ *
12
+ * This component is used to render the API Client Modal
13
+ */
14
+ declare const _default: import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
16
+ //# sourceMappingURL=Modal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/modal/Modal.vue"],"names":[],"mappings":"AAiRA,OAAO,EAGL,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAapE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAA;AAGzF,MAAM,MAAM,UAAU,GAAG;IACvB,cAAc,EAAE,cAAc,CAAA;IAC9B,cAAc,EAAE,cAAc,CAAA;IAC9B,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA;AAED;;;;GAIG;;AACH,wBAiOC"}
@@ -0,0 +1,7 @@
1
+ import o from "./Modal.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-71a87d8c"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1,81 @@
1
+ import { defineComponent as S, ref as m, useId as k, watch as h, nextTick as E, onBeforeMount as b, onBeforeUnmount as y, withDirectives as u, createElementBlock as T, openBlock as C, createElementVNode as o, unref as i, createVNode as l, withCtx as g, vShow as f } from "vue";
2
+ import { addScalarClassesToHeadless as x, ScalarTeleportRoot as F } from "@scalar/components";
3
+ import { useFocusTrap as O } from "@vueuse/integrations/useFocusTrap";
4
+ import B from "../../components/TempReplaceMe.vue.js";
5
+ import U from "../../components/sidebar/Sidebar.vue.js";
6
+ const _ = { class: "scalar scalar-app" }, L = { class: "scalar-container" }, M = ["id"], W = { class: "flex flex-1 flex-row" }, $ = {}, A = /* @__PURE__ */ S({
7
+ ...$,
8
+ __name: "Modal",
9
+ props: {
10
+ activeEntities: {},
11
+ workspaceStore: {},
12
+ modalState: {}
13
+ },
14
+ setup(r) {
15
+ const n = m(null), d = k(), { activate: w, deactivate: v } = O(n, {
16
+ allowOutsideClick: !0,
17
+ fallbackFocus: `#${d}`
18
+ }), c = (e) => e.key === "Escape" && r.modalState.hide(), p = () => {
19
+ window.removeEventListener("keydown", c), document.documentElement.style.removeProperty("overflow"), v();
20
+ };
21
+ h(
22
+ () => r.modalState.open,
23
+ (e) => {
24
+ e ? (window.addEventListener("keydown", c), document.documentElement.style.overflow = "hidden", w({ checkCanFocusTrap: () => E() })) : p();
25
+ }
26
+ ), b(() => x()), y(() => {
27
+ p();
28
+ });
29
+ const s = m(!0);
30
+ return (e, t) => u((C(), T("div", _, [
31
+ o("div", L, [
32
+ o("div", {
33
+ id: i(d),
34
+ ref_key: "client",
35
+ ref: n,
36
+ "aria-label": "API Client",
37
+ "aria-modal": "true",
38
+ class: "scalar-app-layout scalar-client flex",
39
+ role: "dialog",
40
+ tabindex: "-1"
41
+ }, [
42
+ l(i(F), null, {
43
+ default: g(() => [
44
+ o("main", W, [
45
+ u(l(i(U), {
46
+ isSidebarOpen: s.value,
47
+ "onUpdate:isSidebarOpen": t[0] || (t[0] = (a) => s.value = a),
48
+ documents: e.workspaceStore.workspace.documents,
49
+ layout: "modal",
50
+ sidebarWidth: e.workspaceStore.workspace["x-scalar-sidebar-width"] ?? 288,
51
+ "onUpdate:sidebarWidth": t[1] || (t[1] = (a) => e.workspaceStore.update("x-scalar-sidebar-width", a))
52
+ }, null, 8, ["isSidebarOpen", "documents", "sidebarWidth"]), [
53
+ [f, s.value]
54
+ ]),
55
+ l(B, {
56
+ documentSlug: e.activeEntities.documentSlug,
57
+ example: e.activeEntities.example,
58
+ layout: "modal",
59
+ method: e.activeEntities.method,
60
+ path: e.activeEntities.path,
61
+ workspaceStore: e.workspaceStore,
62
+ workspaceSlug: "default"
63
+ }, null, 8, ["documentSlug", "example", "method", "path", "workspaceStore"])
64
+ ])
65
+ ]),
66
+ _: 1
67
+ })
68
+ ], 8, M),
69
+ o("div", {
70
+ class: "scalar-app-exit",
71
+ onClick: t[2] || (t[2] = (a) => e.modalState.hide())
72
+ })
73
+ ])
74
+ ], 512)), [
75
+ [f, e.modalState.open]
76
+ ]);
77
+ }
78
+ });
79
+ export {
80
+ A as default
81
+ };
@@ -0,0 +1,53 @@
1
+ import type { WorkspaceStore } from '@scalar/workspace-store/client';
2
+ export type CreateApiClientModalOptions = {
3
+ /** Element to mount the client modal to */
4
+ el: HTMLElement | null;
5
+ /**
6
+ * Will attempt to mount the references immediately
7
+ * For SSR this may need to be disabled and handled manually on the client side
8
+ */
9
+ mountOnInitialize?: boolean;
10
+ /** The workspace store must be initialized and passed in */
11
+ workspaceStore: WorkspaceStore;
12
+ };
13
+ /** Payload for routing and opening the API client modal */
14
+ type RoutePayload = {
15
+ path: string;
16
+ method: string;
17
+ example?: string;
18
+ documentSlug?: string;
19
+ };
20
+ export type ActiveEntities = Required<RoutePayload>;
21
+ /**
22
+ * Create the API Client Modal
23
+ *
24
+ * The new API Client Modal doesn't require a router, instead we can "route" by setting the active entities directly
25
+ */
26
+ export declare const createApiClientModal: ({ el, workspaceStore, mountOnInitialize }: CreateApiClientModalOptions) => {
27
+ /** The vue app instance for the modal, be careful with this */
28
+ app: import("vue").App<Element>;
29
+ /** Open the API client modal and optionally route to an example */
30
+ open: (payload?: RoutePayload) => void;
31
+ /** Mount the client to a given element */
32
+ mount: (mountingEl?: HTMLElement | null) => void;
33
+ /** "Route" to the specified path, method and example */
34
+ route: (payload: RoutePayload) => {
35
+ path: string;
36
+ method: string;
37
+ example: string;
38
+ documentSlug: string;
39
+ } & {
40
+ path: string;
41
+ method: string;
42
+ example: string;
43
+ documentSlug: string;
44
+ } & RoutePayload;
45
+ /** Controls the visibility of the modal */
46
+ modalState: {
47
+ open: boolean;
48
+ show: () => void;
49
+ hide: () => void;
50
+ };
51
+ };
52
+ export {};
53
+ //# sourceMappingURL=create-api-client-modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-api-client-modal.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/modal/helpers/create-api-client-modal.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAKpE,MAAM,MAAM,2BAA2B,GAAG;IACxC,2CAA2C;IAC3C,EAAE,EAAE,WAAW,GAAG,IAAI,CAAA;IACtB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,4DAA4D;IAC5D,cAAc,EAAE,cAAc,CAAA;CAC/B,CAAA;AAED,2DAA2D;AAC3D,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,2CAAkD,2BAA2B;IA6C9G,+DAA+D;;IAE/D,mEAAmE;qBAClD,YAAY;IAM7B,0CAA0C;;IAE1C,wDAAwD;qBAdlC,YAAY;;;;;;;;;;;IAgBlC,2CAA2C;;;;;;CAG9C,CAAA"}
@@ -0,0 +1,46 @@
1
+ import { useModal as d } from "@scalar/components";
2
+ import { reactive as p, createApp as u } from "vue";
3
+ import m from "../Modal.vue.js";
4
+ const M = ({ el: l, workspaceStore: o, mountOnInitialize: s = !0 }) => {
5
+ const c = {
6
+ path: "default",
7
+ method: "default",
8
+ example: "default",
9
+ documentSlug: o.workspace["x-scalar-active-document"] || "default"
10
+ }, r = p(c), t = d(), a = u(m, {
11
+ workspaceStore: o,
12
+ activeEntities: r,
13
+ modalState: t
14
+ });
15
+ a.config.idPrefix = "scalar-client";
16
+ const i = (e = l) => {
17
+ if (!e) {
18
+ console.error(
19
+ "[@scalar/api-client] Could not create the API client Modal.",
20
+ "Invalid HTML element provided.",
21
+ "Read more: https://github.com/scalar/scalar/tree/main/packages/api-client"
22
+ );
23
+ return;
24
+ }
25
+ a.mount(e);
26
+ };
27
+ s && i();
28
+ const n = (e) => Object.assign(r, c, e);
29
+ return {
30
+ /** The vue app instance for the modal, be careful with this */
31
+ app: a,
32
+ /** Open the API client modal and optionally route to an example */
33
+ open: (e) => {
34
+ t.open = !0, e && n(e);
35
+ },
36
+ /** Mount the client to a given element */
37
+ mount: i,
38
+ /** "Route" to the specified path, method and example */
39
+ route: n,
40
+ /** Controls the visibility of the modal */
41
+ modalState: t
42
+ };
43
+ };
44
+ export {
45
+ M as createApiClientModal
46
+ };
@@ -0,0 +1,2 @@
1
+ export { createApiClientModal } from './helpers/create-api-client-modal.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { createApiClientModal as r } from "./helpers/create-api-client-modal.js";
2
+ export {
3
+ r as createApiClientModal
4
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Operation.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Operation.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,79 @@
1
+ import type { HttpMethod as HttpMethodType } from '@scalar/helpers/http/http-methods';
2
+ import type { Environment } from '@scalar/oas-utils/entities/environment';
3
+ import type { ResponseInstance } from '@scalar/oas-utils/entities/spec';
4
+ import type { OpenApiDocument } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
5
+ import type { OperationObject } from '@scalar/workspace-store/schemas/v3.1/strict/operation';
6
+ import type { ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/server';
7
+ import type { ClientLayout } from '../../../hooks/index.js';
8
+ import type { EnvVariable } from '../../../store/index.js';
9
+ import { createStoreEvents } from '../../../store/events.js';
10
+ import { type History } from '../../../v2/blocks/scalar-address-bar-block/index.js';
11
+ import type { ClientPlugin } from '../../../v2/plugins';
12
+ type __VLS_Props = {
13
+ /** Application version */
14
+ appVersion: string;
15
+ /** Current request path */
16
+ path: string;
17
+ /** Current request method */
18
+ method: HttpMethodType;
19
+ /** Client layout */
20
+ layout: ClientLayout;
21
+ /** Currently selected server */
22
+ server: ServerObject | undefined;
23
+ /** Server list available for operation/document */
24
+ servers: ServerObject[];
25
+ /** List of request history */
26
+ history: History[];
27
+ /**
28
+ * When the request is sent from the modal, this indicates the progress percentage
29
+ * of the request being sent.
30
+ *
31
+ * The amount remaining to load from 100 -> 0
32
+ */
33
+ requestLoadingPercentage?: number;
34
+ /** Preprocessed response */
35
+ response?: ResponseInstance;
36
+ /** Original request instance */
37
+ request?: Request;
38
+ /** Total number of performed requests */
39
+ totalPerformedRequests: number;
40
+ /** Sidebar open state */
41
+ isSidebarOpen?: boolean;
42
+ /** Controls sidebar visibility */
43
+ showSidebar?: boolean;
44
+ /** Hides the client button on the header */
45
+ hideClientButton?: boolean;
46
+ /** Client integration */
47
+ integration?: string | null;
48
+ /** Openapi document url for `modal` mode to open the client app */
49
+ documentUrl?: string;
50
+ /** Client source */
51
+ source?: 'gitbook' | 'api-reference';
52
+ /** Operation object */
53
+ operation: OperationObject;
54
+ /** Currently selected example key for the current operation */
55
+ exampleKey: string;
56
+ /** Currently selected content type for the current operation example */
57
+ selectedContentType?: string;
58
+ /** Document defined security schemes */
59
+ securitySchemes: NonNullable<OpenApiDocument['components']>['securitySchemes'];
60
+ /** Currently selected security for the current operation */
61
+ selectedSecurity: OpenApiDocument['x-scalar-selected-security'];
62
+ /** Required security for the operation/document */
63
+ security: OpenApiDocument['security'];
64
+ /** Event bus */
65
+ events: ReturnType<typeof createStoreEvents>;
66
+ plugins?: ClientPlugin[];
67
+ /** TODO: to be removed once we fully migrate to the new store */
68
+ environment: Environment;
69
+ envVariables: EnvVariable[];
70
+ };
71
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
+ [x: string]: any;
73
+ } & {
74
+ [x: string]: any;
75
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
76
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
77
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
78
+ export default _default;
79
+ //# sourceMappingURL=Operation.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"AA8QA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AACrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AACvE,OAAO,KAAK,EACV,eAAe,EAGhB,MAAM,8DAA8D,CAAA;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAA;AAItF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sCAAsC,CAAA;AAInE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAIhD,KAAK,WAAW,GAAG;IACjB,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAA;IAElB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,MAAM,EAAE,cAAc,CAAA;IACtB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IAEpB,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,mDAAmD;IACnD,OAAO,EAAE,YAAY,EAAE,CAAA;IAEvB,8BAA8B;IAC9B,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yCAAyC;IACzC,sBAAsB,EAAE,MAAM,CAAA;IAC9B,yBAAyB;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,kCAAkC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mEAAmE;IACnE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oBAAoB;IACpB,MAAM,CAAC,EAAE,SAAS,GAAG,eAAe,CAAA;IAEpC,uBAAuB;IACvB,SAAS,EAAE,eAAe,CAAA;IAC1B,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAA;IAClB,wEAAwE;IACxE,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B,wCAAwC;IACxC,eAAe,EAAE,WAAW,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAA;IAC9E,4DAA4D;IAC5D,gBAAgB,EAAE,eAAe,CAAC,4BAA4B,CAAC,CAAA;IAC/D,mDAAmD;IACnD,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAA;IACrC,gBAAgB;IAChB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;IAE5C,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB,iEAAiE;IACjE,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;;;;;;;;AAsYF,wBAOG"}
@@ -0,0 +1,124 @@
1
+ import { defineComponent as u, createElementBlock as p, openBlock as l, createElementVNode as i, createVNode as o, withCtx as d, unref as a } from "vue";
2
+ import m from "../../../components/ViewLayout/ViewLayout.vue.js";
3
+ import y from "../../../components/ViewLayout/ViewLayoutContent.vue.js";
4
+ import v from "./components/Header.vue.js";
5
+ import B from "../../blocks/scalar-operation-block/components/OperationBlock.vue.js";
6
+ import f from "../../blocks/scalar-response-block/components/ResponseBlock.vue.js";
7
+ const q = { class: "bg-b-1 flex h-full flex-col" }, S = { class: "lg:min-h-header flex w-full flex-wrap items-center justify-center border-b p-2 lg:p-1" }, P = /* @__PURE__ */ u({
8
+ __name: "Operation",
9
+ props: {
10
+ appVersion: {},
11
+ path: {},
12
+ method: {},
13
+ layout: {},
14
+ server: {},
15
+ servers: {},
16
+ history: {},
17
+ requestLoadingPercentage: {},
18
+ response: {},
19
+ request: {},
20
+ totalPerformedRequests: {},
21
+ isSidebarOpen: { type: Boolean },
22
+ showSidebar: { type: Boolean },
23
+ hideClientButton: { type: Boolean },
24
+ integration: {},
25
+ documentUrl: {},
26
+ source: {},
27
+ operation: {},
28
+ exampleKey: {},
29
+ selectedContentType: {},
30
+ securitySchemes: {},
31
+ selectedSecurity: {},
32
+ security: {},
33
+ events: {},
34
+ plugins: {},
35
+ environment: {},
36
+ envVariables: {}
37
+ },
38
+ emits: ["addressBar:importCurl", "addressBar:update:method", "addressBar:update:path", "addressBar:execute", "addressBar:update:selectedServer", "addressBar:update:variable", "addressBar:add:server", "operation:update:requestName", "addressBar:hideModal", "auth:delete", "auth:update:securityScheme", "auth:update:selectedScopes", "auth:update:selectedSecurity", "parameters:add", "parameters:update", "parameters:delete", "parameters:deleteAll", "requestBody:update:contentType", "requestBody:update:value", "requestBody:add:formRow", "requestBody:update:formRow", "response:addRequest", "response:sendRequest", "response:openCommandPalette"],
39
+ setup(b, { emit: n }) {
40
+ const s = n;
41
+ return (r, e) => (l(), p("div", q, [
42
+ i("div", S, [
43
+ o(v, {
44
+ envVariables: r.envVariables,
45
+ environment: r.environment,
46
+ events: r.events,
47
+ history: r.history,
48
+ layout: r.layout,
49
+ method: r.method,
50
+ path: r.path,
51
+ percentage: r.requestLoadingPercentage,
52
+ server: r.server,
53
+ servers: r.servers,
54
+ isSidebarOpen: r.isSidebarOpen,
55
+ showSidebar: r.showSidebar,
56
+ hideClientButton: r.hideClientButton,
57
+ integration: r.integration,
58
+ documentUrl: r.documentUrl,
59
+ source: r.source,
60
+ "onAdd:server": e[0] || (e[0] = (t) => s("addressBar:add:server")),
61
+ onExecute: e[1] || (e[1] = (t) => s("addressBar:execute")),
62
+ onImportCurl: e[2] || (e[2] = (t) => s("addressBar:importCurl", t)),
63
+ "onUpdate:method": e[3] || (e[3] = (t) => s("addressBar:update:method", t)),
64
+ "onUpdate:path": e[4] || (e[4] = (t) => s("addressBar:update:path", t)),
65
+ "onUpdate:selectedServer": e[5] || (e[5] = (t) => s("addressBar:update:selectedServer", t)),
66
+ "onUpdate:variable": e[6] || (e[6] = (t) => s("addressBar:update:variable", t)),
67
+ "onAddressBar:hideModal": e[7] || (e[7] = (t) => s("addressBar:hideModal"))
68
+ }, null, 8, ["envVariables", "environment", "events", "history", "layout", "method", "path", "percentage", "server", "servers", "isSidebarOpen", "showSidebar", "hideClientButton", "integration", "documentUrl", "source"])
69
+ ]),
70
+ o(m, null, {
71
+ default: d(() => [
72
+ o(y, { class: "flex flex-1" }, {
73
+ default: d(() => [
74
+ o(a(B), {
75
+ envVariables: r.envVariables,
76
+ environment: r.environment,
77
+ exampleKey: r.exampleKey,
78
+ layout: r.layout,
79
+ method: r.method,
80
+ operation: r.operation,
81
+ path: r.path,
82
+ security: r.security,
83
+ securitySchemes: r.securitySchemes,
84
+ selectedContentType: r.selectedContentType,
85
+ selectedSecurity: r.selectedSecurity,
86
+ "onAuth:delete": e[8] || (e[8] = (t) => s("auth:delete", t)),
87
+ "onAuth:update:securityScheme": e[9] || (e[9] = (t) => s("auth:update:securityScheme", t)),
88
+ "onAuth:update:selectedScopes": e[10] || (e[10] = (t) => s("auth:update:selectedScopes", t)),
89
+ "onAuth:update:selectedSecurity": e[11] || (e[11] = (t) => s("auth:update:selectedSecurity", t)),
90
+ "onOperation:update:requestName": e[12] || (e[12] = (t) => s("operation:update:requestName", t)),
91
+ "onParameters:add": e[13] || (e[13] = (t) => s("parameters:add", t)),
92
+ "onParameters:delete": e[14] || (e[14] = (t) => s("parameters:delete", t)),
93
+ "onParameters:deleteAll": e[15] || (e[15] = (t) => s("parameters:deleteAll", t)),
94
+ "onParameters:update": e[16] || (e[16] = (t) => s("parameters:update", t)),
95
+ "onRequestBody:add:formRow": e[17] || (e[17] = (t) => s("requestBody:add:formRow", t)),
96
+ "onRequestBody:update:contentType": e[18] || (e[18] = (t) => s("requestBody:update:contentType", t)),
97
+ "onRequestBody:update:formRow": e[19] || (e[19] = (t) => s("requestBody:update:formRow", t)),
98
+ "onRequestBody:update:value": e[20] || (e[20] = (t) => s("requestBody:update:value", t)),
99
+ plugins: r.plugins
100
+ }, null, 8, ["envVariables", "environment", "exampleKey", "layout", "method", "operation", "path", "security", "securitySchemes", "selectedContentType", "selectedSecurity", "plugins"]),
101
+ o(a(f), {
102
+ appVersion: r.appVersion,
103
+ events: r.events,
104
+ layout: r.layout,
105
+ request: r.request,
106
+ response: r.response,
107
+ plugins: r.plugins,
108
+ totalPerformedRequests: r.totalPerformedRequests,
109
+ onAddRequest: e[21] || (e[21] = (t) => s("response:addRequest")),
110
+ onOpenCommandPalette: e[22] || (e[22] = (t) => s("response:openCommandPalette")),
111
+ onSendRequest: e[23] || (e[23] = (t) => s("response:sendRequest"))
112
+ }, null, 8, ["appVersion", "events", "layout", "request", "response", "plugins", "totalPerformedRequests"])
113
+ ]),
114
+ _: 1
115
+ })
116
+ ]),
117
+ _: 1
118
+ })
119
+ ]));
120
+ }
121
+ });
122
+ export {
123
+ P as default
124
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./Operation.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Header.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.test.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/operation/components/Header.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,85 @@
1
+ import type { HttpMethod } from '@scalar/helpers/http/http-methods';
2
+ import type { Environment } from '@scalar/oas-utils/entities/environment';
3
+ import type { ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/server';
4
+ import type { ClientLayout } from '../../../../hooks/index.js';
5
+ import type { EnvVariable } from '../../../../store/index.js';
6
+ import type { createStoreEvents } from '../../../../store/events.js';
7
+ import { type History } from '../../../../v2/blocks/scalar-address-bar-block/index.js';
8
+ type __VLS_Props = {
9
+ /** Current request path */
10
+ path: string;
11
+ /** Current request method */
12
+ method: HttpMethod;
13
+ /** Client layout */
14
+ layout: ClientLayout;
15
+ /** Sidebar open state */
16
+ isSidebarOpen?: boolean;
17
+ /** Controls sidebar visibility */
18
+ showSidebar?: boolean;
19
+ /** Hides the client button on the header */
20
+ hideClientButton?: boolean;
21
+ /** Client integration */
22
+ integration?: string | null;
23
+ /** Openapi document url for `modal` mode to open the client app */
24
+ documentUrl?: string;
25
+ /** Client source */
26
+ source?: 'gitbook' | 'api-reference';
27
+ /** Currently selected server */
28
+ server: ServerObject | undefined;
29
+ /** Server list available for operation/document */
30
+ servers: ServerObject[];
31
+ /** List of request history */
32
+ history: History[];
33
+ /**
34
+ * When the request is sent from the modal, this indicates the progress percentage
35
+ * of the request being sent.
36
+ *
37
+ * The amount remaining to load from 100 -> 0
38
+ */
39
+ requestLoadingPercentage?: number;
40
+ /**
41
+ /** Event bus */
42
+ events: ReturnType<typeof createStoreEvents>;
43
+ /** TODO: to be removed once we fully migrate to the new store */
44
+ environment: Environment;
45
+ envVariables: EnvVariable[];
46
+ };
47
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
48
+ importCurl: (value: string) => any;
49
+ "update:variable": (payload: {
50
+ key: string;
51
+ value: string;
52
+ }) => any;
53
+ execute: () => any;
54
+ hideModal: () => any;
55
+ "update:selectedServer": (payload: {
56
+ id: string;
57
+ }) => any;
58
+ "update:method": (payload: {
59
+ method: HttpMethod;
60
+ }) => any;
61
+ "update:path": (payload: {
62
+ path: string;
63
+ }) => any;
64
+ "add:server": () => any;
65
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
66
+ onImportCurl?: ((value: string) => any) | undefined;
67
+ "onUpdate:variable"?: ((payload: {
68
+ key: string;
69
+ value: string;
70
+ }) => any) | undefined;
71
+ onExecute?: (() => any) | undefined;
72
+ onHideModal?: (() => any) | undefined;
73
+ "onUpdate:selectedServer"?: ((payload: {
74
+ id: string;
75
+ }) => any) | undefined;
76
+ "onUpdate:method"?: ((payload: {
77
+ method: HttpMethod;
78
+ }) => any) | undefined;
79
+ "onUpdate:path"?: ((payload: {
80
+ path: string;
81
+ }) => any) | undefined;
82
+ "onAdd:server"?: (() => any) | undefined;
83
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
84
+ export default _default;
85
+ //# sourceMappingURL=Header.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/operation/components/Header.vue"],"names":[],"mappings":"AAuKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAA;AAGtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAc,KAAK,OAAO,EAAE,MAAM,sCAAsC,CAAA;AAE/E,KAAK,WAAW,GAAG;IACjB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,MAAM,EAAE,UAAU,CAAA;IAClB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IAEpB,yBAAyB;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,kCAAkC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mEAAmE;IACnE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oBAAoB;IACpB,MAAM,CAAC,EAAE,SAAS,GAAG,eAAe,CAAA;IAEpC,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,mDAAmD;IACnD,OAAO,EAAE,YAAY,EAAE,CAAA;IAEvB,8BAA8B;IAC9B,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC;oBACgB;IAChB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;IAE5C,iEAAiE;IACjE,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;;;;aAUuC,MAAM;eAAS,MAAM;;;;;YADhB,MAAM;;;gBAHV,UAAU;;;cACd,MAAM;;;;;;aAGH,MAAM;eAAS,MAAM;;;;;YADhB,MAAM;;;gBAHV,UAAU;;;cACd,MAAM;;;;AA2P5C,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import o from "./Header.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-95d6e6fc"]]);
5
+ export {
6
+ f as default
7
+ };