@scalar/api-client 3.27.0 → 3.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
  3. package/dist/assets/computer.ascii_raw.js +1 -2
  4. package/dist/components/HelpfulLink.vue.js +1 -2
  5. package/dist/components/HelpfulLink.vue.js.map +1 -1
  6. package/dist/components/HelpfulLink.vue_vue_type_script_setup_true_lang.js +1 -2
  7. package/dist/components/HttpMethod/HttpMethod.vue.js +1 -2
  8. package/dist/components/HttpMethod/HttpMethod.vue.js.map +1 -1
  9. package/dist/components/HttpMethod/HttpMethod.vue_vue_type_script_setup_true_lang.js +1 -2
  10. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js +2 -3
  11. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js.map +1 -1
  12. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue_vue_type_script_setup_true_lang.js +1 -2
  13. package/dist/components/SectionFilter.vue.js +2 -3
  14. package/dist/components/SectionFilter.vue.js.map +1 -1
  15. package/dist/components/SectionFilter.vue_vue_type_script_setup_true_lang.js +2 -3
  16. package/dist/components/SectionFilterButton.vue.js +1 -2
  17. package/dist/components/SectionFilterButton.vue.js.map +1 -1
  18. package/dist/components/SectionFilterButton.vue_vue_type_script_setup_true_lang.js +1 -2
  19. package/dist/components/Server/ServerVariablesForm.vue.js +1 -2
  20. package/dist/components/Server/ServerVariablesForm.vue.js.map +1 -1
  21. package/dist/components/Server/ServerVariablesForm.vue_vue_type_script_setup_true_lang.js +1 -2
  22. package/dist/components/Server/ServerVariablesForm.vue_vue_type_script_setup_true_lang.js.map +1 -1
  23. package/dist/components/Server/ServerVariablesSelect.vue.js +1 -2
  24. package/dist/components/Server/ServerVariablesSelect.vue.js.map +1 -1
  25. package/dist/components/Server/ServerVariablesSelect.vue_vue_type_script_setup_true_lang.js +1 -2
  26. package/dist/components/Server/ServerVariablesSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  27. package/dist/components/Server/ServerVariablesTextbox.vue.js +1 -2
  28. package/dist/components/Server/ServerVariablesTextbox.vue.js.map +1 -1
  29. package/dist/components/Server/ServerVariablesTextbox.vue_vue_type_script_setup_true_lang.js +1 -2
  30. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +1 -2
  31. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js.map +1 -1
  32. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue_vue_type_script_setup_true_lang.js +2 -3
  33. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue_vue_type_script_setup_true_lang.js.map +1 -1
  34. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -2
  35. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js.map +1 -1
  36. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue_vue_type_script_setup_true_lang.js +1 -2
  37. package/dist/components/ViewLayout/ViewLayout.vue.js +1 -2
  38. package/dist/components/ViewLayout/ViewLayout.vue.js.map +1 -1
  39. package/dist/components/ViewLayout/ViewLayout.vue_vue_type_script_setup_true_lang.js +1 -2
  40. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -2
  41. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -2
  42. package/dist/components/ViewLayout/ViewLayoutSection.vue.js.map +1 -1
  43. package/dist/components/ViewLayout/ViewLayoutSection.vue_vue_type_script_setup_true_lang.js +1 -2
  44. package/dist/components/ViewLayout/ViewLayoutSection.vue_vue_type_script_setup_true_lang.js.map +1 -1
  45. package/dist/hooks/use-file-dialog.js +1 -2
  46. package/dist/plugins/posthog/index.js +1 -2
  47. package/dist/plugins/posthog/sanitize-event-payload.js +1 -2
  48. package/dist/style.css +468 -445
  49. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  50. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +1 -2
  51. package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
  52. package/dist/v2/blocks/operation-block/OperationBlock.vue_vue_type_script_setup_true_lang.js +11 -7
  53. package/dist/v2/blocks/operation-block/OperationBlock.vue_vue_type_script_setup_true_lang.js.map +1 -1
  54. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -3
  55. package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
  56. package/dist/v2/blocks/operation-block/components/Header.vue_vue_type_script_setup_true_lang.js +3 -4
  57. package/dist/v2/blocks/operation-block/components/Header.vue_vue_type_script_setup_true_lang.js.map +1 -1
  58. package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js +2 -3
  59. package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js.map +1 -1
  60. package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue_vue_type_script_setup_true_lang.js +1 -2
  61. package/dist/v2/blocks/operation-block/helpers/decode-buffer.js +1 -2
  62. package/dist/v2/blocks/operation-block/helpers/get-cookie-header-keys.js +1 -2
  63. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.js +1 -2
  64. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.js +1 -2
  65. package/dist/v2/blocks/operation-block/helpers/persist-response-cookies.js +1 -2
  66. package/dist/v2/blocks/operation-block/helpers/persist-script-environment.js +1 -2
  67. package/dist/v2/blocks/operation-block/helpers/response-cache.js +1 -2
  68. package/dist/v2/blocks/operation-block/helpers/send-request.js +1 -2
  69. package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.js +1 -2
  70. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +2 -0
  71. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  72. package/dist/v2/blocks/request-block/RequestBlock.vue.js +3 -4
  73. package/dist/v2/blocks/request-block/RequestBlock.vue.js.map +1 -1
  74. package/dist/v2/blocks/request-block/RequestBlock.vue_vue_type_script_setup_true_lang.js +13 -7
  75. package/dist/v2/blocks/request-block/RequestBlock.vue_vue_type_script_setup_true_lang.js.map +1 -1
  76. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +2 -0
  77. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  78. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +3 -4
  79. package/dist/v2/blocks/request-block/components/RequestBody.vue.js.map +1 -1
  80. package/dist/v2/blocks/request-block/components/RequestBody.vue_vue_type_script_setup_true_lang.js +17 -13
  81. package/dist/v2/blocks/request-block/components/RequestBody.vue_vue_type_script_setup_true_lang.js.map +1 -1
  82. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js +1 -2
  83. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js.map +1 -1
  84. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue_vue_type_script_setup_true_lang.js +1 -2
  85. package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue.d.ts +3 -0
  86. package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue.d.ts.map +1 -1
  87. package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue.js +1 -2
  88. package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue.js.map +1 -1
  89. package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue_vue_type_script_setup_true_lang.js +9 -4
  90. package/dist/v2/blocks/request-block/components/RequestBodyMultipart.vue_vue_type_script_setup_true_lang.js.map +1 -1
  91. package/dist/v2/blocks/request-block/components/RequestBodyStructured.vue.js +1 -2
  92. package/dist/v2/blocks/request-block/components/RequestBodyStructured.vue.js.map +1 -1
  93. package/dist/v2/blocks/request-block/components/RequestBodyStructured.vue_vue_type_script_setup_true_lang.js +2 -3
  94. package/dist/v2/blocks/request-block/components/RequestBodyViewToggle.vue.js +1 -2
  95. package/dist/v2/blocks/request-block/components/RequestBodyViewToggle.vue.js.map +1 -1
  96. package/dist/v2/blocks/request-block/components/RequestBodyViewToggle.vue_vue_type_script_setup_true_lang.js +1 -2
  97. package/dist/v2/blocks/request-block/components/RequestBodyViewToggle.vue_vue_type_script_setup_true_lang.js.map +1 -1
  98. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
  99. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js +1 -2
  100. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js.map +1 -1
  101. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue_vue_type_script_setup_true_lang.js +4 -3
  102. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue_vue_type_script_setup_true_lang.js.map +1 -1
  103. package/dist/v2/blocks/request-block/components/RequestParams.vue.js +1 -2
  104. package/dist/v2/blocks/request-block/components/RequestParams.vue.js.map +1 -1
  105. package/dist/v2/blocks/request-block/components/RequestParams.vue_vue_type_script_setup_true_lang.js +2 -3
  106. package/dist/v2/blocks/request-block/components/RequestParams.vue_vue_type_script_setup_true_lang.js.map +1 -1
  107. package/dist/v2/blocks/request-block/components/RequestTable.vue.js +2 -3
  108. package/dist/v2/blocks/request-block/components/RequestTable.vue.js.map +1 -1
  109. package/dist/v2/blocks/request-block/components/RequestTable.vue_vue_type_script_setup_true_lang.js +3 -4
  110. package/dist/v2/blocks/request-block/components/RequestTableFileList.vue.js +1 -2
  111. package/dist/v2/blocks/request-block/components/RequestTableFileList.vue.js.map +1 -1
  112. package/dist/v2/blocks/request-block/components/RequestTableFileList.vue_vue_type_script_setup_true_lang.js +1 -2
  113. package/dist/v2/blocks/request-block/components/RequestTableFileList.vue_vue_type_script_setup_true_lang.js.map +1 -1
  114. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +1 -2
  115. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js.map +1 -1
  116. package/dist/v2/blocks/request-block/components/RequestTableRow.vue_vue_type_script_setup_true_lang.js +5 -6
  117. package/dist/v2/blocks/request-block/components/RequestTableRow.vue_vue_type_script_setup_true_lang.js.map +1 -1
  118. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js +1 -2
  119. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js.map +1 -1
  120. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue_vue_type_script_setup_true_lang.js +2 -3
  121. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue_vue_type_script_setup_true_lang.js.map +1 -1
  122. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +1 -2
  123. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts +2 -0
  124. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts.map +1 -1
  125. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js +6 -3
  126. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js.map +1 -1
  127. package/dist/v2/blocks/request-block/helpers/files.js +1 -2
  128. package/dist/v2/blocks/request-block/helpers/fold-structured-body-rows.js +1 -2
  129. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +1 -2
  130. package/dist/v2/blocks/request-block/helpers/get-parameter-content.js +1 -2
  131. package/dist/v2/blocks/request-block/helpers/get-parameter-schema.js +1 -2
  132. package/dist/v2/blocks/request-block/helpers/get-structured-body-rows.js +1 -2
  133. package/dist/v2/blocks/request-block/helpers/group-by.js +1 -2
  134. package/dist/v2/blocks/request-block/helpers/group-form-body-files.js +2 -3
  135. package/dist/v2/blocks/request-block/helpers/group-form-body-files.js.map +1 -1
  136. package/dist/v2/blocks/request-block/helpers/group-global-cookies.js +1 -2
  137. package/dist/v2/blocks/request-block/helpers/multipart-body.js +1 -2
  138. package/dist/v2/blocks/request-block/helpers/structured-body-codec.js +1 -2
  139. package/dist/v2/blocks/request-block/helpers/validate-parameter.js +1 -2
  140. package/dist/v2/blocks/response-block/ResponseBlock.vue.js +2 -3
  141. package/dist/v2/blocks/response-block/ResponseBlock.vue.js.map +1 -1
  142. package/dist/v2/blocks/response-block/ResponseBlock.vue_vue_type_script_setup_true_lang.js +4 -5
  143. package/dist/v2/blocks/response-block/ResponseBlock.vue_vue_type_script_setup_true_lang.js.map +1 -1
  144. package/dist/v2/blocks/response-block/components/Headers.vue.js +1 -2
  145. package/dist/v2/blocks/response-block/components/Headers.vue.js.map +1 -1
  146. package/dist/v2/blocks/response-block/components/Headers.vue_vue_type_script_setup_true_lang.js +3 -4
  147. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +2 -3
  148. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js.map +1 -1
  149. package/dist/v2/blocks/response-block/components/ResponseBody.vue_vue_type_script_setup_true_lang.js +5 -6
  150. package/dist/v2/blocks/response-block/components/ResponseBody.vue_vue_type_script_setup_true_lang.js.map +1 -1
  151. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.js +1 -2
  152. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.js.map +1 -1
  153. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue_vue_type_script_setup_true_lang.js +2 -3
  154. package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.js +1 -2
  155. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js +2 -3
  156. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js.map +1 -1
  157. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue_vue_type_script_setup_true_lang.js +2 -3
  158. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +2 -3
  159. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js.map +1 -1
  160. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue_vue_type_script_setup_true_lang.js +1 -2
  161. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue_vue_type_script_setup_true_lang.js.map +1 -1
  162. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.js +1 -2
  163. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.js.map +1 -1
  164. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue_vue_type_script_setup_true_lang.js +2 -3
  165. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue_vue_type_script_setup_true_lang.js.map +1 -1
  166. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.js +1 -2
  167. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.js.map +1 -1
  168. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue_vue_type_script_setup_true_lang.js +1 -2
  169. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.js +1 -2
  170. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.js.map +1 -1
  171. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue_vue_type_script_setup_true_lang.js +3 -4
  172. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.js +1 -2
  173. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.js.map +1 -1
  174. package/dist/v2/blocks/response-block/components/ResponseCookies.vue_vue_type_script_setup_true_lang.js +2 -3
  175. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +2 -3
  176. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js.map +1 -1
  177. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue_vue_type_script_setup_true_lang.js +3 -4
  178. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue_vue_type_script_setup_true_lang.js.map +1 -1
  179. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +2 -3
  180. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js.map +1 -1
  181. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue_vue_type_script_setup_true_lang.js +1 -2
  182. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue_vue_type_script_setup_true_lang.js.map +1 -1
  183. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js +1 -2
  184. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js.map +1 -1
  185. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue_vue_type_script_setup_true_lang.js +2 -3
  186. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue_vue_type_script_setup_true_lang.js.map +1 -1
  187. package/dist/v2/blocks/response-block/helpers/extract-filename.js +1 -2
  188. package/dist/v2/blocks/response-block/helpers/get-content-length.js +1 -2
  189. package/dist/v2/blocks/response-block/helpers/media-types.js +1 -2
  190. package/dist/v2/blocks/response-block/helpers/parse-set-cookie.js +1 -2
  191. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js +1 -2
  192. package/dist/v2/blocks/response-block/helpers/prettify-ndjson.js +1 -2
  193. package/dist/v2/blocks/response-block/helpers/process-response-body.js +1 -2
  194. package/dist/v2/blocks/response-block/helpers/resolve-response-body-handler.js +1 -2
  195. package/dist/v2/blocks/response-block/helpers/resolve-response-content-type.js +1 -2
  196. package/dist/v2/blocks/response-block/helpers/response-stream-multipart.js +1 -2
  197. package/dist/v2/blocks/response-block/helpers/response-stream.js +1 -2
  198. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -3
  199. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js.map +1 -1
  200. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue_vue_type_script_setup_true_lang.js +3 -4
  201. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  202. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js +2 -3
  203. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js.map +1 -1
  204. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue_vue_type_script_setup_true_lang.js +2 -3
  205. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue_vue_type_script_setup_true_lang.js.map +1 -1
  206. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +1 -2
  207. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js.map +1 -1
  208. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue_vue_type_script_setup_true_lang.js +1 -2
  209. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue_vue_type_script_setup_true_lang.js.map +1 -1
  210. package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.js +1 -2
  211. package/dist/v2/blocks/scalar-address-bar-block/helpers/is-placeholder-path.js +1 -2
  212. package/dist/v2/blocks/scalar-address-bar-block/helpers/refocus-blur-target.js +1 -2
  213. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.js +1 -2
  214. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-path-masking.js +1 -2
  215. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -2
  216. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js.map +1 -1
  217. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue_vue_type_script_setup_true_lang.js +3 -4
  218. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue_vue_type_script_setup_true_lang.js.map +1 -1
  219. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +1 -2
  220. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js.map +1 -1
  221. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue_vue_type_script_setup_true_lang.js +1 -2
  222. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +1 -2
  223. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js.map +1 -1
  224. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue_vue_type_script_setup_true_lang.js +4 -5
  225. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue_vue_type_script_setup_true_lang.js.map +1 -1
  226. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2Metadata.vue.js +1 -2
  227. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2Metadata.vue.js.map +1 -1
  228. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2Metadata.vue_vue_type_script_setup_true_lang.js +3 -4
  229. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2Metadata.vue_vue_type_script_setup_true_lang.js.map +1 -1
  230. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +1 -2
  231. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js.map +1 -1
  232. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue_vue_type_script_setup_true_lang.js +2 -3
  233. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue_vue_type_script_setup_true_lang.js.map +1 -1
  234. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +1 -2
  235. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js.map +1 -1
  236. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue_vue_type_script_setup_true_lang.js +2 -3
  237. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  238. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js +1 -2
  239. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js.map +1 -1
  240. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue_vue_type_script_setup_true_lang.js +4 -5
  241. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  242. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +1 -2
  243. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js.map +1 -1
  244. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue_vue_type_script_setup_true_lang.js +2 -3
  245. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  246. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +1 -2
  247. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js.map +1 -1
  248. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue_vue_type_script_setup_true_lang.js +2 -3
  249. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  250. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +1 -2
  251. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js.map +1 -1
  252. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue_vue_type_script_setup_true_lang.js +7 -8
  253. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue_vue_type_script_setup_true_lang.js.map +1 -1
  254. package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.js +1 -2
  255. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-oauth2-metadata.js +1 -2
  256. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js +1 -2
  257. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-callback.js +1 -2
  258. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-client-authorization.js +1 -2
  259. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-device-authorization.js +2 -3
  260. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-flows.js +1 -2
  261. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +1 -2
  262. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth2-metadata-to-flows.js +1 -2
  263. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +1 -2
  264. package/dist/v2/blocks/scalar-auth-selector-block/helpers/resolve-default-oauth2-redirect-url.js +1 -2
  265. package/dist/v2/blocks/scalar-auth-selector-block/helpers/run-oauth2-authorize.js +1 -2
  266. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +2 -3
  267. package/dist/v2/components/code-input/CodeInput.vue.js +2 -3
  268. package/dist/v2/components/code-input/CodeInput.vue.js.map +1 -1
  269. package/dist/v2/components/code-input/CodeInput.vue_vue_type_script_setup_true_lang.js +2 -3
  270. package/dist/v2/components/code-input/CodeInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  271. package/dist/v2/components/code-input/CodeInputLite.vue.js +2 -3
  272. package/dist/v2/components/code-input/CodeInputLite.vue.js.map +1 -1
  273. package/dist/v2/components/code-input/CodeInputLite.vue_vue_type_script_setup_true_lang.js +4 -5
  274. package/dist/v2/components/code-input/CodeInputLite.vue_vue_type_script_setup_true_lang.js.map +1 -1
  275. package/dist/v2/components/code-input/PillTooltipHost.vue.js +1 -2
  276. package/dist/v2/components/code-input/PillTooltipHost.vue.js.map +1 -1
  277. package/dist/v2/components/code-input/PillTooltipHost.vue_vue_type_script_setup_true_lang.js +1 -2
  278. package/dist/v2/components/code-input/code-variable-widget.js +1 -2
  279. package/dist/v2/components/code-input/helpers/build-pill-context.js +1 -2
  280. package/dist/v2/components/code-input/helpers/lookup-variable-value.js +1 -2
  281. package/dist/v2/components/code-input/helpers/pill-signature.js +1 -2
  282. package/dist/v2/components/code-input/helpers/serialize-value.js +1 -2
  283. package/dist/v2/components/context-menu/ContextMenu.vue.js +1 -2
  284. package/dist/v2/components/context-menu/ContextMenu.vue.js.map +1 -1
  285. package/dist/v2/components/context-menu/ContextMenu.vue_vue_type_script_setup_true_lang.js +1 -2
  286. package/dist/v2/components/data-table/DataTable.vue.js +1 -2
  287. package/dist/v2/components/data-table/DataTable.vue.js.map +1 -1
  288. package/dist/v2/components/data-table/DataTable.vue_vue_type_script_setup_true_lang.js +1 -2
  289. package/dist/v2/components/data-table/DataTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  290. package/dist/v2/components/data-table/DataTableCell.vue.js +1 -2
  291. package/dist/v2/components/data-table/DataTableCell.vue.js.map +1 -1
  292. package/dist/v2/components/data-table/DataTableCell.vue_vue_type_script_setup_true_lang.js +1 -2
  293. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +1 -2
  294. package/dist/v2/components/data-table/DataTableCheckbox.vue.js.map +1 -1
  295. package/dist/v2/components/data-table/DataTableCheckbox.vue_vue_type_script_setup_true_lang.js +1 -2
  296. package/dist/v2/components/data-table/DataTableHeader.vue.js +1 -2
  297. package/dist/v2/components/data-table/DataTableHeader.vue.js.map +1 -1
  298. package/dist/v2/components/data-table/DataTableHeader.vue_vue_type_script_setup_true_lang.js +1 -2
  299. package/dist/v2/components/data-table/DataTableInput.vue.js +2 -3
  300. package/dist/v2/components/data-table/DataTableInput.vue.js.map +1 -1
  301. package/dist/v2/components/data-table/DataTableInput.vue_vue_type_script_setup_true_lang.js +3 -4
  302. package/dist/v2/components/data-table/DataTableInput.vue_vue_type_script_setup_true_lang.js.map +1 -1
  303. package/dist/v2/components/data-table/DataTableInputSelect.vue.js +1 -2
  304. package/dist/v2/components/data-table/DataTableInputSelect.vue.js.map +1 -1
  305. package/dist/v2/components/data-table/DataTableInputSelect.vue_vue_type_script_setup_true_lang.js +1 -2
  306. package/dist/v2/components/data-table/DataTableInputSelect.vue_vue_type_script_setup_true_lang.js.map +1 -1
  307. package/dist/v2/components/data-table/DataTableRow.vue.js +1 -2
  308. package/dist/v2/components/data-table/DataTableText.vue.js +1 -2
  309. package/dist/v2/components/data-table/DataTableText.vue.js.map +1 -1
  310. package/dist/v2/components/data-table/DataTableText.vue_vue_type_script_setup_true_lang.js +1 -2
  311. package/dist/v2/components/data-table/index.js +1 -1
  312. package/dist/v2/components/forms/ConfirmationForm.vue.js +1 -2
  313. package/dist/v2/components/forms/ConfirmationForm.vue.js.map +1 -1
  314. package/dist/v2/components/forms/ConfirmationForm.vue_vue_type_script_setup_true_lang.js +1 -2
  315. package/dist/v2/components/layout/CollapsibleSection.vue.js +1 -2
  316. package/dist/v2/components/layout/CollapsibleSection.vue.js.map +1 -1
  317. package/dist/v2/components/layout/CollapsibleSection.vue_vue_type_script_setup_true_lang.js +1 -2
  318. package/dist/v2/components/layout/CollapsibleSection.vue_vue_type_script_setup_true_lang.js.map +1 -1
  319. package/dist/v2/components/layout/ValueEmitter.vue.js +1 -2
  320. package/dist/v2/components/layout/ValueEmitter.vue.js.map +1 -1
  321. package/dist/v2/components/layout/ValueEmitter.vue_vue_type_script_setup_true_lang.js +0 -1
  322. package/dist/v2/components/layout/collapsible-section-heading-level.js +1 -2
  323. package/dist/v2/components/layout/index.js +1 -1
  324. package/dist/v2/components/modals/DeleteModal.vue.js +1 -2
  325. package/dist/v2/components/modals/DeleteModal.vue.js.map +1 -1
  326. package/dist/v2/components/modals/DeleteModal.vue_vue_type_script_setup_true_lang.js +2 -3
  327. package/dist/v2/components/modals/DeleteModal.vue_vue_type_script_setup_true_lang.js.map +1 -1
  328. package/dist/v2/components/modals/ModalClientContainer.vue.js +2 -3
  329. package/dist/v2/components/modals/ModalClientContainer.vue.js.map +1 -1
  330. package/dist/v2/components/modals/ModalClientContainer.vue_vue_type_script_setup_true_lang.js +1 -2
  331. package/dist/v2/components/resize/Resize.vue.js +2 -3
  332. package/dist/v2/components/resize/Resize.vue.js.map +1 -1
  333. package/dist/v2/components/resize/Resize.vue_vue_type_script_setup_true_lang.js +1 -2
  334. package/dist/v2/components/resize/use-split-resize.js +1 -2
  335. package/dist/v2/components/server/ServerDropdown.vue.js +1 -2
  336. package/dist/v2/components/server/ServerDropdown.vue.js.map +1 -1
  337. package/dist/v2/components/server/ServerDropdown.vue_vue_type_script_setup_true_lang.js +2 -3
  338. package/dist/v2/components/server/ServerDropdown.vue_vue_type_script_setup_true_lang.js.map +1 -1
  339. package/dist/v2/components/server/ServerDropdownItem.vue.js +2 -3
  340. package/dist/v2/components/server/ServerDropdownItem.vue.js.map +1 -1
  341. package/dist/v2/components/server/ServerDropdownItem.vue_vue_type_script_setup_true_lang.js +1 -2
  342. package/dist/v2/components/server/ServerDropdownItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
  343. package/dist/v2/components/sidebar/Sidebar.vue.js +1 -2
  344. package/dist/v2/components/sidebar/Sidebar.vue.js.map +1 -1
  345. package/dist/v2/components/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +2 -3
  346. package/dist/v2/components/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  347. package/dist/v2/components/sidebar/SidebarMenu.vue.js +1 -2
  348. package/dist/v2/components/sidebar/SidebarMenu.vue.js.map +1 -1
  349. package/dist/v2/components/sidebar/SidebarMenu.vue_vue_type_script_setup_true_lang.js +1 -2
  350. package/dist/v2/components/sidebar/SidebarToggle.vue.js +2 -3
  351. package/dist/v2/components/sidebar/SidebarToggle.vue.js.map +1 -1
  352. package/dist/v2/components/sidebar/SidebarToggle.vue_vue_type_script_setup_true_lang.js +1 -2
  353. package/dist/v2/components/sidebar/index.js +1 -1
  354. package/dist/v2/constants.js +2 -3
  355. package/dist/v2/features/command-palette/components/CommandActionForm.vue.js +1 -2
  356. package/dist/v2/features/command-palette/components/CommandActionForm.vue.js.map +1 -1
  357. package/dist/v2/features/command-palette/components/CommandActionForm.vue_vue_type_script_setup_true_lang.js +1 -2
  358. package/dist/v2/features/command-palette/components/CommandActionInput.vue.js +1 -2
  359. package/dist/v2/features/command-palette/components/CommandActionInput.vue.js.map +1 -1
  360. package/dist/v2/features/command-palette/components/CommandActionInput.vue_vue_type_script_setup_true_lang.js +1 -2
  361. package/dist/v2/features/environments/EnvironmentsList.vue.js +1 -2
  362. package/dist/v2/features/environments/EnvironmentsList.vue.js.map +1 -1
  363. package/dist/v2/features/environments/EnvironmentsList.vue_vue_type_script_setup_true_lang.js +2 -3
  364. package/dist/v2/features/environments/components/Environment.vue.js +1 -2
  365. package/dist/v2/features/environments/components/Environment.vue.js.map +1 -1
  366. package/dist/v2/features/environments/components/Environment.vue_vue_type_script_setup_true_lang.js +2 -3
  367. package/dist/v2/features/environments/components/Environment.vue_vue_type_script_setup_true_lang.js.map +1 -1
  368. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
  369. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +1 -2
  370. package/dist/v2/features/environments/components/EnvironmentColors.vue.js.map +1 -1
  371. package/dist/v2/features/environments/components/EnvironmentColors.vue_vue_type_script_setup_true_lang.js +9 -10
  372. package/dist/v2/features/environments/components/EnvironmentColors.vue_vue_type_script_setup_true_lang.js.map +1 -1
  373. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +1 -2
  374. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js.map +1 -1
  375. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue_vue_type_script_setup_true_lang.js +2 -3
  376. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue_vue_type_script_setup_true_lang.js.map +1 -1
  377. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +1 -2
  378. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js.map +1 -1
  379. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue_vue_type_script_setup_true_lang.js +1 -2
  380. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +1 -2
  381. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js.map +1 -1
  382. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue_vue_type_script_setup_true_lang.js +1 -2
  383. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue_vue_type_script_setup_true_lang.js.map +1 -1
  384. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +2 -3
  385. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js.map +1 -1
  386. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue_vue_type_script_setup_true_lang.js +2 -3
  387. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
  388. package/dist/v2/features/localization/index.js +1 -2
  389. package/dist/v2/features/localization/locales/ar.js +1 -2
  390. package/dist/v2/features/localization/locales/de.js +1 -2
  391. package/dist/v2/features/localization/locales/es.js +1 -2
  392. package/dist/v2/features/localization/locales/fr.js +1 -2
  393. package/dist/v2/features/localization/locales/pt.js +1 -2
  394. package/dist/v2/features/localization/locales/ru.js +1 -2
  395. package/dist/v2/features/localization/locales/zh-cn.js +1 -2
  396. package/dist/v2/features/localization/locales/zh-tw.js +1 -2
  397. package/dist/v2/features/localization/translations.js +1 -2
  398. package/dist/v2/features/modal/Modal.vue.js +1 -2
  399. package/dist/v2/features/modal/Modal.vue.js.map +1 -1
  400. package/dist/v2/features/modal/Modal.vue_vue_type_script_setup_true_lang.js +4 -5
  401. package/dist/v2/features/modal/helpers/create-api-client-modal.js +1 -2
  402. package/dist/v2/features/modal/helpers/map-hidden-clients-config.js +1 -2
  403. package/dist/v2/features/modal/helpers/resolve-route-parameters.js +1 -2
  404. package/dist/v2/features/modal/hooks/use-modal-sidebar.js +1 -2
  405. package/dist/v2/features/modal/index.js +2 -2
  406. package/dist/v2/features/modal/modal-events.js +1 -2
  407. package/dist/v2/features/modal/use-lazy-api-client.js +1 -2
  408. package/dist/v2/features/operation/Operation.vue.js +1 -2
  409. package/dist/v2/features/operation/Operation.vue.js.map +1 -1
  410. package/dist/v2/features/operation/Operation.vue_vue_type_script_setup_true_lang.js +2 -3
  411. package/dist/v2/features/search/components/DocumentSearchModal.vue.js +2 -3
  412. package/dist/v2/features/search/components/DocumentSearchModal.vue.js.map +1 -1
  413. package/dist/v2/features/search/components/DocumentSearchModal.vue_vue_type_script_setup_true_lang.js +1 -2
  414. package/dist/v2/features/search/components/SearchResult.vue.js +1 -2
  415. package/dist/v2/features/search/components/SearchResult.vue.js.map +1 -1
  416. package/dist/v2/features/search/components/SearchResult.vue_vue_type_script_setup_true_lang.js +1 -2
  417. package/dist/v2/features/search/components/SearchResult.vue_vue_type_script_setup_true_lang.js.map +1 -1
  418. package/dist/v2/features/search/helpers/create-fuse-instance.js +1 -2
  419. package/dist/v2/features/search/helpers/create-search-index.js +1 -2
  420. package/dist/v2/features/search/hooks/use-document-search.js +1 -2
  421. package/dist/v2/features/search/hooks/use-search-index.js +1 -2
  422. package/dist/v2/features/search/index.js +1 -1
  423. package/dist/v2/helpers/generate-location-id.js +1 -2
  424. package/dist/v2/helpers/handle-hotkeys.js +1 -2
  425. package/dist/v2/helpers/test-utils.js +1 -2
  426. package/dist/v2/hooks/use-global-hot-keys.js +1 -2
  427. package/dist/v2/hooks/use-scroll-lock.js +1 -2
  428. package/dist/v2/workspace-events.js +1 -2
  429. package/dist/vue-styles.css +130 -130
  430. package/package.json +26 -26
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 3.27.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#11029](https://github.com/scalar/scalar/pull/11029): fix: respect contains match counts in simple array examples
8
+
9
+ Generate matching and nonmatching primitive items for direct contains constraints, counting tuple prefixes and respecting item schemas, length bounds, uniqueness, and the declared dialect. Authored examples remain authoritative. Candidate generation is bounded and may return a partial example for contradictory constraints.
10
+
11
+ Complex references and compositions, nested object or array candidate synthesis, and XML branch reconstruction retain existing best-effort behavior and are deferred to a follow-up.
12
+ - [#11099](https://github.com/scalar/scalar/pull/11099): Update compatible runtime and styling dependencies, align editor dependency versions, and preserve document-change comparisons with updated microdiff semantics.
13
+ - [#11110](https://github.com/scalar/scalar/pull/11110): Add a `text-auto-contrast-*` Tailwind utility that picks readable black or white text for any background color, and use it for colored badges and the environment color checkmark.
14
+
3
15
  ## 3.27.0
4
16
 
5
17
  ### Minor Changes
@@ -1,8 +1,7 @@
1
- //#region \0plugin-vue:export-helper
1
+ // \0plugin-vue:export-helper
2
2
  var _plugin_vue_export_helper_default = (sfc, props) => {
3
3
  const target = sfc.__vccOpts || sfc;
4
4
  for (const [key, val] of props) target[key] = val;
5
5
  return target;
6
6
  };
7
- //#endregion
8
7
  export { _plugin_vue_export_helper_default as default };
@@ -1,6 +1,5 @@
1
- //#region src/assets/computer.ascii?raw
1
+ // src/assets/computer.ascii?raw
2
2
  var computer_default = " .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n";
3
- //#endregion
4
3
  export { computer_default as default };
5
4
 
6
5
  //# sourceMappingURL=computer.ascii_raw.js.map
@@ -1,7 +1,6 @@
1
1
  import HelpfulLink_vue_vue_type_script_setup_true_lang_default from "./HelpfulLink.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/HelpfulLink.vue
2
+ // src/components/HelpfulLink.vue
3
3
  var HelpfulLink_default = HelpfulLink_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { HelpfulLink_default as default };
6
5
 
7
6
  //# sourceMappingURL=HelpfulLink.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpfulLink.vue.js","names":["_sfc_main"],"sources":["../../src/components/HelpfulLink.vue"],"sourcesContent":["<script lang=\"ts\" setup>\ndefineProps<{ href: string }>()\n</script>\n<template>\n <a\n class=\"decoration-c-3 cursor-help underline underline-offset-2\"\n :href=\"href\"\n rel=\"noopener noreferrer\"\n target=\"_blank\">\n <slot />\n </a>\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"HelpfulLink.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock, defineComponent, openBlock, renderSlot } from "vue";
2
- //#region src/components/HelpfulLink.vue?vue&type=script&setup=true&lang.ts
2
+ // src/components/HelpfulLink.vue?vue&type=script&setup=true&lang.ts
3
3
  var _hoisted_1 = ["href"];
4
4
  var HelpfulLink_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
5
5
  __name: "HelpfulLink",
@@ -15,7 +15,6 @@ var HelpfulLink_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
15
15
  };
16
16
  }
