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;
};
/**
 * @fileoverview Archive Configuration Resource Component
 *
 * Dashboard resource wrapper for the "Configuration" tab in the Archiving application.
 * Delegates all rendering to the reusable mj-archive-config-admin component from
 * @memberjunction/ng-archive-manager.
 */
import { Component } from '@angular/core';
import { RegisterClass } from '@memberjunction/global';
import { BaseResourceComponent } from '@memberjunction/ng-shared';
import * as i0 from "@angular/core";
import * as i1 from "@memberjunction/ng-archive-manager";
import * as i2 from "@memberjunction/ng-ui-components";
let ArchiveConfigResourceComponent = class ArchiveConfigResourceComponent extends BaseResourceComponent {
    ngAfterViewInit() {
        this.NotifyLoadComplete();
    }
    async GetResourceDisplayName(_data) {
        return 'Archive Configuration';
    }
    async GetResourceIconClass(_data) {
        return 'fa-solid fa-sliders';
    }
    static ɵfac = /*@__PURE__*/ (() => { let ɵArchiveConfigResourceComponent_BaseFactory; return function ArchiveConfigResourceComponent_Factory(__ngFactoryType__) { return (ɵArchiveConfigResourceComponent_BaseFactory || (ɵArchiveConfigResourceComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ArchiveConfigResourceComponent)))(__ngFactoryType__ || ArchiveConfigResourceComponent); }; })();
    static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ArchiveConfigResourceComponent, selectors: [["app-archive-config-resource"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 2, consts: [["Title", "Archive Configuration", "Icon", "fa-solid fa-sliders", "Subtitle", "Configure entity archiving policies and schedules"], [3, "Flex", "Padding"]], template: function ArchiveConfigResourceComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "mj-page-layout");
            i0.ɵɵelement(1, "mj-page-header", 0);
            i0.ɵɵelementStart(2, "mj-page-body", 1);
            i0.ɵɵelement(3, "mj-archive-config-admin");
            i0.ɵɵelementEnd()();
        } if (rf & 2) {
            i0.ɵɵadvance(2);
            i0.ɵɵproperty("Flex", true)("Padding", false);
        } }, dependencies: [i1.ArchiveConfigAdminComponent, i2.MJPageLayoutComponent, i2.MJPageHeaderComponent, i2.MJPageBodyComponent], styles: ["[_nghost-%COMP%] { display: block; height: 100%; width: 100%; }"] });
};
ArchiveConfigResourceComponent = __decorate([
    RegisterClass(BaseResourceComponent, 'ArchiveConfigResource')
], ArchiveConfigResourceComponent);
export { ArchiveConfigResourceComponent };
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArchiveConfigResourceComponent, [{
        type: Component,
        args: [{ standalone: false, selector: 'app-archive-config-resource', template: `
        <mj-page-layout>
            <mj-page-header
                Title="Archive Configuration"
                Icon="fa-solid fa-sliders"
                Subtitle="Configure entity archiving policies and schedules">
            </mj-page-header>
            <mj-page-body [Flex]="true" [Padding]="false">
                <mj-archive-config-admin></mj-archive-config-admin>
            </mj-page-body>
        </mj-page-layout>
    `, styles: [":host { display: block; height: 100%; width: 100%; }"] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ArchiveConfigResourceComponent, { className: "ArchiveConfigResourceComponent", filePath: "src/Archiving/components/archive-config-resource.component.ts", lineNumber: 32 }); })();
export function LoadArchiveConfigResource() {
    // Prevents tree-shaking
}
//# sourceMappingURL=archive-config-resource.component.js.map