@scalar/api-reference 1.28.32 → 1.28.33

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ClientLibraries.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientLibraries.vue"],"names":[],"mappings":";AAmbA,wBAKG"}
1
+ {"version":3,"file":"ClientLibraries.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientLibraries.vue"],"names":[],"mappings":";AAwbA,wBAKG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ClientLibraries.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-db261135"]]);
4
+ const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b6a2d2e5"]]);
5
5
  export {
6
- e as default
6
+ i as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ClientSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientSelector.vue"],"names":[],"mappings":"AA6RA,KAAK,WAAW,GAAG;IACjB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;;AA6MF,wBAOG"}
1
+ {"version":3,"file":"ClientSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientSelector.vue"],"names":[],"mappings":"AA8RA,KAAK,WAAW,GAAG;IACjB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;;AA6MF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ClientSelector.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-217691d9"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-502b1c76"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AA2RA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAiBhD,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;IAChB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;AAyDJ,iBAAS,cAAc;WAgOT,OAAO,IAA6B;;uBAVvB,GAAG;+BACM,GAAG;qBACb,GAAG;;;;EAa5B;AA6BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA7TR,QAAQ,GAAG,SAAS;6EAoU/B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AAyRA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAiBhD,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;IAChB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;AAyDJ,iBAAS,cAAc;WA+NT,OAAO,IAA6B;;uBAVvB,GAAG;+BACM,GAAG;qBACb,GAAG;;;;EAa5B;AA8BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA7TR,QAAQ,GAAG,SAAS;6EAoU/B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,7 +2,7 @@ import o from "./Content.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cdc3d662"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1a04c6b2"]]);
6
6
  export {
7
7
  _ as default
8
8
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, computed as p, createElementBlock as i, openBlock as t, Fragment as u, createStaticVNode as G, createElementVNode as V, renderSlot as m, createBlock as a, createCommentVNode as c, unref as r, withCtx as E, createVNode as v, normalizeClass as I, renderList as O } from "vue";
1
+ import { defineComponent as F, computed as m, createElementBlock as i, openBlock as a, Fragment as u, createStaticVNode as G, createElementVNode as A, renderSlot as f, createBlock as t, createCommentVNode as l, unref as r, withCtx as V, createVNode as v, normalizeClass as I, renderList as O } from "vue";
2
2
  import { useWorkspace as R, useActiveEntities as D } from "@scalar/api-client/store";
3
3
  import { RequestAuth as H } from "@scalar/api-client/views/Request/RequestSection/RequestAuth";
4
4
  import { ScalarErrorBoundary as J } from "@scalar/components";
@@ -9,17 +9,17 @@ import Q from "./Lazy/Loading.vue.js";
9
9
  import T from "./Introduction/Introduction.vue.js";
10
10
  import X from "../../features/BaseUrl/BaseUrl.vue.js";
11
11
  import Y from "./ClientLibraries/ClientLibraries.vue.js";
12
- import U from "./Tag/TagList.vue.js";
12
+ import E from "./Tag/TagList.vue.js";
13
13
  import Z from "../../features/Operation/Webhooks.vue.js";
14
14
  import _ from "./Models/ModelsAccordion.vue.js";
15
15
  import x from "./Models/Models.vue.js";
16
16
  import { useSidebar as ee } from "../../hooks/useSidebar.js";
17
- import { getModels as f } from "../../helpers/getModels.js";
17
+ import { getModels as S } from "../../helpers/getModels.js";
18
18
  import { hasModels as re } from "../../helpers/hasModels.js";
