@scalar/api-client 2.0.64 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +64 -62
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +77 -69
  7. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  8. package/dist/components/AddressBar/AddressBarServer.vue.js +121 -0
  9. package/dist/components/AddressBar/AddressBarServer.vue2.js +4 -0
  10. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts +22 -0
  11. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -0
  12. package/dist/components/AddressBar/AddressBarServerItem.vue.js +57 -0
  13. package/dist/components/AddressBar/AddressBarServerItem.vue2.js +4 -0
  14. package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -6
  15. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  16. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  17. package/dist/components/CodeInput/CodeInput.vue2.js +87 -82
  18. package/dist/components/CodeInput/codeVariableWidget.d.ts +4 -4
  19. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  20. package/dist/components/CodeInput/codeVariableWidget.js +70 -63
  21. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +33 -0
  22. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -0
  23. package/dist/components/CommandPalette/CommandActionForm.vue.js +41 -0
  24. package/dist/components/CommandPalette/CommandActionForm.vue2.js +4 -0
  25. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +20 -0
  26. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -0
  27. package/dist/components/CommandPalette/CommandActionInput.vue.js +42 -0
  28. package/dist/components/CommandPalette/CommandActionInput.vue2.js +4 -0
  29. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  30. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +33 -56
  31. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  32. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +88 -109
  33. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  34. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -73
  35. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +21 -2
  36. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  37. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +122 -133
  38. package/dist/components/CommandPalette/{CommandPaletteFolder.vue.d.ts → CommandPaletteServer.vue.d.ts} +1 -1
  39. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -0
  40. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +92 -0
  41. package/dist/components/CommandPalette/CommandPaletteServer.vue2.js +4 -0
  42. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +7 -0
  43. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -0
  44. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +87 -0
  45. package/dist/components/CommandPalette/CommandPaletteTag.vue2.js +4 -0
  46. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
  47. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +33 -49
  48. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +22 -3
  49. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  50. package/dist/components/CommandPalette/TheCommandPalette.vue.js +3 -3
  51. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +107 -101
  52. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  53. package/dist/components/ContextBar.vue.js +2 -2
  54. package/dist/components/ContextBar.vue2.js +2 -2
  55. package/dist/components/DataTable/DataTable.vue.js +1 -1
  56. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  57. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  58. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  59. package/dist/components/DataTable/DataTableInput.vue2.js +13 -13
  60. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  61. package/dist/components/DataTable/DataTableInputSelect.vue.js +39 -40
  62. package/dist/components/DataTable/index.js +12 -12
  63. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +7 -7
  64. package/dist/components/Form/Form.vue.js +1 -1
  65. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  66. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  67. package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
  68. package/dist/components/HttpMethod/HttpMethod.vue2.js +30 -30
  69. package/dist/components/HttpMethod/helpers.d.ts +4 -0
  70. package/dist/components/HttpMethod/helpers.d.ts.map +1 -0
  71. package/dist/components/HttpMethod/helpers.js +5 -0
  72. package/dist/components/HttpMethod/index.d.ts +1 -0
  73. package/dist/components/HttpMethod/index.d.ts.map +1 -1
  74. package/dist/components/HttpMethod/index.js +4 -2
  75. package/dist/components/Search/SearchModal.vue.d.ts.map +1 -1
  76. package/dist/components/Search/SearchModal.vue.js +2 -2
  77. package/dist/components/Search/SearchModal.vue2.js +29 -27
  78. package/dist/components/Search/useSearch.js +35 -35
  79. package/dist/components/SideNav/SideNavLink.vue.js +6 -6
  80. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  81. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +14 -17
  82. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts +22 -0
  83. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts.map +1 -0
  84. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.js +29 -0
  85. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue2.js +4 -0
  86. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  87. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
  88. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +38 -35
  89. package/dist/components/Sidebar/Sidebar.vue.d.ts +2 -1
  90. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  91. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  92. package/dist/components/Sidebar/Sidebar.vue2.js +37 -34
  93. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  94. package/dist/components/Sidebar/SidebarButton.vue.js +11 -11
  95. package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
  96. package/dist/components/SubpageHeader.vue.js +3 -3
  97. package/dist/components/SubpageHeader.vue2.js +3 -3
  98. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  99. package/dist/components/TopNav/TopNav.vue.js +2 -2
  100. package/dist/components/TopNav/TopNav.vue2.js +23 -23
  101. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  102. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  103. package/dist/components/TopNav/TopNavItem.vue2.js +21 -21
  104. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  105. package/dist/components/ViewLayout/ViewLayout.vue.js +7 -7
  106. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  107. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +5 -5
  108. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
  109. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +4 -4
  110. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  111. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +6 -6
  112. package/dist/index.d.ts +1 -1
  113. package/dist/index.d.ts.map +1 -1
  114. package/dist/index.js +1 -1
  115. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  116. package/dist/layouts/App/ApiClientApp.vue.js +39 -53
  117. package/dist/layouts/App/create-api-client-app.d.ts +2058 -1941
  118. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  119. package/dist/layouts/App/create-api-client-app.js +12 -12
  120. package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
  121. package/dist/layouts/Modal/ApiClientModal.vue2.js +6 -6
  122. package/dist/layouts/Modal/create-api-client-modal.d.ts +4590 -4356
  123. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  124. package/dist/layouts/Modal/create-api-client-modal.js +18 -23
  125. package/dist/libs/create-client.d.ts +2086 -1972
  126. package/dist/libs/create-client.d.ts.map +1 -1
  127. package/dist/libs/create-client.js +85 -76
  128. package/dist/libs/environment-parser.d.ts +9 -0
  129. package/dist/libs/environment-parser.d.ts.map +1 -0
  130. package/dist/libs/environment-parser.js +17 -0
  131. package/dist/libs/errors.d.ts +21 -0
  132. package/dist/libs/errors.d.ts.map +1 -0
  133. package/dist/libs/errors.js +14 -0
  134. package/dist/libs/event-busses/command-palette-bus.d.ts +1 -1
  135. package/dist/libs/event-busses/command-palette-bus.d.ts.map +1 -1
  136. package/dist/libs/event-busses/hot-keys-bus.d.ts +4 -4
  137. package/dist/libs/event-busses/hot-keys-bus.d.ts.map +1 -1
  138. package/dist/libs/event-busses/hot-keys-bus.js +17 -19
  139. package/dist/libs/index.d.ts +5 -2
  140. package/dist/libs/index.d.ts.map +1 -1
  141. package/dist/libs/index.js +31 -24
  142. package/dist/libs/local-storage.d.ts +3 -3
  143. package/dist/libs/local-storage.d.ts.map +1 -1
  144. package/dist/libs/local-storage.js +24 -12
  145. package/dist/libs/normalize-headers.d.ts +14 -0
  146. package/dist/libs/normalize-headers.d.ts.map +1 -0
  147. package/dist/libs/normalize-headers.js +32 -0
  148. package/dist/libs/send-request.d.ts +28 -0
  149. package/dist/libs/send-request.d.ts.map +1 -0
  150. package/dist/libs/send-request.js +186 -0
  151. package/dist/libs/string-template.d.ts +19 -0
  152. package/dist/libs/string-template.d.ts.map +1 -0
  153. package/dist/libs/string-template.js +30 -0
  154. package/dist/router.d.ts +5 -0
  155. package/dist/router.d.ts.map +1 -1
  156. package/dist/router.js +36 -27
  157. package/dist/store/collections.d.ts +705 -0
  158. package/dist/store/collections.d.ts.map +1 -0
  159. package/dist/store/collections.js +63 -0
  160. package/dist/store/cookies.d.ts +135 -0
  161. package/dist/store/cookies.d.ts.map +1 -0
  162. package/dist/store/cookies.js +29 -0
  163. package/dist/store/environment.d.ts +80 -0
  164. package/dist/store/environment.d.ts.map +1 -0
  165. package/dist/store/environment.js +39 -0
  166. package/dist/store/import-spec.d.ts +8 -0
  167. package/dist/store/import-spec.d.ts.map +1 -0
  168. package/dist/store/import-spec.js +45 -0
  169. package/dist/store/index.d.ts +1 -1
  170. package/dist/store/index.d.ts.map +1 -1
  171. package/dist/store/index.js +1 -1
  172. package/dist/store/request-example.d.ts +1111 -0
  173. package/dist/store/request-example.d.ts.map +1 -0
  174. package/dist/store/request-example.js +47 -0
  175. package/dist/store/requests.d.ts +371 -0
  176. package/dist/store/requests.d.ts.map +1 -0
  177. package/dist/store/requests.js +107 -0
  178. package/dist/store/router-params.d.ts +15 -0
  179. package/dist/store/router-params.d.ts.map +1 -0
  180. package/dist/store/router-params.js +21 -0
  181. package/dist/store/security-schemes.d.ts +616 -0
  182. package/dist/store/security-schemes.d.ts.map +1 -0
  183. package/dist/store/security-schemes.js +68 -0
  184. package/dist/store/servers.d.ts +99 -0
  185. package/dist/store/servers.d.ts.map +1 -0
  186. package/dist/store/servers.js +46 -0
  187. package/dist/store/store-context.d.ts +29 -0
  188. package/dist/store/store-context.d.ts.map +1 -0
  189. package/dist/store/store.d.ts +7504 -0
  190. package/dist/store/store.d.ts.map +1 -0
  191. package/dist/store/store.js +200 -0
  192. package/dist/store/tags.d.ts +169 -0
  193. package/dist/store/tags.d.ts.map +1 -0
  194. package/dist/store/tags.js +57 -0
  195. package/dist/store/workspace.d.ts +93 -7150
  196. package/dist/store/workspace.d.ts.map +1 -1
  197. package/dist/store/workspace.js +49 -543
  198. package/dist/style.css +1 -1
  199. package/dist/views/Cookies/CookieForm.vue.js +2 -2
  200. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  201. package/dist/views/Cookies/CookieRaw.vue.js +10 -10
  202. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  203. package/dist/views/Cookies/Cookies.vue2.js +21 -23
  204. package/dist/views/Environment/Environment.vue2.js +27 -28
  205. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +11 -5
  206. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  207. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +79 -59
  208. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  209. package/dist/views/Request/Request.vue.js +2 -2
  210. package/dist/views/Request/Request.vue2.js +87 -318
  211. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +36 -0
  212. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -0
  213. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +59 -0
  214. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue2.js +4 -0
  215. package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuth2.vue.d.ts +3 -1
  216. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -0
  217. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +216 -0
  218. package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue.d.ts +2 -2
  219. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -0
  220. package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue.js +3 -3
  221. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -0
  222. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +7 -0
  223. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +183 -0
  224. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +30 -0
  225. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +1 -0
  226. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +3 -0
  227. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -0
  228. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +140 -0
  229. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue2.js +4 -0
  230. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
  231. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  232. package/dist/views/Request/RequestSection/RequestBody.vue.js +167 -186
  233. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
  234. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  235. package/dist/views/Request/RequestSection/RequestParams.vue.js +49 -49
  236. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
  237. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  238. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +26 -22
  239. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  240. package/dist/views/Request/RequestSection/RequestSection.vue.js +103 -102
  241. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +5 -5
  242. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  243. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  244. package/dist/views/Request/RequestSection/RequestTable.vue2.js +1 -1
  245. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +1 -1
  246. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  247. package/dist/views/Request/RequestSidebar.vue.d.ts +30 -0
  248. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -0
  249. package/dist/views/Request/RequestSidebar.vue.js +7 -0
  250. package/dist/views/Request/RequestSidebar.vue2.js +179 -0
  251. package/dist/views/Request/RequestSidebarItem.vue.d.ts +6 -7
  252. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  253. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  254. package/dist/views/Request/RequestSidebarItem.vue2.js +283 -254
  255. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +3 -5
  256. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  257. package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
  258. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +9 -7
  259. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +24 -0
  260. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -0
  261. package/dist/views/Request/RequestSubpageHeader.vue.js +7 -0
  262. package/dist/views/Request/RequestSubpageHeader.vue2.js +48 -0
  263. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  264. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +21 -21
  265. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  266. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +3 -3
  267. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +17 -16
  268. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  269. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  270. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +37 -30
  271. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +1 -1
  272. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  273. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
  274. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  275. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  276. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  277. package/dist/views/Request/components/WorkspaceDropdown.vue.js +69 -90
  278. package/dist/views/Request/components/index.d.ts +0 -1
  279. package/dist/views/Request/components/index.d.ts.map +1 -1
  280. package/dist/views/Request/components/index.js +2 -4
  281. package/dist/views/Request/consts/new-auth-options.d.ts +11 -1
  282. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
  283. package/dist/views/Request/consts/new-auth-options.js +17 -7
  284. package/dist/views/Request/handle-drag.d.ts +8 -0
  285. package/dist/views/Request/handle-drag.d.ts.map +1 -0
  286. package/dist/views/Request/handle-drag.js +56 -0
  287. package/dist/views/Request/libs/auth.d.ts +35 -0
  288. package/dist/views/Request/libs/auth.d.ts.map +1 -0
  289. package/dist/views/Request/libs/auth.js +14 -0
  290. package/dist/views/Request/libs/index.d.ts +1 -0
  291. package/dist/views/Request/libs/index.d.ts.map +1 -1
  292. package/dist/views/Request/libs/index.js +7 -3
  293. package/dist/views/Request/libs/oauth2.d.ts +12 -3
  294. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  295. package/dist/views/Request/libs/oauth2.js +42 -27
  296. package/dist/views/Servers/ServerForm.vue.js +22 -22
  297. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  298. package/dist/views/Servers/Servers.vue2.js +17 -14
  299. package/package.json +9 -9
  300. package/dist/components/CodeInput/codeDropdownWidget.d.ts +0 -32
  301. package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +0 -1
  302. package/dist/components/CodeInput/codeDropdownWidget.js +0 -121
  303. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +0 -1
  304. package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +0 -106
  305. package/dist/components/CommandPalette/CommandPaletteFolder.vue2.js +0 -4
  306. package/dist/errors.d.ts +0 -5
  307. package/dist/errors.d.ts.map +0 -1
  308. package/dist/errors.js +0 -7
  309. package/dist/libs/normalizeHeaders.d.ts +0 -11
  310. package/dist/libs/normalizeHeaders.d.ts.map +0 -1
  311. package/dist/libs/normalizeHeaders.js +0 -25
  312. package/dist/libs/pathParams.d.ts +0 -10
  313. package/dist/libs/pathParams.d.ts.map +0 -1
  314. package/dist/libs/pathParams.js +0 -36
  315. package/dist/libs/sendRequest.d.ts +0 -14
  316. package/dist/libs/sendRequest.d.ts.map +0 -1
  317. package/dist/libs/sendRequest.js +0 -163
  318. package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +0 -1
  319. package/dist/views/Request/RequestSection/RequestAuth.vue.js +0 -7
  320. package/dist/views/Request/RequestSection/RequestAuth.vue2.js +0 -351
  321. package/dist/views/Request/components/OAuth2.vue.d.ts.map +0 -1
  322. package/dist/views/Request/components/OAuth2.vue.js +0 -208
  323. package/dist/views/Request/components/OAuthScopesInput.vue.d.ts.map +0 -1
  324. /package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuth2.vue2.js +0 -0
  325. /package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue2.js +0 -0
  326. /package/dist/views/Request/RequestSection/{RequestAuth.vue.d.ts → RequestAuth/RequestAuth.vue.d.ts} +0 -0
