const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
//#region src/components/pisellCurrency/components/DisabledView.tsx
/**
* PisellCurrency 禁用态视图组件
* 
* 负责渲染禁用态的输入框
* 
* @param props 组件 Props
*/
const DisabledView = (props) => {
	const { value, currencySymbol = "¥", symbolPosition = "before", showSymbol = true, precision = 2, min, max, step, placeholder, size, controls, className, style, id, name } = props;
	const prefixNode = showSymbol && symbolPosition === "before" ? currencySymbol : void 0;
	const addonAfterNode = showSymbol && symbolPosition === "after" ? currencySymbol : void 0;
	return /* @__PURE__ */ react.default.createElement("div", { className: `pisell-currency pisell-currency-disabled ${className || ""}` }, /* @__PURE__ */ react.default.createElement(antd.InputNumber, {
		disabled: true,
		value,
		min,
		max,
		step,
		precision,
		prefix: prefixNode,
		addonAfter: addonAfterNode,
		placeholder,
		size,
		controls,
		style,
		id,
		name
	}));
};
//#endregion
exports.default = DisabledView;
