/**
 * @license
 * Copyright Endlessjs. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var ElMenuModule_1;
import { NgModule } from '@angular/core';
import { ElSharedModule } from '../shared/shared.module';
import { ElMenuComponent, ElMenuItemComponent } from './menu.component';
import { ElMenuService, ElMenuInternalService } from './menu.service';
import { ElIconModule } from '../icon/icon.module';
const elMenuComponents = [ElMenuComponent, ElMenuItemComponent];
const EL_MENU_PROVIDERS = [ElMenuService, ElMenuInternalService];
let ElMenuModule = ElMenuModule_1 = class ElMenuModule {
    static forRoot() {
        return {
            ngModule: ElMenuModule_1,
            providers: [
                ...EL_MENU_PROVIDERS,
            ],
        };
    }
};
ElMenuModule = ElMenuModule_1 = __decorate([
    NgModule({
        imports: [ElSharedModule, ElIconModule],
        declarations: [...elMenuComponents],
        exports: [...elMenuComponents],
    })
], ElMenuModule);
export { ElMenuModule };
//# sourceMappingURL=menu.module.js.map