@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.
- package/CHANGELOG.md +14 -0
- package/dist/browser/standalone.js +9306 -8928
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.vue2.js +24 -24
- package/dist/components/OperationsList/OperationsList.vue.js +2 -2
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
- package/dist/consts/urls.d.ts +17 -0
- package/dist/consts/urls.d.ts.map +1 -0
- package/dist/consts/urls.js +7 -0
- package/dist/features/Operation/components/Headers.vue.js +2 -2
- package/dist/features/Operation/components/Headers.vue2.js +11 -11
- package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +3 -3
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts +4 -2
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.js +49 -43
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +16 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.js +43 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts +13 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +12 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +14 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +95 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts +10 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +27 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +123 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +11 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +41 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts +26 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +46 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +58 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +84 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +42 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +50 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts +14 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +83 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts +3 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +51 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +4 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts +3 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts.map +1 -0
- package/dist/features/toolbar/uploadTempDocument.js +21 -0
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +6 -6
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +90 -82
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +2 -2
- package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineComponent as p, mergeModels as g, useModel as V, computed as m, createBlock as b, openBlock as c, withCtx as l, createVNode as t, createElementVNode as x, unref as u, createTextVNode as r } from "vue";
|
|
2
|
+
import { ScalarFormSection as y, ScalarCodeBlock as C, ScalarFormField as d } from "@scalar/components";
|
|
3
|
+
import { prettyPrintJson as S } from "@scalar/oas-utils/helpers";
|
|
4
|
+
import $ from "./ApiReferenceToolbarConfigLayout.vue.js";
|
|
5
|
+
import k from "./ApiReferenceToolbarConfigLayoutOptions.vue.js";
|
|
6
|
+
import B from "./ApiReferenceToolbarConfigTheme.vue.js";
|
|
7
|
+
import F from "./ApiReferenceToolbarPopover.vue.js";
|
|
8
|
+
const M = { class: "flex flex-col gap-4" }, E = /* @__PURE__ */ p({
|
|
9
|
+
__name: "ApiReferenceToolbarConfig",
|
|
10
|
+
props: /* @__PURE__ */ g({
|
|
11
|
+
configuration: {}
|
|
12
|
+
}, {
|
|
13
|
+
overrides: {},
|
|
14
|
+
overridesModifiers: {}
|
|
15
|
+
}),
|
|
16
|
+
emits: ["update:overrides"],
|
|
17
|
+
setup(i) {
|
|
18
|
+
const o = V(i, "overrides"), v = m(() => S({
|
|
19
|
+
...o.value,
|
|
20
|
+
// Make sure the overrides are first
|
|
21
|
+
...i.configuration,
|
|
22
|
+
...o.value
|
|
23
|
+
// But also that they override the configuration
|
|
24
|
+
})), f = m({
|
|
25
|
+
get: () => o.value?.theme ?? i.configuration?.theme ?? "default",
|
|
26
|
+
set: (a) => o.value = { ...o.value, theme: a }
|
|
27
|
+
}), s = m({
|
|
28
|
+
get: () => o.value?.layout ?? i.configuration?.layout ?? "modern",
|
|
29
|
+
set: (a) => o.value = { ...o.value, layout: a }
|
|
30
|
+
});
|
|
31
|
+
return (a, e) => (c(), b(F, { class: "w-120" }, {
|
|
32
|
+
label: l(() => e[3] || (e[3] = [
|
|
33
|
+
r(" Configure ")
|
|
34
|
+
])),
|
|
35
|
+
default: l(() => [
|
|
36
|
+
t(u(y), null, {
|
|
37
|
+
label: l(() => e[4] || (e[4] = [
|
|
38
|
+
r("Scalar Configuration")
|
|
39
|
+
])),
|
|
40
|
+
default: l(() => [
|
|
41
|
+
t(u(C), {
|
|
42
|
+
class: "bg-b-1.5 max-h-40 rounded border text-sm",
|
|
43
|
+
content: v.value,
|
|
44
|
+
lang: "json"
|
|
45
|
+
}, null, 8, ["content"])
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
}),
|
|
49
|
+
x("div", M, [
|
|
50
|
+
t(u(d), null, {
|
|
51
|
+
label: l(() => e[5] || (e[5] = [
|
|
52
|
+
r("Theme")
|
|
53
|
+
])),
|
|
54
|
+
default: l(() => [
|
|
55
|
+
t(B, {
|
|
56
|
+
modelValue: f.value,
|
|
57
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => f.value = n)
|
|
58
|
+
}, null, 8, ["modelValue"])
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}),
|
|
62
|
+
t(u(d), null, {
|
|
63
|
+
label: l(() => e[6] || (e[6] = [
|
|
64
|
+
r("Layout")
|
|
65
|
+
])),
|
|
66
|
+
default: l(() => [
|
|
67
|
+
t($, {
|
|
68
|
+
modelValue: s.value,
|
|
69
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => s.value = n)
|
|
70
|
+
}, null, 8, ["modelValue"])
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
}),
|
|
74
|
+
t(u(d), { is: "div" }, {
|
|
75
|
+
label: l(() => e[7] || (e[7] = [
|
|
76
|
+
r("Layout Options")
|
|
77
|
+
])),
|
|
78
|
+
default: l(() => [
|
|
79
|
+
t(k, {
|
|
80
|
+
configuration: a.configuration,
|
|
81
|
+
modelValue: o.value,
|
|
82
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => o.value = n)
|
|
83
|
+
}, null, 8, ["configuration", "modelValue"])
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
})
|
|
87
|
+
])
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
export {
|
|
94
|
+
E as default
|
|
95
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: 'modern' | 'classic';
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: "modern" | "classic" | undefined) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: "modern" | "classic" | undefined) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=ApiReferenceToolbarConfigLayout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarConfigLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarConfigLayout.vue"],"names":[],"mappings":"AAsDA,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC,CAAC;;;;;;AA8CF,wBAOG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as r, useModel as m, computed as c, createBlock as i, openBlock as p, unref as f } from "vue";
|
|
2
|
+
import { ScalarCheckboxRadioGroup as v } from "@scalar/components";
|
|
3
|
+
const b = /* @__PURE__ */ r({
|
|
4
|
+
__name: "ApiReferenceToolbarConfigLayout",
|
|
5
|
+
props: {
|
|
6
|
+
modelValue: {},
|
|
7
|
+
modelModifiers: {}
|
|
8
|
+
},
|
|
9
|
+
emits: ["update:modelValue"],
|
|
10
|
+
setup(u) {
|
|
11
|
+
const e = { label: "Modern", value: "modern" }, o = { label: "Classic", value: "classic" }, s = [
|
|
12
|
+
e,
|
|
13
|
+
o
|
|
14
|
+
], l = m(u, "modelValue"), a = c({
|
|
15
|
+
get: () => l.value === "modern" ? e : o,
|
|
16
|
+
set: (t) => l.value = t.value
|
|
17
|
+
});
|
|
18
|
+
return (t, n) => (p(), i(f(v), {
|
|
19
|
+
modelValue: a.value,
|
|
20
|
+
"onUpdate:modelValue": n[0] || (n[0] = (d) => a.value = d),
|
|
21
|
+
options: s
|
|
22
|
+
}, null, 8, ["modelValue"]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
b as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ApiReferenceConfiguration } from '@scalar/types';
|
|
2
|
+
type LayoutOptions = {
|
|
3
|
+
showSidebar?: boolean;
|
|
4
|
+
defaultOpenAllTags?: boolean;
|
|
5
|
+
expandAllModelSections?: boolean;
|
|
6
|
+
expandAllResponses?: boolean;
|
|
7
|
+
hideClientButton?: boolean;
|
|
8
|
+
hideDarkModeToggle?: boolean;
|
|
9
|
+
hideModels?: boolean;
|
|
10
|
+
hideSearch?: boolean;
|
|
11
|
+
hideTestRequestButton?: boolean;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Props = {
|
|
14
|
+
configuration?: Partial<ApiReferenceConfiguration>;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
17
|
+
modelValue?: LayoutOptions;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: LayoutOptions) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: LayoutOptions) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarConfigLayoutOptions.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAE9D,KAAK,aAAa,GAAG;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACnD,CAAC;AA8BF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;;;;;;AA8MF,wBAOG"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { defineComponent as p, mergeModels as f, useModel as g, createBlock as M, openBlock as S, unref as o, withCtx as d, createVNode as n, createTextVNode as a } from "vue";
|
|
2
|
+
import { ScalarFormInputGroup as T, ScalarToggleInput as i } from "@scalar/components";
|
|
3
|
+
const U = /* @__PURE__ */ p({
|
|
4
|
+
__name: "ApiReferenceToolbarConfigLayoutOptions",
|
|
5
|
+
props: /* @__PURE__ */ f({
|
|
6
|
+
configuration: {}
|
|
7
|
+
}, {
|
|
8
|
+
modelValue: {
|
|
9
|
+
default: {}
|
|
10
|
+
},
|
|
11
|
+
modelModifiers: {}
|
|
12
|
+
}),
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(r) {
|
|
15
|
+
const s = g(r, "modelValue");
|
|
16
|
+
function t(m, e = !1) {
|
|
17
|
+
return s.value[m] ?? r.configuration?.[m] ?? e;
|
|
18
|
+
}
|
|
19
|
+
function u(m, e, l = !1) {
|
|
20
|
+
e !== l ? s.value = { ...s.value, [m]: e } : s.value = Object.fromEntries(
|
|
21
|
+
Object.entries(s.value).filter(([V]) => m !== V)
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
return (m, e) => (S(), M(o(T), null, {
|
|
25
|
+
default: d(() => [
|
|
26
|
+
n(o(i), {
|
|
27
|
+
modelValue: t("showSidebar", !0),
|
|
28
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => u("showSidebar", !!l, !0))
|
|
29
|
+
}, {
|
|
30
|
+
default: d(() => e[9] || (e[9] = [
|
|
31
|
+
a(" Show Sidebar ")
|
|
32
|
+
])),
|
|
33
|
+
_: 1,
|
|
34
|
+
__: [9]
|
|
35
|
+
}, 8, ["modelValue"]),
|
|
36
|
+
n(o(i), {
|
|
37
|
+
modelValue: t("defaultOpenAllTags"),
|
|
38
|
+
"onUpdate:modelValue": e[1] || (e[1] = (l) => u("defaultOpenAllTags", !!l))
|
|
39
|
+
}, {
|
|
40
|
+
default: d(() => e[10] || (e[10] = [
|
|
41
|
+
a(" Default Open All Tags ")
|
|
42
|
+
])),
|
|
43
|
+
_: 1,
|
|
44
|
+
__: [10]
|
|
45
|
+
}, 8, ["modelValue"]),
|
|
46
|
+
n(o(i), {
|
|
47
|
+
modelValue: t("expandAllModelSections"),
|
|
48
|
+
"onUpdate:modelValue": e[2] || (e[2] = (l) => u("expandAllModelSections", !!l))
|
|
49
|
+
}, {
|
|
50
|
+
default: d(() => e[11] || (e[11] = [
|
|
51
|
+
a(" Expand All Model Sections ")
|
|
52
|
+
])),
|
|
53
|
+
_: 1,
|
|
54
|
+
__: [11]
|
|
55
|
+
}, 8, ["modelValue"]),
|
|
56
|
+
n(o(i), {
|
|
57
|
+
modelValue: t("expandAllResponses"),
|
|
58
|
+
"onUpdate:modelValue": e[3] || (e[3] = (l) => u("expandAllResponses", !!l))
|
|
59
|
+
}, {
|
|
60
|
+
default: d(() => e[12] || (e[12] = [
|
|
61
|
+
a(" Expand All Responses ")
|
|
62
|
+
])),
|
|
63
|
+
_: 1,
|
|
64
|
+
__: [12]
|
|
65
|
+
}, 8, ["modelValue"]),
|
|
66
|
+
n(o(i), {
|
|
67
|
+
modelValue: t("hideClientButton"),
|
|
68
|
+
"onUpdate:modelValue": e[4] || (e[4] = (l) => u("hideClientButton", !!l))
|
|
69
|
+
}, {
|
|
70
|
+
default: d(() => e[13] || (e[13] = [
|
|
71
|
+
a(" Hide Client Button ")
|
|
72
|
+
])),
|
|
73
|
+
_: 1,
|
|
74
|
+
__: [13]
|
|
75
|
+
}, 8, ["modelValue"]),
|
|
76
|
+
n(o(i), {
|
|
77
|
+
modelValue: t("hideDarkModeToggle"),
|
|
78
|
+
"onUpdate:modelValue": e[5] || (e[5] = (l) => u("hideDarkModeToggle", !!l))
|
|
79
|
+
}, {
|
|
80
|
+
default: d(() => e[14] || (e[14] = [
|
|
81
|
+
a(" Hide Dark Mode Toggle ")
|
|
82
|
+
])),
|
|
83
|
+
_: 1,
|
|
84
|
+
__: [14]
|
|
85
|
+
}, 8, ["modelValue"]),
|
|
86
|
+
n(o(i), {
|
|
87
|
+
modelValue: t("hideModels"),
|
|
88
|
+
"onUpdate:modelValue": e[6] || (e[6] = (l) => u("hideModels", !!l))
|
|
89
|
+
}, {
|
|
90
|
+
default: d(() => e[15] || (e[15] = [
|
|
91
|
+
a(" Hide Models ")
|
|
92
|
+
])),
|
|
93
|
+
_: 1,
|
|
94
|
+
__: [15]
|
|
95
|
+
}, 8, ["modelValue"]),
|
|
96
|
+
n(o(i), {
|
|
97
|
+
modelValue: t("hideSearch"),
|
|
98
|
+
"onUpdate:modelValue": e[7] || (e[7] = (l) => u("hideSearch", !!l))
|
|
99
|
+
}, {
|
|
100
|
+
default: d(() => e[16] || (e[16] = [
|
|
101
|
+
a(" Hide Search ")
|
|
102
|
+
])),
|
|
103
|
+
_: 1,
|
|
104
|
+
__: [16]
|
|
105
|
+
}, 8, ["modelValue"]),
|
|
106
|
+
n(o(i), {
|
|
107
|
+
modelValue: t("hideTestRequestButton"),
|
|
108
|
+
"onUpdate:modelValue": e[8] || (e[8] = (l) => u("hideTestRequestButton", !!l))
|
|
109
|
+
}, {
|
|
110
|
+
default: d(() => e[17] || (e[17] = [
|
|
111
|
+
a(" Hide Test Request Button ")
|
|
112
|
+
])),
|
|
113
|
+
_: 1,
|
|
114
|
+
__: [17]
|
|
115
|
+
}, 8, ["modelValue"])
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}));
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
export {
|
|
122
|
+
U as default
|
|
123
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ThemeId } from '@scalar/themes';
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
modelValue?: ThemeId;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: "alternate" | "default" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none" | undefined) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((value: "alternate" | "default" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none" | undefined) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=ApiReferenceToolbarConfigTheme.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarConfigTheme.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarConfigTheme.vue"],"names":[],"mappings":"AAqCA,OAAO,EAAyB,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAyBpE,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;;;;;;AAkEF,wBAOG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as s, useModel as i, computed as m, createBlock as p, openBlock as c, unref as n, withCtx as r, createVNode as f, createTextVNode as v, toDisplayString as V } from "vue";
|
|
2
|
+
import { ScalarCombobox as b, ScalarListboxInput as x } from "@scalar/components";
|
|
3
|
+
import { themeIds as _, themeLabels as h } from "@scalar/themes";
|
|
4
|
+
const T = /* @__PURE__ */ s({
|
|
5
|
+
__name: "ApiReferenceToolbarConfigTheme",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
modelModifiers: {}
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue"],
|
|
11
|
+
setup(d) {
|
|
12
|
+
const u = i(d, "modelValue"), t = m(
|
|
13
|
+
() => _.map((e) => ({ id: e, label: h[e] }))
|
|
14
|
+
), l = m({
|
|
15
|
+
get: () => {
|
|
16
|
+
const e = u.value ?? "default";
|
|
17
|
+
return t.value.find((o) => o.id === e) ?? t.value[0];
|
|
18
|
+
},
|
|
19
|
+
set: (e) => u.value = e.id
|
|
20
|
+
});
|
|
21
|
+
return (e, o) => (c(), p(n(b), {
|
|
22
|
+
modelValue: l.value,
|
|
23
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => l.value = a),
|
|
24
|
+
resize: "",
|
|
25
|
+
options: t.value
|
|
26
|
+
}, {
|
|
27
|
+
default: r(({ open: a }) => [
|
|
28
|
+
f(n(x), { open: a }, {
|
|
29
|
+
default: r(() => [
|
|
30
|
+
v(V(l.value.label), 1)
|
|
31
|
+
]),
|
|
32
|
+
_: 2
|
|
33
|
+
}, 1032, ["open"])
|
|
34
|
+
]),
|
|
35
|
+
_: 1
|
|
36
|
+
}, 8, ["modelValue", "options"]));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
T as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare var __VLS_6: {
|
|
2
|
+
open: boolean;
|
|
3
|
+
}, __VLS_8: {}, __VLS_14: {
|
|
4
|
+
open: boolean;
|
|
5
|
+
close: () => void;
|
|
6
|
+
}, __VLS_20: {}, __VLS_22: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
button?: (props: typeof __VLS_6) => any;
|
|
9
|
+
} & {
|
|
10
|
+
label?: (props: typeof __VLS_8) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_14) => any;
|
|
13
|
+
} & {
|
|
14
|
+
info?: (props: typeof __VLS_20) => any;
|
|
15
|
+
} & {
|
|
16
|
+
label?: (props: typeof __VLS_22) => any;
|
|
17
|
+
};
|
|
18
|
+
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>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=ApiReferenceToolbarPopover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarPopover.vue"],"names":[],"mappings":"AAyKA,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO,IAAU,EAAE,QAAQ;;;CAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC1G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAsB9C,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,46 @@
|
|
|
1
|
+
import { defineComponent as c, createBlock as p, openBlock as d, unref as l, withCtx as a, createVNode as n, createElementVNode as s, renderSlot as o, normalizeProps as m, guardReactiveProps as f, createTextVNode as i, normalizeClass as u } from "vue";
|
|
2
|
+
import { ScalarPopover as b, ScalarFloatingBackdrop as g } from "@scalar/components";
|
|
3
|
+
import { ScalarIconInfo as x, ScalarIconCaretDown as h } from "@scalar/icons";
|
|
4
|
+
const v = { class: "text-c-2 hover:text-c-1 hover:bg-b-2 flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none" }, _ = { class: "custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6" }, k = { class: "text-c-2 flex items-center justify-center gap-1 p-2 text-sm" }, P = /* @__PURE__ */ c({
|
|
5
|
+
__name: "ApiReferenceToolbarPopover",
|
|
6
|
+
setup(w) {
|
|
7
|
+
return (e, t) => (d(), p(l(b), {
|
|
8
|
+
class: "max-h-[inherit] max-w-[inherit] p-0 text-base",
|
|
9
|
+
placement: "bottom-end",
|
|
10
|
+
teleport: ""
|
|
11
|
+
}, {
|
|
12
|
+
default: a(({ open: r }) => [
|
|
13
|
+
o(e.$slots, "button", { open: r }, () => [
|
|
14
|
+
s("button", v, [
|
|
15
|
+
o(e.$slots, "label"),
|
|
16
|
+
n(l(h), {
|
|
17
|
+
class: u(["transition-transform", { "rotate-180": r }])
|
|
18
|
+
}, null, 8, ["class"])
|
|
19
|
+
])
|
|
20
|
+
])
|
|
21
|
+
]),
|
|
22
|
+
popover: a((r) => [
|
|
23
|
+
s("div", _, [
|
|
24
|
+
o(e.$slots, "default", m(f(r)))
|
|
25
|
+
]),
|
|
26
|
+
s("div", k, [
|
|
27
|
+
n(l(x), { class: "size-3.5 shrink-0" }),
|
|
28
|
+
s("div", null, [
|
|
29
|
+
o(e.$slots, "info", {}, () => [
|
|
30
|
+
t[0] || (t[0] = i(' "')),
|
|
31
|
+
o(e.$slots, "label"),
|
|
32
|
+
t[1] || (t[1] = i('" will only appear when running on localhost '))
|
|
33
|
+
])
|
|
34
|
+
])
|
|
35
|
+
])
|
|
36
|
+
]),
|
|
37
|
+
backdrop: a(() => [
|
|
38
|
+
n(l(g), { class: "bg-b-2 rounded-lg" })
|
|
39
|
+
]),
|
|
40
|
+
_: 3
|
|
41
|
+
}));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
P as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
workspace: WorkspaceStore;
|
|
4
|
+
sdks?: string[];
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
7
|
+
'url'?: string;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_10: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_10) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:url": (value: string | undefined) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:url"?: ((value: string | undefined) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=ApiReferenceToolbarRegisterButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarRegisterButton.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarRegisterButton.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAMpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB,CAAC;AA2DF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAoCF,QAAA,IAAI,QAAQ,IAAW,CAAE;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAuBhD,QAAA,MAAM,eAAe;;;;kFAOnB,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"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as l, mergeModels as d, useModel as m, createBlock as f, openBlock as p, unref as c, withCtx as g, renderSlot as k, createTextVNode as w, nextTick as v } from "vue";
|
|
2
|
+
import { useLoadingState as R, ScalarButton as L } from "@scalar/components";
|
|
3
|
+
import { useToasts as x } from "@scalar/use-toasts";
|
|
4
|
+
import { DASHBOARD_REGISTER_URL as S } from "../../consts/urls.js";
|
|
5
|
+
import { uploadTempDocument as T } from "./uploadTempDocument.js";
|
|
6
|
+
const U = /* @__PURE__ */ l({
|
|
7
|
+
__name: "ApiReferenceToolbarRegisterButton",
|
|
8
|
+
props: /* @__PURE__ */ d({
|
|
9
|
+
workspace: {},
|
|
10
|
+
sdks: { default: () => [] }
|
|
11
|
+
}, {
|
|
12
|
+
url: {},
|
|
13
|
+
urlModifiers: {}
|
|
14
|
+
}),
|
|
15
|
+
emits: ["update:url"],
|
|
16
|
+
setup(o) {
|
|
17
|
+
const a = m(o, "url"), { toast: s } = x(), t = R();
|
|
18
|
+
function i(r) {
|
|
19
|
+
const e = new URL(S);
|
|
20
|
+
e.searchParams.set("url", r), o.sdks.forEach((n) => e.searchParams.append("sdk", n)), window.open(e.toString(), "_blank");
|
|
21
|
+
}
|
|
22
|
+
async function u() {
|
|
23
|
+
if (t.isLoading || !o.workspace)
|
|
24
|
+
return;
|
|
25
|
+
if (a.value) {
|
|
26
|
+
i(a.value);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
t.startLoading();
|
|
30
|
+
const r = o.workspace.exportActiveDocument("json");
|
|
31
|
+
if (!r) {
|
|
32
|
+
s("Unable to export active document", "error"), t.invalidate();
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
try {
|
|
36
|
+
a.value = await T(r), await t.validate(600), i(a.value), await v(), t.clear();
|
|
37
|
+
} catch (e) {
|
|
38
|
+
const n = e instanceof Error ? e.message : "An unknown error occurred";
|
|
39
|
+
s(n, "error"), t.invalidate();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return (r, e) => (p(), f(c(L), {
|
|
43
|
+
class: "h-auto p-2.5",
|
|
44
|
+
loading: c(t),
|
|
45
|
+
onClick: u
|
|
46
|
+
}, {
|
|
47
|
+
default: g(() => [
|
|
48
|
+
k(r.$slots, "default", {}, () => [
|
|
49
|
+
e[0] || (e[0] = w("Generate"))
|
|
50
|
+
])
|
|
51
|
+
]),
|
|
52
|
+
_: 3
|
|
53
|
+
}, 8, ["loading"]));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
U as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
workspace: WorkspaceStore;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=ApiReferenceToolbarSdks.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarSdks.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarSdks.vue"],"names":[],"mappings":"AA0FA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AA2BpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;;AAoJF,wBAMG"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent as f, ref as b, createBlock as k, openBlock as s, withCtx as e, createVNode as r, unref as t, createElementBlock as _, Fragment as y, renderList as S, createElementVNode as p, createTextVNode as n, toDisplayString as v } from "vue";
|
|
2
|
+
import { ScalarFormSection as V, ScalarFormInputGroup as h, ScalarToggleInput as w, ScalarIcon as G } from "@scalar/components";
|
|
3
|
+
import x from "./ApiReferenceToolbarBlurb.vue.js";
|
|
4
|
+
import T from "./ApiReferenceToolbarPopover.vue.js";
|
|
5
|
+
import A from "./ApiReferenceToolbarRegisterButton.vue.js";
|
|
6
|
+
const B = { class: "inline-flex items-center gap-2" }, I = /* @__PURE__ */ f({
|
|
7
|
+
__name: "ApiReferenceToolbarSdks",
|
|
8
|
+
props: {
|
|
9
|
+
workspace: {}
|
|
10
|
+
},
|
|
11
|
+
setup(L) {
|
|
12
|
+
const i = [
|
|
13
|
+
{
|
|
14
|
+
key: "typescript",
|
|
15
|
+
label: "Typescript",
|
|
16
|
+
icon: "programming-language-typescript"
|
|
17
|
+
},
|
|
18
|
+
{ key: "python", label: "Python", icon: "programming-language-python" },
|
|
19
|
+
{ key: "csharp", label: "C", icon: "programming-language-csharp" },
|
|
20
|
+
{ key: "java", label: "Java", icon: "programming-language-java" },
|
|
21
|
+
{ key: "ruby", label: "Ruby", icon: "programming-language-ruby" },
|
|
22
|
+
{ key: "php", label: "PHP", icon: "programming-language-php" },
|
|
23
|
+
{ key: "go", label: "Go", icon: "programming-language-go" }
|
|
24
|
+
], a = b([]);
|
|
25
|
+
return (u, l) => (s(), k(T, { class: "w-110" }, {
|
|
26
|
+
label: e(() => l[0] || (l[0] = [
|
|
27
|
+
n("Generate SDKs")
|
|
28
|
+
])),
|
|
29
|
+
default: e(() => [
|
|
30
|
+
r(t(V), null, {
|
|
31
|
+
label: e(() => l[1] || (l[1] = [
|
|
32
|
+
n("Select Languages")
|
|
33
|
+
])),
|
|
34
|
+
default: e(() => [
|
|
35
|
+
r(t(h), null, {
|
|
36
|
+
default: e(() => [
|
|
37
|
+
(s(), _(y, null, S(i, ({ key: o, label: g, icon: c }) => r(t(w), {
|
|
38
|
+
key: o,
|
|
39
|
+
modelValue: a.value.includes(o),
|
|
40
|
+
"onUpdate:modelValue": (m) => m ? a.value = [...a.value, o] : a.value = a.value.filter(
|
|
41
|
+
(d) => d !== o
|
|
42
|
+
)
|
|
43
|
+
}, {
|
|
44
|
+
default: e(() => [
|
|
45
|
+
p("span", B, [
|
|
46
|
+
r(t(G), {
|
|
47
|
+
icon: c,
|
|
48
|
+
class: "text-c-2 size-3.5"
|
|
49
|
+
}, null, 8, ["icon"]),
|
|
50
|
+
n(" " + v(g), 1)
|
|
51
|
+
])
|
|
52
|
+
]),
|
|
53
|
+
_: 2
|
|
54
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])), 64))
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}),
|
|
58
|
+
r(A, {
|
|
59
|
+
sdks: a.value,
|
|
60
|
+
workspace: u.workspace
|
|
61
|
+
}, null, 8, ["sdks", "workspace"]),
|
|
62
|
+
r(x, null, {
|
|
63
|
+
default: e(() => l[2] || (l[2] = [
|
|
64
|
+
n(" Generating SDKs is a paid feature starting at $100/mo, learn more in our "),
|
|
65
|
+
p("a", {
|
|
66
|
+
href: "https://guides.scalar.com/scalar/scalar-sdks/getting-started",
|
|
67
|
+
target: "_blank"
|
|
68
|
+
}, " guides", -1),
|
|
69
|
+
n(". ")
|
|
70
|
+
])),
|
|
71
|
+
_: 1,
|
|
72
|
+
__: [2]
|
|
73
|
+
})
|
|
74
|
+
]),
|
|
75
|
+
_: 1
|
|
76
|
+
})
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}));
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
export {
|
|
83
|
+
I as default
|
|
84
|
+
};
|