const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
let _pisell_materials = require("@pisell/materials");
require("./index.less");
//#region src/components/eventBooking/components/Provider/OrderProductModal/index.tsx
const OrderProductModal = (props) => {
	const { open, onCancel, type = "cart" } = props;
	return /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellModal.Information, {
		open,
		title: type === "cart" ? _pisell_utils.locales.getText("pisell2.event.event.full.title") : _pisell_utils.locales.getText("pisell2.event.capacity.limit.reached.title"),
		describe: type === "cart" ? _pisell_utils.locales.getText("pisell2.event.event.full.tip") : _pisell_utils.locales.getText("pisell2.event.capacity.limit.reached.tip"),
		okText: _pisell_utils.locales.getText("pisell2.event.event.full.ok"),
		cancelText: "",
		cancelVisible: false,
		closable: true,
		onCancel: () => onCancel(),
		onOk: () => onCancel(),
		zIndex: 1001
	});
};
//#endregion
exports.default = OrderProductModal;
