@scalar/api-reference
Version:
Generate beautiful API references from OpenAPI documents
43 lines (42 loc) • 1.21 kB
JavaScript
import { defineComponent as n, createBlock as s, openBlock as m, withCtx as r, createVNode as o, unref as p, createTextVNode as a } from "vue";
import { ScalarFormSection as t } from "@scalar/components";
import f from "./ApiReferenceToolbarPopover.vue.js";
import i from "./ApiReferenceToolbarShareRegister.vue.js";
import u from "./ApiReferenceToolbarShareTemporary.vue.js";
const S = /* @__PURE__ */ n({
__name: "ApiReferenceToolbarShare",
props: {
workspace: {}
},
setup(c) {
return (l, e) => (m(), s(f, { class: "w-120" }, {
label: r(() => e[0] || (e[0] = [
a("Share")
])),
default: r(() => [
o(p(t), null, {
label: r(() => e[1] || (e[1] = [
a("Temporary Link")
])),
default: r(() => [
o(u, { workspace: l.workspace }, null, 8, ["workspace"])
]),
_: 1
}),
o(p(t), null, {
label: r(() => e[2] || (e[2] = [
a("Cloud Hosting")
])),
default: r(() => [
o(i, { workspace: l.workspace }, null, 8, ["workspace"])
]),
_: 1
})
]),
_: 1
}));
}
});
export {
S as default
};