const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_index = require("../../locales/index.js");
const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_objectWithoutProperties = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
let classnames = require("classnames");
classnames = require_runtime.__toESM(classnames);
let _pisell_icon_es_Inbox01 = require("@pisell/icon/es/Inbox01");
_pisell_icon_es_Inbox01 = require_runtime.__toESM(_pisell_icon_es_Inbox01);
require("./index.less");
//#region src/components/pisellEmpty/index.tsx
const _excluded = [
	"description",
	"extraDescription",
	"icon",
	"footer",
	"className",
	"maxWidth"
];
const PisellEmpty = (props) => {
	const { description = require_index.getText("pisell-empty-description-no-data"), extraDescription, icon, footer, className, maxWidth } = props, others = require_objectWithoutProperties._objectWithoutProperties(props, _excluded);
	return /* @__PURE__ */ react.default.createElement(antd.Empty, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, others), {}, {
		className: (0, classnames.default)("pisell-empty-wrap", className),
		image: /* @__PURE__ */ react.default.createElement("div", { className: "pisell-empty-icon-wrap" }, icon || /* @__PURE__ */ react.default.createElement(_pisell_icon_es_Inbox01.default, { style: { color: "#667085" } })),
		description: /* @__PURE__ */ react.default.createElement("div", {
			className: "pisell-empty-wrap-description-wrap",
			style: { maxWidth: maxWidth || 300 }
		}, /* @__PURE__ */ react.default.createElement("div", { className: "pisell-empty-wrap-description" }, description), /* @__PURE__ */ react.default.createElement("div", { className: "pisell-empty-wrap-extra-description" }, extraDescription))
	}), footer);
};
//#endregion
exports.default = PisellEmpty;
