@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.
Files changed (59) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/browser/standalone.js +11000 -10907
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReferenceLayout.vue.js +3 -3
  6. package/dist/components/ApiReferenceLayout.vue2.js +137 -133
  7. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  8. package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
  9. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  10. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
  11. package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +61 -46
  12. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  13. package/dist/components/Content/Content.vue.js +2 -2
  14. package/dist/components/Content/Content.vue2.js +61 -86
  15. package/dist/components/Content/Lazy/Lazy.vue.js +2 -20
  16. package/dist/components/Content/Lazy/Lazy.vue2.js +20 -2
  17. package/dist/components/Content/Models/Models.vue2.js +1 -1
  18. package/dist/components/Content/Tag/TagList.vue.d.ts +21 -0
  19. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -0
  20. package/dist/components/Content/Tag/TagList.vue.js +58 -0
  21. package/dist/components/Content/Tag/TagList.vue2.js +4 -0
  22. package/dist/components/Content/Tag/index.d.ts +1 -0
  23. package/dist/components/Content/Tag/index.d.ts.map +1 -1
  24. package/dist/components/Content/Webhooks/Webhooks.vue2.js +1 -1
  25. package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
  26. package/dist/features/BaseUrl/ServerForm.vue.js +2 -2
  27. package/dist/features/BaseUrl/ServerForm.vue2.js +39 -32
  28. package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
  29. package/dist/features/BaseUrl/ServerUrl.vue.js +2 -3
  30. package/dist/features/BaseUrl/ServerUrl.vue2.js +13 -15
  31. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +2 -0
  32. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
  33. package/dist/features/BaseUrl/ServerUrlSelect.vue.js +2 -2
  34. package/dist/features/BaseUrl/ServerUrlSelect.vue2.js +37 -36
  35. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +4 -0
  36. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -1
  37. package/dist/features/BaseUrl/ServerVariablesForm.vue.js +1 -1
  38. package/dist/features/BaseUrl/ServerVariablesForm.vue2.js +37 -31
  39. package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts +2 -0
  40. package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
  41. package/dist/features/BaseUrl/ServerVariablesSelect.vue.js +3 -3
  42. package/dist/features/BaseUrl/ServerVariablesSelect.vue2.js +39 -35
  43. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts +2 -0
  44. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -1
  45. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.js +4 -4
  46. package/dist/features/BaseUrl/ServerVariablesTextbox.vue2.js +11 -9
  47. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
  48. package/dist/features/DownloadLink/DownloadLink.vue.js +2 -2
  49. package/dist/features/DownloadLink/DownloadLink.vue2.js +12 -11
  50. package/dist/index.js +1 -1
  51. package/dist/legacy/components/CardFormTextInput.vue.d.ts +2 -0
  52. package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -1
  53. package/dist/legacy/components/CardFormTextInput.vue.js +1 -1
  54. package/dist/legacy/components/CardFormTextInput.vue2.js +39 -23
  55. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
  56. package/dist/legacy/components/SecuritySchemeSelector.vue.js +2 -2
  57. package/dist/legacy/components/SecuritySchemeSelector.vue2.js +67 -45
  58. package/dist/style.css +1 -1
  59. package/package.json +7 -7
