import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { NxErrorModule } from '@aposin/ng-aquila/base';
import { NxCheckboxModule } from '@aposin/ng-aquila/checkbox';
import { NxIconModule } from '@aposin/ng-aquila/icon';

import { NxCardComponent } from './card.component';
import { NxCardFooterComponent } from './card-footer.component';
import { NxCardHeaderComponent } from './card-header.component';
import { NxCardMainLinkDirective, NxCardSecondaryInfoDirective } from './card-link.directive';
import { NxSelectableCardComponent, NxSelectableCardGroupComponent } from './selectable-card.component';

@NgModule({
    exports: [
        NxCardComponent,
        NxSelectableCardComponent,
        NxCardHeaderComponent,
        NxCardFooterComponent,
        NxErrorModule,
        NxSelectableCardGroupComponent,
        NxCardMainLinkDirective,
        NxCardSecondaryInfoDirective,
    ],
    imports: [
        CommonModule,
        NxIconModule,
        NxErrorModule,
        NxCheckboxModule,
        NxCardMainLinkDirective,
        NxCardSecondaryInfoDirective,
        NxCardComponent,
        NxSelectableCardComponent,
        NxCardHeaderComponent,
        NxCardFooterComponent,
        NxSelectableCardGroupComponent,
    ],
})
export class NxCardModule {}
