import { PrimaryActionHeaderWrapper } from "../wrappers/PrimaryActionHeaderWrapper.mjs";
import { DisplayCardWrapper } from "../wrappers/DisplayCardWrapper.mjs";
import { BarChartWrapper } from "../wrappers/BarChartWrapper.mjs";
import { HistogramWrapper } from "../wrappers/HistogramWrapper.mjs";
import { DonutWrapper } from "../wrappers/DonutWrapper.mjs";
import { LineGraphWrapper } from "../wrappers/LineGraphWrapper.mjs";
import { AgGridSimpleWrapper } from "../wrappers/AgGridSimpleWrapper.mjs";
import { BioCardWrapper } from "../wrappers/BioCardWrapper.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
//#region src/componentSystems/pageRenderer/hocs/withEngineComponent.jsx
const Other = (props) => {
	const $ = c(1);
	let t0;
	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
		t0 = /* @__PURE__ */ React.createElement("div", null, "Test");
		$[0] = t0;
	} else t0 = $[0];
	return t0;
};
const engineWrapper = {
	PrimaryActionHeader: (props) => PrimaryActionHeaderWrapper(props),
	DisplayCard: (props) => DisplayCardWrapper(props),
	BarChart: (props) => BarChartWrapper(props),
	Histogram: (props) => HistogramWrapper(props),
	DonutChart: (props) => DonutWrapper(props),
	LineGraph: (props) => LineGraphWrapper(props),
	agGridSimple: (props) => AgGridSimpleWrapper(props),
	BioCard: (props) => BioCardWrapper(props),
	Other
};
function withEngineComponent(WrappedComponent) {
	const hocComponent = (hocProps) => {
		return (engineWrapper[WrappedComponent] || engineWrapper["Other"])(hocProps);
	};
	return hocComponent;
}
//#endregion
export { withEngineComponent };

//# sourceMappingURL=withEngineComponent.mjs.map