@scalar/api-reference 1.24.38 → 1.24.40

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 (34) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/browser/standalone.js +9274 -9279
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiClientModal.vue.js +8 -8
  5. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  6. package/dist/components/ApiReferenceLayout.vue.js +3 -3
  7. package/dist/components/ApiReferenceLayout.vue2.js +108 -109
  8. package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
  9. package/dist/components/Card/CardContent.vue.js +1 -1
  10. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  12. package/dist/components/Content/Operation/OperationAccordion.vue2.js +9 -9
  13. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.js +1 -1
  15. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue2.js +37 -39
  16. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +1 -1
  18. package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
  19. package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
  20. package/dist/components/DarkModeToggle/DarkModeToggle.vue.js +2 -2
  21. package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +8 -5
  22. package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
  23. package/dist/features/BaseUrl/ServerUrl.vue.js +2 -2
  24. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
  25. package/dist/features/BaseUrl/ServerUrlSelect.vue.js +4 -4
  26. package/dist/features/BaseUrl/ServerUrlSelect.vue2.js +16 -16
  27. package/dist/index.js +1 -1
  28. package/dist/style.css +1 -1
  29. package/package.json +7 -7
  30. package/dist/components/Util/Style.vue.d.ts +0 -3
  31. package/dist/components/Util/Style.vue.d.ts.map +0 -1
  32. package/dist/components/Util/Style.vue.js +0 -12
  33. package/dist/components/Util/index.d.ts +0 -2
  34. package/dist/components/Util/index.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue"],"names":[],"mappings":"AA2TA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;AAwY7D,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":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue"],"names":[],"mappings":"AA4TA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;AAwY7D,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 "./PathResponses.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-93ecf383"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-778ab953"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -9,7 +9,7 @@ import q from "../../../Card/CardContent.vue.js";
9
9
  import G from "../../../Card/CardFooter.vue.js";
10
10
  import Q from "../../../../features/ExampleRequest/ExamplePicker.vue.js";
11
11
  import { useClipboard as X } from "../../../../hooks/useClipboard.js";
12
- const Y = (u) => (P("data-v-93ecf383"), u = u(), A(), u), Z = {
12
+ const Y = (u) => (P("data-v-778ab953"), u = u(), A(), u), Z = {
13
13
  key: 1,
14
14
  class: "scalar-card-checkbox"
15
15
  }, $ = /* @__PURE__ */ Y(() => /* @__PURE__ */ w("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), z = { class: "scalar-card-container custom-scroll" }, ee = {
@@ -1 +1 @@
1
- {"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeToggle.vue"],"names":[],"mappings":";;;;;;;;;AAuKA,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":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeToggle.vue"],"names":[],"mappings":";;;;;;;;;AAsKA,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 "./DarkModeToggle.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-559a0a79"]]);
3
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-c2022750"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as n, openBlock as o, createElementBlock as t, createElementVNode as s, createVNode as c, unref as d, pushScopeId as p, popScopeId as i } from "vue";
1
+ import { defineComponent as n, openBlock as o, createElementBlock as t, createElementVNode as s, createVNode as c, unref as d, pushScopeId as i, popScopeId as p } from "vue";
2
2
  import { ScalarIcon as l } from "@scalar/components";
