@scalar/api-client 2.2.48 → 2.2.50

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 (217) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts +15 -3
  3. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  5. package/dist/components/AddressBar/AddressBar.vue2.js +102 -94
  6. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -0
  7. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  8. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  9. package/dist/components/AddressBar/AddressBarHistory.vue2.js +54 -58
  10. package/dist/components/CodeInput/CodeInput.vue.d.ts +9 -0
  11. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  12. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  13. package/dist/components/CodeInput/CodeInput.vue2.js +95 -93
  14. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  15. package/dist/components/CodeInput/codeVariableWidget.js +1 -3
  16. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  17. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +26 -22
  18. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  19. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +13 -13
  20. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  21. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +12 -12
  22. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  23. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +54 -49
  24. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  25. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +9 -9
  26. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  27. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  28. package/dist/components/DataTable/DataTableCell.vue.js +11 -8
  29. package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -0
  30. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  31. package/dist/components/DataTable/DataTableInput.vue.js +4 -4
  32. package/dist/components/DataTable/DataTableInput.vue2.js +36 -30
  33. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  34. package/dist/components/DataTable/DataTableInputSelect.vue.js +15 -15
  35. package/dist/components/Form/Form.vue.d.ts +3 -1
  36. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  37. package/dist/components/Form/Form.vue.js +30 -25
  38. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  39. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +41 -41
  40. package/dist/components/ImportCollection/ImportNowButton.vue.js +24 -24
  41. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  42. package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
  43. package/dist/components/Server/ServerDropdown.vue.js +13 -13
  44. package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
  45. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  46. package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
  47. package/dist/components/Server/ServerDropdownItem.vue2.js +19 -19
  48. package/dist/layouts/App/create-api-client-app.d.ts +387 -477
  49. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  50. package/dist/layouts/Modal/create-api-client-modal.d.ts +774 -954
  51. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  52. package/dist/layouts/Web/create-api-client-web.d.ts +387 -477
  53. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  54. package/dist/libs/create-client.d.ts +390 -479
  55. package/dist/libs/create-client.d.ts.map +1 -1
  56. package/dist/libs/create-client.js +3 -15
  57. package/dist/libs/env-helpers.d.ts.map +1 -1
  58. package/dist/libs/find-request.d.ts +7 -7
  59. package/dist/libs/find-request.d.ts.map +1 -1
  60. package/dist/libs/hot-keys.d.ts +3 -1
  61. package/dist/libs/hot-keys.d.ts.map +1 -1
  62. package/dist/libs/hot-keys.js +11 -15
  63. package/dist/libs/hot-keys.test.d.ts +2 -0
  64. package/dist/libs/hot-keys.test.d.ts.map +1 -0
  65. package/dist/libs/index.js +27 -26
  66. package/dist/libs/send-request/build-request-security.d.ts +1 -1
  67. package/dist/libs/send-request/build-request-security.js +19 -16
  68. package/dist/libs/send-request/create-request-operation.test.d.ts +10 -10
  69. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  70. package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
  71. package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
  72. package/dist/libs/send-request/set-request-cookies.js +37 -34
  73. package/dist/store/active-entities.d.ts +58 -67
  74. package/dist/store/active-entities.d.ts.map +1 -1
  75. package/dist/store/active-entities.js +61 -74
  76. package/dist/store/collections.d.ts +90 -90
  77. package/dist/store/collections.d.ts.map +1 -1
  78. package/dist/store/collections.js +4 -17
  79. package/dist/store/cookies.d.ts +14 -14
  80. package/dist/store/environment.d.ts +19 -18
  81. package/dist/store/environment.d.ts.map +1 -1
  82. package/dist/store/environment.js +2 -8
  83. package/dist/store/import-spec.d.ts +16 -106
  84. package/dist/store/import-spec.d.ts.map +1 -1
  85. package/dist/store/import-spec.js +9 -14
  86. package/dist/store/request-example.d.ts +25 -25
  87. package/dist/store/request-example.d.ts.map +1 -1
  88. package/dist/store/request-example.js +15 -20
  89. package/dist/store/requests.d.ts +84 -84
  90. package/dist/store/requests.d.ts.map +1 -1
  91. package/dist/store/requests.js +17 -40
  92. package/dist/store/router-params.d.ts +13 -11
  93. package/dist/store/router-params.d.ts.map +1 -1
  94. package/dist/store/router-params.js +5 -5
  95. package/dist/store/security-schemes.d.ts +58 -58
  96. package/dist/store/security-schemes.d.ts.map +1 -1
  97. package/dist/store/security-schemes.js +1 -3
  98. package/dist/store/servers.d.ts +17 -17
  99. package/dist/store/servers.d.ts.map +1 -1
  100. package/dist/store/servers.js +2 -9
  101. package/dist/store/store.d.ts +387 -477
  102. package/dist/store/store.d.ts.map +1 -1
  103. package/dist/store/store.js +2 -4
  104. package/dist/store/tags.d.ts +28 -28
  105. package/dist/store/tags.d.ts.map +1 -1
  106. package/dist/store/tags.js +19 -34
  107. package/dist/store/workspace.d.ts +36 -36
  108. package/dist/store/workspace.d.ts.map +1 -1
  109. package/dist/store/workspace.js +1 -5
  110. package/dist/style.css +1 -1
  111. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  112. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  113. package/dist/views/Cookies/CookieForm.vue.js +18 -18
  114. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  115. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  116. package/dist/views/Cookies/Cookies.vue2.js +24 -24
  117. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  118. package/dist/views/Environment/Environment.vue2.js +140 -132
  119. package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -2
  120. package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
  121. package/dist/views/Environment/EnvironmentModal.vue.js +15 -15
  122. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  123. package/dist/views/Request/Request.vue.js +2 -2
  124. package/dist/views/Request/Request.vue2.js +160 -141
  125. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
  126. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  127. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +7 -7
  128. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +6 -2
  129. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  130. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +99 -95
  131. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +4 -0
  132. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  133. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  134. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +70 -64
  135. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +4 -0
  136. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  137. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +1 -1
  138. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +40 -34
  139. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -0
  140. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  141. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +32 -26
  142. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +4 -0
  143. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  144. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
  145. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +93 -85
  146. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +9 -0
  147. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  148. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  149. package/dist/views/Request/RequestSection/RequestBody.vue2.js +214 -244
  150. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +10 -1
  151. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  152. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  153. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +77 -80
  154. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +7 -0
  155. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  156. package/dist/views/Request/RequestSection/RequestParams.vue.js +89 -96
  157. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +10 -2
  158. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  159. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +59 -66
  160. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +11 -0
  161. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  162. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  163. package/dist/views/Request/RequestSection/RequestSection.vue2.js +176 -155
  164. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +6 -0
  165. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  166. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  167. package/dist/views/Request/RequestSection/RequestTable.vue2.js +97 -100
  168. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  169. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
  170. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +31 -22
  171. package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +2 -2
  172. package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -1
  173. package/dist/views/Request/RequestSection/helpers/getting-started.js +11 -13
  174. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  175. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  176. package/dist/views/Request/RequestSidebar.vue2.js +50 -48
  177. package/dist/views/Request/RequestSidebarItem.vue.d.ts +1 -1
  178. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  179. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  180. package/dist/views/Request/RequestSidebarItem.vue2.js +38 -44
  181. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +10 -0
  182. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  183. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  184. package/dist/views/Request/RequestSubpageHeader.vue2.js +77 -69
  185. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +7 -7
  186. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +4 -1
  187. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  188. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  189. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +41 -39
  190. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -0
  191. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  192. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
  193. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +56 -52
  194. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  195. package/dist/views/Request/components/WorkspaceDropdown.vue.js +68 -68
  196. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
  197. package/dist/views/Request/handle-drag.d.ts +1 -1
  198. package/dist/views/Request/handle-drag.d.ts.map +1 -1
  199. package/dist/views/Request/handle-drag.js +38 -55
  200. package/dist/views/Request/libs/auth.d.ts +2 -2
  201. package/dist/views/Request/libs/auth.d.ts.map +1 -1
  202. package/dist/views/Request/libs/auth.js +28 -29
  203. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  204. package/dist/views/Request/libs/oauth2.js +42 -65
  205. package/dist/views/Request/libs/request.d.ts +5 -0
  206. package/dist/views/Request/libs/request.d.ts.map +1 -1
  207. package/dist/views/Request/libs/request.js +37 -2
  208. package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
  209. package/dist/views/Request/libs/watch-mode.js +10 -34
  210. package/dist/views/Servers/ServerForm.vue.d.ts +1 -8
  211. package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
  212. package/dist/views/Servers/ServerForm.vue.js +21 -22
  213. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  214. package/dist/views/Servers/Servers.vue2.js +73 -81
  215. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  216. package/dist/views/Settings/SettingsGeneral.vue.js +118 -134
  217. package/package.json +14 -14
