@scalar/api-reference 1.25.33 → 1.25.35
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 +20 -0
- package/dist/browser/standalone.js +11000 -10907
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +3 -3
- package/dist/components/ApiReferenceLayout.vue2.js +137 -133
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
- 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 +61 -46
- 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 +61 -86
- package/dist/components/Content/Lazy/Lazy.vue.js +2 -20
- package/dist/components/Content/Lazy/Lazy.vue2.js +20 -2
- package/dist/components/Content/Models/Models.vue2.js +1 -1
- package/dist/components/Content/Tag/TagList.vue.d.ts +21 -0
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -0
- package/dist/components/Content/Tag/TagList.vue.js +58 -0
- package/dist/components/Content/Tag/TagList.vue2.js +4 -0
- package/dist/components/Content/Tag/index.d.ts +1 -0
- package/dist/components/Content/Tag/index.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.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 +39 -32
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrl.vue.js +2 -3
- package/dist/features/BaseUrl/ServerUrl.vue2.js +13 -15
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +2 -0
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrlSelect.vue.js +2 -2
- package/dist/features/BaseUrl/ServerUrlSelect.vue2.js +37 -36
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +4 -0
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesForm.vue.js +1 -1
- package/dist/features/BaseUrl/ServerVariablesForm.vue2.js +37 -31
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts +2 -0
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.js +3 -3
- package/dist/features/BaseUrl/ServerVariablesSelect.vue2.js +39 -35
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts +2 -0
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.js +4 -4
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue2.js +11 -9
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.js +2 -2
- package/dist/features/DownloadLink/DownloadLink.vue2.js +12 -11
- package/dist/index.js +1 -1
- package/dist/legacy/components/CardFormTextInput.vue.d.ts +2 -0
- package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormTextInput.vue.js +1 -1
- package/dist/legacy/components/CardFormTextInput.vue2.js +39 -23
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeSelector.vue.js +2 -2
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +67 -45
- package/dist/style.css +1 -1
- package/package.json +7 -7
|
@@ -1,56 +1,57 @@
|
|
|
1
|
-
import { defineComponent as f, computed as
|
|
2
|
-
import { ScalarListbox as
|
|
3
|
-
const B = { class: "
|
|
1
|
+
import { defineComponent as f, computed as r, openBlock as n, createBlock as d, unref as l, withCtx as i, createVNode as v, normalizeClass as V, createElementVNode as b, renderSlot as S, createCommentVNode as h } from "vue";
|
|
2
|
+
import { ScalarListbox as g, ScalarButton as _, ScalarIcon as y } from "@scalar/components";
|
|
3
|
+
const B = { class: "custom-scroll" }, x = /* @__PURE__ */ f({
|
|
4
4
|
__name: "ServerUrlSelect",
|
|
5
5
|
props: {
|
|
6
6
|
options: {},
|
|
7
|
-
modelValue: {}
|
|
7
|
+
modelValue: {},
|
|
8
|
+
describedBy: {}
|
|
8
9
|
},
|
|
9
10
|
emits: ["update:modelValue"],
|
|
10
|
-
setup(
|
|
11
|
-
const a =
|
|
11
|
+
setup(u, { emit: c }) {
|
|
12
|
+
const a = u, m = c, o = r(
|
|
12
13
|
() => a.options.map((e, t) => ({
|
|
13
14
|
id: t.toString(),
|
|
14
15
|
label: e.url ?? ""
|
|
15
16
|
}))
|
|
16
|
-
), s =
|
|
17
|
+
), s = r({
|
|
17
18
|
get: () => {
|
|
18
19
|
var e;
|
|
19
20
|
return (e = o.value) == null ? void 0 : e.find((t) => t.id === a.modelValue.toString());
|
|
20
21
|
},
|
|
21
22
|
set: (e) => m("update:modelValue", parseInt((e == null ? void 0 : e.id) ?? "", 10))
|
|
22
23
|
});
|
|
23
|
-
return (e, t) => (
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
o.value.length > 1 ? (r(), h(l(x), {
|
|
41
|
-
key: 0,
|
|
42
|
-
icon: "ChevronDown",
|
|
43
|
-
size: "xs"
|
|
44
|
-
})) : g("", !0)
|
|
24
|
+
return (e, t) => (n(), d(l(g), {
|
|
25
|
+
modelValue: s.value,
|
|
26
|
+
"onUpdate:modelValue": t[0] || (t[0] = (p) => s.value = p),
|
|
27
|
+
fullWidth: "",
|
|
28
|
+
options: o.value,
|
|
29
|
+
resize: ""
|
|
30
|
+
}, {
|
|
31
|
+
default: i(() => [
|
|
32
|
+
v(l(_), {
|
|
33
|
+
"aria-describedby": e.describedBy,
|
|
34
|
+
class: V(["url-select", { "pointer-events-none": o.value.length <= 1 }]),
|
|
35
|
+
fullWidth: "",
|
|
36
|
+
variant: "ghost"
|
|
37
|
+
}, {
|
|
38
|
+
default: i(() => [
|
|
39
|
+
b("span", B, [
|
|
40
|
+
S(e.$slots, "default", {}, void 0, !0)
|
|
45
41
|
]),
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
o.value.length > 1 ? (n(), d(l(y), {
|
|
43
|
+
key: 0,
|
|
44
|
+
icon: "ChevronDown",
|
|
45
|
+
size: "xs"
|
|
46
|
+
})) : h("", !0)
|
|
47
|
+
]),
|
|
48
|
+
_: 3
|
|
49
|
+
}, 8, ["aria-describedby", "class"])
|
|
50
|
+
]),
|
|
51
|
+
_: 3
|
|
52
|
+
}, 8, ["modelValue", "options"]));
|
|
52
53
|
}
|
|
53
54
|
});
|
|
54
55
|
export {
|
|
55
|
-
|
|
56
|
+
x as default
|
|
56
57
|
};
|
|
@@ -2,11 +2,15 @@ import type { ServerVariableValues, ServerVariables } from './types';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
variables?: ServerVariables;
|
|
4
4
|
values?: ServerVariableValues;
|
|
5
|
+
/** The ID of the input controlled by the variables form */
|
|
6
|
+
controls?: string;
|
|
5
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
8
|
"update:variable": (name: string, value: string) => void;
|
|
7
9
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
10
|
variables?: ServerVariables;
|
|
9
11
|
values?: ServerVariableValues;
|
|
12
|
+
/** The ID of the input controlled by the variables form */
|
|
13
|
+
controls?: string;
|
|
10
14
|
}>>> & {
|
|
11
15
|
"onUpdate:variable"?: ((name: string, value: string) => any) | undefined;
|
|
12
16
|
}, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerVariablesForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerVariablesForm.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;;gBAKtD,eAAe;aAClB,oBAAoB;IAC7B,2DAA2D;eAChD,MAAM;;;;gBAHL,eAAe;aAClB,oBAAoB;IAC7B,2DAA2D;eAChD,MAAM;;;;AAmInB,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 r from "./ServerVariablesForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-94bc9df6"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,53 +1,59 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import _ from "./
|
|
4
|
-
|
|
1
|
+
import { defineComponent as y, openBlock as o, createElementBlock as t, Fragment as V, renderList as C, createElementVNode as p, unref as m, toDisplayString as S, createBlock as f, createCommentVNode as $ } from "vue";
|
|
2
|
+
import { nanoid as B } from "nanoid";
|
|
3
|
+
import _ from "./ServerVariablesSelect.vue.js";
|
|
4
|
+
import j from "./ServerVariablesTextbox.vue.js";
|
|
5
|
+
const E = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "variable-container"
|
|
7
|
-
},
|
|
8
|
+
}, F = ["for"], L = /* @__PURE__ */ y({
|
|
8
9
|
__name: "ServerVariablesForm",
|
|
9
10
|
props: {
|
|
10
11
|
variables: {},
|
|
11
|
-
values: {}
|
|
12
|
+
values: {},
|
|
13
|
+
controls: {}
|
|
12
14
|
},
|
|
13
15
|
emits: ["update:variable"],
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
16
|
+
setup(g, { emit: h }) {
|
|
17
|
+
const n = g, k = h, s = B();
|
|
18
|
+
function i(r, a) {
|
|
19
|
+
k("update:variable", r, a);
|
|
18
20
|
}
|
|
19
|
-
const
|
|
20
|
-
var
|
|
21
|
-
return (((
|
|
21
|
+
const c = (r) => {
|
|
22
|
+
var a, e;
|
|
23
|
+
return (((a = n.values) == null ? void 0 : a[r]) ?? ((e = n.variables) == null ? void 0 : e[r].default) ?? "").toString();
|
|
22
24
|
};
|
|
23
|
-
return (
|
|
24
|
-
(
|
|
25
|
-
var u, v,
|
|
26
|
-
return
|
|
25
|
+
return (r, a) => r.variables && Object.keys(r.variables ?? {}).length ? (o(), t("div", E, [
|
|
26
|
+
(o(!0), t(V, null, C(Object.keys(r.variables), (e) => {
|
|
27
|
+
var b, u, v, d;
|
|
28
|
+
return o(), t("div", {
|
|
27
29
|
key: e,
|
|
28
30
|
class: "variable-container-item"
|
|
29
31
|
}, [
|
|
30
|
-
|
|
32
|
+
p("label", {
|
|
31
33
|
class: "variable-label",
|
|
32
|
-
for:
|
|
34
|
+
for: `${m(s)}-variable-${e}`
|
|
33
35
|
}, [
|
|
34
|
-
|
|
35
|
-
], 8,
|
|
36
|
-
(
|
|
36
|
+
p("code", null, S(e), 1)
|
|
37
|
+
], 8, F),
|
|
38
|
+
(u = (b = r.variables) == null ? void 0 : b[e].enum) != null && u.length ? (o(), f(_, {
|
|
37
39
|
key: 0,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
controls: r.controls,
|
|
41
|
+
enum: ((d = (v = r.variables[e]) == null ? void 0 : v.enum) == null ? void 0 : d.map((l) => `${l}`)) ?? [],
|
|
42
|
+
label: e,
|
|
43
|
+
value: c(e),
|
|
44
|
+
onChange: (l) => i(e, l)
|
|
45
|
+
}, null, 8, ["controls", "enum", "label", "value", "onChange"])) : (o(), f(j, {
|
|
42
46
|
key: 1,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
id: `${m(s)}-variable-${e}`,
|
|
48
|
+
controls: r.controls,
|
|
49
|
+
value: c(e),
|
|
50
|
+
onChange: (l) => i(e, l)
|
|
51
|
+
}, null, 8, ["id", "controls", "value", "onChange"]))
|
|
46
52
|
]);
|
|
47
53
|
}), 128))
|
|
48
|
-
])) :
|
|
54
|
+
])) : $("", !0);
|
|
49
55
|
}
|
|
50
56
|
});
|
|
51
57
|
export {
|
|
52
|
-
|
|
58
|
+
L as default
|
|
53
59
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
enum: string[];
|
|
3
3
|
value: string;
|
|
4
|
+
controls?: string;
|
|
4
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
6
|
change: (v: string) => void;
|
|
6
7
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
8
|
enum: string[];
|
|
8
9
|
value: string;
|
|
10
|
+
controls?: string;
|
|
9
11
|
}>>> & {
|
|
10
12
|
onChange?: ((v: string) => any) | undefined;
|
|
11
13
|
}, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerVariablesSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerVariablesSelect.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ServerVariablesSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerVariablesSelect.vue"],"names":[],"mappings":";UAmFQ,MAAM,EAAE;WACP,MAAM;eACF,MAAM;;;;UAFX,MAAM,EAAE;WACP,MAAM;eACF,MAAM;;;;AA8GnB,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
|
-
import
|
|
1
|
+
import e from "./ServerVariablesSelect.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */ e
|
|
3
|
+
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(e, [["__scopeId", "data-v-1eae5319"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,46 +1,50 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarListbox as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as v, computed as r, openBlock as f, createBlock as S, unref as t, withCtx as c, createVNode as i, createElementVNode as d, createTextVNode as h, toDisplayString as V, pushScopeId as _, popScopeId as g } from "vue";
|
|
2
|
+
import { ScalarListbox as b, ScalarButton as x, ScalarIcon as I } from "@scalar/components";
|
|
3
|
+
const w = (o) => (_("data-v-1eae5319"), o = o(), g(), o), B = /* @__PURE__ */ w(() => /* @__PURE__ */ d("span", { class: "sr-only" }, "Selected:", -1)), k = /* @__PURE__ */ v({
|
|
4
4
|
__name: "ServerVariablesSelect",
|
|
5
5
|
props: {
|
|
6
6
|
enum: {},
|
|
7
|
-
value: {}
|
|
7
|
+
value: {},
|
|
8
|
+
controls: {}
|
|
8
9
|
},
|
|
9
10
|
emits: ["change"],
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
() =>
|
|
13
|
-
), n =
|
|
14
|
-
get: () =>
|
|
15
|
-
set: (e) =>
|
|
11
|
+
setup(o, { emit: u }) {
|
|
12
|
+
const a = o, p = u, l = r(
|
|
13
|
+
() => a.enum.map((e) => ({ id: e, label: e }))
|
|
14
|
+
), n = r({
|
|
15
|
+
get: () => l.value.find((e) => e.id === a.value),
|
|
16
|
+
set: (e) => p("change", (e == null ? void 0 : e.id) ?? "")
|
|
16
17
|
});
|
|
17
|
-
return (e, s) => (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
})
|
|
18
|
+
return (e, s) => (f(), S(t(b), {
|
|
19
|
+
modelValue: n.value,
|
|
20
|
+
"onUpdate:modelValue": s[0] || (s[0] = (m) => n.value = m),
|
|
21
|
+
fullWidth: "",
|
|
22
|
+
options: l.value
|
|
23
|
+
}, {
|
|
24
|
+
default: c(() => [
|
|
25
|
+
i(t(x), {
|
|
26
|
+
"aria-controls": e.controls,
|
|
27
|
+
class: "variable-select",
|
|
28
|
+
fullWidth: "",
|
|
29
|
+
variant: "ghost"
|
|
30
|
+
}, {
|
|
31
|
+
default: c(() => [
|
|
32
|
+
d("span", null, [
|
|
33
|
+
B,
|
|
34
|
+
h(" " + V(e.value), 1)
|
|
35
35
|
]),
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
i(t(I), {
|
|
37
|
+
icon: "ChevronDown",
|
|
38
|
+
size: "xs"
|
|
39
|
+
})
|
|
40
|
+
]),
|
|
41
|
+
_: 1
|
|
42
|
+
}, 8, ["aria-controls"])
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
}, 8, ["modelValue", "options"]));
|
|
42
46
|
}
|
|
43
47
|
});
|
|
44
48
|
export {
|
|
45
|
-
|
|
49
|
+
k as default
|
|
46
50
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
value: string;
|
|
3
|
+
controls?: string;
|
|
3
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
5
|
change: (v: string) => void;
|
|
5
6
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
7
|
value: string;
|
|
8
|
+
controls?: string;
|
|
7
9
|
}>>> & {
|
|
8
10
|
onChange?: ((v: string) => any) | undefined;
|
|
9
11
|
}, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerVariablesTextbox.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerVariablesTextbox.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ServerVariablesTextbox.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerVariablesTextbox.vue"],"names":[],"mappings":";WAmDS,MAAM;eACF,MAAM;;;;WADV,MAAM;eACF,MAAM;;;;AAwDnB,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
|
-
import
|
|
1
|
+
import e from "./ServerVariablesTextbox.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0edbbce4"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const x = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as c, computed as p, withDirectives as i, openBlock as u, createElementBlock as m, vModelText as d } from "vue";
|
|
2
|
+
const v = ["aria-controls"], x = /* @__PURE__ */ c({
|
|
3
3
|
__name: "ServerVariablesTextbox",
|
|
4
4
|
props: {
|
|
5
|
-
value: {}
|
|
5
|
+
value: {},
|
|
6
|
+
controls: {}
|
|
6
7
|
},
|
|
7
8
|
emits: ["change"],
|
|
8
9
|
setup(l, { emit: a }) {
|
|
9
|
-
const n = l, s = a,
|
|
10
|
+
const n = l, s = a, t = p({
|
|
10
11
|
get: () => n.value,
|
|
11
|
-
set: (
|
|
12
|
+
set: (e) => s("change", e)
|
|
12
13
|
});
|
|
13
|
-
return (
|
|
14
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
14
|
+
return (e, o) => i((u(), m("input", {
|
|
15
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => t.value = r),
|
|
16
|
+
"aria-controls": e.controls,
|
|
15
17
|
autocomplete: "off",
|
|
16
18
|
class: "variable-textbox",
|
|
17
19
|
placeholder: "value",
|
|
18
20
|
spellcheck: "false",
|
|
19
21
|
type: "text"
|
|
20
|
-
}, null,
|
|
21
|
-
[
|
|
22
|
+
}, null, 8, v)), [
|
|
23
|
+
[d, t.value]
|
|
22
24
|
]);
|
|
23
25
|
}
|
|
24
26
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadLink.vue.d.ts","sourceRoot":"","sources":["../../../src/features/DownloadLink/DownloadLink.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DownloadLink.vue.d.ts","sourceRoot":"","sources":["../../../src/features/DownloadLink/DownloadLink.vue"],"names":[],"mappings":";gBA4Ec,MAAM;;gBAAN,MAAM;;AAqEpB,wBAMG;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 "./DownloadLink.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4ae6d175"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { defineComponent as m, inject as d, openBlock as o, createElementBlock as e, unref as t, Fragment as _, createCommentVNode as u } from "vue";
|
|
2
|
-
import { HIDE_DOWNLOAD_BUTTON_SYMBOL as D, OPENAPI_DOCUMENT_URL_SYMBOL as
|
|
3
|
-
import { downloadSpecBus as
|
|
4
|
-
const
|
|
2
|
+
import { HIDE_DOWNLOAD_BUTTON_SYMBOL as D, OPENAPI_DOCUMENT_URL_SYMBOL as k } from "../../helpers/provideSymbols.js";
|
|
3
|
+
import { downloadSpecBus as w } from "../../helpers/specDownloads.js";
|
|
4
|
+
const O = { class: "download" }, f = ["href"], A = /* @__PURE__ */ m({
|
|
5
5
|
__name: "DownloadLink",
|
|
6
6
|
props: {
|
|
7
7
|
specTitle: {}
|
|
8
8
|
},
|
|
9
9
|
setup(s) {
|
|
10
|
-
const r = s,
|
|
11
|
-
|
|
10
|
+
const r = s, i = d(D), n = d(k), p = () => {
|
|
11
|
+
w.emit({ id: "", specTitle: r.specTitle });
|
|
12
12
|
};
|
|
13
13
|
return (b, B) => {
|
|
14
|
-
var
|
|
15
|
-
return o(), e("div",
|
|
16
|
-
(
|
|
17
|
-
(
|
|
14
|
+
var l, c, a;
|
|
15
|
+
return o(), e("div", O, [
|
|
16
|
+
(l = t(i)) != null && l() ? u("", !0) : (o(), e(_, { key: 0 }, [
|
|
17
|
+
(c = t(n)) != null && c() ? (o(), e("a", {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "download-button",
|
|
20
20
|
download: "",
|
|
21
21
|
href: (a = t(n)) == null ? void 0 : a(),
|
|
22
22
|
target: "_blank"
|
|
23
|
-
}, " Download OpenAPI Document ", 8,
|
|
23
|
+
}, " Download OpenAPI Document ", 8, f)) : (o(), e("button", {
|
|
24
24
|
key: 1,
|
|
25
25
|
class: "download-button",
|
|
26
|
+
role: "link",
|
|
26
27
|
type: "button",
|
|
27
|
-
onClick:
|
|
28
|
+
onClick: p
|
|
28
29
|
}, " Download OpenAPI Document "))
|
|
29
30
|
], 64))
|
|
30
31
|
]);
|