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