import React, { forwardRef, useImperativeHandle, useState } from "react";
import { locales } from "@pisell/utils";
import { PisellModal } from "@pisell/materials";
//#region src/components/booking/components/footer/AppointmentProductModal/index.tsx
const AppointmentProductModal = (props, ref) => {
	const [open, setOpen] = useState(false);
	useImperativeHandle(ref, () => ({ open: () => {
		setOpen(true);
	} }));
	return /* @__PURE__ */ React.createElement(PisellModal.Information, {
		open,
		platform: "pc",
		title: locales.getText("pisell2.text.missing.reservation.title"),
		describe: locales.getText("pisell2.text.missing.reservation.content"),
		cancelText: locales.getText("pisell2.text.cancel"),
		okText: locales.getText("pisell2.text.confirm"),
		closable: true,
		onOk: () => setOpen(false),
		onCancel: () => setOpen(false)
	});
};
var AppointmentProductModal_default = forwardRef(AppointmentProductModal);
//#endregion
export { AppointmentProductModal_default as default };
