@scalar/api-reference
Version:
Generate beautiful API references from OpenAPI documents
45 lines (44 loc) • 1.59 kB
JavaScript
import { defineComponent, createBlock, openBlock, withCtx, createVNode, unref, createTextVNode } from "vue";
import { ScalarFormSection } from "@scalar/components";
import _sfc_main$1 from "./ApiReferenceToolbarPopover.vue.js";
import _sfc_main$3 from "./ApiReferenceToolbarShareRegister.vue.js";
import _sfc_main$2 from "./ApiReferenceToolbarShareTemporary.vue.js";
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "ApiReferenceToolbarShare",
props: {
workspace: {}
},
setup(__props) {
return (_ctx, _cache) => {
return openBlock(), createBlock(_sfc_main$1, { class: "w-120" }, {
label: withCtx(() => [..._cache[0] || (_cache[0] = [
createTextVNode("Share", -1)
])]),
default: withCtx(() => [
createVNode(unref(ScalarFormSection), null, {
label: withCtx(() => [..._cache[1] || (_cache[1] = [
createTextVNode("Temporary Link", -1)
])]),
default: withCtx(() => [
createVNode(_sfc_main$2, { workspace: __props.workspace }, null, 8, ["workspace"])
]),
_: 1
}),
createVNode(unref(ScalarFormSection), null, {
label: withCtx(() => [..._cache[2] || (_cache[2] = [
createTextVNode("Cloud Hosting", -1)
])]),
default: withCtx(() => [
createVNode(_sfc_main$3, { workspace: __props.workspace }, null, 8, ["workspace"])
]),
_: 1
})
]),
_: 1
});
};
}
});
export {
_sfc_main as default
};