@@ -11,9 +11,23 @@ export declare const PaletteComponents: {
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
12
12
  onClose?: (() => any) | undefined;
13
13
  }, {}, {}>;
14
- readonly 'Create Request': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ readonly 'Create Request': import("vue").DefineComponent<{
15
+ metaData: {
16
+ type: import("vue").PropType<{
17
+ itemUid: string;
18
+ parentUid: string;
19
+ }>;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
22
  close: () => void;
16
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
23
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ metaData: {
25
+ type: import("vue").PropType<{
26
+ itemUid: string;
27
+ parentUid: string;
28
+ }>;
29
+ };
30
+ }>> & {
17
31
  onClose?: (() => any) | undefined;
18
32
  }, {}, {}>;
19
33
  readonly 'Create Workspace': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -21,7 +35,12 @@ export declare const PaletteComponents: {
21
35
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
22
36
  onClose?: (() => any) | undefined;
23
37
  }, {}, {}>;
24
- readonly 'Add Folder': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ readonly 'Add Tag': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ close: () => void;
40
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
41
+ onClose?: (() => any) | undefined;
42
+ }, {}, {}>;
43
+ readonly 'Add Server': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
44
  close: () => void;
26
45
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
27
46
  onClose?: (() => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AA+WA;;;;GAIG;;AACH,wBAyYI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CACxD"}
1
+ {"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAiXA;;;;GAIG;;AACH,wBAkZI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CACxD"}
@@ -1,9 +1,9 @@
1
1
  import o from "./TheCommandPalette.vue2.js";
2
- import { PaletteComponents as s } from "./TheCommandPalette.vue2.js";
2
+ import { PaletteComponents as f } from "./TheCommandPalette.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-27c7a3a7"]]);
5
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cc61a404"]]);
6
6
  export {
7
- s as PaletteComponents,
7
+ f as PaletteComponents,
8
8
  r as default
9
9
  };
