@scalar/api-reference 1.17.4 → 1.17.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 +15 -0
- package/dist/browser/standalone.js +9 -9
- package/dist/browser/webpack-stats.json +1 -0
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/helpers/getExampleFromSchema.d.ts.map +1 -1
- package/dist/{index-BqTjSpJO.js → index-DIb1QAG4.js} +9 -9
- package/dist/{index-BQzxx8wP.js → index-i-Jh5FW9.js} +8390 -9704
- package/dist/index.js +7 -7
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;;
|
|
1
|
+
{"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;;WAotBpC,OAAO;;;;;;;WAAP,OAAO;;;;;;;AAFhB,wBAUG;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarElement.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SidebarElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarElement.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiUA,wBAAwG;AAGxG,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,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getExampleFromSchema.d.ts","sourceRoot":"","sources":["../../src/helpers/getExampleFromSchema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,oBAAoB,WACvB,OAAO,MAAM,EAAE,GAAG,CAAC,YACjB;IACR;;;QAGI;IACJ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACxB,UACM,MAAM,KACZ,
|
|
1
|
+
{"version":3,"file":"getExampleFromSchema.d.ts","sourceRoot":"","sources":["../../src/helpers/getExampleFromSchema.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,oBAAoB,WACvB,OAAO,MAAM,EAAE,GAAG,CAAC,YACjB;IACR;;;QAGI;IACJ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACxB,UACM,MAAM,KACZ,GA4KF,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as E, ref as C, watch as N, openBlock as c, createElementBlock as v, Fragment as k, createElementVNode as U, unref as a, createTextVNode as u, createCommentVNode as w, renderSlot as S, createVNode as n, withCtx as p, toDisplayString as R, computed as D, isRef as B, normalizeClass as L, createBlock as T } from "vue";
|
|
2
|
-
import { o as j, H as F, E as H, U as O, u as I, f as A, _ as
|
|
3
|
-
import { a as ve } from "./index-
|
|
2
|
+
import { o as j, H as F, E as H, U as O, u as I, f as A, _ as b, C as J, b as z, R as Q } from "./index-i-Jh5FW9.js";
|
|
3
|
+
import { a as ve } from "./index-i-Jh5FW9.js";
|
|
4
4
|
import { useMediaQuery as W, useFileDialog as Y } from "@vueuse/core";
|
|
5
5
|
const q = (l) => {
|
|
6
6
|
if (typeof l != "string")
|
|
@@ -18,7 +18,7 @@ const q = (l) => {
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["import"],
|
|
20
20
|
setup(l, { expose: _, emit: m }) {
|
|
21
|
-
const o = l, t = W("(max-width: 1000px)"), { files: r, open: g, reset:
|
|
21
|
+
const o = l, t = W("(max-width: 1000px)"), { files: r, open: g, reset: x } = Y({
|
|
22
22
|
multiple: !1,
|
|
23
23
|
accept: ".json,.yaml,.yml"
|
|
24
24
|
}), e = j(), f = C(null);
|
|
@@ -38,9 +38,9 @@ const q = (l) => {
|
|
|
38
38
|
if ((i = r.value) != null && i.length) {
|
|
39
39
|
const s = r.value[0], h = new FileReader();
|
|
40
40
|
h.onload = (V) => {
|
|
41
|
-
var
|
|
42
|
-
const
|
|
43
|
-
typeof
|
|
41
|
+
var M;
|
|
42
|
+
const $ = (M = V.target) == null ? void 0 : M.result;
|
|
43
|
+
typeof $ == "string" && (m("import", $), x());
|
|
44
44
|
}, h.readAsText(s);
|
|
45
45
|
}
|
|
46
46
|
}), (i, s) => (c(), v(k, null, [
|
|
@@ -110,7 +110,7 @@ const q = (l) => {
|
|
|
110
110
|
}, 8, ["state"])
|
|
111
111
|
], 64));
|
|
112
112
|
}
|
|
113
|
-
}), re = /* @__PURE__ */
|
|
113
|
+
}), re = /* @__PURE__ */ b(te, [["__scopeId", "data-v-17d421af"]]), oe = { class: "swagger-editor-input" }, ae = /* @__PURE__ */ E({
|
|
114
114
|
__name: "SwaggerEditorInput",
|
|
115
115
|
props: {
|
|
116
116
|
value: {}
|
|
@@ -144,7 +144,7 @@ function le(l, _) {
|
|
|
144
144
|
S(l.$slots, "default")
|
|
145
145
|
]);
|
|
146
146
|
}
|
|
147
|
-
const ie = /* @__PURE__ */
|
|
147
|
+
const ie = /* @__PURE__ */ b(ne, [["render", le]]), de = /* @__PURE__ */ E({
|
|
148
148
|
__name: "SwaggerEditor",
|
|
149
149
|
props: {
|
|
150
150
|
value: {},
|
|
@@ -213,7 +213,7 @@ const ie = /* @__PURE__ */ x(ne, [["render", le]]), de = /* @__PURE__ */ E({
|
|
|
213
213
|
})
|
|
214
214
|
], 64));
|
|
215
215
|
}
|
|
216
|
-
}), me = /* @__PURE__ */
|
|
216
|
+
}), me = /* @__PURE__ */ b(de, [["__scopeId", "data-v-68ed8e3f"]]);
|
|
217
217
|
export {
|
|
218
218
|
me as CodeEditor,
|
|
219
219
|
F as HeaderTabButton,
|