import { computed, createBlock, defineComponent, openBlock, unref, useModel } from "vue";
import { ScalarCheckboxRadioGroup } from "@scalar/components";
//#region src/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue?vue&type=script&setup=true&lang.ts
var ApiReferenceToolbarConfigLayout_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
	__name: "ApiReferenceToolbarConfigLayout",
	props: {
		"modelValue": {},
		"modelModifiers": {}
	},
	emits: ["update:modelValue"],
	setup(__props) {
		const ModernOption = {
			label: "Modern",
			value: "modern"
		};
		const ClassicOption = {
			label: "Classic",
			value: "classic"
		};
		const options = [ModernOption, ClassicOption];
		const model = useModel(__props, "modelValue");
		const selected = computed({
			get: () => model.value === "modern" ? ModernOption : ClassicOption,
			set: (option) => model.value = option.value
		});
		return (_ctx, _cache) => {
			return openBlock(), createBlock(unref(ScalarCheckboxRadioGroup), {
				modelValue: selected.value,
				"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selected.value = $event),
				options
			}, null, 8, ["modelValue"]);
		};
	}
});
//#endregion
export { ApiReferenceToolbarConfigLayout_vue_vue_type_script_setup_true_lang_default as default };

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