import "../../businessModel/SalesModel/Sales/index.js";
import SalesModel from "../../businessModel/SalesModel/index.js";
import { StepProvider } from "./Step/index.js";
import { CustomerProvider } from "./Customer/index.js";
import { CartProvider } from "./Cart/index.js";
import { CheckoutProvider } from "./Checkout/index.js";
import { HolderProvider } from "./Holder/index.js";
import { EventProvider } from "./Event/index.js";
import { ResourceProvider } from "./Resource/index.js";
import { InitProvider } from "./Init/index.js";
import { SummaryProvider } from "./Summary/index.js";
import { EventDetailProvider } from "./Event/Detail.js";
import { useCustomInit } from "./hooks/index.js";
import React from "react";
//#region src/components/Sales/index.tsx
const SalesPage = ({ config, children }) => {
	return /* @__PURE__ */ React.createElement(CustomerProvider, null, /* @__PURE__ */ React.createElement(SalesModel, {
		className: "",
		hooks: { useCustomInit },
		config
	}, /* @__PURE__ */ React.createElement(InitProvider, null, /* @__PURE__ */ React.createElement(StepProvider, null, /* @__PURE__ */ React.createElement(CartProvider, null, /* @__PURE__ */ React.createElement(ResourceProvider, null, /* @__PURE__ */ React.createElement(EventProvider, null, /* @__PURE__ */ React.createElement(EventDetailProvider, null, /* @__PURE__ */ React.createElement(HolderProvider, null, /* @__PURE__ */ React.createElement(SummaryProvider, null, /* @__PURE__ */ React.createElement(CheckoutProvider, null, children)))))))))));
};
//#endregion
export { SalesPage as default };
