@scalar/api-reference 1.24.72 → 1.24.73
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 +22 -0
- package/dist/browser/standalone.js +13049 -12287
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Card/Card.vue.js +4 -4
- package/dist/components/Card/CardContent.vue.js +2 -2
- package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +8 -8
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +10 -10
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +2 -2
- package/dist/components/Content/Content.vue2.js +27 -25
- package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Description.vue.js +2 -2
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +2 -2
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.js +2 -2
- package/dist/features/BaseUrl/ServerForm.vue2.js +7 -7
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrl.vue.js +2 -2
- package/dist/index.js +1 -1
- package/dist/legacy/components/CardForm.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardForm.vue.js +4 -4
- package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormTextInput.vue.js +1 -1
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeScopes.vue.js +1 -1
- package/dist/legacy/components/SecuritySchemeScopes.vue2.js +9 -9
- package/dist/legacy/components/SecuritySchemeSelector.vue.js +1 -1
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +10 -10
- package/dist/style.css +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardForm.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardForm.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardForm.vue"],"names":[],"mappings":"AA0BA,iBAAS,cAAc;qBAsBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as o, renderSlot as t } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import c from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const n = {},
|
|
5
|
-
function
|
|
6
|
-
return r(), o("form",
|
|
4
|
+
const n = {}, d = { class: "card-form" };
|
|
5
|
+
function f(e, s) {
|
|
6
|
+
return r(), o("form", d, [
|
|
7
7
|
t(e.$slots, "default", {}, void 0, !0)
|
|
8
8
|
]);
|
|
9
9
|
}
|
|
10
|
-
const l = /* @__PURE__ */ c(n, [["render",
|
|
10
|
+
const l = /* @__PURE__ */ c(n, [["render", f], ["__scopeId", "data-v-cfb8fa3d"]]);
|
|
11
11
|
export {
|
|
12
12
|
l as default
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardFormTextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormTextInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardFormTextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormTextInput.vue"],"names":[],"mappings":"AAqIA,iBAAS,cAAc;qBAuEM,GAAG;EAiB/B;AACD,QAAA,MAAM,eAAe;QAjHf,MAAM;WACH,MAAM;;QADT,MAAM;WACH,MAAM;aAsHb,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CardFormTextInput.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-527fd53e"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecuritySchemeScopes.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/SecuritySchemeScopes.vue"],"names":[],"mappings":";aA0MW;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;cAC1B,MAAM,EAAE;;;;aADT;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;cAC1B,MAAM,EAAE;;;;
|
|
1
|
+
{"version":3,"file":"SecuritySchemeScopes.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/SecuritySchemeScopes.vue"],"names":[],"mappings":";aA0MW;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;cAC1B,MAAM,EAAE;;;;aADT;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;cAC1B,MAAM,EAAE;;;;AA8MpB,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SecuritySchemeScopes.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-6d6455a4"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as y, ref as h, computed as x, openBlock as d, createBlock as
|
|
1
|
+
import { defineComponent as y, ref as h, computed as x, openBlock as d, createBlock as i, unref as t, withCtx as n, createElementVNode as e, normalizeClass as C, createVNode as p, createTextVNode as _, toDisplayString as r, Teleport as V, normalizeStyle as B, createElementBlock as L, Fragment as O, renderList as I, createCommentVNode as N, pushScopeId as j, popScopeId as z } from "vue";
|
|
2
2
|
import { useFloating as E, autoUpdate as F, offset as U, flip as D, shift as T } from "@floating-ui/vue";
|
|
3
3
|
import { Listbox as M, ListboxButton as q, ListboxOptions as A, ListboxOption as G } from "@headlessui/vue";
|
|
4
4
|
import { ScalarIcon as H } from "@scalar/components";
|
|
5
5
|
import J from "./CardFormButton.vue.js";
|
|
6
|
-
const K = (o) => (j("data-v-
|
|
6
|
+
const K = (o) => (j("data-v-6d6455a4"), o = o(), z(), o), P = { class: "scopes-label" }, Q = /* @__PURE__ */ K(() => /* @__PURE__ */ e("em", null, "/", -1)), R = ["checked"], W = { class: "dropdown-item-title" }, X = { class: "dropdown-item-description" }, oe = /* @__PURE__ */ y({
|
|
7
7
|
__name: "SecuritySchemeScopes",
|
|
8
8
|
props: {
|
|
9
9
|
scopes: {},
|
|
@@ -19,7 +19,7 @@ const K = (o) => (j("data-v-0957134f"), o = o(), z(), o), P = { class: "scopes-l
|
|
|
19
19
|
get: () => g.selected,
|
|
20
20
|
set: (s) => b("update:selected", s)
|
|
21
21
|
});
|
|
22
|
-
return (s, f) => Object.keys(s.scopes ?? {}).length ? (d(),
|
|
22
|
+
return (s, f) => Object.keys(s.scopes ?? {}).length ? (d(), i(t(M), {
|
|
23
23
|
key: 0,
|
|
24
24
|
modelValue: c.value,
|
|
25
25
|
"onUpdate:modelValue": f[0] || (f[0] = (l) => c.value = l),
|
|
@@ -46,11 +46,11 @@ const K = (o) => (j("data-v-0957134f"), o = o(), z(), o), P = { class: "scopes-l
|
|
|
46
46
|
_: 2
|
|
47
47
|
}, 1024)
|
|
48
48
|
], 2),
|
|
49
|
-
(d(),
|
|
49
|
+
(d(), i(V, { to: "body" }, [
|
|
50
50
|
e("div", {
|
|
51
51
|
ref_key: "dropdown",
|
|
52
52
|
ref: u,
|
|
53
|
-
class: "floating",
|
|
53
|
+
class: "floating scalar-app",
|
|
54
54
|
style: B(t(v))
|
|
55
55
|
}, [
|
|
56
56
|
p(t(A), {
|
|
@@ -58,11 +58,11 @@ const K = (o) => (j("data-v-0957134f"), o = o(), z(), o), P = { class: "scopes-l
|
|
|
58
58
|
class: "dropdown"
|
|
59
59
|
}, {
|
|
60
60
|
default: n(() => [
|
|
61
|
-
(d(!0), L(O, null, I(Object.entries(s.scopes ?? {}), ([
|
|
62
|
-
key:
|
|
61
|
+
(d(!0), L(O, null, I(Object.entries(s.scopes ?? {}), ([a, S]) => (d(), i(t(G), {
|
|
62
|
+
key: a,
|
|
63
63
|
as: "div",
|
|
64
64
|
class: "dropdown-item",
|
|
65
|
-
value:
|
|
65
|
+
value: a
|
|
66
66
|
}, {
|
|
67
67
|
default: n(({ selected: k }) => [
|
|
68
68
|
e("input", {
|
|
@@ -71,7 +71,7 @@ const K = (o) => (j("data-v-0957134f"), o = o(), z(), o), P = { class: "scopes-l
|
|
|
71
71
|
tabindex: "-1",
|
|
72
72
|
type: "checkbox"
|
|
73
73
|
}, null, 8, R),
|
|
74
|
-
e("dt", W, r(
|
|
74
|
+
e("dt", W, r(a), 1),
|
|
75
75
|
e("dd", X, r(S), 1)
|
|
76
76
|
]),
|
|
77
77
|
_: 2
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SecuritySchemeSelector.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-630d0ab4"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as N, onMounted as O, onServerPrefetch as k, computed as B, openBlock as
|
|
1
|
+
import { defineComponent as N, onMounted as O, onServerPrefetch as k, computed as B, openBlock as i, createElementBlock as a, toDisplayString as d, createElementVNode as y, unref as c, createVNode as j, withModifiers as K, Fragment as P, renderList as V, createCommentVNode as $, pushScopeId as D, popScopeId as E } from "vue";
|
|
2
2
|
import { ScalarIcon as F } from "@scalar/components";
|
|
3
3
|
import { useAuthenticationStore as H } from "../stores/useAuthenticationStore.js";
|
|
4
|
-
const M = (r) => (D("data-v-
|
|
4
|
+
const M = (r) => (D("data-v-630d0ab4"), r = r(), E(), r), T = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "security-scheme-label"
|
|
7
7
|
}, z = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "security-scheme-selector"
|
|
10
|
-
}, q = { class: "security-scheme-label" }, G = ["value"], J = /* @__PURE__ */ M(() => /* @__PURE__ */ y("option", { value: "" }, "
|
|
10
|
+
}, q = { class: "security-scheme-label" }, G = ["value"], J = /* @__PURE__ */ M(() => /* @__PURE__ */ y("option", { value: "" }, "No Authentication", -1)), Q = ["value"], X = /* @__PURE__ */ N({
|
|
11
11
|
__name: "SecuritySchemeSelector",
|
|
12
12
|
props: {
|
|
13
13
|
value: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["input"],
|
|
16
16
|
setup(r, { emit: v }) {
|
|
17
|
-
const l = r, m = v, { authentication: o, setAuthentication:
|
|
17
|
+
const l = r, m = v, { authentication: o, setAuthentication: A } = H(), _ = (e) => {
|
|
18
18
|
p(e.target.value);
|
|
19
19
|
};
|
|
20
20
|
O(() => {
|
|
21
21
|
o.preferredSecurityScheme || p(Object.keys(l.value ?? {})[0] ?? null);
|
|
22
22
|
});
|
|
23
23
|
const p = (e) => {
|
|
24
|
-
|
|
24
|
+
A({
|
|
25
25
|
preferredSecurityScheme: e
|
|
26
26
|
}), m("input", e);
|
|
27
27
|
};
|
|
@@ -34,22 +34,22 @@ const M = (r) => (D("data-v-d4d9bca1"), r = r(), E(), r), T = {
|
|
|
34
34
|
}, n = B(() => Object.keys(l.value ?? {}));
|
|
35
35
|
return (e, t) => {
|
|
36
36
|
var s, f;
|
|
37
|
-
return n.value.length === 1 ? (
|
|
37
|
+
return n.value.length === 1 ? (i(), a("div", T, d(h((s = e.value) == null ? void 0 : s[n.value[0]], n.value[0])), 1)) : n.value.length > 1 ? (i(), a("div", z, [
|
|
38
38
|
y("span", q, d(c(o).preferredSecurityScheme ? h(
|
|
39
39
|
(f = e.value) == null ? void 0 : f[c(o).preferredSecurityScheme],
|
|
40
40
|
c(o).preferredSecurityScheme
|
|
41
|
-
) : "
|
|
41
|
+
) : "No Authentication"), 1),
|
|
42
42
|
j(c(F), { icon: "ChevronDown" }),
|
|
43
43
|
y("select", {
|
|
44
44
|
value: c(o).preferredSecurityScheme,
|
|
45
45
|
onClick: t[0] || (t[0] = K(() => {
|
|
46
46
|
}, ["prevent"])),
|
|
47
|
-
onInput:
|
|
47
|
+
onInput: _
|
|
48
48
|
}, [
|
|
49
49
|
J,
|
|
50
|
-
(
|
|
50
|
+
(i(!0), a(P, null, V(n.value, (u) => {
|
|
51
51
|
var S;
|
|
52
|
-
return
|
|
52
|
+
return i(), a("option", {
|
|
53
53
|
key: u,
|
|
54
54
|
value: u ?? null
|
|
55
55
|
}, d(h((S = e.value) == null ? void 0 : S[u], u)), 9, Q);
|