17
17
  });
18
- //#endregion
19
18
  export { HelpfulLink_vue_vue_type_script_setup_true_lang_default as default };
20
19
 
21
20
  //# sourceMappingURL=HelpfulLink.vue_vue_type_script_setup_true_lang.js.map
@@ -1,9 +1,8 @@
1
1
  import HttpMethod_vue_vue_type_script_setup_true_lang_default from "./HttpMethod.vue_vue_type_script_setup_true_lang.js";
2
2
  /* empty css */
3
3
  import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.js";
4
- //#region src/components/HttpMethod/HttpMethod.vue
4
+ // src/components/HttpMethod/HttpMethod.vue
5
5
  var HttpMethod_default = /*#__PURE__*/ _plugin_vue_export_helper_default(HttpMethod_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-e7883636"]]);
6
- //#endregion
7
6
  export { HttpMethod_default as default };
8
7
 
9
8
  //# sourceMappingURL=HttpMethod.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HttpMethod.vue.js","names":["_sfc_main"],"sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarListbox } from '@scalar/components/listbox'\nimport {\n getHttpMethodInfo,\n REQUEST_METHODS,\n} from '@scalar/helpers/http/http-info'\nimport { objectEntries } from '@scalar/helpers/object/object-entries'\nimport { cva, cx } from '@scalar/use-hooks/useBindCx'\nimport { computed } from 'vue'\n\nconst props = withDefaults(\n defineProps<{\n isSquare?: boolean\n method: string\n isEditable?: boolean\n }>(),\n { isSquare: false, isDisable: false, isEditable: false },\n)\n\nconst emit = defineEmits<{\n (e: 'change', value: string): void\n}>()\n\nconst method = computed(() => getHttpMethodInfo(props.method))\nconst methodOptions = computed(() => {\n const options = objectEntries(REQUEST_METHODS).map(([id]) => ({\n id: String(id),\n label: id.toUpperCase(),\n color: getHttpMethodInfo(id).colorClass,\n }))\n\n // Keep document-defined methods selectable without changing their spelling.\n if (!options.some(({ id }) => id === props.method)) {\n options.push({\n id: props.method,\n label: props.method,\n color: method.value.colorClass,\n })\n }\n\n return options\n})\nconst selectedMethod = computed({\n get: () => methodOptions.value.find(({ id }) => id === props.method),\n set: (opt) => opt?.id && emit('change', opt.id),\n})\n\nconst variants = cva({\n base: 'text-center font-code text-3xs justify-center items-center flex',\n variants: {\n isSquare: {\n true: 'px-2.5 whitespace-nowrap font-bold border-r h-fit m-auto',\n false: 'rounded-full',\n },\n isEditable: {\n true: 'http-bg-gradient rounded-md border',\n false: 'cursor-auto',\n },\n },\n})\n\nconst httpLabel = computed(() => method.value.short)\n</script>\n<template>\n <!-- Dropdown select -->\n <ScalarListbox\n v-if=\"isEditable\"\n v-model=\"selectedMethod\"\n class=\"font-code scalar-client mt-1 text-sm\"\n :options=\"methodOptions\">\n <div\n class=\"h-full\"\n :class=\"{ 'pointer-events-none': !isEditable }\">\n <button\n class=\"relative h-full\"\n :class=\"cx(variants({ isSquare, isEditable }), method.colorClass)\"\n type=\"button\">\n <span>{{ httpLabel }}</span>\n </button>\n </div>\n </ScalarListbox>\n <!-- Display only -->\n <div\n v-else\n class=\"relative gap-1 whitespace-nowrap\"\n :class=\"cx(variants({ isSquare, isEditable }), method.colorClass)\"\n type=\"button\">\n {{ method.short }}\n </div>\n</template>\n<style scoped>\n.http-bg-gradient {\n background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(0, 0, 0, 0.035));\n}\n.http-bg-gradient:hover {\n background: linear-gradient(rgba(0, 0, 0, 0.035), rgba(255, 255, 255, 0.75));\n}\n.dark-mode .http-bg-gradient {\n background: linear-gradient(rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.15));\n}\n.dark-mode .http-bg-gradient:hover {\n background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.035));\n}\n</style>\n"],"mappings":""}
1
+ {"version":3,"file":"HttpMethod.vue.js","names":[],"sources":[],"mappings":""}
@@ -3,7 +3,7 @@ import { ScalarListbox } from "@scalar/components/listbox";
3
3
  import { REQUEST_METHODS, getHttpMethodInfo } from "@scalar/helpers/http/http-info";
4
4
  import { objectEntries } from "@scalar/helpers/object/object-entries";
5
5
  import { cva, cx } from "@scalar/use-hooks/useBindCx";
6
- //#region src/components/HttpMethod/HttpMethod.vue?vue&type=script&setup=true&lang.ts
6
+ // src/components/HttpMethod/HttpMethod.vue?vue&type=script&setup=true&lang.ts
7
7
  var HttpMethod_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
8
8
  __name: "HttpMethod",
9
9
  props: {
@@ -80,7 +80,6 @@ var HttpMethod_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
80
80
  };
81
81
  }
