import { Plugin } from "../application/Plugin.mjs";
import { CreateChildInitializer } from "../modules/actions/add-child/CreateChildInitializer.mjs";
import { CreateActionInitializer } from "../modules/actions/add-new/CreateActionInitializer.mjs";
import { createFormBlockInitializers } from "../modules/actions/add-new/createFormBlockInitializers.mjs";
import { CustomizeAddRecordActionInitializer } from "../modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs";
import { customizeCreateFormBlockInitializers } from "../modules/actions/add-record/customizeCreateFormBlockInitializers.mjs";
import { AssociateActionInitializer } from "../modules/actions/associate/AssociateActionInitializer.mjs";
import { AssociateActionProvider } from "../modules/actions/associate/AssociateActionProvider.mjs";
import { BulkDestroyActionInitializer } from "../modules/actions/bulk-destroy/BulkDestroyActionInitializer.mjs";
import { DestroyActionInitializer } from "../modules/actions/delete/DestroyActionInitializer.mjs";
import { DisassociateActionInitializer } from "../modules/actions/disassociate/DisassociateActionInitializer.mjs";
import { ExpandableActionInitializer } from "../modules/actions/expand-collapse/ExpandableActionInitializer.mjs";
import { FilterActionInitializer } from "../modules/actions/filter/FilterActionInitializer.mjs";
import { RefreshActionInitializer } from "../modules/actions/refresh/RefreshActionInitializer.mjs";
import { SaveRecordActionInitializer } from "../modules/actions/save-record/SaveRecordActionInitializer.mjs";
import { CreateSubmitActionInitializer } from "../modules/actions/submit/CreateSubmitActionInitializer.mjs";
import { UpdateSubmitActionInitializer } from "../modules/actions/submit/UpdateSubmitActionInitializer.mjs";
import { UpdateRecordActionInitializer } from "../modules/actions/update-record/UpdateRecordActionInitializer.mjs";
import { PopupActionInitializer } from "../modules/actions/view-edit-popup/PopupActionInitializer.mjs";
import { recordFormBlockInitializers } from "../modules/actions/view-edit-popup/RecordFormBlockInitializers.mjs";
import { UpdateActionInitializer } from "../modules/actions/view-edit-popup/UpdateActionInitializer.mjs";
import { ViewActionInitializer } from "../modules/actions/view-edit-popup/ViewActionInitializer.mjs";
import { detailsActionInitializers } from "../modules/blocks/data-blocks/details-multi/DetailsActionInitializers.mjs";
import { DetailsBlockInitializer } from "../modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.mjs";
import { readPrettyFormActionInitializers } from "../modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.mjs";
import { readPrettyFormItemInitializers } from "../modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.mjs";
import { RecordReadPrettyFormBlockInitializer } from "../modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.mjs";
import { createFormActionInitializers, formActionInitializers, formItemInitializers, updateFormActionInitializers } from "../modules/blocks/data-blocks/form/index.mjs";
import { CreateFormBlockInitializer } from "../modules/blocks/data-blocks/form/CreateFormBlockInitializer.mjs";
import { FormBlockInitializer } from "../modules/blocks/data-blocks/form/FormBlockInitializer.mjs";
import { RecordFormBlockInitializer } from "../modules/blocks/data-blocks/form/RecordFormBlockInitializer.mjs";
import { gridCardActionInitializers } from "../modules/blocks/data-blocks/grid-card/GridCardActionInitializers.mjs";
import { GridCardBlockInitializer } from "../modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.mjs";
import { gridCardItemActionInitializers } from "../modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.mjs";
import { listActionInitializers } from "../modules/blocks/data-blocks/list/ListActionInitializers.mjs";
import { ListBlockInitializer } from "../modules/blocks/data-blocks/list/ListBlockInitializer.mjs";
import { listItemActionInitializers } from "../modules/blocks/data-blocks/list/listItemActionInitializers.mjs";
import { tableActionColumnInitializers, tableActionInitializers, tableColumnInitializers } from "../modules/blocks/data-blocks/table/index.mjs";
import { TableSelectorInitializer } from "../modules/blocks/data-blocks/table-selector/TableSelectorInitializer.mjs";
import { TableBlockInitializer } from "../modules/blocks/data-blocks/table/TableBlockInitializer.mjs";
import { FilterCollapseBlockInitializer } from "../modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.mjs";
import { filterFormActionInitializers } from "../modules/blocks/filter-blocks/form/FilterFormActionInitializers.mjs";
import { FilterFormBlockInitializer } from "../modules/blocks/filter-blocks/form/FilterFormBlockInitializer.mjs";
import { filterFormItemInitializers } from "../modules/blocks/filter-blocks/form/filterFormItemInitializers.mjs";
import { filterTreeActionInitializers } from "../modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.mjs";
import { FilterTreeBlockInitializer } from "../modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.mjs";
import { MarkdownBlockInitializer } from "../modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.mjs";
import { MarkdownFormItemInitializer } from "../modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.mjs";
import { tableSelectorInitializers } from "../modules/fields/component/Picker/TableSelectorInitializers.mjs";
import { CollectionFieldInitializer } from "../modules/fields/initializer/CollectionFieldInitializer.mjs";
import { TableCollectionFieldInitializer } from "../modules/fields/initializer/TableCollectionFieldInitializer.mjs";
import { menuItemInitializer } from "../modules/menu/menuItemInitializer.mjs";
import { blockInitializers } from "../modules/page/BlockInitializers.mjs";
import { customFormItemInitializers, recordBlockInitializers, subTableActionInitializers, tabPaneInitializers, tabPaneInitializersForBulkEditFormBlock, tabPaneInitializersForRecordBlock, tabPaneInitializers_deprecated } from "./buttons/index.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__components_index_mjs_99c14d58__ from "./components/index.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__items_index_mjs_a2914dd0__ from "./items/index.mjs";
class SchemaInitializerPlugin extends Plugin {
    async load() {
        this.app.addComponents({
            ...__WEBPACK_EXTERNAL_MODULE__components_index_mjs_99c14d58__,
            ...__WEBPACK_EXTERNAL_MODULE__items_index_mjs_a2914dd0__,
            DestroyActionInitializer: DestroyActionInitializer,
            CreateFormBlockInitializer: CreateFormBlockInitializer,
            FormBlockInitializer: FormBlockInitializer,
            RecordFormBlockInitializer: RecordFormBlockInitializer,
            TableBlockInitializer: TableBlockInitializer,
            TableSelectorInitializer: TableSelectorInitializer,
            RecordReadPrettyFormBlockInitializer: RecordReadPrettyFormBlockInitializer,
            DetailsBlockInitializer: DetailsBlockInitializer,
            ListBlockInitializer: ListBlockInitializer,
            GridCardBlockInitializer: GridCardBlockInitializer,
            FilterFormBlockInitializer: FilterFormBlockInitializer,
            FilterTreeBlockInitializer: FilterTreeBlockInitializer,
            FilterCollapseBlockInitializer: FilterCollapseBlockInitializer,
            MarkdownBlockInitializer: MarkdownBlockInitializer,
            MarkdownFormItemInitializer: MarkdownFormItemInitializer,
            TableCollectionFieldInitializer: TableCollectionFieldInitializer,
            CollectionFieldInitializer: CollectionFieldInitializer,
            CreateActionInitializer: CreateActionInitializer,
            CustomizeAddRecordActionInitializer: CustomizeAddRecordActionInitializer,
            CreateChildInitializer: CreateChildInitializer,
            ViewActionInitializer: ViewActionInitializer,
            UpdateActionInitializer: UpdateActionInitializer,
            PopupActionInitializer: PopupActionInitializer,
            SaveRecordActionInitializer: SaveRecordActionInitializer,
            UpdateRecordActionInitializer: UpdateRecordActionInitializer,
            CreateSubmitActionInitializer: CreateSubmitActionInitializer,
            UpdateSubmitActionInitializer: UpdateSubmitActionInitializer,
            BulkDestroyActionInitializer: BulkDestroyActionInitializer,
            ExpandableActionInitializer: ExpandableActionInitializer,
            DisassociateActionInitializer: DisassociateActionInitializer,
            FilterActionInitializer: FilterActionInitializer,
            RefreshActionInitializer: RefreshActionInitializer,
            FilterFormItemCustom: __WEBPACK_EXTERNAL_MODULE__items_index_mjs_a2914dd0__.FilterFormItemCustom,
            AssociateActionInitializer: AssociateActionInitializer,
            AssociateActionProvider: AssociateActionProvider
        });
        this.app.schemaInitializerManager.add(blockInitializers);
        this.app.schemaInitializerManager.add(tableActionInitializers);
        this.app.schemaInitializerManager.add(tableColumnInitializers);
        this.app.schemaInitializerManager.add(tableActionColumnInitializers);
        this.app.schemaInitializerManager.add(formItemInitializers);
        this.app.schemaInitializerManager.add(formActionInitializers);
        this.app.schemaInitializerManager.add(detailsActionInitializers);
        this.app.schemaInitializerManager.add(readPrettyFormItemInitializers);
        this.app.schemaInitializerManager.add(readPrettyFormActionInitializers);
        this.app.schemaInitializerManager.add(createFormBlockInitializers);
        this.app.schemaInitializerManager.add(customizeCreateFormBlockInitializers);
        this.app.schemaInitializerManager.add(customFormItemInitializers);
        this.app.schemaInitializerManager.add(filterFormActionInitializers);
        this.app.schemaInitializerManager.add(filterTreeActionInitializers);
        this.app.schemaInitializerManager.add(createFormActionInitializers);
        this.app.schemaInitializerManager.add(updateFormActionInitializers);
        this.app.schemaInitializerManager.add(filterFormItemInitializers);
        this.app.schemaInitializerManager.add(gridCardActionInitializers);
        this.app.schemaInitializerManager.add(gridCardItemActionInitializers);
        this.app.schemaInitializerManager.add(listActionInitializers);
        this.app.schemaInitializerManager.add(listItemActionInitializers);
        this.app.schemaInitializerManager.add(recordBlockInitializers);
        this.app.schemaInitializerManager.add(recordFormBlockInitializers);
        this.app.schemaInitializerManager.add(subTableActionInitializers);
        this.app.schemaInitializerManager.add(tableSelectorInitializers);
        this.app.schemaInitializerManager.add(tabPaneInitializers_deprecated);
        this.app.schemaInitializerManager.add(tabPaneInitializersForRecordBlock);
        this.app.schemaInitializerManager.add(tabPaneInitializersForBulkEditFormBlock);
        this.app.schemaInitializerManager.add(menuItemInitializer);
        this.app.schemaInitializerManager.add(tabPaneInitializers);
    }
}
export { SchemaInitializerPlugin };
