import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE__data_source_collection_CollectionManagerProvider_mjs__ from "../data-source/collection/CollectionManagerProvider.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__data_source_collection_CollectionProvider_mjs__ from "../data-source/collection/CollectionProvider.mjs";
const CollectionProvider_deprecated = (param)=>{
    let { children, allowNull, name, dataSource, collection } = param;
    if (dataSource) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__data_source_collection_CollectionManagerProvider_mjs__.CollectionManagerProvider, {
        dataSource: dataSource,
        children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__data_source_collection_CollectionProvider_mjs__.CollectionProvider, {
            allowNull: allowNull,
            name: name || collection,
            children: children
        })
    });
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__data_source_collection_CollectionProvider_mjs__.CollectionProvider, {
        allowNull: allowNull,
        name: name || collection,
        children: children
    });
};
export { CollectionProvider_deprecated };
