const require_runtime = require("../../_virtual/_rolldown/runtime.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");
const require_useEngineContext = require("../../hooks/useEngineContext.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
//#region src/components/lowCodePage/index.tsx
const _excluded = ["id"];
const LowCodePage = (props) => {
	var _context$appHelper;
	const { id } = props, others = require_objectWithoutProperties._objectWithoutProperties(props, _excluded);
	const { RenderLowCodeByKey, getRenderLowCodeByKey } = ((_context$appHelper = require_useEngineContext.default().appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {};
	const Com = (0, _pisell_utils.isFunction)(getRenderLowCodeByKey) ? getRenderLowCodeByKey() : RenderLowCodeByKey;
	if (!Com) return /* @__PURE__ */ react.default.createElement("div", null, "RenderLowCodeByKey is not found");
	return /* @__PURE__ */ react.default.createElement(Com, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, others), {}, {
		id,
		key: id
	}));
};
//#endregion
exports.default = LowCodePage;
