import ViewLayout_default from "../../components/ViewLayout/ViewLayout.vue.js";
import ViewLayoutContent_default from "../../components/ViewLayout/ViewLayoutContent.vue.js";
import SettingsGeneral_default from "./SettingsGeneral.vue.js";
import { createBlock, createCommentVNode, createVNode, defineComponent, openBlock, ref, resolveDynamicComponent, withCtx } from "vue";
//#region src/views/Settings/Settings.vue?vue&type=script&setup=true&lang.ts
var Settings_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
	__name: "Settings",
	setup(__props) {
		const settings = { general: {
			component: SettingsGeneral_default,
			title: "general"
		} };
		const activeSetting = ref("general");
		return (_ctx, _cache) => {
			return openBlock(), createBlock(ViewLayout_default, null, {
				default: withCtx(() => [createVNode(ViewLayoutContent_default, { class: "flex-1" }, {
					default: withCtx(() => [settings[activeSetting.value] ? (openBlock(), createBlock(resolveDynamicComponent(settings[activeSetting.value].component), { key: 0 })) : createCommentVNode("", true)]),
					_: 1
				})]),
				_: 1
			});
		};
	}
});
//#endregion
export { Settings_vue_vue_type_script_setup_true_lang_default as default };

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