@scalar/api-reference 1.36.1 → 1.36.2

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 (84) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/browser/standalone.js +9306 -8928
  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 +2 -2
  6. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  7. package/dist/components/Content/Schema/Schema.vue2.js +24 -24
  8. package/dist/components/OperationsList/OperationsList.vue.js +2 -2
  9. package/dist/components/Section/Section.vue.js +1 -1
  10. package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
  11. package/dist/consts/urls.d.ts +17 -0
  12. package/dist/consts/urls.d.ts.map +1 -0
  13. package/dist/consts/urls.js +7 -0
  14. package/dist/features/Operation/components/Headers.vue.js +2 -2
  15. package/dist/features/Operation/components/Headers.vue2.js +11 -11
  16. package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
  17. package/dist/features/Operation/layouts/ClassicLayout.vue.js +3 -3
  18. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  19. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  20. package/dist/features/multiple-documents/useMultipleDocuments.d.ts +4 -2
  21. package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
  22. package/dist/features/multiple-documents/useMultipleDocuments.js +49 -43
  23. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +16 -0
  24. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -0
  25. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +43 -0
  26. package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +4 -0
  27. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts +13 -0
  28. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
  29. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +12 -0
  30. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +14 -0
  31. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -0
  32. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +95 -0
  33. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +4 -0
  34. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts +10 -0
  35. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
  36. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +27 -0
  37. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +4 -0
  38. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +25 -0
  39. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
  40. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +123 -0
  41. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +4 -0
  42. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +11 -0
  43. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
  44. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +41 -0
  45. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +4 -0
  46. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts +26 -0
  47. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
  48. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +46 -0
  49. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +4 -0
  50. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts +25 -0
  51. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
  52. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +58 -0
  53. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +4 -0
  54. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts +7 -0
  55. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +1 -0
  56. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +84 -0
  57. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +4 -0
  58. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts +7 -0
  59. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +1 -0
  60. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +42 -0
  61. package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +4 -0
  62. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts +7 -0
  63. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
  64. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +50 -0
  65. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +4 -0
  66. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts +14 -0
  67. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
  68. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +83 -0
  69. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +4 -0
  70. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts +3 -0
  71. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
  72. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +51 -0
  73. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +4 -0
  74. package/dist/features/toolbar/uploadTempDocument.d.ts +3 -0
  75. package/dist/features/toolbar/uploadTempDocument.d.ts.map +1 -0
  76. package/dist/features/toolbar/uploadTempDocument.js +21 -0
  77. package/dist/index.js +1 -1
  78. package/dist/style.css +1 -1
  79. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +6 -6
  80. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  81. package/dist/v2/ApiReferenceWorkspace.vue.js +90 -82
  82. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +2 -2
  83. package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
  84. package/package.json +11 -11
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AA0qBA,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,gBAAgB,CAAA;AA2BvB,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AA2ChB,KAAK,WAAW,GAAG;KACd,CAAC,IAAI,mBAAmB,GAAG,CAAC,KAAK,EAAE,kBAAkB,KAAK,GAAG;CAC/D,GAAG;IAAE,mBAAmB,EAAE,GAAG,CAAA;CAAE,CAAC;AA0oBnC,QAAA,MAAM,eAAe;;YA1qBqB,OAAO;eAAS,MAAM;;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;kFAirB9D,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
+ {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AAwrBA,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,gBAAgB,CAAA;AA2BvB,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AA2ChB,KAAK,WAAW,GAAG;KACd,CAAC,IAAI,mBAAmB,GAAG,CAAC,KAAK,EAAE,kBAAkB,KAAK,GAAG;CAC/D,GAAG;IAAE,mBAAmB,EAAE,GAAG,CAAA;CAAE,CAAC;AA4oBnC,QAAA,MAAM,eAAe;;YA5qBqB,OAAO;eAAS,MAAM;;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;kFAmrB9D,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"}
@@ -4,7 +4,7 @@ import o from "./ApiReferenceLayout.vue2.js";
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  import t from "../_virtual/_plugin-vue_export-helper.js";
7
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-27c7b7dd"]]);
7
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a548dd3a"]]);
8
8
  export {
9
- c as default
9
+ f as default
10
10
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Schema.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-09c7c1bd"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-35907cdf"]]);
5
5
  export {
6
- a as default
6
+ c as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as H, computed as k, createBlock as o, createCommentVNode as t, openBlock as i, unref as l, withCtx as r, createElementVNode as g, normalizeClass as m, createElementBlock as c, createVNode as n, withDirectives as S, createTextVNode as d, toDisplayString as u, vShow as C, normalizeStyle as O, Fragment as h } from "vue";
2
- import { Disclosure as P, DisclosureButton as N, DisclosurePanel as M } from "@headlessui/vue";
3
- import { ScalarMarkdown as w, ScalarIcon as p } from "@scalar/components";
1
+ import { defineComponent as H, computed as k, createBlock as s, createCommentVNode as t, openBlock as i, unref as l, withCtx as r, createElementVNode as g, normalizeClass as m, createElementBlock as c, createVNode as n, withDirectives as S, createTextVNode as d, toDisplayString as u, vShow as C, normalizeStyle as O, Fragment as h } from "vue";
2
+ import { Disclosure as P, DisclosureButton as N, DisclosurePanel as w } from "@headlessui/vue";
3
+ import { ScalarMarkdown as M, ScalarIcon as p } from "@scalar/components";
4
4
  import B from "../../ScreenReader.vue.js";
