@scalar/api-client 2.9.1 → 2.10.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 (341) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +2 -2
  3. package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
  4. package/dist/libs/send-request/build-request-security.js +1 -1
  5. package/dist/libs/send-request/create-fetch-query-params.d.ts.map +1 -1
  6. package/dist/style.css +1 -1
  7. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +89 -0
  8. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -0
  9. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +129 -0
  10. package/dist/v2/blocks/operation-block/OperationBlock.vue2.js +4 -0
  11. package/dist/v2/{features/operation → blocks/operation-block}/components/Header.vue.d.ts +8 -27
  12. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -0
  13. package/dist/v2/blocks/operation-block/components/Header.vue.js +7 -0
  14. package/dist/v2/blocks/operation-block/components/Header.vue2.js +93 -0
  15. package/dist/v2/blocks/operation-block/index.d.ts +2 -0
  16. package/dist/v2/blocks/operation-block/index.d.ts.map +1 -0
  17. package/dist/v2/blocks/operation-block/index.js +4 -0
  18. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +8 -24
  19. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  20. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  21. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +60 -59
  22. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +7 -28
  23. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  24. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -1
  25. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +97 -87
  26. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +7 -17
  27. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  28. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +1 -1
  29. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +46 -41
  30. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +1 -1
  31. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  32. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +4 -5
  33. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  34. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +47 -45
  35. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +5 -5
  36. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
  37. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +7 -7
  38. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +6 -9
  39. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
  40. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
  41. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +255 -206
  42. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts +30 -25
  43. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +1 -1
  44. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
  45. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +140 -97
  46. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts +1 -0
  47. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +1 -1
  48. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +31 -29
  49. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts +1 -0
  50. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +1 -1
  51. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +2 -2
  52. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +32 -29
  53. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +1 -1
  54. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +56 -51
  55. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +2 -4
  56. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
  57. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
  58. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +39 -38
  59. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  60. package/dist/v2/components/sidebar/Sidebar.vue.js +43 -42
  61. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  62. package/dist/v2/features/app/App.vue.js +62 -49
  63. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +1 -1
  64. package/dist/v2/features/app/components/AppSidebar.vue.js +2 -2
  65. package/dist/v2/features/app/helpers/routes.d.ts +5 -1
  66. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  67. package/dist/v2/features/app/helpers/routes.js +1 -1
  68. package/dist/v2/features/collection/DocumentCollection.vue2.js +27 -24
  69. package/dist/v2/features/collection/WorkspaceCollection.vue2.js +15 -12
  70. package/dist/v2/features/collection/components/Authentication.vue.d.ts +4 -25
  71. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  72. package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
  73. package/dist/v2/features/collection/components/Authentication.vue2.js +27 -28
  74. package/dist/v2/features/collection/components/Environment.vue2.js +3 -0
  75. package/dist/v2/features/collection/components/Overview.vue2.js +24 -21
  76. package/dist/v2/features/operation/Operation.vue.d.ts +10 -77
  77. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  78. package/dist/v2/features/operation/Operation.vue.js +56 -114
  79. package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -1
  80. package/dist/v2/hooks/use-workspace-client-events.js +131 -18
  81. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  82. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  83. package/dist/views/Request/libs/oauth2.js +8 -6
  84. package/package.json +17 -17
  85. package/dist/components/CodeInput/CodeInput.test.d.ts +0 -2
  86. package/dist/components/CodeInput/CodeInput.test.d.ts.map +0 -1
  87. package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts +0 -2
  88. package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts.map +0 -1
  89. package/dist/components/ImportCollection/utils/is-document.test.d.ts +0 -2
  90. package/dist/components/ImportCollection/utils/is-document.test.d.ts.map +0 -1
  91. package/dist/components/ImportCollection/utils/is-url.test.d.ts +0 -2
  92. package/dist/components/ImportCollection/utils/is-url.test.d.ts.map +0 -1
  93. package/dist/components/Search/useSearch.test.d.ts +0 -2
  94. package/dist/components/Search/useSearch.test.d.ts.map +0 -1
  95. package/dist/components/Server/ServerDropdown.test.d.ts +0 -2
  96. package/dist/components/Server/ServerDropdown.test.d.ts.map +0 -1
  97. package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts +0 -2
  98. package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts.map +0 -1
  99. package/dist/hooks/useResponseBody.test.d.ts +0 -2
  100. package/dist/hooks/useResponseBody.test.d.ts.map +0 -1
  101. package/dist/hooks/useSidebar.test.d.ts +0 -2
  102. package/dist/hooks/useSidebar.test.d.ts.map +0 -1
  103. package/dist/layouts/App/create-api-client-app.test.d.ts +0 -2
  104. package/dist/layouts/App/create-api-client-app.test.d.ts.map +0 -1
  105. package/dist/layouts/Modal/create-api-client-modal.test.d.ts +0 -2
  106. package/dist/layouts/Modal/create-api-client-modal.test.d.ts.map +0 -1
  107. package/dist/layouts/Web/create-api-client-web.test.d.ts +0 -2
  108. package/dist/layouts/Web/create-api-client-web.test.d.ts.map +0 -1
  109. package/dist/libs/create-client.test.d.ts +0 -2
  110. package/dist/libs/create-client.test.d.ts.map +0 -1
  111. package/dist/libs/env-helpers.test.d.ts +0 -2
  112. package/dist/libs/env-helpers.test.d.ts.map +0 -1
  113. package/dist/libs/event-bus.test.d.ts +0 -2
  114. package/dist/libs/event-bus.test.d.ts.map +0 -1
  115. package/dist/libs/extractAttachmentFilename.test.d.ts +0 -2
  116. package/dist/libs/extractAttachmentFilename.test.d.ts.map +0 -1
  117. package/dist/libs/find-request.test.d.ts +0 -2
  118. package/dist/libs/find-request.test.d.ts.map +0 -1
  119. package/dist/libs/get-request-uid-by-path-method.test.d.ts +0 -2
  120. package/dist/libs/get-request-uid-by-path-method.test.d.ts.map +0 -1
  121. package/dist/libs/hot-keys.test.d.ts +0 -2
  122. package/dist/libs/hot-keys.test.d.ts.map +0 -1
  123. package/dist/libs/importers/curl.test.d.ts +0 -2
  124. package/dist/libs/importers/curl.test.d.ts.map +0 -1
  125. package/dist/libs/normalize-headers.test.d.ts +0 -2
  126. package/dist/libs/normalize-headers.test.d.ts.map +0 -1
  127. package/dist/libs/parse-curl.test.d.ts +0 -2
  128. package/dist/libs/parse-curl.test.d.ts.map +0 -1
  129. package/dist/libs/send-request/build-request-security.test.d.ts +0 -2
  130. package/dist/libs/send-request/build-request-security.test.d.ts.map +0 -1
  131. package/dist/libs/send-request/create-fetch-auth.test.d.ts +0 -2
  132. package/dist/libs/send-request/create-fetch-auth.test.d.ts.map +0 -1
  133. package/dist/libs/send-request/create-fetch-body.test.d.ts +0 -2
  134. package/dist/libs/send-request/create-fetch-body.test.d.ts.map +0 -1
  135. package/dist/libs/send-request/create-fetch-headers.test.d.ts +0 -2
  136. package/dist/libs/send-request/create-fetch-headers.test.d.ts.map +0 -1
  137. package/dist/libs/send-request/create-fetch-query-params.test.d.ts +0 -2
  138. package/dist/libs/send-request/create-fetch-query-params.test.d.ts.map +0 -1
  139. package/dist/libs/send-request/create-request-operation.test.d.ts +0 -191
  140. package/dist/libs/send-request/create-request-operation.test.d.ts.map +0 -1
  141. package/dist/libs/send-request/decode-buffer.test.d.ts +0 -2
  142. package/dist/libs/send-request/decode-buffer.test.d.ts.map +0 -1
  143. package/dist/libs/send-request/set-request-cookies.test.d.ts +0 -2
  144. package/dist/libs/send-request/set-request-cookies.test.d.ts.map +0 -1
  145. package/dist/libs/string-template.test.d.ts +0 -2
  146. package/dist/libs/string-template.test.d.ts.map +0 -1
  147. package/dist/libs/validate-parameters.test.d.ts +0 -2
  148. package/dist/libs/validate-parameters.test.d.ts.map +0 -1
  149. package/dist/plugins/plugin-manager.test.d.ts +0 -2
  150. package/dist/plugins/plugin-manager.test.d.ts.map +0 -1
  151. package/dist/routes.test.d.ts +0 -2
  152. package/dist/routes.test.d.ts.map +0 -1
  153. package/dist/store/collections.test.d.ts +0 -2
  154. package/dist/store/collections.test.d.ts.map +0 -1
  155. package/dist/store/request.test.d.ts +0 -2
  156. package/dist/store/request.test.d.ts.map +0 -1
  157. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.test.d.ts +0 -2
  158. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.test.d.ts.map +0 -1
  159. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts +0 -2
  160. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts.map +0 -1
  161. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.test.d.ts +0 -2
  162. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.test.d.ts.map +0 -1
  163. package/dist/v2/blocks/operation-code-sample/helpers/find-client.test.d.ts +0 -2
  164. package/dist/v2/blocks/operation-code-sample/helpers/find-client.test.d.ts.map +0 -1
  165. package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.test.d.ts +0 -2
  166. package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.test.d.ts.map +0 -1
  167. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.test.d.ts +0 -2
  168. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.test.d.ts.map +0 -1
  169. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.test.d.ts +0 -2
  170. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.test.d.ts.map +0 -1
  171. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.test.d.ts +0 -2
  172. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.test.d.ts.map +0 -1
  173. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.test.d.ts +0 -2
  174. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.test.d.ts.map +0 -1
  175. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/get-example-value.test.d.ts +0 -2
  176. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/get-example-value.test.d.ts.map +0 -1
  177. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.test.d.ts +0 -2
  178. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.test.d.ts.map +0 -1
  179. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.test.d.ts +0 -2
  180. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.test.d.ts.map +0 -1
  181. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.test.d.ts +0 -2
  182. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.test.d.ts.map +0 -1
  183. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.test.d.ts +0 -2
  184. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.test.d.ts.map +0 -1
  185. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.test.d.ts +0 -2
  186. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.test.d.ts.map +0 -1
  187. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.test.d.ts +0 -2
  188. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.test.d.ts.map +0 -1
  189. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.d.ts +0 -2
  190. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.d.ts.map +0 -1
  191. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.test.d.ts +0 -2
  192. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.test.d.ts.map +0 -1
  193. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.d.ts +0 -2
  194. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.d.ts.map +0 -1
  195. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.d.ts +0 -2
  196. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.d.ts.map +0 -1
  197. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.d.ts +0 -2
  198. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.d.ts.map +0 -1
  199. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.d.ts +0 -2
  200. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.d.ts.map +0 -1
  201. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.test.d.ts +0 -2
  202. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.test.d.ts.map +0 -1
  203. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.test.d.ts +0 -2
  204. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.test.d.ts.map +0 -1
  205. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.test.d.ts +0 -2
  206. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.test.d.ts.map +0 -1
  207. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts +0 -2
  208. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts.map +0 -1
  209. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts +0 -2
  210. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts.map +0 -1
  211. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts +0 -2
  212. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts.map +0 -1
  213. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts +0 -2
  214. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts.map +0 -1
  215. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts +0 -2
  216. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts.map +0 -1
  217. package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts +0 -2
  218. package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts.map +0 -1
  219. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts +0 -2
  220. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts.map +0 -1
  221. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts +0 -2
  222. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts.map +0 -1
  223. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts +0 -2
  224. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts.map +0 -1
  225. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts +0 -2
  226. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts.map +0 -1
  227. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts +0 -2
  228. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts.map +0 -1
  229. package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts +0 -2
  230. package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts.map +0 -1
  231. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts +0 -2
  232. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts.map +0 -1
  233. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts +0 -2
  234. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts.map +0 -1
  235. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts +0 -2
  236. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts.map +0 -1
  237. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts +0 -2
  238. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts.map +0 -1
  239. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts +0 -2
  240. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts.map +0 -1
  241. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts +0 -2
  242. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts.map +0 -1
  243. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts +0 -2
  244. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts.map +0 -1
  245. package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts +0 -2
  246. package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts.map +0 -1
  247. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts +0 -2
  248. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts.map +0 -1
  249. package/dist/v2/components/code-input/CodeInput.test.d.ts +0 -2
  250. package/dist/v2/components/code-input/CodeInput.test.d.ts.map +0 -1
  251. package/dist/v2/components/code-input/code-variable-widget.test.d.ts +0 -2
  252. package/dist/v2/components/code-input/code-variable-widget.test.d.ts.map +0 -1
  253. package/dist/v2/components/server/ServerDropdown.test.d.ts +0 -2
  254. package/dist/v2/components/server/ServerDropdown.test.d.ts.map +0 -1
  255. package/dist/v2/components/server/ServerDropdownItem.test.d.ts +0 -2
  256. package/dist/v2/components/server/ServerDropdownItem.test.d.ts.map +0 -1
  257. package/dist/v2/features/app/App.test.d.ts +0 -2
  258. package/dist/v2/features/app/App.test.d.ts.map +0 -1
  259. package/dist/v2/features/collection/DocumentCollection.test.d.ts +0 -2
  260. package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +0 -1
  261. package/dist/v2/features/collection/components/Authentication.test.d.ts +0 -2
  262. package/dist/v2/features/collection/components/Authentication.test.d.ts.map +0 -1
  263. package/dist/v2/features/collection/components/Environment.test.d.ts +0 -2
  264. package/dist/v2/features/collection/components/Environment.test.d.ts.map +0 -1
  265. package/dist/v2/features/collection/components/LabelInput.test.d.ts +0 -2
  266. package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +0 -1
  267. package/dist/v2/features/collection/components/Overview.test.d.ts +0 -2
  268. package/dist/v2/features/collection/components/Overview.test.d.ts.map +0 -1
  269. package/dist/v2/features/collection/components/Servers.test.d.ts +0 -2
  270. package/dist/v2/features/collection/components/Servers.test.d.ts.map +0 -1
  271. package/dist/v2/features/collection/components/Settings.test.d.ts +0 -2
  272. package/dist/v2/features/collection/components/Settings.test.d.ts.map +0 -1
  273. package/dist/v2/features/collection/components/Tabs.test.d.ts +0 -2
  274. package/dist/v2/features/collection/components/Tabs.test.d.ts.map +0 -1
  275. package/dist/v2/features/environments/EnvironmentsList.test.d.ts +0 -2
  276. package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +0 -1
  277. package/dist/v2/features/environments/components/Environment.test.d.ts +0 -2
  278. package/dist/v2/features/environments/components/Environment.test.d.ts.map +0 -1
  279. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +0 -2
  280. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +0 -1
  281. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +0 -2
  282. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +0 -1
  283. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +0 -2
  284. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +0 -1
  285. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +0 -2
  286. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +0 -1
  287. package/dist/v2/features/operation/Operation.test.d.ts +0 -2
  288. package/dist/v2/features/operation/Operation.test.d.ts.map +0 -1
  289. package/dist/v2/features/operation/components/Header.test.d.ts +0 -2
  290. package/dist/v2/features/operation/components/Header.test.d.ts.map +0 -1
  291. package/dist/v2/features/operation/components/Header.vue.d.ts.map +0 -1
  292. package/dist/v2/features/operation/components/Header.vue.js +0 -7
  293. package/dist/v2/features/operation/components/Header.vue2.js +0 -97
  294. package/dist/v2/features/settings/Settings.test.d.ts +0 -2
  295. package/dist/v2/features/settings/Settings.test.d.ts.map +0 -1
  296. package/dist/v2/hooks/use-document-watcher.test.d.ts +0 -2
  297. package/dist/v2/hooks/use-document-watcher.test.d.ts.map +0 -1
  298. package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts +0 -2
  299. package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts.map +0 -1
  300. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts +0 -2
  301. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts.map +0 -1
  302. package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts +0 -2
  303. package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts.map +0 -1
  304. package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts +0 -2
  305. package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts.map +0 -1
  306. package/dist/views/Request/RequestRoot.test.d.ts +0 -2
  307. package/dist/views/Request/RequestRoot.test.d.ts.map +0 -1
  308. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts +0 -2
  309. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts.map +0 -1
  310. package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts +0 -2
  311. package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts.map +0 -1
  312. package/dist/views/Request/RequestSection/RequestBody.test.d.ts +0 -2
  313. package/dist/views/Request/RequestSection/RequestBody.test.d.ts.map +0 -1
  314. package/dist/views/Request/RequestSection/RequestCodeExample.test.d.ts +0 -2
  315. package/dist/views/Request/RequestSection/RequestCodeExample.test.d.ts.map +0 -1
  316. package/dist/views/Request/RequestSection/RequestSection.test.d.ts +0 -2
  317. package/dist/views/Request/RequestSection/RequestSection.test.d.ts.map +0 -1
  318. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts +0 -2
  319. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts.map +0 -1
  320. package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts +0 -2
  321. package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts.map +0 -1
  322. package/dist/views/Request/RequestSection/helpers/update-scheme.test.d.ts +0 -2
  323. package/dist/views/Request/RequestSection/helpers/update-scheme.test.d.ts.map +0 -1
  324. package/dist/views/Request/RequestSubpageHeader.test.d.ts +0 -2
  325. package/dist/views/Request/RequestSubpageHeader.test.d.ts.map +0 -1
  326. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts +0 -2
  327. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts.map +0 -1
  328. package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts +0 -2
  329. package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts.map +0 -1
  330. package/dist/views/Request/consts/mediaTypes.test.d.ts +0 -2
  331. package/dist/views/Request/consts/mediaTypes.test.d.ts.map +0 -1
  332. package/dist/views/Request/libs/auth.test.d.ts +0 -2
  333. package/dist/views/Request/libs/auth.test.d.ts.map +0 -1
  334. package/dist/views/Request/libs/oauth2.test.d.ts +0 -2
  335. package/dist/views/Request/libs/oauth2.test.d.ts.map +0 -1
  336. package/dist/views/Request/libs/request.test.d.ts +0 -2
  337. package/dist/views/Request/libs/request.test.d.ts.map +0 -1
  338. package/dist/views/Request/libs/watch-mode.test.d.ts +0 -2
  339. package/dist/views/Request/libs/watch-mode.test.d.ts.map +0 -1
  340. package/dist/vitest.setup.d.ts +0 -34
  341. package/dist/vitest.setup.d.ts.map +0 -1