@@ -1,56 +1,57 @@
1
- import { defineComponent as f, computed as n, openBlock as r, createElementBlock as v, createVNode as u, unref as l, withCtx as i, normalizeClass as V, createElementVNode as _, renderSlot as S, createBlock as h, createCommentVNode as g } from "vue";
2
- import { ScalarListbox as C, ScalarButton as k, ScalarIcon as x } from "@scalar/components";
3
- const B = { class: "w-full" }, w = { class: "custom-scroll" }, b = /* @__PURE__ */ f({
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(d, { emit: c }) {
11
- const a = d, m = c, o = n(
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 = n({
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) => (r(), v("div", B, [
24
- u(l(C), {
25
- modelValue: s.value,
26
- "onUpdate:modelValue": t[0] || (t[0] = (p) => s.value = p),
27
- options: o.value,
28
- resize: ""
29
- }, {
30
- default: i(() => [
31
- u(l(k), {
32
- class: V(["url-select", { "pointer-events-none": o.value.length <= 1 }]),
33
- fullWidth: "",
34
- variant: "ghost"
35
- }, {
36
- default: i(() => [
37
- _("span", w, [
38
- S(e.$slots, "default", {}, void 0, !0)
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
- _: 3
47
- }, 8, ["class"])
48
- ]),
49
- _: 3
50
- }, 8, ["modelValue", "options"])
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
- b as default
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":"AA6EA,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;;gBAKtD,eAAe;aAClB,oBAAoB;;;;gBADjB,eAAe;aAClB,oBAAoB;;;;AAgI/B,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
+ {"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-d5675216"]]);
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 h, openBlock as t, createElementBlock as o, Fragment as k, renderList as y, createElementVNode as m, toDisplayString as V, createBlock as p, createCommentVNode as C } from "vue";
2
- import S from "./ServerVariablesSelect.vue.js";
3
- import _ from "./ServerVariablesTextbox.vue.js";
4
- const B = {
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
- }, j = ["for"], O = /* @__PURE__ */ h({
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(d, { emit: f }) {
15
- const i = d, g = f;
16
- function n(a, r) {
17
- g("update:variable", a, r);
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 s = (a) => {
20
- var r, e;
21
- return (((r = i.values) == null ? void 0 : r[a]) ?? ((e = i.variables) == null ? void 0 : e[a].default) ?? "").toString();
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 (a, r) => a.variables && Object.keys(a.variables ?? {}).length ? (t(), o("div", B, [
24
- (t(!0), o(k, null, y(Object.keys(a.variables), (e) => {
25
- var u, v, b, c;
26
- return t(), o("div", {
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
- m("label", {
32
+ p("label", {
31
33
  class: "variable-label",
32
- for: `variable-${e}`
34
+ for: `${m(s)}-variable-${e}`
33
35
  }, [
34
- m("code", null, V(e), 1)
35
- ], 8, j),
36
- (v = (u = a.variables) == null ? void 0 : u[e].enum) != null && v.length ? (t(), p(S, {
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
- enum: ((c = (b = a.variables[e]) == null ? void 0 : b.enum) == null ? void 0 : c.map((l) => `${l}`)) ?? [],
39
- value: s(e),
40
- onChange: (l) => n(e, l)
41
- }, null, 8, ["enum", "value", "onChange"])) : (t(), p(_, {
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
- value: s(e),
44
- onChange: (l) => n(e, l)
45
- }, null, 8, ["value", "onChange"]))
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
- ])) : C("", !0);
54
+ ])) : $("", !0);
49
55
  }
50
56
  });
51
57
  export {
52
- O as default
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":";UAiFQ,MAAM,EAAE;WACP,MAAM;;;;UADP,MAAM,EAAE;WACP,MAAM;;;;AA4Gf,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
+ {"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 r from "./ServerVariablesSelect.vue2.js";
1
+ import e from "./ServerVariablesSelect.vue2.js";
2
2
  /* empty css */
3
- import e from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ e(r, [["__scopeId", "data-v-4b092d90"]]);
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 p, computed as i, openBlock as v, createElementBlock as f, createVNode as t, unref as a, withCtx as r, createElementVNode as _, toDisplayString as h } from "vue";
2
- import { ScalarListbox as S, ScalarButton as V, ScalarIcon as g } from "@scalar/components";
3
- const b = { class: "w-full" }, B = /* @__PURE__ */ p({
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(u, { emit: c }) {
11
- const l = u, d = c, o = i(
12
- () => l.enum.map((e) => ({ id: e, label: e }))
13
- ), n = i({
14
- get: () => o.value.find((e) => e.id === l.value),
15
- set: (e) => d("change", (e == null ? void 0 : e.id) ?? "")
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) => (v(), f("div", b, [
18
- t(a(S), {
19
- modelValue: n.value,
20
- "onUpdate:modelValue": s[0] || (s[0] = (m) => n.value = m),
21
- options: o.value
22
- }, {
23
- default: r(() => [
24
- t(a(V), {
25
- class: "variable-select",
26
- fullWidth: "",
27
- variant: "ghost"
28
- }, {
29
- default: r(() => [
30
- _("span", null, h(e.value), 1),
31
- t(a(g), {
32
- icon: "ChevronDown",
33
- size: "xs"
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
- _: 1
37
- })
38
- ]),
39
- _: 1
40
- }, 8, ["modelValue", "options"])
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
- B as default
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":";WAiDS,MAAM;;;;WAAN,MAAM;;;;AAwDf,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
+ {"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 o from "./ServerVariablesTextbox.vue2.js";
1
+ import e from "./ServerVariablesTextbox.vue2.js";
2
2
  /* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-fbcac0a4"]]);
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0edbbce4"]]);
5
5
  export {
6
- c as default
6
+ m as default
7
7
  };
@@ -1,24 +1,26 @@
1
- import { defineComponent as p, computed as r, withDirectives as u, openBlock as m, createElementBlock as i, vModelText as v } from "vue";
2
- const x = /* @__PURE__ */ p({
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, e = r({
10
+ const n = l, s = a, t = p({
10
11
  get: () => n.value,
11
- set: (t) => s("change", t)
12
+ set: (e) => s("change", e)
12
13
  });
13
- return (t, o) => u((m(), i("input", {
14
- "onUpdate:modelValue": o[0] || (o[0] = (c) => e.value = c),
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, 512)), [
21
- [v, e.value]
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":";gBA2Ec,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
+ {"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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-af826d86"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4ae6d175"]]);
5
5
  export {
6
- m as default
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 w } from "../../helpers/provideSymbols.js";
3
- import { downloadSpecBus as O } from "../../helpers/specDownloads.js";
4
- const f = { class: "download" }, k = ["href"], A = /* @__PURE__ */ m({
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, p = d(D), n = d(w), i = () => {
11
- O.emit({ id: "", specTitle: r.specTitle });
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 c, l, a;
15
- return o(), e("div", f, [
16
- (c = t(p)) != null && c() ? u("", !0) : (o(), e(_, { key: 0 }, [
17
- (l = t(n)) != null && l() ? (o(), e("a", {
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, k)) : (o(), e("button", {
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: i
28
+ onClick: p
28
29
  }, " Download OpenAPI Document "))
29
30
  ], 64))
30
31
  ]);