82
82
  });
83
- //#endregion
84
83
  export { HttpMethod_vue_vue_type_script_setup_true_lang_default as default };
85
84
 
86
85
  //# sourceMappingURL=HttpMethod.vue_vue_type_script_setup_true_lang.js.map
@@ -1,9 +1,8 @@
1
- import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.js";
2
1
  import ScalarAsciiArt_vue_vue_type_script_setup_true_lang_default from "./ScalarAsciiArt.vue_vue_type_script_setup_true_lang.js";
3
2
  /* empty css */
4
- //#region src/components/ScalarAsciiArt/ScalarAsciiArt.vue
3
+ import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.js";
4
+ // src/components/ScalarAsciiArt/ScalarAsciiArt.vue
5
5
  var ScalarAsciiArt_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ScalarAsciiArt_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-4f827089"]]);
6
- //#endregion
7
6
  export { ScalarAsciiArt_default as default };
8
7
 
9
8
  //# sourceMappingURL=ScalarAsciiArt.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarAsciiArt.vue.js","names":["_sfc_main"],"sources":["../../../src/components/ScalarAsciiArt/ScalarAsciiArt.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, type StyleValue } from 'vue'\n\nconst props = defineProps<{ art: string; animate?: boolean }>()\n\nconst BLINK = 500 // ms - Cursor blink speed\nconst PRINT = 100 // ms - Text print speed\n\nconst lines = computed<string[]>(() => props.art.split('\\n'))\n\nconst getLineAnimation = (chars: number, row: number): StyleValue => ({\n animationDuration: `${chars * PRINT}ms, ${BLINK}ms`,\n animationTimingFunction: `steps(${chars}), step-end`,\n animationDelay: `${row * PRINT}ms, 0ms`,\n animationIterationCount: `1, ${(((lines.value?.length ?? 0) + (lines.value?.[lines.value?.length - 1]?.length ?? 0) + 5) * PRINT) / BLINK}`,\n})\n</script>\n<template>\n <div\n aria-hidden=\"true\"\n class=\"ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]\"\n :class=\"{ 'ascii-art-animate': animate }\"\n inert\n role=\"presentation\">\n <span\n v-for=\"(line, i) in lines\"\n :key=\"i\"\n class=\"inline-block\"\n :style=\"{ width: `calc(${line.length + 1}ch)` }\">\n <!-- prettier-ignore -->\n <span\nclass=\"inline-block whitespace-pre overflow-hidden\"\n:style=\"getLineAnimation(line.length, i)\">{{\n line\n }}</span>\n </span>\n </div>\n</template>\n<style scoped>\n.ascii-art-animate .ascii-art-line {\n border-right: 1ch solid transparent;\n animation:\n typewriter 4s steps(1) 1s 1 normal both,\n blinkTextCursor 500ms steps(1) infinite normal;\n}\n\n@keyframes typewriter {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n}\n@keyframes blinkTextCursor {\n 0% {\n border-right-color: currentColor;\n }\n 50% {\n border-right-color: transparent;\n }\n}\n</style>\n"],"mappings":""}
