all files / component/popup/ index.ts

100% Statements 30/30
100% Branches 0/0
100% Functions 2/2
100% Lines 27/27
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73                                                                                           
/*
 *  @license
 *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.
 *
 *  Use of this source code is governed by an Apache-2.0 license that can be
 *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE
 */
import { PortalModule } from '@angular/cdk/portal';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { MatButtonModule, MatDialogModule, MatIconModule, MatToolbarModule } from '@angular/material';
import { DejaIFrameModule } from '../iframe/index';
import { DejaOverlayModule } from '../overlay/index';
 
import { DejaPopupActionsComponent } from './component/popup-actions/popup-actions.component';
import { DejaPopupAdvancedComponent } from './component/popup-advanced/popup-advanced.component';
import { DejaPopupBoxComponent } from './component/popup-box/popup-box.component';
import { DejaPopupContentComponent } from './component/popup-content/popup-content.component';
import { DejaPopupToolbarComponent } from './component/popup-toolbar/popup-toolbar.component';
import { DejaPopupTrayComponent } from './component/popup-tray/popup-tray.component';
import { DejaPopupComponent } from './component/popup/popup.component';
import { DejaPopupService } from './service/popup.service';
 
@NgModule({
    declarations: [
        DejaPopupComponent,
        DejaPopupToolbarComponent,
        DejaPopupAdvancedComponent,
        DejaPopupTrayComponent,
        DejaPopupContentComponent,
        DejaPopupComponent,
        DejaPopupBoxComponent,
        DejaPopupActionsComponent,
    ],
    entryComponents: [DejaPopupComponent, DejaPopupAdvancedComponent, DejaPopupActionsComponent],
    exports: [
        DejaPopupComponent,
        DejaPopupToolbarComponent,
        DejaPopupAdvancedComponent,
        DejaPopupTrayComponent,
        DejaPopupContentComponent,
        DejaPopupComponent,
        PortalModule,
        DejaPopupActionsComponent,
    ],
    imports: [
        CommonModule,
        MatIconModule,
        MatButtonModule,
        MatToolbarModule,
        MatDialogModule,
        DejaIFrameModule,
        DejaOverlayModule,
        PortalModule,
    ],
    providers: [DejaPopupService],
})
export class DejaPopupModule {}
 
export * from './service/popup.service';
export * from './model/popup-action.model';
export * from './model/popup-base.class';
export * from './model/popup-config.model';
export * from './model/popup-response.model';
export * from './component/popup/popup.component';
export * from './component/popup-actions/popup-actions.component';
export * from './component/popup-advanced/popup-advanced.component';
export * from './component/popup-box/popup-box.component';
export * from './component/popup-content/popup-content.component';
export * from './component/popup-toolbar/popup-toolbar.component';
export * from './component/popup-tray/popup-tray.component';