const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
let _pisell_utils = require("@pisell/utils");
let _pisell_materials = require("@pisell/materials");
let _pisell_icon = require("@pisell/icon");
require("./index.less");
//#region src/components/booking/components/clearCartModal/index.tsx
const ClearCartModal = ({ visible, onCancel, onClearItemsOnly, onClearAllAndReset }) => {
	return /* @__PURE__ */ react.default.createElement(antd.Modal, {
		open: visible,
		onCancel,
		footer: null,
		width: 520,
		centered: true,
		className: "pisell-clear-cart-modal",
		title: null,
		closable: true
	}, /* @__PURE__ */ react.default.createElement("div", { className: "pisell-clear-cart-modal-content" }, /* @__PURE__ */ react.default.createElement("h3", { className: "pisell-clear-cart-modal-title" }, _pisell_utils.locales.getText("pisell2.clear-cart-modal.title")), /* @__PURE__ */ react.default.createElement("div", { className: "pisell-clear-cart-modal-options" }, /* @__PURE__ */ react.default.createElement("button", {
		type: "button",
		className: "pisell-clear-cart-option purple-option",
		onClick: onClearItemsOnly
	}, /* @__PURE__ */ react.default.createElement("div", { className: "option-icon" }, /* @__PURE__ */ react.default.createElement(_pisell_icon.Trash01, { size: 32 })), /* @__PURE__ */ react.default.createElement("div", { className: "option-text" }, _pisell_utils.locales.getText("pisell2.clear-cart-modal.clear-items-only"))), /* @__PURE__ */ react.default.createElement("button", {
		type: "button",
		className: "pisell-clear-cart-option red-option",
		onClick: onClearAllAndReset
	}, /* @__PURE__ */ react.default.createElement("div", { className: "option-icon" }, /* @__PURE__ */ react.default.createElement(_pisell_materials.Iconfont, {
		type: "pisell2-log-out-04",
		size: 32
	})), /* @__PURE__ */ react.default.createElement("div", { className: "option-text" }, _pisell_utils.locales.getText("pisell2.clear-cart-modal.clear-all-reset"))))));
};
//#endregion
exports.default = ClearCartModal;
