@scalar/api-client 2.38.0 → 2.38.2

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 (1169) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/AddressBar-B4xnl66I.js +302 -0
  3. package/dist/AddressBar-B4xnl66I.js.map +1 -0
  4. package/dist/App-BVH4lIe8.js +533 -0
  5. package/dist/App-BVH4lIe8.js.map +1 -0
  6. package/dist/App-CvClwSlM.js +2510 -0
  7. package/dist/App-CvClwSlM.js.map +1 -0
  8. package/dist/CodeInput-C-igR77V.js +694 -0
  9. package/dist/CodeInput-C-igR77V.js.map +1 -0
  10. package/dist/CodeSnippet-D7Heh1nd.js +218 -0
  11. package/dist/CodeSnippet-D7Heh1nd.js.map +1 -0
  12. package/dist/Collection-4MT9WmDD.js +219 -0
  13. package/dist/Collection-4MT9WmDD.js.map +1 -0
  14. package/dist/CollectionAuthentication-MHWQpw74.js +56 -0
  15. package/dist/CollectionAuthentication-MHWQpw74.js.map +1 -0
  16. package/dist/CollectionCookies-DyjPPMdt.js +19 -0
  17. package/dist/CollectionCookies-DyjPPMdt.js.map +1 -0
  18. package/dist/CollectionEnvironment-Dw35vIqo.js +514 -0
  19. package/dist/CollectionEnvironment-Dw35vIqo.js.map +1 -0
  20. package/dist/CollectionOverview-TUdDIu5f.js +131 -0
  21. package/dist/CollectionOverview-TUdDIu5f.js.map +1 -0
  22. package/dist/CollectionScripts-CMNlBlby.js +19 -0
  23. package/dist/CollectionScripts-CMNlBlby.js.map +1 -0
  24. package/dist/CollectionServers-BrjTCfDe.js +168 -0
  25. package/dist/CollectionServers-BrjTCfDe.js.map +1 -0
  26. package/dist/CollectionSettings-HVSlp2Gv.js +87 -0
  27. package/dist/CollectionSettings-HVSlp2Gv.js.map +1 -0
  28. package/dist/CollectionSync-CAflc5yW.js +19 -0
  29. package/dist/CollectionSync-CAflc5yW.js.map +1 -0
  30. package/dist/CommandActionInput-TkcAx6E8.js +97 -0
  31. package/dist/CommandActionInput-TkcAx6E8.js.map +1 -0
  32. package/dist/CommandPalette-CL8k4CoN.js +964 -0
  33. package/dist/CommandPalette-CL8k4CoN.js.map +1 -0
  34. package/dist/CommandPaletteImport-Diu5dDIY.js +622 -0
  35. package/dist/CommandPaletteImport-Diu5dDIY.js.map +1 -0
  36. package/dist/Cookies-DbOKTi1f.js +284 -0
  37. package/dist/Cookies-DbOKTi1f.js.map +1 -0
  38. package/dist/DataTable-BqbZKW3K.js +62 -0
  39. package/dist/DataTable-BqbZKW3K.js.map +1 -0
  40. package/dist/DataTableHeader-DJVB0jCZ.js +21 -0
  41. package/dist/DataTableHeader-DJVB0jCZ.js.map +1 -0
  42. package/dist/DataTableInput-yaU5g-kP.js +166 -0
  43. package/dist/DataTableInput-yaU5g-kP.js.map +1 -0
  44. package/dist/DataTableRow-c3XveEUO.js +57 -0
  45. package/dist/DataTableRow-c3XveEUO.js.map +1 -0
  46. package/dist/DeleteSidebarListElement-C-p87d03.js +78 -0
  47. package/dist/DeleteSidebarListElement-C-p87d03.js.map +1 -0
  48. package/dist/EditSidebarListElement-CodWPnM6.js +32 -0
  49. package/dist/EditSidebarListElement-CodWPnM6.js.map +1 -0
  50. package/dist/Editor-BomsGWHx.js +909 -0
  51. package/dist/Editor-BomsGWHx.js.map +1 -0
  52. package/dist/EmptyState-Cnm7hGW5.js +46 -0
  53. package/dist/EmptyState-Cnm7hGW5.js.map +1 -0
  54. package/dist/Environment-DJatRQIg.js +416 -0
  55. package/dist/Environment-DJatRQIg.js.map +1 -0
  56. package/dist/EnvironmentModal-DBEJ4Kzj.js +288 -0
  57. package/dist/EnvironmentModal-DBEJ4Kzj.js.map +1 -0
  58. package/dist/Form-CSKzyHGO.js +83 -0
  59. package/dist/Form-CSKzyHGO.js.map +1 -0
  60. package/dist/HttpMethod-rnWEgC3T.js +78 -0
  61. package/dist/HttpMethod-rnWEgC3T.js.map +1 -0
  62. package/dist/IconSelector-BDC_GQXv.js +67 -0
  63. package/dist/IconSelector-BDC_GQXv.js.map +1 -0
  64. package/dist/ImportCollection-DfX1UQ5u.js +804 -0
  65. package/dist/ImportCollection-DfX1UQ5u.js.map +1 -0
  66. package/dist/IntegrationLogo-B9EDW8db.js +51 -0
  67. package/dist/IntegrationLogo-B9EDW8db.js.map +1 -0
  68. package/dist/MainLayout-BEFMl1ud.js +281 -0
  69. package/dist/MainLayout-BEFMl1ud.js.map +1 -0
  70. package/dist/Modal-sQ9vH6MN.js +67 -0
  71. package/dist/Modal-sQ9vH6MN.js.map +1 -0
  72. package/dist/ModalClientContainer-qHsZi4wQ.js +65 -0
  73. package/dist/ModalClientContainer-qHsZi4wQ.js.map +1 -0
  74. package/dist/Request-gscRsGQ8.js +212 -0
  75. package/dist/Request-gscRsGQ8.js.map +1 -0
  76. package/dist/RequestAuth-BzBfIysT.js +989 -0
  77. package/dist/RequestAuth-BzBfIysT.js.map +1 -0
  78. package/dist/RequestRoot-3Bj8JZD-.js +1611 -0
  79. package/dist/RequestRoot-3Bj8JZD-.js.map +1 -0
  80. package/dist/RequestSection-HhdJj9hW.js +1582 -0
  81. package/dist/RequestSection-HhdJj9hW.js.map +1 -0
  82. package/dist/ResponseSection-DMJ0tw8E.js +949 -0
  83. package/dist/ResponseSection-DMJ0tw8E.js.map +1 -0
  84. package/dist/ScalarAsciiArt-BjuSnj8e.js +45 -0
  85. package/dist/ScalarAsciiArt-BjuSnj8e.js.map +1 -0
  86. package/dist/SectionFilter-hrtoRLwj.js +99 -0
  87. package/dist/SectionFilter-hrtoRLwj.js.map +1 -0
  88. package/dist/Server-DnA_BzPS.js +303 -0
  89. package/dist/Server-DnA_BzPS.js.map +1 -0
  90. package/dist/ServerVariablesForm-BRZ9XC8o.js +145 -0
  91. package/dist/ServerVariablesForm-BRZ9XC8o.js.map +1 -0
  92. package/dist/Settings-CYZzdJPO.js +347 -0
  93. package/dist/Settings-CYZzdJPO.js.map +1 -0
  94. package/dist/Sidebar-C6AdX6-N.js +73 -0
  95. package/dist/Sidebar-C6AdX6-N.js.map +1 -0
  96. package/dist/SidebarButton-BAagdMDe.js +37 -0
  97. package/dist/SidebarButton-BAagdMDe.js.map +1 -0
  98. package/dist/SidebarListElement-BfTPiihc.js +232 -0
  99. package/dist/SidebarListElement-BfTPiihc.js.map +1 -0
  100. package/dist/TheCommandPalette-Dl9TAeke.js +204 -0
  101. package/dist/TheCommandPalette-Dl9TAeke.js.map +1 -0
  102. package/dist/ValueEmitter-QYkZ9Hdc.js +20 -0
  103. package/dist/ValueEmitter-QYkZ9Hdc.js.map +1 -0
  104. package/dist/ViewLayout-BOXN0IYo.js +17 -0
  105. package/dist/ViewLayout-BOXN0IYo.js.map +1 -0
  106. package/dist/ViewLayoutCollapse-CiTb-Uml.js +86 -0
  107. package/dist/ViewLayoutCollapse-CiTb-Uml.js.map +1 -0
  108. package/dist/ViewLayoutContent-CvMoJYPF.js +13 -0
  109. package/dist/ViewLayoutContent-CvMoJYPF.js.map +1 -0
  110. package/dist/ViewLayoutSection-mUqKbQry.js +23 -0
  111. package/dist/ViewLayoutSection-mUqKbQry.js.map +1 -0
  112. package/dist/WatchModeToggle-D_eAiTWJ.js +41 -0
  113. package/dist/WatchModeToggle-D_eAiTWJ.js.map +1 -0
  114. package/dist/_plugin-vue_export-helper-BmmBcIzD.js +8 -0
  115. package/dist/analytics-BZimCWcw.js +7 -0
  116. package/dist/analytics-BZimCWcw.js.map +1 -0
  117. package/dist/build-request-security-BQjNr2MD.js +41 -0
  118. package/dist/build-request-security-BQjNr2MD.js.map +1 -0
  119. package/dist/code-input-iq-moLxi.js +775 -0
  120. package/dist/code-input-iq-moLxi.js.map +1 -0
  121. package/dist/components/AddressBar/AddressBar.vue.d.ts +1 -1
  122. package/dist/components/AddressBar/index.d.ts +1 -1
  123. package/dist/components/AddressBar/index.js +5 -4
  124. package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
  125. package/dist/components/CodeInput/codeVariableWidget.d.ts +1 -1
  126. package/dist/components/CodeInput/index.d.ts +1 -1
  127. package/dist/components/CodeInput/index.js +2 -4
  128. package/dist/components/CommandPalette/index.d.ts +1 -1
  129. package/dist/components/CommandPalette/index.js +3 -4
  130. package/dist/components/DataTable/DataTableInput.vue.d.ts +2 -2
  131. package/dist/components/DataTable/index.d.ts +8 -8
  132. package/dist/components/DataTable/index.js +6 -18
  133. package/dist/components/Form/LabelInput.vue.d.ts +1 -1
  134. package/dist/components/HttpMethod/index.d.ts +1 -1
  135. package/dist/components/HttpMethod/index.js +2 -4
  136. package/dist/components/ImportCollection/index.d.ts +1 -1
  137. package/dist/components/ImportCollection/index.js +2 -4
  138. package/dist/components/ImportCollection/utils/import-collection.d.ts +1 -1
  139. package/dist/components/ImportCollection/utils/workspace-store-is-empty.d.ts +1 -1
  140. package/dist/components/Server/ServerVariablesForm.vue.d.ts +1 -1
  141. package/dist/components/Server/index.d.ts +3 -3
  142. package/dist/components/Server/index.js +3 -8
  143. package/dist/components/Sidebar/index.d.ts +1 -1
  144. package/dist/components/Sidebar/index.js +2 -4
  145. package/dist/components/ViewLayout/index.d.ts +1 -1
  146. package/dist/components/ViewLayout/index.js +2 -4
  147. package/dist/components/index.d.ts +3 -3
  148. package/dist/components/index.js +7 -8
  149. package/dist/components-CSxJTn6F.js +183 -0
  150. package/dist/components-CSxJTn6F.js.map +1 -0
  151. package/dist/components-ChixwQhN.js +61 -0
  152. package/dist/components-ChixwQhN.js.map +1 -0
  153. package/dist/computer-D7VW3Ruy.js +562 -0
  154. package/dist/computer-D7VW3Ruy.js.map +1 -0
  155. package/dist/consts-CyGRb9dl.js +318 -0
  156. package/dist/consts-CyGRb9dl.js.map +1 -0
  157. package/dist/curl-nbw1OxbV.js +54 -0
  158. package/dist/curl-nbw1OxbV.js.map +1 -0
  159. package/dist/data-table-PL7e8NRO.js +282 -0
  160. package/dist/data-table-PL7e8NRO.js.map +1 -0
  161. package/dist/editor-BZ_J0eze.js +466 -0
  162. package/dist/editor-BZ_J0eze.js.map +1 -0
  163. package/dist/environments-ByLK9lnC.js +592 -0
  164. package/dist/environments-ByLK9lnC.js.map +1 -0
  165. package/dist/formatters-DOGXZq9R.js +36 -0
  166. package/dist/formatters-DOGXZq9R.js.map +1 -0
  167. package/dist/forms-CZX6cFDS.js +42 -0
  168. package/dist/forms-CZX6cFDS.js.map +1 -0
  169. package/dist/get-active-environment-CkxyQ1dM.js +19 -0
  170. package/dist/get-active-environment-CkxyQ1dM.js.map +1 -0
  171. package/dist/get-resolved-url-BUCwrBzc.js +30 -0
  172. package/dist/get-resolved-url-BUCwrBzc.js.map +1 -0
  173. package/dist/get-server-url-o3On8CEr.js +32 -0
  174. package/dist/get-server-url-o3On8CEr.js.map +1 -0
  175. package/dist/get-servers-B_WNlQWB.js +106 -0
  176. package/dist/get-servers-B_WNlQWB.js.map +1 -0
  177. package/dist/get-snippet-DBRUSfZ2.js +39 -0
  178. package/dist/get-snippet-DBRUSfZ2.js.map +1 -0
  179. package/dist/global-cookies-D3ZS9ON3.js +184 -0
  180. package/dist/global-cookies-D3ZS9ON3.js.map +1 -0
  181. package/dist/hooks/index.d.ts +4 -4
  182. package/dist/hooks/index.js +3 -11
  183. package/dist/hooks/useSidebar.d.ts +1 -1
  184. package/dist/hooks-BvZxH4XB.js +80 -0
  185. package/dist/hooks-BvZxH4XB.js.map +1 -0
  186. package/dist/index.d.ts +3 -3
  187. package/dist/index.js +8 -12
  188. package/dist/layout-BWiL7dfb.js +81 -0
  189. package/dist/layout-BWiL7dfb.js.map +1 -0
  190. package/dist/layouts/App/create-api-client-app.d.ts +9 -9
  191. package/dist/layouts/App/index.d.ts +2 -2
  192. package/dist/layouts/App/index.js +5 -7
  193. package/dist/layouts/Modal/create-api-client-modal.d.ts +1 -1
  194. package/dist/layouts/Modal/index.d.ts +2 -2
  195. package/dist/layouts/Modal/index.js +3 -4
  196. package/dist/layouts/Web/create-api-client-web.d.ts +9 -9
  197. package/dist/layouts/Web/index.d.ts +2 -2
  198. package/dist/layouts/Web/index.js +101 -6
  199. package/dist/layouts/Web/index.js.map +1 -0
  200. package/dist/libs/create-client.d.ts +9 -9
  201. package/dist/libs/create-client.d.ts.map +1 -1
  202. package/dist/libs/environment-parser.d.ts +1 -1
  203. package/dist/libs/get-request-uid-by-path-method.d.ts +1 -1
  204. package/dist/libs/hot-keys.d.ts +1 -1
  205. package/dist/libs/importers/index.d.ts +1 -1
  206. package/dist/libs/importers/index.js +2 -4
  207. package/dist/libs/index.d.ts +15 -15
  208. package/dist/libs/index.js +6 -45
  209. package/dist/libs/local-storage.d.ts +1 -1
  210. package/dist/libs/send-request/create-request-operation.d.ts +3 -3
  211. package/dist/libs/send-request/index.d.ts +3 -3
  212. package/dist/libs/send-request/index.js +3 -8
  213. package/dist/libs-spbv4P0g.js +249 -0
  214. package/dist/libs-spbv4P0g.js.map +1 -0
  215. package/dist/monacoeditorwork/json.worker.bundle.js +8 -8
  216. package/dist/monacoeditorwork/yaml.worker.bundle.js +151 -151
  217. package/dist/operation-block-BnMIKAOh.js +1624 -0
  218. package/dist/operation-block-BnMIKAOh.js.map +1 -0
  219. package/dist/operation-code-sample-ZUTueV3v.js +1726 -0
  220. package/dist/operation-code-sample-ZUTueV3v.js.map +1 -0
  221. package/dist/parse-curl-BtypQT3D.js +106 -0
  222. package/dist/parse-curl-BtypQT3D.js.map +1 -0
  223. package/dist/plugins/hooks/usePluginManager.d.ts +1 -1
  224. package/dist/plugins/index.d.ts +2 -2
  225. package/dist/plugins/index.js +2 -7
  226. package/dist/plugins/plugin-manager.d.ts +10 -4
  227. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  228. package/dist/plugins-B52hCIyZ.js +50 -0
  229. package/dist/plugins-B52hCIyZ.js.map +1 -0
  230. package/dist/rabbitjump-CMZXAR6d.js +9 -0
  231. package/dist/rabbitjump-CMZXAR6d.js.map +1 -0
  232. package/dist/request-block-DwsGy64Q.js +1466 -0
  233. package/dist/request-block-DwsGy64Q.js.map +1 -0
  234. package/dist/resize-D2IYvVdh.js +114 -0
  235. package/dist/resize-D2IYvVdh.js.map +1 -0
  236. package/dist/response-block-DmkaDZYs.js +1188 -0
  237. package/dist/response-block-DmkaDZYs.js.map +1 -0
  238. package/dist/scalar-address-bar-block--Vs6IBU1.js +425 -0
  239. package/dist/scalar-address-bar-block--Vs6IBU1.js.map +1 -0
  240. package/dist/scalar-auth-selector-block-DI3DLag9.js +1886 -0
  241. package/dist/scalar-auth-selector-block-DI3DLag9.js.map +1 -0
  242. package/dist/search-CmsQQkjn.js +151 -0
  243. package/dist/search-CmsQQkjn.js.map +1 -0
  244. package/dist/send-request-BsTfRiBC.js +348 -0
  245. package/dist/send-request-BsTfRiBC.js.map +1 -0
  246. package/dist/server-tcI-OCyx.js +140 -0
  247. package/dist/server-tcI-OCyx.js.map +1 -0
  248. package/dist/set-request-cookies-BJJhsU4A.js +88 -0
  249. package/dist/set-request-cookies-BJJhsU4A.js.map +1 -0
  250. package/dist/settings-BKk_1lcH.js +455 -0
  251. package/dist/settings-BKk_1lcH.js.map +1 -0
  252. package/dist/sidebar-ceSbYmnt.js +217 -0
  253. package/dist/sidebar-ceSbYmnt.js.map +1 -0
  254. package/dist/store/collections.d.ts +1 -1
  255. package/dist/store/environment.d.ts +1 -1
  256. package/dist/store/events.d.ts +8 -8
  257. package/dist/store/import-spec.d.ts +2 -2
  258. package/dist/store/index.d.ts +2 -2
  259. package/dist/store/index.js +2 -10
  260. package/dist/store/request-example.d.ts +1 -1
  261. package/dist/store/requests.d.ts +1 -1
  262. package/dist/store/security-schemes.d.ts +1 -1
  263. package/dist/store/servers.d.ts +1 -1
  264. package/dist/store/store.d.ts +7 -7
  265. package/dist/store/tags.d.ts +1 -1
  266. package/dist/store/workspace.d.ts +1 -1
  267. package/dist/store-DpSUVhjp.js +1512 -0
  268. package/dist/store-DpSUVhjp.js.map +1 -0
  269. package/dist/string-template-sS5PtY6T.js +64 -0
  270. package/dist/string-template-sS5PtY6T.js.map +1 -0
  271. package/dist/style.css +10372 -1
  272. package/dist/types/index.js +0 -1
  273. package/dist/use-global-hot-keys-D8Ai8Qbm.js +274 -0
  274. package/dist/use-global-hot-keys-D8Ai8Qbm.js.map +1 -0
  275. package/dist/useSidebar-DLTwHDI-.js +45 -0
  276. package/dist/useSidebar-DLTwHDI-.js.map +1 -0
  277. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +3 -3
  278. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -2
  279. package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts +2 -2
  280. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts +2 -2
  281. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
  282. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.d.ts +1 -1
  283. package/dist/v2/blocks/operation-block/helpers/send-request.d.ts +1 -1
  284. package/dist/v2/blocks/operation-block/index.d.ts +4 -4
  285. package/dist/v2/blocks/operation-block/index.js +20 -11
  286. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +2 -2
  287. package/dist/v2/blocks/operation-code-sample/helpers/find-client.d.ts +1 -1
  288. package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.d.ts +1 -1
  289. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts +2 -2
  290. package/dist/v2/blocks/operation-code-sample/helpers/get-clients.d.ts +2 -2
  291. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.d.ts +1 -1
  292. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +1 -1
  293. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts +1 -1
  294. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.d.ts +1 -1
  295. package/dist/v2/blocks/operation-code-sample/index.d.ts +6 -6
  296. package/dist/v2/blocks/operation-code-sample/index.js +2 -16
  297. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +4 -4
  298. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  299. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts +1 -1
  300. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +1 -1
  301. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +1 -1
  302. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +1 -1
  303. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts +3 -2
  304. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +1 -1
  305. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts +1 -1
  306. package/dist/v2/blocks/request-block/index.d.ts +1 -1
  307. package/dist/v2/blocks/request-block/index.js +9 -4
  308. package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts +1 -1
  309. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +1 -1
  310. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +1 -1
  311. package/dist/v2/blocks/response-block/index.d.ts +1 -1
  312. package/dist/v2/blocks/response-block/index.js +6 -4
  313. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -2
  314. package/dist/v2/blocks/scalar-address-bar-block/index.d.ts +2 -2
  315. package/dist/v2/blocks/scalar-address-bar-block/index.js +5 -4
  316. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +5 -3
  317. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  318. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +1 -1
  319. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +2 -2
  320. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +1 -1
  321. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +1 -1
  322. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts +1 -1
  323. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +2 -2
  324. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts +1 -1
  325. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +4 -4
  326. package/dist/v2/blocks/scalar-auth-selector-block/index.js +6 -8
  327. package/dist/v2/components/code-input/CodeInput.vue.d.ts +1 -1
  328. package/dist/v2/components/code-input/index.d.ts +1 -1
  329. package/dist/v2/components/code-input/index.js +2 -4
  330. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +1 -1
  331. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +1 -1
  332. package/dist/v2/components/data-table/index.d.ts +8 -8
  333. package/dist/v2/components/data-table/index.js +3 -18
  334. package/dist/v2/components/forms/index.d.ts +1 -1
  335. package/dist/v2/components/forms/index.js +2 -4
  336. package/dist/v2/components/layout/index.d.ts +1 -1
  337. package/dist/v2/components/layout/index.js +2 -4
  338. package/dist/v2/components/modals/index.d.ts +1 -1
  339. package/dist/v2/components/modals/index.js +37 -3
  340. package/dist/v2/components/modals/index.js.map +1 -0
  341. package/dist/v2/components/resize/index.d.ts +2 -2
  342. package/dist/v2/components/resize/index.js +2 -6
  343. package/dist/v2/components/server/ServerDropdown.vue.d.ts +1 -1
  344. package/dist/v2/components/server/index.d.ts +1 -1
  345. package/dist/v2/components/server/index.js +2 -4
  346. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +1 -1
  347. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
  348. package/dist/v2/components/sidebar/index.d.ts +3 -3
  349. package/dist/v2/components/sidebar/index.js +3 -8
  350. package/dist/v2/features/app/App.vue.d.ts +4 -4
  351. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +1 -1
  352. package/dist/v2/features/app/components/index.d.ts +1 -1
  353. package/dist/v2/features/app/components/index.js +10 -5
  354. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +3 -3
  355. package/dist/v2/features/app/helpers/get-route-param.d.ts +1 -1
  356. package/dist/v2/features/app/helpers/routes.d.ts +5 -5
  357. package/dist/v2/features/app/hooks/use-theme.d.ts +1 -1
  358. package/dist/v2/features/app/index.d.ts +8 -8
  359. package/dist/v2/features/app/index.js +3161 -19
  360. package/dist/v2/features/app/index.js.map +1 -0
  361. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +1 -1
  362. package/dist/v2/features/collection/OperationCollection.vue.d.ts +1 -1
  363. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +1 -1
  364. package/dist/v2/features/collection/components/Authentication.vue.d.ts +4 -4
  365. package/dist/v2/features/collection/components/Cookies.vue.d.ts +4 -4
  366. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +4 -4
  367. package/dist/v2/features/collection/components/Editor/index.d.ts +1 -1
  368. package/dist/v2/features/collection/components/Editor/index.js +2 -4
  369. package/dist/v2/features/collection/components/Environment.vue.d.ts +4 -4
  370. package/dist/v2/features/collection/components/Form.vue.d.ts +1 -0
  371. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
  372. package/dist/v2/features/collection/components/Overview.vue.d.ts +4 -4
  373. package/dist/v2/features/collection/components/Servers.vue.d.ts +4 -4
  374. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  375. package/dist/v2/features/collection/components/Settings.vue.d.ts +4 -4
  376. package/dist/v2/features/collection/components/Tabs.vue.d.ts +1 -1
  377. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +1 -1
  378. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +10 -45
  379. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
  380. package/dist/v2/features/command-palette/index.d.ts +2 -2
  381. package/dist/v2/features/command-palette/index.js +3 -6
  382. package/dist/v2/features/editor/helpers/json/create-json-model.d.ts +1 -1
  383. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts +1 -1
  384. package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts +1 -1
  385. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts +1 -1
  386. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts +1 -1
  387. package/dist/v2/features/editor/hooks/use-editor.d.ts +1 -1
  388. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts +1 -1
  389. package/dist/v2/features/editor/index.d.ts +4 -4
  390. package/dist/v2/features/editor/index.js +2 -10
  391. package/dist/v2/features/environments/index.d.ts +1 -1
  392. package/dist/v2/features/environments/index.js +4 -4
  393. package/dist/v2/features/global-cookies/index.d.ts +1 -1
  394. package/dist/v2/features/global-cookies/index.js +4 -4
  395. package/dist/v2/features/modal/Modal.vue.d.ts +1 -1
  396. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +2 -2
  397. package/dist/v2/features/modal/hooks/use-modal-sidebar.d.ts +1 -1
  398. package/dist/v2/features/modal/index.d.ts +3 -3
  399. package/dist/v2/features/modal/index.js +639 -7
  400. package/dist/v2/features/modal/index.js.map +1 -0
  401. package/dist/v2/features/modal/modal-events.d.ts +1 -1
  402. package/dist/v2/features/operation/Operation.vue.d.ts +2 -2
  403. package/dist/v2/features/operation/index.d.ts +5 -5
  404. package/dist/v2/features/operation/index.js +19 -12
  405. package/dist/v2/features/search/helpers/create-fuse-instance.d.ts +1 -1
  406. package/dist/v2/features/search/helpers/create-search-index.d.ts +1 -1
  407. package/dist/v2/features/search/index.d.ts +1 -1
  408. package/dist/v2/features/search/index.js +2 -4
  409. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
  410. package/dist/v2/features/settings/index.d.ts +2 -2
  411. package/dist/v2/features/settings/index.js +2 -6
  412. package/dist/v2/helpers/get-active-proxy-url.d.ts +1 -1
  413. package/dist/v2/helpers/get-tab-details.d.ts +1 -1
  414. package/dist/v2/helpers/handle-hotkeys.d.ts +1 -1
  415. package/dist/v2/helpers/index.d.ts +2 -2
  416. package/dist/v2/helpers/index.js +3 -6
  417. package/dist/v2/hooks/use-global-hot-keys.d.ts +1 -1
  418. package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +1 -1
  419. package/dist/views/Collection/components/MarkdownInput.vue.d.ts +1 -1
  420. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +1 -1
  421. package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +1 -1
  422. package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts +1 -1
  423. package/dist/views/Components/CodeSnippet/index.d.ts +4 -4
  424. package/dist/views/Components/CodeSnippet/index.js +3 -10
  425. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +1 -1
  426. package/dist/views/Environment/handle-drag.d.ts +1 -1
  427. package/dist/views/Request/Request.vue.d.ts +1 -1
  428. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +1 -1
  429. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
  430. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +1 -1
  431. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +1 -1
  432. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +2 -2
  433. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +1 -1
  434. package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.d.ts +1 -1
  435. package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +3 -3
  436. package/dist/views/Request/RequestSection/RequestAuth/index.js +4 -8
  437. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
  438. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +1 -1
  439. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
  440. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
  441. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
  442. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -1
  443. package/dist/views/Request/RequestSection/helpers/update-scheme.d.ts +1 -1
  444. package/dist/views/Request/RequestSection/index.d.ts +2 -2
  445. package/dist/views/Request/RequestSection/index.js +42 -5
  446. package/dist/views/Request/RequestSection/index.js.map +1 -0
  447. package/dist/views/Request/RequestSidebarItem.vue.d.ts +1 -1
  448. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +3 -3
  449. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +1 -1
  450. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +1 -1
  451. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
  452. package/dist/views/Request/ResponseSection/index.d.ts +2 -2
  453. package/dist/views/Request/ResponseSection/index.js +7 -6
  454. package/dist/views/Request/components/index.d.ts +1 -1
  455. package/dist/views/Request/components/index.js +2 -4
  456. package/dist/views/Request/consts/index.d.ts +2 -2
  457. package/dist/views/Request/consts/index.js +2 -10
  458. package/dist/views/Request/handle-drag.d.ts +2 -2
  459. package/dist/views/Request/libs/auth.d.ts +1 -1
  460. package/dist/views/Request/libs/index.d.ts +3 -3
  461. package/dist/views/Request/libs/index.js +3 -22
  462. package/dist/views/Request/libs/oauth2.d.ts +1 -1
  463. package/dist/views/Request/libs/watch-mode.d.ts +2 -2
  464. package/dist/views/Request/types/index.js +0 -1
  465. package/dist/watch-mode-Dbaqd9bG.js +375 -0
  466. package/dist/watch-mode-Dbaqd9bG.js.map +1 -0
  467. package/package.json +29 -33
  468. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  469. package/dist/analytics.js +0 -9
  470. package/dist/assets/computer.ascii.js +0 -34
  471. package/dist/assets/keycap.ascii.js +0 -25
  472. package/dist/assets/rabbit.ascii.js +0 -11
  473. package/dist/assets/rabbitjump.ascii.js +0 -11
  474. package/dist/components/AddressBar/AddressBar.vue.js +0 -7
  475. package/dist/components/AddressBar/AddressBar.vue2.js +0 -160
  476. package/dist/components/AddressBar/AddressBarHistory.vue.js +0 -7
  477. package/dist/components/AddressBar/AddressBarHistory.vue2.js +0 -98
  478. package/dist/components/AddressBar/httpStatusCodeColors.js +0 -38
  479. package/dist/components/CodeInput/CodeInput.vue.js +0 -8
  480. package/dist/components/CodeInput/CodeInput.vue2.js +0 -209
  481. package/dist/components/CodeInput/codeVariableWidget.js +0 -111
  482. package/dist/components/CommandPalette/CommandActionForm.vue.js +0 -44
  483. package/dist/components/CommandPalette/CommandActionForm.vue2.js +0 -4
  484. package/dist/components/CommandPalette/CommandActionInput.vue.js +0 -52
  485. package/dist/components/CommandPalette/CommandActionInput.vue2.js +0 -4
  486. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +0 -80
  487. package/dist/components/CommandPalette/CommandPaletteCollection.vue2.js +0 -4
  488. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +0 -116
  489. package/dist/components/CommandPalette/CommandPaletteExample.vue2.js +0 -4
  490. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +0 -217
  491. package/dist/components/CommandPalette/CommandPaletteImport.vue2.js +0 -4
  492. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +0 -7
  493. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +0 -136
  494. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +0 -123
  495. package/dist/components/CommandPalette/CommandPaletteServer.vue2.js +0 -4
  496. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +0 -84
  497. package/dist/components/CommandPalette/CommandPaletteTag.vue2.js +0 -4
  498. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +0 -48
  499. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue2.js +0 -4
  500. package/dist/components/CommandPalette/TheCommandPalette.vue.js +0 -7
  501. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +0 -305
  502. package/dist/components/CommandPalette/WatchModeToggle.vue.js +0 -39
  503. package/dist/components/CommandPalette/WatchModeToggle.vue2.js +0 -4
  504. package/dist/components/DataTable/DataTable.vue.js +0 -38
  505. package/dist/components/DataTable/DataTable.vue2.js +0 -4
  506. package/dist/components/DataTable/DataTableCell.vue.js +0 -26
  507. package/dist/components/DataTable/DataTableCell.vue2.js +0 -4
  508. package/dist/components/DataTable/DataTableCheckbox.vue.js +0 -53
  509. package/dist/components/DataTable/DataTableCheckbox.vue2.js +0 -4
  510. package/dist/components/DataTable/DataTableHeader.vue.js +0 -18
  511. package/dist/components/DataTable/DataTableHeader.vue2.js +0 -4
  512. package/dist/components/DataTable/DataTableInput.vue.js +0 -7
  513. package/dist/components/DataTable/DataTableInput.vue2.js +0 -124
  514. package/dist/components/DataTable/DataTableInputSelect.vue.js +0 -146
  515. package/dist/components/DataTable/DataTableInputSelect.vue2.js +0 -4
  516. package/dist/components/DataTable/DataTableRow.vue.js +0 -12
  517. package/dist/components/DataTable/DataTableText.vue.js +0 -23
  518. package/dist/components/DataTable/DataTableText.vue2.js +0 -4
  519. package/dist/components/EmptyState.vue.js +0 -7
  520. package/dist/components/EmptyState.vue2.js +0 -42
  521. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +0 -113
  522. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue2.js +0 -4
  523. package/dist/components/Form/Form.vue.js +0 -83
  524. package/dist/components/Form/Form.vue2.js +0 -4
  525. package/dist/components/Form/LabelInput.vue.js +0 -7
  526. package/dist/components/Form/LabelInput.vue2.js +0 -42
  527. package/dist/components/HelpfulLink.vue.js +0 -20
  528. package/dist/components/HelpfulLink.vue2.js +0 -4
  529. package/dist/components/HttpMethod/HttpMethod.vue.js +0 -7
  530. package/dist/components/HttpMethod/HttpMethod.vue2.js +0 -62
  531. package/dist/components/IconSelector.vue.js +0 -75
  532. package/dist/components/IconSelector.vue2.js +0 -4
  533. package/dist/components/ImportCollection/DropEventListener.vue.js +0 -81
  534. package/dist/components/ImportCollection/DropEventListener.vue2.js +0 -4
  535. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +0 -77
  536. package/dist/components/ImportCollection/ImportCollectionListener.vue2.js +0 -4
  537. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +0 -208
  538. package/dist/components/ImportCollection/ImportCollectionModal.vue3.js +0 -5
  539. package/dist/components/ImportCollection/ImportNowButton.vue.js +0 -73
  540. package/dist/components/ImportCollection/ImportNowButton.vue2.js +0 -4
  541. package/dist/components/ImportCollection/IntegrationLogo.vue.js +0 -44
  542. package/dist/components/ImportCollection/IntegrationLogo.vue2.js +0 -4
  543. package/dist/components/ImportCollection/PasteEventListener.vue.js +0 -24
  544. package/dist/components/ImportCollection/PasteEventListener.vue2.js +0 -4
  545. package/dist/components/ImportCollection/PrefetchError.vue.js +0 -27
  546. package/dist/components/ImportCollection/PrefetchError.vue2.js +0 -4
  547. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.js +0 -20
  548. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue2.js +0 -4
  549. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +0 -134
  550. package/dist/components/ImportCollection/WorkspaceSelector.vue2.js +0 -4
  551. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +0 -106
  552. package/dist/components/ImportCollection/utils/get-openapi-version.js +0 -20
  553. package/dist/components/ImportCollection/utils/import-collection.js +0 -29
  554. package/dist/components/ImportCollection/utils/is-document.js +0 -9
  555. package/dist/components/ImportCollection/utils/is-url.js +0 -9
  556. package/dist/components/ImportCollection/utils/workspace-store-is-empty.js +0 -7
  557. package/dist/components/OpenApiClientButton.vue.js +0 -7
  558. package/dist/components/OpenApiClientButton.vue2.js +0 -48
  559. package/dist/components/ScalarAsciiArt.vue.js +0 -7
  560. package/dist/components/ScalarAsciiArt.vue2.js +0 -37
  561. package/dist/components/Search/useSearch.js +0 -78
  562. package/dist/components/SectionFilter.vue.js +0 -7
  563. package/dist/components/SectionFilter.vue2.js +0 -64
  564. package/dist/components/SectionFilterButton.vue.js +0 -23
  565. package/dist/components/SectionFilterButton.vue2.js +0 -4
  566. package/dist/components/Server/ServerDropdown.vue.js +0 -132
  567. package/dist/components/Server/ServerDropdown.vue2.js +0 -4
  568. package/dist/components/Server/ServerDropdownItem.vue.js +0 -7
  569. package/dist/components/Server/ServerDropdownItem.vue2.js +0 -84
  570. package/dist/components/Server/ServerSelector.vue.js +0 -82
  571. package/dist/components/Server/ServerSelector.vue2.js +0 -4
  572. package/dist/components/Server/ServerVariablesForm.vue.js +0 -49
  573. package/dist/components/Server/ServerVariablesForm.vue2.js +0 -4
  574. package/dist/components/Server/ServerVariablesSelect.vue.js +0 -54
  575. package/dist/components/Server/ServerVariablesSelect.vue2.js +0 -4
  576. package/dist/components/Server/ServerVariablesTextbox.vue.js +0 -29
  577. package/dist/components/Server/ServerVariablesTextbox.vue2.js +0 -4
  578. package/dist/components/SideNav/DownloadAppButton.vue.js +0 -7
  579. package/dist/components/SideNav/DownloadAppButton.vue2.js +0 -33
  580. package/dist/components/SideNav/SideHelp.vue.js +0 -127
  581. package/dist/components/SideNav/SideHelp.vue2.js +0 -4
  582. package/dist/components/SideNav/SideNav.vue.js +0 -96
  583. package/dist/components/SideNav/SideNav.vue2.js +0 -4
  584. package/dist/components/SideNav/SideNavGroup.vue.js +0 -16
  585. package/dist/components/SideNav/SideNavGroup.vue2.js +0 -4
  586. package/dist/components/SideNav/SideNavLink.vue.js +0 -39
  587. package/dist/components/SideNav/SideNavLink.vue2.js +0 -4
  588. package/dist/components/SideNav/SideNavRouterLink.vue.js +0 -27
  589. package/dist/components/SideNav/SideNavRouterLink.vue2.js +0 -4
  590. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +0 -30
  591. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue2.js +0 -4
  592. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +0 -58
  593. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue2.js +0 -4
  594. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +0 -29
  595. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue2.js +0 -4
  596. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +0 -46
  597. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +0 -4
  598. package/dist/components/Sidebar/Sidebar.vue.js +0 -7
  599. package/dist/components/Sidebar/Sidebar.vue2.js +0 -63
  600. package/dist/components/Sidebar/SidebarButton.vue.js +0 -33
  601. package/dist/components/Sidebar/SidebarButton.vue2.js +0 -4
  602. package/dist/components/Sidebar/SidebarList.vue.js +0 -12
  603. package/dist/components/Sidebar/SidebarListElement.vue.js +0 -8
  604. package/dist/components/Sidebar/SidebarListElement.vue2.js +0 -94
  605. package/dist/components/Sidebar/SidebarListElementActions.vue.js +0 -86
  606. package/dist/components/Sidebar/SidebarListElementActions.vue2.js +0 -4
  607. package/dist/components/Sidebar/SidebarToggle.vue.js +0 -49
  608. package/dist/components/Sidebar/SidebarToggle.vue2.js +0 -4
  609. package/dist/components/TopNav/TopNav.vue.js +0 -210
  610. package/dist/components/TopNav/TopNav.vue2.js +0 -4
  611. package/dist/components/TopNav/TopNavItem.vue.js +0 -7
  612. package/dist/components/TopNav/TopNavItem.vue2.js +0 -138
  613. package/dist/components/ViewLayout/ViewLayout.vue.js +0 -18
  614. package/dist/components/ViewLayout/ViewLayout.vue2.js +0 -4
  615. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +0 -92
  616. package/dist/components/ViewLayout/ViewLayoutCollapse.vue2.js +0 -4
  617. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +0 -12
  618. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +0 -23
  619. package/dist/components/ViewLayout/ViewLayoutSection.vue2.js +0 -4
  620. package/dist/constants.js +0 -40
  621. package/dist/data/httpHeaders.js +0 -537
  622. package/dist/hooks/useAnalytics.js +0 -11
  623. package/dist/hooks/useClientConfig.js +0 -7
  624. package/dist/hooks/useFileDialog.js +0 -21
  625. package/dist/hooks/useLayout.js +0 -8
  626. package/dist/hooks/useResponseBody.js +0 -20
  627. package/dist/hooks/useSidebar.js +0 -28
  628. package/dist/layouts/App/ApiClientApp.vue.js +0 -70
  629. package/dist/layouts/App/ApiClientApp.vue3.js +0 -5
  630. package/dist/layouts/App/MainLayout.vue.js +0 -26
  631. package/dist/layouts/App/MainLayout.vue2.js +0 -4
  632. package/dist/layouts/App/create-api-client-app.js +0 -35
  633. package/dist/layouts/App/hotkeys.js +0 -21
  634. package/dist/layouts/Modal/ApiClientModal.vue.js +0 -30
  635. package/dist/layouts/Modal/ApiClientModal.vue2.js +0 -4
  636. package/dist/layouts/Modal/create-api-client-modal.js +0 -32
  637. package/dist/layouts/Web/ApiClientWeb.vue.js +0 -64
  638. package/dist/layouts/Web/ApiClientWeb.vue3.js +0 -5
  639. package/dist/layouts/Web/create-api-client-web.js +0 -32
  640. package/dist/libs/create-client.js +0 -189
  641. package/dist/libs/electron.js +0 -4
  642. package/dist/libs/env-helpers.js +0 -6
  643. package/dist/libs/environment-parser.js +0 -18
  644. package/dist/libs/errors.js +0 -16
  645. package/dist/libs/event-bus.js +0 -32
  646. package/dist/libs/extractAttachmentFilename.js +0 -18
  647. package/dist/libs/find-request.js +0 -23
  648. package/dist/libs/formatters.js +0 -10
  649. package/dist/libs/get-request-uid-by-path-method.js +0 -18
  650. package/dist/libs/getOpenApiDocumentDetails.js +0 -40
  651. package/dist/libs/hot-keys.js +0 -44
  652. package/dist/libs/importers/curl.js +0 -53
  653. package/dist/libs/isUrl.js +0 -7
  654. package/dist/libs/local-storage.js +0 -41
  655. package/dist/libs/normalize-headers.js +0 -27
  656. package/dist/libs/parse-curl.js +0 -59
  657. package/dist/libs/postman.js +0 -37
  658. package/dist/libs/send-request/build-request-security.js +0 -35
  659. package/dist/libs/send-request/create-fetch-body.js +0 -25
  660. package/dist/libs/send-request/create-fetch-headers.js +0 -11
  661. package/dist/libs/send-request/create-fetch-query-params.js +0 -33
  662. package/dist/libs/send-request/create-request-operation.js +0 -140
  663. package/dist/libs/send-request/decode-buffer.js +0 -9
  664. package/dist/libs/send-request/set-request-cookies.js +0 -58
  665. package/dist/libs/string-template.js +0 -42
  666. package/dist/libs/validate-parameters.js +0 -16
  667. package/dist/plugins/hooks/usePluginManager.js +0 -10
  668. package/dist/plugins/plugin-manager.js +0 -26
  669. package/dist/routes.js +0 -210
  670. package/dist/store/active-entities.js +0 -118
  671. package/dist/store/collections.js +0 -73
  672. package/dist/store/cookies.js +0 -13
  673. package/dist/store/environment.js +0 -32
  674. package/dist/store/events.js +0 -35
  675. package/dist/store/import-spec.js +0 -55
  676. package/dist/store/request-example.js +0 -43
  677. package/dist/store/requests.js +0 -97
  678. package/dist/store/router-params.js +0 -22
  679. package/dist/store/security-schemes.js +0 -55
  680. package/dist/store/servers.js +0 -39
  681. package/dist/store/store.js +0 -144
  682. package/dist/store/tags.js +0 -45
  683. package/dist/store/workspace.js +0 -52
  684. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +0 -242
  685. package/dist/v2/blocks/operation-block/OperationBlock.vue2.js +0 -4
  686. package/dist/v2/blocks/operation-block/components/Header.vue.js +0 -7
  687. package/dist/v2/blocks/operation-block/components/Header.vue2.js +0 -100
  688. package/dist/v2/blocks/operation-block/helpers/build-request-body.js +0 -40
  689. package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.js +0 -31
  690. package/dist/v2/blocks/operation-block/helpers/build-request-parameters.js +0 -107
  691. package/dist/v2/blocks/operation-block/helpers/build-request-security.js +0 -46
  692. package/dist/v2/blocks/operation-block/helpers/build-request.js +0 -70
  693. package/dist/v2/blocks/operation-block/helpers/de-serialize-parameter.js +0 -25
  694. package/dist/v2/blocks/operation-block/helpers/decode-buffer.js +0 -9
  695. package/dist/v2/blocks/operation-block/helpers/filter-global-cookies.js +0 -14
  696. package/dist/v2/blocks/operation-block/helpers/get-cookie-header-keys.js +0 -4
  697. package/dist/v2/blocks/operation-block/helpers/get-environment-variables.js +0 -7
  698. package/dist/v2/blocks/operation-block/helpers/get-example.js +0 -36
  699. package/dist/v2/blocks/operation-block/helpers/get-resolved-url.js +0 -17
  700. package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.js +0 -4
  701. package/dist/v2/blocks/operation-block/helpers/get-server-url.js +0 -12
  702. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.js +0 -31
  703. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.js +0 -43
  704. package/dist/v2/blocks/operation-block/helpers/response-cache.js +0 -12
  705. package/dist/v2/blocks/operation-block/helpers/send-request.js +0 -122
  706. package/dist/v2/blocks/operation-block/helpers/serialize-parameter.js +0 -49
  707. package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.js +0 -17
  708. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.js +0 -56
  709. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue2.js +0 -4
  710. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.js +0 -30
  711. package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue2.js +0 -4
  712. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +0 -7
  713. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +0 -227
  714. package/dist/v2/blocks/operation-code-sample/helpers/find-client.js +0 -22
  715. package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.js +0 -27
  716. package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.js +0 -40
  717. package/dist/v2/blocks/operation-code-sample/helpers/get-clients.js +0 -20
  718. package/dist/v2/blocks/operation-code-sample/helpers/get-custom-code-samples.js +0 -4
  719. package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +0 -302
  720. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.js +0 -28
  721. package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.js +0 -10
  722. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js +0 -67
  723. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js +0 -66
  724. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.js +0 -172
  725. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.js +0 -55
  726. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.js +0 -18
  727. package/dist/v2/blocks/request-block/RequestBlock.vue.js +0 -7
  728. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +0 -344
  729. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +0 -7
  730. package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +0 -191
  731. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js +0 -84
  732. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue2.js +0 -4
  733. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.js +0 -135
  734. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue2.js +0 -4
  735. package/dist/v2/blocks/request-block/components/RequestParams.vue.js +0 -78
  736. package/dist/v2/blocks/request-block/components/RequestParams.vue2.js +0 -4
  737. package/dist/v2/blocks/request-block/components/RequestTable.vue.js +0 -7
  738. package/dist/v2/blocks/request-block/components/RequestTable.vue2.js +0 -74
  739. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +0 -204
  740. package/dist/v2/blocks/request-block/components/RequestTableRow.vue2.js +0 -4
  741. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js +0 -7
  742. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue2.js +0 -63
  743. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +0 -55
  744. package/dist/v2/blocks/request-block/helpers/files.js +0 -7
  745. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +0 -26
  746. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +0 -29
  747. package/dist/v2/blocks/request-block/helpers/get-parameter-content.js +0 -9
  748. package/dist/v2/blocks/request-block/helpers/get-parameter-schema.js +0 -6
  749. package/dist/v2/blocks/request-block/helpers/get-request-body-example.js +0 -16
  750. package/dist/v2/blocks/request-block/helpers/group-by.js +0 -10
  751. package/dist/v2/blocks/request-block/helpers/is-param-disabled.js +0 -7
  752. package/dist/v2/blocks/request-block/helpers/validate-parameter.js +0 -32
  753. package/dist/v2/blocks/response-block/ResponseBlock.vue.js +0 -7
  754. package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +0 -180
  755. package/dist/v2/blocks/response-block/components/Headers.vue.js +0 -96
  756. package/dist/v2/blocks/response-block/components/Headers.vue2.js +0 -4
  757. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +0 -7
  758. package/dist/v2/blocks/response-block/components/ResponseBody.vue2.js +0 -87
  759. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.js +0 -36
  760. package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue2.js +0 -4
  761. package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.js +0 -14
  762. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js +0 -7
  763. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue2.js +0 -63
  764. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +0 -7
  765. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue2.js +0 -41
  766. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.js +0 -94
  767. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue2.js +0 -4
  768. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.js +0 -25
  769. package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue2.js +0 -4
  770. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.js +0 -52
  771. package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue3.js +0 -5
  772. package/dist/v2/blocks/response-block/components/ResponseCookies.vue.js +0 -54
  773. package/dist/v2/blocks/response-block/components/ResponseCookies.vue2.js +0 -4
  774. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +0 -7
  775. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +0 -79
  776. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +0 -7
  777. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue2.js +0 -46
  778. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js +0 -67
  779. package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue2.js +0 -4
  780. package/dist/v2/blocks/response-block/helpers/extract-filename.js +0 -18
  781. package/dist/v2/blocks/response-block/helpers/get-content-length.js +0 -12
  782. package/dist/v2/blocks/response-block/helpers/media-types.js +0 -126
  783. package/dist/v2/blocks/response-block/helpers/parse-set-cookie.js +0 -12
  784. package/dist/v2/blocks/response-block/helpers/process-response-body.js +0 -16
  785. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +0 -7
  786. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +0 -208
  787. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js +0 -7
  788. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +0 -95
  789. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +0 -145
  790. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue2.js +0 -4
  791. package/dist/v2/blocks/scalar-address-bar-block/components/httpStatusCodeColors.js +0 -38
  792. package/dist/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.js +0 -25
  793. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +0 -182
  794. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +0 -4
  795. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +0 -51
  796. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue2.js +0 -4
  797. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +0 -330
  798. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue2.js +0 -4
  799. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +0 -7
  800. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue2.js +0 -76
  801. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +0 -165
  802. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue3.js +0 -5
  803. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js +0 -91
  804. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue2.js +0 -4
  805. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +0 -83
  806. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +0 -4
  807. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +0 -46
  808. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue2.js +0 -4
  809. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +0 -244
  810. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue2.js +0 -4
  811. package/dist/v2/blocks/scalar-auth-selector-block/helpers/auth-options.js +0 -97
  812. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +0 -135
  813. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js +0 -35
  814. package/dist/v2/blocks/scalar-auth-selector-block/helpers/is-auth-optional.js +0 -7
  815. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +0 -23
  816. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +0 -139
  817. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +0 -27
  818. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +0 -64
  819. package/dist/v2/components/callout/Callout.vue.js +0 -7
  820. package/dist/v2/components/callout/Callout.vue2.js +0 -43
  821. package/dist/v2/components/code-input/CodeInput.vue.js +0 -8
  822. package/dist/v2/components/code-input/CodeInput.vue2.js +0 -213
  823. package/dist/v2/components/code-input/code-variable-widget.js +0 -106
  824. package/dist/v2/components/data-table/DataTable.vue.js +0 -38
  825. package/dist/v2/components/data-table/DataTable.vue2.js +0 -4
  826. package/dist/v2/components/data-table/DataTableCell.vue.js +0 -26
  827. package/dist/v2/components/data-table/DataTableCell.vue2.js +0 -4
  828. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +0 -53
  829. package/dist/v2/components/data-table/DataTableCheckbox.vue2.js +0 -4
  830. package/dist/v2/components/data-table/DataTableHeader.vue.js +0 -18
  831. package/dist/v2/components/data-table/DataTableHeader.vue2.js +0 -4
  832. package/dist/v2/components/data-table/DataTableInput.vue.js +0 -7
  833. package/dist/v2/components/data-table/DataTableInput.vue2.js +0 -121
  834. package/dist/v2/components/data-table/DataTableInputSelect.vue.js +0 -149
  835. package/dist/v2/components/data-table/DataTableInputSelect.vue2.js +0 -4
  836. package/dist/v2/components/data-table/DataTableRow.vue.js +0 -12
  837. package/dist/v2/components/data-table/DataTableText.vue.js +0 -23
  838. package/dist/v2/components/data-table/DataTableText.vue2.js +0 -4
  839. package/dist/v2/components/forms/ConfirmationForm.vue.js +0 -45
  840. package/dist/v2/components/forms/ConfirmationForm.vue2.js +0 -4
  841. package/dist/v2/components/layout/CollapsibleSection.vue.js +0 -89
  842. package/dist/v2/components/layout/CollapsibleSection.vue2.js +0 -4
  843. package/dist/v2/components/layout/ValueEmitter.vue.js +0 -21
  844. package/dist/v2/components/layout/ValueEmitter.vue2.js +0 -4
  845. package/dist/v2/components/modals/DeleteModal.vue.js +0 -31
  846. package/dist/v2/components/modals/DeleteModal.vue2.js +0 -4
  847. package/dist/v2/components/modals/ModalClientContainer.vue.js +0 -7
  848. package/dist/v2/components/modals/ModalClientContainer.vue2.js +0 -60
  849. package/dist/v2/components/resize/Resize.vue.js +0 -8
  850. package/dist/v2/components/resize/Resize.vue2.js +0 -36
  851. package/dist/v2/components/resize/use-split-resize.js +0 -57
  852. package/dist/v2/components/server/ServerDropdown.vue.js +0 -91
  853. package/dist/v2/components/server/ServerDropdown.vue2.js +0 -4
  854. package/dist/v2/components/server/ServerDropdownItem.vue.js +0 -7
  855. package/dist/v2/components/server/ServerDropdownItem.vue2.js +0 -49
  856. package/dist/v2/components/sidebar/Sidebar.vue.js +0 -115
  857. package/dist/v2/components/sidebar/Sidebar.vue2.js +0 -4
  858. package/dist/v2/components/sidebar/SidebarMenu.vue.js +0 -50
  859. package/dist/v2/components/sidebar/SidebarMenu.vue2.js +0 -4
  860. package/dist/v2/components/sidebar/SidebarToggle.vue.js +0 -52
  861. package/dist/v2/components/sidebar/SidebarToggle.vue2.js +0 -4
  862. package/dist/v2/features/app/App.vue.js +0 -152
  863. package/dist/v2/features/app/App.vue3.js +0 -5
  864. package/dist/v2/features/app/app-events.js +0 -251
  865. package/dist/v2/features/app/app-state.js +0 -415
  866. package/dist/v2/features/app/components/AppSidebar.vue.js +0 -7
  867. package/dist/v2/features/app/components/AppSidebar.vue2.js +0 -304
  868. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +0 -56
  869. package/dist/v2/features/app/components/CreateWorkspaceModal.vue2.js +0 -4
  870. package/dist/v2/features/app/components/DesktopTab.vue.js +0 -7
  871. package/dist/v2/features/app/components/DesktopTab.vue2.js +0 -134
  872. package/dist/v2/features/app/components/DesktopTabs.vue.js +0 -56
  873. package/dist/v2/features/app/components/DesktopTabs.vue2.js +0 -4
  874. package/dist/v2/features/app/components/DownloadAppButton.vue.js +0 -7
  875. package/dist/v2/features/app/components/DownloadAppButton.vue2.js +0 -19
  876. package/dist/v2/features/app/components/SidebarItemMenu.vue.js +0 -185
  877. package/dist/v2/features/app/components/SidebarItemMenu.vue2.js +0 -4
  878. package/dist/v2/features/app/components/SplashScreen.vue.js +0 -7
  879. package/dist/v2/features/app/components/SplashScreen.vue2.js +0 -18
  880. package/dist/v2/features/app/helpers/create-api-client-app.js +0 -36
  881. package/dist/v2/features/app/helpers/filter-workspaces.js +0 -5
  882. package/dist/v2/features/app/helpers/get-route-param.js +0 -9
  883. package/dist/v2/features/app/helpers/group-workspaces.js +0 -23
  884. package/dist/v2/features/app/helpers/routes.js +0 -157
  885. package/dist/v2/features/app/hooks/use-document-watcher.js +0 -66
  886. package/dist/v2/features/app/hooks/use-theme.js +0 -48
  887. package/dist/v2/features/collection/DocumentCollection.vue.js +0 -336
  888. package/dist/v2/features/collection/DocumentCollection.vue3.js +0 -5
  889. package/dist/v2/features/collection/OperationCollection.vue.js +0 -86
  890. package/dist/v2/features/collection/OperationCollection.vue2.js +0 -4
  891. package/dist/v2/features/collection/WorkspaceCollection.vue.js +0 -68
  892. package/dist/v2/features/collection/WorkspaceCollection.vue2.js +0 -4
  893. package/dist/v2/features/collection/components/Authentication.vue.js +0 -7
  894. package/dist/v2/features/collection/components/Authentication.vue2.js +0 -154
  895. package/dist/v2/features/collection/components/Cookies.vue.js +0 -52
  896. package/dist/v2/features/collection/components/Cookies.vue2.js +0 -4
  897. package/dist/v2/features/collection/components/Editor/Editor.vue.js +0 -7
  898. package/dist/v2/features/collection/components/Editor/Editor.vue2.js +0 -344
  899. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js +0 -78
  900. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue2.js +0 -4
  901. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js +0 -83
  902. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue2.js +0 -4
  903. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js +0 -10
  904. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js +0 -5
  905. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js +0 -5
  906. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +0 -21
  907. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js +0 -5
  908. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +0 -25
  909. package/dist/v2/features/collection/components/Environment.vue.js +0 -54
  910. package/dist/v2/features/collection/components/Environment.vue2.js +0 -4
  911. package/dist/v2/features/collection/components/Form.vue.js +0 -78
  912. package/dist/v2/features/collection/components/Form.vue2.js +0 -4
  913. package/dist/v2/features/collection/components/LabelInput.vue.js +0 -7
  914. package/dist/v2/features/collection/components/LabelInput.vue2.js +0 -35
  915. package/dist/v2/features/collection/components/Overview.vue.js +0 -7
  916. package/dist/v2/features/collection/components/Overview.vue2.js +0 -208
  917. package/dist/v2/features/collection/components/Servers.vue.js +0 -209
  918. package/dist/v2/features/collection/components/Servers.vue2.js +0 -4
  919. package/dist/v2/features/collection/components/Settings.vue.js +0 -61
  920. package/dist/v2/features/collection/components/Settings.vue2.js +0 -4
  921. package/dist/v2/features/collection/components/SyncConflictResolutionEditor.vue.js +0 -7
  922. package/dist/v2/features/collection/components/SyncConflictResolutionEditor.vue2.js +0 -136
  923. package/dist/v2/features/collection/components/Tabs.vue.js +0 -44
  924. package/dist/v2/features/collection/components/Tabs.vue2.js +0 -4
  925. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js +0 -13
  926. package/dist/v2/features/command-palette/TheCommandPalette.vue.js +0 -7
  927. package/dist/v2/features/command-palette/TheCommandPalette.vue2.js +0 -152
  928. package/dist/v2/features/command-palette/components/CommandActionForm.vue.js +0 -48
  929. package/dist/v2/features/command-palette/components/CommandActionForm.vue2.js +0 -4
  930. package/dist/v2/features/command-palette/components/CommandActionInput.vue.js +0 -52
  931. package/dist/v2/features/command-palette/components/CommandActionInput.vue2.js +0 -4
  932. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +0 -211
  933. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue2.js +0 -4
  934. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +0 -182
  935. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue2.js +0 -4
  936. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js +0 -7
  937. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue2.js +0 -115
  938. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js +0 -78
  939. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue2.js +0 -4
  940. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +0 -221
  941. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue2.js +0 -4
  942. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +0 -114
  943. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue2.js +0 -4
  944. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js +0 -40
  945. package/dist/v2/features/command-palette/components/WatchModeToggle.vue2.js +0 -4
  946. package/dist/v2/features/command-palette/helpers/generate-unique-slug.js +0 -11
  947. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js +0 -31
  948. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js +0 -11
  949. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js +0 -76
  950. package/dist/v2/features/command-palette/helpers/get-postman-document-details.js +0 -18
  951. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js +0 -33
  952. package/dist/v2/features/command-palette/helpers/is-postman-collection.js +0 -11
  953. package/dist/v2/features/command-palette/helpers/load-document-from-source.js +0 -52
  954. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +0 -139
  955. package/dist/v2/features/editor/config.js +0 -16
  956. package/dist/v2/features/editor/helpers/configure-language-support.js +0 -39
  957. package/dist/v2/features/editor/helpers/ensure-monaco-environment.js +0 -20
  958. package/dist/v2/features/editor/helpers/json/create-json-model.js +0 -19
  959. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js +0 -9
  960. package/dist/v2/features/editor/helpers/json/json-ast.js +0 -24
  961. package/dist/v2/features/editor/helpers/json/json-pointer-links.js +0 -72
  962. package/dist/v2/features/editor/helpers/json/json-pointer-path.js +0 -21
  963. package/dist/v2/features/editor/helpers/range-to-whole-line.js +0 -8
  964. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js +0 -56
  965. package/dist/v2/features/editor/helpers/theme/load-css-variables.js +0 -21
  966. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js +0 -19
  967. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js +0 -50
  968. package/dist/v2/features/editor/hooks/use-editor-markers.js +0 -34
  969. package/dist/v2/features/editor/hooks/use-editor.js +0 -107
  970. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js +0 -27
  971. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js +0 -316
  972. package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js +0 -25
  973. package/dist/v2/features/environments/EnvironmentsList.vue.js +0 -68
  974. package/dist/v2/features/environments/EnvironmentsList.vue2.js +0 -4
  975. package/dist/v2/features/environments/components/Environment.vue.js +0 -66
  976. package/dist/v2/features/environments/components/Environment.vue2.js +0 -4
  977. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +0 -121
  978. package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +0 -4
  979. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +0 -85
  980. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue2.js +0 -4
  981. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +0 -53
  982. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue2.js +0 -4
  983. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +0 -109
  984. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue2.js +0 -4
  985. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +0 -7
  986. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +0 -136
  987. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +0 -7
  988. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +0 -189
  989. package/dist/v2/features/modal/Modal.vue.js +0 -122
  990. package/dist/v2/features/modal/Modal.vue2.js +0 -4
  991. package/dist/v2/features/modal/helpers/create-api-client-modal.js +0 -89
  992. package/dist/v2/features/modal/helpers/map-hidden-clients-config.js +0 -36
  993. package/dist/v2/features/modal/helpers/resolve-route-parameters.js +0 -29
  994. package/dist/v2/features/modal/helpers/restore-workspace-state.js +0 -36
  995. package/dist/v2/features/modal/hooks/use-modal-sidebar.js +0 -93
  996. package/dist/v2/features/modal/modal-events.js +0 -44
  997. package/dist/v2/features/operation/Operation.vue.js +0 -126
  998. package/dist/v2/features/operation/Operation.vue2.js +0 -4
  999. package/dist/v2/features/operation/helpers/combine-params.js +0 -14
  1000. package/dist/v2/features/operation/helpers/get-security-requirements.js +0 -4
  1001. package/dist/v2/features/operation/helpers/get-selected-security.js +0 -18
  1002. package/dist/v2/features/operation/helpers/get-selected-server.js +0 -4
  1003. package/dist/v2/features/search/helpers/create-fuse-instance.js +0 -43
  1004. package/dist/v2/features/search/helpers/create-search-index.js +0 -63
  1005. package/dist/v2/features/search/hooks/use-search-index.js +0 -18
  1006. package/dist/v2/features/settings/CollectionSettings.vue.js +0 -275
  1007. package/dist/v2/features/settings/CollectionSettings.vue2.js +0 -4
  1008. package/dist/v2/features/settings/DocumentSettings.vue.js +0 -115
  1009. package/dist/v2/features/settings/DocumentSettings.vue2.js +0 -4
  1010. package/dist/v2/features/settings/components/Appearance.vue.js +0 -88
  1011. package/dist/v2/features/settings/components/Appearance.vue2.js +0 -4
  1012. package/dist/v2/features/settings/components/Section.vue.js +0 -35
  1013. package/dist/v2/features/settings/components/Section.vue2.js +0 -4
  1014. package/dist/v2/features/settings/helpers/get-theme-colors.js +0 -16
  1015. package/dist/v2/helpers/drag-handle-factory.js +0 -120
  1016. package/dist/v2/helpers/generate-location-id.js +0 -10
  1017. package/dist/v2/helpers/get-active-environment.js +0 -22
  1018. package/dist/v2/helpers/get-active-proxy-url.js +0 -5
  1019. package/dist/v2/helpers/get-servers.js +0 -66
  1020. package/dist/v2/helpers/get-tab-details.js +0 -34
  1021. package/dist/v2/helpers/handle-hotkeys.js +0 -54
  1022. package/dist/v2/helpers/is-url.js +0 -5
  1023. package/dist/v2/helpers/slugify.js +0 -4
  1024. package/dist/v2/helpers/storage.js +0 -16
  1025. package/dist/v2/hooks/use-color-mode.js +0 -24
  1026. package/dist/v2/hooks/use-global-hot-keys.js +0 -11
  1027. package/dist/v2/hooks/use-scroll-lock.js +0 -21
  1028. package/dist/v2/workspace-events.js +0 -252
  1029. package/dist/views/Collection/Collection.vue.js +0 -4
  1030. package/dist/views/Collection/Collection.vue2.js +0 -49
  1031. package/dist/views/Collection/CollectionAuthentication.vue.js +0 -7
  1032. package/dist/views/Collection/CollectionAuthentication.vue2.js +0 -56
  1033. package/dist/views/Collection/CollectionCookies.vue.js +0 -4
  1034. package/dist/views/Collection/CollectionCookies.vue2.js +0 -16
  1035. package/dist/views/Collection/CollectionEnvironment.vue.js +0 -5
  1036. package/dist/views/Collection/CollectionEnvironment.vue2.js +0 -229
  1037. package/dist/views/Collection/CollectionInfoForm.vue.js +0 -7
  1038. package/dist/views/Collection/CollectionInfoForm.vue2.js +0 -63
  1039. package/dist/views/Collection/CollectionNavigation.vue.js +0 -133
  1040. package/dist/views/Collection/CollectionNavigation.vue2.js +0 -4
  1041. package/dist/views/Collection/CollectionOverview.vue.js +0 -4
  1042. package/dist/views/Collection/CollectionOverview.vue2.js +0 -34
  1043. package/dist/views/Collection/CollectionScripts.vue.js +0 -4
  1044. package/dist/views/Collection/CollectionScripts.vue2.js +0 -16
  1045. package/dist/views/Collection/CollectionServerForm.vue.js +0 -75
  1046. package/dist/views/Collection/CollectionServerForm.vue2.js +0 -4
  1047. package/dist/views/Collection/CollectionServers.vue.js +0 -4
  1048. package/dist/views/Collection/CollectionServers.vue2.js +0 -94
  1049. package/dist/views/Collection/CollectionSettings.vue.js +0 -4
  1050. package/dist/views/Collection/CollectionSettings.vue2.js +0 -118
  1051. package/dist/views/Collection/CollectionSync.vue.js +0 -4
  1052. package/dist/views/Collection/CollectionSync.vue2.js +0 -16
  1053. package/dist/views/Collection/components/EnvironmentForm.vue.js +0 -7
  1054. package/dist/views/Collection/components/EnvironmentForm.vue2.js +0 -270
  1055. package/dist/views/Collection/components/MarkdownInput.vue.js +0 -7
  1056. package/dist/views/Collection/components/MarkdownInput.vue2.js +0 -100
  1057. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +0 -50
  1058. package/dist/views/Components/CodeSnippet/CodeSnippet.vue2.js +0 -4
  1059. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +0 -62
  1060. package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +0 -82
  1061. package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +0 -30
  1062. package/dist/views/Cookies/CookieForm.vue.js +0 -34
  1063. package/dist/views/Cookies/CookieForm.vue2.js +0 -4
  1064. package/dist/views/Cookies/CookieModal.vue.js +0 -7
  1065. package/dist/views/Cookies/CookieModal.vue2.js +0 -88
  1066. package/dist/views/Cookies/Cookies.vue.js +0 -4
  1067. package/dist/views/Cookies/Cookies.vue2.js +0 -162
  1068. package/dist/views/Environment/Environment.vue.js +0 -4
  1069. package/dist/views/Environment/Environment.vue2.js +0 -402
  1070. package/dist/views/Environment/EnvironmentColorModal.vue.js +0 -42
  1071. package/dist/views/Environment/EnvironmentColorModal.vue2.js +0 -4
  1072. package/dist/views/Environment/EnvironmentColors.vue.js +0 -118
  1073. package/dist/views/Environment/EnvironmentColors.vue2.js +0 -4
  1074. package/dist/views/Environment/EnvironmentModal.vue.js +0 -131
  1075. package/dist/views/Environment/EnvironmentModal.vue2.js +0 -4
  1076. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +0 -129
  1077. package/dist/views/Environment/EnvironmentVariableDropdown.vue2.js +0 -4
  1078. package/dist/views/Environment/handle-drag.js +0 -32
  1079. package/dist/views/Request/Request.vue.js +0 -7
  1080. package/dist/views/Request/Request.vue2.js +0 -105
  1081. package/dist/views/Request/RequestRoot.vue.js +0 -7
  1082. package/dist/views/Request/RequestRoot.vue2.js +0 -123
  1083. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +0 -52
  1084. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue2.js +0 -4
  1085. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +0 -246
  1086. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue2.js +0 -4
  1087. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +0 -135
  1088. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue2.js +0 -4
  1089. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +0 -7
  1090. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +0 -209
  1091. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +0 -7
  1092. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +0 -116
  1093. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +0 -50
  1094. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue2.js +0 -4
  1095. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +0 -219
  1096. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +0 -4
  1097. package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.js +0 -28
  1098. package/dist/views/Request/RequestSection/RequestBody.vue.js +0 -7
  1099. package/dist/views/Request/RequestSection/RequestBody.vue2.js +0 -451
  1100. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +0 -7
  1101. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +0 -170
  1102. package/dist/views/Request/RequestSection/RequestParams.vue.js +0 -162
  1103. package/dist/views/Request/RequestSection/RequestParams.vue2.js +0 -4
  1104. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +0 -96
  1105. package/dist/views/Request/RequestSection/RequestPathParams.vue2.js +0 -4
  1106. package/dist/views/Request/RequestSection/RequestSection.vue.js +0 -7
  1107. package/dist/views/Request/RequestSection/RequestSection.vue2.js +0 -247
  1108. package/dist/views/Request/RequestSection/RequestTable.vue.js +0 -7
  1109. package/dist/views/Request/RequestSection/RequestTable.vue2.js +0 -227
  1110. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +0 -7
  1111. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +0 -61
  1112. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +0 -29
  1113. package/dist/views/Request/RequestSection/helpers/getting-started.js +0 -13
  1114. package/dist/views/Request/RequestSection/helpers/update-scheme.js +0 -16
  1115. package/dist/views/Request/RequestSidebar.vue.js +0 -7
  1116. package/dist/views/Request/RequestSidebar.vue2.js +0 -341
  1117. package/dist/views/Request/RequestSidebarItem.vue.js +0 -8
  1118. package/dist/views/Request/RequestSidebarItem.vue2.js +0 -464
  1119. package/dist/views/Request/RequestSidebarItemMenu.vue.js +0 -7
  1120. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +0 -236
  1121. package/dist/views/Request/RequestSubpageHeader.vue.js +0 -7
  1122. package/dist/views/Request/RequestSubpageHeader.vue2.js +0 -79
  1123. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +0 -96
  1124. package/dist/views/Request/ResponseSection/RequestHeaders.vue2.js +0 -4
  1125. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +0 -7
  1126. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +0 -83
  1127. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +0 -36
  1128. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue2.js +0 -4
  1129. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.js +0 -14
  1130. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +0 -7
  1131. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +0 -63
  1132. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +0 -7
  1133. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +0 -42
  1134. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js +0 -74
  1135. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue2.js +0 -4
  1136. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +0 -25
  1137. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue2.js +0 -4
  1138. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +0 -50
  1139. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue3.js +0 -5
  1140. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +0 -51
  1141. package/dist/views/Request/ResponseSection/ResponseCookies.vue2.js +0 -4
  1142. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +0 -7
  1143. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +0 -103
  1144. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +0 -96
  1145. package/dist/views/Request/ResponseSection/ResponseHeaders.vue2.js +0 -4
  1146. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +0 -7
  1147. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +0 -38
  1148. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +0 -67
  1149. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue2.js +0 -4
  1150. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +0 -7
  1151. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +0 -189
  1152. package/dist/views/Request/components/WorkspaceDropdown.vue.js +0 -182
  1153. package/dist/views/Request/components/WorkspaceDropdown.vue2.js +0 -4
  1154. package/dist/views/Request/consts/mediaTypes.js +0 -131
  1155. package/dist/views/Request/consts/new-auth-options.js +0 -100
  1156. package/dist/views/Request/handle-drag.js +0 -42
  1157. package/dist/views/Request/hooks/useOpenApiWatcher.js +0 -57
  1158. package/dist/views/Request/libs/auth.js +0 -52
  1159. package/dist/views/Request/libs/oauth2.js +0 -127
  1160. package/dist/views/Request/libs/request.js +0 -40
  1161. package/dist/views/Request/libs/watch-mode.js +0 -337
  1162. package/dist/views/Settings/Settings.vue.js +0 -4
  1163. package/dist/views/Settings/Settings.vue2.js +0 -29
  1164. package/dist/views/Settings/SettingsGeneral.vue.js +0 -286
  1165. package/dist/views/Settings/SettingsGeneral.vue2.js +0 -4
  1166. package/dist/views/Settings/components/SettingsAppearance.vue.js +0 -85
  1167. package/dist/views/Settings/components/SettingsAppearance.vue2.js +0 -4
  1168. package/dist/views/Settings/components/SettingsSection.vue.js +0 -24
  1169. package/dist/views/Settings/components/SettingsSection.vue2.js +0 -4