@@ -1,67 +1,73 @@
1
- import { defineComponent as v, openBlock as d, createElementBlock as k, Fragment as y, createVNode as a, unref as r, withCtx as o, createTextVNode as n, createElementVNode as g, createBlock as p, createCommentVNode as i } from "vue";
1
+ import { defineComponent as b, openBlock as s, createElementBlock as V, Fragment as U, createVNode as a, unref as r, withCtx as o, mergeProps as m, createTextVNode as d, createElementVNode as $, createBlock as k, createCommentVNode as p } from "vue";
2
2
  import { useWorkspace as C } from "../../../../store/store.js";
3
- import { useLoadingState as T, ScalarButton as $ } from "@scalar/components";
3
+ import { useLoadingState as P, ScalarButton as z } from "@scalar/components";
4
4
  import { pkceOptions as L } from "@scalar/oas-utils/entities/spec";
5
- import { useToasts as P } from "@scalar/use-toasts";
6
- import R from "./OAuthScopesInput.vue.js";
7
- import f from "./RequestAuthDataTableInput.vue.js";
5
+ import { useToasts as R } from "@scalar/use-toasts";
6
+ import B from "./OAuthScopesInput.vue.js";
7
+ import w from "./RequestAuthDataTableInput.vue.js";
8
8
  import u from "../../../../components/DataTable/DataTableRow.vue.js";
