@scalar/api-client 2.5.29 → 2.5.31
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.
- package/CHANGELOG.md +30 -0
- package/dist/analytics.d.ts +1 -36
- package/dist/analytics.d.ts.map +1 -1
- package/dist/analytics.js +7 -23
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/hooks/useAnalytics.d.ts +35 -0
- package/dist/hooks/useAnalytics.d.ts.map +1 -0
- package/dist/hooks/useAnalytics.js +11 -0
- package/dist/index.js +8 -9
- package/dist/layouts/App/create-api-client-app.d.ts +45 -78
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +20 -20
- package/dist/layouts/App/index.js +3 -4
- package/dist/layouts/Modal/create-api-client-modal.d.ts +90 -90
- package/dist/layouts/Web/create-api-client-web.d.ts +45 -78
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +20 -20
- package/dist/layouts/Web/index.js +3 -4
- package/dist/libs/create-client.d.ts +45 -45
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/store/collections.d.ts +4 -4
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/environment.d.ts +4 -4
- package/dist/store/request-example.d.ts +4 -4
- package/dist/store/requests.d.ts +4 -4
- package/dist/store/security-schemes.d.ts +16 -16
- package/dist/store/store.d.ts +45 -45
- package/dist/store/tags.d.ts +4 -4
- package/dist/store/workspace.d.ts +4 -4
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestRoot.vue.js +2 -2
- package/dist/views/Request/RequestRoot.vue2.js +4 -4
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +14 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +49 -47
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +202 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +111 -103
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +200 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +64 -44
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +14 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +104 -121
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.d.ts +9 -0
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.js +28 -0
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +3 -1
- package/dist/views/Request/RequestSection/RequestAuth/index.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/index.js +6 -4
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +25 -24
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +12 -12
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as K, useId as
|
|
2
|
-
import { useModal as
|
|
3
|
-
import { safeLocalStorage as
|
|
4
|
-
import { ScalarIconCaretDown as
|
|
5
|
-
import { isDefined as
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1 truncate" }, Ce = /* @__PURE__ */ K({
|
|
1
|
+
import { defineComponent as K, useId as j, ref as k, computed as y, createBlock as E, openBlock as m, withCtx as a, createVNode as d, renderSlot as W, unref as r, createElementVNode as c, createElementBlock as v, Fragment as C, createTextVNode as A, toDisplayString as S, createCommentVNode as $, withModifiers as Y, normalizeClass as F } from "vue";
|
|
2
|
+
import { useModal as H, ScalarComboboxMultiselect as J, ScalarButton as P, ScalarListboxCheckbox as G, ScalarIconButton as Q } from "@scalar/components";
|
|
3
|
+
import { safeLocalStorage as X, CLIENT_LS_KEYS as Z } from "@scalar/helpers/object/local-storage";
|
|
4
|
+
import { ScalarIconCaretDown as _, ScalarIconTrash as ee } from "@scalar/icons";
|
|
5
|
+
import { isDefined as te } from "@scalar/oas-utils/helpers";
|
|
6
|
+
import oe from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
7
|
+
import { useWorkspace as le } from "../../../../store/store.js";
|
|
8
|
+
import ne from "./DeleteRequestAuthModal.vue.js";
|
|
9
|
+
import se from "./RequestAuthDataTable.vue.js";
|
|
10
|
+
import { getSecurityRequirements as re, formatComplexScheme as ie, formatScheme as ae, getSchemeOptions as ce } from "../../libs/auth.js";
|
|
11
|
+
const ue = ["id"], me = { class: "flex flex-1" }, de = { class: "min-w-0 flex-1 truncate" }, Ce = /* @__PURE__ */ K({
|
|
13
12
|
__name: "RequestAuth",
|
|
14
13
|
props: {
|
|
15
14
|
collection: {},
|
|
15
|
+
isReadOnly: { type: Boolean, default: !1 },
|
|
16
16
|
environment: {},
|
|
17
17
|
envVariables: {},
|
|
18
18
|
layout: {},
|
|
@@ -23,33 +23,34 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
23
23
|
title: {},
|
|
24
24
|
workspace: {}
|
|
25
25
|
},
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
emits: ["authorized", "activeSchemes"],
|
|
27
|
+
setup(s, { emit: B }) {
|
|
28
|
+
const R = B, {
|
|
28
29
|
securitySchemes: f,
|
|
29
|
-
securitySchemeMutators:
|
|
30
|
+
securitySchemeMutators: I,
|
|
30
31
|
requestMutators: M,
|
|
31
32
|
collectionMutators: T
|
|
32
|
-
} =
|
|
33
|
+
} = le(), q = j(), b = k(null), p = H(), g = k(
|
|
33
34
|
null
|
|
34
|
-
),
|
|
35
|
-
const t = re(
|
|
35
|
+
), O = k(!1), V = y(() => {
|
|
36
|
+
const t = re(s.operation, s.collection);
|
|
36
37
|
return { filteredRequirements: t.filter((o) => Object.keys(o).length), requirements: t };
|
|
37
|
-
}), x =
|
|
38
|
-
const { filteredRequirements: t, requirements: e } =
|
|
38
|
+
}), x = y(() => {
|
|
39
|
+
const { filteredRequirements: t, requirements: e } = V.value;
|
|
39
40
|
if (!e.length)
|
|
40
41
|
return null;
|
|
41
42
|
const l = !e.some(
|
|
42
|
-
(
|
|
43
|
+
(h) => Object.keys(h).length > 1
|
|
43
44
|
) && t.length < e.length;
|
|
44
45
|
return { icon: l ? "Unlock" : "Lock", text: l ? "Optional" : "Required" };
|
|
45
|
-
}),
|
|
46
|
-
() =>
|
|
46
|
+
}), u = y(
|
|
47
|
+
() => s.selectedSecuritySchemeUids.map((t) => {
|
|
47
48
|
if (Array.isArray(t))
|
|
48
|
-
return
|
|
49
|
+
return ie(t, f);
|
|
49
50
|
const e = f[t ?? ""];
|
|
50
51
|
if (e)
|
|
51
|
-
return
|
|
52
|
-
}).filter(
|
|
52
|
+
return ae(e);
|
|
53
|
+
}).filter(te)
|
|
53
54
|
);
|
|
54
55
|
function U(t) {
|
|
55
56
|
var l;
|
|
@@ -58,129 +59,129 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
58
59
|
return i.length > 1 ? i : n;
|
|
59
60
|
});
|
|
60
61
|
if (e != null && e.payload) {
|
|
61
|
-
const n =
|
|
62
|
+
const n = I.add(
|
|
62
63
|
e.payload,
|
|
63
|
-
(l =
|
|
64
|
+
(l = s.collection) == null ? void 0 : l.uid
|
|
64
65
|
);
|
|
65
66
|
n && o.push(n.uid);
|
|
66
67
|
}
|
|
67
|
-
|
|
68
|
+
w(o);
|
|
68
69
|
}
|
|
69
|
-
const
|
|
70
|
+
const w = (t) => {
|
|
70
71
|
var e;
|
|
71
|
-
if (
|
|
72
|
-
if (T.edit(
|
|
72
|
+
if (s.collection.useCollectionSecurity) {
|
|
73
|
+
if (T.edit(s.collection.uid, "selectedSecuritySchemeUids", t), !s.persistAuth)
|
|
73
74
|
return;
|
|
74
75
|
const o = t.map((l) => {
|
|
75
76
|
var n;
|
|
76
77
|
return Array.isArray(l) ? l.map((i) => {
|
|
77
|
-
var
|
|
78
|
-
return (
|
|
78
|
+
var h;
|
|
79
|
+
return (h = f[i]) == null ? void 0 : h.nameKey;
|
|
79
80
|
}) : (n = f[l]) == null ? void 0 : n.nameKey;
|
|
80
81
|
});
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
X().setItem(
|
|
83
|
+
Z.SELECTED_SECURITY_SCHEMES,
|
|
83
84
|
JSON.stringify(o)
|
|
84
85
|
);
|
|
85
|
-
} else (e =
|
|
86
|
+
} else (e = s.operation) != null && e.uid && M.edit(s.operation.uid, "selectedSecuritySchemeUids", t);
|
|
86
87
|
};
|
|
87
|
-
function
|
|
88
|
+
function D({ id: t, label: e }) {
|
|
88
89
|
g.value = { id: t, label: e }, p.show();
|
|
89
90
|
}
|
|
90
|
-
const
|
|
91
|
+
const L = (t) => {
|
|
91
92
|
var o;
|
|
92
93
|
if (!t)
|
|
93
94
|
return;
|
|
94
|
-
const e =
|
|
95
|
+
const e = s.selectedSecuritySchemeUids.filter((l) => {
|
|
95
96
|
const n = t.split(",");
|
|
96
97
|
return n.length > 1 && Array.isArray(l) && n.length === l.length ? l.every((i) => !n.includes(i)) : l !== t;
|
|
97
98
|
});
|
|
98
|
-
|
|
99
|
-
},
|
|
99
|
+
w(e), (o = b.value) == null || o.$el.focus(), p.hide();
|
|
100
|
+
}, z = y(
|
|
100
101
|
() => {
|
|
101
102
|
var t;
|
|
102
|
-
return
|
|
103
|
-
|
|
104
|
-
((t =
|
|
103
|
+
return ce(
|
|
104
|
+
V.value.filteredRequirements,
|
|
105
|
+
((t = s.collection) == null ? void 0 : t.securitySchemes) ?? [],
|
|
105
106
|
f,
|
|
106
|
-
|
|
107
|
+
s.isReadOnly
|
|
107
108
|
);
|
|
108
109
|
}
|
|
109
110
|
), N = (t) => {
|
|
110
111
|
var e;
|
|
111
|
-
|
|
112
|
+
O.value && t.stopPropagation(), (e = b.value) == null || e.$el.click();
|
|
112
113
|
};
|
|
113
|
-
return (t, e) => (
|
|
114
|
+
return (t, e) => (m(), E(oe, {
|
|
114
115
|
class: "group/params relative",
|
|
115
|
-
itemCount:
|
|
116
|
+
itemCount: u.value.length,
|
|
116
117
|
layout: t.layout,
|
|
117
|
-
"onUpdate:modelValue": e[
|
|
118
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => O.value = o)
|
|
118
119
|
}, {
|
|
119
|
-
title:
|
|
120
|
-
|
|
121
|
-
id:
|
|
120
|
+
title: a(() => [
|
|
121
|
+
c("div", {
|
|
122
|
+
id: r(q),
|
|
122
123
|
class: "inline-flex items-center gap-0.5 leading-[20px]"
|
|
123
124
|
}, [
|
|
124
|
-
|
|
125
|
-
x.value ? (
|
|
125
|
+
c("span", null, S(t.title), 1),
|
|
126
|
+
x.value ? (m(), v("span", {
|
|
126
127
|
key: 0,
|
|
127
|
-
class:
|
|
128
|
+
class: F(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]", { "text-c-1": x.value.text === "Required" }]),
|
|
128
129
|
onClick: N
|
|
129
|
-
}, S(x.value.text), 3)) :
|
|
130
|
-
], 8,
|
|
130
|
+
}, S(x.value.text), 3)) : $("", !0)
|
|
131
|
+
], 8, ue)
|
|
131
132
|
]),
|
|
132
|
-
actions:
|
|
133
|
-
|
|
134
|
-
d(
|
|
133
|
+
actions: a(() => [
|
|
134
|
+
c("div", me, [
|
|
135
|
+
d(r(J), {
|
|
135
136
|
class: "w-72 text-xs",
|
|
136
|
-
modelValue:
|
|
137
|
-
teleport: "",
|
|
137
|
+
modelValue: u.value,
|
|
138
138
|
multiple: "",
|
|
139
|
+
options: z.value,
|
|
139
140
|
placement: "bottom-end",
|
|
140
|
-
|
|
141
|
-
onDelete:
|
|
141
|
+
teleport: "",
|
|
142
|
+
onDelete: D,
|
|
142
143
|
"onUpdate:modelValue": U
|
|
143
144
|
}, {
|
|
144
|
-
option:
|
|
145
|
-
d(
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
option: a(({ option: o, selected: l }) => [
|
|
146
|
+
d(r(G), {
|
|
147
|
+
multiselect: "",
|
|
148
|
+
selected: l
|
|
148
149
|
}, null, 8, ["selected"]),
|
|
149
|
-
|
|
150
|
-
o.isDeletable ??
|
|
150
|
+
c("div", de, S(o.label), 1),
|
|
151
|
+
o.isDeletable ?? !t.isReadOnly ? (m(), E(r(Q), {
|
|
151
152
|
key: 0,
|
|
152
|
-
|
|
153
|
+
class: "-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",
|
|
154
|
+
icon: r(ee),
|
|
153
155
|
label: `Delete ${o.label}`,
|
|
154
|
-
|
|
155
|
-
onClick:
|
|
156
|
-
|
|
157
|
-
}, null, 8, ["label", "icon", "onClick"])) : I("", !0)
|
|
156
|
+
size: "xs",
|
|
157
|
+
onClick: Y((n) => D(o), ["stop"])
|
|
158
|
+
}, null, 8, ["icon", "label", "onClick"])) : $("", !0)
|
|
158
159
|
]),
|
|
159
|
-
default:
|
|
160
|
-
d(
|
|
160
|
+
default: a(() => [
|
|
161
|
+
d(r(P), {
|
|
161
162
|
ref_key: "comboboxButtonRef",
|
|
162
163
|
ref: b,
|
|
163
|
-
"aria-describedby":
|
|
164
|
+
"aria-describedby": r(q),
|
|
164
165
|
class: "group/combobox-button hover:text-c-1 text-c-2 flex h-fit items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",
|
|
165
166
|
fullWidth: "",
|
|
166
167
|
variant: "ghost"
|
|
167
168
|
}, {
|
|
168
|
-
default:
|
|
169
|
+
default: a(() => {
|
|
169
170
|
var o;
|
|
170
171
|
return [
|
|
171
|
-
|
|
172
|
-
e[
|
|
173
|
-
A(" " + S((o =
|
|
174
|
-
], 64)) :
|
|
175
|
-
e[
|
|
176
|
-
e[
|
|
177
|
-
], 64)) : (
|
|
178
|
-
e[
|
|
179
|
-
e[
|
|
172
|
+
u.value.length === 1 ? (m(), v(C, { key: 0 }, [
|
|
173
|
+
e[5] || (e[5] = c("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
|
|
174
|
+
A(" " + S((o = u.value[0]) == null ? void 0 : o.label), 1)
|
|
175
|
+
], 64)) : u.value.length > 1 ? (m(), v(C, { key: 1 }, [
|
|
176
|
+
e[6] || (e[6] = A(" Multiple ")),
|
|
177
|
+
e[7] || (e[7] = c("span", { class: "sr-only" }, "Auth Types Selected", -1))
|
|
178
|
+
], 64)) : (m(), v(C, { key: 2 }, [
|
|
179
|
+
e[8] || (e[8] = c("span", { class: "sr-only" }, "Select", -1)),
|
|
180
|
+
e[9] || (e[9] = A(" Auth Type "))
|
|
180
181
|
], 64)),
|
|
181
|
-
d(
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
d(r(_), {
|
|
183
|
+
class: "size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180",
|
|
184
|
+
weight: "bold"
|
|
184
185
|
})
|
|
185
186
|
];
|
|
186
187
|
}),
|
|
@@ -191,28 +192,35 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
191
192
|
}, 8, ["modelValue", "options"])
|
|
192
193
|
])
|
|
193
194
|
]),
|
|
194
|
-
default:
|
|
195
|
-
d(
|
|
195
|
+
default: a(() => [
|
|
196
|
+
d(se, {
|
|
196
197
|
collection: t.collection,
|
|
197
198
|
envVariables: t.envVariables,
|
|
198
199
|
environment: t.environment,
|
|
199
200
|
layout: t.layout,
|
|
200
201
|
persistAuth: t.persistAuth,
|
|
201
|
-
selectedSchemeOptions:
|
|
202
|
+
selectedSchemeOptions: u.value,
|
|
202
203
|
server: t.server,
|
|
203
|
-
workspace: t.workspace
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
workspace: t.workspace,
|
|
205
|
+
onActiveSchemes: e[0] || (e[0] = (o) => R("activeSchemes", o)),
|
|
206
|
+
onAuthorized: e[1] || (e[1] = (o) => R("authorized"))
|
|
207
|
+
}, {
|
|
208
|
+
"oauth-actions": a(() => [
|
|
209
|
+
W(t.$slots, "oauth-actions", {}, void 0, !0)
|
|
210
|
+
]),
|
|
211
|
+
_: 3
|
|
212
|
+
}, 8, ["collection", "envVariables", "environment", "layout", "persistAuth", "selectedSchemeOptions", "server", "workspace"]),
|
|
213
|
+
d(ne, {
|
|
206
214
|
scheme: g.value,
|
|
207
|
-
state:
|
|
208
|
-
onClose: e[
|
|
209
|
-
onDelete: e[
|
|
215
|
+
state: r(p),
|
|
216
|
+
onClose: e[2] || (e[2] = (o) => r(p).hide()),
|
|
217
|
+
onDelete: e[3] || (e[3] = (o) => {
|
|
210
218
|
var l;
|
|
211
|
-
return
|
|
219
|
+
return L((l = g.value) == null ? void 0 : l.id);
|
|
212
220
|
})
|
|
213
221
|
}, null, 8, ["scheme", "state"])
|
|
214
222
|
]),
|
|
215
|
-
_:
|
|
223
|
+
_: 3
|
|
216
224
|
}, 8, ["itemCount", "layout"]));
|
|
217
225
|
}
|
|
218
226
|
});
|
|
@@ -15,6 +15,205 @@ type __VLS_Props = {
|
|
|
15
15
|
server: Server | undefined;
|
|
16
16
|
workspace: Workspace;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
type __VLS_Slots = {
|
|
19
|
+
'oauth-actions'?: () => unknown;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
authorized: () => any;
|
|
23
|
+
activeSchemes: (schemes: ({
|
|
24
|
+
type: "apiKey";
|
|
25
|
+
value: string;
|
|
26
|
+
name: string;
|
|
27
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
28
|
+
nameKey: string;
|
|
29
|
+
in: "cookie" | "query" | "header";
|
|
30
|
+
description?: string | undefined;
|
|
31
|
+
} | {
|
|
32
|
+
type: "http";
|
|
33
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
34
|
+
nameKey: string;
|
|
35
|
+
scheme: "basic" | "bearer";
|
|
36
|
+
bearerFormat: string;
|
|
37
|
+
username: string;
|
|
38
|
+
password: string;
|
|
39
|
+
token: string;
|
|
40
|
+
description?: string | undefined;
|
|
41
|
+
} | {
|
|
42
|
+
type: "openIdConnect";
|
|
43
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
44
|
+
nameKey: string;
|
|
45
|
+
openIdConnectUrl: string;
|
|
46
|
+
description?: string | undefined;
|
|
47
|
+
} | {
|
|
48
|
+
type: "oauth2";
|
|
49
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
50
|
+
nameKey: string;
|
|
51
|
+
flows: {
|
|
52
|
+
password?: {
|
|
53
|
+
type: "password";
|
|
54
|
+
username: string;
|
|
55
|
+
password: string;
|
|
56
|
+
token: string;
|
|
57
|
+
refreshUrl: string;
|
|
58
|
+
scopes: Record<string, string>;
|
|
59
|
+
selectedScopes: string[];
|
|
60
|
+
"x-scalar-client-id": string;
|
|
61
|
+
tokenUrl: string;
|
|
62
|
+
clientSecret: string;
|
|
63
|
+
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
64
|
+
"x-scalar-security-body"?: Record<string, string> | undefined;
|
|
65
|
+
"x-tokenName"?: string | undefined;
|
|
66
|
+
"x-scalar-credentials-location"?: "header" | "body" | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
implicit?: {
|
|
69
|
+
type: "implicit";
|
|
70
|
+
token: string;
|
|
71
|
+
refreshUrl: string;
|
|
72
|
+
scopes: Record<string, string>;
|
|
73
|
+
selectedScopes: string[];
|
|
74
|
+
"x-scalar-client-id": string;
|
|
75
|
+
authorizationUrl: string;
|
|
76
|
+
"x-scalar-redirect-uri": string;
|
|
77
|
+
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
78
|
+
"x-scalar-security-body"?: Record<string, string> | undefined;
|
|
79
|
+
"x-tokenName"?: string | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
clientCredentials?: {
|
|
82
|
+
type: "clientCredentials";
|
|
83
|
+
token: string;
|
|
84
|
+
refreshUrl: string;
|
|
85
|
+
scopes: Record<string, string>;
|
|
86
|
+
selectedScopes: string[];
|
|
87
|
+
"x-scalar-client-id": string;
|
|
88
|
+
tokenUrl: string;
|
|
89
|
+
clientSecret: string;
|
|
90
|
+
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
91
|
+
"x-scalar-security-body"?: Record<string, string> | undefined;
|
|
92
|
+
"x-tokenName"?: string | undefined;
|
|
93
|
+
"x-scalar-credentials-location"?: "header" | "body" | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
authorizationCode?: {
|
|
96
|
+
type: "authorizationCode";
|
|
97
|
+
token: string;
|
|
98
|
+
refreshUrl: string;
|
|
99
|
+
scopes: Record<string, string>;
|
|
100
|
+
selectedScopes: string[];
|
|
101
|
+
"x-scalar-client-id": string;
|
|
102
|
+
authorizationUrl: string;
|
|
103
|
+
"x-scalar-redirect-uri": string;
|
|
104
|
+
tokenUrl: string;
|
|
105
|
+
clientSecret: string;
|
|
106
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
107
|
+
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
108
|
+
"x-scalar-security-body"?: Record<string, string> | undefined;
|
|
109
|
+
"x-tokenName"?: string | undefined;
|
|
110
|
+
"x-scalar-credentials-location"?: "header" | "body" | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
};
|
|
113
|
+
description?: string | undefined;
|
|
114
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
115
|
+
})[]) => any;
|
|
116
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
117
|
+
onAuthorized?: (() => any) | undefined;
|
|
118
|
+
onActiveSchemes?: ((schemes: ({
|
|
119
|
+
type: "apiKey";
|
|
120
|
+
value: string;
|
|
121
|
+
name: string;
|
|
122
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
123
|
+
nameKey: string;
|
|
124
|
+
in: "cookie" | "query" | "header";
|
|
125
|
+
description?: string | undefined;
|
|
126
|
+
} | {
|
|
127
|
+
type: "http";
|
|
128
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
129
|
+
nameKey: string;
|
|
130
|
+
scheme: "basic" | "bearer";
|
|
131
|
+
bearerFormat: string;
|
|
132
|
+
username: string;
|
|
133
|
+
password: string;
|
|
134
|
+
token: string;
|
|
135
|
+
description?: string | undefined;
|
|
136
|
+
} | {
|
|
137
|
+
type: "openIdConnect";
|
|
138
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
139
|
+
nameKey: string;
|
|
140
|
+
openIdConnectUrl: string;
|
|
141
|
+
description?: string | undefined;
|
|
142
|
+
} | {
|
|
143
|
+
type: "oauth2";
|
|
144
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
145
|
+
nameKey: string;
|
|
146
|
+
flows: {
|
|
147
|
+
password?: {
|
|
148
|
+
type: "password";
|
|
149
|
+
username: string;
|
|
150
|
+
password: string;
|
|
151
|
+
token: string;
|
|
152
|
+
refreshUrl: string;
|
|
153
|
+
scopes: Record<string, string>;
|
|
154
|
+
selectedScopes: string[];
|
|
155
|
+
"x-scalar-client-id": string;
|
|
156
|
+
tokenUrl: string;
|
|
157
|
+
clientSecret: string;
|
|
158
|
+
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
159
|
+
"x-scalar-security-body"?: Record<string, string> | undefined;
|
|
160
|
+
"x-tokenName"?: string | undefined;
|
|
161
|
+
"x-scalar-credentials-location"?: "header" | "body" | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
implicit?: {
|
|
164
|
+
type: "implicit";
|
|
165
|
+
token: string;
|
|
166
|
+
refreshUrl: string;
|
|
167
|
+
scopes: Record<string, string>;
|
|
168
|
+
selectedScopes: string[];
|
|
169
|
+
"x-scalar-client-id": string;
|
|
170
|
+
authorizationUrl: string;
|
|
171
|
+
"x-scalar-redirect-uri": string;
|
|
172
|
+
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
173
|
+
"x-scalar-security-body"?: Record<string, string> | undefined;
|
|
174
|
+
"x-tokenName"?: string | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
clientCredentials?: {
|
|
177
|
+
type: "clientCredentials";
|
|
178
|
+
token: string;
|
|
179
|
+
refreshUrl: string;
|
|
180
|
+
scopes: Record<string, string>;
|
|
181
|
+
selectedScopes: string[];
|
|
182
|
+
"x-scalar-client-id": string;
|
|
183
|
+
tokenUrl: string;
|
|
184
|
+
clientSecret: string;
|
|
185
|
+
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
186
|
+
"x-scalar-security-body"?: Record<string, string> | undefined;
|
|
187
|
+
"x-tokenName"?: string | undefined;
|
|
188
|
+
"x-scalar-credentials-location"?: "header" | "body" | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
authorizationCode?: {
|
|
191
|
+
type: "authorizationCode";
|
|
192
|
+
token: string;
|
|
193
|
+
refreshUrl: string;
|
|
194
|
+
scopes: Record<string, string>;
|
|
195
|
+
selectedScopes: string[];
|
|
196
|
+
"x-scalar-client-id": string;
|
|
197
|
+
authorizationUrl: string;
|
|
198
|
+
"x-scalar-redirect-uri": string;
|
|
199
|
+
tokenUrl: string;
|
|
200
|
+
clientSecret: string;
|
|
201
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
202
|
+
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
203
|
+
"x-scalar-security-body"?: Record<string, string> | undefined;
|
|
204
|
+
"x-tokenName"?: string | undefined;
|
|
205
|
+
"x-scalar-credentials-location"?: "header" | "body" | undefined;
|
|
206
|
+
} | undefined;
|
|
207
|
+
};
|
|
208
|
+
description?: string | undefined;
|
|
209
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
210
|
+
})[]) => any) | undefined;
|
|
211
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
212
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
213
|
export default _default;
|
|
214
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
215
|
+
new (): {
|
|
216
|
+
$slots: S;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
20
219
|
//# sourceMappingURL=RequestAuthDataTable.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue"],"names":[],"mappings":"AA+PA,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;AAKrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAK1D,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,WAAW,EAAE,OAAO,CAAA;IACpB,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;AAkBF,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;CAChC,CAAC;AAwQF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAsBs6lE,CAAC;;;;;;;;;;;yCAA0X,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;oBAAwE,CAAC;;;;;;;;;yCAAiV,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;;6BAAsE,CAAC;;;;;;;;;yCAAuU,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;6BAAiF,CAAC;;;;;;;;;;;;yCAA+c,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAA17E,CAAC;;;;;;;;;;;yCAA0X,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;oBAAwE,CAAC;;;;;;;;;yCAAiV,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;;6BAAsE,CAAC;;;;;;;;;yCAAuU,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;6BAAiF,CAAC;;;;;;;;;;;;yCAA+c,CAAC;wCAA0E,CAAC;6BAA+D,CAAC;+CAAiE,CAAC;;;;;;kFAfn3qE,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./RequestAuthDataTable.vue2.js";
|
|
2
2
|
import "./RequestAuthDataTable.vue3.js";
|
|
3
3
|
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-0bb98074"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|