@scalar/api-client 2.25.0 → 2.26.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 (554) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts +2 -1
  3. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  4. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -1
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/CodeInput/CodeInput.vue.d.ts +3 -2
  7. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  8. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +5 -4
  9. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  10. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -1
  11. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
  12. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -1
  13. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  14. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -1
  15. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  16. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -1
  17. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  18. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts +2 -1
  19. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts.map +1 -1
  20. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +2 -1
  21. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  22. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +2 -1
  23. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +2 -1
  25. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
  26. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +2 -1
  27. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  28. package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +2 -1
  29. package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +1 -1
  30. package/dist/components/DataTable/DataTable.vue.d.ts +3 -2
  31. package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
  32. package/dist/components/DataTable/DataTableCell.vue.d.ts +5 -4
  33. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  34. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +2 -1
  35. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
  36. package/dist/components/DataTable/DataTableCheckbox.vue.js +8 -8
  37. package/dist/components/DataTable/DataTableHeader.vue.d.ts +5 -4
  38. package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +1 -1
  39. package/dist/components/DataTable/DataTableInput.vue.d.ts +7 -6
  40. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  41. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +2 -1
  42. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  43. package/dist/components/DataTable/DataTableRow.vue.d.ts +3 -2
  44. package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
  45. package/dist/components/DataTable/DataTableText.vue.d.ts +5 -4
  46. package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
  47. package/dist/components/EmptyState.vue.d.ts +2 -1
  48. package/dist/components/EmptyState.vue.d.ts.map +1 -1
  49. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +2 -1
  50. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  51. package/dist/components/Form/Form.vue.d.ts +5 -4
  52. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  53. package/dist/components/Form/LabelInput.vue.d.ts +2 -1
  54. package/dist/components/Form/LabelInput.vue.d.ts.map +1 -1
  55. package/dist/components/HelpfulLink.vue.d.ts +3 -2
  56. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  57. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -1
  58. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  59. package/dist/components/IconSelector.vue.d.ts +6 -5
  60. package/dist/components/IconSelector.vue.d.ts.map +1 -1
  61. package/dist/components/ImportCollection/DropEventListener.vue.d.ts +2 -1
  62. package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
  63. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +3 -2
  64. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
  65. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +2 -1
  66. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  67. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +2 -1
  68. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  69. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +2 -1
  70. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  71. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +2 -1
  72. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
  73. package/dist/components/ImportCollection/PrefetchError.vue.d.ts +2 -1
  74. package/dist/components/ImportCollection/PrefetchError.vue.d.ts.map +1 -1
  75. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +2 -1
  76. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
  77. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts +2 -1
  78. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  79. package/dist/components/OpenApiClientButton.vue.d.ts +2 -1
  80. package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
  81. package/dist/components/ScalarAsciiArt.vue.d.ts +2 -1
  82. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  83. package/dist/components/SectionFilter.vue.d.ts +14 -9
  84. package/dist/components/SectionFilter.vue.d.ts.map +1 -1
  85. package/dist/components/SectionFilterButton.vue.d.ts +3 -2
  86. package/dist/components/SectionFilterButton.vue.d.ts.map +1 -1
  87. package/dist/components/Server/ServerDropdown.vue.d.ts +2 -1
  88. package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
  89. package/dist/components/Server/ServerDropdownItem.vue.d.ts +2 -1
  90. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  91. package/dist/components/Server/ServerSelector.vue.d.ts +2 -1
  92. package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
  93. package/dist/components/Server/ServerVariablesForm.vue.d.ts +2 -1
  94. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
  95. package/dist/components/Server/ServerVariablesSelect.vue.d.ts +2 -1
  96. package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
  97. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +2 -1
  98. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
  99. package/dist/components/SideNav/DownloadAppButton.vue.d.ts +2 -1
  100. package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -1
  101. package/dist/components/SideNav/SideHelp.vue.d.ts +2 -1
  102. package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
  103. package/dist/components/SideNav/SideNav.vue.d.ts +2 -1
  104. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  105. package/dist/components/SideNav/SideNavGroup.vue.d.ts +3 -2
  106. package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -1
  107. package/dist/components/SideNav/SideNavLink.vue.d.ts +6 -5
  108. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  109. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +5 -4
  110. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
  111. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -1
  112. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  113. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +2 -1
  114. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
  115. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +2 -1
  116. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
  117. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +3 -2
  118. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  119. package/dist/components/Sidebar/Sidebar.vue.d.ts +3 -2
  120. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  121. package/dist/components/Sidebar/SidebarButton.vue.d.ts +3 -2
  122. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  123. package/dist/components/Sidebar/SidebarList.vue.d.ts +3 -2
  124. package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
  125. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +2 -1
  126. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  127. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  128. package/dist/components/Sidebar/SidebarListElement.vue2.js +1 -1
  129. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +2 -1
  130. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  131. package/dist/components/Sidebar/SidebarToggle.vue.d.ts +2 -1
  132. package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
  133. package/dist/components/TopNav/TopNav.vue.d.ts +2 -1
  134. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  135. package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -1
  136. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  137. package/dist/components/ViewLayout/ViewLayout.vue.d.ts +3 -2
  138. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  139. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +9 -8
  140. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  141. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts +3 -2
  142. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
  143. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +3 -2
  144. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  145. package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -1
  146. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  147. package/dist/layouts/App/MainLayout.vue.d.ts +5 -4
  148. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  149. package/dist/layouts/Modal/ApiClientModal.vue.d.ts +2 -1
  150. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  151. package/dist/layouts/Modal/ApiClientModal.vue.js +28 -5
  152. package/dist/layouts/Modal/ApiClientModal.vue2.js +2 -53
  153. package/dist/layouts/Modal/create-api-client-modal.js +8 -8
  154. package/dist/layouts/Web/ApiClientWeb.vue.d.ts +2 -1
  155. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  156. package/dist/style.css +1 -1
  157. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +3 -2
  158. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  159. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -1
  160. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  161. package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
  162. package/dist/v2/blocks/operation-block/helpers/build-request-body.js +28 -19
  163. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts +4 -2
  164. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
  165. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts +5 -4
  166. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts.map +1 -1
  167. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +16 -3
  168. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
  169. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
  170. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +87 -79
  171. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +2 -1
  172. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  173. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +2 -1
  174. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  175. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts +2 -1
  176. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts.map +1 -1
  177. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts +2 -1
  178. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
  179. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js +18 -18
  180. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -1
  181. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -1
  182. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -1
  183. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
  184. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -1
  185. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  186. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts +2 -1
  187. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -1
  188. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  189. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts +2 -1
  190. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -1
  191. package/dist/v2/blocks/response-block/components/Headers.vue.d.ts +5 -4
  192. package/dist/v2/blocks/response-block/components/Headers.vue.d.ts.map +1 -1
  193. package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts +2 -1
  194. package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -1
  195. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts +2 -1
  196. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts.map +1 -1
  197. package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts +3 -2
  198. package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts.map +1 -1
  199. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +2 -1
  200. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
  201. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts +2 -1
  202. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -1
  203. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +2 -2
  204. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue2.js +19 -19
  205. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts +2 -1
  206. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -1
  207. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts +2 -1
  208. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -1
  209. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts +2 -1
  210. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -1
  211. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts +2 -1
  212. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts.map +1 -1
  213. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +2 -1
  214. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
  215. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts +2 -1
  216. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  217. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts +2 -1
  218. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -1
  219. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -1
  220. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  221. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts +2 -1
  222. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts.map +1 -1
  223. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts +2 -1
  224. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts.map +1 -1
  225. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +2 -1
  226. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  227. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +26 -26
  228. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -1
  229. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  230. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +2 -1
  231. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  232. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +2 -1
  233. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
  234. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +2 -1
  235. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
  236. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +2 -1
  237. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  238. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +8 -6
  239. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  240. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +2 -1
  241. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  242. package/dist/v2/components/callout/Callout.vue.d.ts +18 -0
  243. package/dist/v2/components/callout/Callout.vue.d.ts.map +1 -0
  244. package/dist/v2/components/callout/Callout.vue.js +7 -0
  245. package/dist/v2/components/callout/Callout.vue2.js +43 -0
  246. package/dist/v2/components/code-input/CodeInput.vue.d.ts +3 -2
  247. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
  248. package/dist/v2/components/data-table/DataTable.vue.d.ts +3 -2
  249. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -1
  250. package/dist/v2/components/data-table/DataTableCell.vue.d.ts +5 -4
  251. package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -1
  252. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +2 -1
  253. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -1
  254. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +8 -8
  255. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +5 -4
  256. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -1
  257. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +7 -6
  258. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
  259. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +2 -1
  260. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -1
  261. package/dist/v2/components/data-table/DataTableRow.vue.d.ts +3 -2
  262. package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -1
  263. package/dist/v2/components/data-table/DataTableText.vue.d.ts +5 -4
  264. package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -1
  265. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +3 -2
  266. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts.map +1 -1
  267. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts +3 -2
  268. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts.map +1 -1
  269. package/dist/v2/components/layout/ValueEmitter.vue.d.ts +15 -10
  270. package/dist/v2/components/layout/ValueEmitter.vue.d.ts.map +1 -1
  271. package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -1
  272. package/dist/v2/components/modals/DeleteModal.vue.d.ts.map +1 -1
  273. package/dist/v2/components/modals/ModalClientContainer.spec.d.ts +2 -0
  274. package/dist/v2/components/modals/ModalClientContainer.spec.d.ts.map +1 -0
  275. package/dist/v2/components/modals/ModalClientContainer.vue.d.ts +24 -0
  276. package/dist/v2/components/modals/ModalClientContainer.vue.d.ts.map +1 -0
  277. package/dist/v2/components/modals/ModalClientContainer.vue.js +7 -0
  278. package/dist/v2/components/modals/ModalClientContainer.vue2.js +57 -0
  279. package/dist/v2/components/resize/Resize.vue.d.ts +3 -2
  280. package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -1
  281. package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -1
  282. package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
  283. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts +2 -1
  284. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts.map +1 -1
  285. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +5 -3
  286. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  287. package/dist/v2/components/sidebar/Sidebar.vue.js +40 -41
  288. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +3 -2
  289. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
  290. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +4 -3
  291. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -1
  292. package/dist/v2/features/app/App.vue.d.ts +5 -4
  293. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  294. package/dist/v2/features/app/App.vue.js +84 -89
  295. package/dist/v2/features/app/app-events.d.ts +1 -1
  296. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  297. package/dist/v2/features/app/app-events.js +10 -10
  298. package/dist/v2/features/app/app-state.d.ts +36 -87
  299. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  300. package/dist/v2/features/app/app-state.js +339 -330
  301. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +5 -3
  302. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  303. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +2 -1
  304. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +1 -1
  305. package/dist/v2/features/app/components/DesktopTab.vue.d.ts +2 -1
  306. package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +1 -1
  307. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +2 -1
  308. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
  309. package/dist/v2/features/app/components/DesktopTabs.vue.js +1 -1
  310. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +2 -1
  311. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -1
  312. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +2 -1
  313. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +1 -1
  314. package/dist/v2/features/app/components/SplashScreen.vue.d.ts +2 -1
  315. package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +1 -1
  316. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +2 -2
  317. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  318. package/dist/v2/features/app/helpers/create-api-client-app.js +9 -9
  319. package/dist/v2/features/app/helpers/get-route-param.d.ts +7 -0
  320. package/dist/v2/features/app/helpers/get-route-param.d.ts.map +1 -0
  321. package/dist/v2/features/app/helpers/get-route-param.js +9 -0
  322. package/dist/v2/features/app/index.d.ts +1 -1
  323. package/dist/v2/features/app/index.d.ts.map +1 -1
  324. package/dist/v2/features/app/index.js +12 -12
  325. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +2 -1
  326. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  327. package/dist/v2/features/collection/DocumentCollection.vue.js +72 -65
  328. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +2 -1
  329. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
  330. package/dist/v2/features/collection/components/Authentication.vue.d.ts +2 -1
  331. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  332. package/dist/v2/features/collection/components/Cookies.vue.d.ts +2 -1
  333. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
  334. package/dist/v2/features/collection/components/Environment.vue.d.ts +2 -1
  335. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  336. package/dist/v2/features/collection/components/Form.vue.d.ts +5 -4
  337. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
  338. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +4 -3
  339. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
  340. package/dist/v2/features/collection/components/Overview.vue.d.ts +2 -1
  341. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
  342. package/dist/v2/features/collection/components/Servers.vue.d.ts +2 -1
  343. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  344. package/dist/v2/features/collection/components/Settings.vue.d.ts +2 -1
  345. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
  346. package/dist/v2/features/collection/components/Tabs.vue.d.ts +2 -1
  347. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -1
  348. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +3 -2
  349. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +1 -1
  350. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +3 -2
  351. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts.map +1 -1
  352. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +3 -2
  353. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts.map +1 -1
  354. package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts +3 -2
  355. package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts.map +1 -1
  356. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +3 -2
  357. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +1 -1
  358. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +31 -3
  359. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
  360. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +110 -106
  361. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +3 -2
  362. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +1 -1
  363. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +3 -2
  364. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +1 -1
  365. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +3 -2
  366. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +1 -1
  367. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +3 -2
  368. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +1 -1
  369. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts +5 -1
  370. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +1 -1
  371. package/dist/v2/features/command-palette/helpers/load-document-from-source.js +41 -23
  372. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +41 -8
  373. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
  374. package/dist/v2/features/command-palette/index.d.ts +1 -2
  375. package/dist/v2/features/command-palette/index.d.ts.map +1 -1
  376. package/dist/v2/features/command-palette/index.js +4 -6
  377. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +2 -1
  378. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
  379. package/dist/v2/features/environments/components/Environment.vue.d.ts +2 -1
  380. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
  381. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +2 -1
  382. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
  383. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +2 -1
  384. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -1
  385. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -1
  386. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -1
  387. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +2 -1
  388. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -1
  389. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +2 -1
  390. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
  391. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +2 -1
  392. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
  393. package/dist/v2/features/modal/Modal.vue.d.ts +3 -2
  394. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  395. package/dist/v2/features/modal/Modal.vue.js +120 -5
  396. package/dist/v2/features/modal/Modal.vue2.js +2 -147
  397. package/dist/v2/features/modal/helpers/create-api-client-modal.js +12 -12
  398. package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
  399. package/dist/v2/features/modal/modal-events.js +33 -20
  400. package/dist/v2/features/operation/Operation.vue.d.ts +3 -2
  401. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  402. package/dist/v2/features/operation/Operation.vue.js +1 -1
  403. package/dist/v2/features/settings/CollectionSettings.vue.d.ts +2 -1
  404. package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
  405. package/dist/v2/features/settings/DocumentSettings.vue.d.ts +2 -1
  406. package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
  407. package/dist/v2/features/settings/components/Appearance.vue.d.ts +2 -1
  408. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -1
  409. package/dist/v2/features/settings/components/Section.vue.d.ts +3 -2
  410. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
  411. package/dist/views/Collection/Collection.vue.d.ts +2 -1
  412. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  413. package/dist/views/Collection/CollectionAuthentication.vue.d.ts +2 -1
  414. package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
  415. package/dist/views/Collection/CollectionCookies.vue.d.ts +2 -1
  416. package/dist/views/Collection/CollectionCookies.vue.d.ts.map +1 -1
  417. package/dist/views/Collection/CollectionEnvironment.vue.d.ts +2 -1
  418. package/dist/views/Collection/CollectionEnvironment.vue.d.ts.map +1 -1
  419. package/dist/views/Collection/CollectionInfoForm.vue.d.ts +2 -1
  420. package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -1
  421. package/dist/views/Collection/CollectionNavigation.vue.d.ts +2 -1
  422. package/dist/views/Collection/CollectionNavigation.vue.d.ts.map +1 -1
  423. package/dist/views/Collection/CollectionOverview.vue.d.ts +2 -1
  424. package/dist/views/Collection/CollectionOverview.vue.d.ts.map +1 -1
  425. package/dist/views/Collection/CollectionScripts.vue.d.ts +2 -1
  426. package/dist/views/Collection/CollectionScripts.vue.d.ts.map +1 -1
  427. package/dist/views/Collection/CollectionServerForm.vue.d.ts +2 -1
  428. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  429. package/dist/views/Collection/CollectionServers.vue.d.ts +2 -1
  430. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  431. package/dist/views/Collection/CollectionSettings.vue.d.ts +2 -1
  432. package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
  433. package/dist/views/Collection/CollectionSync.vue.d.ts +2 -1
  434. package/dist/views/Collection/CollectionSync.vue.d.ts.map +1 -1
  435. package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +2 -1
  436. package/dist/views/Collection/components/EnvironmentForm.vue.d.ts.map +1 -1
  437. package/dist/views/Collection/components/MarkdownInput.vue.d.ts +2 -1
  438. package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -1
  439. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +2 -1
  440. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
  441. package/dist/views/Cookies/CookieForm.vue.d.ts +2 -1
  442. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  443. package/dist/views/Cookies/CookieModal.vue.d.ts +2 -1
  444. package/dist/views/Cookies/CookieModal.vue.d.ts.map +1 -1
  445. package/dist/views/Cookies/CookieRaw.vue.d.ts +2 -1
  446. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  447. package/dist/views/Cookies/Cookies.vue.d.ts +2 -1
  448. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  449. package/dist/views/Environment/Environment.vue.d.ts +2 -1
  450. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  451. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +2 -1
  452. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts.map +1 -1
  453. package/dist/views/Environment/EnvironmentColors.vue.d.ts +2 -1
  454. package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +1 -1
  455. package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -1
  456. package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
  457. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -1
  458. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  459. package/dist/views/Request/Request.vue.d.ts +2 -1
  460. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  461. package/dist/views/Request/RequestRoot.vue.d.ts +2 -1
  462. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  463. package/dist/views/Request/RequestRoot.vue.js +2 -2
  464. package/dist/views/Request/RequestRoot.vue2.js +10 -10
  465. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
  466. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  467. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +3 -2
  468. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  469. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +2 -1
  470. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  471. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +3 -2
  472. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  473. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +3 -2
  474. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  475. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -5
  476. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  477. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +3 -2
  478. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  479. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +2 -1
  480. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  481. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +2 -1
  482. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  483. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +2 -1
  484. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  485. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +2 -1
  486. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  487. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +2 -1
  488. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  489. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  490. package/dist/views/Request/RequestSection/RequestSection.vue2.js +33 -33
  491. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -1
  492. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  493. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +2 -1
  494. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  495. package/dist/views/Request/RequestSidebar.vue.d.ts +2 -1
  496. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  497. package/dist/views/Request/RequestSidebarItem.vue.d.ts +3 -2
  498. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  499. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  500. package/dist/views/Request/RequestSidebarItem.vue2.js +4 -4
  501. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +2 -1
  502. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  503. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +2 -1
  504. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  505. package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts +2 -1
  506. package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -1
  507. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +2 -1
  508. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  509. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +2 -1
  510. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
  511. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +3 -2
  512. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -1
  513. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +2 -1
  514. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
  515. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +2 -1
  516. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  517. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
  518. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +24 -23
  519. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts +2 -1
  520. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts.map +1 -1
  521. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +2 -1
  522. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
  523. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +2 -1
  524. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
  525. package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts +2 -1
  526. package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts.map +1 -1
  527. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +2 -1
  528. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  529. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  530. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +2 -1
  531. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  532. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts +2 -1
  533. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  534. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +2 -1
  535. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  536. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +2 -1
  537. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  538. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  539. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +25 -25
  540. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts +2 -1
  541. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  542. package/dist/views/Settings/Settings.vue.d.ts +2 -1
  543. package/dist/views/Settings/Settings.vue.d.ts.map +1 -1
  544. package/dist/views/Settings/SettingsGeneral.vue.d.ts +2 -1
  545. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  546. package/dist/views/Settings/components/SettingsAppearance.vue.d.ts +2 -1
  547. package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -1
  548. package/dist/views/Settings/components/SettingsSection.vue.d.ts +3 -2
  549. package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -1
  550. package/package.json +13 -13
  551. package/dist/v2/features/app/components/WebTopNav.vue.d.ts +0 -41
  552. package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +0 -1
  553. package/dist/v2/features/app/components/WebTopNav.vue.js +0 -27
  554. package/dist/v2/features/app/components/WebTopNav.vue2.js +0 -4
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteRequest.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteRequest.vue"],"names":[],"mappings":"AA8WA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAUvE;;;;;;;;;;;;;;;;;GAiBG;;IAGD,iEAAiE;oBACjD,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,uDAAuD;iBAC1C,MAAM;IACnB,0DAA0D;YAClD,MAAM;;;;;IAPd,iEAAiE;oBACjD,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,uDAAuD;iBAC1C,MAAM;IACnB,0DAA0D;YAClD,MAAM;;;;;AAThB,wBAmkBC"}
1
+ {"version":3,"file":"CommandPaletteRequest.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteRequest.vue"],"names":[],"mappings":"AA+WA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAUvE;;;;;;;;;;;;;;;;;GAiBG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;IAEhB,iEAAiE;oBACjD,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,uDAAuD;iBAC1C,MAAM;IACnB,0DAA0D;YAClD,MAAM;;;;;IAPd,iEAAiE;oBACjD,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,uDAAuD;iBAC1C,MAAM;IACnB,0DAA0D;YAClD,MAAM;;;;kFAslBZ,CAAC"}
@@ -17,7 +17,9 @@ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
17
17
  * @back="handleBack"
