@scalar/api-client 2.18.0 → 2.18.3

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 (294) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/components/AddressBar/AddressBar.vue2.js +52 -52
  3. package/dist/components/AddressBar/AddressBarHistory.vue2.js +15 -15
  4. package/dist/components/AddressBar/httpStatusCodeColors.d.ts +0 -33
  5. package/dist/components/AddressBar/httpStatusCodeColors.d.ts.map +1 -1
  6. package/dist/components/AddressBar/httpStatusCodeColors.js +0 -1
  7. package/dist/components/CodeInput/CodeInput.vue2.js +112 -112
  8. package/dist/components/CommandPalette/CommandActionForm.vue.js +18 -18
  9. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +25 -25
  10. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +2 -2
  11. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  12. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -4
  13. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +0 -1
  14. package/dist/components/CommandPalette/WatchModeToggle.vue.js +14 -14
  15. package/dist/components/DataTable/DataTable.vue.js +17 -17
  16. package/dist/components/DataTable/DataTableCell.vue.js +9 -9
  17. package/dist/components/DataTable/DataTableCheckbox.vue.js +17 -17
  18. package/dist/components/DataTable/DataTableInput.vue2.js +48 -48
  19. package/dist/components/DataTable/DataTableInputSelect.vue.js +35 -35
  20. package/dist/components/DataTable/DataTableText.vue.js +10 -10
  21. package/dist/components/Form/Form.vue.js +32 -32
  22. package/dist/components/Form/LabelInput.vue2.js +15 -15
  23. package/dist/components/HelpfulLink.vue.js +7 -7
  24. package/dist/components/HttpMethod/HttpMethod.vue2.js +22 -22
  25. package/dist/components/IconSelector.vue.js +16 -16
  26. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +50 -50
  27. package/dist/components/ImportCollection/ImportNowButton.vue.js +23 -23
  28. package/dist/components/ImportCollection/PrefetchError.vue.js +8 -8
  29. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +0 -7
  30. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  31. package/dist/components/ScalarAsciiArt.vue2.js +16 -16
  32. package/dist/components/SectionFilter.vue2.js +21 -21
  33. package/dist/components/SectionFilterButton.vue.js +7 -7
  34. package/dist/components/Server/ServerDropdown.vue.js +32 -32
  35. package/dist/components/Server/ServerDropdownItem.vue2.js +39 -39
  36. package/dist/components/Server/ServerSelector.vue.js +27 -27
  37. package/dist/components/Server/ServerVariablesForm.vue.js +26 -26
  38. package/dist/components/Server/ServerVariablesSelect.vue.js +21 -21
  39. package/dist/components/Server/ServerVariablesTextbox.vue.js +10 -10
  40. package/dist/components/Server/types.d.ts +2 -1
  41. package/dist/components/Server/types.d.ts.map +1 -1
  42. package/dist/components/SideNav/SideNavLink.vue.js +18 -18
  43. package/dist/components/SideNav/SideNavRouterLink.vue.js +13 -13
  44. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +11 -11
  45. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +16 -16
  46. package/dist/components/Sidebar/Sidebar.vue2.js +28 -28
  47. package/dist/components/Sidebar/SidebarButton.vue.js +12 -12
  48. package/dist/components/Sidebar/SidebarListElement.vue2.js +34 -34
  49. package/dist/components/Sidebar/SidebarListElementActions.vue.js +33 -33
  50. package/dist/components/TopNav/TopNavItem.vue2.js +41 -41
  51. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +43 -43
  52. package/dist/data/httpHeaders.d.ts +2 -1
  53. package/dist/data/httpHeaders.d.ts.map +1 -1
  54. package/dist/hooks/useClientConfig.js +1 -1
  55. package/dist/hooks/useLayout.js +1 -1
  56. package/dist/hooks/useSidebar.js +1 -1
  57. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  58. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  59. package/dist/libs/create-client.d.ts.map +1 -1
  60. package/dist/plugins/hooks/usePluginManager.d.ts +1 -1
  61. package/dist/plugins/hooks/usePluginManager.d.ts.map +1 -1
  62. package/dist/plugins/hooks/usePluginManager.js +5 -5
  63. package/dist/plugins/index.d.ts +1 -1
  64. package/dist/plugins/index.d.ts.map +1 -1
  65. package/dist/plugins/index.js +5 -5
  66. package/dist/plugins/plugin-manager.d.ts +0 -2
  67. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  68. package/dist/routes.d.ts +0 -10
  69. package/dist/routes.d.ts.map +1 -1
  70. package/dist/routes.js +0 -1
  71. package/dist/store/active-entities.js +1 -1
  72. package/dist/store/security-schemes.d.ts.map +1 -1
  73. package/dist/store/store.d.ts.map +1 -1
  74. package/dist/style.css +1 -1
  75. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  76. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +44 -44
  77. package/dist/v2/blocks/operation-block/components/Header.vue2.js +20 -20
  78. package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
  79. package/dist/v2/blocks/operation-block/helpers/build-request-body.js +14 -14
  80. package/dist/v2/blocks/operation-block/helpers/get-delimiter.js +0 -2
  81. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.js +12 -12
  82. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +65 -65
  83. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts +2 -1
  84. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts.map +1 -1
  85. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +6 -6
  86. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.d.ts +4 -3
  87. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.d.ts.map +1 -1
  88. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.js +9 -7
  89. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts.map +1 -1
  90. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js +40 -32
  91. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.d.ts +1 -3
  92. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.d.ts.map +1 -1
  93. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.js +0 -1
  94. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  95. package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
  96. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +144 -149
  97. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +25 -45
  98. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  99. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
  100. package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +90 -139
  101. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts +22 -0
  102. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts.map +1 -0
  103. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js +77 -0
  104. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue2.js +4 -0
  105. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +4 -4
  106. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -1
  107. package/dist/v2/blocks/request-block/components/RequestParams.vue.js +34 -34
  108. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +6 -6
  109. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
  110. package/dist/v2/blocks/request-block/components/RequestTable.vue.js +3 -3
  111. package/dist/v2/blocks/request-block/components/RequestTable.vue2.js +30 -32
  112. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -2
  113. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  114. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +64 -64
  115. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue2.js +29 -29
  116. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +2 -2
  117. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
  118. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +12 -13
  119. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts +8 -0
  120. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts.map +1 -0
  121. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +9 -0
  122. package/dist/v2/blocks/request-block/helpers/get-request-body-example.d.ts +3 -1
  123. package/dist/v2/blocks/request-block/helpers/get-request-body-example.d.ts.map +1 -1
  124. package/dist/v2/blocks/request-block/helpers/get-request-body-example.js +9 -8
  125. package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +67 -67
  126. package/dist/v2/blocks/response-block/components/Headers.vue.js +35 -35
  127. package/dist/v2/blocks/response-block/components/ResponseBody.vue2.js +24 -24
  128. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.js +10 -10
  129. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue2.js +24 -24
  130. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.js +10 -10
  131. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.js +11 -11
  132. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +14 -14
  133. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue2.js +11 -11
  134. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js +33 -33
  135. package/dist/v2/blocks/response-block/helpers/media-types.d.ts +3 -6
  136. package/dist/v2/blocks/response-block/helpers/media-types.d.ts.map +1 -1
  137. package/dist/v2/blocks/response-block/helpers/media-types.js +0 -1
  138. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +72 -72
  139. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +9 -9
  140. package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.d.ts +0 -33
  141. package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.d.ts.map +1 -1
  142. package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.js +0 -1
  143. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  144. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +83 -82
  145. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +10 -10
  146. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +121 -121
  147. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue2.js +13 -13
  148. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +33 -33
  149. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  150. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +26 -26
  151. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +26 -26
  152. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +2 -2
  153. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  154. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +130 -122
  155. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +0 -21
  156. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  157. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +1 -3
  158. package/dist/v2/components/code-input/CodeInput.vue2.js +93 -93
  159. package/dist/v2/components/data-table/DataTable.vue.js +17 -17
  160. package/dist/v2/components/data-table/DataTableCell.vue.js +9 -9
  161. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +17 -17
  162. package/dist/v2/components/data-table/DataTableInput.vue2.js +48 -48
  163. package/dist/v2/components/data-table/DataTableInputSelect.vue.js +35 -35
  164. package/dist/v2/components/data-table/DataTableText.vue.js +10 -10
  165. package/dist/v2/components/forms/ConfirmationForm.vue.js +13 -13
  166. package/dist/v2/components/layout/CollapsibleSection.vue.js +42 -42
  167. package/dist/v2/components/modals/DeleteModal.vue.js +13 -13
  168. package/dist/v2/components/resize/Resize.vue2.js +11 -11
  169. package/dist/v2/components/server/ServerDropdown.vue.js +30 -30
  170. package/dist/v2/components/server/ServerDropdownItem.vue2.js +27 -27
  171. package/dist/v2/components/sidebar/Sidebar.vue.js +32 -32
  172. package/dist/v2/components/sidebar/SidebarMenu.vue.js +20 -20
  173. package/dist/v2/features/app/App.vue.js +25 -25
  174. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  175. package/dist/v2/features/app/app-events.js +55 -61
  176. package/dist/v2/features/app/components/AppSidebar.vue2.js +97 -97
  177. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +20 -20
  178. package/dist/v2/features/app/components/DesktopTab.vue2.js +59 -59
  179. package/dist/v2/features/app/components/DesktopTabs.vue.js +22 -22
  180. package/dist/v2/features/app/components/SidebarItemMenu.vue.js +6 -6
  181. package/dist/v2/features/app/components/WebTopNav.vue.js +9 -9
  182. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +2 -5
  183. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  184. package/dist/v2/features/app/helpers/create-api-client-app.js +1 -2
  185. package/dist/v2/features/app/helpers/routes.d.ts +5 -1
  186. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  187. package/dist/v2/features/collection/DocumentCollection.vue.js +31 -31
  188. package/dist/v2/features/collection/WorkspaceCollection.vue.js +17 -17
  189. package/dist/v2/features/collection/components/Authentication.vue2.js +18 -18
  190. package/dist/v2/features/collection/components/Cookies.vue.js +10 -10
  191. package/dist/v2/features/collection/components/Environment.vue.js +10 -10
  192. package/dist/v2/features/collection/components/Form.vue.js +21 -21
  193. package/dist/v2/features/collection/components/Overview.vue2.js +25 -25
  194. package/dist/v2/features/collection/components/Servers.vue.js +37 -37
  195. package/dist/v2/features/collection/components/Settings.vue.js +22 -22
  196. package/dist/v2/features/collection/components/Tabs.vue.js +18 -18
  197. package/dist/v2/features/command-palette/components/CommandActionForm.vue.js +20 -20
  198. package/dist/v2/features/command-palette/components/CommandActionInput.vue.js +17 -17
  199. package/dist/v2/features/command-palette/components/TheCommandPalette.vue2.js +68 -68
  200. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js +11 -11
  201. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts +2 -1
  202. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts.map +1 -1
  203. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts +2 -1
  204. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts.map +1 -1
  205. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +3 -3
  206. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
  207. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +0 -1
  208. package/dist/v2/features/command-palette/types.d.ts +11 -10
  209. package/dist/v2/features/command-palette/types.d.ts.map +1 -1
  210. package/dist/v2/features/environments/EnvironmentsList.vue.js +36 -36
  211. package/dist/v2/features/environments/components/Environment.vue.js +16 -16
  212. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +37 -37
  213. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +19 -19
  214. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +14 -14
  215. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +24 -24
  216. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +58 -58
  217. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +23 -23
  218. package/dist/v2/features/modal/Modal.vue.d.ts +1 -1
  219. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  220. package/dist/v2/features/modal/Modal.vue.js +1 -1
  221. package/dist/v2/features/modal/Modal.vue2.js +57 -56
  222. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +5 -4
  223. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
  224. package/dist/v2/features/modal/hooks/use-workspace-client-modal-events.d.ts.map +1 -1
  225. package/dist/v2/features/modal/hooks/use-workspace-client-modal-events.js +17 -21
  226. package/dist/v2/features/operation/Operation.vue.d.ts +5 -1
  227. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  228. package/dist/v2/features/operation/Operation.vue.js +41 -39
  229. package/dist/v2/features/search/components/SearchButton.vue.js +40 -40
  230. package/dist/v2/features/search/components/SearchModal.vue2.js +43 -43
  231. package/dist/v2/features/search/components/SearchResult.vue.js +34 -34
  232. package/dist/v2/features/search/types.d.ts +5 -4
  233. package/dist/v2/features/search/types.d.ts.map +1 -1
  234. package/dist/v2/features/settings/CollectionSettings.vue.js +51 -51
  235. package/dist/v2/features/settings/DocumentSettings.vue.js +25 -25
  236. package/dist/v2/features/settings/components/Appearance.vue.js +27 -27
  237. package/dist/v2/helpers/handle-hotkeys.d.ts +1 -12
  238. package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
  239. package/dist/v2/helpers/handle-hotkeys.js +0 -2
  240. package/dist/v2/helpers/plugins.d.ts +2 -2
  241. package/dist/v2/helpers/plugins.d.ts.map +1 -1
  242. package/dist/views/Collection/CollectionNavigation.vue.js +13 -13
  243. package/dist/views/Collection/components/EnvironmentForm.vue2.js +114 -114
  244. package/dist/views/Collection/components/MarkdownInput.vue2.js +31 -31
  245. package/dist/views/Cookies/CookieModal.vue2.js +26 -26
  246. package/dist/views/Environment/EnvironmentColorModal.vue.js +10 -10
  247. package/dist/views/Environment/EnvironmentColors.vue.js +56 -56
  248. package/dist/views/Environment/EnvironmentModal.vue.js +26 -26
  249. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +24 -24
  250. package/dist/views/Request/Request.vue2.js +55 -55
  251. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +17 -17
  252. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +102 -102
  253. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +27 -27
  254. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  255. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +91 -91
  256. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  257. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +36 -36
  258. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +101 -101
  259. package/dist/views/Request/RequestSection/RequestBody.vue2.js +154 -154
  260. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +35 -35
  261. package/dist/views/Request/RequestSection/RequestParams.vue.js +81 -81
  262. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +47 -47
  263. package/dist/views/Request/RequestSection/RequestSection.vue2.js +90 -90
  264. package/dist/views/Request/RequestSection/RequestTable.vue2.js +111 -111
  265. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +29 -29
  266. package/dist/views/Request/RequestSection/index.d.ts +1 -1
  267. package/dist/views/Request/RequestSection/index.d.ts.map +1 -1
  268. package/dist/views/Request/RequestSection/index.js +4 -4
  269. package/dist/views/Request/RequestSidebarItem.vue2.js +149 -149
  270. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +79 -79
  271. package/dist/views/Request/RequestSubpageHeader.vue2.js +30 -30
  272. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +29 -29
  273. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +37 -37
  274. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +10 -10
  275. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +24 -24
  276. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +10 -10
  277. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +16 -16
  278. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +21 -21
  279. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +30 -30
  280. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +37 -37
  281. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +61 -61
  282. package/package.json +24 -24
  283. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts +0 -6
  284. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +0 -1
  285. package/dist/components/ImportCollection/OperationBadge.vue.d.ts +0 -8
  286. package/dist/components/ImportCollection/OperationBadge.vue.d.ts.map +0 -1
  287. package/dist/components/ScreenReader.vue.d.ts +0 -20
  288. package/dist/components/ScreenReader.vue.d.ts.map +0 -1
  289. package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts +0 -9
  290. package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts.map +0 -1
  291. package/dist/views/Components/RequestBodies/RequestBodies.vue.d.ts +0 -3
  292. package/dist/views/Components/RequestBodies/RequestBodies.vue.d.ts.map +0 -1
  293. package/dist/views/Request/RequestSection/types/post-response.d.ts +0 -7
  294. package/dist/views/Request/RequestSection/types/post-response.d.ts.map +0 -1
