import { defineComponent, onBeforeUnmount, watch } from "vue";
//#endregion
//#region src/v2/components/layout/ValueEmitter.vue
var ValueEmitter_default = /* @__PURE__ */ defineComponent({
	name: "ValueEmitter",
	props: { value: {} },
	emits: ["change", "unmount"],
	setup(__props, { emit: __emit }) {
		const emit = __emit;
		watch(() => __props.value, (newValue) => emit("change", newValue), { immediate: true });
		onBeforeUnmount(() => emit("unmount"));
		return (_ctx, _cache) => {
			return null;
		};
	}
});
//#endregion
export { ValueEmitter_default as t };

//# sourceMappingURL=ValueEmitter-QYkZ9Hdc.js.map