@scalar/api-client 2.3.5 → 2.3.7

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 (173) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  4. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  5. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  6. package/dist/components/CodeInput/CodeInput.vue2.js +2 -2
  7. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
  8. package/dist/components/CommandPalette/CommandActionInput.vue.js +2 -1
  9. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  10. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  11. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +2 -2
  12. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts.map +1 -1
  13. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +2 -2
  14. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +6 -4
  15. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  16. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +2 -1
  17. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
  18. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +1 -1
  19. package/dist/components/DataTable/DataTableInput.vue.js +1 -1
  20. package/dist/components/DataTable/DataTableInput.vue2.js +5 -7
  21. package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
  22. package/dist/components/ImportCollection/DropEventListener.vue.js +2 -1
  23. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  24. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +2 -1
  25. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  26. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  27. package/dist/components/ImportCollection/IntegrationLogo.vue.js +2 -1
  28. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +1 -1
  29. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  30. package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
  31. package/dist/components/OpenApiClientButton.vue.js +2 -2
  32. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  33. package/dist/components/ScalarAsciiArt.vue.js +3 -3
  34. package/dist/components/SectionFilter.vue.d.ts.map +1 -1
  35. package/dist/components/SectionFilter.vue.js +2 -2
  36. package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
  37. package/dist/components/Server/ServerDropdown.vue.js +2 -1
  38. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  39. package/dist/components/Server/ServerDropdownItem.vue.js +2 -2
  40. package/dist/components/Server/ServerDropdownItem.vue2.js +2 -1
  41. package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
  42. package/dist/components/Server/ServerSelector.vue.js +4 -2
  43. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  44. package/dist/components/TopNav/TopNav.vue.js +4 -3
  45. package/dist/hooks/useFileDialog.d.ts.map +1 -1
  46. package/dist/hooks/useFileDialog.js +2 -1
  47. package/dist/hooks/useLayout.d.ts.map +1 -1
  48. package/dist/hooks/useResponseBody.d.ts.map +1 -1
  49. package/dist/hooks/useSidebar.d.ts.map +1 -1
  50. package/dist/hooks/useSidebar.js +2 -1
  51. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  52. package/dist/layouts/App/create-api-client-app.d.ts +1 -2
  53. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  54. package/dist/layouts/Modal/create-api-client-modal.d.ts +2 -4
  55. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  56. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  57. package/dist/layouts/Web/create-api-client-web.d.ts +1 -2
  58. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  59. package/dist/libs/create-client.d.ts +2 -4
  60. package/dist/libs/create-client.d.ts.map +1 -1
  61. package/dist/libs/create-client.js +110 -112
  62. package/dist/libs/errors.d.ts.map +1 -1
  63. package/dist/libs/find-request.d.ts.map +1 -1
  64. package/dist/libs/find-request.js +4 -2
  65. package/dist/libs/formatters.d.ts.map +1 -1
  66. package/dist/libs/formatters.js +4 -3
  67. package/dist/libs/getOpenApiDocumentDetails.d.ts.map +1 -1
  68. package/dist/libs/hot-keys.d.ts.map +1 -1
  69. package/dist/libs/hot-keys.js +2 -1
  70. package/dist/libs/isUrl.d.ts.map +1 -1
  71. package/dist/libs/local-storage.d.ts.map +1 -1
  72. package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
  73. package/dist/libs/send-request/create-fetch-body.d.ts.map +1 -1
  74. package/dist/libs/send-request/create-fetch-body.js +2 -1
  75. package/dist/libs/send-request/create-fetch-headers.d.ts.map +1 -1
  76. package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
  77. package/dist/libs/send-request/create-request-operation.js +2 -1
  78. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  79. package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
  80. package/dist/libs/send-request/set-request-cookies.js +2 -1
  81. package/dist/libs/string-template.d.ts.map +1 -1
  82. package/dist/libs/validate-parameters.d.ts.map +1 -1
  83. package/dist/store/active-entities.d.ts.map +1 -1
  84. package/dist/store/active-entities.js +13 -8
  85. package/dist/store/collections.d.ts.map +1 -1
  86. package/dist/store/request-example.d.ts.map +1 -1
  87. package/dist/store/requests.d.ts.map +1 -1
  88. package/dist/store/requests.js +4 -2
  89. package/dist/store/router-params.d.ts.map +1 -1
  90. package/dist/store/security-schemes.d.ts.map +1 -1
  91. package/dist/store/servers.d.ts.map +1 -1
  92. package/dist/store/store.d.ts.map +1 -1
  93. package/dist/store/store.js +2 -1
  94. package/dist/store/tags.d.ts.map +1 -1
  95. package/dist/store/tags.js +2 -1
  96. package/dist/style.css +1 -1
  97. package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -1
  98. package/dist/views/Collection/CollectionInfoForm.vue.js +2 -2
  99. package/dist/views/Collection/CollectionInfoForm.vue2.js +1 -1
  100. package/dist/views/Collection/CollectionOverview.vue.d.ts.map +1 -1
  101. package/dist/views/Collection/CollectionOverview.vue2.js +3 -3
  102. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  103. package/dist/views/Collection/CollectionServerForm.vue.js +4 -2
  104. package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
  105. package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
  106. package/dist/views/Collection/CollectionSettings.vue.js +1 -1
  107. package/dist/views/Collection/CollectionSettings.vue2.js +2 -1
  108. package/dist/views/Collection/components/MarkdownInput.vue.js +2 -2
  109. package/dist/views/Collection/components/MarkdownInput.vue2.js +6 -6
  110. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
  111. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts.map +1 -1
  112. package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts.map +1 -1
  113. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  114. package/dist/views/Environment/Environment.vue2.js +2 -1
  115. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  116. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +2 -1
  117. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  118. package/dist/views/Request/RequestRoot.vue.js +1 -1
  119. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  120. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  121. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +2 -1
  122. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  123. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  124. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  125. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +6 -3
  126. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  127. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +3 -3
  128. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +2 -1
  129. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  130. package/dist/views/Request/RequestSection/RequestBody.vue.js +3 -3
  131. package/dist/views/Request/RequestSection/RequestBody.vue2.js +3 -8
  132. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  133. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  134. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  135. package/dist/views/Request/RequestSection/RequestParams.vue.js +9 -7
  136. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  137. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +2 -2
  138. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  139. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  140. package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -1
  141. package/dist/views/Request/RequestSection/helpers/getting-started.js +4 -2
  142. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  143. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  144. package/dist/views/Request/RequestSidebar.vue2.js +6 -3
  145. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  146. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  147. package/dist/views/Request/RequestSidebarItem.vue2.js +38 -36
  148. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  149. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  150. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  151. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  152. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +3 -2
  153. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  154. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +2 -2
  155. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  156. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +9 -9
  157. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  158. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  159. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +2 -1
  160. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  161. package/dist/views/Request/handle-drag.d.ts.map +1 -1
  162. package/dist/views/Request/handle-drag.js +4 -2
  163. package/dist/views/Request/hooks/useOpenApiWatcher.d.ts.map +1 -1
  164. package/dist/views/Request/hooks/useOpenApiWatcher.js +4 -2
  165. package/dist/views/Request/libs/auth.d.ts.map +1 -1
  166. package/dist/views/Request/libs/auth.js +2 -1
  167. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  168. package/dist/views/Request/libs/oauth2.js +11 -8
  169. package/dist/views/Request/libs/request.d.ts.map +1 -1
  170. package/dist/views/Request/libs/request.js +2 -1
  171. package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
  172. package/dist/views/Request/libs/watch-mode.js +50 -25
  173. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 46b40ca: fix: ensure we only send the authorization header when we have a secret
