@scalar/api-reference 1.14.6 → 1.14.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/browser/standalone.js +2 -2
- package/dist/components/Content/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/SchemaProperty.vue.d.ts +0 -5
- package/dist/components/Content/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/{index-b53a86bd.js → index-003b8c42.js} +2 -2
- package/dist/{index-3a27b0c9.js → index-6caf7ed7.js} +13 -16
- package/dist/index.js +2 -2
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Schema.vue.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Schema.vue.ts"],"names":[],"mappings":";;IAqTI,gCAAgC;;;IAIhC,+DAA+D;;IAE/D,2CAA2C;;IAE3C,8GAA8G;;;;;;;;;IAR9G,gCAAgC;;;IAIhC,+DAA+D;;IAE/D,2CAA2C;;IAE3C,8GAA8G;;;;;;;;WAPtG,MAAM;aAIJ,OAAO;sBAEE,OAAO;0BAEH,OAAO;;AAZlC,wBAkBG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -4,31 +4,26 @@ declare const _default_1: import("vue").DefineComponent<__VLS_WithDefaults<__VLS
|
|
|
4
4
|
name?: string | undefined;
|
|
5
5
|
required?: boolean | undefined;
|
|
6
6
|
compact?: boolean | undefined;
|
|
7
|
-
toggleVisibility?: boolean | undefined;
|
|
8
7
|
description?: string | undefined;
|
|
9
8
|
}>, {
|
|
10
9
|
level: number;
|
|
11
10
|
required: boolean;
|
|
12
11
|
compact: boolean;
|
|
13
|
-
toggleVisibility: boolean;
|
|
14
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
13
|
value?: Record<string, any> | undefined;
|
|
16
14
|
level?: number | undefined;
|
|
17
15
|
name?: string | undefined;
|
|
18
16
|
required?: boolean | undefined;
|
|
19
17
|
compact?: boolean | undefined;
|
|
20
|
-
toggleVisibility?: boolean | undefined;
|
|
21
18
|
description?: string | undefined;
|
|
22
19
|
}>, {
|
|
23
20
|
level: number;
|
|
24
21
|
required: boolean;
|
|
25
22
|
compact: boolean;
|
|
26
|
-
toggleVisibility: boolean;
|
|
27
23
|
}>>>, {
|
|
28
24
|
required: boolean;
|
|
29
25
|
level: number;
|
|
30
26
|
compact: boolean;
|
|
31
|
-
toggleVisibility: boolean;
|
|
32
27
|
}, {}>;
|
|
33
28
|
export default _default_1;
|
|
34
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/SchemaProperty.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/SchemaProperty.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;cAojBe,OAAO;WAFV,MAAM;aAGJ,OAAO;;AANrB,0BAaG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, ref as w, watch as I, openBlock as p, createElementBlock as g, Fragment as E, createElementVNode as U, unref as a, createTextVNode as d, createCommentVNode as S, renderSlot as k, createVNode as s, withCtx as u, toDisplayString as N, computed as D, isRef as B, normalizeClass as L, createBlock as T } from "vue";
|
|
2
|
-
import { o as j, H as R, E as H, U as O, u as F, f as A, _ as M, a as J, m as z, R as Q } from "./index-
|
|
3
|
-
import { b as Be } from "./index-
|
|
2
|
+
import { o as j, H as R, E as H, U as O, u as F, f as A, _ as M, a as J, m as z, R as Q } from "./index-6caf7ed7.js";
|
|
3
|
+
import { b as Be } from "./index-6caf7ed7.js";
|
|
4
4
|
import { useMediaQuery as W, useFileDialog as Y } from "@vueuse/core";
|
|
5
5
|
import "@headlessui/vue";
|
|
6
6
|
import "axios";
|
|
@@ -47565,7 +47565,6 @@ const CP = /* @__PURE__ */ ve(IK, [["__scopeId", "data-v-066b6f7d"]]), WK = { cl
|
|
|
47565
47565
|
name: {},
|
|
47566
47566
|
required: { type: Boolean, default: !1 },
|
|
47567
47567
|
compact: { type: Boolean, default: !1 },
|
|
47568
|
-
toggleVisibility: { type: Boolean, default: !1 },
|
|
47569
47568
|
description: {}
|
|
47570
47569
|
},
|
|
47571
47570
|
setup(t) {
|
|
@@ -47593,7 +47592,7 @@ const CP = /* @__PURE__ */ ve(IK, [["__scopeId", "data-v-066b6f7d"]]), WK = { cl
|
|
|
47593
47592
|
return (i, o) => {
|
|
47594
47593
|
var a, s, l, c, u, d, f, p, h, g, v, m;
|
|
47595
47594
|
return $(), W("div", {
|
|
47596
|
-
class: _e(["property",
|
|
47595
|
+
class: _e(["property", [`property--level-${i.level}`, { "property--compact": i.compact }]])
|
|
47597
47596
|
}, [
|
|
47598
47597
|
k("div", WK, [
|
|
47599
47598
|
i.name ? ($(), W("div", VK, he(i.name), 1)) : ue("", !0),
|
|
@@ -47668,18 +47667,16 @@ const CP = /* @__PURE__ */ ve(IK, [["__scopeId", "data-v-066b6f7d"]]), WK = { cl
|
|
|
47668
47667
|
N(Vo, {
|
|
47669
47668
|
compact: i.compact,
|
|
47670
47669
|
level: i.level + 1,
|
|
47671
|
-
toggleVisibility: i.level >= 3 || i.toggleVisibility,
|
|
47672
47670
|
value: i.value
|
|
47673
|
-
}, null, 8, ["compact", "level", "
|
|
47671
|
+
}, null, 8, ["compact", "level", "value"])
|
|
47674
47672
|
])) : ue("", !0),
|
|
47675
47673
|
(m = i.value) != null && m.items ? ($(), W(Oe, { key: 4 }, [
|
|
47676
47674
|
["object"].includes(i.value.items.type) ? ($(), W("div", nJ, [
|
|
47677
47675
|
N(Vo, {
|
|
47678
47676
|
compact: i.compact,
|
|
47679
47677
|
level: i.level + 1,
|
|
47680
|
-
toggleVisibility: i.level >= 3 || i.toggleVisibility,
|
|
47681
47678
|
value: i.value.items
|
|
47682
|
-
}, null, 8, ["compact", "level", "
|
|
47679
|
+
}, null, 8, ["compact", "level", "value"])
|
|
47683
47680
|
])) : ue("", !0)
|
|
47684
47681
|
], 64)) : ue("", !0),
|
|
47685
47682
|
($(), W(Oe, null, We(n, (b) => {
|
|
@@ -47689,20 +47686,17 @@ const CP = /* @__PURE__ */ ve(IK, [["__scopeId", "data-v-066b6f7d"]]), WK = { cl
|
|
|
47689
47686
|
($(!0), W(Oe, null, We(i.value[b], (Q, V) => ($(), oe(Vo, {
|
|
47690
47687
|
key: V,
|
|
47691
47688
|
compact: i.compact,
|
|
47692
|
-
hideVisibilityToggle: "",
|
|
47693
47689
|
level: i.level + 1,
|
|
47694
|
-
toggleVisibility: i.level >= 3 || i.toggleVisibility,
|
|
47695
47690
|
value: Q
|
|
47696
|
-
}, null, 8, ["compact", "level", "
|
|
47691
|
+
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
47697
47692
|
])) : ue("", !0),
|
|
47698
47693
|
(T = (P = i.value) == null ? void 0 : P.items) != null && T[b] && i.level < 3 ? ($(), W("div", oJ, [
|
|
47699
47694
|
($(!0), W(Oe, null, We(i.value.items[b], (Q, V) => ($(), oe(Vo, {
|
|
47700
47695
|
key: V,
|
|
47701
47696
|
compact: i.compact,
|
|
47702
47697
|
level: i.level + 1,
|
|
47703
|
-
toggleVisibility: i.level >= 3 || i.toggleVisibility,
|
|
47704
47698
|
value: Q
|
|
47705
|
-
}, null, 8, ["compact", "level", "
|
|
47699
|
+
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
47706
47700
|
])) : ue("", !0)
|
|
47707
47701
|
], 64);
|
|
47708
47702
|
}), 64))
|
|
@@ -47710,7 +47704,7 @@ const CP = /* @__PURE__ */ ve(IK, [["__scopeId", "data-v-066b6f7d"]]), WK = { cl
|
|
|
47710
47704
|
};
|
|
47711
47705
|
}
|
|
47712
47706
|
});
|
|
47713
|
-
const Us = /* @__PURE__ */ ve(aJ, [["__scopeId", "data-v-
|
|
47707
|
+
const Us = /* @__PURE__ */ ve(aJ, [["__scopeId", "data-v-314c476c"]]), sJ = (t) => (wr("data-v-09eff247"), t = t(), $r(), t), lJ = /* @__PURE__ */ sJ(() => /* @__PURE__ */ k("svg", {
|
|
47714
47708
|
fill: "currentColor",
|
|
47715
47709
|
height: "14",
|
|
47716
47710
|
viewBox: "0 0 14 14",
|
|
@@ -47731,7 +47725,7 @@ const Us = /* @__PURE__ */ ve(aJ, [["__scopeId", "data-v-848c5568"]]), sJ = (t)
|
|
|
47731
47725
|
level: { default: 0 },
|
|
47732
47726
|
name: {},
|
|
47733
47727
|
compact: { type: Boolean, default: !1 },
|
|
47734
|
-
toggleVisibility: { type: Boolean, default: !
|
|
47728
|
+
toggleVisibility: { type: Boolean, default: !0 },
|
|
47735
47729
|
hideVisibilityToggle: { type: Boolean, default: !1 }
|
|
47736
47730
|
},
|
|
47737
47731
|
setup(t) {
|
|
@@ -47746,7 +47740,10 @@ const Us = /* @__PURE__ */ ve(aJ, [["__scopeId", "data-v-848c5568"]]), sJ = (t)
|
|
|
47746
47740
|
var s, l, c;
|
|
47747
47741
|
return typeof o.value == "object" && Object.keys(o.value).length ? ($(), W("div", {
|
|
47748
47742
|
key: 0,
|
|
47749
|
-
class: _e(["schema-card",
|
|
47743
|
+
class: _e(["schema-card", [
|
|
47744
|
+
`schema-card--level-${o.level}`,
|
|
47745
|
+
{ "schema-card--compact": o.compact }
|
|
47746
|
+
]])
|
|
47750
47747
|
}, [
|
|
47751
47748
|
k("div", {
|
|
47752
47749
|
class: _e(["properties", `properties--${!r.value || n.value ? "visible" : "hidden"}`])
|
|
@@ -47800,7 +47797,7 @@ const Us = /* @__PURE__ */ ve(aJ, [["__scopeId", "data-v-848c5568"]]), sJ = (t)
|
|
|
47800
47797
|
};
|
|
47801
47798
|
}
|
|
47802
47799
|
});
|
|
47803
|
-
const Vo = /* @__PURE__ */ ve(uJ, [["__scopeId", "data-v-
|
|
47800
|
+
const Vo = /* @__PURE__ */ ve(uJ, [["__scopeId", "data-v-09eff247"]]), dJ = /* @__PURE__ */ fe({
|
|
47804
47801
|
__name: "ShowMoreButton",
|
|
47805
47802
|
props: {
|
|
47806
47803
|
id: {}
|
|
@@ -52325,7 +52322,7 @@ const Rte = /* @__PURE__ */ ve(Tte, [["__scopeId", "data-v-0f9f7f81"]]), ZP = /*
|
|
|
52325
52322
|
emits: ["changeTheme", "updateContent"],
|
|
52326
52323
|
setup(t, { emit: e }) {
|
|
52327
52324
|
const r = t, n = rx(), i = bp(
|
|
52328
|
-
() => import("./index-
|
|
52325
|
+
() => import("./index-003b8c42.js").then((T) => T.SwaggerEditor)
|
|
52329
52326
|
), o = Pe(
|
|
52330
52327
|
() => B$(r.configuration ?? {}, { ...gF })
|
|
52331
52328
|
), a = Pe(() => o.value.spec), { rawSpecRef: s, setRawSpecRef: l } = IB({
|