@@ -1,16 +1,18 @@
1
- import { defineComponent as z, computed as r, resolveComponent as S, createBlock as u, openBlock as s, unref as t, normalizeClass as U, withCtx as i, createVNode as d, createCommentVNode as b, createElementVNode as m, createElementBlock as p, Fragment as $, toDisplayString as x } from "vue";
2
- import { ScalarTooltip as D, ScalarIcon as c, ScalarButton as y } from "@scalar/components";
3
- import { ScalarIconTrash as I } from "@scalar/icons";
4
- import E from "./OperationTableTooltip.vue.js";
5
- import { validateParameter as O } from "../helpers/validate-parameter.js";
6
- import q from "../../../../components/DataTable/DataTableRow.vue.js";
7
- import j from "../../../../components/DataTable/DataTableCheckbox.vue.js";
8
- import v from "../../../../components/DataTable/DataTableCell.vue.js";
9
- import h from "../../../../components/CodeInput/CodeInput.vue.js";
10
- const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1" }, N = {
1
+ import { defineComponent as S, computed as r, resolveComponent as U, createBlock as u, openBlock as s, unref as l, normalizeClass as $, withCtx as i, createVNode as d, createCommentVNode as v, createElementVNode as m, createElementBlock as c, Fragment as D, toDisplayString as I } from "vue";
2
+ import { ScalarTooltip as O, ScalarIcon as y, ScalarButton as h } from "@scalar/components";
3
+ import { ScalarIconTrash as E } from "@scalar/icons";
4
+ import { unpackProxyObject as b } from "@scalar/workspace-store/helpers/unpack-proxy";
5
+ import j from "./OperationTableTooltip.vue.js";
6
+ import { getFileName as k } from "../helpers/files.js";
7
+ import { validateParameter as q } from "../helpers/validate-parameter.js";
8
+ import N from "../../../../components/DataTable/DataTableRow.vue.js";
9
+ import P from "../../../../components/DataTable/DataTableCheckbox.vue.js";
10
+ import p from "../../../../components/DataTable/DataTableCell.vue.js";
11
+ import V from "../../../../components/CodeInput/CodeInput.vue.js";
12
+ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1" }, K = {
11
13
  key: 1,