8
+ - Updated dependencies [427c325]
9
+ - Updated dependencies [9a2d008]
10
+ - Updated dependencies [4a42197]
11
+ - Updated dependencies [cbc1d08]
12
+ - @scalar/components@0.13.39
13
+ - @scalar/snippetz@0.2.17
14
+ - @scalar/openapi-parser@0.10.12
15
+ - @scalar/use-codemirror@0.11.84
16
+ - @scalar/import@0.3.4
17
+ - @scalar/oas-utils@0.2.121
18
+
19
+ ## 2.3.6
20
+
21
+ ### Patch Changes
22
+
23
+ - 0f13162: chore: enable more Biome flags, apply linter fixes
24
+ - 49dffff: fix: re-create store every time we update the config
25
+ - Updated dependencies [7a8965c]
26
+ - Updated dependencies [0f13162]
27
+ - Updated dependencies [cc1ec74]
28
+ - Updated dependencies [49dffff]
29
+ - Updated dependencies [2716898]
30
+ - Updated dependencies [0212daa]
31
+ - @scalar/types@0.1.2
32
+ - @scalar/openapi-parser@0.10.11
33
+ - @scalar/components@0.13.38
34
+ - @scalar/oas-utils@0.2.121
35
+ - @scalar/snippetz@0.2.16
36
+ - @scalar/themes@0.9.80
37
+ - @scalar/import@0.3.3
38
+ - @scalar/use-codemirror@0.11.83
39
+ - @scalar/postman-to-openapi@0.1.44
40
+ - @scalar/use-hooks@0.1.34
41
+
3
42
  ## 2.3.5
4
43
 