18
18
  * />
19
19
  */
20
- declare const _default: import("vue").DefineComponent<{
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ declare const __VLS_export: import("vue").DefineComponent<{
21
23
  /** The workspace store for accessing documents and tags */
22
24
  workspaceStore: WorkspaceStore;
23
25
  /** Event bus for emitting tag creation events */
@@ -38,5 +40,4 @@ declare const _default: import("vue").DefineComponent<{
38
40
  onClose?: (() => any) | undefined;
39
41
  onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
40
42
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
- export default _default;
42
43
  //# sourceMappingURL=CommandPaletteTag.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteTag.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteTag.vue"],"names":[],"mappings":"AA2JA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAOvE;;;;;;;;;;;;;;;;GAgBG;;IAGD,2DAA2D;oBAC3C,cAAc;IAC9B,iDAAiD;cACvC,iBAAiB;IAC3B,mDAAmD;iBACtC,MAAM;;;;;IALnB,2DAA2D;oBAC3C,cAAc;IAC9B,iDAAiD;cACvC,iBAAiB;IAC3B,mDAAmD;iBACtC,MAAM;;;;;AAPrB,wBA6OC"}
1
+ {"version":3,"file":"CommandPaletteTag.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteTag.vue"],"names":[],"mappings":"AA4JA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAOvE;;;;;;;;;;;;;;;;GAgBG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;IAEhB,2DAA2D;oBAC3C,cAAc;IAC9B,iDAAiD;cACvC,iBAAiB;IAC3B,mDAAmD;iBACtC,MAAM;;;;;IALnB,2DAA2D;oBAC3C,cAAc;IAC9B,iDAAiD;cACvC,iBAAiB;IAC3B,mDAAmD;iBACtC,MAAM;;;;kFAmOjB,CAAC"}
@@ -14,7 +14,9 @@
14
14
  * :disabled="!isUrlImport"
15
15
  * />
16
16
  */
17
- declare const _default: import("vue").DefineComponent<{
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ declare const __VLS_export: import("vue").DefineComponent<{
18
20
  /** Whether watch mode is currently enabled */
19
21
  modelValue: boolean;
20
22
  /** Whether the toggle is disabled (e.g., for non-URL imports) */
@@ -29,5 +31,4 @@ declare const _default: import("vue").DefineComponent<{
29
31
  }> & Readonly<{
30
32
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
31
33
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
- export default _default;
33
34
  //# sourceMappingURL=WatchModeToggle.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WatchModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/WatchModeToggle.vue"],"names":[],"mappings":"AAuEA;;;;;;;;;;;;;;;GAeG;;IAGD,8CAA8C;gBAClC,OAAO;IACnB,iEAAiE;eACtD,OAAO;;;;IAHlB,8CAA8C;gBAClC,OAAO;IACnB,iEAAiE;eACtD,OAAO;;;;AALpB,wBA6GC"}
1
+ {"version":3,"file":"WatchModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/WatchModeToggle.vue"],"names":[],"mappings":"AAwEA;;;;;;;;;;;;;;;GAeG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEhB,8CAA8C;gBAClC,OAAO;IACnB,iEAAiE;eACtD,OAAO;;;;IAHlB,8CAA8C;gBAClC,OAAO;IACnB,iEAAiE;eACtD,OAAO;;;kFAiGhB,CAAC"}
@@ -1,4 +1,8 @@
1
1
  import type { WorkspaceStore } from '@scalar/workspace-store/client';
2
+ export type ImportEventData = {
3
+ source: string;
4
+ type: 'url' | 'file' | 'raw';
5
+ };
2
6
  /**
3
7
  * Attempts to add a document to the workspace from a given source, which may be a URL or raw content.
4
8
  *
@@ -12,5 +16,5 @@ import type { WorkspaceStore } from '@scalar/workspace-store/client';
12
16
  * @param watchMode Whether to enable watch mode (applies only to URL sources).
13
17
  * @returns Promise resolving to true if the document was successfully added, or false if the operation failed.
14
18
  */
15
- export declare const loadDocumentFromSource: (workspaceStore: WorkspaceStore, source: string | null, name: string, watchMode: boolean) => Promise<boolean>;
19
+ export declare const loadDocumentFromSource: (workspaceStore: WorkspaceStore, importEventData: ImportEventData, name: string, watchMode: boolean) => Promise<boolean>;
16
20
  //# sourceMappingURL=load-document-from-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"load-document-from-source.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/helpers/load-document-from-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAMpE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB,GACjC,gBAAgB,cAAc,EAC9B,QAAQ,MAAM,GAAG,IAAI,EACrB,MAAM,MAAM,EACZ,WAAW,OAAO,KACjB,OAAO,CAAC,OAAO,CAiDjB,CAAA"}
1
+ {"version":3,"file":"load-document-from-source.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/helpers/load-document-from-source.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAKpE,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAA;CAC7B,CAAA;AAiCD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB,GACjC,gBAAgB,cAAc,EAC9B,iBAAiB,eAAe,EAChC,MAAM,MAAM,EACZ,WAAW,OAAO,KACjB,OAAO,CAAC,OAAO,CAsDjB,CAAA"}
@@ -1,34 +1,52 @@
1
- import { normalize as i } from "@scalar/openapi-parser";
2
- import { getOpenApiFromPostman as l } from "./get-openapi-from-postman.js";
3
- import { isPostmanCollection as u } from "./is-postman-collection.js";
4
- import { isUrl as d } from "../../../helpers/is-url.js";
5
- const C = async (r, t, o, m) => {
1
+ import { isObject as u } from "@scalar/helpers/object/is-object";
2
+ import { parseJson as c, parseYaml as d } from "@scalar/json-magic/bundle/plugins/browser";
3
+ import { getOpenApiFromPostman as m } from "./get-openapi-from-postman.js";
4
+ import { isPostmanCollection as f } from "./is-postman-collection.js";
5
+ const p = () => ({
6
+ type: "loader",
7
+ validate: f,
8
+ exec: (e) => {
9
+ try {
10
+ const r = m(e);
11
+ return r ? Promise.resolve({
12
+ ok: !0,
13
+ data: r,
14
+ raw: e
15
+ }) : Promise.resolve({
16
+ ok: !1
17
+ });
18
+ } catch {
19
+ return Promise.resolve({
20
+ ok: !1
21
+ });
22
+ }
23
+ }
24
+ }), h = async (e, r, o, l) => {
25
+ const { source: t, type: n } = r;
6
26
  if (!t)
7
27
  return !1;
8
- if (d(t))
9
- return await r.addDocument({
28
+ if (n === "url")
29
+ return await e.addDocument({
10
30
  name: o,
11
31
  url: t,
12
32
  meta: {
13
- "x-scalar-watch-mode": m
33
+ "x-scalar-watch-mode": l
14
34
  }
15
35
  });
16
- if (u(t)) {
17
- const n = l(t);
18
- return n === null ? !1 : await r.addDocument({ name: o, document: n });
19
- }
20
- const e = ((n) => {
21
- try {
22
- return i(n);
23
- } catch (a) {
24
- return console.error(a), null;
25
- }
26
- })(t);
27
- return e === null ? !1 : await r.addDocument({
36
+ if (n === "file")
37
+ return await e.addDocument({
38
+ name: o,
39
+ path: t
40
+ });
41
+ const s = [p(), c(), d()].find((i) => i.validate(t));
42
+ if (!s)
43
+ return !1;
44
+ const a = await s.exec(t);
45
+ return !(!a.ok || !u(a.data) || !await e.addDocument({
28
46
  name: o,
29
- document: e
30
- });
47
+ document: a.data
48
+ }));
31
49
  };
32
50
  export {
33
- C as loadDocumentFromSource
51
+ h as loadDocumentFromSource
34
52
  };
@@ -113,19 +113,52 @@ export declare const baseRoutes: CommandPaletteRoute[];
113
113
  export declare const baseClientActions: [{
114
114
  readonly id: "import-from-openapi-swagger-postman-curl";
115
115
  readonly name: "Import from OpenAPI/Swagger/Postman/cURL";
116
- readonly component: import("vue").DefineComponent<{
117
- workspaceStore: import("@scalar/workspace-store/client").WorkspaceStore;
118
- eventBus: import("@scalar/workspace-store/events").WorkspaceEventBus;
119
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
120
- close: () => any;
121
- back: (keyboardEvent: KeyboardEvent) => any;
122
- }, string, import("vue").PublicProps, Readonly<{
116
+ readonly component: {
117
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
118
+ workspaceStore: import("@scalar/workspace-store/client").WorkspaceStore;
119
+ eventBus: import("@scalar/workspace-store/events").WorkspaceEventBus;
120
+ fileLoader?: import("@scalar/json-magic/bundle").LoaderPlugin;
121
+ }> & Readonly<{
122
+ onClose?: (() => any) | undefined;
123
+ onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
124
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
125
+ close: () => any;
126
+ back: (keyboardEvent: KeyboardEvent) => any;
127
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
128
+ P: {};
129
+ B: {};
130
+ D: {};
131
+ C: {};
132
+ M: {};
133
+ Defaults: {};
134
+ }, Readonly<{
135
+ workspaceStore: import("@scalar/workspace-store/client").WorkspaceStore;
136
+ eventBus: import("@scalar/workspace-store/events").WorkspaceEventBus;
137
+ fileLoader?: import("@scalar/json-magic/bundle").LoaderPlugin;
138
+ }> & Readonly<{
139
+ onClose?: (() => any) | undefined;
140
+ onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
141
+ }>, {}, {}, {}, {}, {}>;
142
+ __isFragment?: never;
143
+ __isTeleport?: never;
144
+ __isSuspense?: never;
145
+ } & import("vue").ComponentOptionsBase<Readonly<{
123
146
  workspaceStore: import("@scalar/workspace-store/client").WorkspaceStore;
124
147
  eventBus: import("@scalar/workspace-store/events").WorkspaceEventBus;
148
+ fileLoader?: import("@scalar/json-magic/bundle").LoaderPlugin;
125
149
  }> & Readonly<{
126
150
  onClose?: (() => any) | undefined;
127
151
  onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
128
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
152
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
153
+ close: () => any;
154
+ back: (keyboardEvent: KeyboardEvent) => any;
155
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
156
+ $slots: {
157
+ fileUpload(props: {
158
+ import: (source: string, type: "file" | "raw") => Promise<void>;
159
+ }): void;
160
+ };
161
+ });
129
162
  readonly icon: {
130
163
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@scalar/icons/types").ScalarIconProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
131
164
  P: {};
@@ -1 +1 @@
1
- {"version":3,"file":"use-command-palette-state.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/hooks/use-command-palette-state.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"use-command-palette-state.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/hooks/use-command-palette-state.ts"],"names":[],"mappings":"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"}
@@ -1,4 +1,3 @@
1
- export { importDocumentToWorkspace } from './helpers/import-document-to-workspace.js';
2
- export { loadDocumentFromSource } from './helpers/load-document-from-source.js';
1
+ export { default as CommandPaletteImport } from './components/CommandPaletteImport.vue.js';
3
2
  export { default as TheCommandPalette } from './TheCommandPalette.vue.js';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/command-palette/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAA;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAC5E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/command-palette/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AACvF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA"}
@@ -1,8 +1,6 @@
1
- import { importDocumentToWorkspace as r } from "./helpers/import-document-to-workspace.js";
2
- import { loadDocumentFromSource as t } from "./helpers/load-document-from-source.js";
3
- import { default as p } from "./TheCommandPalette.vue.js";
1
+ import { default as a } from "./components/CommandPaletteImport.vue.js";
2
+ import { default as o } from "./TheCommandPalette.vue.js";
4
3
  export {
5
- p as TheCommandPalette,
6
- r as importDocumentToWorkspace,
7
- t as loadDocumentFromSource
4
+ a as CommandPaletteImport,
5
+ o as TheCommandPalette
8
6
  };
@@ -8,6 +8,7 @@ type __VLS_Props = {
8
8
  /** The currently active environment name */
9
9
  activeEnvironment?: string;
10
10
  } & CollectionType;
11
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
13
14
  //# sourceMappingURL=EnvironmentsList.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/environments/EnvironmentsList.vue"],"names":[],"mappings":"AAoGA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAA;AAQpH,KAAK,WAAW,GAAG;IACb,kEAAkE;IAClE,YAAY,EAAE,WAAW,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC,CAAA;IACvE,mDAAmD;IACnD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,GAAG,cAAc,CAAC;;AAuLvB,wBAMG"}
1
+ {"version":3,"file":"EnvironmentsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/environments/EnvironmentsList.vue"],"names":[],"mappings":"AAqGA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAA;AAQpH,KAAK,WAAW,GAAG;IACb,kEAAkE;IAClE,YAAY,EAAE,WAAW,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC,CAAA;IACvE,mDAAmD;IACnD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,GAAG,cAAc,CAAC;AAoLvB,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -6,12 +6,13 @@ type __VLS_Props = {
6
6
  eventBus: WorkspaceEventBus;
7
7
  isActive?: boolean;
8
8
  } & CollectionType;
9
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
10
  delete: () => any;
11
11
  edit: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
13
  onDelete?: (() => any) | undefined;
14
14
  onEdit?: (() => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
16
17
  export default _default;
17
18
  //# sourceMappingURL=Environment.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/Environment.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAInH,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,kBAAkB,CAAA;IAC/B,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,cAAc,CAAC;;;;;;;;AA6LrB,wBAOG"}
1
+ {"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/Environment.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAInH,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,kBAAkB,CAAA;IAC/B,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,cAAc,CAAC;AA6LrB,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,10 +1,11 @@
1
1
  type __VLS_Props = {
2
2
  activeColor: string;
3
3
  };
4
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
5
  select: (color: string) => any;
6
6
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
7
  onSelect?: ((color: string) => any) | undefined;
8
8
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
10
11
  //# sourceMappingURL=EnvironmentColors.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentColors.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentColors.vue"],"names":[],"mappings":"AA6LA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAC;;;;;;AAyUF,wBAOG"}
1
+ {"version":3,"file":"EnvironmentColors.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentColors.vue"],"names":[],"mappings":"AA8LA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAC;AA2UF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -7,6 +7,7 @@ type __VLS_Props = {
7
7
  state: ModalState;
8
8
  eventBus: WorkspaceEventBus;
9
9
  } & CollectionType;
10
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
12
13
  //# sourceMappingURL=EnvironmentCreateModal.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentCreateModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentCreateModal.vue"],"names":[],"mappings":"AA+IA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAA;AAQpH,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,WAAW,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC,CAAA;IACvE,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,KAAK,EAAE,UAAU,CAAA;IACjB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;;AA8MrB,wBAMG"}
1
+ {"version":3,"file":"EnvironmentCreateModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentCreateModal.vue"],"names":[],"mappings":"AAgJA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAA;AAQpH,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,WAAW,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC,CAAA;IACvE,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,KAAK,EAAE,UAAU,CAAA;IACjB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;AA4MrB,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,12 +3,13 @@ type __VLS_Props = {
3
3
  state: ModalState;
4
4
  name: string | null;
5
5
  };
6
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
7
  submit: () => any;
8
8
  cancel: () => any;
9
9
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
10
  onSubmit?: (() => any) | undefined;
11
11
  onCancel?: (() => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
13
14
  export default _default;
14
15
  //# sourceMappingURL=EnvironmentDeleteModal.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentDeleteModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentDeleteModal.vue"],"names":[],"mappings":"AAoDA,OAAO,EAA6B,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/E,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB,CAAC;;;;;;;;AAwHF,wBAOG"}
1
+ {"version":3,"file":"EnvironmentDeleteModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentDeleteModal.vue"],"names":[],"mappings":"AAqDA,OAAO,EAA6B,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/E,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB,CAAC;AA4HF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  top: number;
8
8
  };
9
9
  };
10
- declare const _default: import("vue").DefineComponent<__VLS_Props, {
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
11
11
  handleArrowKey: (direction: "up" | "down") => void;
12
12
  handleSelect: () => void;
13
13
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -17,5 +17,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
17
17
  onSelect?: ((variable: string) => any) | undefined;
18
18
  onRedirect?: (() => any) | undefined;
19
19
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
20
21
  export default _default;
21
22
  //# sourceMappingURL=EnvironmentVariablesDropdown.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentVariablesDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentVariablesDropdown.vue"],"names":[],"mappings":"AAkKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAKnH,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,kBAAkB,CAAA;IAC/B,gBAAgB,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;CACjD,CAAC;;gCAqDiC,IAAI,GAAG,MAAM;;;;;;;;;AAyOhD,wBAQG"}
1
+ {"version":3,"file":"EnvironmentVariablesDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentVariablesDropdown.vue"],"names":[],"mappings":"AAmKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAKnH,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,kBAAkB,CAAA;IAC/B,gBAAgB,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;CACjD,CAAC;AAqSF,QAAA,MAAM,YAAY;gCA/OiB,IAAI,GAAG,MAAM;;;;;;;;kFAmP9C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  environmentName: string;
6
6
  eventBus: WorkspaceEventBus;
7
7
  } & CollectionType;
8
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
10
11
  //# sourceMappingURL=EnvironmentVariablesTable.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentVariablesTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentVariablesTable.vue"],"names":[],"mappings":"AA6LA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAWnH,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,kBAAkB,CAAA;IAC/B,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;;AAiVrB,wBAMG"}
1
+ {"version":3,"file":"EnvironmentVariablesTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentVariablesTable.vue"],"names":[],"mappings":"AA8LA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAWnH,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,kBAAkB,CAAA;IAC/B,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;AAgXrB,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -4,6 +4,7 @@ type __VLS_Props = {
4
4
  cookies: XScalarCookie[];
5
5
  eventBus: WorkspaceEventBus;
6
6
  } & CollectionType;
7
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
9
10
  //# sourceMappingURL=CookiesTable.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CookiesTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/global-cookies/components/CookiesTable.vue"],"names":[],"mappings":"AAsPA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AAYxG,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;;AAmcrB,wBAMG"}
1
+ {"version":3,"file":"CookiesTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/global-cookies/components/CookiesTable.vue"],"names":[],"mappings":"AAuPA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AAYxG,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;AA6erB,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -34,9 +34,10 @@ export type ModalProps = {
34
34
  *
35
35
  * This component is used to render the API Client Modal
36
36
  */
37
- declare const _default: import("vue").DefineComponent<ModalProps, {
37
+ declare const _default: typeof __VLS_export;
38
+ export default _default;
39
+ declare const __VLS_export: import("vue").DefineComponent<ModalProps, {
38
40
  sidebarWidth: ComputedRef<number>;
39
41
  environment: ComputedRef<import("@scalar/workspace-store/schemas/extensions/document/x-scalar-environments").XScalarEnvironment>;
40
42
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
- export default _default;
42
43
  //# sourceMappingURL=Modal.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/modal/Modal.vue"],"names":[],"mappings":"AAsWA,OAAO,EAGL,KAAK,UAAU,EAEhB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAE/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAExE,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACtB,MAAM,KAAK,CAAA;AAIZ,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AAIxF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKxD,MAAM,MAAM,UAAU,GAAG;IACvB,4DAA4D;IAC5D,cAAc,EAAE,cAAc,CAAA;IAC9B,qDAAqD;IACrD,QAAQ,EAAE,WAAW,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;IAC/C,iDAAiD;IACjD,IAAI,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACrC,4CAA4C;IAC5C,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,mDAAmD;IACnD,MAAM,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC,CAAA;IAC3C,yDAAyD;IACzD,WAAW,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5C,2CAA2C;IAC3C,UAAU,EAAE,UAAU,CAAA;IACtB,0DAA0D;IAC1D,YAAY,EAAE,qBAAqB,CAAA;IACnC,iDAAiD;IACjD,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,wDAAwD;IACxD,OAAO,EAAE,gBAAgB,CACvB,OAAO,CACL,IAAI,CACF,4BAA4B,EAC1B,gBAAgB,GAChB,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,SAAS,CACZ,CACF,CACF,CAAA;CACF,CAAA;AAED;;;;GAIG;;;;;AACH,wBAwVC"}
1
+ {"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/modal/Modal.vue"],"names":[],"mappings":"AA4NA,OAAO,EAAE,KAAK,UAAU,EAA4B,MAAM,oBAAoB,CAAA;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAE/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,EAML,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACtB,MAAM,KAAK,CAAA;AAKZ,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AAIxF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKxD,MAAM,MAAM,UAAU,GAAG;IACvB,4DAA4D;IAC5D,cAAc,EAAE,cAAc,CAAA;IAC9B,qDAAqD;IACrD,QAAQ,EAAE,WAAW,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;IAC/C,iDAAiD;IACjD,IAAI,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACrC,4CAA4C;IAC5C,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,mDAAmD;IACnD,MAAM,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC,CAAA;IAC3C,yDAAyD;IACzD,WAAW,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5C,2CAA2C;IAC3C,UAAU,EAAE,UAAU,CAAA;IACtB,0DAA0D;IAC1D,YAAY,EAAE,qBAAqB,CAAA;IACnC,iDAAiD;IACjD,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,wDAAwD;IACxD,OAAO,EAAE,gBAAgB,CACvB,OAAO,CACL,IAAI,CACF,4BAA4B,EAC1B,gBAAgB,GAChB,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,SAAS,CACZ,CACF,CACF,CAAA;CACF,CAAA;AAED;;;;GAIG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;;;mPA8Qd,CAAC"}
@@ -1,7 +1,122 @@
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-07c87e38"]]);
1
+ import { defineComponent as k, ref as x, watch as B, onBeforeUnmount as y, computed as u, toValue as g, createBlock as N, openBlock as i, withCtx as W, createVNode as l, createElementBlock as v, unref as d, withDirectives as E, vShow as U, createElementVNode as V } from "vue";
2
+ import { ScalarToasts as D } from "@scalar/use-toasts";
3
+ import { mergeSecurity as I } from "../../blocks/scalar-auth-selector-block/helpers/merge-security.js";
4
+ import C from "../../components/modals/ModalClientContainer.vue.js";
5
+ import { initializeModalEvents as z } from "./modal-events.js";
6
+ import A from "../operation/Operation.vue.js";
7
+ import { getActiveEnvironment as L } from "../../helpers/get-active-environment.js";
8
+ import { useGlobalHotKeys as M } from "../../hooks/use-global-hot-keys.js";
9
+ import { useScrollLock as T } from "../../hooks/use-scroll-lock.js";
10
+ import $ from "../../components/sidebar/SidebarToggle.vue.js";
11
+ import H from "../../components/sidebar/Sidebar.vue.js";
12
+ const j = {
13
+ key: 0,
14
+ class: "relative flex flex-1"
15
+ }, q = {
16
+ key: 1,
17
+ class: "flex h-full w-full items-center justify-center"
18
+ }, F = {}, _ = /* @__PURE__ */ k({
19
+ ...F,
20
+ __name: "Modal",
21
+ props: {
22
+ workspaceStore: {},
23
+ document: {},
24
+ path: {},
25
+ eventBus: {},
26
+ method: {},
27
+ exampleName: {},
28
+ modalState: {},
29
+ sidebarState: {},
30
+ plugins: {},
31
+ options: {}
32
+ },
33
+ setup(e, { expose: f }) {
34
+ const s = {
35
+ label: "default",
36
+ id: "default"
37
+ }, o = x(!1);
38
+ z({
39
+ eventBus: e.eventBus,
40
+ isSidebarOpen: o,
41
+ sidebarState: e.sidebarState,
42
+ modalState: e.modalState,
43
+ store: e.workspaceStore
44
+ }), M(e.eventBus, "modal");
45
+ const c = () => {
46
+ e.eventBus.emit("operation:cancel:request");
47
+ }, S = T(() => typeof window < "u" ? window.document.body : null);
48
+ B(
49
+ () => e.modalState.open,
50
+ (a) => {
51
+ S.value = a, a || c();
52
+ }
53
+ ), y(() => c());
54
+ const h = 288, n = u(
55
+ () => e.workspaceStore?.workspace?.["x-scalar-sidebar-width"] ?? h
56
+ ), w = (a) => e.workspaceStore?.update("x-scalar-sidebar-width", a), r = u(
57
+ () => L(e.workspaceStore, e.document.value)
58
+ ), b = u(
59
+ () => I(
60
+ e.document.value?.components?.securitySchemes,
61
+ g(e.options)?.authentication?.securitySchemes,
62
+ e.workspaceStore.auth,
63
+ e.document.value?.["x-scalar-navigation"]?.name ?? ""
64
+ )
65
+ );
66
+ return f({
67
+ sidebarWidth: n,
68
+ environment: r
69
+ }), (a, t) => (i(), N(C, { modalState: e.modalState }, {
70
+ default: W(() => [
71
+ l(d(D)),
72
+ e.document.value && e.path?.value && e.method?.value ? (i(), v("main", j, [
73
+ l(d($), {
74
+ modelValue: o.value,
75
+ "onUpdate:modelValue": t[0] || (t[0] = (m) => o.value = m),
76
+ class: "absolute top-2 left-3 z-[10001]"
77
+ }, null, 8, ["modelValue"]),
78
+ E(l(d(H), {
79
+ sidebarWidth: n.value,
80
+ "onUpdate:sidebarWidth": [
81
+ t[1] || (t[1] = (m) => n.value = m),
82
+ w
83
+ ],
84
+ activeWorkspace: s,
85
+ class: "z-[10000] h-full max-md:absolute! max-md:w-full!",
86
+ documents: [e.document.value],
87
+ eventBus: e.eventBus,
88
+ isDroppable: () => !1,
89
+ layout: "modal",
90
+ sidebarState: e.sidebarState.state,
91
+ workspaces: [],
92
+ onSelectItem: e.sidebarState.handleSelectItem
93
+ }, null, 8, ["sidebarWidth", "documents", "eventBus", "sidebarState", "onSelectItem"]), [
94
+ [U, o.value]
95
+ ]),
96
+ l(A, {
97
+ activeWorkspace: s,
98
+ class: "flex-1",
99
+ document: e.document.value,
100
+ documentSlug: e.document.value["x-scalar-navigation"]?.id ?? "",
101
+ environment: r.value,
102
+ eventBus: e.eventBus,
103
+ exampleName: e.exampleName?.value,
104
+ layout: "modal",
105
+ method: e.method?.value,
106
+ options: e.options,
107
+ path: e.path?.value,
108
+ plugins: e.plugins,
109
+ securitySchemes: b.value,
110
+ workspaceStore: e.workspaceStore
111
+ }, null, 8, ["document", "documentSlug", "environment", "eventBus", "exampleName", "method", "options", "path", "plugins", "securitySchemes", "workspaceStore"])
112
+ ])) : (i(), v("div", q, [...t[2] || (t[2] = [
113
+ V("span", { class: "text-c-3" }, "No document selected", -1)
114
+ ])]))
115
+ ]),
116
+ _: 1
117
+ }, 8, ["modalState"]));
118
+ }
119
+ });
5
120
  export {
6
- p as default
121
+ _ as default
7
122
  };