@scalar/api-client 2.18.0 → 2.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/components/AddressBar/AddressBar.vue2.js +52 -52
  3. package/dist/components/AddressBar/AddressBarHistory.vue2.js +15 -15
  4. package/dist/components/AddressBar/httpStatusCodeColors.d.ts +0 -33
  5. package/dist/components/AddressBar/httpStatusCodeColors.d.ts.map +1 -1
  6. package/dist/components/AddressBar/httpStatusCodeColors.js +0 -1
  7. package/dist/components/CodeInput/CodeInput.vue2.js +112 -112
  8. package/dist/components/CommandPalette/CommandActionForm.vue.js +18 -18
  9. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +25 -25
  10. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +2 -2
  11. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  12. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -4
  13. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +0 -1
  14. package/dist/components/CommandPalette/WatchModeToggle.vue.js +14 -14
  15. package/dist/components/DataTable/DataTable.vue.js +17 -17
  16. package/dist/components/DataTable/DataTableCell.vue.js +9 -9
  17. package/dist/components/DataTable/DataTableCheckbox.vue.js +17 -17
  18. package/dist/components/DataTable/DataTableInput.vue2.js +48 -48
  19. package/dist/components/DataTable/DataTableInputSelect.vue.js +35 -35
  20. package/dist/components/DataTable/DataTableText.vue.js +10 -10
  21. package/dist/components/Form/Form.vue.js +32 -32
  22. package/dist/components/Form/LabelInput.vue2.js +15 -15
  23. package/dist/components/HelpfulLink.vue.js +7 -7
  24. package/dist/components/HttpMethod/HttpMethod.vue2.js +22 -22
  25. package/dist/components/IconSelector.vue.js +16 -16
  26. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +50 -50
  27. package/dist/components/ImportCollection/ImportNowButton.vue.js +23 -23
  28. package/dist/components/ImportCollection/PrefetchError.vue.js +8 -8
  29. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +0 -7
  30. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  31. package/dist/components/ScalarAsciiArt.vue2.js +16 -16
  32. package/dist/components/SectionFilter.vue2.js +21 -21
  33. package/dist/components/SectionFilterButton.vue.js +7 -7
  34. package/dist/components/Server/ServerDropdown.vue.js +32 -32
  35. package/dist/components/Server/ServerDropdownItem.vue2.js +39 -39
  36. package/dist/components/Server/ServerSelector.vue.js +27 -27
  37. package/dist/components/Server/ServerVariablesForm.vue.js +26 -26
  38. package/dist/components/Server/ServerVariablesSelect.vue.js +21 -21
  39. package/dist/components/Server/ServerVariablesTextbox.vue.js +10 -10
  40. package/dist/components/Server/types.d.ts +2 -1
  41. package/dist/components/Server/types.d.ts.map +1 -1
  42. package/dist/components/SideNav/SideNavLink.vue.js +18 -18
  43. package/dist/components/SideNav/SideNavRouterLink.vue.js +13 -13
  44. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +11 -11
  45. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +16 -16
  46. package/dist/components/Sidebar/Sidebar.vue2.js +28 -28
  47. package/dist/components/Sidebar/SidebarButton.vue.js +12 -12
  48. package/dist/components/Sidebar/SidebarListElement.vue2.js +34 -34
  49. package/dist/components/Sidebar/SidebarListElementActions.vue.js +33 -33
  50. package/dist/components/TopNav/TopNavItem.vue2.js +41 -41
  51. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +43 -43
  52. package/dist/data/httpHeaders.d.ts +2 -1
  53. package/dist/data/httpHeaders.d.ts.map +1 -1
  54. package/dist/hooks/useClientConfig.js +1 -1
  55. package/dist/hooks/useLayout.js +1 -1
  56. package/dist/hooks/useSidebar.js +1 -1
  57. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  58. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  59. package/dist/libs/create-client.d.ts.map +1 -1
  60. package/dist/plugins/hooks/usePluginManager.d.ts +1 -1
  61. package/dist/plugins/hooks/usePluginManager.d.ts.map +1 -1
  62. package/dist/plugins/hooks/usePluginManager.js +5 -5
  63. package/dist/plugins/index.d.ts +1 -1
  64. package/dist/plugins/index.d.ts.map +1 -1
  65. package/dist/plugins/index.js +5 -5
  66. package/dist/plugins/plugin-manager.d.ts +0 -2
  67. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  68. package/dist/routes.d.ts +0 -10
  69. package/dist/routes.d.ts.map +1 -1
  70. package/dist/routes.js +0 -1
  71. package/dist/store/active-entities.js +1 -1
  72. package/dist/store/security-schemes.d.ts.map +1 -1
  73. package/dist/store/store.d.ts.map +1 -1
  74. package/dist/style.css +1 -1
  75. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  76. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +44 -44
  77. package/dist/v2/blocks/operation-block/components/Header.vue2.js +20 -20
  78. package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
  79. package/dist/v2/blocks/operation-block/helpers/build-request-body.js +14 -14
  80. package/dist/v2/blocks/operation-block/helpers/get-delimiter.js +0 -2
  81. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.js +12 -12
  82. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +65 -65
  83. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts +2 -1
  84. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts.map +1 -1
  85. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +6 -6
  86. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.d.ts +4 -3
  87. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.d.ts.map +1 -1
  88. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.js +9 -7
  89. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts.map +1 -1
  90. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js +40 -32
  91. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.d.ts +1 -3
  92. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.d.ts.map +1 -1
  93. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.js +0 -1
  94. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  95. package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
  96. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +144 -149
  97. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +25 -45
  98. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  99. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
  100. package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +90 -139
  101. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts +22 -0
  102. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts.map +1 -0
  103. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js +77 -0
  104. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue2.js +4 -0
  105. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +4 -4
  106. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -1
  107. package/dist/v2/blocks/request-block/components/RequestParams.vue.js +34 -34
  108. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +6 -6
  109. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
  110. package/dist/v2/blocks/request-block/components/RequestTable.vue.js +3 -3
  111. package/dist/v2/blocks/request-block/components/RequestTable.vue2.js +30 -32
  112. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -2
  113. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  114. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +64 -64
  115. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue2.js +29 -29
  116. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +2 -2
  117. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
  118. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +12 -13
  119. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts +8 -0
  120. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts.map +1 -0
  121. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +9 -0
  122. package/dist/v2/blocks/request-block/helpers/get-request-body-example.d.ts +3 -1
  123. package/dist/v2/blocks/request-block/helpers/get-request-body-example.d.ts.map +1 -1
  124. package/dist/v2/blocks/request-block/helpers/get-request-body-example.js +9 -8
  125. package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +67 -67
  126. package/dist/v2/blocks/response-block/components/Headers.vue.js +35 -35
  127. package/dist/v2/blocks/response-block/components/ResponseBody.vue2.js +24 -24
  128. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.js +10 -10
  129. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue2.js +24 -24
  130. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.js +10 -10
  131. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.js +11 -11
  132. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +14 -14
  133. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue2.js +11 -11
  134. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js +33 -33
  135. package/dist/v2/blocks/response-block/helpers/media-types.d.ts +3 -6
  136. package/dist/v2/blocks/response-block/helpers/media-types.d.ts.map +1 -1
  137. package/dist/v2/blocks/response-block/helpers/media-types.js +0 -1
  138. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +72 -72
  139. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +9 -9
  140. package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.d.ts +0 -33
  141. package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.d.ts.map +1 -1
  142. package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.js +0 -1
  143. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  144. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +83 -82
  145. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +10 -10
  146. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +121 -121
  147. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue2.js +13 -13
  148. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +33 -33
  149. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  150. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +26 -26
  151. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +26 -26
  152. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +2 -2
  153. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  154. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +130 -122
  155. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +0 -21
  156. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  157. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +1 -3
  158. package/dist/v2/components/code-input/CodeInput.vue2.js +93 -93
  159. package/dist/v2/components/data-table/DataTable.vue.js +17 -17
  160. package/dist/v2/components/data-table/DataTableCell.vue.js +9 -9
  161. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +17 -17
  162. package/dist/v2/components/data-table/DataTableInput.vue2.js +48 -48
  163. package/dist/v2/components/data-table/DataTableInputSelect.vue.js +35 -35
  164. package/dist/v2/components/data-table/DataTableText.vue.js +10 -10
  165. package/dist/v2/components/forms/ConfirmationForm.vue.js +13 -13
  166. package/dist/v2/components/layout/CollapsibleSection.vue.js +42 -42
  167. package/dist/v2/components/modals/DeleteModal.vue.js +13 -13
  168. package/dist/v2/components/resize/Resize.vue2.js +11 -11
  169. package/dist/v2/components/server/ServerDropdown.vue.js +30 -30
  170. package/dist/v2/components/server/ServerDropdownItem.vue2.js +27 -27
  171. package/dist/v2/components/sidebar/Sidebar.vue.js +32 -32
  172. package/dist/v2/components/sidebar/SidebarMenu.vue.js +20 -20
  173. package/dist/v2/features/app/App.vue.js +25 -25
  174. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  175. package/dist/v2/features/app/app-events.js +55 -61
  176. package/dist/v2/features/app/components/AppSidebar.vue2.js +97 -97
  177. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +20 -20
  178. package/dist/v2/features/app/components/DesktopTab.vue2.js +59 -59
  179. package/dist/v2/features/app/components/DesktopTabs.vue.js +22 -22
  180. package/dist/v2/features/app/components/SidebarItemMenu.vue.js +6 -6
  181. package/dist/v2/features/app/components/WebTopNav.vue.js +9 -9
  182. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +2 -5
  183. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  184. package/dist/v2/features/app/helpers/create-api-client-app.js +1 -2
  185. package/dist/v2/features/app/helpers/routes.d.ts +5 -1
  186. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  187. package/dist/v2/features/collection/DocumentCollection.vue.js +31 -31
  188. package/dist/v2/features/collection/WorkspaceCollection.vue.js +17 -17
  189. package/dist/v2/features/collection/components/Authentication.vue2.js +18 -18
  190. package/dist/v2/features/collection/components/Cookies.vue.js +10 -10
  191. package/dist/v2/features/collection/components/Environment.vue.js +10 -10
  192. package/dist/v2/features/collection/components/Form.vue.js +21 -21
  193. package/dist/v2/features/collection/components/Overview.vue2.js +25 -25
  194. package/dist/v2/features/collection/components/Servers.vue.js +37 -37
  195. package/dist/v2/features/collection/components/Settings.vue.js +22 -22
  196. package/dist/v2/features/collection/components/Tabs.vue.js +18 -18
  197. package/dist/v2/features/command-palette/components/CommandActionForm.vue.js +20 -20
  198. package/dist/v2/features/command-palette/components/CommandActionInput.vue.js +17 -17
  199. package/dist/v2/features/command-palette/components/TheCommandPalette.vue2.js +68 -68
  200. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js +11 -11
  201. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts +2 -1
  202. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts.map +1 -1
  203. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts +2 -1
  204. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts.map +1 -1
  205. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +3 -3
  206. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
  207. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +0 -1
  208. package/dist/v2/features/command-palette/types.d.ts +11 -10
  209. package/dist/v2/features/command-palette/types.d.ts.map +1 -1
  210. package/dist/v2/features/environments/EnvironmentsList.vue.js +36 -36
  211. package/dist/v2/features/environments/components/Environment.vue.js +16 -16
  212. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +37 -37
  213. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +19 -19
  214. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +14 -14
  215. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +24 -24
  216. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +58 -58
  217. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +23 -23
  218. package/dist/v2/features/modal/Modal.vue.d.ts +1 -1
  219. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  220. package/dist/v2/features/modal/Modal.vue.js +1 -1
  221. package/dist/v2/features/modal/Modal.vue2.js +57 -56
  222. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +5 -4
  223. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
  224. package/dist/v2/features/modal/hooks/use-workspace-client-modal-events.d.ts.map +1 -1
  225. package/dist/v2/features/modal/hooks/use-workspace-client-modal-events.js +17 -21
  226. package/dist/v2/features/operation/Operation.vue.d.ts +5 -1
  227. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  228. package/dist/v2/features/operation/Operation.vue.js +41 -39
  229. package/dist/v2/features/search/components/SearchButton.vue.js +40 -40
  230. package/dist/v2/features/search/components/SearchModal.vue2.js +43 -43
  231. package/dist/v2/features/search/components/SearchResult.vue.js +34 -34
  232. package/dist/v2/features/search/types.d.ts +5 -4
  233. package/dist/v2/features/search/types.d.ts.map +1 -1
  234. package/dist/v2/features/settings/CollectionSettings.vue.js +51 -51
  235. package/dist/v2/features/settings/DocumentSettings.vue.js +25 -25
  236. package/dist/v2/features/settings/components/Appearance.vue.js +27 -27
  237. package/dist/v2/helpers/handle-hotkeys.d.ts +1 -12
  238. package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
  239. package/dist/v2/helpers/handle-hotkeys.js +0 -2
  240. package/dist/v2/helpers/plugins.d.ts +2 -2
  241. package/dist/v2/helpers/plugins.d.ts.map +1 -1
  242. package/dist/views/Collection/CollectionNavigation.vue.js +13 -13
  243. package/dist/views/Collection/components/EnvironmentForm.vue2.js +114 -114
  244. package/dist/views/Collection/components/MarkdownInput.vue2.js +31 -31
  245. package/dist/views/Cookies/CookieModal.vue2.js +26 -26
  246. package/dist/views/Environment/EnvironmentColorModal.vue.js +10 -10
  247. package/dist/views/Environment/EnvironmentColors.vue.js +56 -56
  248. package/dist/views/Environment/EnvironmentModal.vue.js +26 -26
  249. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +24 -24
  250. package/dist/views/Request/Request.vue2.js +55 -55
  251. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +17 -17
  252. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +102 -102
  253. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +27 -27
  254. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  255. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +91 -91
  256. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  257. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +36 -36
  258. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +101 -101
  259. package/dist/views/Request/RequestSection/RequestBody.vue2.js +154 -154
  260. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +35 -35
  261. package/dist/views/Request/RequestSection/RequestParams.vue.js +81 -81
  262. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +47 -47
  263. package/dist/views/Request/RequestSection/RequestSection.vue2.js +90 -90
  264. package/dist/views/Request/RequestSection/RequestTable.vue2.js +111 -111
  265. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +29 -29
  266. package/dist/views/Request/RequestSection/index.d.ts +1 -1
  267. package/dist/views/Request/RequestSection/index.d.ts.map +1 -1
  268. package/dist/views/Request/RequestSection/index.js +4 -4
  269. package/dist/views/Request/RequestSidebarItem.vue2.js +149 -149
  270. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +79 -79
  271. package/dist/views/Request/RequestSubpageHeader.vue2.js +30 -30
  272. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +29 -29
  273. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +37 -37
  274. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +10 -10
  275. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +24 -24
  276. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +10 -10
  277. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +16 -16
  278. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +21 -21
  279. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +30 -30
  280. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +37 -37
  281. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +61 -61
  282. package/package.json +24 -24
  283. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts +0 -6
  284. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +0 -1
  285. package/dist/components/ImportCollection/OperationBadge.vue.d.ts +0 -8
  286. package/dist/components/ImportCollection/OperationBadge.vue.d.ts.map +0 -1
  287. package/dist/components/ScreenReader.vue.d.ts +0 -20
  288. package/dist/components/ScreenReader.vue.d.ts.map +0 -1
  289. package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts +0 -9
  290. package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts.map +0 -1
  291. package/dist/views/Components/RequestBodies/RequestBodies.vue.d.ts +0 -3
  292. package/dist/views/Components/RequestBodies/RequestBodies.vue.d.ts.map +0 -1
  293. package/dist/views/Request/RequestSection/types/post-response.d.ts +0 -7
  294. package/dist/views/Request/RequestSection/types/post-response.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
