@scalar/api-client 2.9.1 → 2.11.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 (434) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +2 -2
  3. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  4. package/dist/components/ImportCollection/IntegrationLogo.vue.js +1 -0
  5. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
  6. package/dist/components/Server/ServerVariablesForm.vue.js +6 -6
  7. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  8. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
  9. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +14 -13
  10. package/dist/hooks/useClientConfig.d.ts +3 -3
  11. package/dist/layouts/App/create-api-client-app.d.ts +1 -1
  12. package/dist/layouts/Web/create-api-client-web.d.ts +1 -1
  13. package/dist/libs/create-client.d.ts +1 -1
  14. package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
  15. package/dist/libs/send-request/build-request-security.js +1 -1
  16. package/dist/libs/send-request/create-fetch-query-params.d.ts.map +1 -1
  17. package/dist/store/store.d.ts +1 -1
  18. package/dist/style.css +1 -1
  19. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +87 -0
  20. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -0
  21. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +126 -0
  22. package/dist/v2/blocks/operation-block/OperationBlock.vue2.js +4 -0
  23. package/dist/v2/{features/operation → blocks/operation-block}/components/Header.vue.d.ts +10 -32
  24. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -0
  25. package/dist/v2/{features/operation → blocks/operation-block}/components/Header.vue.js +2 -2
  26. package/dist/v2/blocks/operation-block/components/Header.vue2.js +91 -0
  27. package/dist/v2/blocks/operation-block/index.d.ts +2 -0
  28. package/dist/v2/blocks/operation-block/index.d.ts.map +1 -0
  29. package/dist/v2/blocks/operation-block/index.js +4 -0
  30. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
  31. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.js +11 -10
  32. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +10 -29
  33. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  34. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +1 -1
  35. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +52 -53
  36. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +15 -34
  37. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  38. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +179 -5
  39. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -169
  40. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +201 -198
  41. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +17 -22
  42. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  43. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +82 -5
  44. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +2 -80
  45. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +3 -13
  46. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  47. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +16 -18
  48. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +134 -144
  49. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +1 -1
  50. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  51. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +47 -45
  52. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +5 -5
  53. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
  54. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +7 -7
  55. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +7 -24
  56. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
  57. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
  58. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +230 -208
  59. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts +33 -30
  60. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +1 -1
  61. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
  62. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +138 -99
  63. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts +3 -5
  64. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +1 -1
  65. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +35 -35
  66. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts +3 -5
  67. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +1 -1
  68. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +1 -1
  69. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +45 -44
  70. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts +2 -5
  71. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +1 -1
  72. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +67 -65
  73. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts +2 -2
  74. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts.map +1 -1
  75. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +9 -9
  76. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +2 -4
  77. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
  78. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
  79. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +39 -38
  80. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts.map +1 -1
  81. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.js +2 -2
  82. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +18 -18
  83. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -1
  84. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.js +14 -14
  85. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -1
  86. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +12 -12
  87. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts.map +1 -1
  88. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +13 -13
  89. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -1
  90. package/dist/v2/components/data-table/DataTable.vue.js +4 -4
  91. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +5 -7
  92. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
  93. package/dist/v2/components/data-table/DataTableInput.vue.js +2 -2
  94. package/dist/v2/components/data-table/DataTableInput.vue2.js +32 -36
  95. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +25 -0
  96. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts.map +1 -0
  97. package/dist/v2/components/forms/ConfirmationForm.vue.js +7 -0
  98. package/dist/v2/components/forms/ConfirmationForm.vue2.js +45 -0
  99. package/dist/v2/components/forms/index.d.ts +2 -0
  100. package/dist/v2/components/forms/index.d.ts.map +1 -0
  101. package/dist/v2/components/forms/index.js +4 -0
  102. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts +43 -0
  103. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts.map +1 -0
  104. package/dist/v2/components/layout/CollapsibleSection.vue.js +89 -0
  105. package/dist/v2/components/layout/CollapsibleSection.vue2.js +4 -0
  106. package/dist/v2/components/layout/ValueEmitter.vue.d.ts +23 -0
  107. package/dist/v2/components/layout/ValueEmitter.vue.d.ts.map +1 -0
  108. package/dist/v2/components/layout/ValueEmitter.vue.js +21 -0
  109. package/dist/v2/components/layout/ValueEmitter.vue2.js +4 -0
  110. package/dist/v2/components/layout/index.d.ts +2 -0
  111. package/dist/v2/components/layout/index.d.ts.map +1 -0
  112. package/dist/v2/components/layout/index.js +4 -0
  113. package/dist/v2/components/modals/DeleteModal.vue.d.ts +15 -0
  114. package/dist/v2/components/modals/DeleteModal.vue.d.ts.map +1 -0
  115. package/dist/v2/components/modals/DeleteModal.vue.js +31 -0
  116. package/dist/v2/components/modals/DeleteModal.vue2.js +4 -0
  117. package/dist/v2/components/modals/index.d.ts +2 -0
  118. package/dist/v2/components/modals/index.d.ts.map +1 -0
  119. package/dist/v2/components/modals/index.js +4 -0
  120. package/dist/v2/components/server/ServerDropdown.vue.d.ts +4 -2
  121. package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
  122. package/dist/v2/components/server/ServerDropdown.vue.js +31 -31
  123. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts +2 -6
  124. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts.map +1 -1
  125. package/dist/v2/components/server/ServerDropdownItem.vue.js +1 -1
  126. package/dist/v2/components/server/ServerDropdownItem.vue2.js +16 -16
  127. package/dist/v2/components/server/index.d.ts.map +1 -1
  128. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +6 -2
  129. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  130. package/dist/v2/components/sidebar/Sidebar.vue.js +38 -47
  131. package/dist/v2/features/app/App.vue.d.ts +2 -2
  132. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  133. package/dist/v2/features/app/App.vue.js +93 -65
  134. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +7 -3
  135. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  136. package/dist/v2/features/app/components/AppSidebar.vue.js +2 -2
  137. package/dist/v2/features/app/components/AppSidebar.vue2.js +50 -47
  138. package/dist/v2/features/app/helpers/routes.d.ts +5 -11
  139. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  140. package/dist/v2/features/app/helpers/routes.js +1 -1
  141. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  142. package/dist/v2/features/collection/DocumentCollection.vue2.js +77 -72
  143. package/dist/v2/features/collection/WorkspaceCollection.vue2.js +15 -12
  144. package/dist/v2/features/collection/components/Authentication.vue.d.ts +13 -46
  145. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  146. package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
  147. package/dist/v2/features/collection/components/Authentication.vue2.js +48 -37
  148. package/dist/v2/features/collection/components/Environment.vue2.js +3 -0
  149. package/dist/v2/features/collection/components/Form.vue.d.ts +3 -7
  150. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
  151. package/dist/v2/features/collection/components/Form.vue.js +28 -33
  152. package/dist/v2/features/collection/components/Overview.vue2.js +24 -21
  153. package/dist/v2/features/collection/components/Servers.vue.d.ts +13 -31
  154. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  155. package/dist/v2/features/collection/components/Servers.vue2.js +103 -82
  156. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
  157. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +3 -3
  158. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  159. package/dist/v2/features/modal/Modal.vue.js +3 -3
  160. package/dist/v2/features/modal/Modal.vue2.js +40 -32
  161. package/dist/v2/features/operation/Operation.vue.d.ts +10 -77
  162. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  163. package/dist/v2/features/operation/Operation.vue.js +50 -114
  164. package/dist/v2/hooks/use-sidebar-state.d.ts +47 -0
  165. package/dist/v2/hooks/use-sidebar-state.d.ts.map +1 -0
  166. package/dist/v2/hooks/use-sidebar-state.js +112 -0
  167. package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -1
  168. package/dist/v2/hooks/use-workspace-client-events.js +100 -19
  169. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  170. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  171. package/dist/views/Request/libs/oauth2.js +8 -6
  172. package/package.json +17 -17
  173. package/dist/components/CodeInput/CodeInput.test.d.ts +0 -2
  174. package/dist/components/CodeInput/CodeInput.test.d.ts.map +0 -1
  175. package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts +0 -2
  176. package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts.map +0 -1
  177. package/dist/components/ImportCollection/utils/is-document.test.d.ts +0 -2
  178. package/dist/components/ImportCollection/utils/is-document.test.d.ts.map +0 -1
  179. package/dist/components/ImportCollection/utils/is-url.test.d.ts +0 -2
  180. package/dist/components/ImportCollection/utils/is-url.test.d.ts.map +0 -1
  181. package/dist/components/Search/useSearch.test.d.ts +0 -2
  182. package/dist/components/Search/useSearch.test.d.ts.map +0 -1
  183. package/dist/components/Server/ServerDropdown.test.d.ts +0 -2
  184. package/dist/components/Server/ServerDropdown.test.d.ts.map +0 -1
  185. package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts +0 -2
  186. package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts.map +0 -1
  187. package/dist/hooks/useResponseBody.test.d.ts +0 -2
  188. package/dist/hooks/useResponseBody.test.d.ts.map +0 -1
  189. package/dist/hooks/useSidebar.test.d.ts +0 -2
  190. package/dist/hooks/useSidebar.test.d.ts.map +0 -1
  191. package/dist/layouts/App/create-api-client-app.test.d.ts +0 -2
  192. package/dist/layouts/App/create-api-client-app.test.d.ts.map +0 -1
  193. package/dist/layouts/Modal/create-api-client-modal.test.d.ts +0 -2
  194. package/dist/layouts/Modal/create-api-client-modal.test.d.ts.map +0 -1
  195. package/dist/layouts/Web/create-api-client-web.test.d.ts +0 -2
  196. package/dist/layouts/Web/create-api-client-web.test.d.ts.map +0 -1
  197. package/dist/libs/create-client.test.d.ts +0 -2
  198. package/dist/libs/create-client.test.d.ts.map +0 -1
  199. package/dist/libs/env-helpers.test.d.ts +0 -2
  200. package/dist/libs/env-helpers.test.d.ts.map +0 -1
  201. package/dist/libs/event-bus.test.d.ts +0 -2
  202. package/dist/libs/event-bus.test.d.ts.map +0 -1
  203. package/dist/libs/extractAttachmentFilename.test.d.ts +0 -2
  204. package/dist/libs/extractAttachmentFilename.test.d.ts.map +0 -1
  205. package/dist/libs/find-request.test.d.ts +0 -2
  206. package/dist/libs/find-request.test.d.ts.map +0 -1
  207. package/dist/libs/get-request-uid-by-path-method.test.d.ts +0 -2
  208. package/dist/libs/get-request-uid-by-path-method.test.d.ts.map +0 -1
  209. package/dist/libs/hot-keys.test.d.ts +0 -2
  210. package/dist/libs/hot-keys.test.d.ts.map +0 -1
  211. package/dist/libs/importers/curl.test.d.ts +0 -2
  212. package/dist/libs/importers/curl.test.d.ts.map +0 -1
  213. package/dist/libs/normalize-headers.test.d.ts +0 -2
  214. package/dist/libs/normalize-headers.test.d.ts.map +0 -1
  215. package/dist/libs/parse-curl.test.d.ts +0 -2
  216. package/dist/libs/parse-curl.test.d.ts.map +0 -1
  217. package/dist/libs/send-request/build-request-security.test.d.ts +0 -2
  218. package/dist/libs/send-request/build-request-security.test.d.ts.map +0 -1
  219. package/dist/libs/send-request/create-fetch-auth.test.d.ts +0 -2
  220. package/dist/libs/send-request/create-fetch-auth.test.d.ts.map +0 -1
  221. package/dist/libs/send-request/create-fetch-body.test.d.ts +0 -2
  222. package/dist/libs/send-request/create-fetch-body.test.d.ts.map +0 -1
  223. package/dist/libs/send-request/create-fetch-headers.test.d.ts +0 -2
  224. package/dist/libs/send-request/create-fetch-headers.test.d.ts.map +0 -1
  225. package/dist/libs/send-request/create-fetch-query-params.test.d.ts +0 -2
  226. package/dist/libs/send-request/create-fetch-query-params.test.d.ts.map +0 -1
  227. package/dist/libs/send-request/create-request-operation.test.d.ts +0 -191
  228. package/dist/libs/send-request/create-request-operation.test.d.ts.map +0 -1
  229. package/dist/libs/send-request/decode-buffer.test.d.ts +0 -2
  230. package/dist/libs/send-request/decode-buffer.test.d.ts.map +0 -1
  231. package/dist/libs/send-request/set-request-cookies.test.d.ts +0 -2
  232. package/dist/libs/send-request/set-request-cookies.test.d.ts.map +0 -1
  233. package/dist/libs/string-template.test.d.ts +0 -2
  234. package/dist/libs/string-template.test.d.ts.map +0 -1
  235. package/dist/libs/validate-parameters.test.d.ts +0 -2
  236. package/dist/libs/validate-parameters.test.d.ts.map +0 -1
  237. package/dist/plugins/plugin-manager.test.d.ts +0 -2
  238. package/dist/plugins/plugin-manager.test.d.ts.map +0 -1
  239. package/dist/routes.test.d.ts +0 -2
  240. package/dist/routes.test.d.ts.map +0 -1
  241. package/dist/store/collections.test.d.ts +0 -2
  242. package/dist/store/collections.test.d.ts.map +0 -1
  243. package/dist/store/request.test.d.ts +0 -2
  244. package/dist/store/request.test.d.ts.map +0 -1
  245. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.test.d.ts +0 -2
  246. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.test.d.ts.map +0 -1
  247. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts +0 -2
  248. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts.map +0 -1
  249. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.test.d.ts +0 -2
  250. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.test.d.ts.map +0 -1
  251. package/dist/v2/blocks/operation-code-sample/helpers/find-client.test.d.ts +0 -2
  252. package/dist/v2/blocks/operation-code-sample/helpers/find-client.test.d.ts.map +0 -1
  253. package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.test.d.ts +0 -2
  254. package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.test.d.ts.map +0 -1
  255. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.test.d.ts +0 -2
  256. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.test.d.ts.map +0 -1
  257. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.test.d.ts +0 -2
  258. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.test.d.ts.map +0 -1
  259. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.test.d.ts +0 -2
  260. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.test.d.ts.map +0 -1
  261. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.test.d.ts +0 -2
  262. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.test.d.ts.map +0 -1
  263. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/get-example-value.test.d.ts +0 -2
  264. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/get-example-value.test.d.ts.map +0 -1
  265. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.test.d.ts +0 -2
  266. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.test.d.ts.map +0 -1
  267. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.test.d.ts +0 -2
  268. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.test.d.ts.map +0 -1
  269. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.test.d.ts +0 -2
  270. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.test.d.ts.map +0 -1
  271. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.test.d.ts +0 -2
  272. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.test.d.ts.map +0 -1
  273. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.test.d.ts +0 -2
  274. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.test.d.ts.map +0 -1
  275. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.test.d.ts +0 -2
  276. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.test.d.ts.map +0 -1
  277. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.d.ts +0 -2
  278. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.d.ts.map +0 -1
  279. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.test.d.ts +0 -2
  280. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.test.d.ts.map +0 -1
  281. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.d.ts +0 -2
  282. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.d.ts.map +0 -1
  283. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.d.ts +0 -2
  284. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.d.ts.map +0 -1
  285. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +0 -45
  286. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +0 -1
  287. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.d.ts +0 -2
  288. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.d.ts.map +0 -1
  289. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.d.ts +0 -2
  290. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.d.ts.map +0 -1
  291. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.test.d.ts +0 -2
  292. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.test.d.ts.map +0 -1
  293. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +0 -29
  294. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +0 -1
  295. package/dist/v2/blocks/scalar-auth-selector-block/event-types.d.ts +0 -29
  296. package/dist/v2/blocks/scalar-auth-selector-block/event-types.d.ts.map +0 -1
  297. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.test.d.ts +0 -2
  298. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.test.d.ts.map +0 -1
  299. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.test.d.ts +0 -2
  300. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.test.d.ts.map +0 -1
  301. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts +0 -2
  302. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts.map +0 -1
  303. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts +0 -2
  304. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts.map +0 -1
  305. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts +0 -2
  306. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts.map +0 -1
  307. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts +0 -2
  308. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts.map +0 -1
  309. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts +0 -2
  310. package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts.map +0 -1
  311. package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts +0 -2
  312. package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts.map +0 -1
  313. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts +0 -2
  314. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts.map +0 -1
  315. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts +0 -2
  316. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts.map +0 -1
  317. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts +0 -2
  318. package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts.map +0 -1
  319. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts +0 -2
  320. package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts.map +0 -1
  321. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts +0 -2
  322. package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts.map +0 -1
  323. package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts +0 -2
  324. package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts.map +0 -1
  325. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts +0 -2
  326. package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts.map +0 -1
  327. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts +0 -2
  328. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts.map +0 -1
  329. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts +0 -2
  330. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts.map +0 -1
  331. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts +0 -2
  332. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts.map +0 -1
  333. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts +0 -2
  334. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts.map +0 -1
  335. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts +0 -2
  336. package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts.map +0 -1
  337. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts +0 -2
  338. package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts.map +0 -1
  339. package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts +0 -2
  340. package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts.map +0 -1
  341. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts +0 -2
  342. package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts.map +0 -1
  343. package/dist/v2/components/code-input/CodeInput.test.d.ts +0 -2
  344. package/dist/v2/components/code-input/CodeInput.test.d.ts.map +0 -1
  345. package/dist/v2/components/code-input/code-variable-widget.test.d.ts +0 -2
  346. package/dist/v2/components/code-input/code-variable-widget.test.d.ts.map +0 -1
  347. package/dist/v2/components/server/ServerDropdown.test.d.ts +0 -2
  348. package/dist/v2/components/server/ServerDropdown.test.d.ts.map +0 -1
  349. package/dist/v2/components/server/ServerDropdownItem.test.d.ts +0 -2
  350. package/dist/v2/components/server/ServerDropdownItem.test.d.ts.map +0 -1
  351. package/dist/v2/features/app/App.test.d.ts +0 -2
  352. package/dist/v2/features/app/App.test.d.ts.map +0 -1
  353. package/dist/v2/features/collection/DocumentCollection.test.d.ts +0 -2
  354. package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +0 -1
  355. package/dist/v2/features/collection/components/Authentication.test.d.ts +0 -2
  356. package/dist/v2/features/collection/components/Authentication.test.d.ts.map +0 -1
  357. package/dist/v2/features/collection/components/Environment.test.d.ts +0 -2
  358. package/dist/v2/features/collection/components/Environment.test.d.ts.map +0 -1
  359. package/dist/v2/features/collection/components/LabelInput.test.d.ts +0 -2
  360. package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +0 -1
  361. package/dist/v2/features/collection/components/Overview.test.d.ts +0 -2
  362. package/dist/v2/features/collection/components/Overview.test.d.ts.map +0 -1
  363. package/dist/v2/features/collection/components/Servers.test.d.ts +0 -2
  364. package/dist/v2/features/collection/components/Servers.test.d.ts.map +0 -1
  365. package/dist/v2/features/collection/components/Settings.test.d.ts +0 -2
  366. package/dist/v2/features/collection/components/Settings.test.d.ts.map +0 -1
  367. package/dist/v2/features/collection/components/Tabs.test.d.ts +0 -2
  368. package/dist/v2/features/collection/components/Tabs.test.d.ts.map +0 -1
  369. package/dist/v2/features/environments/EnvironmentsList.test.d.ts +0 -2
  370. package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +0 -1
  371. package/dist/v2/features/environments/components/Environment.test.d.ts +0 -2
  372. package/dist/v2/features/environments/components/Environment.test.d.ts.map +0 -1
  373. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +0 -2
  374. package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +0 -1
  375. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +0 -2
  376. package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +0 -1
  377. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +0 -2
  378. package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +0 -1
  379. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +0 -2
  380. package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +0 -1
  381. package/dist/v2/features/operation/Operation.test.d.ts +0 -2
  382. package/dist/v2/features/operation/Operation.test.d.ts.map +0 -1
  383. package/dist/v2/features/operation/components/Header.test.d.ts +0 -2
  384. package/dist/v2/features/operation/components/Header.test.d.ts.map +0 -1
  385. package/dist/v2/features/operation/components/Header.vue.d.ts.map +0 -1
  386. package/dist/v2/features/operation/components/Header.vue2.js +0 -97
  387. package/dist/v2/features/settings/Settings.test.d.ts +0 -2
  388. package/dist/v2/features/settings/Settings.test.d.ts.map +0 -1
  389. package/dist/v2/hooks/use-document-watcher.test.d.ts +0 -2
  390. package/dist/v2/hooks/use-document-watcher.test.d.ts.map +0 -1
  391. package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts +0 -2
  392. package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts.map +0 -1
  393. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts +0 -2
  394. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts.map +0 -1
  395. package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts +0 -2
  396. package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts.map +0 -1
  397. package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts +0 -2
  398. package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts.map +0 -1
  399. package/dist/views/Request/RequestRoot.test.d.ts +0 -2
  400. package/dist/views/Request/RequestRoot.test.d.ts.map +0 -1
  401. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts +0 -2
  402. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts.map +0 -1
  403. package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts +0 -2
  404. package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts.map +0 -1
  405. package/dist/views/Request/RequestSection/RequestBody.test.d.ts +0 -2
  406. package/dist/views/Request/RequestSection/RequestBody.test.d.ts.map +0 -1
  407. package/dist/views/Request/RequestSection/RequestCodeExample.test.d.ts +0 -2
  408. package/dist/views/Request/RequestSection/RequestCodeExample.test.d.ts.map +0 -1
  409. package/dist/views/Request/RequestSection/RequestSection.test.d.ts +0 -2
  410. package/dist/views/Request/RequestSection/RequestSection.test.d.ts.map +0 -1
  411. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts +0 -2
  412. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts.map +0 -1
  413. package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts +0 -2
  414. package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts.map +0 -1
  415. package/dist/views/Request/RequestSection/helpers/update-scheme.test.d.ts +0 -2
  416. package/dist/views/Request/RequestSection/helpers/update-scheme.test.d.ts.map +0 -1
  417. package/dist/views/Request/RequestSubpageHeader.test.d.ts +0 -2
  418. package/dist/views/Request/RequestSubpageHeader.test.d.ts.map +0 -1
  419. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts +0 -2
  420. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts.map +0 -1
  421. package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts +0 -2
  422. package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts.map +0 -1
  423. package/dist/views/Request/consts/mediaTypes.test.d.ts +0 -2
  424. package/dist/views/Request/consts/mediaTypes.test.d.ts.map +0 -1
  425. package/dist/views/Request/libs/auth.test.d.ts +0 -2
  426. package/dist/views/Request/libs/auth.test.d.ts.map +0 -1
  427. package/dist/views/Request/libs/oauth2.test.d.ts +0 -2
  428. package/dist/views/Request/libs/oauth2.test.d.ts.map +0 -1
  429. package/dist/views/Request/libs/request.test.d.ts +0 -2
  430. package/dist/views/Request/libs/request.test.d.ts.map +0 -1
  431. package/dist/views/Request/libs/watch-mode.test.d.ts +0 -2
  432. package/dist/views/Request/libs/watch-mode.test.d.ts.map +0 -1
  433. package/dist/vitest.setup.d.ts +0 -34
  434. package/dist/vitest.setup.d.ts.map +0 -1
