import { StandardBigSaleTemplate } from "./Standard/index.js";
import { SecondaryScreenBigSaleTemplate } from "./SecondaryScreen/index.js";
import React from "react";
//#region src/components/bigSale/templates/index.tsx
/**
* BigSale 模板渲染器：Base 负责外层容器与数据组装，模板只负责区域组合。
*/
function BigSaleTemplateRenderer({ tmpl = "standard", dataSource, mode, variant, productLoadParams, productDisplayConfig, saleDetailTemplate, saleDetailModuleConfig, orderId, locale, saleDetailWrapperProps }) {
	switch (tmpl) {
		case "secondaryScreen": return /* @__PURE__ */ React.createElement(SecondaryScreenBigSaleTemplate, {
			dataSource,
			mode,
			variant,
			productLoadParams,
			productDisplayConfig,
			saleDetailTemplate,
			saleDetailModuleConfig,
			orderId,
			locale,
			saleDetailWrapperProps
		});
		default: return /* @__PURE__ */ React.createElement(StandardBigSaleTemplate, {
			dataSource,
			mode,
			variant,
			productLoadParams,
			productDisplayConfig,
			saleDetailTemplate,
			saleDetailModuleConfig,
			orderId,
			locale,
			saleDetailWrapperProps
		});
	}
}
//#endregion
export { BigSaleTemplateRenderer };
