/**
 * @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;
};
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';
var elMenuComponents = [ElMenuComponent, ElMenuItemComponent];
var EL_MENU_PROVIDERS = [ElMenuService, ElMenuInternalService];
var ElMenuModule = /** @class */ (function () {
    function ElMenuModule() {
    }
    ElMenuModule_1 = ElMenuModule;
    ElMenuModule.forRoot = function () {
        return {
            ngModule: ElMenuModule_1,
            providers: EL_MENU_PROVIDERS.slice(),
        };
    };
    var ElMenuModule_1;
    ElMenuModule = ElMenuModule_1 = __decorate([
        NgModule({
            imports: [ElSharedModule, ElIconModule],
            declarations: elMenuComponents.slice(),
            exports: elMenuComponents.slice(),
        })
    ], ElMenuModule);
    return ElMenuModule;
}());
export { ElMenuModule };
//# sourceMappingURL=menu.module.js.map