@scalar/api-client 2.6.1 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/README.md +1 -1
  3. package/dist/analytics.d.ts +2 -18
  4. package/dist/analytics.d.ts.map +1 -1
  5. package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
  6. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  7. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +66 -42
  8. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  9. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  10. package/dist/components/DataTable/DataTableInputSelect.vue.js +21 -22
  11. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  12. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +4 -5
  13. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  14. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  15. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +13 -14
  16. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  17. package/dist/components/Sidebar/SidebarButton.vue.js +0 -1
  18. package/dist/hooks/useAnalytics.d.ts +2 -18
  19. package/dist/hooks/useAnalytics.d.ts.map +1 -1
  20. package/dist/hooks/useClientConfig.d.ts +114 -120
  21. package/dist/hooks/useClientConfig.d.ts.map +1 -1
  22. package/dist/hooks/useResponseBody.js +6 -6
  23. package/dist/layouts/App/create-api-client-app.d.ts +1379 -1307
  24. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  25. package/dist/layouts/Modal/create-api-client-modal.d.ts +2754 -2610
  26. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  27. package/dist/layouts/Web/create-api-client-web.d.ts +1379 -1307
  28. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  29. package/dist/libs/create-client.d.ts +1379 -1307
  30. package/dist/libs/create-client.d.ts.map +1 -1
  31. package/dist/libs/find-request.d.ts +17 -17
  32. package/dist/libs/find-request.d.ts.map +1 -1
  33. package/dist/libs/hot-keys.d.ts +1 -1
  34. package/dist/libs/local-storage.d.ts.map +1 -1
  35. package/dist/libs/send-request/build-request-security.d.ts +1 -1
  36. package/dist/libs/send-request/create-fetch-body.d.ts +1 -1
  37. package/dist/libs/send-request/create-request-operation.d.ts +2 -2
  38. package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
  39. package/dist/libs/send-request/create-request-operation.js +19 -19
  40. package/dist/libs/send-request/create-request-operation.test.d.ts +82 -82
  41. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  42. package/dist/plugins/plugin-manager.d.ts +3 -3
  43. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  44. package/dist/store/active-entities.d.ts +118 -118
  45. package/dist/store/active-entities.d.ts.map +1 -1
  46. package/dist/store/collections.d.ts +127 -127
  47. package/dist/store/collections.d.ts.map +1 -1
  48. package/dist/store/cookies.d.ts +14 -14
  49. package/dist/store/environment.d.ts +23 -23
  50. package/dist/store/request-example.d.ts +546 -546
  51. package/dist/store/request-example.d.ts.map +1 -1
  52. package/dist/store/requests.d.ts +194 -194
  53. package/dist/store/requests.d.ts.map +1 -1
  54. package/dist/store/security-schemes.d.ts +281 -281
  55. package/dist/store/security-schemes.d.ts.map +1 -1
  56. package/dist/store/servers.d.ts +45 -45
  57. package/dist/store/servers.d.ts.map +1 -1
  58. package/dist/store/store.d.ts +1379 -1307
  59. package/dist/store/store.d.ts.map +1 -1
  60. package/dist/store/store.js +18 -18
  61. package/dist/store/tags.d.ts +35 -35
  62. package/dist/store/tags.d.ts.map +1 -1
  63. package/dist/store/workspace.d.ts +47 -47
  64. package/dist/store/workspace.d.ts.map +1 -1
  65. package/dist/style.css +1 -1
  66. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
  67. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.js +2 -3
  68. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts +2 -0
  69. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts.map +1 -0
  70. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts +25 -0
  71. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts.map +1 -0
  72. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.js +30 -0
  73. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue2.js +4 -0
  74. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
  75. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +3 -3
  76. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +104 -98
  77. package/dist/v2/blocks/operation-code-sample/helpers/find-client.js +16 -14
  78. package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.js +31 -2
  79. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts +6 -1
  80. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts.map +1 -1
  81. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +198 -131
  82. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts +2 -0
  83. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts.map +1 -0
  84. package/dist/v2/blocks/operation-code-sample/index.d.ts +4 -1
  85. package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
  86. package/dist/v2/blocks/operation-code-sample/index.js +10 -4
  87. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  88. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -1
  89. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +31 -32
  90. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +2 -6
  91. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
  92. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts +2 -0
  93. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts.map +1 -0
  94. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +39 -0
  95. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -0
  96. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +7 -0
  97. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +226 -0
  98. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts +66 -0
  99. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +1 -0
  100. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +7 -0
  101. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +200 -0
  102. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts +2 -0
  103. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts.map +1 -0
  104. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts +51 -0
  105. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +1 -0
  106. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +89 -0
  107. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue2.js +4 -0
  108. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts +2 -0
  109. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts.map +1 -0
  110. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts +46 -0
  111. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +1 -0
  112. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +7 -0
  113. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +85 -0
  114. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts +2 -0
  115. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts.map +1 -0
  116. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts +43 -0
  117. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +1 -0
  118. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +193 -0
  119. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue2.js +4 -0
  120. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts +2 -0
  121. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts.map +1 -0
  122. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.d.ts +8 -0
  123. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.d.ts.map +1 -0
  124. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.js +7 -0
  125. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue2.js +62 -0
  126. package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts +2 -0
  127. package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts.map +1 -0
  128. package/dist/v2/blocks/scalar-operation-block/helpers/files.d.ts +5 -0
  129. package/dist/v2/blocks/scalar-operation-block/helpers/files.d.ts.map +1 -0
  130. package/dist/v2/blocks/scalar-operation-block/helpers/files.js +7 -0
  131. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.d.ts +8 -0
  132. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.d.ts.map +1 -0
  133. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.js +9 -0
  134. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts +2 -0
  135. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts.map +1 -0
  136. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.d.ts +6 -0
  137. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.d.ts.map +1 -0
  138. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.js +12 -0
  139. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts +2 -0
  140. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts.map +1 -0
  141. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.d.ts +6 -0
  142. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.d.ts.map +1 -0
  143. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.js +6 -0
  144. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts +2 -0
  145. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts.map +1 -0
  146. package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.d.ts +3 -0
  147. package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.d.ts.map +1 -0
  148. package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.js +5 -0
  149. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.d.ts +5 -0
  150. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.d.ts.map +1 -0
  151. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.js +7 -0
  152. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts +2 -0
  153. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts.map +1 -0
  154. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.d.ts +11 -0
  155. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.d.ts.map +1 -0
  156. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.js +32 -0
  157. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts +2 -0
  158. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts.map +1 -0
  159. package/dist/v2/blocks/scalar-operation-block/index.d.ts +2 -0
  160. package/dist/v2/blocks/scalar-operation-block/index.d.ts.map +1 -0
  161. package/dist/v2/blocks/scalar-operation-block/index.js +4 -0
  162. package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts +2 -0
  163. package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts.map +1 -0
  164. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts +20 -0
  165. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts.map +1 -0
  166. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +98 -0
  167. package/dist/v2/blocks/scalar-response-block/components/Headers.vue2.js +4 -0
  168. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts +2 -0
  169. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts.map +1 -0
  170. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +47 -0
  171. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -0
  172. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +7 -0
  173. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +182 -0
  174. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts +12 -0
  175. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts.map +1 -0
  176. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.js +7 -0
  177. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +88 -0
  178. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts +2 -0
  179. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts.map +1 -0
  180. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.d.ts +8 -0
  181. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.d.ts.map +1 -0
  182. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.js +36 -0
  183. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue2.js +4 -0
  184. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.d.ts +13 -0
  185. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.d.ts.map +1 -0
  186. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.js +14 -0
  187. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts +2 -0
  188. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts.map +1 -0
  189. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.d.ts +10 -0
  190. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -0
  191. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.js +7 -0
  192. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +64 -0
  193. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.d.ts +8 -0
  194. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -0
  195. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.js +7 -0
  196. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue2.js +41 -0
  197. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts +2 -0
  198. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts.map +1 -0
  199. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts +6 -0
  200. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -0
  201. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.js +74 -0
  202. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue2.js +4 -0
  203. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.d.ts +10 -0
  204. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -0
  205. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.js +25 -0
  206. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue2.js +4 -0
  207. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts +11 -0
  208. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -0
  209. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +52 -0
  210. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue3.js +5 -0
  211. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts +2 -0
  212. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts.map +1 -0
  213. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts +9 -0
  214. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts.map +1 -0
  215. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +54 -0
  216. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue2.js +4 -0
  217. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.d.ts +23 -0
  218. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.d.ts.map +1 -0
  219. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +7 -0
  220. package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +88 -0
  221. package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.d.ts +8 -0
  222. package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -0
  223. package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.js +7 -0
  224. package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +41 -0
  225. package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.d.ts +10 -0
  226. package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -0
  227. package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.js +61 -0
  228. package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue2.js +4 -0
  229. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.d.ts +5 -0
  230. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.d.ts.map +1 -0
  231. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.js +18 -0
  232. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts +2 -0
  233. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts.map +1 -0
  234. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.d.ts +4 -0
  235. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.d.ts.map +1 -0
  236. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.js +12 -0
  237. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts +2 -0
  238. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts.map +1 -0
  239. package/dist/v2/blocks/scalar-response-block/helpers/media-types.d.ts +20 -0
  240. package/dist/v2/blocks/scalar-response-block/helpers/media-types.d.ts.map +1 -0
  241. package/dist/v2/blocks/scalar-response-block/helpers/media-types.js +127 -0
  242. package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts +2 -0
  243. package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts.map +1 -0
  244. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.d.ts +17 -0
  245. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.d.ts.map +1 -0
  246. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.js +16 -0
  247. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts +2 -0
  248. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts.map +1 -0
  249. package/dist/v2/blocks/scalar-response-block/index.d.ts +2 -0
  250. package/dist/v2/blocks/scalar-response-block/index.d.ts.map +1 -0
  251. package/dist/v2/blocks/scalar-response-block/index.js +4 -0
  252. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +54 -54
  253. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  254. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  255. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +31 -32
  256. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +54 -54
  257. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  258. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  259. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  260. package/dist/views/Request/RequestSection/RequestBody.vue2.js +0 -1
  261. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  262. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  263. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +13 -14
  264. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  265. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  266. package/dist/views/Request/components/WorkspaceDropdown.vue.js +5 -6
  267. package/dist/views/Request/libs/auth.d.ts +2 -2
  268. package/dist/views/Request/libs/watch-mode.d.ts +4 -4
  269. package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
  270. package/dist/views/Request/libs/watch-mode.js +241 -186
  271. package/package.json +21 -16