- import { defineComponent as c, createElementBlock as a, openBlock as d, createElementVNode as n, createVNode as i, normalizeStyle as p, toDisplayString as v, unref as t } from "vue";
1
+ import { defineComponent as m, createElementBlock as a, openBlock as d, createElementVNode as n, createVNode as i, normalizeStyle as v, toDisplayString as u, unref as o } from "vue";
2
2
  import { ScalarIconButton as r } from "@scalar/components";
3
- import { ScalarIconNotePencil as u, ScalarIconTrash as f } from "@scalar/icons";
4
- import y from "./EnvironmentVariablesTable.vue.js";
5
- const _ = { class: "group rounded-lg border" }, b = { class: "bg-b-2 flex justify-between rounded-t-lg px-1 py-1 text-sm" }, g = { class: "flex items-center gap-1" }, h = { class: "flex h-6 w-6 items-center justify-center p-1" }, N = { class: "px-1 py-0.5 text-sm" }, B = { class: "hidden flex-row items-center gap-1 group-hover:flex" }, w = /* @__PURE__ */ c({
3
+ import { ScalarIconNotePencil as f, ScalarIconTrash as p } from "@scalar/icons";
4
+ import x from "./EnvironmentVariablesTable.vue.js";
5
+ const y = { class: "group rounded-lg border" }, b = { class: "bg-b-2 flex justify-between rounded-t-lg px-1 py-1 text-sm" }, g = { class: "flex items-center gap-1" }, h = { class: "flex h-6 w-6 items-center justify-center p-1" }, N = { class: "px-1 py-0.5 text-sm" }, B = { class: "hidden flex-row items-center gap-1 group-hover:flex" }, C = /* @__PURE__ */ m({
6
6
  __name: "Environment",
7
7
  props: {
8
8
  environment: {},
@@ -11,35 +11,35 @@ const _ = { class: "group rounded-lg border" }, b = { class: "bg-b-2 flex justif
11
11
  collectionType: {}
12
12
  },
13
13
  emits: ["edit", "delete"],
14
- setup(E, { emit: s }) {
14
+ setup(e, { emit: s }) {
15
15
  const l = s;
16
- return (e, o) => (d(), a("div", _, [
16
+ return (E, t) => (d(), a("div", y, [
17
17
  n("div", b, [
18
18
  n("div", g, [
19
19
  n("div", h, [
20
20
  n("span", {
21
21
  class: "h-2.5 w-2.5 rounded-full",
22
- style: p({ backgroundColor: e.environment.color })
22
+ style: v({ backgroundColor: e.environment.color })
23
23
  }, null, 4)
24
24
  ]),
25
- n("span", N, v(e.environmentName), 1)
25
+ n("span", N, u(e.environmentName), 1)
26
26
  ]),
27
27
  n("div", B, [
28
- i(t(r), {
29
- icon: t(u),
28
+ i(o(r), {
29
+ icon: o(f),
30
30
  label: "Edit Environment",
31
31
  size: "sm",
32
- onClick: o[0] || (o[0] = (m) => l("edit"))
32
+ onClick: t[0] || (t[0] = (c) => l("edit"))
33
33
  }, null, 8, ["icon"]),
34
- i(t(r), {
35
- icon: t(f),
34
+ i(o(r), {
35
+ icon: o(p),
36
36
  label: "Delete Environment",
37
37
  size: "sm",
38
- onClick: o[1] || (o[1] = (m) => l("delete"))
38
+ onClick: t[1] || (t[1] = (c) => l("delete"))
39
39
  }, null, 8, ["icon"])
40
40
  ])
41
41
  ]),
42
- i(y, {
42
+ i(x, {
43
43
  collectionType: e.collectionType,
44
44
  environment: e.environment,
45
45
  environmentName: e.environmentName,
@@ -49,5 +49,5 @@ const _ = { class: "group rounded-lg border" }, b = { class: "bg-b-2 flex justif
49
49
  }
50
50
  });
51
51
  export {
52
- w as default
52
+ C as default
53
53
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, ref as d, computed as m, createElementBlock as a, openBlock as l, createCommentVNode as c, normalizeStyle as v, createBlock as k, unref as C, createElementVNode as s, Fragment as S, renderList as $, withDirectives as j, vModelText as N, createVNode as T, nextTick as V } from "vue";
1
+ import { defineComponent as D, ref as d, computed as m, createElementBlock as i, openBlock as l, createCommentVNode as a, normalizeStyle as v, createBlock as k, unref as C, createElementVNode as n, Fragment as S, renderList as $, withDirectives as j, vModelText as N, createVNode as T, nextTick as V } from "vue";
2
2
  import { ScalarIcon as f } from "@scalar/components";
3
3
  const A = {
4
4
  key: 1,
@@ -12,8 +12,8 @@ const A = {
12
12
  activeColor: {}
13
13
  },
14
14
  emits: ["select"],
15
- setup(i, { emit: w }) {
16
- const F = w, t = d(""), p = d(null), r = d(!1), n = d(!1), b = [
15
+ setup(r, { emit: w }) {
16
+ const F = w, t = d(""), b = d(null), s = d(!1), c = d(!1), h = [
17
17
  "#FFFFFF",
18
18
  "#EF0006",
19
19
  "#EDBE20",
@@ -23,86 +23,86 @@ const A = {
23
23
  "#5203D1",
24
24
  "#FFC0CB"
25
25
  ], E = m(
26
- () => b.includes(i.activeColor)
27
- ), h = m(
28
- () => i.activeColor && !E.value && !r.value
29
- ), I = (e) => i.activeColor === e, y = m(() => {
30
- const e = t.value || i.activeColor;
31
- return h.value || t.value ? `background-color: ${e};` : `background: ${W};`;
26
+ () => h.includes(r.activeColor)
27
+ ), x = m(
28
+ () => r.activeColor && !E.value && !s.value
29
+ ), I = (e) => r.activeColor === e, y = m(() => {
30
+ const e = t.value || r.activeColor;
31
+ return x.value || t.value ? `background-color: ${e};` : `background: ${W};`;
32
32
  }), g = async () => {
33
- r.value = !r.value, n.value = !1, r.value && (await V(), p.value?.focus());
33
+ s.value = !s.value, c.value = !1, s.value && (await V(), b.value?.focus());
34
34
  }, z = () => {
35
- n.value = !n.value;
36
- }, x = (e) => {
35
+ c.value = !c.value;
36
+ }, p = (e) => {
37
37
  const o = e && !e.startsWith("#") ? `#${e}` : e;
38
- F("select", o), n.value = !1;
38
+ F("select", o), c.value = !1;
39
39
  }, B = () => {
40
40
  if (!t.value)
41
41
  return;
42
42
  const e = t.value.startsWith("#") ? t.value : `#${t.value}`;
43
- t.value = e, x(e);
43
+ t.value = e, p(e);
44
44
  };
45
- return (e, o) => (l(), a("div", null, [
46
- !r.value && !n.value ? (l(), a("div", {
45
+ return (e, o) => (l(), i("div", null, [
46
+ !s.value && !c.value ? (l(), i("div", {
47
47
  key: 0,
48
48
  class: "flex h-4 w-4 cursor-pointer items-center justify-center rounded-full",
49
- style: v({ backgroundColor: e.activeColor }),
49
+ style: v({ backgroundColor: r.activeColor }),
50
50
  onClick: z
51
51
  }, [
52
- e.activeColor ? (l(), k(C(f), {
52
+ r.activeColor ? (l(), k(C(f), {
53
53
  key: 0,
54
54
  class: "text-c-btn p-0.5",
55
55
  icon: "Checkmark",
56
56
  size: "xs"
57
- })) : c("", !0)
58
- ], 4)) : c("", !0),
59
- !r.value && n.value ? (l(), a("div", A, [
60
- (l(), a(S, null, $(b, (u) => s("div", {
57
+ })) : a("", !0)
58
+ ], 4)) : a("", !0),
59
+ !s.value && c.value ? (l(), i("div", A, [
60
+ (l(), i(S, null, $(h, (u) => n("div", {
61
61
  key: u,
62
62
  class: "flex h-4 w-4 cursor-pointer items-center justify-center rounded-full",
63
63
  style: v({ backgroundColor: u }),
64
- onClick: (G) => x(u)
64
+ onClick: (G) => p(u)
65
65
  }, [
66
66
  I(u) ? (l(), k(C(f), {
67
67
  key: 0,
68
68
  class: "text-c-btn p-0.5",
69
69
  icon: "Checkmark",
70
70
  size: "xs"
71
- })) : c("", !0)
71
+ })) : a("", !0)
72
72
  ], 12, R)), 64)),
73
- o[1] || (o[1] = s("hr", { class: "border-ghost h-5 w-0.5 border-l" }, null, -1)),
74
- s("button", {
73
+ o[1] || (o[1] = n("hr", { class: "border-ghost h-5 w-0.5 border-l" }, null, -1)),
74
+ n("button", {
75
75
  class: "z-10 flex h-4 w-4 cursor-pointer flex-row items-center justify-center gap-2 rounded-full",
76
76
  style: v(y.value),
77
77
  type: "button",
78
78
  onClick: g
79
79
  }, [
80
- h.value ? (l(), k(C(f), {
80
+ x.value ? (l(), k(C(f), {
81
81
  key: 0,
82
82
  class: "text-c-btn",
83
83
  icon: "Checkmark",
84
84
  size: "xs"
85
- })) : c("", !0)
85
+ })) : a("", !0)
86
86
  ], 4)
87
- ])) : c("", !0),
88
- r.value ? (l(), a("div", L, [
89
- o[2] || (o[2] = s("span", { class: "absolute h-4 w-4 rounded-full border border-dashed" }, null, -1)),
90
- s("span", {
87
+ ])) : a("", !0),
88
+ s.value ? (l(), i("div", L, [
89
+ o[2] || (o[2] = n("span", { class: "absolute h-4 w-4 rounded-full border border-dashed" }, null, -1)),
90
+ n("span", {
91
91
  class: "z-[1] h-4 w-4 rounded-full",
92
92
  style: v(y.value)
93
93
  }, null, 4),
94
- j(s("input", {
94
+ j(n("input", {
95
95
  ref_key: "customColorInputRef",
96
- ref: p,
96
+ ref: b,
97
97
  "onUpdate:modelValue": o[0] || (o[0] = (u) => t.value = u),
98
98
  class: "w-full flex-1 border-transparent text-sm outline-none",
99
- placeholder: e.activeColor || "#000000",
99
+ placeholder: r.activeColor || "#000000",
100
100
  type: "text",
101
101
  onInput: B
102
102
  }, null, 40, U), [
103
103
  [N, t.value]
104
104
  ]),
105
- s("button", {
105
+ n("button", {
106
106
  class: "text-c-3 hover:bg-b-2 rounded-lg p-1.5",
107
107
  type: "button",
108
108
  onClick: g
@@ -112,7 +112,7 @@ const A = {
112
112
  size: "xs"
113
113
  })
114
114
  ])
115
- ])) : c("", !0)
115
+ ])) : a("", !0)
116
116
  ]));
117
117
  }
118
118
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as r, watch as N, computed as E, createBlock as y, openBlock as c, unref as h, withCtx as a, createVNode as m, createElementVNode as C, createElementBlock as b, createCommentVNode as x, createTextVNode as T, toDisplayString as F } from "vue";
1
+ import { defineComponent as f, ref as c, watch as N, computed as E, createBlock as y, openBlock as r, unref as h, withCtx as o, createVNode as m, createElementVNode as x, createElementBlock as C, createCommentVNode as b, createTextVNode as T, toDisplayString as F } from "vue";
2
2
  import { ScalarModal as V } from "@scalar/components";
3
3
  import k from "../../../../components/CommandPalette/CommandActionForm.vue.js";
4
4
  import B from "../../../../components/CommandPalette/CommandActionInput.vue.js";
@@ -6,7 +6,7 @@ import S from "./EnvironmentColors.vue.js";
6
6
  const O = { class: "flex items-start gap-2" }, g = {
7
7
  key: 0,
8
8
  class: "text-red text-xs"
9
- }, s = "#FFFFFF", w = /* @__PURE__ */ f({
9
+ }, s = "#FFFFFF", A = /* @__PURE__ */ f({
10
10
  __name: "EnvironmentCreateModal",
11
11
  props: {
12
12
  environments: {},
@@ -16,18 +16,18 @@ const O = { class: "flex items-start gap-2" }, g = {
16
16
  collectionType: {}
17
17
  },
18
18
  setup(e) {
19
- const t = r(""), n = r(s);
19
+ const t = c(""), n = c(s);
20
20
  N(
21
21
  () => e.state.open,
22
- (l) => {
23
- if (l) {
24
- const o = e.environments[e.selectedEnvironmentName ?? ""];
25
- e.selectedEnvironmentName && o ? (t.value = e.selectedEnvironmentName, n.value = o.color) : (t.value = "", n.value = s);
22
+ (a) => {
23
+ if (a) {
24
+ const l = e.environments[e.selectedEnvironmentName ?? ""];
25
+ e.selectedEnvironmentName && l ? (t.value = e.selectedEnvironmentName, n.value = l.color) : (t.value = "", n.value = s);
26
26
  }
27
27
  }
28
28
  );
29
- const d = (l) => {
30
- n.value = l;
29
+ const d = (a) => {
30
+ n.value = a;
31
31
  }, v = () => {
32
32
  e.selectedEnvironmentName ? e.eventBus.emit("environment:upsert:environment", {
33
33
  oldEnvironmentName: e.selectedEnvironmentName,
@@ -44,21 +44,21 @@ const O = { class: "flex items-start gap-2" }, g = {
44
44
  collectionType: e.collectionType
45
45
  }), e.state.hide();
46
46
  }, i = E(() => e.selectedEnvironmentName ? t.value !== e.selectedEnvironmentName && Object.keys(e.environments).includes(t.value) : Object.keys(e.environments).includes(t.value));
47
- return (l, o) => (c(), y(h(V), {
47
+ return (a, l) => (r(), y(h(V), {
48
48
  bodyClass: "border-t-0 rounded-t-lg",
49
49
  size: "xs",
50
- state: l.state
50
+ state: e.state
51
51
  }, {
52
- default: a(() => [
52
+ default: o(() => [
53
53
  m(k, {
54
54
  disabled: !t.value.trim() || i.value,
55
55
  onSubmit: v
56
56
  }, {
57
- submit: a(() => [
58
- T(F(l.selectedEnvironmentName ? "Update" : "Add") + " Environment ", 1)
57
+ submit: o(() => [
58
+ T(F(e.selectedEnvironmentName ? "Update" : "Add") + " Environment ", 1)
59
59
  ]),
60
- default: a(() => [
61
- C("div", O, [
60
+ default: o(() => [
61
+ x("div", O, [
62
62
  m(S, {
63
63
  activeColor: n.value,
64
64
  class: "peer",
@@ -66,12 +66,12 @@ const O = { class: "flex items-start gap-2" }, g = {
66
66
  }, null, 8, ["activeColor"]),
67
67
  m(B, {
68
68
  modelValue: t.value,
69
- "onUpdate:modelValue": o[0] || (o[0] = (u) => t.value = u),
69
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => t.value = u),
70
70
  class: "-mt-[.5px] !p-0 peer-has-[.color-selector]:hidden",
71
71
  placeholder: "Environment name"
72
72
  }, null, 8, ["modelValue"])
73
73
  ]),
74
- i.value ? (c(), b("div", g, " This environment name is already in use. ")) : x("", !0)
74
+ i.value ? (r(), C("div", g, " This environment name is already in use. ")) : b("", !0)
75
75
  ]),
76
76
  _: 1
77
77
  }, 8, ["disabled"])
@@ -81,5 +81,5 @@ const O = { class: "flex items-start gap-2" }, g = {
81
81
  }
82
82
  });
83
83
  export {
84
- w as default
84
+ A as default
85
85
  };
@@ -1,44 +1,44 @@
1
- import { defineComponent as m, createBlock as u, openBlock as f, unref as n, withCtx as o, createElementVNode as a, createVNode as l, createTextVNode as i } from "vue";
2
- import { ScalarModal as p, ScalarButton as r } from "@scalar/components";
3
- const x = { class: "flex justify-between" }, k = /* @__PURE__ */ m({
1
+ import { defineComponent as m, createBlock as u, openBlock as f, unref as n, withCtx as o, createElementVNode as l, createVNode as i, createTextVNode as s } from "vue";
2
+ import { ScalarModal as x, ScalarButton as r } from "@scalar/components";
3
+ const c = { class: "flex justify-between" }, k = /* @__PURE__ */ m({
4
4
  __name: "EnvironmentDeleteModal",
5
5
  props: {
6
6
  state: {},
7
7
  name: { default: "unknown" }
8
8
  },
9
9
  emits: ["cancel", "submit"],
10
- setup(b, { emit: d }) {
11
- const s = d;
12
- return (t, e) => (f(), u(n(p), {
10
+ setup(t, { emit: d }) {
11
+ const a = d;
12
+ return (b, e) => (f(), u(n(x), {
13
13
  bodyClass: "border-t-0 rounded-t-lg flex flex-col gap-4",
14
14
  size: "xxs",
15
15
  state: t.state,
16
16
  title: `Delete ${t.name}`
17
17
  }, {
18
18
  default: o(() => [
19
- e[4] || (e[4] = a("p", { class: "text-c-2 text-sm leading-normal text-pretty" }, " Are you sure you want to delete this environment? This action cannot be undone. ", -1)),
20
- a("div", x, [
21
- l(n(r), {
19
+ e[4] || (e[4] = l("p", { class: "text-c-2 text-sm leading-normal text-pretty" }, " Are you sure you want to delete this environment? This action cannot be undone. ", -1)),
20
+ l("div", c, [
21
+ i(n(r), {
22
22
  size: "sm",
23
23
  variant: "outlined",
24
24
  onClick: e[0] || (e[0] = () => {
25
- s("cancel"), t.state.hide();
25
+ a("cancel"), t.state.hide();
26
26
  })
27
27
  }, {
28
28
  default: o(() => [...e[2] || (e[2] = [
29
- i(" Cancel ", -1)
29
+ s(" Cancel ", -1)
30
30
  ])]),
31
31
  _: 1
32
32
  }),
33
- l(n(r), {
33
+ i(n(r), {
34
34
  size: "sm",
35
35
  variant: "danger",
36
36
  onClick: e[1] || (e[1] = () => {
37
- s("submit"), t.state.hide();
37
+ a("submit"), t.state.hide();
38
38
  })
39
39
  }, {
40
40
  default: o(() => [...e[3] || (e[3] = [
41
- i(" Delete Environment ", -1)
41
+ s(" Delete Environment ", -1)
42
42
  ])]),
43
43
  _: 1
44
44
  })
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, ref as u, computed as d, onMounted as N, createBlock as x, createCommentVNode as P, openBlock as r, unref as f, withCtx as y, createElementVNode as s, normalizeStyle as b, createElementBlock as p, Fragment as _, renderList as q, normalizeClass as A, createTextVNode as w, toDisplayString as g, createVNode as T } from "vue";
1
+ import { defineComponent as E, ref as u, computed as d, onMounted as N, createBlock as h, createCommentVNode as P, openBlock as r, unref as f, withCtx as y, createElementVNode as s, normalizeStyle as b, createElementBlock as m, Fragment as q, renderList as A, normalizeClass as T, createTextVNode as w, toDisplayString as g, createVNode as _ } from "vue";
2
2
  import { ScalarTeleport as j, ScalarButton as D } from "@scalar/components";
3
3
  import { ScalarIconPlus as F } from "@scalar/icons";
4
4
  import { onClickOutside as I } from "@vueuse/core";
@@ -14,42 +14,42 @@ const O = {
14
14
  dropdownPosition: {}
15
15
  },
16
16
  emits: ["select", "redirect"],
17
- setup(n, { expose: k, emit: V }) {
18
- const m = V, i = u(!0), c = u(null), o = u(0), C = () => {
19
- m("redirect"), i.value = !1;
17
+ setup(o, { expose: k, emit: V }) {
18
+ const p = V, i = u(!0), c = u(null), n = u(0), C = () => {
19
+ p("redirect"), i.value = !1;
20
20
  }, v = d(
21
- () => n.environment.variables.map((e) => ({
21
+ () => o.environment.variables.map((e) => ({
22
22
  key: e.name,
23
23
  value: typeof e.value == "string" ? e.value : e.value.default
24
24
  }))
25
25
  ), S = new K(v.value, {
26
26
  keys: ["key", "value"]
27
27
  }), a = d(() => {
28
- if (!n.query)
28
+ if (!o.query)
29
29
  return v.value.slice(-4).filter(({ key: t, value: l }) => t !== "" || l !== "");
30
- const e = S.search(n.query, { limit: 10 });
30
+ const e = S.search(o.query, { limit: 10 });
31
31
  return e.length > 0 ? e.map((t) => t.item).filter(({ key: t, value: l }) => t !== "" || l !== "") : [];
32
- }), h = (e) => {
33
- m("select", e);
32
+ }), x = (e) => {
33
+ p("select", e);
34
34
  };
35
35
  k({
36
36
  handleArrowKey: (e) => {
37
37
  const t = e === "up" ? -1 : 1, l = a.value.length;
38
- l !== 0 && (o.value = (o.value + t + l) % l);
38
+ l !== 0 && (n.value = (n.value + t + l) % l);
39
39
  },
40
40
  handleSelect: () => {
41
- if (o.value >= 0) {
42
- const e = a.value[o.value];
43
- e && h(e.key);
41
+ if (n.value >= 0) {
42
+ const e = a.value[n.value];
43
+ e && x(e.key);
44
44
  }
45
45
  }
46
46
  }), N(() => {
47
- o.value = 0;
47
+ n.value = 0;
48
48
  });
49
49
  const z = d(() => ({
50
- left: (n.dropdownPosition?.left ?? 0) + "px",
50
+ left: (o.dropdownPosition?.left ?? 0) + "px",
51
51
  // Add a 5px offset from the editor
52
- top: (n.dropdownPosition?.top ?? 0) + 5 + "px"
52
+ top: (o.dropdownPosition?.top ?? 0) + 5 + "px"
53
53
  }));
54
54
  return I(
55
55
  c,
@@ -57,7 +57,7 @@ const O = {
57
57
  i.value = !1;
58
58
  },
59
59
  { ignore: [c] }
60
- ), (e, t) => i.value ? (r(), x(f(j), {
60
+ ), (e, t) => i.value ? (r(), h(f(j), {
61
61
  key: 0,
62
62
  class: "scalar-client"
63
63
  }, {
@@ -68,31 +68,31 @@ const O = {
68
68
  class: "custom-scroll fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",
69
69
  style: b(z.value)
70
70
  }, [
71
- a.value.length ? (r(), p("ul", O, [
72
- (r(!0), p(_, null, q(a.value, (l, B) => (r(), p("li", {
71
+ a.value.length ? (r(), m("ul", O, [
72
+ (r(!0), m(q, null, A(a.value, (l, B) => (r(), m("li", {
73
73
  key: l.key,
74
- class: A(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150", { "bg-b-2": B === o.value }]),
75
- onClick: (H) => h(l.key)
74
+ class: T(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150", { "bg-b-2": B === n.value }]),
75
+ onClick: (H) => x(l.key)
76
76
  }, [
77
77
  s("div", L, [
78
78
  s("span", {
79
79
  class: "h-2.25 w-2.25 min-w-2.25 rounded-full",
80
80
  style: b({
81
- backgroundColor: e.environment.color
81
+ backgroundColor: o.environment.color
82
82
  })
83
83
  }, null, 4),
84
84
  w(" " + g(l.key), 1)
85
85
  ]),
86
86
  s("span", M, g(l.value), 1)
87
87
  ], 10, R))), 128))
88
- ])) : (r(), x(f(D), {
88
+ ])) : (r(), h(f(D), {
89
89
  key: 1,
90
90
  class: "font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",
91
91
  variant: "outlined",
92
92
  onClick: C
93
93
  }, {
94
94
  default: y(() => [
95
- T(f(F), { class: "size-3" }),
95
+ _(f(F), { class: "size-3" }),
96
96
  t[0] || (t[0] = w(" Add Variable ", -1))
97
97
  ]),
98
98
  _: 1