const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
//#region src/components/pisellPercent/components/DisabledView.tsx
/**
* PisellPercent 禁用态视图组件
* 
* 负责渲染禁用态的输入框
* 
* @param props 组件 Props
*/
const DisabledView = (props) => {
	const { value, showPercentSymbol = true, precision = 1, range = [0, 100], min = range[0], max = range[1], step, placeholder, size, controls, className, style, id, name } = props;
	const suffixNode = showPercentSymbol ? "%" : void 0;
	return /* @__PURE__ */ react.default.createElement("div", { className: `pisell-percent pisell-percent-disabled ${className || ""}` }, /* @__PURE__ */ react.default.createElement(antd.InputNumber, {
		disabled: true,
		value,
		min,
		max,
		step,
		precision,
		suffix: suffixNode,
		placeholder,
		size,
		controls,
		style,
		id,
		name
	}));
};
//#endregion
exports.default = DisabledView;