5
44
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AAgWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AAgbJ,wBAQG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AAqXA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AAqcJ,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a1761ad5"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-37854d17"]]);
5
5
  export {
6
6
  d as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAkgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEzE,OAAO,EAIL,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;;kBAYxC,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;;IA4KtB,0BAA0B;;0BAhIC,MAAM;0BAwBN,MAAM;wBAOR,MAAM;;;;;;;;;;kBApGf,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;;;;;;;cAPT,OAAO;cAjBP,OAAO;iBADJ,OAAO;gBAIR,OAAO;sBAGD,OAAO;kBAMX,OAAO;0BACC,OAAO;mBAKd,OAAO;gBAEV,OAAO;;qBAygBM,GAAG;kBACN,GAAG;;AAliB9B,wBA6lBC;AAeD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AA0gBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEzE,OAAO,EAIL,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;;kBAYxC,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;;IAoLtB,0BAA0B;;0BAxIC,MAAM;0BA0BN,MAAM;wBAOR,MAAM;;;;;;;;;;kBAtGf,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;;;;;;;cAPT,OAAO;cAjBP,OAAO;iBADJ,OAAO;gBAIR,OAAO;sBAGD,OAAO;kBAMX,OAAO;0BACC,OAAO;mBAKd,OAAO;gBAEV,OAAO;;qBAihBM,GAAG;kBACN,GAAG;;AA1iB9B,wBAqmBC;AAeD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-92277922"]]);
5
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a70f9193"]]);
6
6
  export {
7
- a as default
7
+ f as default
8
8
  };
@@ -141,8 +141,8 @@ const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
141
141
  return n(), d(W, null, [
142
142
  e.disabled ? (n(), d("div", {
143
143
  key: 0,
144
- "data-testid": "code-input-disabled",
145
- class: G(["text-c-2 flex cursor-default items-center justify-center", u(w) === "modal" ? "font-code pl-1 pr-2 text-sm" : "px-2"])
144
+ class: G(["text-c-2 flex cursor-default items-center justify-center", u(w) === "modal" ? "font-code pl-1 pr-2 text-sm" : "px-2"]),
145
+ "data-testid": "code-input-disabled"
146
146
  }, [
147
147
  m("span", ie, X(e.modelValue), 1)
148
148
  ], 2)) : o.enum && o.enum.length ? (n(), y(C, {
@@ -1 +1 @@
1
- {"version":3,"file":"CommandActionInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionInput.vue"],"names":[],"mappings":"AAgEA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;;;AAkHF,wBAOG"}
1
+ {"version":3,"file":"CommandActionInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionInput.vue"],"names":[],"mappings":"AAoEA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;;;AAsHF,wBAOG"}
@@ -22,7 +22,8 @@ const E = ["placeholder"], b = /* @__PURE__ */ f({
22
22
  });
23
23
  function d(e) {
24
24
  var u;
25
- if (e.shiftKey || !e.target) return;
25
+ if (e.shiftKey || !e.target)
26
+ return;
26
27
  e.preventDefault();
27
28
  const t = e.target, o = new Event("submit", { cancelable: !0 });
28
29
  (u = t.form) == null || u.dispatchEvent(o);
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteExample.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteExample.vue"],"names":[],"mappings":"AAuJA,KAAK,WAAW,GAAG;IACjB,oCAAoC;IACpC,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAC/B,CAAC;;;;;;;;AA4RF,wBAOG"}
1
+ {"version":3,"file":"CommandPaletteExample.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteExample.vue"],"names":[],"mappings":"AAyJA,KAAK,WAAW,GAAG;IACjB,oCAAoC;IACpC,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAC/B,CAAC;;;;;;;;AA8RF,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImport.vue"],"names":[],"mappings":";;;;;;;AA+vBA,wBAOG"}
1
+ {"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImport.vue"],"names":[],"mappings":";;;;;;;AA+wBA,wBAOG"}
@@ -201,9 +201,9 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
201
201
  !i.value || s(U)(a.value) ? (n(), S(ne, {
202
202
  key: 0,
203
203
  modelValue: a.value,
204
- "onUpdate:modelValue": Y,
205
204
  placeholder: "OpenAPI/Swagger/Postman URL or cURL",
206
- onOnDelete: e[0] || (e[0] = (r) => P("back", r))
205
+ onOnDelete: e[0] || (e[0] = (r) => P("back", r)),
206
+ "onUpdate:modelValue": Y
207
207
  }, null, 8, ["modelValue"])) : (n(), u(g, { key: 1 }, [
208
208
  w("div", me, [
209
209
  e[4] || (e[4] = w("div", { class: "text-c-2 min-h-8 py-2 pl-8 text-xs" }, "Preview", -1)),
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteImportCurl.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImportCurl.vue"],"names":[],"mappings":"AAiMA,OAAO,KAAK,EAEV,cAAc,EACf,MAAM,iCAAiC,CAAA;AAaxC,KAAK,sBAAsB,GAAG,cAAc,GAAG;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE;QACR,UAAU,EAAE,sBAAsB,CAAA;QAClC,aAAa,EAAE,MAAM,CAAA;KACtB,CAAA;CACF,CAAC;;;;;;;;AAqQF,wBAOG"}
1
+ {"version":3,"file":"CommandPaletteImportCurl.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImportCurl.vue"],"names":[],"mappings":"AAqMA,OAAO,KAAK,EAEV,cAAc,EACf,MAAM,iCAAiC,CAAA;AAaxC,KAAK,sBAAsB,GAAG,cAAc,GAAG;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE;QACR,UAAU,EAAE,sBAAsB,CAAA;QAClC,aAAa,EAAE,MAAM,CAAA;KACtB,CAAA;CACF,CAAC;;;;;;;;AAyQF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./CommandPaletteImportCurl.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fd598a6f"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-19cf46d6"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -34,11 +34,13 @@ const ae = { class: "flex h-9 flex-row items-center gap-2 rounded border p-[3px]
34
34
  );
35
35
  function z({ collectionUid: t }) {
36
36
  var i, u, b, w, k, S, q, R, U, g;
37
- if (!a.metaData.parsedCurl) return;
37
+ if (!a.metaData.parsedCurl)
38
+ return;
38
39
  const e = h.value.find(
39
40
  (m) => m.uid === t
40
41
  );
41
- if (!e) return;
42
+ if (!e)
43
+ return;
42
44
  const l = ((i = e == null ? void 0 : e.info) == null ? void 0 : i.title) === "Drafts";
43
45
  if (!l && a.metaData.parsedCurl.servers) {
44
46
  const m = Object.values(P).find(
@@ -81,8 +83,8 @@ const ae = { class: "flex h-9 flex-row items-center gap-2 rounded border p-[3px]
81
83
  return (t, e) => (G(), H(T, null, [
82
84
  e[1] || (e[1] = r("div", { class: "text-c-2 flex-center py-1.5 text-sm" }, "Import cURL", -1)),
83
85
  n(Z, {
84
- onSubmit: x,
85
- class: "mt-1.5 min-h-fit"
86
+ class: "mt-1.5 min-h-fit",
87
+ onSubmit: x
86
88
  }, {
87
89
  options: d(() => [
88
90
  r("div", se, [
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteTag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteTag.vue"],"names":[],"mappings":";;;;;;;AAwRA,wBAOG"}
1
+ {"version":3,"file":"CommandPaletteTag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteTag.vue"],"names":[],"mappings":";;;;;;;AAgSA,wBAOG"}
@@ -29,7 +29,8 @@ const O = /* @__PURE__ */ g({
29
29
  v("Please enter a name before creating a tag.", "error");
30
30
  return;
31
31
  }
32
- if (!a.value || !t.value) return;
32
+ if (!a.value || !t.value)
33
+ return;
33
34
  f.add(
34
35
  {
35
36
  name: a.value
@@ -2,8 +2,8 @@ import o from "./TheCommandPalette.vue2.js";
2
2
  import { PaletteComponents as s } from "./TheCommandPalette.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8181b4c6"]]);
5
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0a0ca919"]]);
6
6
  export {
7
7
  s as PaletteComponents,
8
- a as default
8
+ r as default
9
9
  };
@@ -233,12 +233,12 @@ const _e = {
233
233
  id: "commandmenu",
234
234
  ref_key: "commandInputRef",
235
235
  ref: _,
236
- value: l.value,
237
236
  autocomplete: "off",
238
237
  autofocus: "",
239
238
  class: "w-full rounded border-none bg-none py-1.5 text-sm focus:outline-none",
240
239
  placeholder: "Search commands...",
241
240
  type: "text",
241
+ value: l.value,
242
242
  onInput: e[0] || (e[0] = (t) => G(t.target.value)),
243
243
  onKeydown: [
244
244
  e[1] || (e[1] = P(I((t) => $("down", t), ["stop"]), ["down"])),
@@ -1,7 +1,7 @@
1
1
  import t from "./DataTableInput.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4d5c007e"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-18261e72"]]);
5
5
  export {
6
6
  e as default
7
7
  };
@@ -68,16 +68,15 @@ const S = ["for"], T = { class: "row-1 overflow-x-auto" }, N = ["readOnly", "typ
68
68
  "update:modelValue",
69
69
  a.target.value ?? ""
70
70
  ))
71
- }), null, 16, N)) : (n(), s(q, v({
72
- key: 1,
73
- ref_key: "codeInput",
74
- ref: m
75
- }, e.$attrs, {
71
+ }), null, 16, N)) : (n(), s(q, v({ key: 1 }, e.$attrs, {
76
72
  id: e.id,
73
+ ref_key: "codeInput",
74
+ ref: m,
77
75
  class: ["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1", [
78
76
  e.type === "password" && e.description && "pr-12",
79
77
  e.description && "pr-8"
80
78
  ]],
79
+ description: e.description,
81
80
  disableCloseBrackets: "",
82
81
  disableTabIndent: "",
83
82
  envVariables: e.envVariables,
@@ -90,11 +89,10 @@ const S = ["for"], T = { class: "row-1 overflow-x-auto" }, N = ["readOnly", "typ
90
89
  spellcheck: "false",
91
90
  type: f.value,
92
91
  workspace: e.workspace,
93
- description: e.description,
94
92
  onBlur: w,
95
93
  onFocus: l[2] || (l[2] = (a) => r("inputFocus")),
96
94
  "onUpdate:modelValue": l[3] || (l[3] = (a) => r("update:modelValue", a))
97
- }), null, 16, ["id", "class", "envVariables", "environment", "max", "min", "modelValue", "readOnly", "required", "type", "workspace", "description"]))
95
+ }), null, 16, ["id", "class", "description", "envVariables", "environment", "max", "min", "modelValue", "readOnly", "required", "type", "workspace"]))
98
96
  ], 64))
99
97
  ]),
100
98
  e.$slots.warning ? (n(), u("div", P, [
@@ -1 +1 @@
1
- {"version":3,"file":"DropEventListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/DropEventListener.vue"],"names":[],"mappings":";;;;;AAwVA,wBAOG"}
1
+ {"version":3,"file":"DropEventListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/DropEventListener.vue"],"names":[],"mappings":";;;;;AA4VA,wBAOG"}
@@ -25,7 +25,8 @@ const B = {
25
25
  c("input", n, null, "drop");
26
26
  else if (e.dataTransfer.files.length > 0) {
27
27
  const o = e.dataTransfer.files[0];
28
- if (!o) return;
28
+ if (!o)
29
+ return;
29
30
  const s = new FileReader();
30
31
  s.onload = async (r) => {
31
32
  r.target && typeof r.target.result == "string" && c("input", r.target.result, null, "drop");
@@ -1 +1 @@
1
- {"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":"AA+aA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,IAAI,CAAA;CAC7C,CAAC;;;;;;AA6dF,wBAQG"}
1
+ {"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":"AAibA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,IAAI,CAAA;CAC7C,CAAC;;;;;;AA+dF,wBAQG"}
@@ -55,7 +55,8 @@ const he = ["innerHTML"], xe = { class: "relative flex h-screen flex-col justify
55
55
  ), { darkLightMode: O } = ie(), { currentRoute: $ } = le(), x = a(() => {
56
56
  try {
57
57
  const o = $.value.query, t = O.value === "dark" ? o.dark_logo : o.light_logo;
58
- if (t) return decodeURIComponent(t);
58
+ if (t)
59
+ return decodeURIComponent(t);
59
60
  } catch {
60
61
  }
61
62
  return null;
@@ -1 +1 @@
1
- {"version":3,"file":"ImportNowButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportNowButton.vue"],"names":[],"mappings":"AAoHA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;AA+KF,wBAOG"}
1
+ {"version":3,"file":"ImportNowButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportNowButton.vue"],"names":[],"mappings":"AAsHA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;AAiLF,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"IntegrationLogo.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/IntegrationLogo.vue"],"names":[],"mappings":"AA6DA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAC;;AAuGF,wBAOG"}
1
+ {"version":3,"file":"IntegrationLogo.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/IntegrationLogo.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAC;;AAyGF,wBAOG"}
@@ -27,7 +27,8 @@ const I = /* @__PURE__ */ i({
27
27
  ], s = l(() => {
28
28
  var e;
29
29
  const o = "Openapi", t = (e = a.integration) == null ? void 0 : e.toLocaleLowerCase();
30
- if (!t) return o;
30
+ if (!t)
31
+ return o;
31
32
  const c = t.charAt(0).toUpperCase() + t.slice(1);
32
33
  return r.includes(t) ? c : o;
33
34
  });
@@ -1 +1 @@
1
- {"version":3,"file":"OpenAppButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/OpenAppButton.vue"],"names":[],"mappings":"AA2FA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB,CAAC;;AA8JF,wBAMG"}
1
+ {"version":3,"file":"OpenAppButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/OpenAppButton.vue"],"names":[],"mappings":"AAiGA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB,CAAC;;AAoKF,wBAMG"}
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/WorkspaceSelector.vue"],"names":[],"mappings":";AA+bA,wBAKG"}
1
+ {"version":3,"file":"WorkspaceSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/WorkspaceSelector.vue"],"names":[],"mappings":";AAmcA,wBAKG"}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenApiClientButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/OpenApiClientButton.vue"],"names":[],"mappings":"AAwHA,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,SAAS,GAAG,OAAO,CAAA;IACjC,MAAM,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACpC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;;AA4HF,wBAMG"}
1
+ {"version":3,"file":"OpenApiClientButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/OpenApiClientButton.vue"],"names":[],"mappings":"AA0HA,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,SAAS,GAAG,OAAO,CAAA;IACjC,MAAM,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACpC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;;AA8HF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./OpenApiClientButton.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ o(t, [["__scopeId", "data-v-01d14731"]]);
4
+ const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-e913a538"]]);
5
5
  export {
6
- i as default
6
+ a as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarAsciiArt.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarAsciiArt.vue"],"names":[],"mappings":"AAgEA,KAAK,WAAW,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;;AA0FtD,wBAOG"}
1
+ {"version":3,"file":"ScalarAsciiArt.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarAsciiArt.vue"],"names":[],"mappings":"AAkEA,KAAK,WAAW,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;;AA0FtD,wBAOG"}
@@ -1,7 +1,7 @@
1
- import a from "./ScalarAsciiArt.vue2.js";
1
+ import o from "./ScalarAsciiArt.vue2.js";
2
2
  /* empty css */
3
- import o from "../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ o(a, [["__scopeId", "data-v-ea0a9794"]]);
3
+ import r from "../_virtual/_plugin-vue_export-helper.js";
4
+ const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-3d9351de"]]);
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SectionFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/SectionFilter.vue"],"names":[],"mappings":"yBAiKiB,CAAC,SAAS,MAAM,eACnB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAiNxD,mBAAmB,CAAC;;;qBAtKjB,CAAC;;kBAvCF,CAAC,EAAE;oBACD,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC;MA4MwF,CAAC,4BAA2B;oBAChI,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;;YAK+B,OAAO,CAAC,OAAO,WAAW,CAAC;;AA3NvE,wBA2N4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"SectionFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/SectionFilter.vue"],"names":[],"mappings":"yBAmKiB,CAAC,SAAS,MAAM,eACnB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAmNxD,mBAAmB,CAAC;;;qBAtKjB,CAAC;;kBAzCF,CAAC,EAAE;oBACD,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC;MA8MwF,CAAC,4BAA2B;oBAChI,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;;YAK+B,OAAO,CAAC,OAAO,WAAW,CAAC;;AA7NvE,wBA6N4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SectionFilter.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-66325e68"]]);
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a82399a9"]]);
5
5
  export {
6
- m as default
6
+ i as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ServerDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdown.vue"],"names":[],"mappings":"AA+KA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAUxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;AA2RF,wBAOG"}
1
+ {"version":3,"file":"ServerDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdown.vue"],"names":[],"mappings":"AAkLA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAUxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;AA8RF,wBAOG"}
@@ -59,7 +59,8 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
59
59
  var e, r, t;
60
60
  return (r = (e = l.server) == null ? void 0 : e.url) != null && r.endsWith("/") ? l.server.url.slice(0, -1) : ((t = l.server) == null ? void 0 : t.url) || "";
61
61
  }), b = (e, r) => {
62
- if (!l.server) return;
62
+ if (!l.server)
63
+ return;
63
64
  const t = l.server.variables || {};
64
65
  t[e] = { ...t[e], default: r }, C.edit(l.server.uid, "variables", t);
65
66
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ServerDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdownItem.vue"],"names":[],"mappings":"AAmJA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAQxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,GAAG,SAAS,CAAA;IAChC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,YAAY,EAAE;QACZ,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;IACD,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;CAC/B,CAAC;;;;;;AAwNF,wBAQG"}
1
+ {"version":3,"file":"ServerDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdownItem.vue"],"names":[],"mappings":"AAuJA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAQxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,GAAG,SAAS,CAAA;IAChC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,YAAY,EAAE;QACZ,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;IACD,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;CAC/B,CAAC;;;;;;AA4NF,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ServerDropdownItem.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-2ef48662"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-1f931f5c"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -29,7 +29,8 @@ const P = ["aria-expanded"], j = { class: "overflow-hidden text-ellipsis whitesp
29
29
  t
30
30
  )) : e.type === "request" && e.operation && l.edit(e.operation.uid, "selectedServerUid", t);
31
31
  }, o = y(() => e.type === "collection" ? e.collection.selectedServerUid === e.serverOption.id : e.type === "request" && e.operation ? e.operation.selectedServerUid === e.serverOption.id : !1), b = (t) => {
32
- if (!t) return !1;
32
+ if (!t)
33
+ return !1;
33
34
  const r = _[t];
34
35
  return Object.keys((r == null ? void 0 : r.variables) ?? {}).length > 0;
35
36
  }, d = y(
@@ -1 +1 @@
1
- {"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerSelector.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAYzE,KAAK,WAAW,GAAG;IACjB,qBAAqB;IACrB,UAAU,EAAE,UAAU,CAAA;IACtB,0BAA0B;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;;;;;AAiLF,wBAOG"}
1
+ {"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerSelector.vue"],"names":[],"mappings":"AA+GA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAYzE,KAAK,WAAW,GAAG;IACjB,qBAAqB;IACrB,UAAU,EAAE,UAAU,CAAA;IACtB,0BAA0B;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;;;;;AAqLF,wBAOG"}
@@ -28,7 +28,8 @@ const W = {
28
28
  get: () => l.server ? o.value.find((t) => t.id === l.server.uid) : void 0,
29
29
  set: (t) => {
30
30
  var r;
31
- if (!t) return;
31
+ if (!t)
32
+ return;
32
33
  c.edit(
33
34
  l.collection.uid,
34
35
  "selectedServerUid",
@@ -42,7 +43,8 @@ const W = {
42
43
  () => l.collection,
43
44
  (t) => {
44
45
  var r, v;
45
- if (!t || t.selectedServerUid) return;
46
+ if (!t || t.selectedServerUid)
47
+ return;
46
48
  const e = (r = l.collection.servers) == null ? void 0 : r[0];
47
49
  e && (c.edit(l.collection.uid, "selectedServerUid", e), (v = s[e]) != null && v.url && i("updateServer", s[e].url));
48
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":"AAqTA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CACjD,CAAC;;AA+eF,wBAOG"}
1
+ {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":"AAiUA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CACjD,CAAC;;AA2fF,wBAOG"}
@@ -95,7 +95,8 @@ const ie = { class: "mac:pl-[72px] t-app__top-nav relative flex h-10 pl-2" }, se
95
95
  }
96
96
  const R = (e) => {
97
97
  var l;
98
- if (!((l = t[e]) != null && l.path)) return;
98
+ if (!((l = t[e]) != null && l.path))
99
+ return;
99
100
  const o = new URL(window.location.href);
100
101
  o.pathname = t[e].path, z(o.toString());
101
102
  }, B = (e) => {
@@ -196,14 +197,14 @@ const ie = { class: "mac:pl-[72px] t-app__top-nav relative flex h-10 pl-2" }, se
196
197
  active: n === y.value,
197
198
  hotkey: (n + 1).toString(),
198
199
  icon: l.isCollection ? ((u = i(v)) == null ? void 0 : u["x-scalar-icon"]) || "Collection" : l.icon,
199
- label: l.label,
200
200
  isCollection: l.isCollection || !1,
201
+ label: l.label,
201
202
  onClick: (s) => f(n),
202
203
  onClose: (s) => w(n),
203
204
  onCloseOtherTabs: (s) => B(n),
204
205
  onCopyUrl: (s) => R(n),
205
206
  onNewTab: d
206
- }, null, 8, ["active", "hotkey", "icon", "label", "isCollection", "onClick", "onClose", "onCloseOtherTabs", "onCopyUrl"]);
207
+ }, null, 8, ["active", "hotkey", "icon", "isCollection", "label", "onClick", "onClose", "onCloseOtherTabs", "onCopyUrl"]);
207
208
  }), 128)),