5
5
  import { isTypeObject as D } from "./helpers/is-type-object.js";
6
6
  import z from "./SchemaHeading.vue.js";
@@ -28,32 +28,32 @@ const j = {
28
28
  options: {}
29
29
  },
30
30
  setup(a) {
31
- const f = k(() => !a.noncollapsible && a.level > 0), y = k(() => a.schema?.allOf && a.schema.allOf.length > 0 && a.name === "Request Body" ? a.schema.description || a.schema.allOf[0].description : !a.schema?.description || typeof a.schema.description != "string" || a.schema.oneOf || a.schema.anyOf || a.schema.enum || !("properties" in a.schema) && !("patternProperties" in a.schema) && !("additionalProperties" in a.schema) ? null : a.schema.description), b = (e) => a.noncollapsible && e.stopPropagation();
32
- return (e, v) => typeof e.schema == "object" && Object.keys(e.schema).length ? (i(), o(l(P), {
31
+ const f = k(() => !a.noncollapsible && a.level > 0), y = k(() => a.schema?.allOf && a.schema.allOf.length > 0 && a.name === "Request Body" ? a.schema.description || a.schema.allOf[0].description : !a.schema?.description || typeof a.schema.description != "string" || a.schema.oneOf || a.schema.anyOf || a.schema.enum || !("properties" in a.schema) && !("patternProperties" in a.schema) && !("additionalProperties" in a.schema) ? null : a.schema.description), v = (e) => a.noncollapsible && e.stopPropagation();
32
+ return (e, b) => typeof e.schema == "object" && Object.keys(e.schema).length ? (i(), s(l(P), {
33
33
  key: 0,
34
34
  defaultOpen: e.noncollapsible
35
35
  }, {
36
- default: r(({ open: s }) => [
36
+ default: r(({ open: o }) => [
37
37
  g("div", {
38
38
  class: m(["schema-card", [
39
39
  `schema-card--level-${e.level}`,
40
- { "schema-card--compact": e.compact, "schema-card--open": s },
41
- { "border-t": e.additionalProperties && s }
40
+ { "schema-card--compact": e.compact, "schema-card--open": o },
41
+ { "border-t": e.additionalProperties && o }
42
42
  ]])
43
43
  }, [
44
44
  y.value ? (i(), c("div", j, [
45
- n(l(w), { value: y.value }, null, 8, ["value"])
45
+ n(l(M), { value: y.value }, null, 8, ["value"])
46
46
  ])) : t("", !0),
47
47
  g("div", {
48
48
  class: m(["schema-properties", {
49
- "schema-properties-open": s
49
+ "schema-properties-open": o
50
50
  }])
51
51
  }, [
52
52
  e.additionalProperties ? S((i(), c("div", T, [
53
53
  n(l(N), {
54
54
  as: "button",
55
55
  class: "schema-card-title schema-card-title--compact",
56
- onClickCapture: b
56
+ onClickCapture: v
57
57
  }, {
58
58
  default: r(() => [
59
59
  n(l(p), {
@@ -61,8 +61,8 @@ const j = {
61
61
  icon: "Add",
62
62
  size: "sm"
63
63
  }),
64
- v[0] || (v[0] = d(" Show additional properties ")),
65
- e.name ? (i(), o(B, { key: 0 }, {
64
+ b[0] || (b[0] = d(" Show additional properties ")),
65
+ e.name ? (i(), s(B, { key: 0 }, {
66
66
  default: r(() => [
67
67
  d("for " + u(e.name), 1)
68
68
  ]),
@@ -73,29 +73,29 @@ const j = {
73
73
  __: [0]
74
74
  })
75
75
  ], 512)), [
76
- [C, !s]
77
- ]) : f.value ? S((i(), o(l(N), {
76
+ [C, !o]
77
+ ]) : f.value ? S((i(), s(l(N), {
78
78
  key: 1,
79
79
  as: e.noncollapsible ? "div" : "button",
80
80
  class: m(["schema-card-title", { "schema-card-title--compact": e.compact }]),
81
81
  style: O({
82
- top: `calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${e.level}))`
82
+ top: `calc(var(--refs-viewport-offset) + calc(var(--schema-title-height) * ${e.level}))`
83
83
  }),
84
- onClickCapture: b
84
+ onClickCapture: v
85
85
  }, {
86
86
  default: r(() => [
87
87
  e.compact ? (i(), c(h, { key: 0 }, [
88
88
  n(l(p), {
89
- class: m(["schema-card-title-icon", { "schema-card-title-icon--open": s }]),
89
+ class: m(["schema-card-title-icon", { "schema-card-title-icon--open": o }]),
90
90
  icon: "Add",
91
91
  size: "sm"
92
92
  }, null, 8, ["class"]),
93
- s ? (i(), c(h, { key: 0 }, [
93
+ o ? (i(), c(h, { key: 0 }, [
94
94
  d(" Hide " + u(e.schema?.title ?? "Child Attributes"), 1)
95
95
  ], 64)) : (i(), c(h, { key: 1 }, [
96
96
  d(" Show " + u(e.schema?.title ?? "Child Attributes"), 1)
97
97
  ], 64)),
98
- e.name ? (i(), o(B, { key: 2 }, {
98
+ e.name ? (i(), s(B, { key: 2 }, {
99
99
  default: r(() => [
100
100
  d("for " + u(e.name), 1)
101
101
  ]),
@@ -103,7 +103,7 @@ const j = {
103
103
  })) : t("", !0)
104
104
  ], 64)) : (i(), c(h, { key: 1 }, [
105
105
  n(l(p), {
106
- class: m(["schema-card-title-icon", { "schema-card-title-icon--open": s }]),
106
+ class: m(["schema-card-title-icon", { "schema-card-title-icon--open": o }]),
107
107
  icon: "Add",
108
108
  size: "sm"
109
109
  }, null, 8, ["class"]),
@@ -117,13 +117,13 @@ const j = {
117
117
  }, 1032, ["as", "class", "style"])), [
118
118
  [C, !e.hideHeading && !(e.noncollapsible && e.compact)]
119
119
  ]) : t("", !0),
120
- !e.additionalProperties || s ? (i(), o(l(M), {
120
+ !e.additionalProperties || o ? (i(), s(l(w), {
121
121
  key: 2,
122
122
  as: "ul",
123
123
  static: !f.value
124
124
  }, {
125
125
  default: r(() => [
126
- l(D)(e.schema) ? (i(), o(A, {
126
+ l(D)(e.schema) ? (i(), s(A, {
127
127
  key: 0,
128
128
  breadcrumb: e.breadcrumb,
129
129
  compact: e.compact,
@@ -134,7 +134,7 @@ const j = {
134
134
  options: e.options,
135
135
  schema: e.schema
136
136
  }, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "level", "options", "schema"])) : (i(), c(h, { key: 1 }, [
137
- e.schema ? (i(), o(V, {
137
+ e.schema ? (i(), s(V, {
138
138
  key: 0,
139
139
  breadcrumb: e.breadcrumb,
140
140
  compact: e.compact,
@@ -1,7 +1,7 @@
1
1
  import o from "./OperationsList.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-50e4708f"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a492c69b"]]);
5
5
  export {
6
- a as default
6
+ s as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Section.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-dbc12a67"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9bfffebe"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./SectionContainerAccordion.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-797031c0"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4ea50e41"]]);
5
5
  export {
6
- a as default
6
+ c as default
7
7
  };
@@ -0,0 +1,17 @@
1
+ /** Registry URL where shared documents can be accessed */
2
+ export declare const REGISTRY_SHARE_URL: "https://registry.scalar.com/share";
3
+ /**
4
+ * Scalar proxy service
5
+ */
6
+ export declare const PROXY_URL: "https://proxy.scalar.com";
7
+ /**
8
+ * API endpoint for uploading temporary documents
9
+ * TODO: Update to production URL once available
10
+ */
11
+ export declare const UPLOAD_TEMP_API_URL: "https://api.scalar.com/core/share/upload/apis";
12
+ /**
13
+ * Editor preview URL for previewing a specific document
14
+ * TODO: Update to production URL once available
15
+ */
16
+ export declare const DASHBOARD_REGISTER_URL: "https://dashboard.scalar.com/register";
17
+ //# sourceMappingURL=urls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"urls.d.ts","sourceRoot":"","sources":["../../src/consts/urls.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,EAAG,mCAA4C,CAAA;AAE9E;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,0BAAmC,CAAA;AAE5D;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAG,+CAAwD,CAAA;AAE3F;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAG,uCAAgD,CAAA"}
@@ -0,0 +1,7 @@
1
+ const s = "https://registry.scalar.com/share", a = "https://proxy.scalar.com", t = "https://api.scalar.com/core/share/upload/apis", r = "https://dashboard.scalar.com/register";
2
+ export {
3
+ r as DASHBOARD_REGISTER_URL,
4
+ a as PROXY_URL,
5
+ s as REGISTRY_SHARE_URL,
6
+ t as UPLOAD_TEMP_API_URL
7
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./Headers.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6b889a81"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-4bf16777"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, createBlock as i, openBlock as e, unref as r, withCtx as d, createElementVNode as m, normalizeClass as c, createVNode as o, createElementBlock as t, Fragment as l, createTextVNode as u, renderList as f } from "vue";
1
+ import { defineComponent as p, createBlock as i, openBlock as e, unref as r, withCtx as o, createElementVNode as m, normalizeClass as c, createVNode as d, createElementBlock as t, Fragment as l, createTextVNode as u, renderList as h } from "vue";
2
2
  import { Disclosure as b, DisclosureButton as _, DisclosurePanel as g } from "@headlessui/vue";
3
3
  import { ScalarIcon as v } from "@scalar/components";
4
4
  import { getResolvedRef as k } from "@scalar/workspace-store/helpers/get-resolved-ref";
@@ -11,22 +11,22 @@ const z = /* @__PURE__ */ p({
11
11
  config: {}
12
12
  },
13
13
  setup(H) {
14
- return (a, C) => (e(), i(r(b), null, {
15
- default: d(({ open: s }) => [
14
+ return (a, w) => (e(), i(r(b), null, {
15
+ default: o(({ open: s }) => [
16
16
  m("div", {
17
17
  class: c(["headers-card headers-card--compact", [{ "headers-card--open": s }]])
18
18
  }, [
19
19
  m("div", {
20
20
  class: c(["headers-properties", { "headers-properties-open": s }])
21
21
  }, [
22
- o(r(_), {
22
+ d(r(_), {
23
23
  class: "headers-card-title headers-card-title--compact",
24
24
  style: {
25
- top: "calc(var(--refs-header-height)))"
25
+ top: "calc(var(--refs-viewport-offset)))"
26
26
  }
27
27
  }, {
28
- default: d(() => [
29
- o(r(v), {
28
+ default: o(() => [
29
+ d(r(v), {
30
30
  class: c(["headers-card-title-icon", { "headers-card-title-icon--open": s }]),
31
31
  icon: "Add",
32
32
  size: "sm"
@@ -39,13 +39,13 @@ const z = /* @__PURE__ */ p({
39
39
  ]),
40
40
  _: 2
41
41
  }, 1024),
42
- o(r(g), null, {
43
- default: d(() => [
44
- (e(!0), t(l, null, f(a.headers, (h, n) => (e(), i(B, {
42
+ d(r(g), null, {
43
+ default: o(() => [
44
+ (e(!0), t(l, null, h(a.headers, (f, n) => (e(), i(B, {
45
45
  key: n,
46
46
  breadcrumb: a.breadcrumb ? [...a.breadcrumb, "headers"] : void 0,
47
47
  config: a.config,
48
- header: r(k)(h),
48
+ header: r(k)(f),
49
49
  name: n
50
50
  }, null, 8, ["breadcrumb", "config", "header", "name"]))), 128))
51
51
  ]),
@@ -1,7 +1,7 @@
1
1
  import o from "./Callback.vue2.js";
2
2
  /* empty css */
3
- import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e62d24fd"]]);
3
+ import a from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-d57c6ac8"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ClassicLayout.vue2.js";
2
2
  /* empty css */
3
- import c from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ c(o, [["__scopeId", "data-v-fcc3cd5c"]]);
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fd385796"]]);
5
5
  export {
6
- s as default
6
+ f as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAyNA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAOrF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,OAAO,KAAK,EACV,eAAe,EAEf,oBAAoB,EACpB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAuBrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAA;AAEvF,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,iBAAiB,EAAE,CAAA;IAClC,MAAM,EAAE,yBAAyB,CAAA;IACjC,MAAM,EAAE,cAAc,CAAA;IACtB,SAAS,EAAE,eAAe,CAAA;IAE1B,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,oBAAoB,EAAE,CAAA;IACvC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;;AAwbF,wBAMG"}
1
+ {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAuNA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAOrF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,OAAO,KAAK,EACV,eAAe,EAEf,oBAAoB,EACpB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAuBrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAA;AAEvF,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,iBAAiB,EAAE,CAAA;IAClC,MAAM,EAAE,yBAAyB,CAAA;IACjC,MAAM,EAAE,cAAc,CAAA;IACtB,SAAS,EAAE,eAAe,CAAA;IAE1B,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,oBAAoB,EAAE,CAAA;IACvC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;;AAwbF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ModernLayout.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-288c0a52"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0b2d484d"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,12 +1,14 @@
1
- import type { NavState } from '../../hooks/useNavState.js';
2
1
  import { type AnyApiReferenceConfiguration, type ApiReferenceConfiguration, type SpecConfiguration } from '@scalar/types/api-reference';
3
2
  import { type Ref } from 'vue';
3
+ import type { NavState } from '../../hooks/useNavState.js';
4
4
  type UseMultipleDocumentsProps = {
5
5
  /**
6
6
  * Configuration for the API reference.
7
7
  * Can be a single configuration or an array of configurations for multiple documents.
8
8
  */
9
9
  configuration: Ref<AnyApiReferenceConfiguration | undefined>;
10
+ /** Configuration options to apply over the currently selected configuration */
11
+ configurationOverrides?: Ref<Partial<ApiReferenceConfiguration> | undefined>;
10
12
  /** The initial index to pre-select a document, if there is no query parameter available */
11
13
  initialIndex?: number;
12
14
  } & NavState;
@@ -19,7 +21,7 @@ export declare const normalizeConfigurations: (configuration: AnyApiReferenceCon
19
21
  *
20
22
  * @deprecated
21
23
  */
22
- export declare const useMultipleDocuments: ({ configuration, initialIndex, isIntersectionEnabled, hash, hashPrefix, }: UseMultipleDocumentsProps) => {
24
+ export declare const useMultipleDocuments: ({ configuration, configurationOverrides, initialIndex, isIntersectionEnabled, hash, hashPrefix, }: UseMultipleDocumentsProps) => {
23
25
  selectedConfiguration: Ref<Partial<ApiReferenceConfiguration> & SpecConfiguration>;
24
26
  availableDocuments: Ref<SpecConfiguration[]>;
25
27
  selectedDocumentIndex: Ref<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"useMultipleDocuments.d.ts","sourceRoot":"","sources":["../../../src/features/multiple-documents/useMultipleDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAEnD,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAA;AAGpC,OAAO,EAAE,KAAK,GAAG,EAAwB,MAAM,KAAK,CAAA;AAKpD,KAAK,yBAAyB,GAAG;IAC/B;;;OAGG;IACH,aAAa,EAAE,GAAG,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAA;IAC5D,2FAA2F;IAC3F,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,GAAG,QAAQ,CAAA;AAIZ;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,eAAe,4BAA4B,GAAG,SAAS,KACtD,iBAAiB,EA6BnB,CAAA;AA0CD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,2EAMlC,yBAAyB,KAAG;IAC7B,qBAAqB,EAAE,GAAG,CAAC,OAAO,CAAC,yBAAyB,CAAC,GAAG,iBAAiB,CAAC,CAAA;IAClF,kBAAkB,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC,CAAA;IAC5C,qBAAqB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAClC,qBAAqB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACnC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACjB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAmIxB,CAAA"}
1
+ {"version":3,"file":"useMultipleDocuments.d.ts","sourceRoot":"","sources":["../../../src/features/multiple-documents/useMultipleDocuments.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAE,KAAK,GAAG,EAAwB,MAAM,KAAK,CAAA;AAEpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAKnD,KAAK,yBAAyB,GAAG;IAC/B;;;OAGG;IACH,aAAa,EAAE,GAAG,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAA;IAC5D,+EAA+E;IAC/E,sBAAsB,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC,CAAA;IAC5E,2FAA2F;IAC3F,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,GAAG,QAAQ,CAAA;AAIZ;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,eAAe,4BAA4B,GAAG,SAAS,KACtD,iBAAiB,EA6BnB,CAAA;AA0CD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,mGAOlC,yBAAyB,KAAG;IAC7B,qBAAqB,EAAE,GAAG,CAAC,OAAO,CAAC,yBAAyB,CAAC,GAAG,iBAAiB,CAAC,CAAA;IAClF,kBAAkB,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC,CAAA;IAC5C,qBAAqB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAClC,qBAAqB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACnC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACjB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAsIxB,CAAA"}
@@ -1,14 +1,14 @@
1
1
  import { isDefined as S } from "@scalar/oas-utils/helpers";
2
2
  import { isConfigurationWithSources as w } from "@scalar/types/api-reference";
3
3
  import y from "github-slugger";
4
- import { computed as m, ref as R, watch as b } from "vue";
5
- const v = "api", g = new y(), A = (t) => t ? (Array.isArray(t) ? t : [t]).flatMap((r) => {
4
+ import { computed as p, ref as R, watch as b } from "vue";
5
+ const m = "api", g = new y(), A = (t) => t ? (Array.isArray(t) ? t : [t]).flatMap((r) => {
6
6
  if (w(r)) {
7
- const { sources: o, ...n } = r;
8
- return o?.map((p) => ({ ...n, ...p })) ?? [];
7
+ const { sources: s, ...f } = r;
8
+ return s?.map((n) => ({ ...f, ...n })) ?? [];
9
9
  }
10
10
  return [r];
11
- }).map((r, o) => r && D(r, o)).filter(S) : [], D = (t, u = 0) => {
11
+ }).map((r, s) => r && D(r, s)).filter(S) : [], D = (t, i = 0) => {
12
12
  const e = {
13
13
  ...t,
14
14
  // @ts-expect-error this is before parsing so we transform the old style
@@ -24,59 +24,65 @@ const v = "api", g = new y(), A = (t) => t ? (Array.isArray(t) ? t : [t]).flatMa
24
24
  title: e.slug
25
25
  } : {
26
26
  ...e,
27
- slug: `api-${u + 1}`,
28
- title: `API #${u + 1}`
27
+ slug: `api-${i + 1}`,
28
+ title: `API #${i + 1}`
29
29
  };
30
- }, N = ({
30
+ }, T = ({
31
31
  configuration: t,
32
- initialIndex: u,
33
- isIntersectionEnabled: e,
34
- hash: r,
35
- hashPrefix: o
32
+ configurationOverrides: i,
33
+ initialIndex: e,
34
+ isIntersectionEnabled: r,
35
+ hash: s,
36
+ hashPrefix: f
36
37
  }) => {
37
- const n = m(() => A(t.value)), a = R((() => {
38
+ const n = p(() => A(t.value)), o = R((() => {
38
39
  if (typeof window > "u")
39
- return typeof u == "number" ? u : 0;
40
- const l = new URL(window.location.href).searchParams.get(v);
41
- if (l) {
42
- const s = n.value.findIndex((h) => h.slug === l);
43
- if (s !== -1)
44
- return s;
45
- const d = Number.parseInt(l, 10);
46
- if (!isNaN(d) && d >= 0 && d < n.value.length)
47
- return d;
40
+ return typeof e == "number" ? e : 0;
41
+ const u = new URL(window.location.href).searchParams.get(m);
42
+ if (u) {
43
+ const l = n.value.findIndex((h) => h.slug === u);
44
+ if (l !== -1)
45
+ return l;
46
+ const v = Number.parseInt(u, 10);
47
+ if (!isNaN(v) && v >= 0 && v < n.value.length)
48
+ return v;
48
49
  }
49
- const c = n.value.findIndex((s) => "default" in s && s.default === !0);
50
- return c !== -1 ? c : typeof u == "number" ? u : 0;
51
- })()), i = m(() => t.value && w(t.value) ? {
52
- ...t.value,
53
- ...t.value?.sources?.[a.value],
54
- ...n.value[a.value]
55
- } : {
56
- ...[t.value].flat()[a.value] ?? {},
57
- ...n.value[a.value]
50
+ const d = n.value.findIndex((l) => "default" in l && l.default === !0);
51
+ return d !== -1 ? d : typeof e == "number" ? e : 0;
52
+ })()), c = p(() => {
53
+ const a = i?.value ?? {};
54
+ return t.value && w(t.value) ? {
55
+ ...t.value,
56
+ ...t.value?.sources?.[o.value],
57
+ ...n.value[o.value],
58
+ ...a
59
+ } : {
60
+ ...[t.value].flat()[o.value] ?? {},
61
+ ...n.value[o.value],
62
+ ...a
63
+ };
58
64
  });
59
65
  return b(
60
- a,
61
- (f) => {
66
+ o,
67
+ (a) => {
62
68
  if (typeof window > "u" || n.value.length === 1)
63
69
  return;
64
- const l = new URL(window.location.href), c = n.value[f];
65
- i.value.pathRouting && (l.pathname = i.value.pathRouting?.basePath ?? "");
66
- const s = c?.slug ?? f.toString();
67
- l.searchParams.set(v, s), l.hash = "", window.history.replaceState({}, "", l.toString()), r.value = "", o.value = "", e.value = !1, typeof window < "u" && window.scrollTo({ top: 0, behavior: "instant" }), i.value.onDocumentSelect?.();
70
+ const u = new URL(window.location.href), d = n.value[a];
71
+ c.value.pathRouting && (u.pathname = c.value.pathRouting?.basePath ?? "");
72
+ const l = d?.slug ?? a.toString();
73
+ u.searchParams.set(m, l), u.hash = "", window.history.replaceState({}, "", u.toString()), s.value = "", f.value = "", r.value = !1, typeof window < "u" && window.scrollTo({ top: 0, behavior: "instant" }), c.value.onDocumentSelect?.();
68
74
  },
69
75
  { flush: "sync" }
70
76
  ), {
71
- selectedConfiguration: i,
77
+ selectedConfiguration: c,
72
78
  availableDocuments: n,
73
- selectedDocumentIndex: a,
74
- isIntersectionEnabled: e,
75
- hash: r,
76
- hashPrefix: o
79
+ selectedDocumentIndex: o,
80
+ isIntersectionEnabled: r,
81
+ hash: s,
82
+ hashPrefix: f
77
83
  };
78
84
  };
79
85
  export {
80
86
  A as normalizeConfigurations,
81
- N as useMultipleDocuments
87
+ T as useMultipleDocuments
82
88
  };
@@ -0,0 +1,16 @@
1
+ import type { ApiReferenceConfiguration } from '@scalar/types';
2
+ import type { WorkspaceStore } from '@scalar/workspace-store/client';
3
+ type __VLS_Props = {
4
+ workspace?: WorkspaceStore;
5
+ configuration?: Partial<ApiReferenceConfiguration>;
6
+ };
7
+ type __VLS_PublicProps = __VLS_Props & {
8
+ 'overrides'?: Partial<ApiReferenceConfiguration>;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:overrides": (value: Partial<ApiReferenceConfiguration> | undefined) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:overrides"?: ((value: Partial<ApiReferenceConfiguration> | undefined) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
16
+ //# sourceMappingURL=ApiReferenceToolbar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiReferenceToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbar.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAQpE,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACnD,CAAC;AAyBF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;CAChD,CAAC;;;;;;AAoGF,wBAOG"}
@@ -0,0 +1,43 @@
1
+ import { defineComponent as d, mergeModels as m, useModel as u, computed as p, createElementBlock as n, createCommentVNode as a, openBlock as s, createElementVNode as c, createVNode as o, Fragment as w } from "vue";
2
+ import { isLocalUrl as v } from "@scalar/helpers/url/is-local-url";
3
+ import k from "./ApiReferenceToolbarConfig.vue.js";
4
+ import b from "./ApiReferenceToolbarSdks.vue.js";
5
+ import g from "./ApiReferenceToolbarShare.vue.js";
6
+ import h from "./ApiReferenceToolbarTitle.vue.js";
7
+ const _ = {
8
+ key: 0,
9
+ "aria-label": "Configuration Toolbar",
10
+ class: "api-reference-toolbar h-header bg-b-1 sticky top-0 z-10 flex justify-center border-b px-15"
11
+ }, x = { class: "-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center" }, y = { class: "flex flex-1 items-center" }, B = /* @__PURE__ */ d({
12
+ __name: "ApiReferenceToolbar",
13
+ props: /* @__PURE__ */ m({
14
+ workspace: {},
15
+ configuration: {}
16
+ }, {
17
+ overrides: {},
18
+ overridesModifiers: {}
19
+ }),
20
+ emits: ["update:overrides"],
21
+ setup(r) {
22
+ const i = u(r, "overrides"), f = p(() => r.configuration?.showToolbar === "always" ? !0 : r.configuration?.showToolbar === "never" || typeof window > "u" ? !1 : v(window.location.href));
23
+ return (e, t) => f.value ? (s(), n("header", _, [
24
+ c("div", x, [
25
+ c("div", y, [
26
+ o(h)
27
+ ]),
28
+ e.workspace ? (s(), n(w, { key: 0 }, [
29
+ o(g, { workspace: e.workspace }, null, 8, ["workspace"]),
30
+ o(b, { workspace: e.workspace }, null, 8, ["workspace"])
31
+ ], 64)) : a("", !0),
32
+ o(k, {
33
+ configuration: e.configuration,
34
+ overrides: i.value,
35
+ "onUpdate:overrides": t[0] || (t[0] = (l) => i.value = l)
36
+ }, null, 8, ["configuration", "overrides"])
37
+ ])
38
+ ])) : a("", !0);
39
+ }
40
+ });
41
+ export {
42
+ B as default
43
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ApiReferenceToolbar.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
13
+ //# sourceMappingURL=ApiReferenceToolbarBlurb.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiReferenceToolbarBlurb.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarBlurb.vue"],"names":[],"mappings":"AA6BA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAkB/C,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { createElementBlock as t, openBlock as o, renderSlot as r } from "vue";
2
+ import c from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const n = {}, l = { class: "text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline" };
4
+ function a(e, s) {
5
+ return o(), t("p", l, [
6
+ r(e.$slots, "default")
7
+ ]);
8
+ }
9
+ const f = /* @__PURE__ */ c(n, [["render", a]]);
10
+ export {
11
+ f as default
12
+ };
@@ -0,0 +1,14 @@
1
+ import type { ApiReferenceConfiguration } from '@scalar/types';
2
+ type __VLS_Props = {
3
+ configuration?: Partial<ApiReferenceConfiguration>;
4
+ };
5
+ type __VLS_PublicProps = __VLS_Props & {
6
+ 'overrides'?: Partial<ApiReferenceConfiguration>;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:overrides": (value: Partial<ApiReferenceConfiguration> | undefined) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
+ "onUpdate:overrides"?: ((value: Partial<ApiReferenceConfiguration> | undefined) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
14
+ //# sourceMappingURL=ApiReferenceToolbarConfig.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiReferenceToolbarConfig.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarConfig.vue"],"names":[],"mappings":"AA6EA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAQ9D,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACnD,CAAC;AA2BF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;CAChD,CAAC;;;;;;AA4JF,wBAOG"}