@@ -1,9 +1,9 @@
1
- import { defineComponent as h, computed as y, createBlock as p, openBlock as r, withCtx as o, createVNode as t, createElementBlock as B, createTextVNode as s, toDisplayString as u, Fragment as D, renderList as F } from "vue";
2
- import k from "../../../../components/DataTable/DataTable.vue.js";
3
- import m from "../../../../components/DataTable/DataTableHeader.vue.js";
4
- import U from "../../../../components/DataTable/DataTableRow.vue.js";
5
- import V from "./OperationTableRow.vue.js";
6
- const T = /* @__PURE__ */ h({
1
+ import { defineComponent as B, computed as p, createBlock as f, openBlock as u, unref as t, withCtx as n, createVNode as d, createElementBlock as D, createTextVNode as s, toDisplayString as m, Fragment as F, renderList as k } from "vue";
2
+ import U from "./OperationTableRow.vue.js";
3
+ import C from "../../../components/data-table/DataTable.vue.js";
4
+ import O from "../../../components/data-table/DataTableRow.vue.js";
5
+ import c from "../../../components/data-table/DataTableHeader.vue.js";
6
+ const V = /* @__PURE__ */ B({
7
7
  __name: "OperationTable",
8
8
  props: {
9
9
  data: {},
@@ -12,74 +12,75 @@ const T = /* @__PURE__ */ h({
12
12
  invalidParams: {},
13
13
  label: {},
14
14
  showUploadButton: { type: Boolean },
15
- environment: {},
16
- envVariables: {}
15
+ showAddRowPlaceholder: { type: Boolean, default: !0 },
16
+ environment: {}
17
17
  },
18
18
  emits: ["addRow", "updateRow", "deleteRow", "uploadFile", "removeFile"],
19
- setup(n, { emit: b }) {
20
- const a = b, v = (e) => {
21
- a("uploadFile", e);
22
- }, c = ["36px", "", "", "auto"], f = y(() => {
23
- const e = n.data.at(-1);
24
- return !e || e.name !== "" && e.value !== "" ? [...n.data, { name: "", value: "", isDisabled: !0 }] : n.data;
25
- }), R = ({
19
+ setup(a, { emit: b }) {
20
+ const l = b, w = (e) => {
21
+ l("uploadFile", e);
22
+ }, h = p(() => a.showUploadButton ? ["36px", "", "", "auto"] : ["36px", "", ""]), R = p(() => {
23
+ if (!a.showAddRowPlaceholder)
24
+ return a.data;
25
+ const e = a.data.at(-1);
26
+ return !e || e.name !== "" || e.value !== "" ? [...a.data, { name: "", value: "", isDisabled: !0 }] : a.data;
27
+ }), v = ({
26
28
  index: e,
27
- payload: i
29
+ payload: r
28
30
  }) => {
29
- if (e >= n.data.length) {
30
- a("addRow", i);
31
+ if (e >= a.data.length) {
32
+ l("addRow", r);
31
33
  return;
32
34
  }
33
- a("updateRow", e, i);
35
+ l("updateRow", e, r);
34
36
  };
35
- return (e, i) => (r(), p(k, {
37
+ return (e, r) => (u(), f(t(C), {
36
38
  class: "group/table flex-1",
37
- columns: c
39
+ columns: h.value
38
40
  }, {
39
- default: o(() => [
40
- t(U, { class: "sr-only !block" }, {
41
- default: o(() => [
42
- t(m, null, {
43
- default: o(() => [
44
- s(u(e.label) + " Enabled", 1)
41
+ default: n(() => [
42
+ d(t(O), { class: "sr-only !block" }, {
43
+ default: n(() => [
44
+ d(t(c), null, {
45
+ default: n(() => [
46
+ s(m(e.label) + " Enabled", 1)
45
47
  ]),
46
48
  _: 1
47
49
  }),
48
- t(m, null, {
49
- default: o(() => [
50
- s(u(e.label) + " Key", 1)
50
+ d(t(c), null, {
51
+ default: n(() => [
52
+ s(m(e.label) + " Key", 1)
51
53
  ]),
52
54
  _: 1
53
55
  }),
54
- t(m, null, {
55
- default: o(() => [
56
- s(u(e.label) + " Value", 1)
56
+ d(t(c), null, {
57
+ default: n(() => [
58
+ s(m(e.label) + " Value", 1)
57
59
  ]),
58
60
  _: 1
59
61
  })
60
62
  ]),
61
63
  _: 1
62
64
  }),
63
- (r(!0), B(D, null, F(f.value, (w, l) => (r(), p(V, {
64
- key: l,
65
- data: w,
66
- envVariables: e.envVariables,
65
+ (u(!0), D(F, null, k(R.value, (y, o) => (u(), f(U, {
66
+ key: o,
67
+ data: y,
67
68
  environment: e.environment,
68
69
  hasCheckboxDisabled: e.hasCheckboxDisabled,
69
70
  invalidParams: e.invalidParams,
70
71
  isReadOnly: e.isReadOnly,
71
72
  label: e.label,
72
73
  showUploadButton: e.showUploadButton,
73
- onDeleteRow: (d) => a("deleteRow", l),
74
- onRemoveFile: (d) => a("removeFile", l),
75
- onUpdateRow: (d) => R({ index: l, payload: d }),
76
- onUploadFile: () => v(l)
77
- }, null, 8, ["data", "envVariables", "environment", "hasCheckboxDisabled", "invalidParams", "isReadOnly", "label", "showUploadButton", "onDeleteRow", "onRemoveFile", "onUpdateRow", "onUploadFile"]))), 128))
74
+ onDeleteRow: (i) => l("deleteRow", o),
75
+ onRemoveFile: (i) => l("removeFile", o),
76
+ onUpdateRow: (i) => v({ index: o, payload: i }),
77
+ onUploadFile: () => w(o)
78
+ }, null, 8, ["data", "environment", "hasCheckboxDisabled", "invalidParams", "isReadOnly", "label", "showUploadButton", "onDeleteRow", "onRemoveFile", "onUpdateRow", "onUploadFile"]))), 128))
78
79
  ]),
79
80
  _: 1
80
- }));
81
+ }, 8, ["columns"]));
81
82
  }
82
83
  });
83
84
  export {
84
- T as default
85
+ V as default
85
86
  };
@@ -1,15 +1,12 @@
1
- import type { Environment } from '@scalar/oas-utils/entities/environment';
1
+ import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
2
2
  import type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
- import type { EnvVariable } from '../../../../store/index.js';
4
3
  type __VLS_Props = {
5
4
  data: TableRow;
6
5
  isReadOnly?: boolean;
7
6
  hasCheckboxDisabled?: boolean;
8
7
  invalidParams?: Set<string>;
9
8
  label?: string;
10
- /** TODO: remove as soon as we migrate to the new store */
11
- environment: Environment;
12
- envVariables: EnvVariable[];
9
+ environment: XScalarEnvironment;
13
10
  showUploadButton?: boolean;
14
11
  };
15
12
  export type TableRow = {
@@ -1 +1 @@
1
- {"version":3,"file":"OperationTableRow.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationTableRow.vue"],"names":[],"mappings":"AAwNA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAShG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAI1C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0DAA0D;IAC1D,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAC;AAoBF,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;;;aAf2B,MAAM;eAAS,MAAM;mBAAa,OAAO;;;;;;;aAAzC,MAAM;eAAS,MAAM;mBAAa,OAAO;;;;;;AA2erE,wBAOG"}
1
+ {"version":3,"file":"OperationTableRow.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationTableRow.vue"],"names":[],"mappings":"AA2NA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAahG,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,kBAAkB,CAAA;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAC;AAqBF,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;;;aAf2B,MAAM;eAAS,MAAM;mBAAa,OAAO;;;;;;;aAAzC,MAAM;eAAS,MAAM;mBAAa,OAAO;;;;;;AA2erE,wBAOG"}
@@ -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 d, createVNode as i, createCommentVNode as b, createElementVNode as m, createElementBlock as v, 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 p } 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/data-table/DataTableRow.vue.js";
9
+ import P from "../../../components/data-table/DataTableCheckbox.vue.js";
10
+ import f from "../../../components/data-table/DataTableCell.vue.js";
11
+ import w from "../../../components/code-input/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: {},
@@ -19,48 +21,50 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
19
21
  invalidParams: {},
20
22
  label: {},
21
23
  environment: {},
22
- envVariables: {},
23
24
  showUploadButton: { type: Boolean }
24
25
  },
25
26
  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
33
- ), 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,
27
+ setup(t, { emit: V }) {
28
+ const n = V, R = r(() => t.data.schema?.default), g = r(() => t.data.schema?.enum), B = r(
29
+ () => t.data.schema && "minimum" in t.data.schema ? t.data.schema.minimum : void 0
30
+ ), C = r(
31
+ () => t.data.schema && "maximum" in t.data.schema ? t.data.schema.maximum : void 0
32
+ ), F = r(
33
+ () => t.data.schema && "type" in t.data.schema ? t.data.schema.type : void 0
34
+ ), c = r(
35
+ () => q(t.data.schema, t.data.value)
36
+ ), x = (e) => e instanceof File, T = r({
37
+ get: () => {
38
+ const e = p(t.data.value);
39
+ return e instanceof File ? k(p(t.data.value)) ?? "" : e === null ? "" : e;
40
+ },
37
41
  set: (e) => {
38
42
  typeof e == "string" && n("updateRow", { value: e });
39
43
  }
40
44
  });
41
45
  return (e, a) => {
42
- const T = S("RouterLink");
43
- return s(), u(t(q), {
46
+ const z = U("RouterLink");
47
+ return s(), u(l(N), {
44
48
  id: e.data.name,
45
- class: U({
46
- alert: f.value.ok === !1,
47
- error: f.value.ok === !1 && e.invalidParams?.has(e.data.name)
49
+ class: $({
50
+ alert: c.value.ok === !1,
51
+ error: c.value.ok === !1 && e.invalidParams?.has(e.data.name)
48
52
  })
49
53
  }, {
50
- default: i(() => [
51
- e.data.globalRoute !== void 0 ? (s(), u(T, {
54
+ default: d(() => [
55
+ e.data.globalRoute !== void 0 ? (s(), u(z, {
52
56
  key: 0,
53
57
  class: "text-c-2 flex items-center justify-center border-t !border-r",
54
58
  to: e.data.globalRoute ?? {}
55
59
  }, {
56
- default: i(() => [
60
+ default: d(() => [
57
61
  a[8] || (a[8] = m("span", { class: "sr-only" }, "Global", -1)),
58
- d(t(D), {
62
+ i(l(O), {
59
63
  content: "Global cookies are shared across the whole workspace.",
60
64
  placement: "top"
61
65
  }, {
62
- default: i(() => [
63
- d(t(c), {
66
+ default: d(() => [
67
+ i(l(y), {
64
68
  class: "text-c-1",
65
69
  icon: "Globe",
66
70
  size: "xs",
@@ -71,22 +75,21 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
71
75
  })
72
76
  ]),
73
77
  _: 1
74
- }, 8, ["to"])) : (s(), u(t(j), {
78
+ }, 8, ["to"])) : (s(), u(l(P), {
75
79
  key: 1,
76
80
  class: "!border-r",
77
81
  disabled: e.hasCheckboxDisabled ?? !1,
78
82
  modelValue: !e.data.isDisabled,
79
83
  "onUpdate:modelValue": a[0] || (a[0] = (o) => n("updateRow", { isEnabled: o }))
80
84
  }, null, 8, ["disabled", "modelValue"])),
81
- d(t(v), null, {
82
- default: i(() => [
83
- d(t(h), {
85
+ i(l(f), null, {
86
+ default: d(() => [
87
+ i(l(w), {
84
88
  "aria-label": `${e.label} Key`,
85
89
  disableCloseBrackets: "",
86
90
  disabled: e.isReadOnly,
87
91
  disableEnter: "",
88
92
  disableTabIndent: "",
89
- envVariables: e.envVariables,
90
93
  environment: e.environment,
91
94
  lineWrapping: "",
92
95
  modelValue: e.data.name,
@@ -94,80 +97,79 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
94
97
  required: !!e.data.isRequired,
95
98
  onSelectVariable: a[1] || (a[1] = (o) => n("updateRow", { key: o })),
96
99
  "onUpdate:modelValue": a[2] || (a[2] = (o) => n("updateRow", { key: o }))
97
- }, null, 8, ["aria-label", "disabled", "envVariables", "environment", "modelValue", "required"])
100
+ }, null, 8, ["aria-label", "disabled", "environment", "modelValue", "required"])
98
101
  ]),
99
102
  _: 1
100
103
  }),
101
- d(t(v), null, {
102
- default: i(() => [
103
- d(t(h), {
104
+ i(l(f), null, {
105
+ default: d(() => [
106
+ i(l(w), {
104
107
  "aria-label": `${e.label} Value`,
105
108
  class: "pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",
106
- default: V.value,
109
+ default: R.value,
107
110
  disableCloseBrackets: "",
108
111
  disabled: e.isReadOnly,
109
112
  disableEnter: "",
110
113
  disableTabIndent: "",
111
- enum: w.value ?? [],
112
- envVariables: e.envVariables,
114
+ enum: g.value ?? [],
113
115
  environment: e.environment,
114
116
  lineWrapping: "",
115
- max: g.value,
116
- min: R.value,
117
- modelValue: F.value,
117
+ max: C.value,
118
+ min: B.value,
119
+ modelValue: T.value,
118
120
  placeholder: "Value",
119
- type: B.value,
121
+ type: F.value,
120
122
  onSelectVariable: a[4] || (a[4] = (o) => n("updateRow", { value: o })),
121
123
  "onUpdate:modelValue": a[5] || (a[5] = (o) => n("updateRow", { value: o }))
122
124
  }, {
123
- icon: i(() => [
124
- (e.data.name || e.data.value) && !e.data.isRequired ? (s(), u(t(y), {
125
+ icon: d(() => [
126
+ (e.data.name || e.data.value) && !e.data.isRequired ? (s(), u(l(h), {
125
127
  key: 0,
126
128
  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
129
  size: "sm",
128
130
  variant: "ghost",
129
131
  onClick: a[3] || (a[3] = (o) => n("deleteRow"))
130
132
  }, {
131
- default: i(() => [
132
- d(t(I), { class: "size-3.5" })
133
+ default: d(() => [
134
+ i(l(E), { class: "size-3.5" })
133
135
  ]),
134
136
  _: 1
135
137
  })) : b("", !0),
136
- e.data.schema ? (s(), u(E, {
138
+ e.data.schema ? (s(), u(j, {
137
139
  key: 1,
138
140
  schema: e.data.schema,
139
141
  value: e.data.value
140
142
  }, null, 8, ["schema", "value"])) : b("", !0)
141
143
  ]),
142
144
  _: 1
143
- }, 8, ["aria-label", "default", "disabled", "enum", "envVariables", "environment", "max", "min", "modelValue", "type"])
145
+ }, 8, ["aria-label", "default", "disabled", "enum", "environment", "max", "min", "modelValue", "type"])
144
146
  ]),
145
147
  _: 1
146
148
  }),
147
- e.showUploadButton ? (s(), u(t(v), {
149
+ e.showUploadButton ? (s(), u(l(f), {
148
150
  key: 2,
149
151
  class: "group/upload flex items-center justify-center whitespace-nowrap"
150
152
  }, {
151
- default: i(() => [
152
- C(e.data.value) ? (s(), p($, { key: 0 }, [
153
+ default: d(() => [
154
+ x(l(p)(e.data.value)) ? (s(), v(D, { key: 0 }, [
153
155
  m("div", G, [
154
- m("span", null, x(e.data.value.name), 1)
156
+ m("span", null, I(l(k)(l(p)(e.data.value))), 1)
155
157
  ]),
156
158
  m("button", {
157
159
  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
160
  type: "button",
159
161
  onClick: a[6] || (a[6] = (o) => n("removeFile"))
160
162
  }, " Delete ")
161
- ], 64)) : (s(), p("div", N, [
162
- d(t(y), {
163
+ ], 64)) : (s(), v("div", K, [
164
+ i(l(h), {
163
165
  class: "bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",
164
166
  size: "sm",
165
167
  variant: "outlined",
166
168
  onClick: a[7] || (a[7] = (o) => n("uploadFile"))
167
169
  }, {
168
- default: i(() => [
170
+ default: d(() => [
169
171
  a[9] || (a[9] = m("span", null, "Upload File", -1)),
170
- d(t(c), {
172
+ i(l(y), {
171
173
  class: "ml-1",
172
174
  icon: "Upload",
173
175
  size: "xs",
@@ -187,5 +189,5 @@ const G = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
187
189
  }
188
190
  });
189
191
  export {
190
- X as default
192
+ ee as default
191
193
  };
@@ -5,9 +5,9 @@ type Header = {
5
5
  type __VLS_Props = {
6
6
  headers: Header[];
7
7
  };
8
- declare var __VLS_5: {};
8
+ declare var __VLS_6: {};
9
9
  type __VLS_Slots = {} & {
10
- title?: (props: typeof __VLS_5) => any;
10
+ title?: (props: typeof __VLS_6) => any;
11
11
  };
12
12
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1 +1 @@
1
- {"version":3,"file":"Headers.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-response-block/components/Headers.vue"],"names":[],"mappings":"AA8EA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE7C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;AAsKF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA0B7C,QAAA,MAAM,eAAe,kSAMnB,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":"Headers.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-response-block/components/Headers.vue"],"names":[],"mappings":"AA8EA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE7C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;AAuKF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA0B7C,QAAA,MAAM,eAAe,kSAMnB,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,10 +1,10 @@
1
- import { defineComponent as x, createBlock as f, openBlock as t, withCtx as e, createElementBlock as s, createVNode as n, unref as d, createTextVNode as l, Fragment as u, renderList as y, toDisplayString as i, renderSlot as h } from "vue";
1
+ import { defineComponent as x, createBlock as f, openBlock as t, unref as m, withCtx as e, createElementBlock as s, createVNode as n, createTextVNode as l, Fragment as u, renderList as y, toDisplayString as i, renderSlot as h } from "vue";
2
2
  import b from "../../../../components/DataTable/DataTable.vue.js";
3
3
  import c from "../../../../components/DataTable/DataTableRow.vue.js";
4
4
  import p from "../../../../components/DataTable/DataTableText.vue.js";
5
5
  import g from "../../../../components/HelpfulLink.vue.js";
6
- import k from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
- import { httpHeaders as w } from "../../../../data/httpHeaders.js";
6
+ import { httpHeaders as k } from "../../../../data/httpHeaders.js";
7
+ import w from "../../../components/layout/CollapsibleSection.vue.js";
8
8
  import _ from "../../../../components/DataTable/DataTableHeader.vue.js";
9
9
  const C = {
10
10
  key: 0,
@@ -18,10 +18,10 @@ const C = {
18
18
  headers: {}
19
19
  },
20
20
  setup($) {
21
- const m = (r) => w.find(
21
+ const d = (r) => k.find(
22
22
  (o) => o.name.toLowerCase() === r.toLowerCase()
23
23
  );
24
- return (r, o) => (t(), f(k, {
24
+ return (r, o) => (t(), f(m(w), {
25
25
  class: "overflow-auto",
26
26
  defaultOpen: !1,
27
27
  itemCount: r.headers.length
@@ -38,13 +38,13 @@ const C = {
38
38
  default: e(() => [
39
39
  n(c, { class: "sr-only !block" }, {
40
40
  default: e(() => [
41
- n(d(_), null, {
41
+ n(m(_), null, {
42
42
  default: e(() => [...o[0] || (o[0] = [
43
43
  l("Header Key", -1)
44
44
  ])]),
45
45
  _: 1
46
46
  }),
47
- n(d(_), null, {
47
+ n(m(_), null, {
48
48
  default: e(() => [...o[1] || (o[1] = [
49
49
  l("Header Value", -1)
50
50
  ])]),
@@ -60,10 +60,10 @@ const C = {
60
60
  default: e(() => [
61
61
  n(p, { class: "bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0" }, {
62
62
  default: e(() => [
63
- typeof m(a.name)?.url == "string" ? (t(), f(g, {
63
+ typeof d(a.name)?.url == "string" ? (t(), f(g, {
64
64
  key: 0,
65
65
  class: "decoration-c-3",
66
- href: m(a.name).url
66
+ href: d(a.name).url
67
67
  }, {
68
68
  default: e(() => [
69
69
  l(i(a.name), 1)
@@ -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
  };