3
- const k = (e) => (p("data-v-559a0a79"), e = e(), i(), e), g = { class: "darklight-reference" }, m = { key: 0 }, _ = { key: 1 }, h = /* @__PURE__ */ k(() => /* @__PURE__ */ s("a", {
3
+ const k = (e) => (i("data-v-c2022750"), e = e(), p(), e), m = { class: "darklight-reference" }, g = { key: 0 }, _ = { key: 1 }, h = /* @__PURE__ */ k(() => /* @__PURE__ */ s("a", {
4
4
  class: "darklight-reference-promo",
5
5
  href: "https://www.scalar.com",
6
6
  target: "_blank"
@@ -11,14 +11,17 @@ const k = (e) => (p("data-v-559a0a79"), e = e(), i(), e), g = { class: "darkligh
11
11
  },
12
12
  emits: ["toggleDarkMode"],
13
13
  setup(e) {
14
- return (r, a) => (o(), t("div", g, [
14
+ return (r, a) => (o(), t("div", m, [
15
15
  s("button", {
16
16
  class: "darklight",
17
17
  type: "button",
18
18
  onClick: a[0] || (a[0] = (f) => r.$emit("toggleDarkMode"))
19
19
  }, [
20
- c(d(l), { icon: "LightDarkModeToggle" }),
21
- r.isDarkMode ? (o(), t("span", m, "Light Mode")) : (o(), t("span", _, "Dark Mode"))
20
+ c(d(l), {
21
+ icon: "LightDarkModeToggle",
22
+ size: "md"
23
+ }),
24
+ r.isDarkMode ? (o(), t("span", g, "Light Mode")) : (o(), t("span", _, "Dark Mode"))
22
25
  ]),
23
26
  h
24
27
  ]));
@@ -1 +1 @@
1
- {"version":3,"file":"ServerUrl.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerUrl.vue"],"names":[],"mappings":"AA+DA,OAAO,KAA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}
@@ -2,7 +2,7 @@ import r from "./ServerUrl.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import o from "../../_virtual/_plugin-vue_export-helper.js";
5
- const _ = /* @__PURE__ */ o(r, [["__scopeId", "data-v-01cb81b8"]]);
5
+ const f = /* @__PURE__ */ o(r, [["__scopeId", "data-v-f5297e83"]]);
6
6
  export {
7
- _ as default
7
+ f as default
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ServerUrlSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerUrlSelect.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;AAmIrC,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
+ {"version":3,"file":"ServerUrlSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/features/BaseUrl/ServerUrlSelect.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;AAqIrC,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
- import r from "./ServerUrlSelect.vue2.js";
1
+ import e from "./ServerUrlSelect.vue2.js";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-769a9357"]]);
3
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ r(e, [["__scopeId", "data-v-eb9d4d8e"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,19 +1,19 @@
1
- import { defineComponent as v, computed as s, openBlock as r, createElementBlock as f, createVNode as i, unref as l, withCtx as u, normalizeClass as g, createElementVNode as h, renderSlot as S, createBlock as _, createCommentVNode as V } from "vue";
1
+ import { defineComponent as v, computed as a, openBlock as r, createElementBlock as f, createVNode as c, unref as l, withCtx as i, normalizeClass as h, createElementVNode as _, renderSlot as g, createBlock as S, createCommentVNode as V } from "vue";
2
2
  import { ScalarListbox as C, ScalarButton as k, ScalarIcon as x } from "@scalar/components";
3
- const B = { class: "w-full" }, N = /* @__PURE__ */ v({
3
+ const B = { class: "w-full" }, w = { class: "custom-scroll" }, b = /* @__PURE__ */ v({
4
4
  __name: "ServerUrlSelect",
5
5
  props: {
6
6
  options: {},
7
7
  value: {}
8
8
  },
9
9
  emits: ["change"],
10
- setup(c, { emit: d }) {
11
- const n = c, m = d, o = s(
10
+ setup(u, { emit: d }) {
11
+ const n = u, m = d, o = a(
12
12
  () => n.options.map((e, t) => ({
13
13
  id: t.toString(),
14
14
  label: e.url ?? ""
15
15
  }))
16
- ), a = s({
16
+ ), s = a({
17
17
  get: () => {
18
18
  var e;
19
19
  return (e = o.value) == null ? void 0 : e.find((t) => t.id === n.value.toString());
@@ -21,23 +21,23 @@ const B = { class: "w-full" }, N = /* @__PURE__ */ v({
21
21
  set: (e) => m("change", (e == null ? void 0 : e.id) ?? "")
22
22
  });
23
23
  return (e, t) => (r(), f("div", B, [
24
- i(l(C), {
25
- modelValue: a.value,
26
- "onUpdate:modelValue": t[0] || (t[0] = (p) => a.value = p),
24
+ c(l(C), {
25
+ modelValue: s.value,
26
+ "onUpdate:modelValue": t[0] || (t[0] = (p) => s.value = p),
27
27
  options: o.value,
28
28
  resize: ""
29
29
  }, {
30
- default: u(() => [
31
- i(l(k), {
32
- class: g(["url-select", { "pointer-events-none": o.value.length <= 1 }]),
30
+ default: i(() => [
31
+ c(l(k), {
32
+ class: h(["url-select", { "pointer-events-none": o.value.length <= 1 }]),
33
33
  fullWidth: "",
34
34
  variant: "ghost"
35
35
  }, {
36
- default: u(() => [
37
- h("span", null, [
38
- S(e.$slots, "default", {}, void 0, !0)
36
+ default: i(() => [
37
+ _("span", w, [
38
+ g(e.$slots, "default", {}, void 0, !0)
39
39
  ]),
40
- o.value.length > 1 ? (r(), _(l(x), {
40
+ o.value.length > 1 ? (r(), S(l(x), {
41
41
  key: 0,
42
42
  icon: "ChevronDown",
43
43
  size: "xs"
@@ -52,5 +52,5 @@ const B = { class: "w-full" }, N = /* @__PURE__ */ v({
52
52
  }
53
53
  });
54
54
  export {
55
- N as default
55
+ b as default
56
56
  };