const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
const require_ReadOnlyView = require("./ReadOnlyView.js");
const require_EditView = require("./EditView.js");
let react = require("react");
react = require_runtime.__toESM(react);
//#region src/components/pisellUrl/components/DisabledView.tsx
/**
* PisellUrl 禁用态视图组件
* 
* 职责：
* - 渲染禁用状态的 URL 组件
* - 根据原始 mode 选择渲染 ReadOnlyView 或 EditView
* - 应用禁用样式（透明度 40%）
* 
* @param props 组件 Props
*/
const DisabledView = (props) => {
	const { mode = "edit" } = props;
	return /* @__PURE__ */ react.default.createElement("div", { className: "pisell-url-disabled" }, mode === "read" ? /* @__PURE__ */ react.default.createElement(require_ReadOnlyView.default, props) : /* @__PURE__ */ react.default.createElement(require_EditView.default, props));
};
//#endregion
exports.default = DisabledView;