208
209
  h("button", {
209
210
  class: "text-c-3 hover:bg-b-3 app-no-drag-region rounded p-1.5",
@@ -1 +1 @@
1
- {"version":3,"file":"useFileDialog.d.ts","sourceRoot":"","sources":["../../src/hooks/useFileDialog.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mBAAmB;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACrC,CAAA;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAE,oBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B/F"}
1
+ {"version":3,"file":"useFileDialog.d.ts","sourceRoot":"","sources":["../../src/hooks/useFileDialog.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mBAAmB;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACrC,CAAA;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAE,oBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgC/F"}
@@ -7,7 +7,8 @@ function n({ multiple: u, accept: c, onChange: l, onError: t } = {}) {
7
7
  i.value = s.files, l == null || l(i.value);
8
8
  }, e.onerror = () => t == null ? void 0 : t(), e.multiple = u, e.accept = c);
9
9
  const f = () => {
10
- if (!e) return t == null ? void 0 : t();
10
+ if (!e)
11
+ return t == null ? void 0 : t();
11
12
  e.click();
12
13
  };
13
14
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"useLayout.d.ts","sourceRoot":"","sources":["../../src/hooks/useLayout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAU,MAAM,KAAK,CAAA;AAE/C;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,CAAA;AACtD,eAAO,MAAM,aAAa,EAAe,YAAY,CAAC,YAAY,CAAC,CAAA;AAEnE;;;;GAIG;AACH,eAAO,MAAM,SAAS;;CAEpB,CAAA"}
1
+ {"version":3,"file":"useLayout.d.ts","sourceRoot":"","sources":["../../src/hooks/useLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAU,MAAM,KAAK,CAAA;AAE/C;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,CAAA;AACtD,eAAO,MAAM,aAAa,EAAe,YAAY,CAAC,YAAY,CAAC,CAAA;AAEnE;;;;GAIG;AACH,eAAO,MAAM,SAAS;;CAEpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useResponseBody.d.ts","sourceRoot":"","sources":["../../src/hooks/useResponseBody.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,iBAAiB,CAAA;AAEtC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAC9D;;;;EA2BA"}
1
+ {"version":3,"file":"useResponseBody.d.ts","sourceRoot":"","sources":["../../src/hooks/useResponseBody.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,iBAAiB,CAAA;AAEtC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAC9D;;;;EA+BA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSidebar.d.ts","sourceRoot":"","sources":["../../src/hooks/useSidebar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,KAAK,YAAY,EAAmC,MAAM,KAAK,CAAA;AAExE,KAAK,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEtD,wFAAwF;AACxF,eAAO,MAAM,kBAAkB,eAAgB;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE;;;CAQtE,CAAA;AACD,eAAO,MAAM,cAAc,EAAe,YAAY,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAA;AAE7F,2CAA2C;AAC3C,eAAO,MAAM,UAAU;IAmBnB,YAAY;;;;;IAIZ,cAAc;qCAhBwB,MAAM,SAAS,OAAO;+BAG5B,MAAM;4BAGT,OAAO;;CAgBvC,CAAA"}
1
+ {"version":3,"file":"useSidebar.d.ts","sourceRoot":"","sources":["../../src/hooks/useSidebar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,KAAK,YAAY,EAAmC,MAAM,KAAK,CAAA;AAExE,KAAK,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEtD,wFAAwF;AACxF,eAAO,MAAM,kBAAkB,eAAgB;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE;;;CAQtE,CAAA;AACD,eAAO,MAAM,cAAc,EAAe,YAAY,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAA;AAE7F,2CAA2C;AAC3C,eAAO,MAAM,UAAU;IAqBnB,YAAY;;;;;IAIZ,cAAc;qCAhBwB,MAAM,SAAS,OAAO;+BAG5B,MAAM;4BAGT,OAAO;;CAgBvC,CAAA"}
@@ -7,7 +7,8 @@ const O = ({ layout: t }) => {
7
7
  };
8
8
  }, p = Symbol(), m = () => {
9
9
  const t = S(p);
10
- if (!t) throw new Error("useSidebar must have injected SIDEBAR_SYMBOL");
10
+ if (!t)
11
+ throw new Error("useSidebar must have injected SIDEBAR_SYMBOL");
11
12
  const { collapsedSidebarFolders: e, isSidebarOpen: r } = t, s = (o, l) => e[o] = l, d = (o) => e[o] = !e[o], i = (o) => r.value = o, n = () => r.value = !r.value;
12
13
  return {
13
14
  /** State */
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClientApp.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/ApiClientApp.vue"],"names":[],"mappings":";;cAgK8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAwLjD,wBAOG"}
1
+ {"version":3,"file":"ApiClientApp.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/ApiClientApp.vue"],"names":[],"mappings":";;cAkK8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AA0LjD,wBAOG"}
@@ -4,8 +4,7 @@ import type { ApiClientConfiguration } from '@scalar/types/api-reference';
4
4
  */
5
5
  export declare const createApiClientApp: (el: HTMLElement | null, configuration?: Partial<ApiClientConfiguration>, mountOnInitialize?: boolean, router?: import("vue-router").Router) => Promise<{
6
6
  app: import("vue").App<Element>;
7
- updateSpec: (spec: import("@scalar/types/api-reference").SpecConfiguration) => Promise<void>;
8
- updateConfig(_newConfig: Partial<ApiClientConfiguration>, mergeConfigs?: boolean): void;
7
+ updateConfig: (_newConfig: Partial<ApiClientConfiguration>) => Promise<void>;
9
8
  updateServer: (serverUrl: string) => void;
10
9
  onUpdateServer: (callback: (url: string) => void) => void;
11
10
  updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/oas-utils/entities/spec").SecurityScheme>>({ nameKey, propertyKey, value, }: {