import { NgModule } from '@angular/core';
import { DynamicLayoutEditorModule } from '@anglr/dynamic/layout-editor';
import { DynamicRelationsEditorModule } from '@anglr/dynamic/relations-editor';
import { provideLayoutRelationsEditor, provideLayoutRelationsEditorWithStatic } from '../misc/utils';
import * as i0 from "@angular/core";
/**
 * Module contains components, directives, pipes for dynamic layout relations editor rendering
 */
export class DynamicLayoutRelationsEditorModule {
    //######################### public methods #########################
    /**
     * Creates DynamicLayoutRelationsEditorModule extended with providers
     */
    static withProviders() {
        return {
            ngModule: DynamicLayoutRelationsEditorModule,
            providers: [
                provideLayoutRelationsEditor(),
            ]
        };
    }
    /**
     * Creates DynamicLayoutRelationsEditorModule extended with providers for static components
     * @param staticRegister - Type that represents implementation of static components register
     */
    static withStaticComponents(staticRegister) {
        return {
            ngModule: DynamicLayoutRelationsEditorModule,
            providers: [
                provideLayoutRelationsEditorWithStatic(staticRegister),
            ]
        };
    }
}
DynamicLayoutRelationsEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DynamicLayoutRelationsEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
DynamicLayoutRelationsEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: DynamicLayoutRelationsEditorModule, exports: [DynamicLayoutEditorModule,
        DynamicRelationsEditorModule] });
DynamicLayoutRelationsEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DynamicLayoutRelationsEditorModule, imports: [DynamicLayoutEditorModule,
        DynamicRelationsEditorModule] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DynamicLayoutRelationsEditorModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [
                        DynamicLayoutEditorModule,
                        DynamicRelationsEditorModule,
                    ]
                }]
        }] });
//# sourceMappingURL=dynamicLayoutRelationsEditor.module.js.map