@scalar/api-client 2.26.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 (510) hide show
  1. package/CHANGELOG.md +21 -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/DataTableHeader.vue.d.ts +5 -4
  37. package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +1 -1
  38. package/dist/components/DataTable/DataTableInput.vue.d.ts +7 -6
  39. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  40. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +2 -1
  41. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  42. package/dist/components/DataTable/DataTableRow.vue.d.ts +3 -2
  43. package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
  44. package/dist/components/DataTable/DataTableText.vue.d.ts +5 -4
  45. package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
  46. package/dist/components/EmptyState.vue.d.ts +2 -1
  47. package/dist/components/EmptyState.vue.d.ts.map +1 -1
  48. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +2 -1
  49. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  50. package/dist/components/Form/Form.vue.d.ts +5 -4
  51. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  52. package/dist/components/Form/LabelInput.vue.d.ts +2 -1
  53. package/dist/components/Form/LabelInput.vue.d.ts.map +1 -1
  54. package/dist/components/HelpfulLink.vue.d.ts +3 -2
  55. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  56. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -1
  57. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  58. package/dist/components/IconSelector.vue.d.ts +6 -5
  59. package/dist/components/IconSelector.vue.d.ts.map +1 -1
  60. package/dist/components/ImportCollection/DropEventListener.vue.d.ts +2 -1
  61. package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
  62. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +3 -2
  63. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
  64. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +2 -1
  65. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  66. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +2 -1
  67. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  68. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +2 -1
  69. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  70. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +2 -1
  71. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
  72. package/dist/components/ImportCollection/PrefetchError.vue.d.ts +2 -1
  73. package/dist/components/ImportCollection/PrefetchError.vue.d.ts.map +1 -1
  74. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +2 -1
  75. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
  76. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts +2 -1
  77. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  78. package/dist/components/OpenApiClientButton.vue.d.ts +2 -1
  79. package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
  80. package/dist/components/ScalarAsciiArt.vue.d.ts +2 -1
  81. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  82. package/dist/components/SectionFilter.vue.d.ts +14 -9
  83. package/dist/components/SectionFilter.vue.d.ts.map +1 -1
  84. package/dist/components/SectionFilterButton.vue.d.ts +3 -2
  85. package/dist/components/SectionFilterButton.vue.d.ts.map +1 -1
  86. package/dist/components/Server/ServerDropdown.vue.d.ts +2 -1
  87. package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
  88. package/dist/components/Server/ServerDropdownItem.vue.d.ts +2 -1
  89. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  90. package/dist/components/Server/ServerSelector.vue.d.ts +2 -1
  91. package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
  92. package/dist/components/Server/ServerVariablesForm.vue.d.ts +2 -1
  93. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
  94. package/dist/components/Server/ServerVariablesSelect.vue.d.ts +2 -1
  95. package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
  96. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +2 -1
  97. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
  98. package/dist/components/SideNav/DownloadAppButton.vue.d.ts +2 -1
  99. package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -1
  100. package/dist/components/SideNav/SideHelp.vue.d.ts +2 -1
  101. package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
  102. package/dist/components/SideNav/SideNav.vue.d.ts +2 -1
  103. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  104. package/dist/components/SideNav/SideNavGroup.vue.d.ts +3 -2
  105. package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -1
  106. package/dist/components/SideNav/SideNavLink.vue.d.ts +6 -5
  107. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  108. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +5 -4
  109. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
  110. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -1
  111. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  112. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +2 -1
  113. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
  114. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +2 -1
  115. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
  116. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +3 -2
  117. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  118. package/dist/components/Sidebar/Sidebar.vue.d.ts +3 -2
  119. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  120. package/dist/components/Sidebar/SidebarButton.vue.d.ts +3 -2
  121. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  122. package/dist/components/Sidebar/SidebarList.vue.d.ts +3 -2
  123. package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
  124. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +2 -1
  125. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  126. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  127. package/dist/components/Sidebar/SidebarListElement.vue2.js +1 -1
  128. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +2 -1
  129. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  130. package/dist/components/Sidebar/SidebarToggle.vue.d.ts +2 -1
  131. package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
  132. package/dist/components/TopNav/TopNav.vue.d.ts +2 -1
  133. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  134. package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -1
  135. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  136. package/dist/components/ViewLayout/ViewLayout.vue.d.ts +3 -2
  137. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  138. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +9 -8
  139. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  140. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts +3 -2
  141. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
  142. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +3 -2
  143. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  144. package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -1
  145. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  146. package/dist/layouts/App/MainLayout.vue.d.ts +5 -4
  147. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  148. package/dist/layouts/Modal/ApiClientModal.vue.d.ts +2 -1
  149. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  150. package/dist/layouts/Modal/ApiClientModal.vue.js +28 -5
  151. package/dist/layouts/Modal/ApiClientModal.vue2.js +2 -53
  152. package/dist/layouts/Modal/create-api-client-modal.js +8 -8
  153. package/dist/layouts/Web/ApiClientWeb.vue.d.ts +2 -1
  154. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  155. package/dist/style.css +1 -1
  156. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +3 -2
  157. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  158. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -1
  159. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  160. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts +4 -2
  161. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
  162. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts +5 -4
  163. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts.map +1 -1
  164. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +16 -3
  165. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
  166. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
  167. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +86 -78
  168. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +2 -1
  169. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  170. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +2 -1
  171. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  172. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts +2 -1
  173. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts.map +1 -1
  174. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts +2 -1
  175. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
  176. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -1
  177. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -1
  178. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -1
  179. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
  180. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -1
  181. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  182. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts +2 -1
  183. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -1
  184. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  185. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts +2 -1
  186. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -1
  187. package/dist/v2/blocks/response-block/components/Headers.vue.d.ts +5 -4
  188. package/dist/v2/blocks/response-block/components/Headers.vue.d.ts.map +1 -1
  189. package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts +2 -1
  190. package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -1
  191. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts +2 -1
  192. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts.map +1 -1
  193. package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts +3 -2
  194. package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts.map +1 -1
  195. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +2 -1
  196. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
  197. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts +2 -1
  198. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -1
  199. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts +2 -1
  200. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -1
  201. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts +2 -1
  202. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -1
  203. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts +2 -1
  204. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -1
  205. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts +2 -1
  206. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts.map +1 -1
  207. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +2 -1
  208. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
  209. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts +2 -1
  210. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  211. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts +2 -1
  212. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -1
  213. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -1
  214. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  215. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts +2 -1
  216. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts.map +1 -1
  217. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts +2 -1
  218. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts.map +1 -1
  219. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +2 -1
  220. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  221. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -1
  222. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  223. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +2 -1
  224. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  225. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +2 -1
  226. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
  227. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +2 -1
  228. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
  229. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +2 -1
  230. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  231. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +8 -6
  232. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  233. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +2 -1
  234. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  235. package/dist/v2/components/callout/Callout.vue.d.ts +3 -2
  236. package/dist/v2/components/callout/Callout.vue.d.ts.map +1 -1
  237. package/dist/v2/components/code-input/CodeInput.vue.d.ts +3 -2
  238. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
  239. package/dist/v2/components/data-table/DataTable.vue.d.ts +3 -2
  240. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -1
  241. package/dist/v2/components/data-table/DataTableCell.vue.d.ts +5 -4
  242. package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -1
  243. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +2 -1
  244. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -1
  245. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +5 -4
  246. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -1
  247. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +7 -6
  248. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
  249. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +2 -1
  250. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -1
  251. package/dist/v2/components/data-table/DataTableRow.vue.d.ts +3 -2
  252. package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -1
  253. package/dist/v2/components/data-table/DataTableText.vue.d.ts +5 -4
  254. package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -1
  255. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +3 -2
  256. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts.map +1 -1
  257. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts +3 -2
  258. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts.map +1 -1
  259. package/dist/v2/components/layout/ValueEmitter.vue.d.ts +15 -10
  260. package/dist/v2/components/layout/ValueEmitter.vue.d.ts.map +1 -1
  261. package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -1
  262. package/dist/v2/components/modals/DeleteModal.vue.d.ts.map +1 -1
  263. package/dist/v2/components/modals/ModalClientContainer.spec.d.ts +2 -0
  264. package/dist/v2/components/modals/ModalClientContainer.spec.d.ts.map +1 -0
  265. package/dist/v2/components/modals/ModalClientContainer.vue.d.ts +24 -0
  266. package/dist/v2/components/modals/ModalClientContainer.vue.d.ts.map +1 -0
  267. package/dist/v2/components/modals/ModalClientContainer.vue.js +7 -0
  268. package/dist/v2/components/modals/ModalClientContainer.vue2.js +57 -0
  269. package/dist/v2/components/resize/Resize.vue.d.ts +3 -2
  270. package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -1
  271. package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -1
  272. package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
  273. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts +2 -1
  274. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts.map +1 -1
  275. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +5 -3
  276. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  277. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +3 -2
  278. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
  279. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +4 -3
  280. package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -1
  281. package/dist/v2/features/app/App.vue.d.ts +3 -2
  282. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  283. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +5 -3
  284. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  285. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +2 -1
  286. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +1 -1
  287. package/dist/v2/features/app/components/DesktopTab.vue.d.ts +2 -1
  288. package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +1 -1
  289. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +2 -1
  290. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
  291. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +2 -1
  292. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -1
  293. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +2 -1
  294. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +1 -1
  295. package/dist/v2/features/app/components/SplashScreen.vue.d.ts +2 -1
  296. package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +1 -1
  297. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +2 -1
  298. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  299. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +2 -1
  300. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
  301. package/dist/v2/features/collection/components/Authentication.vue.d.ts +2 -1
  302. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  303. package/dist/v2/features/collection/components/Cookies.vue.d.ts +2 -1
  304. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
  305. package/dist/v2/features/collection/components/Environment.vue.d.ts +2 -1
  306. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  307. package/dist/v2/features/collection/components/Form.vue.d.ts +5 -4
  308. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
  309. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +4 -3
  310. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
  311. package/dist/v2/features/collection/components/Overview.vue.d.ts +2 -1
  312. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
  313. package/dist/v2/features/collection/components/Servers.vue.d.ts +2 -1
  314. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  315. package/dist/v2/features/collection/components/Settings.vue.d.ts +2 -1
  316. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
  317. package/dist/v2/features/collection/components/Tabs.vue.d.ts +2 -1
  318. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -1
  319. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +3 -2
  320. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +1 -1
  321. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +3 -2
  322. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts.map +1 -1
  323. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +3 -2
  324. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts.map +1 -1
  325. package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts +3 -2
  326. package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts.map +1 -1
  327. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +3 -2
  328. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +1 -1
  329. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +3 -2
  330. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
  331. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +3 -2
  332. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +1 -1
  333. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +3 -2
  334. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +1 -1
  335. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +3 -2
  336. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +1 -1
  337. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +3 -2
  338. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +1 -1
  339. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +2 -1
  340. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
  341. package/dist/v2/features/environments/components/Environment.vue.d.ts +2 -1
  342. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
  343. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +2 -1
  344. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
  345. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +2 -1
  346. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -1
  347. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -1
  348. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -1
  349. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +2 -1
  350. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -1
  351. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +2 -1
  352. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
  353. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +2 -1
  354. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
  355. package/dist/v2/features/modal/Modal.vue.d.ts +3 -2
  356. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  357. package/dist/v2/features/modal/Modal.vue.js +120 -5
  358. package/dist/v2/features/modal/Modal.vue2.js +2 -147
  359. package/dist/v2/features/modal/helpers/create-api-client-modal.js +12 -12
  360. package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
  361. package/dist/v2/features/modal/modal-events.js +33 -20
  362. package/dist/v2/features/operation/Operation.vue.d.ts +3 -2
  363. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  364. package/dist/v2/features/operation/Operation.vue.js +1 -1
  365. package/dist/v2/features/settings/CollectionSettings.vue.d.ts +2 -1
  366. package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
  367. package/dist/v2/features/settings/DocumentSettings.vue.d.ts +2 -1
  368. package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
  369. package/dist/v2/features/settings/components/Appearance.vue.d.ts +2 -1
  370. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -1
  371. package/dist/v2/features/settings/components/Section.vue.d.ts +3 -2
  372. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
  373. package/dist/views/Collection/Collection.vue.d.ts +2 -1
  374. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  375. package/dist/views/Collection/CollectionAuthentication.vue.d.ts +2 -1
  376. package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
  377. package/dist/views/Collection/CollectionCookies.vue.d.ts +2 -1
  378. package/dist/views/Collection/CollectionCookies.vue.d.ts.map +1 -1
  379. package/dist/views/Collection/CollectionEnvironment.vue.d.ts +2 -1
  380. package/dist/views/Collection/CollectionEnvironment.vue.d.ts.map +1 -1
  381. package/dist/views/Collection/CollectionInfoForm.vue.d.ts +2 -1
  382. package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -1
  383. package/dist/views/Collection/CollectionNavigation.vue.d.ts +2 -1
  384. package/dist/views/Collection/CollectionNavigation.vue.d.ts.map +1 -1
  385. package/dist/views/Collection/CollectionOverview.vue.d.ts +2 -1
  386. package/dist/views/Collection/CollectionOverview.vue.d.ts.map +1 -1
  387. package/dist/views/Collection/CollectionScripts.vue.d.ts +2 -1
  388. package/dist/views/Collection/CollectionScripts.vue.d.ts.map +1 -1
  389. package/dist/views/Collection/CollectionServerForm.vue.d.ts +2 -1
  390. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  391. package/dist/views/Collection/CollectionServers.vue.d.ts +2 -1
  392. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  393. package/dist/views/Collection/CollectionSettings.vue.d.ts +2 -1
  394. package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
  395. package/dist/views/Collection/CollectionSync.vue.d.ts +2 -1
  396. package/dist/views/Collection/CollectionSync.vue.d.ts.map +1 -1
  397. package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +2 -1
  398. package/dist/views/Collection/components/EnvironmentForm.vue.d.ts.map +1 -1
  399. package/dist/views/Collection/components/MarkdownInput.vue.d.ts +2 -1
  400. package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -1
  401. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +2 -1
  402. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
  403. package/dist/views/Cookies/CookieForm.vue.d.ts +2 -1
  404. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  405. package/dist/views/Cookies/CookieModal.vue.d.ts +2 -1
  406. package/dist/views/Cookies/CookieModal.vue.d.ts.map +1 -1
  407. package/dist/views/Cookies/CookieRaw.vue.d.ts +2 -1
  408. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  409. package/dist/views/Cookies/Cookies.vue.d.ts +2 -1
  410. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  411. package/dist/views/Environment/Environment.vue.d.ts +2 -1
  412. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  413. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +2 -1
  414. package/dist/views/Environment/EnvironmentColorModal.vue.d.ts.map +1 -1
  415. package/dist/views/Environment/EnvironmentColors.vue.d.ts +2 -1
  416. package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +1 -1
  417. package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -1
  418. package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
  419. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -1
  420. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  421. package/dist/views/Request/Request.vue.d.ts +2 -1
  422. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  423. package/dist/views/Request/RequestRoot.vue.d.ts +2 -1
  424. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  425. package/dist/views/Request/RequestRoot.vue.js +2 -2
  426. package/dist/views/Request/RequestRoot.vue2.js +10 -10
  427. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
  428. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  429. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +3 -2
  430. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  431. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +2 -1
  432. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  433. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +3 -2
  434. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  435. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +3 -2
  436. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  437. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -5
  438. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  439. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +3 -2
  440. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  441. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +2 -1
  442. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  443. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +2 -1
  444. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  445. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +2 -1
  446. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  447. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +2 -1
  448. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  449. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +2 -1
  450. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  451. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  452. package/dist/views/Request/RequestSection/RequestSection.vue2.js +33 -33
  453. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -1
  454. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  455. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +2 -1
  456. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  457. package/dist/views/Request/RequestSidebar.vue.d.ts +2 -1
  458. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  459. package/dist/views/Request/RequestSidebarItem.vue.d.ts +3 -2
  460. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  461. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  462. package/dist/views/Request/RequestSidebarItem.vue2.js +4 -4
  463. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +2 -1
  464. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  465. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +2 -1
  466. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  467. package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts +2 -1
  468. package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -1
  469. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +2 -1
  470. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  471. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +2 -1
  472. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
  473. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +3 -2
  474. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -1
  475. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +2 -1
  476. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
  477. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +2 -1
  478. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  479. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts +2 -1
  480. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts.map +1 -1
  481. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +2 -1
  482. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
  483. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +2 -1
  484. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
  485. package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts +2 -1
  486. package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts.map +1 -1
  487. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +2 -1
  488. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  489. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  490. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +2 -1
  491. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  492. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts +2 -1
  493. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  494. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +2 -1
  495. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  496. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +2 -1
  497. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  498. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  499. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +25 -25
  500. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts +2 -1
  501. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  502. package/dist/views/Settings/Settings.vue.d.ts +2 -1
  503. package/dist/views/Settings/Settings.vue.d.ts.map +1 -1
  504. package/dist/views/Settings/SettingsGeneral.vue.d.ts +2 -1
  505. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  506. package/dist/views/Settings/components/SettingsAppearance.vue.d.ts +2 -1
  507. package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -1
  508. package/dist/views/Settings/components/SettingsSection.vue.d.ts +3 -2
  509. package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -1
  510. package/package.json +11 -11
