@scalar/api-client 2.5.30 → 2.5.32
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 +25 -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/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +68 -69
- 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/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestRoot.vue2.js";
|
|
2
2
|
import "./RequestRoot.vue3.js";
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c648cff4"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -3,8 +3,8 @@ import { isDefined as se } from "@scalar/oas-utils/helpers";
|
|
|
3
3
|
import { safeJSON as ae } from "@scalar/object-utils/parse";
|
|
4
4
|
import { useToasts as ne } from "@scalar/use-toasts";
|
|
5
5
|
import { RouterView as le } from "vue-router";
|
|
6
|
-
import
|
|
7
|
-
import ce from "../../
|
|
6
|
+
import ue from "../../components/Sidebar/SidebarToggle.vue.js";
|
|
7
|
+
import { useAnalytics as ce } from "../../hooks/useAnalytics.js";
|
|
8
8
|
import { useClientConfig as ie } from "../../hooks/useClientConfig.js";
|
|
9
9
|
import { useSidebar as me } from "../../hooks/useSidebar.js";
|
|
10
10
|
import { validateParameters as fe } from "../../libs/validate-parameters.js";
|
|
@@ -20,7 +20,7 @@ const be = { class: "flex h-full" }, he = { class: "flex h-full flex-1 flex-col"
|
|
|
20
20
|
__name: "RequestRoot",
|
|
21
21
|
emits: ["newTab"],
|
|
22
22
|
setup(ge) {
|
|
23
|
-
const M = ye(), { toast: v } = ne(), { layout: R } = xe(), z = ie(), { isSidebarOpen: a } = me(), f =
|
|
23
|
+
const M = ye(), { toast: v } = ne(), { layout: R } = xe(), z = ie(), { isSidebarOpen: a } = me(), f = ce(), {
|
|
24
24
|
activeCollection: l,
|
|
25
25
|
activeExample: u,
|
|
26
26
|
activeEnvironment: S,
|
|
@@ -95,7 +95,7 @@ const be = { class: "flex h-full" }, he = { class: "flex h-full flex-1 flex-col"
|
|
|
95
95
|
"!mr-0 !mb-0 !border-0": r(R) === "modal"
|
|
96
96
|
}])
|
|
97
97
|
}, [
|
|
98
|
-
r(y) ? (p(), T(
|
|
98
|
+
r(y) ? (p(), T(ue, {
|
|
99
99
|
key: 0,
|
|
100
100
|
modelValue: r(a),
|
|
101
101
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => oe(a) ? a.value = o : null),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":"AAmaA,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;AAKrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAa1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,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,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;AAuBF,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;CAChC,CAAC;AAghBF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAsBw4lD,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;;;;;;kFAfr1qD,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 "./RequestAuth.vue2.js";
|
|
2
2
|
import "./RequestAuth.vue3.js";
|
|
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-f622cd82"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { defineComponent 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 ie from "
|
|
11
|
-
|
|
12
|
-
const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1 truncate" }, qe = /* @__PURE__ */ j({
|
|
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: {},
|
|
@@ -26,32 +25,32 @@ const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1
|
|
|
26
25
|
},
|
|
27
26
|
emits: ["authorized", "activeSchemes"],
|
|
28
27
|
setup(s, { emit: B }) {
|
|
29
|
-
const R = B, {
|
|
28
|
+
const R = B, {
|
|
30
29
|
securitySchemes: f,
|
|
31
|
-
securitySchemeMutators:
|
|
30
|
+
securitySchemeMutators: I,
|
|
32
31
|
requestMutators: M,
|
|
33
32
|
collectionMutators: T
|
|
34
|
-
} =
|
|
33
|
+
} = le(), q = j(), b = k(null), p = H(), g = k(
|
|
35
34
|
null
|
|
36
|
-
),
|
|
37
|
-
const t =
|
|
35
|
+
), O = k(!1), V = y(() => {
|
|
36
|
+
const t = re(s.operation, s.collection);
|
|
38
37
|
return { filteredRequirements: t.filter((o) => Object.keys(o).length), requirements: t };
|
|
39
|
-
}), x =
|
|
40
|
-
const { filteredRequirements: t, requirements: e } =
|
|
38
|
+
}), x = y(() => {
|
|
39
|
+
const { filteredRequirements: t, requirements: e } = V.value;
|
|
41
40
|
if (!e.length)
|
|
42
41
|
return null;
|
|
43
42
|
const l = !e.some(
|
|
44
|
-
(
|
|
43
|
+
(h) => Object.keys(h).length > 1
|
|
45
44
|
) && t.length < e.length;
|
|
46
45
|
return { icon: l ? "Unlock" : "Lock", text: l ? "Optional" : "Required" };
|
|
47
|
-
}),
|
|
46
|
+
}), u = y(
|
|
48
47
|
() => s.selectedSecuritySchemeUids.map((t) => {
|
|
49
48
|
if (Array.isArray(t))
|
|
50
|
-
return
|
|
49
|
+
return ie(t, f);
|
|
51
50
|
const e = f[t ?? ""];
|
|
52
51
|
if (e)
|
|
53
|
-
return
|
|
54
|
-
}).filter(
|
|
52
|
+
return ae(e);
|
|
53
|
+
}).filter(te)
|
|
55
54
|
);
|
|
56
55
|
function U(t) {
|
|
57
56
|
var l;
|
|
@@ -60,15 +59,15 @@ const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1
|
|
|
60
59
|
return i.length > 1 ? i : n;
|
|
61
60
|
});
|
|
62
61
|
if (e != null && e.payload) {
|
|
63
|
-
const n =
|
|
62
|
+
const n = I.add(
|
|
64
63
|
e.payload,
|
|
65
64
|
(l = s.collection) == null ? void 0 : l.uid
|
|
66
65
|
);
|
|
67
66
|
n && o.push(n.uid);
|
|
68
67
|
}
|
|
69
|
-
|
|
68
|
+
w(o);
|
|
70
69
|
}
|
|
71
|
-
const
|
|
70
|
+
const w = (t) => {
|
|
72
71
|
var e;
|
|
73
72
|
if (s.collection.useCollectionSecurity) {
|
|
74
73
|
if (T.edit(s.collection.uid, "selectedSecuritySchemeUids", t), !s.persistAuth)
|
|
@@ -76,12 +75,12 @@ const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1
|
|
|
76
75
|
const o = t.map((l) => {
|
|
77
76
|
var n;
|
|
78
77
|
return Array.isArray(l) ? l.map((i) => {
|
|
79
|
-
var
|
|
80
|
-
return (
|
|
78
|
+
var h;
|
|
79
|
+
return (h = f[i]) == null ? void 0 : h.nameKey;
|
|
81
80
|
}) : (n = f[l]) == null ? void 0 : n.nameKey;
|
|
82
81
|
});
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
X().setItem(
|
|
83
|
+
Z.SELECTED_SECURITY_SCHEMES,
|
|
85
84
|
JSON.stringify(o)
|
|
86
85
|
);
|
|
87
86
|
} else (e = s.operation) != null && e.uid && M.edit(s.operation.uid, "selectedSecuritySchemeUids", t);
|
|
@@ -89,7 +88,7 @@ const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1
|
|
|
89
88
|
function D({ id: t, label: e }) {
|
|
90
89
|
g.value = { id: t, label: e }, p.show();
|
|
91
90
|
}
|
|
92
|
-
const
|
|
91
|
+
const L = (t) => {
|
|
93
92
|
var o;
|
|
94
93
|
if (!t)
|
|
95
94
|
return;
|
|
@@ -97,69 +96,69 @@ const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1
|
|
|
97
96
|
const n = t.split(",");
|
|
98
97
|
return n.length > 1 && Array.isArray(l) && n.length === l.length ? l.every((i) => !n.includes(i)) : l !== t;
|
|
99
98
|
});
|
|
100
|
-
|
|
101
|
-
},
|
|
99
|
+
w(e), (o = b.value) == null || o.$el.focus(), p.hide();
|
|
100
|
+
}, z = y(
|
|
102
101
|
() => {
|
|
103
102
|
var t;
|
|
104
|
-
return
|
|
105
|
-
|
|
103
|
+
return ce(
|
|
104
|
+
V.value.filteredRequirements,
|
|
106
105
|
((t = s.collection) == null ? void 0 : t.securitySchemes) ?? [],
|
|
107
106
|
f,
|
|
108
107
|
s.isReadOnly
|
|
109
108
|
);
|
|
110
109
|
}
|
|
111
|
-
),
|
|
110
|
+
), N = (t) => {
|
|
112
111
|
var e;
|
|
113
|
-
|
|
112
|
+
O.value && t.stopPropagation(), (e = b.value) == null || e.$el.click();
|
|
114
113
|
};
|
|
115
|
-
return (t, e) => (m(), E(
|
|
114
|
+
return (t, e) => (m(), E(oe, {
|
|
116
115
|
class: "group/params relative",
|
|
117
|
-
itemCount:
|
|
116
|
+
itemCount: u.value.length,
|
|
118
117
|
layout: t.layout,
|
|
119
|
-
"onUpdate:modelValue": e[4] || (e[4] = (o) =>
|
|
118
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => O.value = o)
|
|
120
119
|
}, {
|
|
121
120
|
title: a(() => [
|
|
122
|
-
|
|
121
|
+
c("div", {
|
|
123
122
|
id: r(q),
|
|
124
123
|
class: "inline-flex items-center gap-0.5 leading-[20px]"
|
|
125
124
|
}, [
|
|
126
|
-
|
|
125
|
+
c("span", null, S(t.title), 1),
|
|
127
126
|
x.value ? (m(), v("span", {
|
|
128
127
|
key: 0,
|
|
129
|
-
class:
|
|
130
|
-
onClick:
|
|
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" }]),
|
|
129
|
+
onClick: N
|
|
131
130
|
}, S(x.value.text), 3)) : $("", !0)
|
|
132
|
-
], 8,
|
|
131
|
+
], 8, ue)
|
|
133
132
|
]),
|
|
134
133
|
actions: a(() => [
|
|
135
|
-
|
|
136
|
-
d(r(
|
|
134
|
+
c("div", me, [
|
|
135
|
+
d(r(J), {
|
|
137
136
|
class: "w-72 text-xs",
|
|
138
|
-
modelValue:
|
|
137
|
+
modelValue: u.value,
|
|
139
138
|
multiple: "",
|
|
140
|
-
options:
|
|
139
|
+
options: z.value,
|
|
141
140
|
placement: "bottom-end",
|
|
142
141
|
teleport: "",
|
|
143
142
|
onDelete: D,
|
|
144
143
|
"onUpdate:modelValue": U
|
|
145
144
|
}, {
|
|
146
145
|
option: a(({ option: o, selected: l }) => [
|
|
147
|
-
d(r(
|
|
146
|
+
d(r(G), {
|
|
148
147
|
multiselect: "",
|
|
149
148
|
selected: l
|
|
150
149
|
}, null, 8, ["selected"]),
|
|
151
|
-
|
|
152
|
-
o.isDeletable ??
|
|
150
|
+
c("div", de, S(o.label), 1),
|
|
151
|
+
o.isDeletable ?? !t.isReadOnly ? (m(), E(r(Q), {
|
|
153
152
|
key: 0,
|
|
154
153
|
class: "-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",
|
|
155
|
-
icon: r(
|
|
154
|
+
icon: r(ee),
|
|
156
155
|
label: `Delete ${o.label}`,
|
|
157
156
|
size: "xs",
|
|
158
|
-
onClick:
|
|
157
|
+
onClick: Y((n) => D(o), ["stop"])
|
|
159
158
|
}, null, 8, ["icon", "label", "onClick"])) : $("", !0)
|
|
160
159
|
]),
|
|
161
160
|
default: a(() => [
|
|
162
|
-
d(r(
|
|
161
|
+
d(r(P), {
|
|
163
162
|
ref_key: "comboboxButtonRef",
|
|
164
163
|
ref: b,
|
|
165
164
|
"aria-describedby": r(q),
|
|
@@ -170,17 +169,17 @@ const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1
|
|
|
170
169
|
default: a(() => {
|
|
171
170
|
var o;
|
|
172
171
|
return [
|
|
173
|
-
|
|
174
|
-
e[5] || (e[5] =
|
|
175
|
-
A(" " + S((o =
|
|
176
|
-
], 64)) :
|
|
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 }, [
|
|
177
176
|
e[6] || (e[6] = A(" Multiple ")),
|
|
178
|
-
e[7] || (e[7] =
|
|
177
|
+
e[7] || (e[7] = c("span", { class: "sr-only" }, "Auth Types Selected", -1))
|
|
179
178
|
], 64)) : (m(), v(C, { key: 2 }, [
|
|
180
|
-
e[8] || (e[8] =
|
|
179
|
+
e[8] || (e[8] = c("span", { class: "sr-only" }, "Select", -1)),
|
|
181
180
|
e[9] || (e[9] = A(" Auth Type "))
|
|
182
181
|
], 64)),
|
|
183
|
-
d(r(
|
|
182
|
+
d(r(_), {
|
|
184
183
|
class: "size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180",
|
|
185
184
|
weight: "bold"
|
|
186
185
|
})
|
|
@@ -194,30 +193,30 @@ const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1
|
|
|
194
193
|
])
|
|
195
194
|
]),
|
|
196
195
|
default: a(() => [
|
|
197
|
-
d(
|
|
196
|
+
d(se, {
|
|
198
197
|
collection: t.collection,
|
|
199
198
|
envVariables: t.envVariables,
|
|
200
199
|
environment: t.environment,
|
|
201
200
|
layout: t.layout,
|
|
202
201
|
persistAuth: t.persistAuth,
|
|
203
|
-
selectedSchemeOptions:
|
|
202
|
+
selectedSchemeOptions: u.value,
|
|
204
203
|
server: t.server,
|
|
205
204
|
workspace: t.workspace,
|
|
206
205
|
onActiveSchemes: e[0] || (e[0] = (o) => R("activeSchemes", o)),
|
|
207
206
|
onAuthorized: e[1] || (e[1] = (o) => R("authorized"))
|
|
208
207
|
}, {
|
|
209
208
|
"oauth-actions": a(() => [
|
|
210
|
-
|
|
209
|
+
W(t.$slots, "oauth-actions", {}, void 0, !0)
|
|
211
210
|
]),
|
|
212
211
|
_: 3
|
|
213
212
|
}, 8, ["collection", "envVariables", "environment", "layout", "persistAuth", "selectedSchemeOptions", "server", "workspace"]),
|
|
214
|
-
d(
|
|
213
|
+
d(ne, {
|
|
215
214
|
scheme: g.value,
|
|
216
215
|
state: r(p),
|
|
217
216
|
onClose: e[2] || (e[2] = (o) => r(p).hide()),
|
|
218
217
|
onDelete: e[3] || (e[3] = (o) => {
|
|
219
218
|
var l;
|
|
220
|
-
return
|
|
219
|
+
return L((l = g.value) == null ? void 0 : l.id);
|
|
221
220
|
})
|
|
222
221
|
}, null, 8, ["scheme", "state"])
|
|
223
222
|
]),
|
|
@@ -226,5 +225,5 @@ const de = ["id"], fe = { class: "flex flex-1" }, pe = { class: "min-w-0 flex-1
|
|
|
226
225
|
}
|
|
227
226
|
});
|
|
228
227
|
export {
|
|
229
|
-
|
|
228
|
+
Ce as default
|
|
230
229
|
};
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
29
29
|
onInputFocus?: (() => any) | undefined;
|
|
30
30
|
onInputBlur?: (() => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
|
-
readOnly: boolean;
|
|
33
32
|
required: boolean;
|
|
33
|
+
readOnly: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
36
36
|
export default _default;
|
package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE/C,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;AAiGJ,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB7C,QAAA,MAAM,eAAe;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE/C,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;AAiGJ,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB7C,QAAA,MAAM,eAAe;;;;;;;;;;;cAnIN,OAAO;cAEP,OAAO;6EAyIpB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -34,7 +34,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
34
34
|
}));
|
|
35
35
|
}, k = (o) => {
|
|
36
36
|
o != null && o.createNew && g.name === "request" && f();
|
|
37
|
-
}, w = "2.5.
|
|
37
|
+
}, w = "2.5.32";
|
|
38
38
|
return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (u(), i("div", W, [
|
|
39
39
|
s("div", {
|
|
40
40
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.5.
|
|
21
|
+
"version": "2.5.32",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=20"
|
|
24
24
|
},
|
|
@@ -207,23 +207,23 @@
|
|
|
207
207
|
"yaml": "2.8.0",
|
|
208
208
|
"zod": "3.24.1",
|
|
209
209
|
"@scalar/analytics-client": "1.0.0",
|
|
210
|
-
"@scalar/components": "0.14.31",
|
|
211
|
-
"@scalar/helpers": "0.0.10",
|
|
212
210
|
"@scalar/draggable": "0.2.0",
|
|
211
|
+
"@scalar/helpers": "0.0.10",
|
|
212
|
+
"@scalar/components": "0.14.33",
|
|
213
|
+
"@scalar/oas-utils": "0.4.28",
|
|
214
|
+
"@scalar/import": "0.4.23",
|
|
213
215
|
"@scalar/icons": "0.4.7",
|
|
214
|
-
"@scalar/openapi-parser": "0.20.
|
|
216
|
+
"@scalar/openapi-parser": "0.20.5",
|
|
215
217
|
"@scalar/object-utils": "1.2.6",
|
|
216
|
-
"@scalar/import": "0.4.22",
|
|
217
|
-
"@scalar/oas-utils": "0.4.26",
|
|
218
218
|
"@scalar/openapi-types": "0.3.7",
|
|
219
|
-
"@scalar/postman-to-openapi": "0.3.
|
|
219
|
+
"@scalar/postman-to-openapi": "0.3.31",
|
|
220
|
+
"@scalar/themes": "0.13.16",
|
|
220
221
|
"@scalar/snippetz": "0.4.9",
|
|
221
222
|
"@scalar/types": "0.2.15",
|
|
222
|
-
"@scalar/use-codemirror": "0.12.
|
|
223
|
+
"@scalar/use-codemirror": "0.12.34",
|
|
223
224
|
"@scalar/use-hooks": "0.2.4",
|
|
224
|
-
"@scalar/themes": "0.13.16",
|
|
225
225
|
"@scalar/use-toasts": "0.8.0",
|
|
226
|
-
"@scalar/workspace-store": "0.15.
|
|
226
|
+
"@scalar/workspace-store": "0.15.5"
|
|
227
227
|
},
|
|
228
228
|
"devDependencies": {
|
|
229
229
|
"@tailwindcss/vite": "^4.1.7",
|