import { SaleDetailTemplateA } from "./A/index.js";
import { SaleDetailTemplateB } from "./B/index.js";
import React from "react";
//#region src/plus/saleDetail/tmpl/index.tsx
function SaleDetailTemplateRenderer({ dataSource, mobilePresentation, moduleConfig, renderType, tmpl = "A", variant }) {
	switch (tmpl) {
		case "B": return /* @__PURE__ */ React.createElement(SaleDetailTemplateB, {
			dataSource,
			mobilePresentation,
			moduleConfig,
			renderType,
			variant
		});
		default: return /* @__PURE__ */ React.createElement(SaleDetailTemplateA, {
			dataSource,
			mobilePresentation,
			moduleConfig,
			renderType,
			variant
		});
	}
}
//#endregion
export { SaleDetailTemplateRenderer };