@@ -1,31 +1,33 @@
1
- import { defineComponent as F, ref as i, computed as E, onMounted as T, onBeforeUnmount as U, openBlock as a, createElementBlock as l, Fragment as u, withDirectives as h, createElementVNode as s, vShow as b, unref as f, createVNode as x, vModelText as q, renderList as I, toDisplayString as V, normalizeClass as K, createTextVNode as H, createCommentVNode as G, createBlock as Q, resolveDynamicComponent as j, nextTick as J } from "vue";
2
- import { useModal as O, ScalarIcon as w } from "@scalar/components";
3
- import { useRouter as X } from "vue-router";
4
- import { useWorkspace as Y } from "../../store/workspace.js";
5
- import Z from "./CommandPaletteCollection.vue.js";
6
- import ee from "./CommandPaletteExample.vue.js";
7
- import oe from "./CommandPaletteFolder.vue.js";
1
+ import { defineComponent as q, ref as i, computed as K, onMounted as F, onBeforeUnmount as H, openBlock as a, createElementBlock as l, Fragment as u, withDirectives as C, createElementVNode as r, vShow as b, unref as p, createVNode as x, withKeys as w, withModifiers as y, vModelText as U, renderList as M, toDisplayString as P, normalizeClass as G, createTextVNode as Q, createCommentVNode as j, createBlock as J, resolveDynamicComponent as O, nextTick as X } from "vue";
2
+ import { useModal as Y, ScalarIcon as g } from "@scalar/components";
3
+ import { useRouter as Z } from "vue-router";
4
+ import ee from "./CommandPaletteCollection.vue.js";
5
+ import oe from "./CommandPaletteExample.vue.js";
8
6
  import te from "./CommandPaletteImport.vue.js";
