1 | import { NgModule } from '@angular/core';
|
2 | import { CommonModule } from '@angular/common';
|
3 | import { ComponentLoaderFactory } from '../component-loader';
|
4 | import { PositioningService } from '../positioning';
|
5 | import { PopoverConfig } from './popover.config';
|
6 | import { PopoverDirective } from './popover.directive';
|
7 | import { PopoverContainerComponent } from './popover-container.component';
|
8 | export var PopoverModule = (function () {
|
9 | function PopoverModule() {
|
10 | }
|
11 | PopoverModule.forRoot = function () {
|
12 | return {
|
13 | ngModule: PopoverModule,
|
14 | providers: [PopoverConfig, ComponentLoaderFactory, PositioningService]
|
15 | };
|
16 | };
|
17 | PopoverModule.decorators = [
|
18 | { type: NgModule, args: [{
|
19 | imports: [CommonModule],
|
20 | declarations: [PopoverDirective, PopoverContainerComponent],
|
21 | exports: [PopoverDirective],
|
22 | entryComponents: [PopoverContainerComponent]
|
23 | },] },
|
24 | ];
|
25 |
|
26 | PopoverModule.ctorParameters = function () { return []; };
|
27 | return PopoverModule;
|
28 | }());
|
29 |
|
\ | No newline at end of file |