import ApiReferenceToolbarPopover_default from "./ApiReferenceToolbarPopover.vue.js";
import ApiReferenceToolbarShareTemporary_default from "./ApiReferenceToolbarShareTemporary.vue.js";
import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, unref, withCtx } from "vue";
import { ScalarFormSection } from "@scalar/components";
//#region src/features/developer-tools/components/ShareApiReference.vue?vue&type=script&setup=true&lang.ts
var ShareApiReference_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
	__name: "ShareApiReference",
	props: {
		workspace: {},
		externalUrls: {}
	},
	setup(__props) {
		return (_ctx, _cache) => {
			return openBlock(), createBlock(ApiReferenceToolbarPopover_default, { 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("Share your API Reference", -1)])]),
					default: withCtx(() => [_cache[2] || (_cache[2] = createElementVNode("p", { class: "text-c-2 mb-2 leading-normal" }, " Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button. ", -1)), createVNode(ApiReferenceToolbarShareTemporary_default, {
						externalUrls: __props.externalUrls,
						workspace: __props.workspace
					}, null, 8, ["externalUrls", "workspace"])]),
					_: 1
				})]),
				_: 1
			});
		};
	}
});
//#endregion
export { ShareApiReference_vue_vue_type_script_setup_true_lang_default as default };

//# sourceMappingURL=ShareApiReference.vue.script.js.map