@@ -24,69 +24,67 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
24
24
  authorized: () => any;
25
25
  activeSchemes: (schemes: ({
26
26
  type: "apiKey";
27
- value: string;
28
27
  name: string;
29
- uid: string & import("zod").BRAND<"securityScheme">;
30
- nameKey: string;
31
28
  in: "cookie" | "query" | "header";
29
+ uid: string & import("zod").$brand<"securityScheme">;
30
+ nameKey: string;
31
+ value: string;
32
32
  description?: string | undefined;
33
33
  } | {
34
34
  type: "http";
35
- uid: string & import("zod").BRAND<"securityScheme">;
36
- nameKey: string;
37
35
  scheme: "basic" | "bearer";
38
36
  bearerFormat: string;
37
+ uid: string & import("zod").$brand<"securityScheme">;
38
+ nameKey: string;
39
39
  username: string;
40
40
  password: string;
41
41
  token: string;
42
42
  description?: string | undefined;
43
43
  } | {
44
44
  type: "openIdConnect";
45
- uid: string & import("zod").BRAND<"securityScheme">;
46
- nameKey: string;
47
45
  openIdConnectUrl: string;
46
+ uid: string & import("zod").$brand<"securityScheme">;
47
+ nameKey: string;
48
48
  description?: string | undefined;
49
49
  } | {
50
50
  type: "oauth2";
51
- uid: string & import("zod").BRAND<"securityScheme">;
52
- nameKey: string;
53
51
  flows: {
54
- password?: {
55
- type: "password";
56
- username: string;
57
- password: string;
58
- token: string;
52
+ implicit?: {
59
53
  refreshUrl: string;
60
54
  scopes: Record<string, string>;
61
55
  selectedScopes: string[];
62
56
  "x-scalar-client-id": string;
63
- tokenUrl: string;
64
- clientSecret: string;
57
+ token: string;
58
+ type: "implicit";
59
+ authorizationUrl: string;
60
+ "x-scalar-redirect-uri": string;
65
61
  "x-scalar-security-query"?: Record<string, string> | undefined;
66
62
  "x-scalar-security-body"?: Record<string, string> | undefined;
67
63
  "x-tokenName"?: string | undefined;
68
- "x-scalar-credentials-location"?: "header" | "body" | undefined;
69
64
  } | undefined;
70
- implicit?: {
71
- type: "implicit";
72
- token: string;
65
+ password?: {
73
66
  refreshUrl: string;
74
67
  scopes: Record<string, string>;
75
68
  selectedScopes: string[];
76
69
  "x-scalar-client-id": string;
77
- authorizationUrl: string;
78
- "x-scalar-redirect-uri": string;
70
+ token: string;
71
+ type: "password";
72
+ tokenUrl: string;
73
+ clientSecret: string;
74
+ username: string;
75
+ password: string;
79
76
  "x-scalar-security-query"?: Record<string, string> | undefined;
80
77
  "x-scalar-security-body"?: Record<string, string> | undefined;
81
78
  "x-tokenName"?: string | undefined;
79
+ "x-scalar-credentials-location"?: "header" | "body" | undefined;
82
80
  } | undefined;
83
81
  clientCredentials?: {
84
- type: "clientCredentials";
85
- token: string;
86
82
  refreshUrl: string;
87
83
  scopes: Record<string, string>;
88
84
  selectedScopes: string[];
89
85
  "x-scalar-client-id": string;
86
+ token: string;
87
+ type: "clientCredentials";
90
88
  tokenUrl: string;
91
89
  clientSecret: string;
92
90
  "x-scalar-security-query"?: Record<string, string> | undefined;
@@ -95,23 +93,25 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
95
93
  "x-scalar-credentials-location"?: "header" | "body" | undefined;
96
94
  } | undefined;
97
95
  authorizationCode?: {
98
- type: "authorizationCode";
99
- token: string;
100
96
  refreshUrl: string;
101
97
  scopes: Record<string, string>;
102
98
  selectedScopes: string[];
103
99
  "x-scalar-client-id": string;
100
+ token: string;
101
+ type: "authorizationCode";
104
102
  authorizationUrl: string;
103
+ "x-usePkce": "SHA-256" | "plain" | "no";
105
104
  "x-scalar-redirect-uri": string;
106
105
  tokenUrl: string;
107
106
  clientSecret: string;
108
- "x-usePkce": "SHA-256" | "plain" | "no";
109
107
  "x-scalar-security-query"?: Record<string, string> | undefined;
110
108
  "x-scalar-security-body"?: Record<string, string> | undefined;
111
109
  "x-tokenName"?: string | undefined;
112
110
  "x-scalar-credentials-location"?: "header" | "body" | undefined;
113
111
  } | undefined;
114
112
  };
113
+ uid: string & import("zod").$brand<"securityScheme">;
114
+ nameKey: string;
115
115
  description?: string | undefined;
116
116
  'x-default-scopes'?: string[] | undefined;
117
117
  })[]) => any;
@@ -119,69 +119,67 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
119
119
  onAuthorized?: (() => any) | undefined;
120
120
  onActiveSchemes?: ((schemes: ({
121
121
  type: "apiKey";
122
- value: string;
123
122
  name: string;
124
- uid: string & import("zod").BRAND<"securityScheme">;
125
- nameKey: string;
126
123
  in: "cookie" | "query" | "header";
124
+ uid: string & import("zod").$brand<"securityScheme">;
125
+ nameKey: string;
126
+ value: string;
127
127
  description?: string | undefined;
128
128
  } | {
129
129
  type: "http";
130
- uid: string & import("zod").BRAND<"securityScheme">;
131
- nameKey: string;
132
130
  scheme: "basic" | "bearer";
133
131
  bearerFormat: string;
132
+ uid: string & import("zod").$brand<"securityScheme">;
133
+ nameKey: string;
134
134
  username: string;
135
135
  password: string;
136
136
  token: string;
137
137
  description?: string | undefined;
138
138
  } | {
139
139
  type: "openIdConnect";
140
- uid: string & import("zod").BRAND<"securityScheme">;
141
- nameKey: string;
142
140
  openIdConnectUrl: string;
141
+ uid: string & import("zod").$brand<"securityScheme">;
142
+ nameKey: string;
143
143
  description?: string | undefined;
144
144
  } | {
145
145
  type: "oauth2";
146
- uid: string & import("zod").BRAND<"securityScheme">;
147
- nameKey: string;
148
146
  flows: {
149
- password?: {
150
- type: "password";
151
- username: string;
152
- password: string;
153
- token: string;
147
+ implicit?: {
154
148
  refreshUrl: string;
155
149
  scopes: Record<string, string>;
156
150
  selectedScopes: string[];
157
151
  "x-scalar-client-id": string;
158
- tokenUrl: string;
159
- clientSecret: string;
152
+ token: string;
153
+ type: "implicit";
154
+ authorizationUrl: string;
155
+ "x-scalar-redirect-uri": string;
160
156
  "x-scalar-security-query"?: Record<string, string> | undefined;
161
157
  "x-scalar-security-body"?: Record<string, string> | undefined;
162
158
  "x-tokenName"?: string | undefined;
163
- "x-scalar-credentials-location"?: "header" | "body" | undefined;
164
159
  } | undefined;
165
- implicit?: {
166
- type: "implicit";
167
- token: string;
160
+ password?: {
168
161
  refreshUrl: string;
169
162
  scopes: Record<string, string>;
170
163
  selectedScopes: string[];
171
164
  "x-scalar-client-id": string;
172
- authorizationUrl: string;
173
- "x-scalar-redirect-uri": string;
165
+ token: string;
166
+ type: "password";
167
+ tokenUrl: string;
168
+ clientSecret: string;
169
+ username: string;
170
+ password: string;
174
171
  "x-scalar-security-query"?: Record<string, string> | undefined;
175
172
  "x-scalar-security-body"?: Record<string, string> | undefined;
176
173
  "x-tokenName"?: string | undefined;
174
+ "x-scalar-credentials-location"?: "header" | "body" | undefined;
177
175
  } | undefined;
178
176
  clientCredentials?: {
179
- type: "clientCredentials";
180
- token: string;
181
177
  refreshUrl: string;
182
178
  scopes: Record<string, string>;
183
179
  selectedScopes: string[];
184
180
  "x-scalar-client-id": string;
181
+ token: string;
182
+ type: "clientCredentials";
185
183
  tokenUrl: string;
186
184
  clientSecret: string;
187
185
  "x-scalar-security-query"?: Record<string, string> | undefined;
@@ -190,23 +188,25 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
190
188
  "x-scalar-credentials-location"?: "header" | "body" | undefined;
191
189
  } | undefined;
192
190
  authorizationCode?: {
193
- type: "authorizationCode";
194
- token: string;
195
191
  refreshUrl: string;
196
192
  scopes: Record<string, string>;
197
193
  selectedScopes: string[];
198
194
  "x-scalar-client-id": string;
195
+ token: string;
196
+ type: "authorizationCode";
199
197
  authorizationUrl: string;
198
+ "x-usePkce": "SHA-256" | "plain" | "no";
200
199
  "x-scalar-redirect-uri": string;
201
200
  tokenUrl: string;
202
201
  clientSecret: string;
203
- "x-usePkce": "SHA-256" | "plain" | "no";
204
202
  "x-scalar-security-query"?: Record<string, string> | undefined;
205
203
  "x-scalar-security-body"?: Record<string, string> | undefined;
206
204
  "x-tokenName"?: string | undefined;
207
205
  "x-scalar-credentials-location"?: "header" | "body" | undefined;
208
206
  } | undefined;
209
207
  };
208
+ uid: string & import("zod").$brand<"securityScheme">;
209
+ nameKey: string;
210
210
  description?: string | undefined;
211
211
  'x-default-scopes'?: string[] | undefined;
212
212
  })[]) => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":"AAmaA,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;AAghBF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAsBiwlD,CAAC;;;;;;;;;;;yCAA0X,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;oBAAwE,CAAC;;;;;;;;;yCAAiV,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;;6BAAsE,CAAC;;;;;;;;;yCAAuU,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;6BAAiF,CAAC;;;;;;;;;;;;yCAA+c,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAA17E,CAAC;;;;;;;;;;;yCAA0X,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;oBAAwE,CAAC;;;;;;;;;yCAAiV,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;;6BAAsE,CAAC;;;;;;;;;yCAAuU,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;6BAAiF,CAAC;;;;;;;;;;;;yCAA+c,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;;;;;kFAf9sqD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA5TuB,CAAC;;;;;;;;;yCAQF,CAAC;wCAG7B,CAAC;6BACgC,CAAC;;oBAC3B,CAAC;;;;;;;;;;;yCASwC,CAAC;wCAG5C,CAAA;6BAA+D,CAAC;+CAAiE,CAAC;;6BACvI,CAAC;;;;;;;;;yCAMwB,CAAC;wCAGzB,CAAC;6BAIV,CAAC;+CAEN,CAAC;;6BAEI,CAAC;;;;;;;;;;;;yCASgC,CAAC;wCAC+B,CAAC;6BAA+D,CAAC;+CACpF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAtDV,CAAC;;;;;;;;;yCAQF,CAAC;wCAG7B,CAAC;6BACgC,CAAC;;oBAC3B,CAAC;;;;;;;;;;;yCASwC,CAAC;wCAG5C,CAAA;6BAA+D,CAAC;+CAAiE,CAAC;;6BACvI,CAAC;;;;;;;;;yCAMwB,CAAC;wCAGzB,CAAC;6BAIV,CAAC;+CAEN,CAAC;;6BAEI,CAAC;;;;;;;;;;;;yCASgC,CAAC;wCAC+B,CAAC;6BAA+D,CAAC;+CACpF,CAAC;;;;;;;;kFA6QpD,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuth.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-f622cd82"]]);
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-3f1067a4"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as z, useId as K, ref as g, computed as f, createBlock as V, openBlock as u, withCtx as i, createVNode as m, renderSlot as j, unref as s, createElementVNode as r, createElementBlock as h, Fragment as x, createTextVNode as k, toDisplayString as y, createCommentVNode as D, withModifiers as W, normalizeClass as Y } from "vue";
2
- import { useModal as F, ScalarComboboxMultiselect as H, ScalarButton as J, ScalarListboxCheckbox as P, ScalarIconButton as G } from "@scalar/components";
1
+ import { defineComponent as z, useId as K, ref as g, computed as f, createBlock as V, openBlock as u, withCtx as r, createVNode as m, renderSlot as j, unref as s, createElementVNode as i, createElementBlock as h, Fragment as x, createTextVNode as k, toDisplayString as y, createCommentVNode as D, withModifiers as Y, normalizeClass as F } from "vue";
2
+ import { useModal as H, ScalarComboboxMultiselect as J, ScalarButton as P, ScalarListboxCheckbox as W, ScalarIconButton as G } from "@scalar/components";
3
3
  import { safeLocalStorage as Q, CLIENT_LS_KEYS as X } from "@scalar/helpers/object/local-storage";
4
4
  import { ScalarIconCaretDown as Z, ScalarIconTrash as _ } from "@scalar/icons";
5
5
  import { isDefined as ee } from "@scalar/oas-utils/helpers";
@@ -7,7 +7,7 @@ import te from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
7
  import { useWorkspace as oe } from "../../../../store/store.js";
8
8
  import le from "./DeleteRequestAuthModal.vue.js";
9
9
  import ne from "./RequestAuthDataTable.vue.js";
10
- import { getSecurityRequirements as se, formatComplexScheme as ie, formatScheme as re, getSchemeOptions as ae } from "../../libs/auth.js";
10
+ import { getSecurityRequirements as se, formatComplexScheme as re, formatScheme as ie, getSchemeOptions as ae } from "../../libs/auth.js";
11
11
  const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1 truncate" }, Ce = /* @__PURE__ */ z({
12
12
  __name: "RequestAuth",
13
13
  props: {
@@ -30,7 +30,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
30
30
  securitySchemeMutators: $,
31
31
  requestMutators: B,
32
32
  collectionMutators: I
33
- } = oe(), A = K(), v = g(null), p = F(), S = g(
33
+ } = oe(), A = K(), v = g(null), p = H(), S = g(
34
34
  null
35
35
  ), R = g(!1), q = f(() => {
36
36
  const t = se(n.operation, n.collection);
@@ -46,10 +46,10 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
46
46
  }), a = f(
47
47
  () => n.selectedSecuritySchemeUids.map((t) => {
48
48
  if (Array.isArray(t))
49
- return ie(t, d);
49
+ return re(t, d);
50
50
  const e = d[t ?? ""];
51
51
  if (e)
52
- return re(e);
52
+ return ie(e);
53
53
  }).filter(ee)
54
54
  );
55
55
  function M(t) {
@@ -64,9 +64,9 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
64
64
  );
65
65
  l && o.push(l.uid);
66
66
  }
67
- O(o);
67
+ w(o);
68
68
  }
69
- const O = (t) => {
69
+ const w = (t) => {
70
70
  if (n.collection.useCollectionSecurity) {
71
71
  if (I.edit(n.collection.uid, "selectedSecuritySchemeUids", t), !n.persistAuth)
72
72
  return;
@@ -77,7 +77,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
77
77
  );
78
78
  } else n.operation?.uid && B.edit(n.operation.uid, "selectedSecuritySchemeUids", t);
79
79
  };
80
- function w({ id: t, label: e }) {
80
+ function O({ id: t, label: e }) {
81
81
  S.value = { id: t, label: e }, p.show();
82
82
  }
83
83
  const T = (t) => {
@@ -87,7 +87,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
87
87
  const l = t.split(",");
88
88
  return l.length > 1 && Array.isArray(o) && l.length === o.length ? o.every((c) => !l.includes(c)) : o !== t;
89
89
  });
90
- O(e), v.value?.$el.focus(), p.hide();
90
+ w(e), v.value?.$el.focus(), p.hide();
91
91
  }, U = f(
92
92
  () => ae(
93
93
  q.value.filteredRequirements,
@@ -104,64 +104,63 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
104
104
  layout: t.layout,
105
105
  "onUpdate:modelValue": e[4] || (e[4] = (o) => R.value = o)
106
106
  }, {
107
- title: i(() => [
108
- r("div", {
107
+ title: r(() => [
108
+ i("div", {
109
109
  id: s(A),
110
110
  class: "inline-flex items-center gap-0.5 leading-[20px]"
111
111
  }, [
112
- r("span", null, y(t.title), 1),
112
+ i("span", null, y(t.title), 1),
113
113
  b.value ? (u(), h("span", {
114
114
  key: 0,
115
- class: Y(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]", { "text-c-1": b.value.text === "Required" }]),
115
+ class: F(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]", { "text-c-1": b.value.text === "Required" }]),
116
116
  onClick: L
117
117
  }, y(b.value.text), 3)) : D("", !0)
118
118
  ], 8, ce)
119
119
  ]),
120
- actions: i(() => [
121
- r("div", ue, [
122
- m(s(H), {
120
+ actions: r(() => [
121
+ i("div", ue, [
122
+ m(s(J), {
123
123
  class: "w-72 text-xs",
124
124
  modelValue: a.value,
125
125
  multiple: "",
126
126
  options: U.value,
127
127
  placement: "bottom-end",
128
128
  teleport: "",
129
- onDelete: w,
129
+ onDelete: O,
130
130
  "onUpdate:modelValue": M
131
131
  }, {
132
- option: i(({ option: o, selected: l }) => [
133
- m(s(P), {
132
+ option: r(({ option: o, selected: l }) => [
133
+ m(s(W), {
134
134
  multiselect: "",
135
135
  selected: l
136
136
  }, null, 8, ["selected"]),
137
- r("div", me, y(o.label), 1),
137
+ i("div", me, y(o.label), 1),
138
138
  o.isDeletable ?? !t.isReadOnly ? (u(), V(s(G), {
139
139
  key: 0,
140
140
  class: "-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",
141
141
  icon: s(_),
142
142
  label: `Delete ${o.label}`,
143
143
  size: "xs",
144
- onClick: W((c) => w(o), ["stop"])
144
+ onClick: Y((c) => O(o), ["stop"])
145
145
  }, null, 8, ["icon", "label", "onClick"])) : D("", !0)
146
146
  ]),
147
- default: i(() => [
148
- m(s(J), {
147
+ default: r(() => [
148
+ m(s(P), {
149
149
  ref_key: "comboboxButtonRef",
150
150
  ref: v,
151
151
  "aria-describedby": s(A),
152
- class: "group/combobox-button hover:text-c-1 text-c-2 flex h-fit items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",
153
- fullWidth: "",
152
+ class: "group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",
154
153
  variant: "ghost"
155
154
  }, {
156
- default: i(() => [
155
+ default: r(() => [
157
156
  a.value.length === 1 ? (u(), h(x, { key: 0 }, [
158
- e[5] || (e[5] = r("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
157
+ e[5] || (e[5] = i("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
159
158
  k(" " + y(a.value[0]?.label), 1)
160
159
  ], 64)) : a.value.length > 1 ? (u(), h(x, { key: 1 }, [
161
160
  e[6] || (e[6] = k(" Multiple ")),
162
- e[7] || (e[7] = r("span", { class: "sr-only" }, "Auth Types Selected", -1))
161
+ e[7] || (e[7] = i("span", { class: "sr-only" }, "Auth Types Selected", -1))
163
162
  ], 64)) : (u(), h(x, { key: 2 }, [
164
- e[8] || (e[8] = r("span", { class: "sr-only" }, "Select", -1)),
163
+ e[8] || (e[8] = i("span", { class: "sr-only" }, "Select", -1)),
165
164
  e[9] || (e[9] = k(" Auth Type "))
166
165
  ], 64)),
167
166
  m(s(Z), {
@@ -176,7 +175,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
176
175
  }, 8, ["modelValue", "options"])
177
176
  ])
178
177
  ]),
179
- default: i(() => [
178
+ default: r(() => [
180
179
  m(ne, {
181
180
  collection: t.collection,
182
181
  envVariables: t.envVariables,
@@ -189,7 +188,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
189
188
  onActiveSchemes: e[0] || (e[0] = (o) => C("activeSchemes", o)),
190
189
  onAuthorized: e[1] || (e[1] = (o) => C("authorized"))
191
190
  }, {
192
- "oauth-actions": i(() => [
191
+ "oauth-actions": r(() => [
193
192
  j(t.$slots, "oauth-actions", {}, void 0, !0)
194
193
  ]),
195
194
  _: 3