1
+ {"version":3,"file":"ScalarAsciiArt.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { Fragment, computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString } from "vue";
2
- //#region src/components/ScalarAsciiArt/ScalarAsciiArt.vue?vue&type=script&setup=true&lang.ts
2
+ // src/components/ScalarAsciiArt/ScalarAsciiArt.vue?vue&type=script&setup=true&lang.ts
3
3
  var BLINK = 500;
4
4
  var PRINT = 100;
5
5
  var ScalarAsciiArt_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
@@ -36,7 +36,6 @@ var ScalarAsciiArt_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ d
36
36
  };
37
37
  }
38
38
  });
39
- //#endregion
40
39
  export { ScalarAsciiArt_vue_vue_type_script_setup_true_lang_default as default };
41
40
 
42
41
  //# sourceMappingURL=ScalarAsciiArt.vue_vue_type_script_setup_true_lang.js.map
@@ -1,9 +1,8 @@
1
- import _plugin_vue_export_helper_default from "../_virtual/_plugin-vue_export-helper.js";
2
1
  import SectionFilter_vue_vue_type_script_setup_true_lang_default from "./SectionFilter.vue_vue_type_script_setup_true_lang.js";
3
2
  /* empty css */
4
- //#region src/components/SectionFilter.vue
3
+ import _plugin_vue_export_helper_default from "../_virtual/_plugin-vue_export-helper.js";
4
+ // src/components/SectionFilter.vue
5
5
  var SectionFilter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(SectionFilter_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-50fd0a3c"]]);
6
- //#endregion
7
6
  export { SectionFilter_default as default };
8
7
 
9
8
  //# sourceMappingURL=SectionFilter.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SectionFilter.vue.js","names":["_sfc_main"],"sources":["../../src/components/SectionFilter.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"T extends string\">\nimport { ScalarIcon } from '@scalar/components/icon'\nimport { nextTick, ref } from 'vue'\n\nimport SectionFilterButton from '@/components/SectionFilterButton.vue'\nimport { useLocalization } from '@/v2/features/localization'\n\nconst { filters = [], labels } = defineProps<{\n filters?: T[]\n /** Localized labels keyed by stable filter IDs. */\n labels?: Partial<Record<T, string>>\n}>()\n\nconst model = defineModel<T>()\n\nconst tablist = ref<HTMLDivElement>()\nconst { direction } = useLocalization()\n\n/** Keyboard navigation */\nconst navigateSection = (arrow: 'left' | 'right'): void => {\n // Flex rows reverse in RTL, so the visual arrow direction reverses the index step.\n const offset =\n (arrow === 'left' ? -1 : 1) * (direction.value === 'rtl' ? -1 : 1)\n const index = model.value ? filters.indexOf(model.value) : 0\n const length = filters.length\n\n // Ensures we loop around the array by using the remainder\n const newIndex = (index + offset + length) % length\n model.value = filters[newIndex]\n\n // Focus the selected button\n nextTick(() => {\n if (tablist.value) {\n const selectedButton = tablist.value.querySelector(\n `button[aria-selected=\"true\"]`,\n ) satisfies HTMLButtonElement | null\n if (selectedButton) {\n selectedButton.focus()\n }\n }\n })\n}\n</script>\n<template>\n <div\n ref=\"tablist\"\n class=\"filter-hover context-bar-group ms-auto hidden lg:flex\"\n role=\"tablist\"\n @keydown.left=\"navigateSection('left')\"\n @keydown.right=\"navigateSection('right')\">\n <div\n class=\"request-section-content request-section-content-filter fade-request-section-content text-c-3 pointer-events-auto relative hidden w-full justify-end gap-[1.5px] rounded py-1.75 text-xs xl:flex\">\n <SectionFilterButton\n v-for=\"filter in filters\"\n :key=\"filter\"\n class=\"filter-hover-item\"\n role=\"tab\"\n :selected=\"model === filter\"\n @click=\"model = filter\">\n {{ labels?.[filter] ?? filter }}\n </SectionFilterButton>\n <div\n class=\"filter-button context-bar-group-hover:text-c-1 absolute -end-[30px] flex items-center\">\n <span class=\"context-bar-group-hover:hidden me-1.5\">{{\n model ? (labels?.[model] ?? model) : model\n }}</span>\n <ScalarIcon\n icon=\"FilterList\"\n size=\"md\"\n thickness=\"2\" />\n </div>\n </div>\n </div>\n</template>\n<style scoped>\n.fade-request-section-content {\n background: linear-gradient(\n to left,\n var(--scalar-background-1) 64%,\n transparent\n );\n}\n.fade-request-section-content:dir(rtl) {\n background: linear-gradient(\n to right,\n var(--scalar-background-1) 64%,\n transparent\n );\n}\n.filter-hover {\n height: 100%;\n padding-inline-end: 39px;\n padding-inline-start: 24px;\n position: absolute;\n inset-inline-end: 0;\n transition: width 0s ease-in-out 0.2s;\n overflow: hidden;\n}\n.filter-hover:hover,\n.filter-hover:has(:focus-visible) {\n width: 100%;\n z-index: 10;\n}\n.filter-hover:before {\n content: '';\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n width: 100%;\n height: fit-content;\n background-color: var(--scalar-background-1);\n opacity: 0;\n transition: all 0.3s ease-in-out;\n pointer-events: none;\n}\n.filter-hover-item {\n opacity: 0;\n}\n.filter-hover-item:not(:last-of-type) {\n transform: translate3d(0, 3px, 0);\n}\n.filter-hover:hover .filter-hover-item {\n transition:\n opacity 0.2s ease-in-out,\n transform 0.2s ease-in-out;\n}\n.filter-hover:hover .filter-hover-item:nth-last-of-type(1) {\n transition-delay: 0.05s;\n}\n.filter-hover:hover .filter-hover-item:nth-last-of-type(2) {\n transition-delay: 0.1s;\n}\n.filter-hover:hover .filter-hover-item:nth-last-of-type(3) {\n transition-delay: 0.15s;\n}\n.filter-hover:hover .filter-hover-item:nth-last-of-type(4) {\n transition-delay: 0.2s;\n}\n.filter-hover:hover .filter-hover-item:nth-last-of-type(5) {\n transition-delay: 0.25s;\n}\n.filter-hover:hover .filter-hover-item:nth-last-of-type(6) {\n transition-delay: 0.3s;\n}\n.filter-hover:hover .filter-hover-item:nth-last-of-type(7) {\n transition-delay: 0.35s;\n}\n.filter-hover:hover .filter-hover-item,\n.filter-hover:has(:focus-visible) .filter-hover-item {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n}\n.filter-hover:hover:before,\n.filter-hover:has(:focus-visible):before {\n opacity: 0.9;\n backdrop-filter: blur(10px);\n}\n.filter-button {\n top: 50%;\n transform: translateY(-50%);\n}\n.context-bar-group:hover .context-bar-group-hover\\:text-c-1,\n.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:text-c-1 {\n --tw-text-opacity: 1;\n color: rgb(var(--scalar-color-1) / var(--tw-text-opacity));\n}\n\n.context-bar-group:hover .context-bar-group-hover\\:hidden,\n.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:hidden {\n display: none;\n}\n</style>\n"],"mappings":""}
1
+ {"version":3,"file":"SectionFilter.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,8 +1,8 @@
1
- import { useLocalization } from "../v2/features/localization/index.js";
2
1
  import SectionFilterButton_default from "./SectionFilterButton.vue.js";
2
+ import { useLocalization } from "../v2/features/localization/index.js";
3
3
  import { Fragment, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, nextTick, openBlock, ref, renderList, toDisplayString, unref, useModel, withCtx, withKeys } from "vue";
4
4
  import { ScalarIcon } from "@scalar/components/icon";
5
- //#region src/components/SectionFilter.vue?vue&type=script&setup=true&lang.ts
5
+ // src/components/SectionFilter.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = { class: "request-section-content request-section-content-filter fade-request-section-content text-c-3 pointer-events-auto relative hidden w-full justify-end gap-[1.5px] rounded py-1.75 text-xs xl:flex" };
7
7
  var _hoisted_2 = { class: "filter-button context-bar-group-hover:text-c-1 absolute -end-[30px] flex items-center" };
8
8
  var _hoisted_3 = { class: "context-bar-group-hover:hidden me-1.5" };
@@ -60,7 +60,6 @@ var SectionFilter_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
60
60
  };
61
61
  }
