/**
 * @packageDocumentation
 * @module async-data
 */
import { ButtonModule } from '@alauda/ui';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { PageGuardModule } from '../page-guard/public-api';
import { TranslateModule } from '../translate/public-api';
import { WidgetModule } from '../widget/widget.module';
import { ErrorStateComponent } from './error-page/component';
import { PageStateComponent } from './page-state/component';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../widget/loading-mask/loading-mask.component";
import * as i3 from "@alauda/ui";
import * as i4 from "../page-guard/component/component";
import * as i5 from "../page-guard/component/helper-directives";
import * as i6 from "../translate/translate.pipe";
export class AsyncDataModule {
}
AsyncDataModule.ɵfac = function AsyncDataModule_Factory(t) { return new (t || AsyncDataModule)(); };
AsyncDataModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AsyncDataModule });
AsyncDataModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
        ButtonModule,
        TranslateModule,
        WidgetModule,
        PageGuardModule] });
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AsyncDataModule, [{
        type: NgModule,
        args: [{
                imports: [
                    CommonModule,
                    ButtonModule,
                    TranslateModule,
                    WidgetModule,
                    PageGuardModule,
                ],
                declarations: [PageStateComponent, ErrorStateComponent],
                exports: [PageStateComponent],
            }]
    }], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AsyncDataModule, { declarations: [PageStateComponent, ErrorStateComponent], imports: [CommonModule,
        ButtonModule,
        TranslateModule,
        WidgetModule,
        PageGuardModule], exports: [PageStateComponent] }); })();
i0.ɵɵsetComponentScope(PageStateComponent, [i1.NgIf, i1.NgTemplateOutlet, i2.LoadingMaskComponent, ErrorStateComponent], [i1.AsyncPipe]);
i0.ɵɵsetComponentScope(ErrorStateComponent, [i1.NgIf, i3.ButtonComponent, i4.PageGuardComponent, i5.PageGuardOperationDirective], [i6.TranslatePip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