require("../../../_virtual/_rolldown/runtime.js");
const require_useSalesSdkCart = require("../../../plus/salesSdk/hooks/useSalesSdkCart.js");
const require_useSalesSdk = require("../../../plus/salesSdk/hooks/useSalesSdk.js");
const require_useSalesSdkCustomer = require("../../../plus/salesSdk/hooks/useSalesSdkCustomer.js");
const require_useSalesSdkSummary = require("../../../plus/salesSdk/hooks/useSalesSdkSummary.js");
const require_useSalesSdkProducts = require("../../../plus/salesSdk/hooks/useSalesSdkProducts.js");
let react = require("react");
//#region src/components/bigSale/hooks/useBigSaleDataSource.ts
/**
* 聚合 BigSale 两个主区域共享的 SDK 数据源，保持订单状态单一真源。
*/
function useBigSaleDataSource() {
	const sales = require_useSalesSdk.useSalesSdk();
	const products = require_useSalesSdkProducts.useSalesSdkProducts();
	const customer = require_useSalesSdkCustomer.useSalesSdkCustomer();
	const cart = require_useSalesSdkCart.useSalesSdkCart();
	const summary = require_useSalesSdkSummary.useSalesSdkSummary();
	return (0, react.useMemo)(() => ({
		sales,
		products,
		customer,
		cart,
		summary
	}), [
		sales,
		products,
		customer,
		cart,
		summary
	]);
}
//#endregion
exports.useBigSaleDataSource = useBigSaleDataSource;