62
62
  });
63
- //#endregion
64
63
  export { SectionFilter_vue_vue_type_script_setup_true_lang_default as default };
65
64
 
66
65
  //# sourceMappingURL=SectionFilter.vue_vue_type_script_setup_true_lang.js.map
@@ -1,7 +1,6 @@
1
1
  import SectionFilterButton_vue_vue_type_script_setup_true_lang_default from "./SectionFilterButton.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/SectionFilterButton.vue
2
+ // src/components/SectionFilterButton.vue
3
3
  var SectionFilterButton_default = SectionFilterButton_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { SectionFilterButton_default as default };
6
5
 
7
6
  //# sourceMappingURL=SectionFilterButton.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SectionFilterButton.vue.js","names":["_sfc_main"],"sources":["../../src/components/SectionFilterButton.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst { selected } = defineProps<{\n selected?: boolean\n}>()\n</script>\n<template>\n <!--\n Deliberately no aria-controls. While the focused tab controls a visible\n panel, NVDA re-announces every tab whose aria-selected changes (Chromium\n fires a selection event, see nvaccess/nvda#18794), so arrow keys read\n \"Auth tab selected 2 of 6\" twice. Screen readers do not need the relation\n to convey the tabs' name, role and state.\n -->\n <button\n :aria-selected=\"!!selected\"\n class=\"hover:bg-b-2 flex w-fit cursor-pointer items-center rounded p-1 px-2 text-center font-medium whitespace-nowrap has-[:focus-visible]:outline\"\n :class=\"{ 'text-c-1 pointer-events-none': selected }\"\n role=\"tab\"\n :tabindex=\"selected ? 0 : -1\"\n type=\"button\">\n <slot />\n </button>\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"SectionFilterButton.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot } from "vue";
2
- //#region src/components/SectionFilterButton.vue?vue&type=script&setup=true&lang.ts
2
+ // src/components/SectionFilterButton.vue?vue&type=script&setup=true&lang.ts
3
3
  var _hoisted_1 = ["aria-selected", "tabindex"];
4
4
  var SectionFilterButton_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
5
5
  __name: "SectionFilterButton",
@@ -16,7 +16,6 @@ var SectionFilterButton_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
16
16
  };
17
17
  }
18
18
  });
19
- //#endregion
20
19
  export { SectionFilterButton_vue_vue_type_script_setup_true_lang_default as default };
21
20
 
22
21
  //# sourceMappingURL=SectionFilterButton.vue_vue_type_script_setup_true_lang.js.map
@@ -1,7 +1,6 @@
1
1
  import ServerVariablesForm_vue_vue_type_script_setup_true_lang_default from "./ServerVariablesForm.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/Server/ServerVariablesForm.vue
2
+ // src/components/Server/ServerVariablesForm.vue
3
3
  var ServerVariablesForm_default = ServerVariablesForm_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { ServerVariablesForm_default as default };
6
5
 
7
6
  //# sourceMappingURL=ServerVariablesForm.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesForm.vue.js","names":["_sfc_main"],"sources":["../../../src/components/Server/ServerVariablesForm.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useId, type VNode } from 'vue'\n\nimport ServerVariablesSelect from '@/components/Server/ServerVariablesSelect.vue'\nimport ServerVariablesTextbox from '@/components/Server/ServerVariablesTextbox.vue'\nimport type {\n ServerVariables,\n ServerVariableValues,\n} from '@/components/Server/types'\n\nconst {\n values,\n variables,\n layout = 'client',\n} = defineProps<{\n variables?: ServerVariables | undefined\n values?: ServerVariableValues\n /** The ID of the input controlled by the variables form */\n controls?: string\n /** The layout of the server variables form */\n layout?: 'client' | 'reference'\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:variable', name: string, value: string): void\n}>()\n\n/** Optional read-only context for individual variables, kept separate from their editable values. */\nconst slots = defineSlots<{\n [name: `hint-${string}`]: () => VNode[]\n}>()\n\nconst id = useId()\n\nfunction setVariable(name: string, value: string) {\n emit('update:variable', name, value)\n}\n\nconst getVariable = (name: string) => {\n return (values?.[name] ?? variables?.[name]?.default ?? '').toString()\n}\n</script>\n<template>\n <template v-if=\"variables && Object.keys(variables ?? {}).length\">\n <template\n v-for=\"name in Object.keys(variables)\"\n :key=\"name\">\n <div\n class=\"group/label w-full\"\n :class=\"\n layout === 'reference' && 'border-x border-b last:rounded-b-lg'\n \">\n <div class=\"flex h-8 w-full items-center\">\n <label\n class=\"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']\"\n :for=\"`${id}-${name}`\">\n {{ name }}\n </label>\n <template v-if=\"variables?.[name]?.enum?.length\">\n <ServerVariablesSelect\n :id=\"`${id}-${name}`\"\n :controls=\"controls\"\n :describedBy=\"\n slots[`hint-${name}`] ? `${id}-${name}-hint` : undefined\n \"\n :enum=\"variables[name]?.enum?.map((v) => `${v}`) ?? []\"\n :value=\"getVariable(name)\"\n @change=\"(s) => setVariable(name, s)\" />\n </template>\n <template v-else>\n <ServerVariablesTextbox\n :id=\"`${id}-${name}`\"\n :aria-describedby=\"\n slots[`hint-${name}`] ? `${id}-${name}-hint` : undefined\n \"\n :controls=\"controls\"\n :value=\"getVariable(name)\"\n @change=\"(s) => setVariable(name, s)\" />\n </template>\n </div>\n <div\n v-if=\"slots[`hint-${name}`]\"\n :id=\"`${id}-${name}-hint`\"\n class=\"text-c-2 px-3 pb-2 text-sm\">\n <slot :name=\"`hint-${name}`\" />\n </div>\n </div>\n </template>\n </template>\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"ServerVariablesForm.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  import ServerVariablesSelect_default from "./ServerVariablesSelect.vue.js";
2
2
  import ServerVariablesTextbox_default from "./ServerVariablesTextbox.vue.js";
3
3
  import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderList, renderSlot, toDisplayString, unref, useId, useSlots } from "vue";
4
- //#region src/components/Server/ServerVariablesForm.vue?vue&type=script&setup=true&lang.ts
4
+ // src/components/Server/ServerVariablesForm.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = { class: "flex h-8 w-full items-center" };
6
6
  var _hoisted_2 = ["for"];
7
7
  var _hoisted_3 = ["id"];
@@ -70,7 +70,6 @@ var ServerVariablesForm_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
70
70
  };
71
71
  }
72
72
  });
73
- //#endregion
74
73
  export { ServerVariablesForm_vue_vue_type_script_setup_true_lang_default as default };
75
74
 
76
75
  //# sourceMappingURL=ServerVariablesForm.vue_vue_type_script_setup_true_lang.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesForm.vue_vue_type_script_setup_true_lang.js","names":["_useSlots","_openBlock","_createElementBlock","_Fragment","_renderList","_normalizeClass","_createElementVNode","_unref","_toDisplayString","_createBlock","ServerVariablesSelect","ServerVariablesTextbox","_renderSlot","_createCommentVNode"],"sources":["../../../src/components/Server/ServerVariablesForm.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useId, type VNode } from 'vue'\n\nimport ServerVariablesSelect from '@/components/Server/ServerVariablesSelect.vue'\nimport ServerVariablesTextbox from '@/components/Server/ServerVariablesTextbox.vue'\nimport type {\n ServerVariables,\n ServerVariableValues,\n} from '@/components/Server/types'\n\nconst {\n values,\n variables,\n layout = 'client',\n} = defineProps<{\n variables?: ServerVariables | undefined\n values?: ServerVariableValues\n /** The ID of the input controlled by the variables form */\n controls?: string\n /** The layout of the server variables form */\n layout?: 'client' | 'reference'\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:variable', name: string, value: string): void\n}>()\n\n/** Optional read-only context for individual variables, kept separate from their editable values. */\nconst slots = defineSlots<{\n [name: `hint-${string}`]: () => VNode[]\n}>()\n\nconst id = useId()\n\nfunction setVariable(name: string, value: string) {\n emit('update:variable', name, value)\n}\n\nconst getVariable = (name: string) => {\n return (values?.[name] ?? variables?.[name]?.default ?? '').toString()\n}\n</script>\n<template>\n <template v-if=\"variables && Object.keys(variables ?? {}).length\">\n <template\n v-for=\"name in Object.keys(variables)\"\n :key=\"name\">\n <div\n class=\"group/label w-full\"\n :class=\"\n layout === 'reference' && 'border-x border-b last:rounded-b-lg'\n \">\n <div class=\"flex h-8 w-full items-center\">\n <label\n class=\"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']\"\n :for=\"`${id}-${name}`\">\n {{ name }}\n </label>\n <template v-if=\"variables?.[name]?.enum?.length\">\n <ServerVariablesSelect\n :id=\"`${id}-${name}`\"\n :controls=\"controls\"\n :describedBy=\"\n slots[`hint-${name}`] ? `${id}-${name}-hint` : undefined\n \"\n :enum=\"variables[name]?.enum?.map((v) => `${v}`) ?? []\"\n :value=\"getVariable(name)\"\n @change=\"(s) => setVariable(name, s)\" />\n </template>\n <template v-else>\n <ServerVariablesTextbox\n :id=\"`${id}-${name}`\"\n :aria-describedby=\"\n slots[`hint-${name}`] ? `${id}-${name}-hint` : undefined\n \"\n :controls=\"controls\"\n :value=\"getVariable(name)\"\n @change=\"(s) => setVariable(name, s)\" />\n </template>\n </div>\n <div\n v-if=\"slots[`hint-${name}`]\"\n :id=\"`${id}-${name}-hint`\"\n class=\"text-c-2 px-3 pb-2 text-sm\">\n <slot :name=\"`hint-${name}`\" />\n </div>\n </div>\n </template>\n </template>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAuBA,MAAM,OAAO;;EAKb,MAAM,QAAQA,SAAA;EAId,MAAM,KAAK,MAAM;EAEjB,SAAS,YAAY,MAAc,OAAe;GAChD,KAAK,mBAAmB,MAAM,KAAK;EACrC;EAEA,MAAM,eAAe,SAAiB;GACpC,QAAQ,QAAA,SAAS,SAAS,QAAA,YAAY,KAAK,EAAE,WAAW,GAAA,CAAI,SAAS;EACvE;;GAGkB,OAAA,QAAA,aAAa,OAAO,KAAK,QAAA,aAAS,CAAA,CAAA,CAAA,CAAQ,UACxDC,UAAA,IAAA,GAAAC,mBA2CWC,UAAA,EAAA,KAAA,EAAA,GAAAC,WA1CM,OAAO,KAAK,QAAA,SAAS,IAA7B,SAAI;IAEX,OAAAH,UAAA,GAAAC,mBAuCM,OAAA;KAxCA,KAAA;KAEJ,OAAKG,eAAA,CAAC,sBACa,QAAA,WAAM,eAAA,qC;I,IAGzBC,mBA2BM,OA3BN,YA2BM,CA1BJA,mBAIQ,SAAA;KAHN,OAAM;KACL,KAAG,GAAKC,MAAA,EAAA,EAAE,GAAI;IACZ,GAAAC,gBAAA,IAAI,GAAA,GAAA,UAAA,GAEO,QAAA,YAAY,KAAI,EAAG,MAAM,UACvCP,UAAA,GAAAQ,YAQ0CC,+BAAA;;KAPvC,IAAE,GAAKH,MAAA,EAAA,EAAE,GAAI;KACb,UAAU,QAAA;KACV,aAA8B,MAAK,QAAS,UAAI,GAASA,MAAA,EAAA,EAAE,GAAI,KAAI,SAAU,KAAA;KAG7E,MAAM,QAAA,UAAU,KAAI,EAAG,MAAM,KAAK,MAAC,GAAQ,GAAC,KAAA,CAAA;KAC5C,OAAO,YAAY,IAAI;KACvB,WAAS,MAAM,YAAY,MAAM,CAAC;;;;;;;;I,OAGrCN,UAAA,GAAAQ,YAO0CE,gCAAA;;KANvC,IAAE,GAAKJ,MAAA,EAAA,EAAE,GAAI;KACb,oBAAmC,MAAK,QAAS,UAAI,GAASA,MAAA,EAAA,EAAE,GAAI,KAAI,SAAU,KAAA;KAGlF,UAAU,QAAA;KACV,OAAO,YAAY,IAAI;KACvB,WAAS,MAAM,YAAY,MAAM,CAAC;;;;;;;I,OAIjC,MAAK,QAAS,WADtBN,UAAA,GAAAC,mBAKM,OAAA;;KAHH,IAAE,GAAKK,MAAA,EAAA,EAAE,GAAI,KAAI;KAClB,OAAM;I,IACNK,WAA+B,KAAA,QAAA,QAAV,MAAI,C"}