12
14
  class: "p-0.5"
13
- }, X = /* @__PURE__ */ z({
15
+ }, ee = /* @__PURE__ */ S({
14
16
  __name: "OperationTableRow",
15
17
  props: {
16
18
  data: {},
@@ -23,44 +25,47 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
23
25
  showUploadButton: { type: Boolean }
24
26
  },
25
27
  emits: ["updateRow", "deleteRow", "uploadFile", "removeFile"],
26
- setup(l, { emit: k }) {
27
- const n = k, V = r(() => l.data.schema?.default), w = r(() => l.data.schema?.enum), R = r(
28
- () => l.data.schema && "minimum" in l.data.schema ? l.data.schema.minimum : void 0
29
- ), g = r(
30
- () => l.data.schema && "maximum" in l.data.schema ? l.data.schema.maximum : void 0
31
- ), B = r(
32
- () => l.data.schema && "type" in l.data.schema ? l.data.schema.type : void 0
28
+ setup(t, { emit: w }) {
29
+ const n = w, R = r(() => t.data.schema?.default), g = r(() => t.data.schema?.enum), B = r(
30
+ () => t.data.schema && "minimum" in t.data.schema ? t.data.schema.minimum : void 0
31
+ ), C = r(
32
+ () => t.data.schema && "maximum" in t.data.schema ? t.data.schema.maximum : void 0
33
+ ), F = r(
34
+ () => t.data.schema && "type" in t.data.schema ? t.data.schema.type : void 0
33
35
  ), f = r(
34
- () => O(l.data.schema, l.data.value)
35
- ), C = (e) => e instanceof File, F = r({
36
- get: () => l.data.value instanceof File ? l.data.value.name : l.data.value === null ? "" : l.data.value,
36
+ () => q(t.data.schema, t.data.value)
37
+ ), T = (e) => e instanceof File, x = r({
38
+ get: () => {
39
+ const e = b(t.data.value);
40
+ return e instanceof File ? k(b(t.data.value)) ?? "" : e === null ? "" : e;
41
+ },
37
42
  set: (e) => {
38
43
  typeof e == "string" && n("updateRow", { value: e });
39
44
  }
40
45
  });
41
46
  return (e, a) => {
42
- const T = S("RouterLink");
43
- return s(), u(t(q), {
47
+ const z = U("RouterLink");
48
+ return s(), u(l(N), {
44
49
  id: e.data.name,
45
- class: U({
50
+ class: $({
46
51
  alert: f.value.ok === !1,
47
52
  error: f.value.ok === !1 && e.invalidParams?.has(e.data.name)
48
53
  })
49
54
  }, {
50
55
  default: i(() => [
51
- e.data.globalRoute !== void 0 ? (s(), u(T, {
56
+ e.data.globalRoute !== void 0 ? (s(), u(z, {
52
57
  key: 0,
53
58
  class: "text-c-2 flex items-center justify-center border-t !border-r",
54
59
  to: e.data.globalRoute ?? {}
55
60
  }, {
56
61
  default: i(() => [
57
62
  a[8] || (a[8] = m("span", { class: "sr-only" }, "Global", -1)),
58
- d(t(D), {
63
+ d(l(O), {
59
64
  content: "Global cookies are shared across the whole workspace.",
60
65
  placement: "top"
61
66
  }, {
62
67
  default: i(() => [
63
- d(t(c), {
68
+ d(l(y), {
64
69
  class: "text-c-1",
65
70
  icon: "Globe",
66
71
  size: "xs",
@@ -71,16 +76,16 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
71
76
  })
72
77
  ]),
73
78
  _: 1
74
- }, 8, ["to"])) : (s(), u(t(j), {
79
+ }, 8, ["to"])) : (s(), u(l(P), {
75
80
  key: 1,
76
81
  class: "!border-r",
77
82
  disabled: e.hasCheckboxDisabled ?? !1,
78
83
  modelValue: !e.data.isDisabled,
79
84
  "onUpdate:modelValue": a[0] || (a[0] = (o) => n("updateRow", { isEnabled: o }))
80
85
  }, null, 8, ["disabled", "modelValue"])),
81
- d(t(v), null, {
86
+ d(l(p), null, {
82
87
  default: i(() => [
83
- d(t(h), {
88
+ d(l(V), {
84
89
  "aria-label": `${e.label} Key`,
85
90
  disableCloseBrackets: "",
86
91
  disabled: e.isReadOnly,
@@ -98,30 +103,30 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
98
103
  ]),
99
104
  _: 1
100
105
  }),
101
- d(t(v), null, {
106
+ d(l(p), null, {
102
107
  default: i(() => [
103
- d(t(h), {
108
+ d(l(V), {
104
109
  "aria-label": `${e.label} Value`,
105
110
  class: "pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",
106
- default: V.value,
111
+ default: R.value,
107
112
  disableCloseBrackets: "",
108
113
  disabled: e.isReadOnly,
109
114
  disableEnter: "",
110
115
  disableTabIndent: "",
111
- enum: w.value ?? [],
116
+ enum: g.value ?? [],
112
117
  envVariables: e.envVariables,
113
118
  environment: e.environment,
114
119
  lineWrapping: "",
115
- max: g.value,
116
- min: R.value,
117
- modelValue: F.value,
120
+ max: C.value,
121
+ min: B.value,
122
+ modelValue: x.value,
118
123
  placeholder: "Value",
119
- type: B.value,
124
+ type: F.value,
120
125
  onSelectVariable: a[4] || (a[4] = (o) => n("updateRow", { value: o })),
121
126
  "onUpdate:modelValue": a[5] || (a[5] = (o) => n("updateRow", { value: o }))
122
127
  }, {
123
128
  icon: i(() => [
124
- (e.data.name || e.data.value) && !e.data.isRequired ? (s(), u(t(y), {
129
+ (e.data.name || e.data.value) && !e.data.isRequired ? (s(), u(l(h), {
125
130
  key: 0,
126
131
  class: "text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex",
127
132
  size: "sm",
@@ -129,37 +134,37 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
129
134
  onClick: a[3] || (a[3] = (o) => n("deleteRow"))
130
135
  }, {
131
136
  default: i(() => [
132
- d(t(I), { class: "size-3.5" })
137
+ d(l(E), { class: "size-3.5" })
133
138
  ]),
134
139
  _: 1
135
- })) : b("", !0),
136
- e.data.schema ? (s(), u(E, {
140
+ })) : v("", !0),
141
+ e.data.schema ? (s(), u(j, {
137
142
  key: 1,
138
143
  schema: e.data.schema,
139
144
  value: e.data.value
140
- }, null, 8, ["schema", "value"])) : b("", !0)
145
+ }, null, 8, ["schema", "value"])) : v("", !0)
141
146
  ]),
142
147
  _: 1
143
148
  }, 8, ["aria-label", "default", "disabled", "enum", "envVariables", "environment", "max", "min", "modelValue", "type"])
144
149
  ]),
145
150
  _: 1
146
151
  }),
147
- e.showUploadButton ? (s(), u(t(v), {
152
+ e.showUploadButton ? (s(), u(l(p), {
148
153
  key: 2,
149
154
  class: "group/upload flex items-center justify-center whitespace-nowrap"
150
155
  }, {
151
156
  default: i(() => [
152
- C(e.data.value) ? (s(), p($, { key: 0 }, [
157
+ T(l(b)(e.data.value)) ? (s(), c(D, { key: 0 }, [
153
158
  m("div", G, [
154
- m("span", null, x(e.data.value.name), 1)
159
+ m("span", null, I(l(k)(l(b)(e.data.value))), 1)
155
160
  ]),
156
161
  m("button", {
157
162
  class: "bg-b-2 centered-x centered-y absolute hidden w-[calc(100%_-_8px)] rounded p-0.5 text-center text-xs font-medium group-hover/upload:block",
158
163
  type: "button",
159
164
  onClick: a[6] || (a[6] = (o) => n("removeFile"))
160
165
  }, " Delete ")
161
- ], 64)) : (s(), p("div", N, [
162
- d(t(y), {
166
+ ], 64)) : (s(), c("div", K, [
167
+ d(l(h), {
163
168
  class: "bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",
164
169
  size: "sm",
165
170
  variant: "outlined",
@@ -167,7 +172,7 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
167
172
  }, {
168
173
  default: i(() => [
169
174
  a[9] || (a[9] = m("span", null, "Upload File", -1)),
170
- d(t(c), {
175
+ d(l(y), {
171
176
  class: "ml-1",
172
177
  icon: "Upload",
173
178
  size: "xs",
@@ -179,7 +184,7 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
179
184
  ]))
180
185
  ]),
181
186
  _: 1
182
- })) : b("", !0)
187
+ })) : v("", !0)
183
188
  ]),
184
189
  _: 1
185
190
  }, 8, ["id", "class"]);
@@ -187,5 +192,5 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
187
192
  }
188
193
  });
189
194
  export {
190
- X as default
195
+ ee as default
191
196
  };
@@ -1,4 +1,5 @@
1
1
  import type { ResponseInstance } from '@scalar/oas-utils/entities/spec';
2
+ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
2
3
  import type { ClientLayout } from '../../../../hooks/index.js';
3
4
  import type { createStoreEvents } from '../../../../store/events.js';
4
5
  import type { ClientPlugin } from '../../../../v2/plugins';
@@ -17,6 +18,7 @@ type __VLS_Props = {
17
18
  plugins?: ClientPlugin[];
18
19
  /** Event bus */
19
20
  events: ReturnType<typeof createStoreEvents>;
21
+ eventBus: WorkspaceEventBus;
20
22
  };
21
23
  declare const responseSections: readonly ["Cookies", "Headers", "Body"];
22
24
  type Filter = 'All' | (typeof responseSections)[number];
@@ -38,13 +40,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
38
40
  activeFilter: import("vue").Ref<Filter, Filter>;
39
41
  filters: import("vue").ComputedRef<Filter[]>;
40
42
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
- openCommandPalette: () => any;
42
43
  sendRequest: () => any;
43
- addRequest: () => any;
44
44
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
45
- onOpenCommandPalette?: (() => any) | undefined;
46
45
  onSendRequest?: (() => any) | undefined;
47
- onAddRequest?: (() => any) | undefined;
48
46
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
47
  export default _default;
50
48
  //# sourceMappingURL=ResponseBlock.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-response-block/components/ResponseBlock.vue"],"names":[],"mappings":"AA+RA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAKvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAUhD,KAAK,WAAW,GAAG;IACjB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IACpB,yCAAyC;IACzC,sBAAsB,EAAE,MAAM,CAAA;IAC9B,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAA;IAElB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB,gBAAgB;IAChB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;CAC7C,CAAC;AAqCF,QAAA,MAAM,gBAAgB,yCAA0C,CAAA;AAChE,KAAK,MAAM,GAAG,KAAK,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8YvD,wBAQG"}
1
+ {"version":3,"file":"ResponseBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-response-block/components/ResponseBlock.vue"],"names":[],"mappings":"AAgSA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAKvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAUhD,KAAK,WAAW,GAAG;IACjB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IACpB,yCAAyC;IACzC,sBAAsB,EAAE,MAAM,CAAA;IAC9B,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAA;IAElB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB,gBAAgB;IAChB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;IAE5C,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;AAmCF,QAAA,MAAM,gBAAgB,yCAA0C,CAAA;AAChE,KAAK,MAAM,GAAG,KAAK,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;AA8YvD,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseBlock.vue2.js";
2
2
  /* empty css */
3
- import e from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-1f4cee6d"]]);
3
+ import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fd0c4365"]]);
5
5
  export {
6
- s as default
6
+ c as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as I, computed as i, ref as P, useId as S, createBlock as r, openBlock as n, withCtx as u, createElementVNode as m, normalizeClass as A, createElementBlock as y, createVNode as B, Fragment as k, createCommentVNode as d, createTextVNode as V, renderList as E, unref as O, withDirectives as z, resolveDynamicComponent as N, vShow as L } from "vue";
1
+ import { defineComponent as I, computed as i, ref as O, useId as S, createBlock as r, openBlock as n, withCtx as u, createElementVNode as m, normalizeClass as B, createElementBlock as c, createVNode as h, Fragment as y, createCommentVNode as d, createTextVNode as A, renderList as E, unref as z, withDirectives as N, resolveDynamicComponent as P, vShow as L } from "vue";
2
2
  import { ScalarErrorBoundary as j } from "@scalar/components";
3
3
  import w from "../../../../components/SectionFilter.vue.js";
4
4
  import D from "../../../../components/ViewLayout/ViewLayoutSection.vue.js";
5
- import b from "./Headers.vue.js";
5
+ import V from "./Headers.vue.js";
6
6
  import { textMediaTypes as F } from "../helpers/media-types.js";
7
7
  import M from "./ResponseBody.vue.js";
8
8
  import U from "./ResponseBodyStreaming.vue.js";
@@ -12,7 +12,7 @@ import Z from "./ResponseCookies.vue.js";
12
12
  import G from "./ResponseEmpty.vue.js";
13
13
  import J from "./ResponseLoadingOverlay.vue.js";
14
14
  import Q from "./ResponseMetaInformation.vue.js";
15
- const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], C = 2e5, pe = /* @__PURE__ */ I({
15
+ const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], b = 2e5, pe = /* @__PURE__ */ I({
16
16
  __name: "ResponseBlock",
17
17
  props: {
18
18
  response: {},
@@ -21,17 +21,18 @@ const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], C = 2e5
21
21
  totalPerformedRequests: {},
22
22
  appVersion: {},
23
23
  plugins: {},
24
- events: {}
24
+ events: {},
25
+ eventBus: {}
25
26
  },
26
- emits: ["addRequest", "sendRequest", "openCommandPalette"],
27
- setup(t, { expose: H, emit: T }) {
28
- const v = T, p = i(() => {
27
+ emits: ["sendRequest"],
28
+ setup(t, { expose: H, emit: C }) {
29
+ const T = C, p = i(() => {
29
30
  const e = t.response?.headers;
30
31
  return e ? Object.keys(e).map((s) => ({
31
32
  name: s,
32
33
  value: e[s] ?? ""
33
34
  })) : [];
34
- }), R = i(
35
+ }), k = i(
35
36
  () => t.response?.cookieHeaderKeys.flatMap((e) => {
36
37
  const s = t.response?.headers?.[e];
37
38
  return s ? {
@@ -39,35 +40,35 @@ const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], C = 2e5
39
40
  value: s
40
41
  } : [];
41
42
  }) ?? []
42
- ), $ = ["Cookies", "Headers", "Body"], o = P("All"), f = i(() => ["All", ...$]), a = i(
43
+ ), $ = ["Cookies", "Headers", "Body"], o = O("All"), v = i(() => ["All", ...$]), a = i(
43
44
  () => Object.fromEntries(
44
- f.value.map((e) => [e, S()])
45
+ v.value.map((e) => [e, S()])
45
46
  )
46
- ), q = i(() => {
47
+ ), R = i(() => {
47
48
  if (!t.response || !("size" in t.response))
48
49
  return !1;
49
50
  const e = t.response.headers?.["content-type"] || t.response.headers?.["Content-Type"];
50
- return !e || (t.response.size ?? 0) <= C || e.includes("text/html") ? !1 : F.some((l) => e.includes(l)) && (t.response.size ?? 0) > C;
51
- }), h = i(
51
+ return !e || (t.response.size ?? 0) <= b || e.includes("text/html") ? !1 : F.some((l) => e.includes(l)) && (t.response.size ?? 0) > b;
52
+ }), q = i(
52
53
  () => t.request?.headers ? [...t.request.headers].map((e) => ({
53
54
  name: e[0],
54
55
  value: e[1],
55
56
  required: !1
56
57
  })) : []
57
- ), c = (e) => e === "All" || o.value === e;
58
+ ), f = (e) => e === "All" || o.value === e;
58
59
  return H({
59
60
  responseHeaders: p,
60
- responseCookies: R,
61
- requestHeaders: h,
62
- shouldVirtualize: q,
61
+ responseCookies: k,
62
+ requestHeaders: q,
63
+ shouldVirtualize: R,
63
64
  activeFilter: o,
64
- filters: f
65
+ filters: v
65
66
  }), (e, s) => (n(), r(D, { "aria-label": "Response" }, {
66
67
  title: u(() => [
67
68
  m("div", W, [
68
69
  m("div", {
69
70
  "aria-live": "polite",
70
- class: A(["flex items-center", { "animate-response-heading": e.response }])
71
+ class: B(["flex items-center", { "animate-response-heading": e.response }])
71
72
  }, [
72
73
  s[4] || (s[4] = m("span", { class: "response-heading pointer-events-none absolute" }, " Response ", -1)),
73
74
  e.response ? (n(), r(Q, {
@@ -77,43 +78,43 @@ const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], C = 2e5
77
78
  response: e.response
78
79
  }, null, 8, ["events", "response"])) : d("", !0)
79
80
  ], 2),
80
- B(w, {
81
+ h(w, {
81
82
  modelValue: o.value,
82
83
  "onUpdate:modelValue": s[0] || (s[0] = (l) => o.value = l),
83
84
  filterIds: a.value,
84
- filters: f.value
85
+ filters: v.value
85
86
  }, null, 8, ["modelValue", "filterIds", "filters"])
86
87
  ])
87
88
  ]),
88
89
  default: u(() => [
89
90
  m("div", {
90
91
  id: a.value.All,
91
- class: A(["custom-scroll response-section-content relative grid h-full justify-stretch", {
92
+ class: B(["custom-scroll response-section-content relative grid h-full justify-stretch", {
92
93
  "content-start": e.response
93
94
  }]),
94
95
  role: o.value === "All" && e.response ? "tabpanel" : "none"
95
96
  }, [
96
- e.response ? (n(), y(k, { key: 1 }, [
97
- c("Cookies") ? (n(), r(Z, {
97
+ e.response ? (n(), c(y, { key: 1 }, [
98
+ f("Cookies") ? (n(), r(Z, {
98
99
  key: 0,
99
100
  id: a.value.Cookies,
100
101
  class: "response-section-content-cookies",
101
- cookies: R.value,
102
+ cookies: k.value,
102
103
  role: o.value === "All" ? "none" : "tabpanel"
103
104
  }, null, 8, ["id", "cookies", "role"])) : d("", !0),
104
- c("Headers") ? (n(), r(b, {
105
+ f("Headers") ? (n(), r(V, {
105
106
  key: 1,
106
107
  id: a.value.Headers,
107
108
  class: "response-section-content-headers",
108
- headers: h.value,
109
+ headers: q.value,
109
110
  role: o.value === "All" ? "none" : "tabpanel"
110
111
  }, {
111
112
  title: u(() => [...s[5] || (s[5] = [
112
- V("Request Headers", -1)
113
+ A("Request Headers", -1)
113
114
  ])]),
114
115
  _: 1
115
116
  }, 8, ["id", "headers", "role"])) : d("", !0),
116
- c("Headers") ? (n(), r(b, {
117
+ f("Headers") ? (n(), r(V, {
117
118
  key: 2,
118
119
  id: a.value.Headers,
119
120
  class: "response-section-content-headers",
@@ -121,13 +122,13 @@ const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], C = 2e5
121
122
  role: o.value === "All" ? "none" : "tabpanel"
122
123
  }, {
123
124
  title: u(() => [...s[6] || (s[6] = [
124
- V("Response Headers", -1)
125
+ A("Response Headers", -1)
125
126
  ])]),
126
127
  _: 1
127
128
  }, 8, ["id", "headers", "role"])) : d("", !0),
128
- (n(!0), y(k, null, E(e.plugins, (l, g) => (n(), r(O(j), { key: g }, {
129
+ (n(!0), c(y, null, E(e.plugins, (l, g) => (n(), r(z(j), { key: g }, {
129
130
  default: u(() => [
130
- l.components?.response ? z((n(), r(N(l.components.response), {
131
+ l.components?.response ? N((n(), r(P(l.components.response), {
131
132
  key: 0,
132
133
  response: e.response,
133
134
  request: e.request
@@ -137,13 +138,13 @@ const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], C = 2e5
137
138
  ]),
138
139
  _: 2
139
140
  }, 1024))), 128)),
140
- o.value === "All" || o.value === "Body" ? (n(), y(k, { key: 3 }, [
141
+ o.value === "All" || o.value === "Body" ? (n(), c(y, { key: 3 }, [
141
142
  "reader" in e.response ? (n(), r(U, {
142
143
  key: 0,
143
144
  id: a.value.Body,
144
145
  class: "response-section-content-body",
145
146
  reader: e.response.reader
146
- }, null, 8, ["id", "reader"])) : q.value && typeof e.response?.data == "string" ? (n(), r(K, {
147
+ }, null, 8, ["id", "reader"])) : R.value && typeof e.response?.data == "string" ? (n(), r(K, {
147
148
  key: 1,
148
149
  id: a.value.Body,
149
150
  content: e.response.data,
@@ -168,11 +169,11 @@ const W = { class: "flex h-8 flex-1 items-center" }, X = ["id", "role"], C = 2e5
168
169
  events: e.events,
169
170
  layout: e.layout,
170
171
  totalPerformedRequests: e.totalPerformedRequests,
171
- onAddRequest: s[1] || (s[1] = (l) => v("addRequest")),
172
- onOpenCommandPalette: s[2] || (s[2] = (l) => v("openCommandPalette")),
173
- onSendRequest: s[3] || (s[3] = (l) => v("sendRequest"))
172
+ onAddRequest: s[1] || (s[1] = (l) => e.eventBus.emit("open:command-palette", "addOperation")),
173
+ onOpenCommandPalette: s[2] || (s[2] = (l) => e.eventBus.emit("open:command-palette")),
174
+ onSendRequest: s[3] || (s[3] = (l) => T("sendRequest"))
174
175
  }, null, 8, ["appVersion", "events", "layout", "totalPerformedRequests"])),
175
- B(J, { events: e.events }, null, 8, ["events"])
176
+ h(J, { events: e.events }, null, 8, ["events"])
176
177
  ], 10, X)
177
178
  ]),
178
179
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/sidebar/Sidebar.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAIlF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAKrD,KAAK,WAAW,GAAG;IACjB,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;IAC5C,4BAA4B;IAC5B,MAAM,EAAE,YAAY,CAAA;CACrB,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,uCAAuC;IACvC,eAAe,CAAC,IAAI,OAAO,CAAA;IAC3B,mDAAmD;IACnD,MAAM,CAAC,IAAI,OAAO,CAAA;CACnB,CAAC;AA+CF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,eAAe,EAAE,OAAO,CAAC;IACzB,wCAAwC;IACxC,cAAc,EAAE,MAAM,CAAC;CACtB,CAAC;AAkLF,QAAA,MAAM,eAAe;;;;;;;;kFAOnB,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":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/sidebar/Sidebar.vue"],"names":[],"mappings":"AA2HA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAIlF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAKrD,KAAK,WAAW,GAAG;IACjB,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;IAC5C,4BAA4B;IAC5B,MAAM,EAAE,YAAY,CAAA;CACrB,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,uCAAuC;IACvC,eAAe,CAAC,IAAI,OAAO,CAAA;IAC3B,mDAAmD;IACnD,MAAM,CAAC,IAAI,OAAO,CAAA;CACnB,CAAC;AA+CF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,eAAe,EAAE,OAAO,CAAC;IACzB,wCAAwC;IACxC,cAAc,EAAE,MAAM,CAAC;CACtB,CAAC;AAsLF,QAAA,MAAM,eAAe;;;;;;;;kFAOnB,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,11 +1,11 @@
1
- import { defineComponent as v, mergeModels as w, computed as y, useModel as u, ref as g, createBlock as a, openBlock as r, unref as l, withCtx as s, createVNode as h, renderSlot as b, createElementVNode as S, createCommentVNode as c } from "vue";
2
- import { ScalarIconButton as x, ScalarSidebarSearchInput as O } from "@scalar/components";
3
- import { ScalarIconMagnifyingGlass as M } from "@scalar/icons";
4
- import { createSidebarState as V, ScalarSidebar as B } from "@scalar/sidebar";
5
- import E from "./SidebarMenu.vue.js";
1
+ import { defineComponent as k, mergeModels as w, computed as y, useModel as u, ref as g, createBlock as a, openBlock as l, unref as r, withCtx as d, createVNode as x, renderSlot as b, createElementVNode as S, createCommentVNode as p } from "vue";
2
+ import { ScalarIconButton as O, ScalarSidebarSearchInput as M } from "@scalar/components";
3
+ import { ScalarIconMagnifyingGlass as V } from "@scalar/icons";
4
+ import { createSidebarState as h, ScalarSidebar as E } from "@scalar/sidebar";
5
+ import B from "./SidebarMenu.vue.js";
6
6
  import W from "./SidebarToggle.vue.js";
7
7
  import $ from "../resize/Resize.vue.js";
8
- const C = { class: "bg-sidebar-b-1 sticky top-0 z-1 flex flex-col gap-3 px-3 pt-3" }, G = { class: "flex items-center justify-between" }, R = /* @__PURE__ */ v({
8
+ const C = { class: "bg-sidebar-b-1 sticky top-0 z-1 flex flex-col gap-3 px-3 pt-3" }, I = { class: "flex items-center justify-between" }, R = /* @__PURE__ */ k({
9
9
  __name: "Sidebar",
10
10
  props: /* @__PURE__ */ w({
11
11
  documents: {},
@@ -25,63 +25,64 @@ const C = { class: "bg-sidebar-b-1 sticky top-0 z-1 flex flex-col gap-3 px-3 pt-
25
25
  }),
26
26
  emits: ["update:workspace", "update:isSidebarOpen", "update:sidebarWidth"],
27
27
  setup(i) {
28
- const d = y(() => {
29
- const t = Object.entries(i.documents).map(
30
- ([e, o]) => ({
28
+ const s = y(() => {
29
+ const o = Object.entries(i.documents).map(
30
+ ([e, t]) => ({
31
31
  id: e,
32
32
  type: "document",
33
- title: o.info.title ?? e,
34
- children: o["x-scalar-navigation"]?.children ?? []
33
+ title: t.info.title ?? e,
34
+ children: t["x-scalar-navigation"]?.children ?? []
35
35
  })
36
36
  );
37
- return V(t);
38
- }), k = (t, ...e) => {
39
- console.log("[LOG] event name: ", t), console.log("[LOG]", ...e);
40
- }, p = u(i, "workspace"), m = u(i, "isSidebarOpen"), n = g(!1), f = u(i, "sidebarWidth");
41
- return (t, e) => (r(), a(l($), {
37
+ return h(o);
38
+ }), v = (o, ...e) => {
39
+ console.log("[LOG] event name: ", o), console.log("[LOG]", ...e);
40
+ }, c = u(i, "workspace"), m = u(i, "isSidebarOpen"), n = g(!1), f = u(i, "sidebarWidth");
41
+ return (o, e) => (l(), a(r($), {
42
42
  width: f.value,
43
- "onUpdate:width": e[4] || (e[4] = (o) => f.value = o),
43
+ "onUpdate:width": e[5] || (e[5] = (t) => f.value = t),
44
44
  class: "flex flex-col"
45
45
  }, {
46
- default: s(() => [
47
- h(l(B), {
46
+ default: d(() => [
47
+ x(r(E), {
48
48
  class: "flex w-auto flex-1",
49
- isExpanded: d.value.isExpanded,
50
- isSelected: d.value.isSelected,
51
- items: d.value.items.value,
49
+ isExpanded: s.value.isExpanded,
50
+ isSelected: s.value.isSelected,
51
+ items: s.value.items.value,
52
52
  layout: "client",
53
- onReorder: e[3] || (e[3] = (...o) => k("reorder", ...o))
53
+ onSelectItem: e[3] || (e[3] = (t) => s.value.setExpanded(t, !0)),
54
+ onReorder: e[4] || (e[4] = (...t) => v("reorder", ...t))
54
55
  }, {
55
- search: s(() => [
56
+ search: d(() => [
56
57
  S("div", C, [
57
- S("div", G, [
58
- t.layout === "desktop" ? (r(), a(E, {
58
+ S("div", I, [
59
+ o.layout === "desktop" ? (l(), a(B, {
59
60
  key: 0,
60
- workspace: p.value,
61
- "onUpdate:workspace": e[0] || (e[0] = (o) => p.value = o)
62
- }, null, 8, ["workspace"])) : t.layout === "modal" ? (r(), a(W, {
61
+ workspace: c.value,
62
+ "onUpdate:workspace": e[0] || (e[0] = (t) => c.value = t)
63
+ }, null, 8, ["workspace"])) : o.layout === "modal" ? (l(), a(W, {
63
64
  key: 1,
64
65
  modelValue: m.value,
65
- "onUpdate:modelValue": e[1] || (e[1] = (o) => m.value = o)
66
- }, null, 8, ["modelValue"])) : c("", !0),
67
- t.layout !== "web" ? (r(), a(l(x), {
66
+ "onUpdate:modelValue": e[1] || (e[1] = (t) => m.value = t)
67
+ }, null, 8, ["modelValue"])) : p("", !0),
68
+ o.layout !== "web" ? (l(), a(r(O), {
68
69
  key: 2,
69
- icon: l(M),
70
+ icon: r(V),
70
71
  label: "Search",
71
- onClick: e[2] || (e[2] = (o) => n.value = !n.value)
72
- }, null, 8, ["icon"])) : c("", !0)
72
+ onClick: e[2] || (e[2] = (t) => n.value = !n.value)
73
+ }, null, 8, ["icon"])) : p("", !0)
73
74
  ]),
74
- n.value || t.layout === "web" ? (r(), a(l(O), {
75
+ n.value || o.layout === "web" ? (l(), a(r(M), {
75
76
  key: 0,
76
- autofocus: t.layout !== "web"
77
- }, null, 8, ["autofocus"])) : c("", !0)
77
+ autofocus: o.layout !== "web"
78
+ }, null, 8, ["autofocus"])) : p("", !0)
78
79
  ])
79
80
  ]),
80
- before: s(() => [
81
- b(t.$slots, "workspaceButton")
81
+ before: d(() => [
82
+ b(o.$slots, "workspaceButton")
82
83
  ]),
83
- footer: s(() => [
84
- b(t.$slots, "footer")
84
+ footer: d(() => [
85
+ b(o.$slots, "footer")
85
86
  ]),
86
87
  _: 3
87
88
  }, 8, ["isExpanded", "isSelected", "items"])
@@ -1 +1 @@
1
- {"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/App.vue"],"names":[],"mappings":"AAmKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAWpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAOrD;;;;GAIG;;YAGO,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC;oBACtB,cAAc;;YADtB,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC;oBACtB,cAAc;;AAHhC,wBAoOC"}
1
+ {"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/App.vue"],"names":[],"mappings":"AAkMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAWpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAOrD;;;;GAIG;;YAGO,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC;oBACtB,cAAc;;YADtB,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC;oBACtB,cAAc;;AAHhC,wBAuQC"}