@scalar/api-client 2.2.62 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +65 -0
- package/README.md +2 -6
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +38 -38
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +21 -21
- package/dist/components/DataTable/DataTableHeader.vue.js +9 -9
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue2.js +48 -47
- package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableRow.vue.js +8 -8
- package/dist/components/SectionFilter.vue.js +2 -2
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +49 -38
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +49 -46
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +7 -7
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +3 -3
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +13 -14
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +18 -19
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +13 -14
- package/dist/libs/create-client.d.ts +1 -1
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +20 -20
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +69 -64
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +1 -1
- package/dist/views/Request/RequestRoot.vue2.js +71 -64
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +8 -7
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +21 -23
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +74 -63
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +31 -31
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +120 -96
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +32 -27
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestRoot.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestRoot.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"RequestRoot.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestRoot.vue"],"names":[],"mappings":";;cAyN8C,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AA+QjE,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestRoot.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fb90f3bc"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,96 +1,103 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isDefined as
|
|
3
|
-
import { safeJSON as
|
|
4
|
-
import { useToasts as
|
|
5
|
-
import { RouterView as
|
|
6
|
-
import
|
|
7
|
-
import { useSidebar as
|
|
8
|
-
import { validateParameters as
|
|
9
|
-
import { useActiveEntities as
|
|
10
|
-
import { useOpenApiWatcher as
|
|
11
|
-
import
|
|
12
|
-
import { createRequestOperation as
|
|
13
|
-
import { ERRORS as
|
|
14
|
-
import { useWorkspace as
|
|
1
|
+
import { defineComponent as L, ref as f, computed as M, onMounted as w, onBeforeUnmount as $, watch as H, openBlock as d, createElementBlock as Q, normalizeClass as O, unref as o, createBlock as V, isRef as F, createCommentVNode as U, createElementVNode as C, createVNode as G } from "vue";
|
|
2
|
+
import { isDefined as K } from "@scalar/oas-utils/helpers";
|
|
3
|
+
import { safeJSON as X } from "@scalar/object-utils/parse";
|
|
4
|
+
import { useToasts as Y } from "@scalar/use-toasts";
|
|
5
|
+
import { RouterView as Z } from "vue-router";
|
|
6
|
+
import ee from "../../components/Sidebar/SidebarToggle.vue.js";
|
|
7
|
+
import { useSidebar as te } from "../../hooks/useSidebar.js";
|
|
8
|
+
import { validateParameters as oe } from "../../libs/validate-parameters.js";
|
|
9
|
+
import { useActiveEntities as re } from "../../store/active-entities.js";
|
|
10
|
+
import { useOpenApiWatcher as se } from "./hooks/useOpenApiWatcher.js";
|
|
11
|
+
import ae from "./RequestSidebar.vue.js";
|
|
12
|
+
import { createRequestOperation as le } from "../../libs/send-request/create-request-operation.js";
|
|
13
|
+
import { ERRORS as ne } from "../../libs/errors.js";
|
|
14
|
+
import { useWorkspace as ue } from "../../store/store.js";
|
|
15
15
|
import { useLayout as ie } from "../../hooks/useLayout.js";
|
|
16
|
-
const
|
|
16
|
+
const ce = { class: "flex h-full" }, me = { class: "flex h-full flex-1 flex-col" }, Oe = /* @__PURE__ */ L({
|
|
17
17
|
__name: "RequestRoot",
|
|
18
18
|
emits: ["newTab"],
|
|
19
|
-
setup(
|
|
20
|
-
const
|
|
21
|
-
activeCollection:
|
|
22
|
-
activeExample:
|
|
23
|
-
activeEnvironment:
|
|
24
|
-
activeRequest:
|
|
25
|
-
activeWorkspace:
|
|
26
|
-
activeServer:
|
|
27
|
-
} =
|
|
19
|
+
setup(fe) {
|
|
20
|
+
const T = ue(), { toast: v } = Y(), { layout: a } = ie(), {
|
|
21
|
+
activeCollection: u,
|
|
22
|
+
activeExample: l,
|
|
23
|
+
activeEnvironment: p,
|
|
24
|
+
activeRequest: i,
|
|
25
|
+
activeWorkspace: S,
|
|
26
|
+
activeServer: g
|
|
27
|
+
} = re(), { cookies: A, requestHistory: B, showSidebar: R, securitySchemes: D, events: n } = T, { isSidebarOpen: r } = te(), c = f(), b = f(), m = f(/* @__PURE__ */ new Set()), P = M(
|
|
28
28
|
() => {
|
|
29
29
|
var e, t;
|
|
30
|
-
return (
|
|
30
|
+
return (a === "modal" ? (e = u.value) == null ? void 0 : e.selectedSecuritySchemeUids : (t = i.value) == null ? void 0 : t.selectedSecuritySchemeUids) ?? [];
|
|
31
31
|
}
|
|
32
|
-
),
|
|
33
|
-
var
|
|
34
|
-
if (!
|
|
32
|
+
), x = async () => {
|
|
33
|
+
var k, E, N, _;
|
|
34
|
+
if (!i.value || !l.value || !u.value)
|
|
35
35
|
return;
|
|
36
|
-
|
|
37
|
-
const e = typeof
|
|
36
|
+
m.value = oe(l.value);
|
|
37
|
+
const e = typeof p.value == "object" ? p.value.value : "{}", t = X.parse(e);
|
|
38
38
|
t.error && console.error("INVALID ENVIRONMENT!");
|
|
39
|
-
const s = t.error || typeof t.data != "object" ? {} : t.data ?? {},
|
|
40
|
-
request:
|
|
41
|
-
example:
|
|
42
|
-
selectedSecuritySchemeUids:
|
|
43
|
-
proxyUrl: ((
|
|
39
|
+
const s = t.error || typeof t.data != "object" ? {} : t.data ?? {}, I = ((k = S.value) == null ? void 0 : k.cookies.map((j) => A[j]).filter(K)) ?? [], J = ((N = (E = u.value) == null ? void 0 : E.info) == null ? void 0 : N.title) === "Drafts" ? void 0 : g.value, [y, q] = le({
|
|
40
|
+
request: i.value,
|
|
41
|
+
example: l.value,
|
|
42
|
+
selectedSecuritySchemeUids: P.value,
|
|
43
|
+
proxyUrl: ((_ = S.value) == null ? void 0 : _.proxyUrl) ?? "",
|
|
44
44
|
environment: s,
|
|
45
|
-
globalCookies:
|
|
46
|
-
status:
|
|
47
|
-
securitySchemes:
|
|
48
|
-
server:
|
|
45
|
+
globalCookies: I,
|
|
46
|
+
status: n.requestStatus,
|
|
47
|
+
securitySchemes: D,
|
|
48
|
+
server: J
|
|
49
49
|
});
|
|
50
|
-
if (
|
|
51
|
-
|
|
50
|
+
if (y) {
|
|
51
|
+
v(y.message, "error");
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
const [
|
|
56
|
-
|
|
57
|
-
},
|
|
54
|
+
b.value = q.controller;
|
|
55
|
+
const [h, W] = await q.sendRequest();
|
|
56
|
+
h ? v(h.message, "error") : B.push(JSON.parse(JSON.stringify(W)));
|
|
57
|
+
}, z = async () => {
|
|
58
58
|
var e;
|
|
59
|
-
return (e =
|
|
59
|
+
return (e = b.value) == null ? void 0 : e.abort(ne.REQUEST_ABORTED);
|
|
60
60
|
};
|
|
61
|
-
return
|
|
62
|
-
|
|
63
|
-
}),
|
|
61
|
+
return w(() => {
|
|
62
|
+
n.executeRequest.on(x), n.cancelRequest.on(z);
|
|
63
|
+
}), w(() => {
|
|
64
|
+
if (c.value && a === "modal") {
|
|
65
|
+
const e = c.value.querySelector("button");
|
|
66
|
+
e && e.focus();
|
|
67
|
+
}
|
|
68
|
+
}), se(), $(() => n.executeRequest.off(x)), H(
|
|
64
69
|
() => {
|
|
65
70
|
var e;
|
|
66
|
-
return (e =
|
|
71
|
+
return (e = l.value) == null ? void 0 : e.parameters;
|
|
67
72
|
},
|
|
68
73
|
() => {
|
|
69
|
-
|
|
74
|
+
m.value.clear();
|
|
70
75
|
},
|
|
71
76
|
{ deep: !0 }
|
|
72
|
-
), (e, t) => (
|
|
73
|
-
|
|
74
|
-
|
|
77
|
+
), (e, t) => (d(), Q("div", {
|
|
78
|
+
ref_key: "element",
|
|
79
|
+
ref: c,
|
|
80
|
+
class: O(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0", {
|
|
81
|
+
"!mb-0 !mr-0 !border-0": o(a) === "modal"
|
|
75
82
|
}])
|
|
76
83
|
}, [
|
|
77
|
-
o(
|
|
84
|
+
o(R) ? (d(), V(ee, {
|
|
78
85
|
key: 0,
|
|
79
86
|
modelValue: o(r),
|
|
80
|
-
"onUpdate:modelValue": t[0] || (t[0] = (s) =>
|
|
81
|
-
class:
|
|
87
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => F(r) ? r.value = s : null),
|
|
88
|
+
class: O(["absolute left-3 top-2 z-50", [
|
|
82
89
|
{ hidden: o(r) },
|
|
83
90
|
{ "xl:!flex": !o(r) },
|
|
84
|
-
{ "!flex": o(
|
|
91
|
+
{ "!flex": o(a) === "modal" }
|
|
85
92
|
]])
|
|
86
|
-
}, null, 8, ["modelValue", "class"])) :
|
|
87
|
-
|
|
88
|
-
o(
|
|
93
|
+
}, null, 8, ["modelValue", "class"])) : U("", !0),
|
|
94
|
+
C("div", ce, [
|
|
95
|
+
o(R) ? (d(), V(ae, {
|
|
89
96
|
key: 0,
|
|
90
97
|
onNewTab: t[1] || (t[1] = (s) => e.$emit("newTab", s))
|
|
91
|
-
})) :
|
|
92
|
-
|
|
93
|
-
|
|
98
|
+
})) : U("", !0),
|
|
99
|
+
C("div", me, [
|
|
100
|
+
G(o(Z), { invalidParams: m.value }, null, 8, ["invalidParams"])
|
|
94
101
|
])
|
|
95
102
|
])
|
|
96
103
|
], 2));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OAuth2.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/OAuth2.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OAuth2.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/OAuth2.vue"],"names":[],"mappings":"AAmQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACZ,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAS1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,IAAI,EAAE,UAAU,CAAA;IAChB,MAAM,EAAE,oBAAoB,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA4eF,wBAMG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useLoadingState as
|
|
1
|
+
import { defineComponent as S, 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
|
+
import { useLoadingState as T, ScalarButton as b } from "@scalar/components";
|
|
3
3
|
import { pkceOptions as P } from "@scalar/oas-utils/entities/spec";
|
|
4
4
|
import { useToasts as L } from "@scalar/use-toasts";
|
|
5
5
|
import { useWorkspace as R } from "../../../../store/store.js";
|
|
@@ -7,7 +7,7 @@ import B from "./OAuthScopesInput.vue.js";
|
|
|
7
7
|
import w from "./RequestAuthDataTableInput.vue.js";
|
|
8
8
|
import u from "../../../../components/DataTable/DataTableRow.vue.js";
|
|
9
9
|
import { authorizeOauth2 as F } from "../../libs/oauth2.js";
|
|
10
|
-
const I = { class: "flex h-8 items-center justify-self-end" }, A = { class: "border-t-1/2 flex h-8 w-full items-center justify-end" }, W = /* @__PURE__ */
|
|
10
|
+
const I = { class: "flex h-8 items-center justify-self-end" }, A = { class: "border-t-1/2 flex h-8 w-full items-center justify-end" }, W = /* @__PURE__ */ S({
|
|
11
11
|
__name: "OAuth2",
|
|
12
12
|
props: {
|
|
13
13
|
collection: {},
|
|
@@ -19,7 +19,7 @@ const I = { class: "flex h-8 items-center justify-self-end" }, A = { class: "bor
|
|
|
19
19
|
workspace: {}
|
|
20
20
|
},
|
|
21
21
|
setup(f) {
|
|
22
|
-
const y =
|
|
22
|
+
const y = T(), { toast: g } = L(), { securitySchemeMutators: z } = R(), n = (l, e) => z.edit(f.scheme.uid, l, e), C = async () => {
|
|
23
23
|
var t, v;
|
|
24
24
|
if (y.isLoading || !((t = f.collection) != null && t.uid)) return;
|
|
25
25
|
if (y.startLoading(), !f.server) {
|
|
@@ -59,7 +59,7 @@ const I = { class: "flex h-8 items-center justify-self-end" }, A = { class: "bor
|
|
|
59
59
|
a(r(u), { class: "min-w-full" }, {
|
|
60
60
|
default: o(() => [
|
|
61
61
|
$("div", I, [
|
|
62
|
-
a(r(
|
|
62
|
+
a(r(b), {
|
|
63
63
|
class: "mr-1 p-0 px-2 py-0.5",
|
|
64
64
|
loading: r(y),
|
|
65
65
|
size: "sm",
|
|
@@ -79,6 +79,7 @@ const I = { class: "flex h-8 items-center justify-self-end" }, A = { class: "bor
|
|
|
79
79
|
a(r(u), null, {
|
|
80
80
|
default: o(() => [
|
|
81
81
|
"authorizationUrl" in l.flow ? (s(), k(w, m({ key: 0 }, i, {
|
|
82
|
+
containerClass: "border-r-0",
|
|
82
83
|
modelValue: l.flow.authorizationUrl,
|
|
83
84
|
placeholder: "https://galaxy.scalar.com/authorize",
|
|
84
85
|
"onUpdate:modelValue": e[2] || (e[2] = (t) => n(`flows.${l.flow.type}.authorizationUrl`, t))
|
|
@@ -216,12 +217,12 @@ const I = { class: "flex h-8 items-center justify-self-end" }, A = { class: "bor
|
|
|
216
217
|
}, {
|
|
217
218
|
default: o(() => [
|
|
218
219
|
$("div", A, [
|
|
219
|
-
a(r(
|
|
220
|
+
a(r(b), {
|
|
220
221
|
class: "mr-1 p-0 px-2 py-0.5",
|
|
221
222
|
loading: r(y),
|
|
222
223
|
size: "sm",
|
|
223
224
|
variant: "outlined",
|
|
224
|
-
onClick:
|
|
225
|
+
onClick: C
|
|
225
226
|
}, {
|
|
226
227
|
default: o(() => e[20] || (e[20] = [
|
|
227
228
|
d(" Authorize ")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OAuthScopesInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OAuthScopesInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAQjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAA;IAChB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAC;;AAoPF,wBAOG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, computed as x, openBlock as
|
|
1
|
+
import { defineComponent as C, computed as x, openBlock as f, createBlock as w, unref as t, withCtx as a, createElementVNode as i, createVNode as n, normalizeClass as b, toDisplayString as m, createElementBlock as v, Fragment as y, renderList as k, createTextVNode as V, createCommentVNode as D } from "vue";
|
|
2
2
|
import { Disclosure as $, DisclosureButton as B, DisclosurePanel as N } from "@headlessui/vue";
|
|
3
3
|
import { ScalarIcon as O } from "@scalar/components";
|
|
4
4
|
import S from "../../../../components/DataTable/DataTableCell.vue.js";
|
|
@@ -36,57 +36,55 @@ const z = { class: "flex h-fit w-full" }, E = { class: "flex-1" }, F = {
|
|
|
36
36
|
u.value.filter((s) => s !== e)
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
|
-
return (e, l) => (
|
|
39
|
+
return (e, l) => (f(), w(t(S), { class: "h-auto !max-h-[initial] min-h-8 items-center" }, {
|
|
40
40
|
default: a(() => [
|
|
41
|
-
|
|
42
|
-
l[0] || (l[0] =
|
|
43
|
-
|
|
41
|
+
i("div", z, [
|
|
42
|
+
l[0] || (l[0] = i("div", { class: "text-c-1 h-full items-center" }, null, -1)),
|
|
43
|
+
n(t($), {
|
|
44
44
|
as: "div",
|
|
45
45
|
class: "bl flex w-full flex-col"
|
|
46
46
|
}, {
|
|
47
47
|
default: a(() => {
|
|
48
48
|
var s, h;
|
|
49
49
|
return [
|
|
50
|
-
|
|
51
|
-
class:
|
|
52
|
-
"group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pl-3 pr-2 text-left",
|
|
50
|
+
n(t(B), {
|
|
51
|
+
class: b([
|
|
52
|
+
"group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pl-3 pr-2.5 text-left",
|
|
53
53
|
(((h = (s = e.flow) == null ? void 0 : s.selectedScopes) == null ? void 0 : h.length) || 0) > 0 ? "text-c-1" : "text-c-3"
|
|
54
54
|
])
|
|
55
55
|
}, {
|
|
56
56
|
default: a(({ open: c }) => {
|
|
57
|
-
var
|
|
57
|
+
var d, r, p;
|
|
58
58
|
return [
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
i("div", E, " Scopes Selected " + m(((r = (d = e.flow) == null ? void 0 : d.selectedScopes) == null ? void 0 : r.length) || 0) + " / " + m(Object.keys(((p = e.flow) == null ? void 0 : p.scopes) ?? {}).length || 0), 1),
|
|
60
|
+
n(t(O), {
|
|
61
61
|
class: "text-c-3 group-hover/scopes-accordion:text-c-2",
|
|
62
62
|
icon: c ? "ChevronDown" : "ChevronRight",
|
|
63
|
-
size: "
|
|
63
|
+
size: "md"
|
|
64
64
|
}, null, 8, ["icon"])
|
|
65
65
|
];
|
|
66
66
|
}),
|
|
67
67
|
_: 1
|
|
68
68
|
}, 8, ["class"]),
|
|
69
|
-
|
|
69
|
+
n(t(N), { as: "template" }, {
|
|
70
70
|
default: a(() => [
|
|
71
|
-
|
|
72
|
-
(
|
|
71
|
+
i("table", F, [
|
|
72
|
+
(f(!0), v(y, null, k(g.value, ({ id: c, label: d, description: r }) => (f(), w(t(T), {
|
|
73
73
|
key: c,
|
|
74
74
|
class: "text-c-2",
|
|
75
75
|
onClick: (p) => _(c, !u.value.includes(c))
|
|
76
76
|
}, {
|
|
77
77
|
default: a(() => [
|
|
78
|
-
|
|
78
|
+
n(t(S), { class: "hover:text-c-1 box-border !max-h-[initial] w-full cursor-pointer px-3 py-1.5" }, {
|
|
79
79
|
default: a(() => [
|
|
80
|
-
|
|
81
|
-
i
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
])) : D("", !0)
|
|
85
|
-
])
|
|
80
|
+
r ? (f(), v("div", I, [
|
|
81
|
+
i("span", R, m(d), 1),
|
|
82
|
+
V(" – " + m(r), 1)
|
|
83
|
+
])) : D("", !0)
|
|
86
84
|
]),
|
|
87
85
|
_: 2
|
|
88
86
|
}, 1024),
|
|
89
|
-
|
|
87
|
+
n(t(j), {
|
|
90
88
|
modelValue: u.value.includes(c),
|
|
91
89
|
"onUpdate:modelValue": () => {
|
|
92
90
|
}
|
|
@@ -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 m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-88a7b6d4"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -123,7 +123,7 @@ const le = ["id"], oe = { class: "-mx-1 flex flex-1" }, ne = { class: "text-c-1"
|
|
|
123
123
|
ref_key: "comboboxButtonRef",
|
|
124
124
|
ref: C,
|
|
125
125
|
"aria-describedby": r(R),
|
|
126
|
-
class: "
|
|
126
|
+
class: "hover:bg-b-3 text-c-1 hover:text-c-1 py-0.25 h-fit px-1.5 font-normal",
|
|
127
127
|
fullWidth: "",
|
|
128
128
|
variant: "ghost"
|
|
129
129
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestAuthTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue"],"names":[],"mappings":"AAwPA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EAEV,MAAM,EACP,MAAM,iCAAiC,CAAA;AAKxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAQ1D,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,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA0aF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./RequestAuthTab.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-be1373d0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|