import DataSourceProvider from "../dataSourceComponents/provider/dataSource/DataSourceProvider.js";
import { ChildComponentPropsProvider } from "./provider/ChildComponentProps.js";
import { HandleActionsProvider } from "./provider/HandleActions.js";
import { RefManagerProvider } from "./provider/RefManager.js";
import React from "react";
//#region src/components/pisellDataSourceContainer/PisellDataSourceContainer.tsx
const PisellDataSourceContainer = (props) => {
	const { dataSource, __designMode, extraParams, actions, overrideData, currentValue, children, autoRun, pagination = true, childComponentProps } = props;
	return /* @__PURE__ */ React.createElement(DataSourceProvider, {
		dataSource,
		overrideData,
		actions,
		currentValue,
		__designMode,
		extraParams
	}, /* @__PURE__ */ React.createElement(RefManagerProvider, null, /* @__PURE__ */ React.createElement(ChildComponentPropsProvider, { childComponentProps }, /* @__PURE__ */ React.createElement(HandleActionsProvider, {
		autoRun: autoRun || { list: true },
		dataSource,
		pagination,
		extraParams
	}, children))));
};
//#endregion
export { PisellDataSourceContainer as default };
