import { observer } from 'mobx-react-lite';
function _SingleCollectionBulkActionModal(props) {
    const { state, bulkActionModal } = props;
    const { collection, bulk } = state;
    const { modals } = bulk;
    const { allSelected, selectedValues, uncheckedInCurrentCollection: uncheckedValues, scrollToTop, } = collection.bulkSelect;
    const { openModal, closeModal, isModalOpen, closeModalAndScrollTop } = modals;
    return bulkActionModal({
        allSelected,
        selectedValues,
        uncheckedValues,
        openModal,
        closeModal,
        isModalOpen,
        scrollToTop,
        closeModalAndScrollTop,
        query: collection.result.originQuery,
    });
}
export const SingleCollectionBulkActionModal = observer(_SingleCollectionBulkActionModal);
//# sourceMappingURL=SingleCollectionBulkActionModal.js.map