9
7
  import ne from "./CommandPaletteRequest.vue.js";
10
- import ae from "./CommandPaletteWorkspace.vue.js";
11
- import { commandPaletteBus as W } from "../../libs/event-busses/command-palette-bus.js";
12
- import { hotKeyBus as z } from "../../libs/event-busses/hot-keys-bus.js";
13
- const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rounded mb-2 pl-2 focus-within:bg-b-1 focus-within:shadow-border" }, ce = { for: "commandmenu" }, re = ["onClick"], me = {
8
+ import ae from "./CommandPaletteServer.vue.js";
9
+ import le from "./CommandPaletteTag.vue.js";
10
+ import se from "./CommandPaletteWorkspace.vue.js";
11
+ import { commandPaletteBus as T } from "../../libs/event-busses/command-palette-bus.js";
12
+ import { useWorkspace as re } from "../../store/store.js";
13
+ import { hotKeyBus as V } from "../../libs/event-busses/hot-keys-bus.js";
14
+ const me = { class: "commandmenu" }, ce = { class: "bg-b-2 flex items-center rounded mb-2 pl-2 focus-within:bg-b-1 focus-within:shadow-border" }, ie = { for: "commandmenu" }, ue = ["onKeydown"], de = ["onClick"], pe = {
14
15
  key: 0,
15
16
  class: "text-c-3 text-center text-sm p-2 pt-3"
16
- }, ie = {
17
+ }, fe = {
17
18
  name: "TheCommandPalette"
18
- }, ue = {
19
+ }, ve = {
19
20
  "Import Collection": te,
20
21
  "Create Request": ne,
21
- "Create Workspace": ae,
22
- "Add Folder": oe,
23
- "Create Collection": Z,
24
- "Add Example": ee
25
- }, Se = /* @__PURE__ */ F({
26
- ...ie,
27
- setup(de) {
28
- const y = [
22
+ "Create Workspace": se,
23
+ "Add Tag": le,
24
+ "Add Server": ae,
25
+ "Create Collection": ee,
26
+ "Add Example": oe
27
+ }, Le = /* @__PURE__ */ q({
28
+ ...fe,
29
+ setup(Ce) {
30
+ const S = [
29
31
  {
30
32
  label: "Add to Request Sidebar",
31
33
  commands: [
@@ -38,7 +40,7 @@ const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rou
38
40
  icon: "Import"
39
41
  },
40
42
  {
41
- name: "Add Folder",
43
+ name: "Add Tag",
42
44
  icon: "Folder"
43
45
  },
44
46
  {
@@ -48,6 +50,10 @@ const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rou
48
50
  {
49
51
  name: "Add Example",
50
52
  icon: "Example"
53
+ },
54
+ {
55
+ name: "Add Server",
56
+ icon: "Server"
51
57
  }
52
58
  ]
53
59
  },
@@ -58,11 +64,6 @@ const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rou
58
64
  name: "Create Workspace",
59
65
  icon: "Workspace"
60
66
  },
61
- // {
62
- // name: 'Add Server',
63
- // icon: 'Server',
64
- // path: '/servers',
65
- // },
66
67
  {
67
68
  name: "Add Environment",
68
69
  icon: "Brackets",
@@ -75,138 +76,143 @@ const le = { class: "commandmenu" }, se = { class: "bg-b-2 flex items-center rou
75
76
  }
76
77
  ]
77
78
  }
78
- ], c = O(), { push: M } = X(), { activeWorkspace: N } = Y(), R = i(), r = i(""), m = i(null), d = i(-1), S = i([]), C = E(
79
- () => y.reduce((e, n) => {
80
- const o = n.commands.filter(
81
- (t) => t.name.toLowerCase().includes(r.value.toLowerCase())
79
+ ], m = Y(), { push: W } = Z(), { activeWorkspace: z } = re(), $ = i(), c = i(""), s = i(null), d = i(-1), A = i([]), h = K(
80
+ () => S.reduce((t, o) => {
81
+ const e = o.commands.filter(
82
+ (n) => n.name.toLowerCase().includes(c.value.toLowerCase())
82
83
  );
83
- return [...e, ...o];
84
+ return [...t, ...e];
84
85
  }, [])
85
- ), p = () => {
86
- c.hide(), r.value = "", m.value = null, d.value = -1;
87
- }, g = (e) => {
88
- "path" in e ? (M(`/workspace/${N.value.uid}${e.path}`), p()) : m.value = e.name;
89
- }, $ = i(), D = ({
90
- commandName: e,
91
- metaData: n
86
+ ), f = () => {
87
+ m.hide(), c.value = "", s.value = null, d.value = -1;
88
+ }, R = (t) => {
89
+ "path" in t ? (W(`/workspace/${z.value.uid}${t.path}`), f()) : s.value = t.name;
90
+ }, D = i(), L = ({
91
+ commandName: t,
92
+ metaData: o
92
93
  } = {}) => {
93
- m.value = e ?? null, R.value = n, c.show(), J(() => {
94
- var o;
95
- return (o = $.value) == null ? void 0 : o.focus();
94
+ s.value = t ?? null, $.value = o, m.show(), X(() => {
95
+ var e;
96
+ return (e = D.value) == null ? void 0 : e.focus();
96
97
  });
97
- }, A = (e, n) => {
98
+ }, B = (t, o) => {
98
99
  var v;
99
- if (!c.open) return;
100
- n.preventDefault();
101
- const o = e === "up" ? -1 : 1, t = C.value.length;
102
- d.value = (d.value + o + t) % t, (v = S.value[d.value]) == null || v.scrollIntoView({
100
+ if (!m.open) return;
101
+ o.preventDefault();
102
+ const e = t === "up" ? -1 : 1, n = h.value.length;
103
+ d.value = (d.value + e + n) % n, (v = A.value[d.value]) == null || v.scrollIntoView({
103
104
  behavior: "smooth",
104
105
  block: "center"
105
106
  });
106
- }, k = E(
107
- () => C.value[d.value]
108
- ), P = () => {
109
- k.value && g(k.value);
110
- }, L = (e) => {
111
- c.open && (e.closeModal && p(), e.navigateSearchResultsUp && A("up", e.navigateSearchResultsUp), e.navigateSearchResultsDown && A("down", e.navigateSearchResultsDown), e.selectSearchResult && P());
107
+ }, k = K(
108
+ () => h.value[d.value]
109
+ ), N = (t) => {
110
+ !k.value || s.value || (t.preventDefault(), t.stopPropagation(), R(k.value));
111
+ }, E = (t) => {
112
+ m.open && t.closeModal && f();
112
113
  };
113
- return T(() => {
114
- W.on(D), z.on(L);
115
- }), U(() => {
116
- W.off(D), z.off(L);
117
- }), (e, n) => (a(), l(u, null, [
118
- h(s("div", {
114
+ return F(() => {
115
+ T.on(L), V.on(E);
116
+ }), H(() => {
117
+ T.off(L), V.off(E);
118
+ }), (t, o) => (a(), l(u, null, [
119
+ C(r("div", {
119
120
  class: "commandmenu-clickout",
120
- onClick: n[0] || (n[0] = (o) => p())
121
+ onClick: o[0] || (o[0] = (e) => f())
121
122
  }, null, 512), [
122
- [b, f(c).open]
123
+ [b, p(m).open]
123
124
  ]),
124
- h(s("div", le, [
125
- m.value ? (a(), l(u, { key: 1 }, [
126
- s("button", {
127
- class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1 m-1.5 z-10",
125
+ C(r("div", me, [
126
+ s.value ? (a(), l(u, { key: 1 }, [
127
+ r("button", {
128
+ class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1 mr-1.5 my-1.5 z-10",
128
129
  type: "button",
129
- onClick: n[2] || (n[2] = (o) => m.value = null)
130
+ onClick: o[4] || (o[4] = (e) => s.value = null)
130
131
  }, [
131
- x(f(w), {
132
+ x(p(g), {
132
133
  icon: "ChevronLeft",
133
134
  size: "md",
134
135
  thickness: "1.5"
135
136
  })
136
137
  ]),
137
- (a(), Q(j(ue[m.value]), {
138
- metaData: R.value,
139
- onClose: p
138
+ (a(), J(O(ve[s.value]), {
139
+ metaData: $.value,
140
+ onClose: f
140
141
  }, null, 40, ["metaData"]))
141
142
  ], 64)) : (a(), l(u, { key: 0 }, [
142
- s("div", se, [
143
- s("label", ce, [
144
- x(f(w), {
143
+ r("div", ce, [
144
+ r("label", ie, [
145
+ x(p(g), {
145
146
  class: "text-c-1 mr-2.5",
146
147
  icon: "Search",
147
148
  size: "sm",
148
149
  thickness: "1.5"
149
150
  })
150
151
  ]),
151
- h(s("input", {
152
+ C(r("input", {
152
153
  id: "commandmenu",
153
154
  ref_key: "commandInputRef",
154
- ref: $,
155
- "onUpdate:modelValue": n[1] || (n[1] = (o) => r.value = o),
155
+ ref: D,
156
+ "onUpdate:modelValue": o[1] || (o[1] = (e) => c.value = e),
156
157
  autocomplete: "off",
157
158
  autofocus: "",
158
159
  class: "w-full rounded bg-none border-none py-1.5 text-sm focus:outline-none",
159
160
  placeholder: "Search commands...",
160
- type: "text"
161
- }, null, 512), [
162
- [q, r.value]
161
+ type: "text",
162
+ onKeydown: [
163
+ o[2] || (o[2] = w(y((e) => B("down", e), ["stop"]), ["down"])),
164
+ w(y(N, ["stop"]), ["enter"]),
165
+ o[3] || (o[3] = w(y((e) => B("up", e), ["stop"]), ["up"]))
166
+ ]
167
+ }, null, 40, ue), [
168
+ [U, c.value]
163
169
  ])
164
170
  ]),
165
- (a(), l(u, null, I(y, (o) => (a(), l(u, {
166
- key: o.label
171
+ (a(), l(u, null, M(S, (e) => (a(), l(u, {
172
+ key: e.label
167
173
  }, [
168
- h(s("div", { class: "text-c-3 font-medium text-xs mt-2" }, V(o.label), 513), [
174
+ C(r("div", { class: "text-c-3 font-medium text-xs mt-2" }, P(e.label), 513), [
169
175
  [
170
176
  b,
171
- o.commands.filter(
172
- (t) => t.name.toLowerCase().includes(r.value.toLowerCase())
177
+ e.commands.filter(
178
+ (n) => n.name.toLowerCase().includes(c.value.toLowerCase())
173
179
  ).length > 0
174
180
  ]
175
181
  ]),
176
- (a(!0), l(u, null, I(o.commands.filter(
177
- (t) => t.name.toLowerCase().includes(r.value.toLowerCase())
178
- ), (t, v) => {
179
- var B;
182
+ (a(!0), l(u, null, M(e.commands.filter(
183
+ (n) => n.name.toLowerCase().includes(c.value.toLowerCase())
184
+ ), (n, v) => {
185
+ var I;
180
186
  return a(), l("div", {
181
- key: t.name,
187
+ key: n.name,
182
188
  ref_for: !0,
183
189
  ref: (_) => {
184
- _ && (S.value[v] = _);
190
+ _ && (A.value[v] = _);
185
191
  },
186
- class: K(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
187
- "bg-b-2": t.name === ((B = k.value) == null ? void 0 : B.name)
192
+ class: G(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
193
+ "bg-b-2": n.name === ((I = k.value) == null ? void 0 : I.name)
188
194
  }]),
189
- onClick: (_) => g(t)
195
+ onClick: (_) => R(n)
190
196
  }, [
191
- x(f(w), {
197
+ x(p(g), {
192
198
  class: "text-c-1 mr-2.5",
193
- icon: t.icon,
199
+ icon: n.icon,
194
200
  size: "md",
195
201
  thickness: "1.5"
196
202
  }, null, 8, ["icon"]),
197
- H(" " + V(t.name), 1)
198
- ], 10, re);
203
+ Q(" " + P(n.name), 1)
204
+ ], 10, de);
199
205
  }), 128))
200
206
  ], 64))), 64)),
201
- C.value.length ? G("", !0) : (a(), l("div", me, " No commands found "))
207
+ h.value.length ? j("", !0) : (a(), l("div", pe, " No commands found "))
202
208
  ], 64))
203
209
  ], 512), [
204
- [b, f(c).open]
210
+ [b, p(m).open]
205
211
  ])
206
212
  ], 64));
207
213
  }
208
214
  });
209
215
  export {
210
- ue as PaletteComponents,
211
- Se as default
216
+ ve as PaletteComponents,
217
+ Le as default
212
218
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA8CY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AA8FvB,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA8CY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AA6FvB,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ContextBar.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3656da18"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-200b65e3"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, openBlock as n, createElementBlock as o, createElementVNode as s, Fragment as c, renderList as r, normalizeClass as a, toDisplayString as l } from "vue";
2
- const p = { class: "fade-request-section-content sticky top-0 z-10 pointer-events-none" }, d = { class: "request-section-content request-section-content-filter bg-b-1 border-1/2 text-c-3 bg-b-1 mb-2.5 hidden xl:flex justify-center rounded p-[2.25px] text-xs gap-0.5 pointer-events-auto" }, u = ["isActive", "onClick"], _ = /* @__PURE__ */ i({
2
+ const p = { class: "fade-request-section-content sticky top-0 z-10 pointer-events-none" }, d = { class: "request-section-content request-section-content-filter bg-b-1 border-1/2 text-c-3 bg-b-1 mb-2.5 hidden xl:flex justify-center rounded p-[1.5px] text-xs gap-[1.5px] pointer-events-auto" }, u = ["isActive", "onClick"], _ = /* @__PURE__ */ i({
3
3
  __name: "ContextBar",
4
4
  props: {
5
5
  sections: {},
@@ -11,7 +11,7 @@ const p = { class: "fade-request-section-content sticky top-0 z-10 pointer-event
11
11
  s("div", d, [
12
12
  (n(!0), o(c, null, r(t.sections, (e) => (n(), o("button", {
13
13
  key: e,
14
- class: a(["hover:bg-b-2 w-full rounded px-1 py-1 text-center font-medium", [
14
+ class: a(["hover:bg-b-2 w-full rounded p-1 text-center font-medium", [
15
15
  t.activeSection === e ? "bg-b-2 text-c-1 pointer-events-none" : ""
16
16
  ]]),
17
17
  isActive: t.activeSection === e,
@@ -10,7 +10,7 @@ const i = {
10
10
  },
11
11
  setup(p) {
12
12
  return (o, u) => (e(), l("div", {
13
- class: s(["border-1/2 rounded mx-1 bg-b-1", o.scroll ? "overflow-x-auto custom-scroll" : "overflow-visible"])
13
+ class: s(["border-1/2 rounded bg-b-1 md:mx-1", o.scroll ? "overflow-x-auto custom-scroll" : "overflow-visible"])
14
14
  }, [
15
15
  n("table", {
16
16
  class: s(["grid auto-rows-auto min-h-8 mb-0", { "min-w-full w-max": o.scroll }]),
@@ -44,9 +44,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
44
44
  readOnly: boolean;
45
45
  }>>> & {
46
46
  "onUpdate:modelValue"?: ((v: string) => any) | undefined;
47
- onSelectVariable?: ((value: string) => any) | undefined;
48
47
  onInputFocus?: (() => any) | undefined;
49
48
  onInputBlur?: (() => any) | undefined;
49
+ onSelectVariable?: ((value: string) => any) | undefined;
50
50
  }, {
51
51
  required: boolean;
52
52
  readOnly: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAwNA,iBAAS,cAAc;qBAiKM,GAAG;qBACF,GAAG;kBACN,GAAG;EAuB7B;AACD,QAAA,MAAM,eAAe;SAjQZ,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;IAC3B,0EAA0E;4BAClD,OAAO;eACpB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;;;;;SAXP,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;IAC3B,0EAA0E;4BAClD,OAAO;eACpB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;;;;;cAPD,OAAO;cAIP,OAAO;2BADM,OAAO;MAiQjC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC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
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-e4703b01"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-b93b9304"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, ref as d, computed as k, openBlock as o, createBlock as i, normalizeClass as b, withCtx as B, createElementBlock as r, renderSlot as p, createCommentVNode as s, createElementVNode as m, Fragment as C, mergeProps as $, unref as x } from "vue";
1
+ import { defineComponent as h, ref as d, computed as k, openBlock as a, createBlock as i, normalizeClass as b, withCtx as B, createElementBlock as r, renderSlot as p, createCommentVNode as s, createElementVNode as m, Fragment as C, mergeProps as $, unref as x } from "vue";
2
2
  import { ScalarIconButton as q } from "@scalar/components";
3
3
  import A from "./DataTableCell.vue.js";
4
4
  import E from "./DataTableInputSelect.vue.js";
@@ -28,33 +28,33 @@ const F = {
28
28
  },
29
29
  emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
30
30
  setup(c, { emit: f }) {
31
- const a = c, n = f, l = d(!0), y = d(""), v = d(!1), w = () => {
31
+ const o = c, n = f, l = d(!0), y = d(""), v = d(!1), w = () => {
32
32
  v.value || n("inputBlur");
33
33
  }, V = k(
34
- () => a.type === "password" ? l.value ? "password" : "text" : a.type ?? "text"
34
+ () => o.type === "password" ? l.value ? "password" : "text" : o.type ?? "text"
35
35
  ), g = (e) => {
36
36
  const t = e.target;
37
37
  y.value = t.value, n("update:modelValue", t.value);
38
38
  };
39
- return (e, t) => (o(), i(A, {
39
+ return (e, t) => (a(), i(A, {
40
40
  class: b(["relative row", e.containerClass])
41
41
  }, {
42
42
  default: B(() => [
43
- e.$slots.default ? (o(), r("div", F, [
43
+ e.$slots.default ? (a(), r("div", F, [
44
44
  p(e.$slots, "default", {}, void 0, !0)
45
45
  ])) : s("", !0),
46
46
  m("div", I, [
47
- a.enum && a.enum.length ? (o(), i(E, {
47
+ o.enum && o.enum.length ? (a(), i(E, {
48
48
  key: 0,
49
49
  canAddCustomValue: e.canAddCustomEnumValue,
50
- modelValue: a.modelValue,
51
- value: a.enum,
50
+ modelValue: o.modelValue,
51
+ value: o.enum,
52
52
  "onUpdate:modelValue": t[0] || (t[0] = (u) => n("update:modelValue", u))
53
- }, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (o(), r(C, { key: 1 }, [
53
+ }, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (a(), r(C, { key: 1 }, [
54
54
  m("input", $(e.$attrs, {
55
55
  id: e.id,
56
56
  autocomplete: "off",
57
- class: "border-none text-c-1 min-w-0 w-full peer px-2 py-1.5 outline-none",
57
+ class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer px-2 py-1.5 outline-none",
58
58
  "data-1p-ignore": "",
59
59
  max: e.max,
60
60
  min: e.min,
@@ -67,14 +67,14 @@ const F = {
67
67
  onFocus: t[1] || (t[1] = (u) => n("inputFocus")),
68
68
  onInput: g
69
69
  }), null, 16, O),
70
- e.required ? (o(), r("div", S, " Required ")) : s("", !0)
70
+ e.required ? (a(), r("div", S, " Required ")) : s("", !0)
71
71
  ], 64))
72
72
  ]),
73
- e.$slots.warning ? (o(), r("div", P, [
73
+ e.$slots.warning ? (a(), r("div", P, [
74
74
  p(e.$slots, "warning", {}, void 0, !0)
75
75
  ])) : s("", !0),
76
76
  p(e.$slots, "icon", {}, void 0, !0),
77
- e.type === "password" ? (o(), i(x(q), {
77
+ e.type === "password" ? (a(), i(x(q), {
78
78
  key: 2,
79
79
  class: "-ml-.5 mr-1 h-6 w-6 self-center p-1.5",
80
80
  icon: l.value ? "Show" : "Hide",
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInputSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputSelect.vue"],"names":[],"mappings":";gBA+IgB,MAAM,GAAG,MAAM;YACnB,MAAM,EAAE;wBACI,OAAO;;;;;;gBAFf,MAAM,GAAG,M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