@@ -30,7 +30,9 @@ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
30
30
  * </template>
31
31
  * </CommandPaletteImport>
32
32
  */
33
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
35
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
34
36
  /** The workspace store for adding documents */
35
37
  workspaceStore: WorkspaceStore;
36
38
  /** Event bus for emitting operation creation events */
@@ -57,7 +59,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
57
59
  import: (source: string, type: "file" | "raw") => Promise<void>;
58
60
  }): void;
59
61
  }>;
60
- export default _default;
61
62
  type __VLS_WithSlots<T, S> = T & {
62
63
  new (): {
63
64
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteImport.vue"],"names":[],"mappings":"AAyXA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAoBvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;;IAGD,+CAA+C;oBAC/B,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,oCAAoC;iBACvB,YAAY;;;;;IALzB,+CAA+C;oBAC/B,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,oCAAoC;iBACvB,YAAY;;;;;IAazB,oEAAoE;sBAClD;QAChB,8DAA8D;QAC9D,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;KAChE,GAAG,IAAI;;AAxBV,wBA2eC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteImport.vue"],"names":[],"mappings":"AA0XA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAoBvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;IAEhB,+CAA+C;oBAC/B,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,oCAAoC;iBACvB,YAAY;;;;;IALzB,+CAA+C;oBAC/B,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,oCAAoC;iBACvB,YAAY;;;;;IAczB,oEAAoE;sBAClD;QAChB,8DAA8D;QAC9D,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;KAChE,GAAG,IAAI;EAwdN,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -18,7 +18,9 @@ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
18
18
  * @back="handleBack"
19
19
  * />
20
20
  */
21
- declare const _default: import("vue").DefineComponent<{
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ declare const __VLS_export: import("vue").DefineComponent<{
22
24
  /** The workspace store for accessing documents and operations */
23
25
  workspaceStore: WorkspaceStore;
24
26
  /** Event bus for emitting operation creation events */
@@ -39,5 +41,4 @@ declare const _default: import("vue").DefineComponent<{
39
41
  onClose?: (() => any) | undefined;
40
42
  onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
41
43
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
- export default _default;
43
44
  //# sourceMappingURL=CommandPaletteImportCurl.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteImportCurl.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteImportCurl.vue"],"names":[],"mappings":"AAuOA,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,kDAAkD;gBACtC,MAAM;;;;;IALlB,iEAAiE;oBACjD,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,kDAAkD;gBACtC,MAAM;;;;;AAPpB,wBA2TC"}
1
+ {"version":3,"file":"CommandPaletteImportCurl.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteImportCurl.vue"],"names":[],"mappings":"AAwOA,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,kDAAkD;gBACtC,MAAM;;;;;IALlB,iEAAiE;oBACjD,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,kDAAkD;gBACtC,MAAM;;;;kFA8ShB,CAAC"}
@@ -18,7 +18,9 @@ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
18
18
  * @back="handleBack"
19
19
  * />
20
20
  */
21
- declare const _default: import("vue").DefineComponent<{
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ declare const __VLS_export: import("vue").DefineComponent<{
22
24
  /** The workspace store for accessing documents and operations */
23
25
  workspaceStore: WorkspaceStore;
24
26
  /** Event bus for emitting operation creation events */
@@ -43,5 +45,4 @@ declare const _default: import("vue").DefineComponent<{
43
45
  onClose?: (() => any) | undefined;
44
46
  onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
45
47
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
- export default _default;
47
48
  //# sourceMappingURL=CommandPaletteRequest.vue.d.ts.map
@@ -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"}
@@ -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
  };
@@ -1,149 +1,4 @@
1
- import { defineComponent as I, ref as w, useId as N, watch as W, nextTick as E, onBeforeMount as F, onBeforeUnmount as U, computed as u, toValue as V, withDirectives as d, createElementBlock as m, openBlock as r, createElementVNode as i, unref as o, createVNode as l, withCtx as D, vShow as v } from "vue";
2
- import { addScalarClassesToHeadless as $, ScalarTeleportRoot as A } from "@scalar/components";
3
- import { ScalarToasts as z } from "@scalar/use-toasts";
4
- import { useFocusTrap as H } from "@vueuse/integrations/useFocusTrap";
5
- import { mergeSecurity as L } from "../../blocks/scalar-auth-selector-block/helpers/merge-security.js";
6
- import { initializeModalEvents as M } from "./modal-events.js";
7
- import O from "../operation/Operation.vue.js";
8
- import { getActiveEnvironment as R } from "../../helpers/get-active-environment.js";
9
- import { useGlobalHotKeys as j } from "../../hooks/use-global-hot-keys.js";
10
- import { useScrollLock as q } from "../../hooks/use-scroll-lock.js";
11
- import G from "../../components/sidebar/SidebarToggle.vue.js";
12
- import K from "../../components/sidebar/Sidebar.vue.js";
13
- const P = { class: "scalar scalar-app" }, J = { class: "scalar-container" }, Q = ["id"], X = {
14
- key: 0,
15
- class: "relative flex flex-1"
16
- }, Y = {
17
- key: 1,
18
- class: "flex h-full w-full items-center justify-center"
19
- }, Z = {}, me = /* @__PURE__ */ I({
20
- ...Z,
21
- __name: "Modal",
22
- props: {
23
- workspaceStore: {},
24
- document: {},
25
- path: {},
26
- eventBus: {},
27
- method: {},
28
- exampleName: {},
29
- modalState: {},
30
- sidebarState: {},
31
- plugins: {},
32
- options: {}
33
- },
34
- setup(e, { expose: x }) {
35
- const f = {
36
- label: "default",
37
- id: "default"
38
- }, n = w(!1);
39
- M({
40
- eventBus: e.eventBus,
41
- isSidebarOpen: n,
42
- sidebarState: e.sidebarState,
43
- modalState: e.modalState,
44
- store: e.workspaceStore
45
- }), j(e.eventBus, "modal");
46
- const S = w(null), h = N(), { activate: y, deactivate: B } = H(S, {
47
- allowOutsideClick: !0,
48
- fallbackFocus: `#${h}`
49
- }), b = () => {
50
- B(), e.eventBus.emit("operation:cancel:request");
51
- }, g = q(() => typeof window < "u" ? window.document.body : null);
52
- W(
53
- () => e.modalState.open,
54
- (a) => {
55
- g.value = a, a ? y({ checkCanFocusTrap: () => E() }) : b();
56
- }
57
- ), F(() => $()), U(() => b());
58
- const p = 288, c = u(
59
- () => e.workspaceStore?.workspace?.["x-scalar-sidebar-width"] ?? p
60
- ), T = (a) => e.workspaceStore?.update("x-scalar-sidebar-width", a), k = u(
61
- () => R(e.workspaceStore, e.document.value)
62
- ), C = u(
63
- () => L(
64
- e.document.value?.components?.securitySchemes,
65
- V(e.options)?.authentication?.securitySchemes,
66
- e.workspaceStore.auth,
67
- e.document.value?.["x-scalar-navigation"]?.name ?? ""
68
- )
69
- );
70
- return x({
71
- sidebarWidth: c,
72
- environment: k
73
- }), (a, t) => d((r(), m("div", P, [
74
- i("div", J, [
75
- d(i("div", {
76
- id: o(h),
77
- ref_key: "client",
78
- ref: S,
79
- "aria-label": "API Client",
80
- "aria-modal": "true",
81
- class: "scalar-app-layout scalar-client flex",
82
- role: "dialog",
83
- tabindex: "-1"
84
- }, [
85
- l(o(A), null, {
86
- default: D(() => [
87
- l(o(z)),
88
- e.document.value && e.path?.value && e.method?.value ? (r(), m("main", X, [
89
- l(o(G), {
90
- modelValue: n.value,
91
- "onUpdate:modelValue": t[0] || (t[0] = (s) => n.value = s),
92
- class: "absolute top-2 left-3 z-[10001]"
93
- }, null, 8, ["modelValue"]),
94
- d(l(o(K), {
95
- sidebarWidth: c.value,
96
- "onUpdate:sidebarWidth": [
97
- t[1] || (t[1] = (s) => c.value = s),
98
- T
99
- ],
100
- activeWorkspace: f,
101
- class: "z-[10000] h-full max-md:absolute! max-md:w-full!",
102
- documents: [e.document.value],
103
- eventBus: e.eventBus,
104
- isDroppable: () => !1,
105
- layout: "modal",
106
- sidebarState: e.sidebarState.state,
107
- workspaces: [],
108
- onSelectItem: e.sidebarState.handleSelectItem
109
- }, null, 8, ["sidebarWidth", "documents", "eventBus", "sidebarState", "onSelectItem"]), [
110
- [v, n.value]
111
- ]),
112
- l(O, {
113
- activeWorkspace: f,
114
- class: "flex-1",
115
- document: e.document.value,
116
- documentSlug: e.document.value["x-scalar-navigation"]?.id ?? "",
117
- environment: k.value,
118
- eventBus: e.eventBus,
119
- exampleName: e.exampleName?.value,
120
- layout: "modal",
121
- method: e.method?.value,
122
- options: e.options,
123
- path: e.path?.value,
124
- plugins: e.plugins,
125
- securitySchemes: C.value,
126
- workspaceStore: e.workspaceStore
127
- }, null, 8, ["document", "documentSlug", "environment", "eventBus", "exampleName", "method", "options", "path", "plugins", "securitySchemes", "workspaceStore"])
128
- ])) : (r(), m("div", Y, [...t[3] || (t[3] = [
129
- i("span", { class: "text-c-3" }, "No document selected", -1)
130
- ])]))
131
- ]),
132
- _: 1
133
- })
134
- ], 8, Q), [
135
- [v, e.modalState.open]
136
- ]),
137
- i("div", {
138
- class: "scalar-app-exit",
139
- onClick: t[2] || (t[2] = (s) => e.modalState.hide())
140
- })
141
- ])
142
- ], 512)), [
143
- [v, e.modalState.open]
144
- ]);
145
- }
146
- });
1
+ import f from "./Modal.vue.js";
147
2
  export {
148
- me as default
3
+ f as default
149
4
  };