import { CustomFieldModal } from '../CustomFieldModal';
import { CustomColumnsFull } from '../CustomColumns';
import { ArchiveFieldModal } from '../CustomFieldsPanel/ArchiveFieldModal';
import { CustomColumnsAddCustomFieldCTAButton } from '../CustomFieldsPanel/CustomColumnsAddCustomFieldCTAButton';
import { CustomColumnsEditCustomFieldCTAButton } from '../CustomFieldsPanel/CustomColumnsEditCustomFieldCTAButton';
import { ArchivedItemsCTAButton } from '../ArchivedItemsPanel/ArchivedItemsCTAButton';
import { CollectionDataExtensionState } from './CollectionDataExtensionState';
import { FileCardList } from '../FileCard/FileCardList';
import { CustomFieldsCollectionPanelEntry } from '../CustomFieldsPanel/CustomFieldsCollectionPanelEntry';
import { manageCustomFieldsPageAction } from './manageCustomFieldsPageAction';
export const DataExtension = (_) => {
    return null;
};
DataExtension.setDataExtensionOnTable = function (toolbar, overrides) {
    toolbar.collectionDataExtension ??= new CollectionDataExtensionState({
        toolbar,
        container: toolbar.container,
        DataExtension,
        props: overrides,
        ...overrides,
    });
};
DataExtension.FileCardList = FileCardList;
DataExtension.CustomFieldModal = CustomFieldModal;
DataExtension.ArchiveFieldModal = ArchiveFieldModal;
DataExtension.CustomColumns = CustomColumnsFull;
DataExtension.CustomColumnsAddCustomFieldCTAButton =
    CustomColumnsAddCustomFieldCTAButton;
DataExtension.CustomColumnsEditCustomFieldCTAButton =
    CustomColumnsEditCustomFieldCTAButton;
DataExtension.CustomColumnsArchivedItemsCTAButton = ArchivedItemsCTAButton;
DataExtension.syncTableCollectionProps = (state) => {
    state.panels.registerSidePanel('customFields', CustomFieldsCollectionPanelEntry);
};
DataExtension.manageCustomFieldsPageAction = manageCustomFieldsPageAction;
//# sourceMappingURL=DataExtension.js.map