const require_rolldown_runtime = require('../rolldown-runtime.cjs');
const require_shared_useForwardExpose = require('../shared/useForwardExpose.cjs');
const require_shared_useForwardPropsEmits = require('../shared/useForwardPropsEmits.cjs');
const require_Dialog_DialogRoot = require('../Dialog/DialogRoot.cjs');
const vue = require_rolldown_runtime.__toESM(require("vue"));

//#region src/AlertDialog/AlertDialogRoot.vue?vue&type=script&setup=true&lang.ts
var AlertDialogRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
	__name: "AlertDialogRoot",
	props: {
		open: {
			type: Boolean,
			required: false
		},
		defaultOpen: {
			type: Boolean,
			required: false
		}
	},
	emits: ["update:open"],
	setup(__props, { emit: __emit }) {
		const props = __props;
		const emits = __emit;
		const forwarded = require_shared_useForwardPropsEmits.useForwardPropsEmits(props, emits);
		require_shared_useForwardExpose.useForwardExpose();
		return (_ctx, _cache) => {
			return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_Dialog_DialogRoot.DialogRoot_default), (0, vue.mergeProps)((0, vue.unref)(forwarded), { modal: true }), {
				default: (0, vue.withCtx)((slotProps) => [(0, vue.renderSlot)(_ctx.$slots, "default", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(slotProps)))]),
				_: 3
			}, 16);
		};
	}
});

//#endregion
//#region src/AlertDialog/AlertDialogRoot.vue
var AlertDialogRoot_default = AlertDialogRoot_vue_vue_type_script_setup_true_lang_default;

//#endregion
Object.defineProperty(exports, 'AlertDialogRoot_default', {
  enumerable: true,
  get: function () {
    return AlertDialogRoot_default;
  }
});
//# sourceMappingURL=AlertDialogRoot.cjs.map