@@ -0,0 +1,455 @@
1
+ import { t as IntegrationLogo_default } from "./IntegrationLogo-B9EDW8db.js";
2
+ import { t as DeleteSidebarListElement_default } from "./DeleteSidebarListElement-C-p87d03.js";
3
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, toDisplayString, unref, useSlots, withCtx } from "vue";
4
+ import { ScalarButton, ScalarIcon, ScalarModal, ScalarToggle, cva, cx, useModal } from "@scalar/components";
5
+ import { presets, themeLabels } from "@scalar/themes";
6
+ //#region src/v2/features/settings/components/Section.vue?vue&type=script&setup=true&lang.ts
7
+ var _hoisted_1$3 = { class: "flex flex-col gap-2" };
8
+ var _hoisted_2$2 = {
9
+ key: 0,
10
+ class: "flex items-start justify-between gap-2"
11
+ };
12
+ var _hoisted_3$2 = { class: "flex flex-col gap-2" };
13
+ var _hoisted_4$2 = {
14
+ key: 0,
15
+ class: "flex h-8 items-center"
16
+ };
17
+ var _hoisted_5$2 = { class: "font-bold" };
18
+ var _hoisted_6$2 = {
19
+ key: 1,
20
+ class: "text-c-2 mb-4 text-sm leading-tight"
21
+ };
22
+ //#endregion
23
+ //#region src/v2/features/settings/components/Section.vue
24
+ var Section_default = /* @__PURE__ */ defineComponent({
25
+ __name: "Section",
26
+ setup(__props) {
27
+ const slots = useSlots();
28
+ return (_ctx, _cache) => {
29
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [slots.title || slots.description ? (openBlock(), createElementBlock("div", _hoisted_2$2, [createElementVNode("div", _hoisted_3$2, [slots.title ? (openBlock(), createElementBlock("div", _hoisted_4$2, [createElementVNode("h3", _hoisted_5$2, [renderSlot(_ctx.$slots, "title")])])) : createCommentVNode("", true), slots.description ? (openBlock(), createElementBlock("p", _hoisted_6$2, [renderSlot(_ctx.$slots, "description")])) : createCommentVNode("", true)]), slots.actions ? renderSlot(_ctx.$slots, "actions", { key: 0 }) : createCommentVNode("", true)])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")]);
30
+ };
31
+ }
32
+ });
33
+ //#endregion
34
+ //#region src/v2/features/settings/components/Appearance.vue?vue&type=script&setup=true&lang.ts
35
+ var _hoisted_1$2 = { class: "flex flex-col gap-2" };
36
+ //#endregion
37
+ //#region src/v2/features/settings/components/Appearance.vue
38
+ var Appearance_default = /* @__PURE__ */ defineComponent({
39
+ __name: "Appearance",
40
+ props: { colorMode: {} },
41
+ emits: ["update:colorMode"],
42
+ setup(__props, { emit: __emit }) {
43
+ const emit = __emit;
44
+ const buttonStyles = cva({
45
+ base: "w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",
46
+ variants: { active: {
47
+ true: "bg-primary text-c-1 hover:bg-inherit",
48
+ false: "bg-b-1 hover:bg-b-2"
49
+ } }
50
+ });
51
+ return (_ctx, _cache) => {
52
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
53
+ createVNode(unref(ScalarButton), {
54
+ class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.colorMode === "system" }))),
55
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("update:colorMode", "system"))
56
+ }, {
57
+ default: withCtx(() => [createElementVNode("div", { class: normalizeClass(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", { "bg-c-accent text-b-1 border-transparent": __props.colorMode === "system" }]) }, [__props.colorMode === "system" ? (openBlock(), createBlock(unref(ScalarIcon), {
58
+ key: 0,
59
+ icon: "Checkmark",
60
+ size: "xs",
61
+ thickness: "3.5"
62
+ })) : createCommentVNode("", true)], 2), _cache[3] || (_cache[3] = createTextVNode(" System Preference (default) ", -1))]),
63
+ _: 1
64
+ }, 8, ["class"]),
65
+ createVNode(unref(ScalarButton), {
66
+ class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.colorMode === "light" }))),
67
+ onClick: _cache[1] || (_cache[1] = ($event) => emit("update:colorMode", "light"))
68
+ }, {
69
+ default: withCtx(() => [createElementVNode("div", { class: normalizeClass(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", { "bg-c-accent text-b-1 border-transparent": __props.colorMode === "light" }]) }, [__props.colorMode === "light" ? (openBlock(), createBlock(unref(ScalarIcon), {
70
+ key: 0,
71
+ icon: "Checkmark",
72
+ size: "xs",
73
+ thickness: "3.5"
74
+ })) : createCommentVNode("", true)], 2), _cache[4] || (_cache[4] = createTextVNode(" Light Mode Always ", -1))]),
75
+ _: 1
76
+ }, 8, ["class"]),
77
+ createVNode(unref(ScalarButton), {
78
+ class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.colorMode === "dark" }))),
79
+ onClick: _cache[2] || (_cache[2] = ($event) => emit("update:colorMode", "dark"))
80
+ }, {
81
+ default: withCtx(() => [createElementVNode("div", { class: normalizeClass(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", { "bg-c-accent text-b-1 border-transparent": __props.colorMode === "dark" }]) }, [__props.colorMode === "dark" ? (openBlock(), createBlock(unref(ScalarIcon), {
82
+ key: 0,
83
+ icon: "Checkmark",
84
+ size: "xs",
85
+ thickness: "3.5"
86
+ })) : createCommentVNode("", true)], 2), _cache[5] || (_cache[5] = createTextVNode(" Dark Mode Always ", -1))]),
87
+ _: 1
88
+ }, 8, ["class"])
89
+ ]);
90
+ };
91
+ }
92
+ });
93
+ //#endregion
94
+ //#region src/v2/features/settings/helpers/get-theme-colors.ts
95
+ var getThemeColors = (themeId) => {
96
+ return {
97
+ default: {
98
+ light: "#fff",
99
+ dark: "#0f0f0f",
100
+ accent: "#0099ff"
101
+ },
102
+ alternate: {
103
+ light: "#f9f9f9",
104
+ dark: "#131313",
105
+ accent: "#e7e7e7"
106
+ },
107
+ moon: {
108
+ light: "#ccc9b3",
109
+ dark: "#313332",
110
+ accent: "#645b0f"
111
+ },
112
+ purple: {
113
+ light: "#f5f6f8",
114
+ dark: "#22252b",
115
+ accent: "#5469d4"
116
+ },
117
+ solarized: {
118
+ light: "#fdf6e3",
119
+ dark: "#00212b",
120
+ accent: "#007acc"
121
+ },
122
+ "blue-planet": {
123
+ light: "#f0f2f5",
124
+ dark: "#000e23",
125
+ accent: "#e0e2e6"
126
+ },
127
+ saturn: {
128
+ light: "#e4e4df",
129
+ dark: "#2c2c30",
130
+ accent: "#1763a6"
131
+ },
132
+ "kepler-11e": {
133
+ light: "#f6f6f6",
134
+ dark: "#0d0f1e",
135
+ accent: "#7070ff"
136
+ },
137
+ mars: {
138
+ light: "#f2efe8",
139
+ dark: "#321116",
140
+ accent: "#c75549"
141
+ },
142
+ "deep-space": {
143
+ light: "#f4f4f5",
144
+ dark: "#09090b",
145
+ accent: "#8ab4f8"
146
+ },
147
+ laserwave: {
148
+ light: "#f4f2f7",
149
+ dark: "#27212e",
150
+ accent: "#ed78c2"
151
+ }
152
+ }[themeId] || {
153
+ light: "#ffffff",
154
+ dark: "#000000",
155
+ accent: "#3b82f6"
156
+ };
157
+ };
158
+ //#endregion
159
+ //#region src/v2/features/settings/CollectionSettings.vue?vue&type=script&setup=true&lang.ts
160
+ var _hoisted_1$1 = { class: "flex flex-col gap-10" };
161
+ var _hoisted_2$1 = { class: "flex flex-col gap-2" };
162
+ var _hoisted_3$1 = { class: "grid grid-cols-2 gap-2" };
163
+ var _hoisted_4$1 = { class: "flex items-center gap-2" };
164
+ var _hoisted_5$1 = { class: "flex items-center gap-1" };
165
+ var _hoisted_6$1 = { class: "grid grid-cols-2 gap-2" };
166
+ var _hoisted_7$1 = { class: "flex items-center gap-2" };
167
+ var _hoisted_8 = { class: "flex items-center gap-1" };
168
+ var _hoisted_9 = { class: "size-7 rounded-xl" };
169
+ var _hoisted_10 = { class: "grid grid-cols-2 gap-2" };
170
+ var _hoisted_11 = { class: "flex items-center gap-2" };
171
+ var DEFAULT_PROXY_URL = "https://proxy.scalar.com";
172
+ //#endregion
173
+ //#region src/v2/features/settings/CollectionSettings.vue
174
+ var CollectionSettings_default = /* @__PURE__ */ defineComponent({
175
+ __name: "CollectionSettings",
176
+ props: {
177
+ activeProxyUrl: {},
178
+ customThemes: { default: () => [] },
179
+ activeThemeSlug: {},
180
+ colorMode: {}
181
+ },
182
+ emits: [
183
+ "update:proxyUrl",
184
+ "update:themeSlug",
185
+ "update:colorMode"
186
+ ],
187
+ setup(__props, { emit: __emit }) {
188
+ const emit = __emit;
189
+ const THEME_IDS = [
190
+ "none",
191
+ "default",
192
+ "alternate",
193
+ "purple",
194
+ "solarized",
195
+ "saturn",
196
+ "kepler"
197
+ ];
198
+ const INTEGRATION_THEME_IDS = ["elysiajs", "fastify"];
199
+ const defaultThemes = THEME_IDS.map((themeId) => {
200
+ if (themeId === "none") return {
201
+ slug: themeId,
202
+ name: "None",
203
+ description: "No theme",
204
+ theme: ""
205
+ };
206
+ return presets[themeId];
207
+ });
208
+ const integrationThemes = INTEGRATION_THEME_IDS.map((themeId) => ({
209
+ slug: themeId,
210
+ name: themeLabels[themeId],
211
+ description: themeLabels[themeId],
212
+ theme: ""
213
+ }));
214
+ const customThemeSlugs = computed(() => new Set(__props.customThemes.map((theme) => theme.slug)));
215
+ const buttonStyles = cva({
216
+ base: "w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",
217
+ variants: { active: {
218
+ true: "bg-primary text-c-1 hover:bg-inherit",
219
+ false: "bg-b-1 hover:bg-b-2"
220
+ } }
221
+ });
222
+ /**
223
+ * Determines if the "None" theme should be selected.
224
+ * This happens when no theme is selected, or when the selected theme does not exist.
225
+ */
226
+ const isNoneThemeSelected = computed(() => {
227
+ if (__props.activeThemeSlug === void 0 || __props.activeThemeSlug === "none") return true;
228
+ return !(customThemeSlugs.value.has(__props.activeThemeSlug) || defaultThemes.some((theme) => theme.slug === __props.activeThemeSlug) || integrationThemes.some((theme) => theme.slug === __props.activeThemeSlug));
229
+ });
230
+ const isNoneTheme = (themeId) => themeId === "none";
231
+ const isThemeActive = (themeSlug) => {
232
+ return __props.activeThemeSlug === themeSlug || isNoneTheme(themeSlug) && isNoneThemeSelected.value;
233
+ };
234
+ const checkmarkClasses = (isActive) => cx("flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", isActive && "bg-c-accent text-b-1 border-transparent");
235
+ return (_ctx, _cache) => {
236
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [
237
+ createVNode(Section_default, null, {
238
+ title: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode("CORS Proxy", -1)])]),
239
+ description: withCtx(() => [..._cache[4] || (_cache[4] = [
240
+ createTextVNode(" Browsers block cross-origin requests for security. We provide a public proxy to ", -1),
241
+ createElementVNode("a", {
242
+ class: "hover:text-c-1 underline-offset-2",
243
+ href: "https://en.wikipedia.org/wiki/Cross-origin_resource_sharing",
244
+ target: "_blank"
245
+ }, " bypass CORS issues ", -1),
246
+ createTextVNode(" . Check the ", -1),
247
+ createElementVNode("a", {
248
+ class: "hover:text-c-1 underline-offset-2",
249
+ href: "https://github.com/scalar/scalar/tree/main/projects/proxy-scalar-com",
250
+ target: "_blank"
251
+ }, " source code on GitHub ", -1),
252
+ createTextVNode(" . ", -1)
253
+ ])]),
254
+ default: withCtx(() => [createElementVNode("div", _hoisted_2$1, [createVNode(unref(ScalarButton), {
255
+ class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.activeProxyUrl === DEFAULT_PROXY_URL }))),
256
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("update:proxyUrl", DEFAULT_PROXY_URL))
257
+ }, {
258
+ default: withCtx(() => [createElementVNode("div", { class: normalizeClass(checkmarkClasses(__props.activeProxyUrl === DEFAULT_PROXY_URL)) }, [__props.activeProxyUrl === DEFAULT_PROXY_URL ? (openBlock(), createBlock(unref(ScalarIcon), {
259
+ key: 0,
260
+ icon: "Checkmark",
261
+ size: "xs",
262
+ thickness: "3.5"
263
+ })) : createCommentVNode("", true)], 2), _cache[5] || (_cache[5] = createTextVNode(" Use proxy.scalar.com (default) ", -1))]),
264
+ _: 1
265
+ }, 8, ["class"]), createVNode(unref(ScalarButton), {
266
+ class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: !__props.activeProxyUrl }))),
267
+ onClick: _cache[1] || (_cache[1] = ($event) => emit("update:proxyUrl", null))
268
+ }, {
269
+ default: withCtx(() => [createElementVNode("div", { class: normalizeClass(checkmarkClasses(!__props.activeProxyUrl)) }, [!__props.activeProxyUrl ? (openBlock(), createBlock(unref(ScalarIcon), {
270
+ key: 0,
271
+ icon: "Checkmark",
272
+ size: "xs",
273
+ thickness: "3.5"
274
+ })) : createCommentVNode("", true)], 2), _cache[6] || (_cache[6] = createTextVNode(" Skip the proxy ", -1))]),
275
+ _: 1
276
+ }, 8, ["class"])])]),
277
+ _: 1
278
+ }),
279
+ createVNode(Section_default, null, {
280
+ title: withCtx(() => [..._cache[7] || (_cache[7] = [createTextVNode("Themes", -1)])]),
281
+ description: withCtx(() => [..._cache[8] || (_cache[8] = [createTextVNode(" We've got a whole rainbow of themes for you to play with: ", -1)])]),
282
+ default: withCtx(() => [createElementVNode("div", _hoisted_3$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(defaultThemes), (theme) => {
283
+ return openBlock(), createBlock(unref(ScalarButton), {
284
+ key: theme.slug,
285
+ class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: isThemeActive(theme.slug) }))),
286
+ onClick: ($event) => emit("update:themeSlug", isNoneTheme(theme.slug) ? void 0 : theme.slug)
287
+ }, {
288
+ default: withCtx(() => [createElementVNode("div", _hoisted_4$1, [createElementVNode("div", { class: normalizeClass(checkmarkClasses(isThemeActive(theme.slug))) }, [isThemeActive(theme.slug) ? (openBlock(), createBlock(unref(ScalarIcon), {
289
+ key: 0,
290
+ icon: "Checkmark",
291
+ size: "xs",
292
+ thickness: "3.5"
293
+ })) : createCommentVNode("", true)], 2), createTextVNode(" " + toDisplayString(theme.name), 1)]), createElementVNode("div", _hoisted_5$1, [
294
+ createElementVNode("span", {
295
+ class: "border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",
296
+ style: normalizeStyle({ backgroundColor: unref(getThemeColors)(theme.slug).light })
297
+ }, null, 4),
298
+ createElementVNode("span", {
299
+ class: "border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",
300
+ style: normalizeStyle({ backgroundColor: unref(getThemeColors)(theme.slug).dark })
301
+ }, null, 4),
302
+ createElementVNode("span", {
303
+ class: "border-c-3 inline-block h-5 w-5 rounded-full",
304
+ style: normalizeStyle({ backgroundColor: unref(getThemeColors)(theme.slug).accent })
305
+ }, null, 4)
306
+ ])]),
307
+ _: 2
308
+ }, 1032, ["class", "onClick"]);
309
+ }), 128))])]),
310
+ _: 1
311
+ }),
312
+ createVNode(Section_default, null, {
313
+ title: withCtx(() => [..._cache[9] || (_cache[9] = [createTextVNode("Framework Themes", -1)])]),
314
+ description: withCtx(() => [..._cache[10] || (_cache[10] = [createTextVNode(" Are you a real fan? Show your support by using your favorite framework's theme! ", -1)])]),
315
+ default: withCtx(() => [createElementVNode("div", _hoisted_6$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(integrationThemes), (theme) => {
316
+ return openBlock(), createBlock(unref(ScalarButton), {
317
+ key: theme.slug,
318
+ class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.activeThemeSlug === theme.slug }))),
319
+ onClick: ($event) => emit("update:themeSlug", theme.slug)
320
+ }, {
321
+ default: withCtx(() => [createElementVNode("div", _hoisted_7$1, [createElementVNode("div", { class: normalizeClass(checkmarkClasses(__props.activeThemeSlug === theme.slug)) }, [__props.activeThemeSlug === theme.slug ? (openBlock(), createBlock(unref(ScalarIcon), {
322
+ key: 0,
323
+ icon: "Checkmark",
324
+ size: "xs",
325
+ thickness: "3.5"
326
+ })) : createCommentVNode("", true)], 2), createTextVNode(" " + toDisplayString(theme.name), 1)]), createElementVNode("div", _hoisted_8, [createElementVNode("div", _hoisted_9, [createVNode(IntegrationLogo_default, { integration: theme.slug }, null, 8, ["integration"])])])]),
327
+ _: 2
328
+ }, 1032, ["class", "onClick"]);
329
+ }), 128))])]),
330
+ _: 1
331
+ }),
332
+ __props.customThemes.length > 0 ? (openBlock(), createBlock(Section_default, { key: 0 }, {
333
+ title: withCtx(() => [..._cache[11] || (_cache[11] = [createTextVNode(" Custom Themes ", -1)])]),
334
+ description: withCtx(() => [..._cache[12] || (_cache[12] = [createTextVNode(" Team defined themes are available to all workspaces in the team. ", -1)])]),
335
+ default: withCtx(() => [createElementVNode("div", _hoisted_10, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.customThemes, (theme) => {
336
+ return openBlock(), createBlock(unref(ScalarButton), {
337
+ key: theme.slug,
338
+ class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.activeThemeSlug === theme.slug }))),
339
+ onClick: ($event) => emit("update:themeSlug", theme.slug)
340
+ }, {
341
+ default: withCtx(() => [createElementVNode("div", _hoisted_11, [createElementVNode("div", { class: normalizeClass(checkmarkClasses(__props.activeThemeSlug === theme.slug)) }, [__props.activeThemeSlug === theme.slug ? (openBlock(), createBlock(unref(ScalarIcon), {
342
+ key: 0,
343
+ icon: "Checkmark",
344
+ size: "xs",
345
+ thickness: "3.5"
346
+ })) : createCommentVNode("", true)], 2), createTextVNode(" " + toDisplayString(theme.name), 1)])]),
347
+ _: 2
348
+ }, 1032, ["class", "onClick"]);
349
+ }), 128))])]),
350
+ _: 1
351
+ })) : createCommentVNode("", true),
352
+ createVNode(Section_default, null, {
353
+ title: withCtx(() => [..._cache[13] || (_cache[13] = [createTextVNode("Appearance", -1)])]),
354
+ description: withCtx(() => [..._cache[14] || (_cache[14] = [createTextVNode(" Choose between light, dark, or system-based appearance for your workspace. ", -1)])]),
355
+ default: withCtx(() => [createVNode(Appearance_default, {
356
+ colorMode: __props.colorMode,
357
+ "onUpdate:colorMode": _cache[2] || (_cache[2] = (value) => emit("update:colorMode", value))
358
+ }, null, 8, ["colorMode"])]),
359
+ _: 1
360
+ })
361
+ ]);
362
+ };
363
+ }
364
+ });
365
+ //#endregion
366
+ //#region src/v2/features/settings/DocumentSettings.vue?vue&type=script&setup=true&lang.ts
367
+ var _hoisted_1 = { class: "flex flex-col gap-12" };
368
+ var _hoisted_2 = { class: "bg-b-2 rounded-lg border text-sm" };
369
+ var _hoisted_3 = { class: "bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3" };
370
+ var _hoisted_4 = { class: "text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap" };
371
+ var _hoisted_5 = { class: "flex items-center" };
372
+ var _hoisted_6 = ["href"];
373
+ var _hoisted_7 = { class: "flex items-center justify-between rounded-lg border p-3 text-sm" };
374
+ //#endregion
375
+ //#region src/v2/features/settings/DocumentSettings.vue
376
+ var DocumentSettings_default = /* @__PURE__ */ defineComponent({
377
+ __name: "DocumentSettings",
378
+ props: {
379
+ documentUrl: {},
380
+ watchMode: { type: Boolean },
381
+ title: {},
382
+ isDraftDocument: {
383
+ type: Boolean,
384
+ default: false
385
+ }
386
+ },
387
+ emits: ["delete:document", "update:watchMode"],
388
+ setup(__props, { emit: __emit }) {
389
+ const emit = __emit;
390
+ const deleteModal = useModal();
391
+ /**
392
+ * Handles the delete button click.
393
+ * Prevents opening the modal if the document is a draft.
394
+ */
395
+ const handleDeleteClick = () => {
396
+ if (__props.isDraftDocument) return;
397
+ deleteModal.show();
398
+ };
399
+ const handleDocumentDelete = () => {
400
+ emit("delete:document");
401
+ deleteModal.hide();
402
+ };
403
+ return (_ctx, _cache) => {
404
+ return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1, [createVNode(Section_default, null, {
405
+ title: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode("Features", -1)])]),
406
+ default: withCtx(() => [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [_cache[3] || (_cache[3] = createElementVNode("div", null, [createElementVNode("h4", null, "Watch Mode"), createElementVNode("p", { class: "text-c-2 mt-1" }, " When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")], -1)), createVNode(unref(ScalarToggle), {
407
+ class: "w-4",
408
+ disabled: !__props.documentUrl,
409
+ modelValue: __props.watchMode ?? false,
410
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = (value) => emit("update:watchMode", value))
411
+ }, null, 8, ["disabled", "modelValue"])]), createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [__props.documentUrl ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[4] || (_cache[4] = createElementVNode("span", { class: "bg-b-2 sticky left-0 pr-2 pl-3" }, "Source", -1)), createElementVNode("a", {
412
+ class: "text-c-2 group rounded pr-3 no-underline hover:underline",
413
+ href: __props.documentUrl,
414
+ target: "_blank"
415
+ }, [createTextVNode(toDisplayString(__props.documentUrl) + " ", 1), createVNode(unref(ScalarIcon), {
416
+ class: "ml-1 hidden w-2.5 group-hover:inline",
417
+ icon: "ExternalLink"
418
+ })], 8, _hoisted_6)], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(unref(ScalarIcon), {
419
+ class: "text-c-2 mr-2 ml-3 w-4",
420
+ icon: "NotAllowed",
421
+ size: "sm"
422
+ }), _cache[5] || (_cache[5] = createElementVNode("span", { class: "text-c-2 pr-3" }, " No URL configured. Try importing an OpenAPI document from an URL. ", -1))], 64))])])])]),
423
+ _: 1
424
+ }), createVNode(Section_default, null, {
425
+ title: withCtx(() => [..._cache[6] || (_cache[6] = [createTextVNode("Danger Zone", -1)])]),
426
+ default: withCtx(() => [createElementVNode("div", _hoisted_7, [_cache[8] || (_cache[8] = createElementVNode("div", null, [createElementVNode("h4", null, "Delete Collection"), createElementVNode("p", { class: "text-c-2 mt-1" }, " Be careful, my friend. Once deleted, there is no way to recover the collection. ")], -1)), createVNode(unref(ScalarButton), {
427
+ disabled: __props.isDraftDocument,
428
+ size: "sm",
429
+ variant: "danger",
430
+ onClick: handleDeleteClick
431
+ }, {
432
+ default: withCtx(() => [..._cache[7] || (_cache[7] = [createTextVNode(" Delete Collection ", -1)])]),
433
+ _: 1
434
+ }, 8, ["disabled"])])]),
435
+ _: 1
436
+ })]), createVNode(unref(ScalarModal), {
437
+ size: "xxs",
438
+ state: unref(deleteModal),
439
+ title: `Delete ${__props.title}`
440
+ }, {
441
+ default: withCtx(() => [createVNode(DeleteSidebarListElement_default, {
442
+ variableName: __props.title ?? "",
443
+ warningMessage: "This action cannot be undone.",
444
+ onClose: _cache[1] || (_cache[1] = ($event) => unref(deleteModal).hide()),
445
+ onDelete: handleDocumentDelete
446
+ }, null, 8, ["variableName"])]),
447
+ _: 1
448
+ }, 8, ["state", "title"])], 64);
449
+ };
450
+ }
451
+ });
452
+ //#endregion
453
+ export { CollectionSettings_default as n, Section_default as r, DocumentSettings_default as t };
454
+
455
+ //# sourceMappingURL=settings-BKk_1lcH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings-BKk_1lcH.js","names":[],"sources":["../src/v2/features/settings/components/Section.vue","../src/v2/features/settings/components/Section.vue","../src/v2/features/settings/components/Appearance.vue","../src/v2/features/settings/components/Appearance.vue","../src/v2/features/settings/helpers/get-theme-colors.ts","../src/v2/features/settings/CollectionSettings.vue","../src/v2/features/settings/CollectionSettings.vue","../src/v2/features/settings/DocumentSettings.vue","../src/v2/features/settings/DocumentSettings.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst slots = defineSlots<{\n title?: () => string\n description?: () => string\n actions?: () => unknown\n default: () => unknown\n}>()\n</script>\n\n<template>\n <div class=\"flex flex-col gap-2\">\n <div\n v-if=\"slots.title || slots.description\"\n class=\"flex items-start justify-between gap-2\">\n <div class=\"flex flex-col gap-2\">\n <div\n v-if=\"slots.title\"\n class=\"flex h-8 items-center\">\n <h3 class=\"font-bold\">\n <slot name=\"title\" />\n </h3>\n </div>\n\n <p\n v-if=\"slots.description\"\n class=\"text-c-2 mb-4 text-sm leading-tight\">\n <slot name=\"description\" />\n </p>\n </div>\n\n <slot\n v-if=\"slots.actions\"\n name=\"actions\" />\n </div>\n\n <slot />\n </div>\n</template>\n","<script setup lang=\"ts\">\nconst slots = defineSlots<{\n title?: () => string\n description?: () => string\n actions?: () => unknown\n default: () => unknown\n}>()\n</script>\n\n<template>\n <div class=\"flex flex-col gap-2\">\n <div\n v-if=\"slots.title || slots.description\"\n class=\"flex items-start justify-between gap-2\">\n <div class=\"flex flex-col gap-2\">\n <div\n v-if=\"slots.title\"\n class=\"flex h-8 items-center\">\n <h3 class=\"font-bold\">\n <slot name=\"title\" />\n </h3>\n </div>\n\n <p\n v-if=\"slots.description\"\n class=\"text-c-2 mb-4 text-sm leading-tight\">\n <slot name=\"description\" />\n </p>\n </div>\n\n <slot\n v-if=\"slots.actions\"\n name=\"actions\" />\n </div>\n\n <slot />\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport { cva, cx, ScalarButton, ScalarIcon } from '@scalar/components'\n\ndefineProps<{\n colorMode: 'system' | 'light' | 'dark'\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:colorMode', value: 'system' | 'light' | 'dark'): void\n}>()\n\nconst buttonStyles = cva({\n base: 'w-full shadow-none text-c-1 justify-start pl-2 gap-2 border',\n variants: {\n active: {\n true: 'bg-primary text-c-1 hover:bg-inherit',\n false: 'bg-b-1 hover:bg-b-2',\n },\n },\n})\n</script>\n<template>\n <div class=\"flex flex-col gap-2\">\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'system' }))\"\n @click=\"emit('update:colorMode', 'system')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'system',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'system'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n System Preference (default)\n </ScalarButton>\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'light' }))\"\n @click=\"emit('update:colorMode', 'light')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'light',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'light'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Light Mode Always\n </ScalarButton>\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'dark' }))\"\n @click=\"emit('update:colorMode', 'dark')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'dark',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'dark'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Dark Mode Always\n </ScalarButton>\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport { cva, cx, ScalarButton, ScalarIcon } from '@scalar/components'\n\ndefineProps<{\n colorMode: 'system' | 'light' | 'dark'\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:colorMode', value: 'system' | 'light' | 'dark'): void\n}>()\n\nconst buttonStyles = cva({\n base: 'w-full shadow-none text-c-1 justify-start pl-2 gap-2 border',\n variants: {\n active: {\n true: 'bg-primary text-c-1 hover:bg-inherit',\n false: 'bg-b-1 hover:bg-b-2',\n },\n },\n})\n</script>\n<template>\n <div class=\"flex flex-col gap-2\">\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'system' }))\"\n @click=\"emit('update:colorMode', 'system')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'system',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'system'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n System Preference (default)\n </ScalarButton>\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'light' }))\"\n @click=\"emit('update:colorMode', 'light')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'light',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'light'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Light Mode Always\n </ScalarButton>\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'dark' }))\"\n @click=\"emit('update:colorMode', 'dark')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'dark',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'dark'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Dark Mode Always\n </ScalarButton>\n </div>\n</template>\n","import type { IntegrationThemeId, themePresets } from '@scalar/themes'\n\ntype ThemePresets = typeof themePresets\n\ntype Themes = Exclude<ThemePresets[number]['slug'], IntegrationThemeId>\n\nexport const getThemeColors = (themeId: Themes | 'none'): { light: string; dark: string; accent: string } => {\n const colors: Record<Themes, { light: string; dark: string; accent: string }> = {\n default: { light: '#fff', dark: '#0f0f0f', accent: '#0099ff' },\n alternate: { light: '#f9f9f9', dark: '#131313', accent: '#e7e7e7' },\n moon: { light: '#ccc9b3', dark: '#313332', accent: '#645b0f' },\n purple: { light: '#f5f6f8', dark: '#22252b', accent: '#5469d4' },\n solarized: { light: '#fdf6e3', dark: '#00212b', accent: '#007acc' },\n 'blue-planet': { light: '#f0f2f5', dark: '#000e23', accent: '#e0e2e6' },\n saturn: { light: '#e4e4df', dark: '#2c2c30', accent: '#1763a6' },\n 'kepler-11e': { light: '#f6f6f6', dark: '#0d0f1e', accent: '#7070ff' },\n mars: { light: '#f2efe8', dark: '#321116', accent: '#c75549' },\n 'deep-space': { light: '#f4f4f5', dark: '#09090b', accent: '#8ab4f8' },\n laserwave: { light: '#f4f2f7', dark: '#27212e', accent: '#ed78c2' },\n }\n return colors[themeId as Themes] || { light: '#ffffff', dark: '#000000', accent: '#3b82f6' }\n}\n","<script setup lang=\"ts\">\nimport { cva, cx, ScalarButton, ScalarIcon } from '@scalar/components'\nimport {\n presets,\n themeLabels,\n type IntegrationThemeId,\n type Theme,\n type ThemeId,\n} from '@scalar/themes'\nimport { computed } from 'vue'\n\nimport IntegrationLogo from '@/components/ImportCollection/IntegrationLogo.vue'\n\nimport Appearance from './components/Appearance.vue'\nimport Section from './components/Section.vue'\nimport { getThemeColors } from './helpers/get-theme-colors'\n\ntype ColorMode = 'system' | 'light' | 'dark'\n\nconst {\n activeProxyUrl,\n customThemes = [],\n activeThemeSlug,\n colorMode,\n} = defineProps<{\n /** Currently active proxy URL, when set to null means no proxy */\n activeProxyUrl?: string | null\n /** Custom themes available to the team */\n customThemes?: Theme[]\n /** Currently active theme ID */\n activeThemeSlug?: string\n /** Currently active color mode */\n colorMode: ColorMode\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:proxyUrl', value: string | null): void\n (e: 'update:themeSlug', value: string | undefined): void\n (e: 'update:colorMode', value: ColorMode): void\n}>()\n\nconst DEFAULT_PROXY_URL = 'https://proxy.scalar.com'\n\nconst THEME_IDS: Exclude<ThemeId, IntegrationThemeId>[] = [\n 'none',\n 'default',\n 'alternate',\n 'purple',\n 'solarized',\n 'saturn',\n 'kepler',\n]\n\nconst INTEGRATION_THEME_IDS: IntegrationThemeId[] = ['elysiajs', 'fastify']\n\nconst defaultThemes = THEME_IDS.map((themeId) => {\n if (themeId === 'none') {\n return {\n slug: themeId,\n name: 'None',\n description: 'No theme',\n theme: '',\n }\n }\n return presets[themeId]\n})\n\nconst integrationThemes = INTEGRATION_THEME_IDS.map((themeId) => ({\n slug: themeId,\n name: themeLabels[themeId],\n description: themeLabels[themeId],\n theme: '',\n}))\n\nconst customThemeSlugs = computed(\n () => new Set(customThemes.map((theme) => theme.slug)),\n)\n\nconst buttonStyles = cva({\n base: 'w-full shadow-none text-c-1 justify-start pl-2 gap-2 border',\n variants: {\n active: {\n true: 'bg-primary text-c-1 hover:bg-inherit',\n false: 'bg-b-1 hover:bg-b-2',\n },\n },\n})\n\n/**\n * Determines if the \"None\" theme should be selected.\n * This happens when no theme is selected, or when the selected theme does not exist.\n */\nconst isNoneThemeSelected = computed(() => {\n if (activeThemeSlug === undefined || activeThemeSlug === 'none') {\n return true\n }\n\n const isValidTheme =\n customThemeSlugs.value.has(activeThemeSlug) ||\n defaultThemes.some((theme) => theme.slug === activeThemeSlug) ||\n integrationThemes.some((theme) => theme.slug === activeThemeSlug)\n\n return !isValidTheme\n})\n\nconst isNoneTheme = (themeId: string): boolean => themeId === 'none'\n\nconst isThemeActive = (themeSlug: string): boolean => {\n return (\n activeThemeSlug === themeSlug ||\n (isNoneTheme(themeSlug) && isNoneThemeSelected.value)\n )\n}\n\nconst checkmarkClasses = (isActive: boolean) =>\n cx(\n 'flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1',\n isActive && 'bg-c-accent text-b-1 border-transparent',\n )\n</script>\n<template>\n <div class=\"flex flex-col gap-10\">\n <!-- Proxy -->\n <Section>\n <template #title>CORS Proxy</template>\n <template #description>\n Browsers block cross-origin requests for security. We provide a public\n proxy to\n <a\n class=\"hover:text-c-1 underline-offset-2\"\n href=\"https://en.wikipedia.org/wiki/Cross-origin_resource_sharing\"\n target=\"_blank\">\n bypass CORS issues\n </a>\n . Check the\n <a\n class=\"hover:text-c-1 underline-offset-2\"\n href=\"https://github.com/scalar/scalar/tree/main/projects/proxy-scalar-com\"\n target=\"_blank\">\n source code on GitHub\n </a>\n .\n </template>\n\n <div class=\"flex flex-col gap-2\">\n <ScalarButton\n :class=\"\n cx(\n buttonStyles({\n active: activeProxyUrl === DEFAULT_PROXY_URL,\n }),\n )\n \"\n @click=\"emit('update:proxyUrl', DEFAULT_PROXY_URL)\">\n <div :class=\"checkmarkClasses(activeProxyUrl === DEFAULT_PROXY_URL)\">\n <ScalarIcon\n v-if=\"activeProxyUrl === DEFAULT_PROXY_URL\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Use proxy.scalar.com (default)\n </ScalarButton>\n\n <ScalarButton\n :class=\"cx(buttonStyles({ active: !activeProxyUrl }))\"\n @click=\"emit('update:proxyUrl', null)\">\n <div :class=\"checkmarkClasses(!activeProxyUrl)\">\n <ScalarIcon\n v-if=\"!activeProxyUrl\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Skip the proxy\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Themes -->\n <Section>\n <template #title>Themes</template>\n <template #description>\n We've got a whole rainbow of themes for you to play with:\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in defaultThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: isThemeActive(theme.slug) }))\"\n @click=\"\n emit(\n 'update:themeSlug',\n isNoneTheme(theme.slug) ? undefined : theme.slug,\n )\n \">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(isThemeActive(theme.slug))\">\n <ScalarIcon\n v-if=\"isThemeActive(theme.slug)\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n <div class=\"flex items-center gap-1\">\n <span\n class=\"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).light,\n }\" />\n <span\n class=\"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).dark,\n }\" />\n <span\n class=\"border-c-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).accent,\n }\" />\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Frameworks -->\n <Section>\n <template #title>Framework Themes</template>\n <template #description>\n Are you a real fan? Show your support by using your favorite framework's\n theme!\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in integrationThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: activeThemeSlug === theme.slug }))\"\n @click=\"emit('update:themeSlug', theme.slug)\">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(activeThemeSlug === theme.slug)\">\n <ScalarIcon\n v-if=\"activeThemeSlug === theme.slug\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n <div class=\"flex items-center gap-1\">\n <div class=\"size-7 rounded-xl\">\n <IntegrationLogo :integration=\"theme.slug\" />\n </div>\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Custom Themes -->\n <Section v-if=\"customThemes.length > 0\">\n <template #title> Custom Themes </template>\n <template #description>\n Team defined themes are available to all workspaces in the team.\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in customThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: activeThemeSlug === theme.slug }))\"\n @click=\"emit('update:themeSlug', theme.slug)\">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(activeThemeSlug === theme.slug)\">\n <ScalarIcon\n v-if=\"activeThemeSlug === theme.slug\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Appearance -->\n <Section>\n <template #title>Appearance</template>\n <template #description>\n Choose between light, dark, or system-based appearance for your\n workspace.\n </template>\n\n <Appearance\n :colorMode=\"colorMode\"\n @update:colorMode=\"(value) => emit('update:colorMode', value)\" />\n </Section>\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport { cva, cx, ScalarButton, ScalarIcon } from '@scalar/components'\nimport {\n presets,\n themeLabels,\n type IntegrationThemeId,\n type Theme,\n type ThemeId,\n} from '@scalar/themes'\nimport { computed } from 'vue'\n\nimport IntegrationLogo from '@/components/ImportCollection/IntegrationLogo.vue'\n\nimport Appearance from './components/Appearance.vue'\nimport Section from './components/Section.vue'\nimport { getThemeColors } from './helpers/get-theme-colors'\n\ntype ColorMode = 'system' | 'light' | 'dark'\n\nconst {\n activeProxyUrl,\n customThemes = [],\n activeThemeSlug,\n colorMode,\n} = defineProps<{\n /** Currently active proxy URL, when set to null means no proxy */\n activeProxyUrl?: string | null\n /** Custom themes available to the team */\n customThemes?: Theme[]\n /** Currently active theme ID */\n activeThemeSlug?: string\n /** Currently active color mode */\n colorMode: ColorMode\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:proxyUrl', value: string | null): void\n (e: 'update:themeSlug', value: string | undefined): void\n (e: 'update:colorMode', value: ColorMode): void\n}>()\n\nconst DEFAULT_PROXY_URL = 'https://proxy.scalar.com'\n\nconst THEME_IDS: Exclude<ThemeId, IntegrationThemeId>[] = [\n 'none',\n 'default',\n 'alternate',\n 'purple',\n 'solarized',\n 'saturn',\n 'kepler',\n]\n\nconst INTEGRATION_THEME_IDS: IntegrationThemeId[] = ['elysiajs', 'fastify']\n\nconst defaultThemes = THEME_IDS.map((themeId) => {\n if (themeId === 'none') {\n return {\n slug: themeId,\n name: 'None',\n description: 'No theme',\n theme: '',\n }\n }\n return presets[themeId]\n})\n\nconst integrationThemes = INTEGRATION_THEME_IDS.map((themeId) => ({\n slug: themeId,\n name: themeLabels[themeId],\n description: themeLabels[themeId],\n theme: '',\n}))\n\nconst customThemeSlugs = computed(\n () => new Set(customThemes.map((theme) => theme.slug)),\n)\n\nconst buttonStyles = cva({\n base: 'w-full shadow-none text-c-1 justify-start pl-2 gap-2 border',\n variants: {\n active: {\n true: 'bg-primary text-c-1 hover:bg-inherit',\n false: 'bg-b-1 hover:bg-b-2',\n },\n },\n})\n\n/**\n * Determines if the \"None\" theme should be selected.\n * This happens when no theme is selected, or when the selected theme does not exist.\n */\nconst isNoneThemeSelected = computed(() => {\n if (activeThemeSlug === undefined || activeThemeSlug === 'none') {\n return true\n }\n\n const isValidTheme =\n customThemeSlugs.value.has(activeThemeSlug) ||\n defaultThemes.some((theme) => theme.slug === activeThemeSlug) ||\n integrationThemes.some((theme) => theme.slug === activeThemeSlug)\n\n return !isValidTheme\n})\n\nconst isNoneTheme = (themeId: string): boolean => themeId === 'none'\n\nconst isThemeActive = (themeSlug: string): boolean => {\n return (\n activeThemeSlug === themeSlug ||\n (isNoneTheme(themeSlug) && isNoneThemeSelected.value)\n )\n}\n\nconst checkmarkClasses = (isActive: boolean) =>\n cx(\n 'flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1',\n isActive && 'bg-c-accent text-b-1 border-transparent',\n )\n</script>\n<template>\n <div class=\"flex flex-col gap-10\">\n <!-- Proxy -->\n <Section>\n <template #title>CORS Proxy</template>\n <template #description>\n Browsers block cross-origin requests for security. We provide a public\n proxy to\n <a\n class=\"hover:text-c-1 underline-offset-2\"\n href=\"https://en.wikipedia.org/wiki/Cross-origin_resource_sharing\"\n target=\"_blank\">\n bypass CORS issues\n </a>\n . Check the\n <a\n class=\"hover:text-c-1 underline-offset-2\"\n href=\"https://github.com/scalar/scalar/tree/main/projects/proxy-scalar-com\"\n target=\"_blank\">\n source code on GitHub\n </a>\n .\n </template>\n\n <div class=\"flex flex-col gap-2\">\n <ScalarButton\n :class=\"\n cx(\n buttonStyles({\n active: activeProxyUrl === DEFAULT_PROXY_URL,\n }),\n )\n \"\n @click=\"emit('update:proxyUrl', DEFAULT_PROXY_URL)\">\n <div :class=\"checkmarkClasses(activeProxyUrl === DEFAULT_PROXY_URL)\">\n <ScalarIcon\n v-if=\"activeProxyUrl === DEFAULT_PROXY_URL\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Use proxy.scalar.com (default)\n </ScalarButton>\n\n <ScalarButton\n :class=\"cx(buttonStyles({ active: !activeProxyUrl }))\"\n @click=\"emit('update:proxyUrl', null)\">\n <div :class=\"checkmarkClasses(!activeProxyUrl)\">\n <ScalarIcon\n v-if=\"!activeProxyUrl\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Skip the proxy\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Themes -->\n <Section>\n <template #title>Themes</template>\n <template #description>\n We've got a whole rainbow of themes for you to play with:\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in defaultThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: isThemeActive(theme.slug) }))\"\n @click=\"\n emit(\n 'update:themeSlug',\n isNoneTheme(theme.slug) ? undefined : theme.slug,\n )\n \">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(isThemeActive(theme.slug))\">\n <ScalarIcon\n v-if=\"isThemeActive(theme.slug)\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n <div class=\"flex items-center gap-1\">\n <span\n class=\"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).light,\n }\" />\n <span\n class=\"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).dark,\n }\" />\n <span\n class=\"border-c-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).accent,\n }\" />\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Frameworks -->\n <Section>\n <template #title>Framework Themes</template>\n <template #description>\n Are you a real fan? Show your support by using your favorite framework's\n theme!\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in integrationThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: activeThemeSlug === theme.slug }))\"\n @click=\"emit('update:themeSlug', theme.slug)\">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(activeThemeSlug === theme.slug)\">\n <ScalarIcon\n v-if=\"activeThemeSlug === theme.slug\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n <div class=\"flex items-center gap-1\">\n <div class=\"size-7 rounded-xl\">\n <IntegrationLogo :integration=\"theme.slug\" />\n </div>\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Custom Themes -->\n <Section v-if=\"customThemes.length > 0\">\n <template #title> Custom Themes </template>\n <template #description>\n Team defined themes are available to all workspaces in the team.\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in customThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: activeThemeSlug === theme.slug }))\"\n @click=\"emit('update:themeSlug', theme.slug)\">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(activeThemeSlug === theme.slug)\">\n <ScalarIcon\n v-if=\"activeThemeSlug === theme.slug\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Appearance -->\n <Section>\n <template #title>Appearance</template>\n <template #description>\n Choose between light, dark, or system-based appearance for your\n workspace.\n </template>\n\n <Appearance\n :colorMode=\"colorMode\"\n @update:colorMode=\"(value) => emit('update:colorMode', value)\" />\n </Section>\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport {\n ScalarButton,\n ScalarIcon,\n ScalarModal,\n ScalarToggle,\n useModal,\n} from '@scalar/components'\n\nimport DeleteSidebarListElement from '@/components/Sidebar/Actions/DeleteSidebarListElement.vue'\n\nimport Section from './components/Section.vue'\n\nconst {\n documentUrl,\n watchMode,\n title,\n isDraftDocument = false,\n} = defineProps<{\n /** Document source url if available */\n documentUrl?: string\n /** Watch mode status if also document url is provided */\n watchMode?: boolean\n /** Document title */\n title: string\n /** Whether the document is a draft document */\n isDraftDocument?: boolean\n}>()\n\nconst emit = defineEmits<{\n /** Delete current document */\n (e: 'delete:document'): void\n /** Update watch mode status */\n (e: 'update:watchMode', value: boolean): void\n}>()\n\nconst deleteModal = useModal()\n\n/**\n * Handles the delete button click.\n * Prevents opening the modal if the document is a draft.\n */\nconst handleDeleteClick = () => {\n if (isDraftDocument) {\n return\n }\n deleteModal.show()\n}\n\nconst handleDocumentDelete = () => {\n emit('delete:document')\n deleteModal.hide()\n}\n</script>\n\n<template>\n <div class=\"flex flex-col gap-12\">\n <Section>\n <template #title>Features</template>\n <!-- Watch Mode -->\n <div class=\"bg-b-2 rounded-lg border text-sm\">\n <div\n class=\"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3\">\n <div>\n <h4>Watch Mode</h4>\n <p class=\"text-c-2 mt-1\">\n When enabled, the OpenAPI document will be polled for changes. The\n collection will be updated automatically.\n </p>\n </div>\n <ScalarToggle\n class=\"w-4\"\n :disabled=\"!documentUrl\"\n :modelValue=\"watchMode ?? false\"\n @update:modelValue=\"(value) => emit('update:watchMode', value)\" />\n </div>\n <div\n class=\"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap\">\n <div class=\"flex items-center\">\n <template v-if=\"documentUrl\">\n <span class=\"bg-b-2 sticky left-0 pr-2 pl-3\">Source</span>\n <a\n class=\"text-c-2 group rounded pr-3 no-underline hover:underline\"\n :href=\"documentUrl\"\n target=\"_blank\">\n {{ documentUrl }}\n <ScalarIcon\n class=\"ml-1 hidden w-2.5 group-hover:inline\"\n icon=\"ExternalLink\" />\n </a>\n </template>\n <template v-else>\n <ScalarIcon\n class=\"text-c-2 mr-2 ml-3 w-4\"\n icon=\"NotAllowed\"\n size=\"sm\" />\n <span class=\"text-c-2 pr-3\">\n No URL configured. Try importing an OpenAPI document from an\n URL.\n </span>\n </template>\n </div>\n </div>\n </div>\n </Section>\n\n <!-- Danger Zone -->\n <Section>\n <template #title>Danger Zone</template>\n <div\n class=\"flex items-center justify-between rounded-lg border p-3 text-sm\">\n <div>\n <h4>Delete Collection</h4>\n <p class=\"text-c-2 mt-1\">\n Be careful, my friend. Once deleted, there is no way to recover the\n collection.\n </p>\n </div>\n <!-- user can not delete draft documents -->\n <ScalarButton\n :disabled=\"isDraftDocument\"\n size=\"sm\"\n variant=\"danger\"\n @click=\"handleDeleteClick\">\n Delete Collection\n </ScalarButton>\n </div>\n </Section>\n </div>\n <!-- Delete Modal -->\n <ScalarModal\n :size=\"'xxs'\"\n :state=\"deleteModal\"\n :title=\"`Delete ${title}`\">\n <DeleteSidebarListElement\n :variableName=\"title ?? ''\"\n warningMessage=\"This action cannot be undone.\"\n @close=\"deleteModal.hide()\"\n @delete=\"handleDocumentDelete\" />\n </ScalarModal>\n</template>\n","<script setup lang=\"ts\">\nimport {\n ScalarButton,\n ScalarIcon,\n ScalarModal,\n ScalarToggle,\n useModal,\n} from '@scalar/components'\n\nimport DeleteSidebarListElement from '@/components/Sidebar/Actions/DeleteSidebarListElement.vue'\n\nimport Section from './components/Section.vue'\n\nconst {\n documentUrl,\n watchMode,\n title,\n isDraftDocument = false,\n} = defineProps<{\n /** Document source url if available */\n documentUrl?: string\n /** Watch mode status if also document url is provided */\n watchMode?: boolean\n /** Document title */\n title: string\n /** Whether the document is a draft document */\n isDraftDocument?: boolean\n}>()\n\nconst emit = defineEmits<{\n /** Delete current document */\n (e: 'delete:document'): void\n /** Update watch mode status */\n (e: 'update:watchMode', value: boolean): void\n}>()\n\nconst deleteModal = useModal()\n\n/**\n * Handles the delete button click.\n * Prevents opening the modal if the document is a draft.\n */\nconst handleDeleteClick = () => {\n if (isDraftDocument) {\n return\n }\n deleteModal.show()\n}\n\nconst handleDocumentDelete = () => {\n emit('delete:document')\n deleteModal.hide()\n}\n</script>\n\n<template>\n <div class=\"flex flex-col gap-12\">\n <Section>\n <template #title>Features</template>\n <!-- Watch Mode -->\n <div class=\"bg-b-2 rounded-lg border text-sm\">\n <div\n class=\"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3\">\n <div>\n <h4>Watch Mode</h4>\n <p class=\"text-c-2 mt-1\">\n When enabled, the OpenAPI document will be polled for changes. The\n collection will be updated automatically.\n </p>\n </div>\n <ScalarToggle\n class=\"w-4\"\n :disabled=\"!documentUrl\"\n :modelValue=\"watchMode ?? false\"\n @update:modelValue=\"(value) => emit('update:watchMode', value)\" />\n </div>\n <div\n class=\"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap\">\n <div class=\"flex items-center\">\n <template v-if=\"documentUrl\">\n <span class=\"bg-b-2 sticky left-0 pr-2 pl-3\">Source</span>\n <a\n class=\"text-c-2 group rounded pr-3 no-underline hover:underline\"\n :href=\"documentUrl\"\n target=\"_blank\">\n {{ documentUrl }}\n <ScalarIcon\n class=\"ml-1 hidden w-2.5 group-hover:inline\"\n icon=\"ExternalLink\" />\n </a>\n </template>\n <template v-else>\n <ScalarIcon\n class=\"text-c-2 mr-2 ml-3 w-4\"\n icon=\"NotAllowed\"\n size=\"sm\" />\n <span class=\"text-c-2 pr-3\">\n No URL configured. Try importing an OpenAPI document from an\n URL.\n </span>\n </template>\n </div>\n </div>\n </div>\n </Section>\n\n <!-- Danger Zone -->\n <Section>\n <template #title>Danger Zone</template>\n <div\n class=\"flex items-center justify-between rounded-lg border p-3 text-sm\">\n <div>\n <h4>Delete Collection</h4>\n <p class=\"text-c-2 mt-1\">\n Be careful, my friend. Once deleted, there is no way to recover the\n collection.\n </p>\n </div>\n <!-- user can not delete draft documents -->\n <ScalarButton\n :disabled=\"isDraftDocument\"\n size=\"sm\"\n variant=\"danger\"\n @click=\"handleDeleteClick\">\n Delete Collection\n </ScalarButton>\n </div>\n </Section>\n </div>\n <!-- Delete Modal -->\n <ScalarModal\n :size=\"'xxs'\"\n :state=\"deleteModal\"\n :title=\"`Delete ${title}`\">\n <DeleteSidebarListElement\n :variableName=\"title ?? ''\"\n warningMessage=\"This action cannot be undone.\"\n @close=\"deleteModal.hide()\"\n @delete=\"handleDocumentDelete\" />\n </ScalarModal>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;ECCA,MAAM,QAAQ,UAAA;;uBASZ,mBA0BM,OA1BN,cA0BM,CAxBI,MAAM,SAAS,MAAM,eAAA,WAAA,EAD7B,mBAsBM,OAtBN,cAsBM,CAnBJ,mBAcM,OAdN,cAcM,CAZI,MAAM,SAAA,WAAA,EADd,mBAMM,OANN,cAMM,CAHJ,mBAEK,MAFL,cAEK,CADH,WAAqB,KAAA,QAAA,QAAA,CAAA,CAAA,CAAA,CAAA,IAAA,mBAAA,IAAA,KAAA,EAKjB,MAAM,eAAA,WAAA,EADd,mBAII,KAJJ,cAII,CADF,WAA2B,KAAA,QAAA,cAAA,CAAA,CAAA,IAAA,mBAAA,IAAA,KAAA,CAAA,CAAA,EAKvB,MAAM,UADd,WAEmB,KAAA,QAAA,WAAA,EAAA,KAAA,GAAA,CAAA,GAAA,mBAAA,IAAA,KAAA,CAAA,CAAA,IAAA,mBAAA,IAAA,KAAA,EAGrB,WAAQ,KAAA,QAAA,UAAA,CAAA,CAAA;;;;;;;;;;;;;;EE5BZ,MAAM,OAAO;EAIb,MAAM,eAAe,IAAI;GACvB,MAAM;GACN,UAAU,EACR,QAAQ;IACN,MAAM;IACN,OAAO;IACR,EACF;GACF,CAAA;;uBAGC,mBAiDM,OAjDN,cAi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