19
- const se = { class: "narrow-references-container" }, te = {
19
+ const se = { class: "narrow-references-container" }, ae = {
20
20
  key: 0,
21
- class: "scalar-reference-intro-server scalar-client introduction-card-item divide-y text-sm [--scalar-address-bar-height:0px]"
22
- }, ae = {
21
+ class: "scalar-reference-intro-server scalar-client introduction-card-item text-sm [--scalar-address-bar-height:0px]"
22
+ }, te = {
23
23
  key: 1,
24
24
  class: "scalar-reference-intro-auth scalar-client introduction-card-item"
25
25
  }, we = /* @__PURE__ */ F({
@@ -28,20 +28,20 @@ const se = { class: "narrow-references-container" }, te = {
28
28
  parsedSpec: {},
29
29
  layout: { default: "modern" }
30
30
  },
31
- setup($) {
32
- const M = $, S = P(), { hideModels: A } = ee(), { collections: B, securitySchemes: N, servers: y } = R(), {
31
+ setup(U) {
32
+ const $ = U, p = P(), { hideModels: M } = ee(), { collections: B, securitySchemes: N, servers: y } = R(), {
33
33
  activeCollection: W,
34
34
  activeEnvVariables: L,
35
35
  activeEnvironment: j,
36
36
  activeWorkspace: h
37
- } = D(), s = p(() => {
38
- if (S.value.slug) {
39
- const e = B[K(S.value.slug)];
37
+ } = D(), s = m(() => {
38
+ if (p.value.slug) {
39
+ const e = B[K(p.value.slug)];
40
40
  if (e)
41
41
  return e;
42
42
  }
43
43
  return W.value;
44
- }), l = p(() => {
44
+ }), c = m(() => {
45
45
  if (s.value) {
46
46
  if (s.value.selectedServerUid) {
47
47
  const e = y[s.value.selectedServerUid];
@@ -50,53 +50,54 @@ const se = { class: "narrow-references-container" }, te = {
50
50
  }
51
51
  return y[s.value.servers[0]];
52
52
  }
53
- }), q = p(
54
- () => M.layout === "classic" ? "after" : "aside"
53
+ }), q = m(
54
+ () => $.layout === "classic" ? "after" : "aside"
55
55
  );
56
56
  return (e, k) => {
57
- var g, b, C, w;
58
- return t(), i(u, null, [
59
- k[0] || (k[0] = G('<div class="section-flare" data-v-cdc3d662><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div><div class="section-flare-item" data-v-cdc3d662></div></div>', 1)),
60
- V("div", se, [
61
- m(e.$slots, "start", {}, void 0, !0),
62
- s.value ? (t(), a(r(Q), {
57
+ var b, g, C, w;
58
+ return a(), i(u, null, [
59
+ k[0] || (k[0] = G('<div class="section-flare" data-v-1a04c6b2><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div><div class="section-flare-item" data-v-1a04c6b2></div></div>', 1)),
60
+ A("div", se, [
61
+ f(e.$slots, "start", {}, void 0, !0),
62
+ s.value ? (a(), t(r(Q), {
63
63
  key: 0,
64
64
  collection: s.value,
65
65
  layout: e.layout,
66
66
  parsedSpec: e.parsedSpec,
67
- server: l.value
68
- }, null, 8, ["collection", "layout", "parsedSpec", "server"])) : c("", !0),
69
- (b = (g = e.parsedSpec) == null ? void 0 : g.info) != null && b.title || (w = (C = e.parsedSpec) == null ? void 0 : C.info) != null && w.description ? (t(), a(r(T), {
67
+ server: c.value
68
+ }, null, 8, ["collection", "layout", "parsedSpec", "server"])) : l("", !0),
69
+ (g = (b = e.parsedSpec) == null ? void 0 : b.info) != null && g.title || (w = (C = e.parsedSpec) == null ? void 0 : C.info) != null && w.description ? (a(), t(r(T), {
70
70
  key: 1,
71
71
  info: e.parsedSpec.info,
72
72
  parsedSpec: e.parsedSpec
73
73
  }, {
74
- [q.value]: E(() => [
74
+ [q.value]: V(() => [
75
75
  v(r(J), null, {
76
- default: E(() => {
76
+ default: V(() => {
77
77
  var n, o, d;
78
78
  return [
79
- V("div", {
79
+ A("div", {
80
80
  class: I(["introduction-card", { "introduction-card-row": e.layout === "classic" }])
81
81
  }, [
82
- (o = (n = s.value) == null ? void 0 : n.servers) != null && o.length ? (t(), i("div", te, [
82
+ (o = (n = s.value) == null ? void 0 : n.servers) != null && o.length ? (a(), i("div", ae, [
83
83
  v(r(X), {
84
84
  collection: s.value,
85
- server: l.value
85
+ server: c.value
86
86
  }, null, 8, ["collection", "server"])
87
- ])) : c("", !0),
88
- s.value && r(h) && Object.keys(r(N) ?? {}).length ? (t(), i("div", ae, [
87
+ ])) : l("", !0),
88
+ s.value && r(h) && Object.keys(r(N) ?? {}).length ? (a(), i("div", te, [
89
89
  v(r(H), {
90
90
  collection: s.value,
91
91
  envVariables: r(L),
92
92
  environment: r(j),
93
93
  layout: "reference",
94
+ persistAuth: r(p).persistAuth,
94
95
  selectedSecuritySchemeUids: ((d = s.value) == null ? void 0 : d.selectedSecuritySchemeUids) ?? [],
95
- server: l.value,
96
+ server: c.value,
96
97
  title: "Authentication",
97
98
  workspace: r(h)
98
- }, null, 8, ["collection", "envVariables", "environment", "selectedSecuritySchemeUids", "server", "workspace"])
99
- ])) : c("", !0),
99
+ }, null, 8, ["collection", "envVariables", "environment", "persistAuth", "selectedSecuritySchemeUids", "server", "workspace"])
100
+ ])) : l("", !0),
100
101
  v(r(Y), { class: "introduction-card-item scalar-reference-intro-clients" })
101
102
  ], 2)
102
103
  ];
@@ -105,42 +106,42 @@ const se = { class: "narrow-references-container" }, te = {
105
106
  })
106
107
  ]),
107
108
  _: 2
108
- }, 1032, ["info", "parsedSpec"])) : m(e.$slots, "empty-state", { key: 2 }, void 0, !0),
109
- e.parsedSpec.tags && s.value ? (t(), i(u, { key: 3 }, [
110
- e.parsedSpec["x-tagGroups"] ? (t(!0), i(u, { key: 0 }, O(e.parsedSpec["x-tagGroups"], (n) => (t(), a(r(U), {
109
+ }, 1032, ["info", "parsedSpec"])) : f(e.$slots, "empty-state", { key: 2 }, void 0, !0),
110
+ e.parsedSpec.tags && s.value ? (a(), i(u, { key: 3 }, [
111
+ e.parsedSpec["x-tagGroups"] ? (a(!0), i(u, { key: 0 }, O(e.parsedSpec["x-tagGroups"], (n) => (a(), t(r(E), {
111
112
  key: n.name,
112
113
  collection: s.value,
113
114
  layout: e.layout,
114
- server: l.value,
115
+ server: c.value,
115
116
  spec: e.parsedSpec,
116
117
  tags: n.tags.map((o) => {
117
118
  var d;
118
119
  return (d = e.parsedSpec.tags) == null ? void 0 : d.find((z) => z.name === o);
119
120
  }).filter((o) => !!o)
120
- }, null, 8, ["collection", "layout", "server", "spec", "tags"]))), 128)) : (t(), a(r(U), {
121
+ }, null, 8, ["collection", "layout", "server", "spec", "tags"]))), 128)) : (a(), t(r(E), {
121
122
  key: 1,
122
123
  collection: s.value,
123
124
  layout: e.layout,
124
- schemas: r(f)(e.parsedSpec),
125
- server: l.value,
125
+ schemas: r(S)(e.parsedSpec),
126
+ server: c.value,
126
127
  spec: e.parsedSpec,
127
128
  tags: e.parsedSpec.tags
128
129
  }, null, 8, ["collection", "layout", "schemas", "server", "spec", "tags"]))
129
- ], 64)) : c("", !0),
130
- e.parsedSpec.webhooks ? (t(), a(r(Z), {
130
+ ], 64)) : l("", !0),
131
+ e.parsedSpec.webhooks ? (a(), t(r(Z), {
131
132
  key: 4,
132
133
  webhooks: e.parsedSpec.webhooks
133
- }, null, 8, ["webhooks"])) : c("", !0),
134
- r(re)(e.parsedSpec) && !r(A) ? (t(), i(u, { key: 5 }, [
135
- e.layout === "classic" ? (t(), a(r(_), {
134
+ }, null, 8, ["webhooks"])) : l("", !0),
135
+ r(re)(e.parsedSpec) && !r(M) ? (a(), i(u, { key: 5 }, [
136
+ e.layout === "classic" ? (a(), t(r(_), {
136
137
  key: 0,
137
- schemas: r(f)(e.parsedSpec)
138
- }, null, 8, ["schemas"])) : (t(), a(r(x), {
138
+ schemas: r(S)(e.parsedSpec)
139
+ }, null, 8, ["schemas"])) : (a(), t(r(x), {
139
140
  key: 1,
140
- schemas: r(f)(e.parsedSpec)
141
+ schemas: r(S)(e.parsedSpec)
141
142
  }, null, 8, ["schemas"]))
142
- ], 64)) : c("", !0),
143
- m(e.$slots, "end", {}, void 0, !0)
143
+ ], 64)) : l("", !0),
144
+ f(e.$slots, "end", {}, void 0, !0)
144
145
  ])
145
146
  ], 64);
146
147
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAuRA,OAAO,KAAK,EAEV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAY9B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;AAoDF,iBAAS,cAAc;WA+TT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAmSA,OAAO,KAAK,EAEV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,MAAM,uBAAuB,CAAA;AAY9B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;AA8DF,iBAAS,cAAc;WA+TT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaPropertyHeading.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-9d959541"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-c69012d3"]]);
5
5
  export {
6
6
  m as default
7
7
  };