@@ -1,43 +1,43 @@
1
- import { defineComponent as h, createBlock as x, openBlock as b, unref as o, withCtx as s, createElementVNode as c, toDisplayString as a, createVNode as r, createTextVNode as i } from "vue";
2
- import { ScalarModal as y, ScalarButton as m } from "@scalar/components";
3
- import { useWorkspace as S } from "../../../../store/store.js";
4
- const _ = { class: "text-c-2 mb-4 text-sm leading-normal" }, g = { class: "flex justify-between gap-2" }, v = /* @__PURE__ */ h({
1
+ import { defineComponent as h, createBlock as p, openBlock as x, unref as o, withCtx as s, createElementVNode as c, toDisplayString as a, createVNode as i, createTextVNode as r } from "vue";
2
+ import { ScalarModal as b, ScalarButton as m } from "@scalar/components";
3
+ import { useWorkspace as y } from "../../../../store/store.js";
4
+ const S = { class: "text-c-2 mb-4 text-sm leading-normal" }, g = { class: "flex justify-between gap-2" }, B = /* @__PURE__ */ h({
5
5
  __name: "DeleteRequestAuthModal",
6
6
  props: {
7
7
  state: {},
8
8
  scheme: {}
9
9
  },
10
10
  emits: ["close", "delete"],
11
- setup(u, { emit: d }) {
12
- const n = u, l = d, { securitySchemeMutators: p } = S(), f = () => {
13
- n.scheme?.id && p.delete(n.scheme.id), l("delete");
11
+ setup(e, { emit: u }) {
12
+ const n = e, l = u, { securitySchemeMutators: d } = y(), f = () => {
13
+ n.scheme?.id && d.delete(n.scheme.id), l("delete");
14
14
  };
15
- return (t, e) => (b(), x(o(y), {
15
+ return (k, t) => (x(), p(o(b), {
16
16
  size: "xxs",
17
- state: t.state,
17
+ state: e.state,
18
18
  title: "Delete Security Scheme"
19
19
  }, {
20
20
  default: s(() => [
21
- c("p", _, " This cannot be undone. You're about to delete the " + a(t.scheme?.label) + " security scheme from the collection. ", 1),
21
+ c("p", S, " This cannot be undone. You're about to delete the " + a(e.scheme?.label) + " security scheme from the collection. ", 1),
22
22
  c("div", g, [
23
- r(o(m), {
23
+ i(o(m), {
24
24
  class: "flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",
25
25
  type: "button",
26
26
  variant: "outlined",
27
- onClick: e[0] || (e[0] = (k) => l("close"))
27
+ onClick: t[0] || (t[0] = (C) => l("close"))
28
28
  }, {
29
- default: s(() => [...e[1] || (e[1] = [
30
- i(" Cancel ", -1)
29
+ default: s(() => [...t[1] || (t[1] = [
30
+ r(" Cancel ", -1)
31
31
  ])]),
32
32
  _: 1
33
33
  }),
34
- r(o(m), {
34
+ i(o(m), {
35
35
  class: "flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",
36
36
  type: "submit",
37
37
  onClick: f
38
38
  }, {
39
39
  default: s(() => [
40
- i(" Delete " + a(t.scheme?.label), 1)
40
+ r(" Delete " + a(e.scheme?.label), 1)
41
41
  ]),
42
42
  _: 1
43
43
  })
@@ -48,5 +48,5 @@ const _ = { class: "text-c-2 mb-4 text-sm leading-normal" }, g = { class: "flex
48
48
  }
49
49
  });
50
50
  export {
51
- v as default
51
+ B as default
52
52
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as T, createElementBlock as y, openBlock as d, Fragment as U, createBlock as k, createCommentVNode as p, createVNode as r, unref as a, withCtx as o, mergeProps as m, createTextVNode as u, createElementVNode as $, renderSlot as P } from "vue";
2
- import { useLoadingState as A, ScalarButton as z } from "@scalar/components";
3
- import { pkceOptions as B } from "@scalar/oas-utils/entities/spec";
4
- import { useToasts as R } from "@scalar/use-toasts";
5
- import { useWorkspace as F } from "../../../../store/store.js";
6
- import { updateScheme as I } from "../helpers/update-scheme.js";
7
- import N from "./OAuthScopesInput.vue.js";
8
- import w from "./RequestAuthDataTableInput.vue.js";
9
- import f from "../../../../components/DataTable/DataTableRow.vue.js";
10
- import { authorizeOauth2 as O } from "../../libs/oauth2.js";
11
- const j = { class: "flex h-8 items-center justify-end border-t" }, L = { class: "flex h-8 w-full items-center justify-end border-t" }, q = /* @__PURE__ */ T({
1
+ import { defineComponent as g, createElementBlock as U, openBlock as d, Fragment as x, createBlock as k, createCommentVNode as w, createVNode as a, unref as r, withCtx as t, mergeProps as i, createTextVNode as u, createElementVNode as v, renderSlot as T } from "vue";
2
+ import { useLoadingState as P, ScalarButton as $ } from "@scalar/components";
3
+ import { pkceOptions as A } from "@scalar/oas-utils/entities/spec";
4
+ import { useToasts as B } from "@scalar/use-toasts";
5
+ import { useWorkspace as R } from "../../../../store/store.js";
6
+ import { updateScheme as F } from "../helpers/update-scheme.js";
7
+ import I from "./OAuthScopesInput.vue.js";
8
+ import m from "./RequestAuthDataTableInput.vue.js";
9
+ import s from "../../../../components/DataTable/DataTableRow.vue.js";
10
+ import { authorizeOauth2 as N } from "../../libs/oauth2.js";
11
+ const O = { class: "flex h-8 items-center justify-end border-t" }, j = { class: "flex h-8 w-full items-center justify-end border-t" }, Y = /* @__PURE__ */ g({
12
12
  __name: "OAuth2",
13
13
  props: {
14
14
  collection: {},
@@ -21,38 +21,38 @@ const j = { class: "flex h-8 items-center justify-end border-t" }, L = { class:
21
21
  workspace: {}
22
22
  },
23
23
  emits: ["authorized"],
24
- setup(n, { emit: b }) {
25
- const C = b, V = A(), { toast: v } = R(), S = F(), s = (l, e) => I(n.scheme.uid, l, e, S, n.persistAuth), g = async () => {
26
- if (V.isActive || !n.collection?.uid)
24
+ setup(l, { emit: z }) {
25
+ const b = z, y = P(), { toast: c } = B(), C = R(), n = (V, e) => F(l.scheme.uid, V, e, C, l.persistAuth), S = async () => {
26
+ if (y.isActive || !l.collection?.uid)
27
27
  return;
28
- if (!n.server) {
29
- v("No server selected", "error");
28
+ if (!l.server) {
29
+ c("No server selected", "error");
30
30
  return;
31
31
  }
32
- V.start();
33
- const [l, e] = await O(
34
- n.flow,
35
- n.server,
36
- n.workspace?.proxyUrl
32
+ y.start();
33
+ const [V, e] = await N(
34
+ l.flow,
35
+ l.server,
36
+ l.workspace?.proxyUrl
37
37
  );
38
- await V.clear(), e ? (s(`flows.${n.flow.type}.token`, e), C("authorized")) : (console.error(l), v(l?.message ?? "Failed to authorize", "error"));
39
- }, i = {
40
- environment: n.environment,
41
- envVariables: n.envVariables,
42
- workspace: n.workspace
38
+ await y.clear(), e ? (n(`flows.${l.flow.type}.token`, e), b("authorized")) : (console.error(V), c(V?.message ?? "Failed to authorize", "error"));
39
+ }, f = {
40
+ environment: l.environment,
41
+ envVariables: l.envVariables,
42
+ workspace: l.workspace
43
43
  };
44
- return (l, e) => (d(), y(U, null, [
45
- l.flow.token ? (d(), y(U, { key: 0 }, [
46
- r(a(f), null, {
47
- default: o(() => [
48
- r(w, m(i, {
44
+ return (V, e) => (d(), U(x, null, [
45
+ l.flow.token ? (d(), U(x, { key: 0 }, [
46
+ a(r(s), null, {
47
+ default: t(() => [
48
+ a(m, i(f, {
49
49
  class: "border-r-transparent",
50
50
  modelValue: l.flow.token,
51
51
  placeholder: "QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",
52
52
  type: "password",
53
- "onUpdate:modelValue": e[0] || (e[0] = (t) => s(`flows.${l.flow.type}.token`, t))
53
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => n(`flows.${l.flow.type}.token`, o))
54
54
  }), {
55
- default: o(() => [...e[10] || (e[10] = [
55
+ default: t(() => [...e[10] || (e[10] = [
56
56
  u(" Access Token ", -1)
57
57
  ])]),
58
58
  _: 1
@@ -60,78 +60,78 @@ const j = { class: "flex h-8 items-center justify-end border-t" }, L = { class:
60
60
  ]),
61
61
  _: 1
62
62
  }),
63
- r(a(f), { class: "min-w-full" }, {
64
- default: o(() => [
65
- $("div", j, [
66
- r(a(z), {
63
+ a(r(s), { class: "min-w-full" }, {
64
+ default: t(() => [
65
+ v("div", O, [
66
+ a(r($), {
67
67
  class: "mr-1 p-0 px-2 py-0.5",
68
- loader: a(V),
68
+ loader: r(y),
69
69
  size: "sm",
70
70
  variant: "outlined",
71
- onClick: e[1] || (e[1] = (t) => s(`flows.${l.flow.type}.token`, ""))
71
+ onClick: e[1] || (e[1] = (o) => n(`flows.${l.flow.type}.token`, ""))
72
72
  }, {
73
- default: o(() => [...e[11] || (e[11] = [
73
+ default: t(() => [...e[11] || (e[11] = [
74
74
  u(" Clear ", -1)
75
75
  ])]),
76
76
  _: 1
77
77
  }, 8, ["loader"]),
78
- P(l.$slots, "oauth-actions")
78
+ T(V.$slots, "oauth-actions")
79
79
  ])
80
80
  ]),
81
81
  _: 3
82
82
  })
83
- ], 64)) : (d(), y(U, { key: 1 }, [
84
- r(a(f), null, {
85
- default: o(() => [
86
- "authorizationUrl" in l.flow ? (d(), k(w, m({ key: 0 }, i, {
83
+ ], 64)) : (d(), U(x, { key: 1 }, [
84
+ a(r(s), null, {
85
+ default: t(() => [
86
+ "authorizationUrl" in l.flow ? (d(), k(m, i({ key: 0 }, f, {
87
87
  containerClass: "border-r-0",
88
88
  modelValue: l.flow.authorizationUrl,
89
89
  placeholder: "https://galaxy.scalar.com/authorize",
90
- "onUpdate:modelValue": e[2] || (e[2] = (t) => s(`flows.${l.flow.type}.authorizationUrl`, t))
90
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => n(`flows.${l.flow.type}.authorizationUrl`, o))
91
91
  }), {
92
- default: o(() => [...e[12] || (e[12] = [
92
+ default: t(() => [...e[12] || (e[12] = [
93
93
  u(" Auth URL ", -1)
94
94
  ])]),
95
95
  _: 1
96
- }, 16, ["modelValue"])) : p("", !0),
97
- "tokenUrl" in l.flow ? (d(), k(w, m({ key: 1 }, i, {
96
+ }, 16, ["modelValue"])) : w("", !0),
97
+ "tokenUrl" in l.flow ? (d(), k(m, i({ key: 1 }, f, {
98
98
  modelValue: l.flow.tokenUrl,
99
99
  placeholder: "https://galaxy.scalar.com/token",
100
- "onUpdate:modelValue": e[3] || (e[3] = (t) => s(`flows.${l.flow.type}.tokenUrl`, t))
100
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => n(`flows.${l.flow.type}.tokenUrl`, o))
101
101
  }), {
102
- default: o(() => [...e[13] || (e[13] = [
102
+ default: t(() => [...e[13] || (e[13] = [
103
103
  u(" Token URL ", -1)
104
104
  ])]),
105
105
  _: 1
106
- }, 16, ["modelValue"])) : p("", !0)
106
+ }, 16, ["modelValue"])) : w("", !0)
107
107
  ]),
108
108
  _: 1
109
109
  }),
110
- "x-scalar-redirect-uri" in l.flow ? (d(), k(a(f), { key: 0 }, {
111
- default: o(() => [
112
- r(w, m(i, {
110
+ "x-scalar-redirect-uri" in l.flow ? (d(), k(r(s), { key: 0 }, {
111
+ default: t(() => [
112
+ a(m, i(f, {
113
113
  modelValue: l.flow["x-scalar-redirect-uri"],
114
114
  placeholder: "https://galaxy.scalar.com/callback",
115
- "onUpdate:modelValue": e[4] || (e[4] = (t) => s(`flows.${l.flow.type}.x-scalar-redirect-uri`, t))
115
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => n(`flows.${l.flow.type}.x-scalar-redirect-uri`, o))
116
116
  }), {
117
- default: o(() => [...e[14] || (e[14] = [
117
+ default: t(() => [...e[14] || (e[14] = [
118
118
  u(" Redirect URL ", -1)
119
119
  ])]),
120
120
  _: 1
121
121
  }, 16, ["modelValue"])
122
122
  ]),
123
123
  _: 1
124
- })) : p("", !0),
125
- l.flow.type === "password" ? (d(), y(U, { key: 1 }, [
126
- r(a(f), null, {
127
- default: o(() => [
128
- r(w, m(i, {
124
+ })) : w("", !0),
125
+ l.flow.type === "password" ? (d(), U(x, { key: 1 }, [
126
+ a(r(s), null, {
127
+ default: t(() => [
128
+ a(m, i(f, {
129
129
  class: "text-c-2",
130
130
  modelValue: l.flow.username,
131
131
  placeholder: "janedoe",
132
- "onUpdate:modelValue": e[5] || (e[5] = (t) => s(`flows.${l.flow.type}.username`, t))
132
+ "onUpdate:modelValue": e[5] || (e[5] = (o) => n(`flows.${l.flow.type}.username`, o))
133
133
  }), {
134
- default: o(() => [...e[15] || (e[15] = [
134
+ default: t(() => [...e[15] || (e[15] = [
135
135
  u(" Username ", -1)
136
136
  ])]),
137
137
  _: 1
@@ -139,15 +139,15 @@ const j = { class: "flex h-8 items-center justify-end border-t" }, L = { class:
139
139
  ]),
140
140
  _: 1
141
141
  }),
142
- r(a(f), null, {
143
- default: o(() => [
144
- r(w, m(i, {
142
+ a(r(s), null, {
143
+ default: t(() => [
144
+ a(m, i(f, {
145
145
  modelValue: l.flow.password,
146
146
  placeholder: "********",
147
147
  type: "password",
148
- "onUpdate:modelValue": e[6] || (e[6] = (t) => s(`flows.${l.flow.type}.password`, t))
148
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => n(`flows.${l.flow.type}.password`, o))
149
149
  }), {
150
- default: o(() => [...e[16] || (e[16] = [
150
+ default: t(() => [...e[16] || (e[16] = [
151
151
  u(" Password ", -1)
152
152
  ])]),
153
153
  _: 1
@@ -155,15 +155,15 @@ const j = { class: "flex h-8 items-center justify-end border-t" }, L = { class:
155
155
  ]),
156
156
  _: 1
157
157
  })
158
- ], 64)) : p("", !0),
159
- r(a(f), null, {
160
- default: o(() => [
161
- r(w, m(i, {
158
+ ], 64)) : w("", !0),
159
+ a(r(s), null, {
160
+ default: t(() => [
161
+ a(m, i(f, {
162
162
  modelValue: l.flow["x-scalar-client-id"],
163
163
  placeholder: "12345",
164
- "onUpdate:modelValue": e[7] || (e[7] = (t) => s(`flows.${l.flow.type}.x-scalar-client-id`, t))
164
+ "onUpdate:modelValue": e[7] || (e[7] = (o) => n(`flows.${l.flow.type}.x-scalar-client-id`, o))
165
165
  }), {
166
- default: o(() => [...e[17] || (e[17] = [
166
+ default: t(() => [...e[17] || (e[17] = [
167
167
  u(" Client ID ", -1)
168
168
  ])]),
169
169
  _: 1
@@ -171,65 +171,65 @@ const j = { class: "flex h-8 items-center justify-end border-t" }, L = { class:
171
171
  ]),
172
172
  _: 1
173
173
  }),
174
- "clientSecret" in l.flow ? (d(), k(a(f), { key: 2 }, {
175
- default: o(() => [
176
- r(w, m(i, {
174
+ "clientSecret" in l.flow ? (d(), k(r(s), { key: 2 }, {
175
+ default: t(() => [
176
+ a(m, i(f, {
177
177
  modelValue: l.flow.clientSecret,
178
178
  placeholder: "XYZ123",
179
179
  type: "password",
180
- "onUpdate:modelValue": e[8] || (e[8] = (t) => s(`flows.${l.flow.type}.clientSecret`, t))
180
+ "onUpdate:modelValue": e[8] || (e[8] = (o) => n(`flows.${l.flow.type}.clientSecret`, o))
181
181
  }), {
182
- default: o(() => [...e[18] || (e[18] = [
182
+ default: t(() => [...e[18] || (e[18] = [
183
183
  u(" Client Secret ", -1)
184
184
  ])]),
185
185
  _: 1
186
186
  }, 16, ["modelValue"])
187
187
  ]),
188
188
  _: 1
189
- })) : p("", !0),
190
- "x-usePkce" in l.flow ? (d(), k(a(f), { key: 3 }, {
191
- default: o(() => [
192
- r(w, m(i, {
193
- enum: a(B),
189
+ })) : w("", !0),
190
+ "x-usePkce" in l.flow ? (d(), k(r(s), { key: 3 }, {
191
+ default: t(() => [
192
+ a(m, i(f, {
193
+ enum: r(A),
194
194
  modelValue: l.flow["x-usePkce"],
195
195
  readOnly: "",
196
- "onUpdate:modelValue": e[9] || (e[9] = (t) => s(
196
+ "onUpdate:modelValue": e[9] || (e[9] = (o) => n(
197
197
  `flows.${l.flow.type}.x-usePkce`,
198
- t
198
+ o
199
199
  ))
200
200
  }), {
201
- default: o(() => [...e[19] || (e[19] = [
201
+ default: t(() => [...e[19] || (e[19] = [
202
202
  u(" Use PKCE ", -1)
203
203
  ])]),
204
204
  _: 1
205
205
  }, 16, ["enum", "modelValue"])
206
206
  ]),
207
207
  _: 1
208
- })) : p("", !0),
209
- Object.keys(l.flow.scopes ?? {}).length ? (d(), k(a(f), { key: 4 }, {
210
- default: o(() => [
211
- r(N, {
208
+ })) : w("", !0),
209
+ Object.keys(l.flow.scopes ?? {}).length ? (d(), k(r(s), { key: 4 }, {
210
+ default: t(() => [
211
+ a(I, {
212
212
  flow: l.flow,
213
- updateScheme: s
213
+ updateScheme: n
214
214
  }, null, 8, ["flow"])
215
215
  ]),
216
216
  _: 1
217
- })) : p("", !0)
217
+ })) : w("", !0)
218
218
  ], 64)),
219
- l.flow.token ? p("", !0) : (d(), k(a(f), {
219
+ l.flow.token ? w("", !0) : (d(), k(r(s), {
220
220
  key: 2,
221
221
  class: "min-w-full"
222
222
  }, {
223
- default: o(() => [
224
- $("div", L, [
225
- r(a(z), {
223
+ default: t(() => [
224
+ v("div", j, [
225
+ a(r($), {
226
226
  class: "mr-0.75 p-0 px-2 py-0.5",
227
- loader: a(V),
227
+ loader: r(y),
228
228
  size: "sm",
229
229
  variant: "outlined",
230
- onClick: g
230
+ onClick: S
231
231
  }, {
232
- default: o(() => [...e[20] || (e[20] = [
232
+ default: t(() => [...e[20] || (e[20] = [
233
233
  u(" Authorize ", -1)
234
234
  ])]),
235
235
  _: 1
@@ -242,5 +242,5 @@ const j = { class: "flex h-8 items-center justify-end border-t" }, L = { class:
242
242
  }
243
243
  });
244
244
  export {
245
- q as default
245
+ Y as default
246
246
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, computed as f, createBlock as u, openBlock as n, unref as l, withCtx as c, createElementVNode as a, createVNode as i, normalizeClass as $, toDisplayString as d, createCommentVNode as m, withModifiers as w, createTextVNode as p, createElementBlock as x, Fragment as A, renderList as B } from "vue";
1
+ import { defineComponent as V, computed as f, createBlock as r, openBlock as n, unref as l, withCtx as s, createElementVNode as a, createVNode as i, normalizeClass as $, toDisplayString as d, createCommentVNode as m, withModifiers as w, createTextVNode as p, createElementBlock as x, Fragment as A, renderList as B } from "vue";
2
2
  import { Disclosure as O, DisclosureButton as j, DisclosurePanel as z } from "@headlessui/vue";
3
3
  import { ScalarButton as v, ScalarIcon as N } from "@scalar/components";
4
4
  import g from "../../../../components/DataTable/DataTableCell.vue.js";
@@ -15,19 +15,19 @@ const F = { class: "flex h-fit w-full" }, I = { class: "flex-1" }, R = { class:
15
15
  },
16
16
  setup(e) {
17
17
  const y = f(
18
- () => Object.entries(e.flow?.scopes ?? {}).map(([o, t]) => ({
19
- id: o,
20
- label: o,
18
+ () => Object.entries(e.flow?.scopes ?? {}).map(([c, t]) => ({
19
+ id: c,
20
+ label: c,
21
21
  description: t
22
22
  }))
23
- ), r = f(() => e.flow?.selectedScopes || []);
24
- function k(o, t) {
23
+ ), u = f(() => e.flow?.selectedScopes || []);
24
+ function k(c, t) {
25
25
  t ? e.updateScheme(`flows.${e.flow.type}.selectedScopes`, [
26
- ...r.value,
27
- o
26
+ ...u.value,
27
+ c
28
28
  ]) : e.updateScheme(
29
29
  `flows.${e.flow.type}.selectedScopes`,
30
- r.value.filter((s) => s !== o)
30
+ u.value.filter((o) => o !== c)
31
31
  );
32
32
  }
33
33
  const h = f(
@@ -40,51 +40,51 @@ const F = { class: "flex h-fit w-full" }, I = { class: "flex-1" }, R = { class:
40
40
  }, b = () => {
41
41
  e.updateScheme(`flows.${e.flow.type}.selectedScopes`, []);
42
42
  };
43
- return (o, t) => (n(), u(l(g), { class: "h-auto !max-h-[initial] min-h-8 items-center" }, {
44
- default: c(() => [
43
+ return (c, t) => (n(), r(l(g), { class: "h-auto !max-h-[initial] min-h-8 items-center" }, {
44
+ default: s(() => [
45
45
  a("div", F, [
46
46
  t[2] || (t[2] = a("div", { class: "text-c-1 h-full items-center" }, null, -1)),
47
47
  i(l(O), {
48
48
  as: "div",
49
49
  class: "bl flex w-full flex-col"
50
50
  }, {
51
- default: c(() => [
51
+ default: s(() => [
52
52
  i(l(j), {
53
53
  class: $([
54
54
  "group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pr-2.25 pl-3 text-left",
55
- (o.flow?.selectedScopes?.length || 0) > 0 ? "text-c-1" : "text-c-3"
55
+ (e.flow?.selectedScopes?.length || 0) > 0 ? "text-c-1" : "text-c-3"
56
56
  ])
57
57
  }, {
58
- default: c(({ open: s }) => [
59
- a("div", I, " Scopes Selected " + d(o.flow?.selectedScopes?.length || 0) + " / " + d(Object.keys(o.flow?.scopes ?? {}).length || 0), 1),
58
+ default: s(({ open: o }) => [
59
+ a("div", I, " Scopes Selected " + d(e.flow?.selectedScopes?.length || 0) + " / " + d(Object.keys(e.flow?.scopes ?? {}).length || 0), 1),
60
60
  a("div", R, [
61
- h.value ? (n(), u(l(v), {
61
+ h.value ? (n(), r(l(v), {
62
62
  key: 0,
63
63
  class: "pr-0.75 pl-1 transition-none",
64
64
  size: "sm",
65
65
  variant: "ghost",
66
66
  onClick: w(b, ["stop"])
67
67
  }, {
68
- default: c(() => [...t[0] || (t[0] = [
68
+ default: s(() => [...t[0] || (t[0] = [
69
69
  p(" Deselect All ", -1)
70
70
  ])]),
71
71
  _: 1
72
72
  })) : m("", !0),
73
- h.value ? m("", !0) : (n(), u(l(v), {
73
+ h.value ? m("", !0) : (n(), r(l(v), {
74
74
  key: 1,
75
75
  class: "pr-0.75 pl-1 transition-none",
76
76
  size: "sm",
77
77
  variant: "ghost",
78
78
  onClick: w(C, ["stop"])
79
79
  }, {
80
- default: c(() => [...t[1] || (t[1] = [
80
+ default: s(() => [...t[1] || (t[1] = [
81
81
  p(" Select All ", -1)
82
82
  ])]),
83
83
  _: 1
84
84
  })),
85
85
  i(l(N), {
86
86
  class: "text-c-3 group-hover/scopes-accordion:text-c-2",
87
- icon: s ? "ChevronDown" : "ChevronRight",
87
+ icon: o ? "ChevronDown" : "ChevronRight",
88
88
  size: "md"
89
89
  }, null, 8, ["icon"])
90
90
  ])
@@ -92,16 +92,16 @@ const F = { class: "flex h-fit w-full" }, I = { class: "flex-1" }, R = { class:
92
92
  _: 1
93
93
  }, 8, ["class"]),
94
94
  i(l(z), { as: "template" }, {
95
- default: c(() => [
95
+ default: s(() => [
96
96
  a("table", L, [
97
- (n(!0), x(A, null, B(y.value, ({ id: s, label: D, description: S }) => (n(), u(l(T), {
98
- key: s,
97
+ (n(!0), x(A, null, B(y.value, ({ id: o, label: D, description: S }) => (n(), r(l(T), {
98
+ key: o,
99
99
  class: "text-c-2",
100
- onClick: (U) => k(s, !r.value.includes(s))
100
+ onClick: (U) => k(o, !u.value.includes(o))
101
101
  }, {
102
- default: c(() => [
102
+ default: s(() => [
103
103
  i(l(g), { class: "hover:text-c-1 box-border !max-h-[initial] w-full cursor-pointer px-3 py-1.5" }, {
104
- default: c(() => [
104
+ default: s(() => [
105
105
  S ? (n(), x("div", M, [
106
106
  a("span", P, d(D), 1),
107
107
  p(" – " + d(S), 1)
@@ -110,7 +110,7 @@ const F = { class: "flex h-fit w-full" }, I = { class: "flex-1" }, R = { class:
110
110
  _: 2
111
111
  }, 1024),
112
112
  i(l(E), {
113
- modelValue: r.value.includes(s),
113
+ modelValue: u.value.includes(o),
114
114
  "onUpdate:modelValue": () => {
115
115
  }
116
116
  }, null, 8, ["modelValue"])
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":"AAkaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAKrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAa1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;AAuBF,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;CAChC,CAAC;AA+gBF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAhU+C,CAAC;;;;;;;;;yCAQnD,CAAC;wCACZ,CAAC;6BACsC,CAAC;;oBAER,CAAC;;;;;;;;;;;yCAOT,CAAC;wCAEP,CAAC;6BAIuB,CAAC;+CACa,CAAC;;6BAGtC,CAAC;;;;;;;;;yCAGxB,CAAC;wCACO,CAAC;6BAEP,CAAA;+CACmC,CAAC;;6BAGlB,CAAC;;;;;;;;;;;;yCAeO,CAAC;wCACN,CAAC;6BAA+D,CAAC;+CACnD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAxD2B,CAAC;;;;;;;;;yCAQnD,CAAC;wCACZ,CAAC;6BACsC,CAAC;;oBAER,CAAC;;;;;;;;;;;yCAOT,CAAC;wCAEP,CAAC;6BAIuB,CAAC;+CACa,CAAC;;6BAGtC,CAAC;;;;;;;;;yCAGxB,CAAC;wCACO,CAAC;6BAEP,CAAA;+CACmC,CAAC;;6BAGlB,CAAC;;;;;;;;;;;;yCAeO,CAAC;wCACN,CAAC;6BAA+D,CAAC;+CACnD,CAAC;;;;;;;;kFA+QvC,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":"AAkaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAKrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAa1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;AAuBF,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;CAChC,CAAC;AA+gBF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAhUuG,CAAC;;;;;;;;;yCAQnD,CAAC;wCAErC,CAAC;6BAEN,CAAC;;oBAE/B,CAAC;;;;;;;;;;;yCAOE,CAAC;wCAIkC,CAAC;6BACW,CAAC;+CAGtD,CAAC;;6BAAiF,CAAC;;;;;;;;;yCAGxB,CAAC;wCAEtB,CAAA;6BAER,CAAC;+CAEE,CAAC;;6BAK5B,CAAC;;;;;;;;;;;;yCAYA,CAAC;wCAA0E,CAAC;6BACrD,CAAC;+CACsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAzDsE,CAAC;;;;;;;;;yCAQnD,CAAC;wCAErC,CAAC;6BAEN,CAAC;;oBAE/B,CAAC;;;;;;;;;;;yCAOE,CAAC;wCAIkC,CAAC;6BACW,CAAC;+CAGtD,CAAC;;6BAAiF,CAAC;;;;;;;;;yCAGxB,CAAC;wCAEtB,CAAA;6BAER,CAAC;+CAEE,CAAC;;6BAK5B,CAAC;;;;;;;;;;;;yCAYA,CAAC;wCAA0E,CAAC;6BACrD,CAAC;+CACsB,CAAC;;;;;;;;kFA8QpD,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}