9
- import { authorizeOauth2 as B } from "../../libs/oauth2.js";
10
- const F = { class: "h-8 flex items-center justify-self-end" }, b = { class: "h-8 flex items-center justify-end border-t-1/2 w-full" }, H = /* @__PURE__ */ v({
9
+ import { authorizeOauth2 as F } from "../../libs/oauth2.js";
10
+ const I = { class: "h-8 flex items-center justify-self-end" }, A = { class: "h-8 flex items-center justify-end border-t-1/2 w-full" }, W = /* @__PURE__ */ b({
11
11
  __name: "OAuth2",
12
12
  props: {
13
- scheme: {},
14
- flow: {},
15
13
  collection: {},
14
+ environment: {},
15
+ envVariables: {},
16
+ flow: {},
17
+ scheme: {},
16
18
  server: {},
17
19
  workspace: {}
18
20
  },
19
- setup(m) {
20
- const w = T(), { toast: V } = P(), { securitySchemeMutators: z } = C(), s = (l, e) => z.edit(m.scheme.uid, l, e), S = async () => {
21
- var t, U;
22
- if (w.isLoading || !((t = m.collection) != null && t.uid)) return;
23
- if (w.startLoading(), !m.server) {
24
- V("No server selected", "error");
21
+ setup(f) {
22
+ const y = P(), { toast: g } = R(), { securitySchemeMutators: S } = C(), n = (l, e) => S.edit(f.scheme.uid, l, e), T = async () => {
23
+ var t, v;
24
+ if (y.isLoading || !((t = f.collection) != null && t.uid)) return;
25
+ if (y.startLoading(), !f.server) {
26
+ g("No server selected", "error");
25
27
  return;
26
28
  }
27
- const [l, e] = await B(
28
- m.flow,
29
- m.server,
30
- (U = m.workspace) == null ? void 0 : U.proxyUrl
31
- ).finally(() => w.stopLoading());
32
- e ? s(`flows.${m.flow.type}.token`, e) : (console.error(l), V((l == null ? void 0 : l.message) ?? "Failed to authorize", "error"));
29
+ const [l, e] = await F(
30
+ f.flow,
31
+ f.server,
32
+ (v = f.workspace) == null ? void 0 : v.proxyUrl
33
+ ).finally(() => y.stopLoading());
34
+ e ? n(`flows.${f.flow.type}.token`, e) : (console.error(l), g((l == null ? void 0 : l.message) ?? "Failed to authorize", "error"));
35
+ }, i = {
36
+ environment: f.environment,
37
+ envVariables: f.envVariables,
38
+ workspace: f.workspace
33
39
  };
34
- return (l, e) => (d(), k(y, null, [
35
- l.flow.token ? (d(), k(y, { key: 0 }, [
40
+ return (l, e) => (s(), V(U, null, [
41
+ l.flow.token ? (s(), V(U, { key: 0 }, [
36
42
  a(r(u), null, {
37
43
  default: o(() => [
38
- a(f, {
44
+ a(w, m(i, {
39
45
  class: "border-r-transparent",
40
46
  modelValue: l.flow.token,
41
47
  placeholder: "QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",
42
48
  type: "password",
43
- "onUpdate:modelValue": e[0] || (e[0] = (t) => s(`flows.${l.flow.type}.token`, t))
44
- }, {
49
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => n(`flows.${l.flow.type}.token`, t))
50
+ }), {
45
51
  default: o(() => e[10] || (e[10] = [
46
- n(" Access Token ")
52
+ d(" Access Token ")
47
53
  ])),
48
54
  _: 1
49
- }, 8, ["modelValue"])
55
+ }, 16, ["modelValue"])
50
56
  ]),
51
57
  _: 1
52
58
  }),
53
59
  a(r(u), { class: "min-w-full" }, {
54
60
  default: o(() => [
55
- g("div", F, [
56
- a(r($), {
61
+ $("div", I, [
62
+ a(r(z), {
57
63
  class: "p-0 py-0.5 px-2 mr-1",
58
- loading: r(w),
64
+ loading: r(y),
59
65
  size: "sm",
60
66
  variant: "outlined",
61
- onClick: e[1] || (e[1] = (t) => s(`flows.${l.flow.type}.token`, ""))
67
+ onClick: e[1] || (e[1] = (t) => n(`flows.${l.flow.type}.token`, ""))
62
68
  }, {
63
69
  default: o(() => e[11] || (e[11] = [
64
- n(" Clear ")
70
+ d(" Clear ")
65
71
  ])),
66
72
  _: 1
67
73
  }, 8, ["loading"])
@@ -69,158 +75,156 @@ const F = { class: "h-8 flex items-center justify-self-end" }, b = { class: "h-8
69
75
  ]),
70
76
  _: 1
71
77
  })
72
- ], 64)) : (d(), k(y, { key: 1 }, [
78
+ ], 64)) : (s(), V(U, { key: 1 }, [
73
79
  a(r(u), null, {
74
80
  default: o(() => [
75
- "authorizationUrl" in l.flow ? (d(), p(f, {
76
- key: 0,
81
+ "authorizationUrl" in l.flow ? (s(), k(w, m({ key: 0 }, i, {
77
82
  modelValue: l.flow.authorizationUrl,
78
83
  placeholder: "https://galaxy.scalar.com/authorize",
79
- "onUpdate:modelValue": e[2] || (e[2] = (t) => s(`flows.${l.flow.type}.authorizationUrl`, t))
80
- }, {
84
+ "onUpdate:modelValue": e[2] || (e[2] = (t) => n(`flows.${l.flow.type}.authorizationUrl`, t))
85
+ }), {
81
86
  default: o(() => e[12] || (e[12] = [
82
- n(" Auth URL ")
87
+ d(" Auth URL ")
83
88
  ])),
84
89
  _: 1
85
- }, 8, ["modelValue"])) : i("", !0),
86
- "tokenUrl" in l.flow ? (d(), p(f, {
87
- key: 1,
90
+ }, 16, ["modelValue"])) : p("", !0),
91
+ "tokenUrl" in l.flow ? (s(), k(w, m({ key: 1 }, i, {
88
92
  modelValue: l.flow.tokenUrl,
89
93
  placeholder: "https://galaxy.scalar.com/token",
90
- "onUpdate:modelValue": e[3] || (e[3] = (t) => s(`flows.${l.flow.type}.tokenUrl`, t))
91
- }, {
94
+ "onUpdate:modelValue": e[3] || (e[3] = (t) => n(`flows.${l.flow.type}.tokenUrl`, t))
95
+ }), {
92
96
  default: o(() => e[13] || (e[13] = [
93
- n(" Token URL ")
97
+ d(" Token URL ")
94
98
  ])),
95
99
  _: 1
96
- }, 8, ["modelValue"])) : i("", !0)
100
+ }, 16, ["modelValue"])) : p("", !0)
97
101
  ]),
98
102
  _: 1
99
103
  }),
100
- "x-scalar-redirect-uri" in l.flow ? (d(), p(r(u), { key: 0 }, {
104
+ "x-scalar-redirect-uri" in l.flow ? (s(), k(r(u), { key: 0 }, {
101
105
  default: o(() => [
102
- a(f, {
106
+ a(w, m(i, {
103
107
  modelValue: l.flow["x-scalar-redirect-uri"],
104
108
  placeholder: "https://galaxy.scalar.com/callback",
105
- "onUpdate:modelValue": e[4] || (e[4] = (t) => s(`flows.${l.flow.type}.x-scalar-redirect-uri`, t))
106
- }, {
109
+ "onUpdate:modelValue": e[4] || (e[4] = (t) => n(`flows.${l.flow.type}.x-scalar-redirect-uri`, t))
110
+ }), {
107
111
  default: o(() => e[14] || (e[14] = [
108
- n(" Redirect URL ")
112
+ d(" Redirect URL ")
109
113
  ])),
110
114
  _: 1
111
- }, 8, ["modelValue"])
115
+ }, 16, ["modelValue"])
112
116
  ]),
113
117
  _: 1
114
- })) : i("", !0),
115
- l.flow.type === "password" ? (d(), k(y, { key: 1 }, [
118
+ })) : p("", !0),
119
+ l.flow.type === "password" ? (s(), V(U, { key: 1 }, [
116
120
  a(r(u), null, {
117
121
  default: o(() => [
118
- a(f, {
122
+ a(w, m(i, {
119
123
  class: "text-c-2",
120
124
  modelValue: l.flow.username,
121
125
  placeholder: "janedoe",
122
- "onUpdate:modelValue": e[5] || (e[5] = (t) => s(`flows.${l.flow.type}.username`, t))
123
- }, {
126
+ "onUpdate:modelValue": e[5] || (e[5] = (t) => n(`flows.${l.flow.type}.username`, t))
127
+ }), {
124
128
  default: o(() => e[15] || (e[15] = [
125
- n(" Username ")
129
+ d(" Username ")
126
130
  ])),
127
131
  _: 1
128
- }, 8, ["modelValue"])
132
+ }, 16, ["modelValue"])
129
133
  ]),
130
134
  _: 1
131
135
  }),
132
136
  a(r(u), null, {
133
137
  default: o(() => [
134
- a(f, {
138
+ a(w, m(i, {
135
139
  modelValue: l.flow.password,
136
140
  placeholder: "********",
137
141
  type: "password",
138
- "onUpdate:modelValue": e[6] || (e[6] = (t) => s(`flows.${l.flow.type}.password`, t))
139
- }, {
142
+ "onUpdate:modelValue": e[6] || (e[6] = (t) => n(`flows.${l.flow.type}.password`, t))
143
+ }), {
140
144
  default: o(() => e[16] || (e[16] = [
141
- n(" Password ")
145
+ d(" Password ")
142
146
  ])),
143
147
  _: 1
144
- }, 8, ["modelValue"])
148
+ }, 16, ["modelValue"])
145
149
  ]),
146
150
  _: 1
147
151
  })
148
- ], 64)) : i("", !0),
152
+ ], 64)) : p("", !0),
149
153
  a(r(u), null, {
150
154
  default: o(() => [
151
- a(f, {
155
+ a(w, m(i, {
152
156
  modelValue: l.flow["x-scalar-client-id"],
153
157
  placeholder: "12345",
154
- "onUpdate:modelValue": e[7] || (e[7] = (t) => s(`flows.${l.flow.type}.x-scalar-client-id`, t))
155
- }, {
158
+ "onUpdate:modelValue": e[7] || (e[7] = (t) => n(`flows.${l.flow.type}.x-scalar-client-id`, t))
159
+ }), {
156
160
  default: o(() => e[17] || (e[17] = [
157
- n(" Client ID ")
161
+ d(" Client ID ")
158
162
  ])),
159
163
  _: 1
160
- }, 8, ["modelValue"])
164
+ }, 16, ["modelValue"])
161
165
  ]),
162
166
  _: 1
163
167
  }),
164
- "clientSecret" in l.flow ? (d(), p(r(u), { key: 2 }, {
168
+ "clientSecret" in l.flow ? (s(), k(r(u), { key: 2 }, {
165
169
  default: o(() => [
166
- a(f, {
170
+ a(w, m(i, {
167
171
  modelValue: l.flow.clientSecret,
168
172
  placeholder: "XYZ123",
169
173
  type: "password",
170
- "onUpdate:modelValue": e[8] || (e[8] = (t) => s(`flows.${l.flow.type}.clientSecret`, t))
171
- }, {
174
+ "onUpdate:modelValue": e[8] || (e[8] = (t) => n(`flows.${l.flow.type}.clientSecret`, t))
175
+ }), {
172
176
  default: o(() => e[18] || (e[18] = [
173
- n(" Client Secret ")
177
+ d(" Client Secret ")
174
178
  ])),
175
179
  _: 1
176
- }, 8, ["modelValue"])
180
+ }, 16, ["modelValue"])
177
181
  ]),
178
182
  _: 1
179
- })) : i("", !0),
180
- "x-usePkce" in l.flow ? (d(), p(r(u), { key: 3 }, {
183
+ })) : p("", !0),
184
+ "x-usePkce" in l.flow ? (s(), k(r(u), { key: 3 }, {
181
185
  default: o(() => [
182
- a(f, {
186
+ a(w, m(i, {
183
187
  enum: r(L),
184
188
  modelValue: l.flow["x-usePkce"],
185
189
  readOnly: "",
186
- "onUpdate:modelValue": e[9] || (e[9] = (t) => s(
190
+ "onUpdate:modelValue": e[9] || (e[9] = (t) => n(
187
191
  `flows.${l.flow.type}.x-usePkce`,
188
192
  t
189
193
  ))
190
- }, {
194
+ }), {
191
195
  default: o(() => e[19] || (e[19] = [
192
- n(" Use PKCE ")
196
+ d(" Use PKCE ")
193
197
  ])),
194
198
  _: 1
195
- }, 8, ["enum", "modelValue"])
199
+ }, 16, ["enum", "modelValue"])
196
200
  ]),
197
201
  _: 1
198
- })) : i("", !0),
199
- Object.keys(l.flow.scopes ?? {}).length ? (d(), p(r(u), { key: 4 }, {
202
+ })) : p("", !0),
203
+ Object.keys(l.flow.scopes ?? {}).length ? (s(), k(r(u), { key: 4 }, {
200
204
  default: o(() => [
201
- a(R, {
205
+ a(B, {
202
206
  flow: l.flow,
203
- updateScheme: s
207
+ updateScheme: n
204
208
  }, null, 8, ["flow"])
205
209
  ]),
206
210
  _: 1
207
- })) : i("", !0)
211
+ })) : p("", !0)
208
212
  ], 64)),
209
- l.flow.token ? i("", !0) : (d(), p(r(u), {
213
+ l.flow.token ? p("", !0) : (s(), k(r(u), {
210
214
  key: 2,
211
215
  class: "min-w-full"
212
216
  }, {
213
217
  default: o(() => [
214
- g("div", b, [
215
- a(r($), {
218
+ $("div", A, [
219
+ a(r(z), {
216
220
  class: "p-0 py-0.5 px-2 mr-1",
217
- loading: r(w),
221
+ loading: r(y),
218
222
  size: "sm",
219
223
  variant: "outlined",
220
- onClick: S
224
+ onClick: T
221
225
  }, {
222
226
  default: o(() => e[20] || (e[20] = [
223
- n(" Authorize ")
227
+ d(" Authorize ")
224
228
  ])),
225
229
  _: 1
226
230
  }, 8, ["loading"])
@@ -232,5 +236,5 @@ const F = { class: "h-8 flex items-center justify-self-end" }, b = { class: "h-8
232
236
  }
233
237
  });
234
238
  export {
235
- H as default
239
+ W as default
236
240
  };
@@ -1,8 +1,12 @@
1
+ import type { Environment } from '@scalar/oas-utils/entities/environment';
1
2
  import type { SelectedSecuritySchemeUids } from '@scalar/oas-utils/entities/shared';
2
3
  import type { Collection, Operation, Server } from '@scalar/oas-utils/entities/spec';
3
4
  import type { Workspace } from '@scalar/oas-utils/entities/workspace';
5
+ import type { EnvVariable } from '../../../../store/active-entities';
4
6
  type __VLS_Props = {
5
7
  collection: Collection;
8
+ environment: Environment;
9
+ envVariables: EnvVariable[];
6
10
  layout: 'client' | 'reference';
7
11
  operation?: Operation | undefined;
8
12
  selectedSecuritySchemeUids: SelectedSecuritySchemeUids;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":"AAuTA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AASrE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AAmWF,wBAOG"}
1
+ {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":"AA4TA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAMrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAe1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA0WF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuth.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-68323dc6"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-3dc33a43"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,16 +1,18 @@
1
- import { defineComponent as $, ref as b, computed as d, openBlock as q, createBlock as B, withCtx as a, createElementVNode as f, toDisplayString as S, createElementBlock as V, normalizeClass as L, createCommentVNode as T, createVNode as u, unref as c } from "vue";
2
- import j from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
3
- import { useLayout as z } from "../../../../hooks/useLayout.js";
4
- import { useWorkspace as E } from "../../../../store/store.js";
5
- import { useModal as I, ScalarComboboxMultiselect as K, ScalarButton as N, ScalarIcon as W } from "@scalar/components";
6
- import { isDefined as F } from "@scalar/oas-utils/helpers";
1
+ import { defineComponent as U, ref as k, computed as d, openBlock as q, createBlock as $, withCtx as c, createElementVNode as f, toDisplayString as S, createElementBlock as B, normalizeClass as L, createCommentVNode as T, createVNode as u, unref as i } from "vue";
2
+ import { useModal as j, ScalarComboboxMultiselect as z, ScalarButton as E, ScalarIcon as I } from "@scalar/components";
3
+ import { isDefined as K } from "@scalar/oas-utils/helpers";
4
+ import N from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
5
+ import { useLayout as W } from "../../../../hooks/useLayout.js";
6
+ import { useWorkspace as F } from "../../../../store/store.js";
7
7
  import G from "./DeleteRequestAuthModal.vue.js";
8
8
  import H from "./RequestAuthDataTable.vue.js";
9
9
  import { getSecurityRequirements as J, formatComplexScheme as P, formatScheme as Q, getSchemeOptions as X } from "../../libs/auth.js";
10
- const Y = { class: "inline-flex gap-1 items-center" }, Z = { class: "flex flex-1 -mx-1" }, _ = { class: "text-c-1" }, ae = /* @__PURE__ */ $({
10
+ const Y = { class: "inline-flex items-center gap-1" }, Z = { class: "-mx-1 flex flex-1" }, _ = { class: "text-c-1" }, ce = /* @__PURE__ */ U({
11
11
  __name: "RequestAuth",
12
12
  props: {
13
13
  collection: {},
14
+ environment: {},
15
+ envVariables: {},
14
16
  layout: {},
15
17
  operation: {},
16
18
  selectedSecuritySchemeUids: {},
@@ -18,107 +20,109 @@ const Y = { class: "inline-flex gap-1 items-center" }, Z = { class: "flex flex-1
18
20
  title: {},
19
21
  workspace: {}
20
22
  },
21
- setup(s) {
22
- const { layout: h } = z(), {
23
+ setup(r) {
24
+ const { layout: h } = W(), {
23
25
  securitySchemes: y,
24
26
  securitySchemeMutators: R,
25
27
  requestMutators: C,
26
- collectionMutators: A
27
- } = E(), g = b(null), m = I(), p = b(null), x = d(() => {
28
- const e = J(s.operation, s.collection);
28
+ collectionMutators: V
29
+ } = F(), g = k(null), m = j(), v = k(
30
+ null
31
+ ), b = d(() => {
32
+ const e = J(r.operation, r.collection);
29
33
  return { filteredRequirements: e.filter((o) => Object.keys(o).length), requirements: e };
30
- }), v = d(() => {
31
- const { filteredRequirements: e, requirements: t } = x.value;
34
+ }), p = d(() => {
35
+ const { filteredRequirements: e, requirements: t } = b.value;
32
36
  if (!t.length) return null;
33
- const o = e.length < t.length, n = o ? "Unlock" : "Lock", l = o ? "Optional" : "Required", U = `${e.length === 1 ? Object.keys(e[0] || {})[0] : ""} ${l}`;
34
- return { icon: n, text: U };
35
- }), r = d(
36
- () => s.selectedSecuritySchemeUids.map((e) => {
37
+ const o = e.length < t.length, n = o ? "Unlock" : "Lock", l = o ? "Optional" : "Required", M = `${e.length === 1 ? Object.keys(e[0] || {})[0] : ""} ${l}`;
38
+ return { icon: n, text: M };
39
+ }), s = d(
40
+ () => r.selectedSecuritySchemeUids.map((e) => {
37
41
  if (Array.isArray(e)) return P(e, y);
38
42
  const t = y[e ?? ""];
39
43
  if (t)
40
44
  return Q(t);
41
- }).filter(F)
45
+ }).filter(K)
42
46
  );
43
- function D(e) {
47
+ function A(e) {
44
48
  var n;
45
49
  const t = e.find((l) => l.payload), o = e.filter((l) => !l.payload).map(({ id: l }) => {
46
- const i = l.split(",");
47
- return i.length > 1 ? i : l;
50
+ const a = l.split(",");
51
+ return a.length > 1 ? a : l;
48
52
  });
49
53
  if (t != null && t.payload) {
50
54
  const l = R.add(
51
55
  t.payload,
52
- (n = s.collection) == null ? void 0 : n.uid
56
+ (n = r.collection) == null ? void 0 : n.uid
53
57
  );
54
58
  l && o.push(l.uid);
55
59
  }
56
- k(o);
60
+ x(o);
57
61
  }
58
- const k = (e) => {
62
+ const x = (e) => {
59
63
  var t;
60
- h === "modal" || s.layout === "reference" ? A.edit(s.collection.uid, "selectedSecuritySchemeUids", e) : (t = s.operation) != null && t.uid && C.edit(s.operation.uid, "selectedSecuritySchemeUids", e);
64
+ h === "modal" || r.layout === "reference" ? V.edit(r.collection.uid, "selectedSecuritySchemeUids", e) : (t = r.operation) != null && t.uid && C.edit(r.operation.uid, "selectedSecuritySchemeUids", e);
61
65
  };
62
- function w(e) {
63
- p.value = e, m.show();
66
+ function D({ id: e, label: t }) {
67
+ v.value = { id: e, label: t }, m.show();
64
68
  }
65
- const O = (e) => {
69
+ const w = (e) => {
66
70
  var o;
67
71
  if (!e) return;
68
- const t = s.selectedSecuritySchemeUids.filter((n) => {
72
+ const t = r.selectedSecuritySchemeUids.filter((n) => {
69
73
  const l = e.split(",");
70
- return l.length > 1 && Array.isArray(n) && l.length === n.length ? n.every((i) => !l.includes(i)) : n !== e;
74
+ return l.length > 1 && Array.isArray(n) && l.length === n.length ? n.every((a) => !l.includes(a)) : n !== e;
71
75
  });
72
- k(t), (o = g.value) == null || o.$el.focus(), m.hide();
73
- }, M = d(
76
+ x(t), (o = g.value) == null || o.$el.focus(), m.hide();
77
+ }, O = d(
74
78
  () => {
75
79
  var e;
76
80
  return X(
77
- x.value.filteredRequirements,
78
- ((e = s.collection) == null ? void 0 : e.securitySchemes) ?? [],
81
+ b.value.filteredRequirements,
82
+ ((e = r.collection) == null ? void 0 : e.securitySchemes) ?? [],
79
83
  y,
80
- h === "modal" || s.layout === "reference"
84
+ h === "modal" || r.layout === "reference"
81
85
  );
82
86
  }
83
87
  );
84
- return (e, t) => (q(), B(j, {
88
+ return (e, t) => (q(), $(N, {
85
89
  class: "group/params",
86
- itemCount: r.value.length,
90
+ itemCount: s.value.length,
87
91
  layout: e.layout
88
92
  }, {
89
- title: a(() => [
93
+ title: c(() => [
90
94
  f("div", Y, [
91
95
  f("span", null, S(e.title), 1),
92
- v.value ? (q(), V("span", {
96
+ p.value ? (q(), B("span", {
93
97
  key: 0,
94
- class: L(["text-c-3 text-xs leading-[normal]", { "text-c-1": v.value.text === "Required" }])
95
- }, S(v.value.text), 3)) : T("", !0)
98
+ class: L(["text-c-3 text-xs leading-[normal]", { "text-c-1": p.value.text === "Required" }])
99
+ }, S(p.value.text), 3)) : T("", !0)
96
100
  ])
97
101
  ]),
98
- actions: a(() => [
102
+ actions: c(() => [
99
103
  f("div", Z, [
100
- u(c(K), {
101
- class: "text-xs w-72",
102
- isDeletable: c(h) !== "modal" && e.layout !== "reference",
103
- modelValue: r.value,
104
+ u(i(z), {
105
+ class: "w-72 text-xs",
106
+ isDeletable: i(h) !== "modal" && e.layout !== "reference",
107
+ modelValue: s.value,
104
108
  multiple: "",
105
- options: M.value,
106
- onDelete: w,
107
- "onUpdate:modelValue": D
109
+ options: O.value,
110
+ onDelete: D,
111
+ "onUpdate:modelValue": A
108
112
  }, {
109
- default: a(() => [
110
- u(c(N), {
113
+ default: c(() => [
114
+ u(i(E), {
111
115
  ref_key: "comboboxButtonRef",
112
116
  ref: g,
113
- class: "h-auto px-1.5 py-0.75 hover:bg-b-3 text-c-1 hover:text-c-1 font-normal",
117
+ class: "py-0.75 hover:bg-b-3 text-c-1 hover:text-c-1 h-auto px-1.5 font-normal",
114
118
  fullWidth: "",
115
119
  variant: "ghost"
116
120
  }, {
117
- default: a(() => {
121
+ default: c(() => {
118
122
  var o;
119
123
  return [
120
- f("div", _, S(r.value.length === 0 ? "Auth Type" : r.value.length === 1 ? (o = r.value[0]) == null ? void 0 : o.label : "Multiple"), 1),
121
- u(c(W), {
124
+ f("div", _, S(s.value.length === 0 ? "Auth Type" : s.value.length === 1 ? (o = s.value[0]) == null ? void 0 : o.label : "Multiple"), 1),
125
+ u(i(I), {
122
126
  class: "ml-1 shrink-0",
123
127
  icon: "ChevronDown",
124
128
  size: "sm"
@@ -132,21 +136,23 @@ const Y = { class: "inline-flex gap-1 items-center" }, Z = { class: "flex flex-1
132
136
  }, 8, ["isDeletable", "modelValue", "options"])
133
137
  ])
134
138
  ]),
135
- default: a(() => [
139
+ default: c(() => [
136
140
  u(H, {
137
141
  collection: e.collection,
142
+ envVariables: e.envVariables,
143
+ environment: e.environment,
138
144
  layout: e.layout,
139
- selectedSchemeOptions: r.value,
145
+ selectedSchemeOptions: s.value,
140
146
  server: e.server,
141
147
  workspace: e.workspace
142
- }, null, 8, ["collection", "layout", "selectedSchemeOptions", "server", "workspace"]),
148
+ }, null, 8, ["collection", "envVariables", "environment", "layout", "selectedSchemeOptions", "server", "workspace"]),
143
149
  u(G, {
144
- scheme: p.value,
145
- state: c(m),
146
- onClose: t[0] || (t[0] = (o) => c(m).hide()),
150
+ scheme: v.value,
151
+ state: i(m),
152
+ onClose: t[0] || (t[0] = (o) => i(m).hide()),
147
153
  onDelete: t[1] || (t[1] = (o) => {
148
154
  var n;
149
- return O((n = p.value) == null ? void 0 : n.id);
155
+ return w((n = v.value) == null ? void 0 : n.id);
150
156
  })
151
157
  }, null, 8, ["scheme", "state"])
152
158
  ]),
@@ -155,5 +161,5 @@ const Y = { class: "inline-flex gap-1 items-center" }, Z = { class: "flex flex-1
155
161
  }
156
162
  });
157
163
  export {
158
- ae as default
164
+ ce as default
159
165
  };
@@ -1,7 +1,11 @@
1
+ import type { Environment } from '@scalar/oas-utils/entities/environment';
1
2
  import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
2
3
  import type { Workspace } from '@scalar/oas-utils/entities/workspace';
4
+ import type { EnvVariable } from '../../../../store/active-entities';
3
5
  type __VLS_Props = {
4
6
  collection: Collection;
7
+ environment: Environment;
8
+ envVariables: EnvVariable[];
5
9
  layout: 'client' | 'reference';
6
10
  selectedSchemeOptions: {
7
11
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue"],"names":[],"mappings":"AAiMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,qBAAqB,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA+MF,wBAOG"}
1
+ {"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue"],"names":[],"mappings":"AA+MA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EAEV,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,qBAAqB,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AAmNF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuthDataTable.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-b74275b0"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-3569c0b2"]]);
5
5
  export {
6
6
  m as default
7
7
  };