1
+ {"version":3,"file":"ServerVariablesForm.vue_vue_type_script_setup_true_lang.js","names":["_useSlots","_openBlock","_createElementBlock","_Fragment","_renderList","_normalizeClass","_createElementVNode","_unref","_toDisplayString","_createBlock","ServerVariablesSelect","ServerVariablesTextbox","_renderSlot"],"sources":["../../../src/components/Server/ServerVariablesForm.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useId, type VNode } from 'vue'\n\nimport ServerVariablesSelect from '@/components/Server/ServerVariablesSelect.vue'\nimport ServerVariablesTextbox from '@/components/Server/ServerVariablesTextbox.vue'\nimport type {\n ServerVariables,\n ServerVariableValues,\n} from '@/components/Server/types'\n\nconst {\n values,\n variables,\n layout = 'client',\n} = defineProps<{\n variables?: ServerVariables | undefined\n values?: ServerVariableValues\n /** The ID of the input controlled by the variables form */\n controls?: string\n /** The layout of the server variables form */\n layout?: 'client' | 'reference'\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:variable', name: string, value: string): void\n}>()\n\n/** Optional read-only context for individual variables, kept separate from their editable values. */\nconst slots = defineSlots<{\n [name: `hint-${string}`]: () => VNode[]\n}>()\n\nconst id = useId()\n\nfunction setVariable(name: string, value: string) {\n emit('update:variable', name, value)\n}\n\nconst getVariable = (name: string) => {\n return (values?.[name] ?? variables?.[name]?.default ?? '').toString()\n}\n</script>\n<template>\n <template v-if=\"variables && Object.keys(variables ?? {}).length\">\n <template\n v-for=\"name in Object.keys(variables)\"\n :key=\"name\">\n <div\n class=\"group/label w-full\"\n :class=\"\n layout === 'reference' && 'border-x border-b last:rounded-b-lg'\n \">\n <div class=\"flex h-8 w-full items-center\">\n <label\n class=\"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']\"\n :for=\"`${id}-${name}`\">\n {{ name }}\n </label>\n <template v-if=\"variables?.[name]?.enum?.length\">\n <ServerVariablesSelect\n :id=\"`${id}-${name}`\"\n :controls=\"controls\"\n :describedBy=\"\n slots[`hint-${name}`] ? `${id}-${name}-hint` : undefined\n \"\n :enum=\"variables[name]?.enum?.map((v) => `${v}`) ?? []\"\n :value=\"getVariable(name)\"\n @change=\"(s) => setVariable(name, s)\" />\n </template>\n <template v-else>\n <ServerVariablesTextbox\n :id=\"`${id}-${name}`\"\n :aria-describedby=\"\n slots[`hint-${name}`] ? `${id}-${name}-hint` : undefined\n \"\n :controls=\"controls\"\n :value=\"getVariable(name)\"\n @change=\"(s) => setVariable(name, s)\" />\n </template>\n </div>\n <div\n v-if=\"slots[`hint-${name}`]\"\n :id=\"`${id}-${name}-hint`\"\n class=\"text-c-2 px-3 pb-2 text-sm\">\n <slot :name=\"`hint-${name}`\" />\n </div>\n </div>\n </template>\n </template>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAuBA,MAAM,OAAO;;EAKb,MAAM,QAAQA,SAAA;EAId,MAAM,KAAK,MAAM;EAEjB,SAAS,YAAY,MAAc,OAAe;GAChD,KAAK,mBAAmB,MAAM,KAAK;EACrC;EAEA,MAAM,eAAe,SAAiB;GACpC,QAAQ,QAAA,SAAS,SAAS,QAAA,YAAY,KAAK,EAAE,WAAW,GAAA,CAAI,SAAS;EACvE;;GAGkB,OAAA,QAAA,aAAa,OAAO,KAAK,QAAA,aAAS,CAAA,CAAA,CAAA,CAAQ,UACxDC,UAAA,IAAA,GAAAC,mBA2CWC,UAAA,EAAA,KAAA,EAAA,GAAAC,WA1CM,OAAO,KAAK,QAAA,SAAS,IAA7B,SAAI;IAEX,OAAAH,UAAA,GAAAC,mBAuCM,OAAA;KAxCA,KAAA;KAEJ,OAAKG,eAAA,CAAC,sBACa,QAAA,WAAM,eAAA,qC;I,IAGzBC,mBA2BM,OA3BN,YA2BM,CA1BJA,mBAIQ,SAAA;KAHN,OAAM;KACL,KAAG,GAAKC,MAAA,EAAA,EAAE,GAAI;IACZ,GAAAC,gBAAA,IAAI,GAAA,GAAA,UAAA,GAEO,QAAA,YAAY,KAAI,EAAG,MAAM,UACvCP,UAAA,GAAAQ,YAQ0CC,+BAAA;;KAPvC,IAAE,GAAKH,MAAA,EAAA,EAAE,GAAI;KACb,UAAU,QAAA;KACV,aAA8B,MAAK,QAAS,UAAI,GAASA,MAAA,EAAA,EAAE,GAAI,KAAI,SAAU,KAAA;KAG7E,MAAM,QAAA,UAAU,KAAI,EAAG,MAAM,KAAK,MAAC,GAAQ,GAAC,KAAA,CAAA;KAC5C,OAAO,YAAY,IAAI;KACvB,WAAS,MAAM,YAAY,MAAM,CAAC;;;;;;;;I,OAGrCN,UAAA,GAAAQ,YAO0CE,gCAAA;;KANvC,IAAE,GAAKJ,MAAA,EAAA,EAAE,GAAI;KACb,oBAAmC,MAAK,QAAS,UAAI,GAASA,MAAA,EAAA,EAAE,GAAI,KAAI,SAAU,KAAA;KAGlF,UAAU,QAAA;KACV,OAAO,YAAY,IAAI;KACvB,WAAS,MAAM,YAAY,MAAM,CAAC;;;;;;;I,OAIjC,MAAK,QAAS,WADtBN,UAAA,GAAAC,mBAKM,OAAA;;KAHH,IAAE,GAAKK,MAAA,EAAA,EAAE,GAAI,KAAI;KAClB,OAAM;I,IACNK,WAA+B,KAAA,QAAA,QAAV,MAAI,C"}
@@ -1,7 +1,6 @@
1
1
  import ServerVariablesSelect_vue_vue_type_script_setup_true_lang_default from "./ServerVariablesSelect.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/Server/ServerVariablesSelect.vue
2
+ // src/components/Server/ServerVariablesSelect.vue
3
3
  var ServerVariablesSelect_default = ServerVariablesSelect_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { ServerVariablesSelect_default as default };
6
5
 
7
6
  //# sourceMappingURL=ServerVariablesSelect.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesSelect.vue.js","names":["_sfc_main"],"sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarButton } from '@scalar/components/button'\nimport {\n ScalarListbox,\n type ScalarListboxOption,\n} from '@scalar/components/listbox'\nimport { ScalarIconCaretDown } from '@scalar/icons'\nimport { computed } from 'vue'\n\nimport { useLocalization } from '@/v2/features/localization'\n\nconst props = defineProps<{\n enum: string[]\n value: string\n controls: string | undefined\n /** Read-only context associated with the select button. */\n describedBy?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'change', v: string): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst options = computed<ScalarListboxOption[]>(() =>\n props.enum.map((s) => ({ id: s, label: s })),\n)\n\nconst selected = computed<ScalarListboxOption | undefined>({\n get: () => options.value.find((opt) => opt.id === props.value),\n set: (opt?: ScalarListboxOption) => emit('change', opt?.id ?? ''),\n})\n</script>\n<template>\n <ScalarListbox\n v-model=\"selected\"\n :options=\"options\">\n <ScalarButton\n :aria-controls=\"controls\"\n :aria-describedby=\"describedBy\"\n class=\"group/button h-8 gap-1.5 p-1.5 text-base font-normal\"\n variant=\"ghost\">\n <span :class=\"{ 'text-c-1': value }\">\n <span\n v-if=\"value\"\n class=\"sr-only\"\n >{{ translate('apiClient.serverVariablesSelect.selected') }}</span\n >\n {{ value || 'Select value' }}\n </span>\n <ScalarIconCaretDown\n class=\"mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180\"\n weight=\"bold\" />\n </ScalarButton>\n </ScalarListbox>\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"ServerVariablesSelect.vue.js","names":[],"sources":[],"mappings":""}
@@ -3,7 +3,7 @@ import { computed, createBlock, createCommentVNode, createElementBlock, createEl
3
3
  import { ScalarButton } from "@scalar/components/button";
4
4
  import { ScalarListbox } from "@scalar/components/listbox";
5
5
  import { ScalarIconCaretDown } from "@scalar/icons";
6
- //#region src/components/Server/ServerVariablesSelect.vue?vue&type=script&setup=true&lang.ts
6
+ // src/components/Server/ServerVariablesSelect.vue?vue&type=script&setup=true&lang.ts
7
7
  var _hoisted_1 = {
8
8
  key: 0,
9
9
  class: "sr-only"
@@ -52,7 +52,6 @@ var ServerVariablesSelect_vue_vue_type_script_setup_true_lang_default = /*@__PUR
52
52
  };
53
53
  }
54
54
  });
55
- //#endregion
56
55
  export { ServerVariablesSelect_vue_vue_type_script_setup_true_lang_default as default };
57
56
 
58
57
  //# sourceMappingURL=ServerVariablesSelect.vue_vue_type_script_setup_true_lang.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesSelect.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createBlock","_unref","_withCtx","_createVNode","_createElementVNode","_normalizeClass","_createElementBlock","_toDisplayString","_createCommentVNode","_createTextVNode"],"sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarButton } from '@scalar/components/button'\nimport {\n ScalarListbox,\n type ScalarListboxOption,\n} from '@scalar/components/listbox'\nimport { ScalarIconCaretDown } from '@scalar/icons'\nimport { computed } from 'vue'\n\nimport { useLocalization } from '@/v2/features/localization'\n\nconst props = defineProps<{\n enum: string[]\n value: string\n controls: string | undefined\n /** Read-only context associated with the select button. */\n describedBy?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'change', v: string): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst options = computed<ScalarListboxOption[]>(() =>\n props.enum.map((s) => ({ id: s, label: s })),\n)\n\nconst selected = computed<ScalarListboxOption | undefined>({\n get: () => options.value.find((opt) => opt.id === props.value),\n set: (opt?: ScalarListboxOption) => emit('change', opt?.id ?? ''),\n})\n</script>\n<template>\n <ScalarListbox\n v-model=\"selected\"\n :options=\"options\">\n <ScalarButton\n :aria-controls=\"controls\"\n :aria-describedby=\"describedBy\"\n class=\"group/button h-8 gap-1.5 p-1.5 text-base font-normal\"\n variant=\"ghost\">\n <span :class=\"{ 'text-c-1': value }\">\n <span\n v-if=\"value\"\n class=\"sr-only\"\n >{{ translate('apiClient.serverVariablesSelect.selected') }}</span\n >\n {{ value || 'Select value' }}\n </span>\n <ScalarIconCaretDown\n class=\"mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180\"\n weight=\"bold\" />\n </ScalarButton>\n </ScalarListbox>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EAWA,MAAM,QAAQ;EAQd,MAAM,OAAO;EAIb,MAAM,EAAE,cAAc,gBAAgB;EAEtC,MAAM,UAAU,eACd,MAAM,KAAK,KAAK,OAAO;GAAE,IAAI;GAAG,OAAO;EAAE,EAAE,CAC7C;EAEA,MAAM,WAAW,SAA0C;GACzD,WAAW,QAAQ,MAAM,MAAM,QAAQ,IAAI,OAAO,MAAM,KAAK;GAC7D,MAAM,QAA8B,KAAK,UAAU,KAAK,MAAM,EAAE;EAClE,CAAC;;GAGC,OAAAA,UAAA,GAAAC,YAoBgBC,MAAA,aAAA,GAAA;IAnBL,YAAA,SAAA;IAAA,uBAAA,OAAA,OAAA,OAAA,MAAA,WAAA,SAAQ,QAAA;IAChB,SAAS,QAAA;;IACV,SAAAC,cAgBe,CAhBfC,YAgBeF,MAAA,YAAA,GAAA;KAfZ,iBAAe,QAAA;KACf,oBAAkB,QAAA;KACnB,OAAM;KACN,SAAQ;;KACR,SAAAC,cAOO,CAPPE,mBAOO,QAAA,EAPA,OAAKC,eAAA,EAAA,YAAgB,QAAA,MAAK,CAAA,E,IAEvB,QAAA,SADRN,UAAA,GAAAO,mBAIC,QAJD,YAICC,gBADKN,MAAA,SAAA,CAAS,CAAA,0CAAA,CAAA,GAAA,CAAA,K,8BACdQ,gBAAA,MACDF,gBAAG,QAAA,SAAK,cAAA,GAAA,CAAA,C,OAEVJ,YAEkBF,MAAA,mBAAA,GAAA;MADhB,OAAM;MACN,QAAO"}
1
+ {"version":3,"file":"ServerVariablesSelect.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createBlock","_unref","_withCtx","_createVNode","_createElementVNode","_normalizeClass","_createElementBlock","_toDisplayString","_createTextVNode"],"sources":["../../../src/components/Server/ServerVariablesSelect.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarButton } from '@scalar/components/button'\nimport {\n ScalarListbox,\n type ScalarListboxOption,\n} from '@scalar/components/listbox'\nimport { ScalarIconCaretDown } from '@scalar/icons'\nimport { computed } from 'vue'\n\nimport { useLocalization } from '@/v2/features/localization'\n\nconst props = defineProps<{\n enum: string[]\n value: string\n controls: string | undefined\n /** Read-only context associated with the select button. */\n describedBy?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'change', v: string): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst options = computed<ScalarListboxOption[]>(() =>\n props.enum.map((s) => ({ id: s, label: s })),\n)\n\nconst selected = computed<ScalarListboxOption | undefined>({\n get: () => options.value.find((opt) => opt.id === props.value),\n set: (opt?: ScalarListboxOption) => emit('change', opt?.id ?? ''),\n})\n</script>\n<template>\n <ScalarListbox\n v-model=\"selected\"\n :options=\"options\">\n <ScalarButton\n :aria-controls=\"controls\"\n :aria-describedby=\"describedBy\"\n class=\"group/button h-8 gap-1.5 p-1.5 text-base font-normal\"\n variant=\"ghost\">\n <span :class=\"{ 'text-c-1': value }\">\n <span\n v-if=\"value\"\n class=\"sr-only\"\n >{{ translate('apiClient.serverVariablesSelect.selected') }}</span\n >\n {{ value || 'Select value' }}\n </span>\n <ScalarIconCaretDown\n class=\"mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180\"\n weight=\"bold\" />\n </ScalarButton>\n </ScalarListbox>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EAWA,MAAM,QAAQ;EAQd,MAAM,OAAO;EAIb,MAAM,EAAE,cAAc,gBAAgB;EAEtC,MAAM,UAAU,eACd,MAAM,KAAK,KAAK,OAAO;GAAE,IAAI;GAAG,OAAO;EAAE,EAAE,CAC7C;EAEA,MAAM,WAAW,SAA0C;GACzD,WAAW,QAAQ,MAAM,MAAM,QAAQ,IAAI,OAAO,MAAM,KAAK;GAC7D,MAAM,QAA8B,KAAK,UAAU,KAAK,MAAM,EAAE;EAClE,CAAC;;GAGC,OAAAA,UAAA,GAAAC,YAoBgBC,MAAA,aAAA,GAAA;IAnBL,YAAA,SAAA;IAAA,uBAAA,OAAA,OAAA,OAAA,MAAA,WAAA,SAAQ,QAAA;IAChB,SAAS,QAAA;;IACV,SAAAC,cAgBe,CAhBfC,YAgBeF,MAAA,YAAA,GAAA;KAfZ,iBAAe,QAAA;KACf,oBAAkB,QAAA;KACnB,OAAM;KACN,SAAQ;;KACR,SAAAC,cAOO,CAPPE,mBAOO,QAAA,EAPA,OAAKC,eAAA,EAAA,YAAgB,QAAA,MAAK,CAAA,E,IAEvB,QAAA,SADRN,UAAA,GAAAO,mBAIC,QAJD,YAICC,gBADKN,MAAA,SAAA,CAAS,CAAA,0CAAA,CAAA,GAAA,CAAA,K,8BACdO,gBAAA,MACDD,gBAAG,QAAA,SAAK,cAAA,GAAA,CAAA,C,OAEVJ,YAEkBF,MAAA,mBAAA,GAAA;MADhB,OAAM;MACN,QAAO"}
@@ -1,7 +1,6 @@
1
1
  import ServerVariablesTextbox_vue_vue_type_script_setup_true_lang_default from "./ServerVariablesTextbox.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/Server/ServerVariablesTextbox.vue
2
+ // src/components/Server/ServerVariablesTextbox.vue
3
3
  var ServerVariablesTextbox_default = ServerVariablesTextbox_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { ServerVariablesTextbox_default as default };
6
5
 
7
6
  //# sourceMappingURL=ServerVariablesTextbox.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerVariablesTextbox.vue.js","names":["_sfc_main"],"sources":["../../../src/components/Server/ServerVariablesTextbox.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nimport { useLocalization } from '@/v2/features/localization'\n\nconst props = defineProps<{\n value: string\n controls: string | undefined\n}>()\n\nconst emit = defineEmits<{\n (e: 'change', v: string): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst model = computed<string>({\n get: () => props.value,\n set: (v) => emit('change', v),\n})\n</script>\n<template>\n <input\n v-model=\"model\"\n v-bind=\"controls ? { ...$attrs, 'aria-controls': controls } : {}\"\n autocomplete=\"off\"\n class=\"text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg\"\n :placeholder=\"translate('apiClient.serverVariablesTextbox.value')\"\n spellcheck=\"false\"\n type=\"text\" />\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"ServerVariablesTextbox.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import { useLocalization } from "../../v2/features/localization/index.js";
2
2
  import { computed, createElementBlock, defineComponent, mergeProps, openBlock, unref, vModelText, withDirectives } from "vue";
3
- //#region src/components/Server/ServerVariablesTextbox.vue?vue&type=script&setup=true&lang.ts
3
+ // src/components/Server/ServerVariablesTextbox.vue?vue&type=script&setup=true&lang.ts
4
4
  var _hoisted_1 = ["placeholder"];
5
5
  var ServerVariablesTextbox_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
6
6
  __name: "ServerVariablesTextbox",
@@ -31,7 +31,6 @@ var ServerVariablesTextbox_vue_vue_type_script_setup_true_lang_default = /*@__PU
31
31
  };
32
32
  }
33
33
  });
34
- //#endregion
35
34
  export { ServerVariablesTextbox_vue_vue_type_script_setup_true_lang_default as default };
36
35
 
37
36
  //# sourceMappingURL=ServerVariablesTextbox.vue_vue_type_script_setup_true_lang.js.map
@@ -1,7 +1,6 @@
1
1
  import DeleteSidebarListElement_vue_vue_type_script_setup_true_lang_default from "./DeleteSidebarListElement.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/Sidebar/Actions/DeleteSidebarListElement.vue
2
+ // src/components/Sidebar/Actions/DeleteSidebarListElement.vue
3
3
  var DeleteSidebarListElement_default = DeleteSidebarListElement_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { DeleteSidebarListElement_default as default };
6
5
 
7
6
  //# sourceMappingURL=DeleteSidebarListElement.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteSidebarListElement.vue.js","names":["_sfc_main"],"sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nimport SidebarListElementForm from '@/components/Sidebar/Actions/SidebarListElementForm.vue'\nimport { useLocalization } from '@/v2/features/localization'\n\nconst props = defineProps<{\n variableName: string\n warningMessage: string | undefined\n}>()\n\nconst emit = defineEmits<{\n (e: 'close'): void\n (e: 'delete'): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst truncatedName = computed(() => {\n if (props.variableName.length > 18) {\n return props.variableName.slice(0, 18) + '…'\n }\n return props.variableName\n})\n</script>\n<template>\n <SidebarListElementForm\n danger\n :label=\"\n translate('apiClient.deleteSidebarListElement.delete', {\n name: truncatedName,\n })\n \"\n @cancel=\"emit('close')\"\n @submit=\"emit('delete')\">\n <p\n v-if=\"warningMessage\"\n class=\"text-c-2 text-sm leading-normal text-pretty\">\n {{ warningMessage }}\n </p>\n </SidebarListElementForm>\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"DeleteSidebarListElement.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,7 +1,7 @@
1
- import { useLocalization } from "../../../v2/features/localization/index.js";
2
1
  import SidebarListElementForm_default from "./SidebarListElementForm.vue.js";
2
+ import { useLocalization } from "../../../v2/features/localization/index.js";
3
3
  import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, openBlock, toDisplayString, unref, withCtx } from "vue";
4
- //#region src/components/Sidebar/Actions/DeleteSidebarListElement.vue?vue&type=script&setup=true&lang.ts
4
+ // src/components/Sidebar/Actions/DeleteSidebarListElement.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = {
6
6
  key: 0,
7
7
  class: "text-c-2 text-sm leading-normal text-pretty"
@@ -34,7 +34,6 @@ var DeleteSidebarListElement_vue_vue_type_script_setup_true_lang_default = /*@__
34
34
  };
35
35
  }
36
36
  });
37
- //#endregion
38
37
  export { DeleteSidebarListElement_vue_vue_type_script_setup_true_lang_default as default };
39
38
 
40
39
  //# sourceMappingURL=DeleteSidebarListElement.vue_vue_type_script_setup_true_lang.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteSidebarListElement.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createBlock","SidebarListElementForm","_unref","_withCtx","_createElementBlock","_toDisplayString","_createCommentVNode"],"sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nimport SidebarListElementForm from '@/components/Sidebar/Actions/SidebarListElementForm.vue'\nimport { useLocalization } from '@/v2/features/localization'\n\nconst props = defineProps<{\n variableName: string\n warningMessage: string | undefined\n}>()\n\nconst emit = defineEmits<{\n (e: 'close'): void\n (e: 'delete'): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst truncatedName = computed(() => {\n if (props.variableName.length > 18) {\n return props.variableName.slice(0, 18) + '…'\n }\n return props.variableName\n})\n</script>\n<template>\n <SidebarListElementForm\n danger\n :label=\"\n translate('apiClient.deleteSidebarListElement.delete', {\n name: truncatedName,\n })\n \"\n @cancel=\"emit('close')\"\n @submit=\"emit('delete')\">\n <p\n v-if=\"warningMessage\"\n class=\"text-c-2 text-sm leading-normal text-pretty\">\n {{ warningMessage }}\n </p>\n </SidebarListElementForm>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;EAMA,MAAM,QAAQ;EAKd,MAAM,OAAO;EAKb,MAAM,EAAE,cAAc,gBAAgB;EAEtC,MAAM,gBAAgB,eAAe;GACnC,IAAI,MAAM,aAAa,SAAS,IAC9B,OAAO,MAAM,aAAa,MAAM,GAAG,EAAE,IAAI;GAE3C,OAAO,MAAM;EACf,CAAC;;GAGC,OAAAA,UAAA,GAAAC,YAcyBC,gCAAA;IAbvB,QAAA;IACC,OAAcC,MAAA,SAAA,CAAS,CAAA,6CAAA,EAA8D,MAAA,cAAA,M;IAKrF,UAAM,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,OAAA;IACZ,UAAM,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,QAAA;;IACb,SAAAC,cAII,CAHI,QAAA,kBADRJ,UAAA,GAAAK,mBAII,KAJJ,YAIIC,gBADC,QAAA,cAAc,GAAA,CAAA,K"}
1
+ {"version":3,"file":"DeleteSidebarListElement.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createBlock","SidebarListElementForm","_unref","_withCtx","_createElementBlock","_toDisplayString"],"sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nimport SidebarListElementForm from '@/components/Sidebar/Actions/SidebarListElementForm.vue'\nimport { useLocalization } from '@/v2/features/localization'\n\nconst props = defineProps<{\n variableName: string\n warningMessage: string | undefined\n}>()\n\nconst emit = defineEmits<{\n (e: 'close'): void\n (e: 'delete'): void\n}>()\n\nconst { translate } = useLocalization()\n\nconst truncatedName = computed(() => {\n if (props.variableName.length > 18) {\n return props.variableName.slice(0, 18) + '…'\n }\n return props.variableName\n})\n</script>\n<template>\n <SidebarListElementForm\n danger\n :label=\"\n translate('apiClient.deleteSidebarListElement.delete', {\n name: truncatedName,\n })\n \"\n @cancel=\"emit('close')\"\n @submit=\"emit('delete')\">\n <p\n v-if=\"warningMessage\"\n class=\"text-c-2 text-sm leading-normal text-pretty\">\n {{ warningMessage }}\n </p>\n </SidebarListElementForm>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;EAMA,MAAM,QAAQ;EAKd,MAAM,OAAO;EAKb,MAAM,EAAE,cAAc,gBAAgB;EAEtC,MAAM,gBAAgB,eAAe;GACnC,IAAI,MAAM,aAAa,SAAS,IAC9B,OAAO,MAAM,aAAa,MAAM,GAAG,EAAE,IAAI;GAE3C,OAAO,MAAM;EACf,CAAC;;GAGC,OAAAA,UAAA,GAAAC,YAcyBC,gCAAA;IAbvB,QAAA;IACC,OAAcC,MAAA,SAAA,CAAS,CAAA,6CAAA,EAA8D,MAAA,cAAA,M;IAKrF,UAAM,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,OAAA;IACZ,UAAM,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,QAAA;;IACb,SAAAC,cAII,CAHI,QAAA,kBADRJ,UAAA,GAAAK,mBAII,KAJJ,YAIIC,gBADC,QAAA,cAAc,GAAA,CAAA,K"}
@@ -1,7 +1,6 @@
1
1
  import SidebarListElementForm_vue_vue_type_script_setup_true_lang_default from "./SidebarListElementForm.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/Sidebar/Actions/SidebarListElementForm.vue
2
+ // src/components/Sidebar/Actions/SidebarListElementForm.vue
3
3
  var SidebarListElementForm_default = SidebarListElementForm_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { SidebarListElementForm_default as default };
6
5
 
7
6
  //# sourceMappingURL=SidebarListElementForm.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarListElementForm.vue.js","names":["_sfc_main"],"sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ScalarButton } from '@scalar/components/button'\n\nimport { useLocalization } from '@/v2/features/localization'\n\ndefineProps<{\n danger?: boolean\n label?: string\n}>()\n\nconst emit = defineEmits<{\n (e: 'cancel'): void\n (e: 'submit'): void\n}>()\n\nconst { translate } = useLocalization()\n</script>\n<template>\n <form\n class=\"flex flex-col gap-4 text-base\"\n @submit.prevent=\"emit('submit')\">\n <slot />\n <div class=\"flex justify-between gap-10\">\n <ScalarButton\n size=\"sm\"\n type=\"button\"\n variant=\"outlined\"\n @click=\"emit('cancel')\">\n {{ translate('apiClient.sidebarListElementForm.cancel') }}\n </ScalarButton>\n <ScalarButton\n data-testid=\"sidebar-list-element-form-submit-button\"\n size=\"sm\"\n type=\"submit\"\n :variant=\"danger ? 'danger' : 'solid'\">\n {{ label ?? 'Save' }}\n </ScalarButton>\n </div>\n </form>\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"SidebarListElementForm.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  import { useLocalization } from "../../../v2/features/localization/index.js";
2
2
  import { createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, renderSlot, toDisplayString, unref, withCtx, withModifiers } from "vue";
3
3
  import { ScalarButton } from "@scalar/components/button";
4
- //#region src/components/Sidebar/Actions/SidebarListElementForm.vue?vue&type=script&setup=true&lang.ts
4
+ // src/components/Sidebar/Actions/SidebarListElementForm.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = { class: "flex justify-between gap-10" };
6
6
  var SidebarListElementForm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
7
7
  __name: "SidebarListElementForm",
@@ -37,7 +37,6 @@ var SidebarListElementForm_vue_vue_type_script_setup_true_lang_default = /*@__PU
37
37
  };
38
38
  }
39
39
  });
40
- //#endregion
41
40
  export { SidebarListElementForm_vue_vue_type_script_setup_true_lang_default as default };
42
41
 
43
42
  //# sourceMappingURL=SidebarListElementForm.vue_vue_type_script_setup_true_lang.js.map
@@ -1,7 +1,6 @@
1
1
  import ViewLayout_vue_vue_type_script_setup_true_lang_default from "./ViewLayout.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/ViewLayout/ViewLayout.vue
2
+ // src/components/ViewLayout/ViewLayout.vue
3
3
  var ViewLayout_default = ViewLayout_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { ViewLayout_default as default };
6
5
 
7
6
  //# sourceMappingURL=ViewLayout.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayout.vue.js","names":["_sfc_main"],"sources":["../../../src/components/ViewLayout/ViewLayout.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useBindCx } from '@scalar/use-hooks/useBindCx'\n\nconst { cx } = useBindCx()\n</script>\n\n<template>\n <div\n v-bind=\"\n cx(\n 'flex flex-col min-h-0 flex-1 *:border-t first:*:border-t-0 md:*:border-t-0 xl:overflow-hidden md:flex-row leading-5',\n )\n \">\n <slot />\n </div>\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"ViewLayout.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref } from "vue";
2
2
  import { useBindCx } from "@scalar/use-hooks/useBindCx";
3
- //#region src/components/ViewLayout/ViewLayout.vue?vue&type=script&setup=true&lang.ts
3
+ // src/components/ViewLayout/ViewLayout.vue?vue&type=script&setup=true&lang.ts
4
4
  var ViewLayout_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
5
5
  __name: "ViewLayout",
6
6
  setup(__props) {
@@ -10,7 +10,6 @@ var ViewLayout_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
10
10
  };
11
11
  }
12
12
  });
13
- //#endregion
14
13
  export { ViewLayout_vue_vue_type_script_setup_true_lang_default as default };
15
14
 
16
15
  //# sourceMappingURL=ViewLayout.vue_vue_type_script_setup_true_lang.js.map
@@ -1,13 +1,12 @@
1
1
  import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.js";
2
2
  import { createElementBlock, openBlock, renderSlot } from "vue";
3
- //#region src/components/ViewLayout/ViewLayoutContent.vue
3
+ // src/components/ViewLayout/ViewLayoutContent.vue
4
4
  var _sfc_main = {};
5
5
  var _hoisted_1 = { class: "custom-scroll flex flex-col pr-0 *:border-t *:first:border-t-0 xl:flex-row *:xl:border-t-0 *:xl:border-l *:first:xl:border-l-0" };
6
6
  function _sfc_render(_ctx, _cache) {
7
7
  return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]);
8
8
  }
9
9
  var ViewLayoutContent_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
10
- //#endregion
11
10
  export { ViewLayoutContent_default as default };
12
11
 
13
12
  //# sourceMappingURL=ViewLayoutContent.vue.js.map
@@ -1,7 +1,6 @@
1
1
  import ViewLayoutSection_vue_vue_type_script_setup_true_lang_default from "./ViewLayoutSection.vue_vue_type_script_setup_true_lang.js";
2
- //#region src/components/ViewLayout/ViewLayoutSection.vue
2
+ // src/components/ViewLayout/ViewLayoutSection.vue
3
3
  var ViewLayoutSection_default = ViewLayoutSection_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
4
  export { ViewLayoutSection_default as default };
6
5
 
7
6
  //# sourceMappingURL=ViewLayoutSection.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayoutSection.vue.js","names":["_sfc_main"],"sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useBindCx } from '@scalar/use-hooks/useBindCx'\n\ndefineOptions({ inheritAttrs: false })\n\nconst { cx } = useBindCx()\n</script>\n\n<template>\n <section\n v-bind=\"\n cx('xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0')\n \">\n <div\n v-if=\"$slots.title\"\n class=\"request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none\">\n <slot name=\"title\" />\n </div>\n <slot />\n </section>\n</template>\n"],"mappings":""}
1
+ {"version":3,"file":"ViewLayoutSection.vue.js","names":[],"sources":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import { createCommentVNode, createElementBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref } from "vue";
2
2
  import { useBindCx } from "@scalar/use-hooks/useBindCx";
3
- //#region src/components/ViewLayout/ViewLayoutSection.vue?vue&type=script&setup=true&lang.ts
3
+ // src/components/ViewLayout/ViewLayoutSection.vue?vue&type=script&setup=true&lang.ts
4
4
  var _hoisted_1 = {
5
5
  key: 0,
6
6
  class: "request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none"
@@ -15,7 +15,6 @@ var ViewLayoutSection_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*
15
15
  };
16
16
  }
17
17
  });
18
- //#endregion
19
18
  export { ViewLayoutSection_vue_vue_type_script_setup_true_lang_default as default };
20
19
 
21
20
  //# sourceMappingURL=ViewLayoutSection.vue_vue_type_script_setup_true_lang.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayoutSection.vue_vue_type_script_setup_true_lang.js","names":["$slots","_openBlock","_createElementBlock","_normalizeProps","_guardReactiveProps","_unref","_renderSlot","_createCommentVNode"],"sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useBindCx } from '@scalar/use-hooks/useBindCx'\n\ndefineOptions({ inheritAttrs: false })\n\nconst { cx } = useBindCx()\n</script>\n\n<template>\n <section\n v-bind=\"\n cx('xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0')\n \">\n <div\n v-if=\"$slots.title\"\n class=\"request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none\">\n <slot name=\"title\" />\n </div>\n <slot />\n </section>\n</template>\n"],"mappings":";;;;;;;;;;;EAKA,MAAM,EAAE,OAAO,UAAU;;GAIvB,OAAAC,UAAA,GAAAC,mBAUU,WAAAC,eAAAC,mBATOC,MAAA,EAAA,CAAE,CAAA,mEAAA,C,KAITL,KAAAA,OAAO,SADfC,UAAA,GAAAC,mBAIM,OAJN,YAIM,CADJI,WAAqB,KAAA,QAAA,OAAA,C,oCAEvBA,WAAQ,KAAA,QAAA,SAAA,C"}
1
+ {"version":3,"file":"ViewLayoutSection.vue_vue_type_script_setup_true_lang.js","names":["$slots","_openBlock","_createElementBlock","_normalizeProps","_guardReactiveProps","_unref","_renderSlot"],"sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useBindCx } from '@scalar/use-hooks/useBindCx'\n\ndefineOptions({ inheritAttrs: false })\n\nconst { cx } = useBindCx()\n</script>\n\n<template>\n <section\n v-bind=\"\n cx('xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0')\n \">\n <div\n v-if=\"$slots.title\"\n class=\"request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none\">\n <slot name=\"title\" />\n </div>\n <slot />\n </section>\n</template>\n"],"mappings":";;;;;;;;;;;EAKA,MAAM,EAAE,OAAO,UAAU;;GAIvB,OAAAC,UAAA,GAAAC,mBAUU,WAAAC,eAAAC,mBATOC,MAAA,EAAA,CAAE,CAAA,mEAAA,C,KAITL,KAAAA,OAAO,SADfC,UAAA,GAAAC,mBAIM,OAJN,YAIM,CADJI,WAAqB,KAAA,QAAA,OAAA,C,oCAEvBA,WAAQ,KAAA,QAAA,SAAA,C"}
@@ -1,5 +1,5 @@
1
1
  import { readonly, ref } from "vue";
2
- //#region src/hooks/use-file-dialog.ts
2
+ // src/hooks/use-file-dialog.ts
3
3
  /**
4
4
  * Simplified interface for opening a file picker dialog
5
5
  * Derived from vueuse @see https://vueuse.org/useFileDialog
@@ -29,7 +29,6 @@ function useFileDialog({ multiple, accept, onChange, onError } = {}) {
29
29
  open
30
30
  };
31
31
  }
32
- //#endregion
33
32
  export { useFileDialog };
34
33
 
35
34
  //# sourceMappingURL=use-file-dialog.js.map