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 MCP Resource Component
 *
 * Resource wrapper for the MCP Dashboard that allows it to be used
 * as a nav item in applications (like the AI Application).
 *
 * @module MCP Resource
 */
import { Component } from '@angular/core';
import { BaseResourceComponent } from '@memberjunction/ng-shared';
import { RegisterClass } from '@memberjunction/global';
import * as i0 from "@angular/core";
import * as i1 from "./mcp-dashboard.component";
/**
 * MCP Resource Component
 *
 * Wrapper that hosts the MCP Dashboard for use in application nav items.
 * Registered as 'MCPResource' for use with ResourceType: "Custom" nav items.
 */
let MCPResourceComponent = class MCPResourceComponent extends BaseResourceComponent {
    ngOnInit() {
        // Signal that the resource has finished loading
        // This is required for the shell's loading screen to dismiss
        this.NotifyLoadComplete();
    }
    async GetResourceDisplayName(data) {
        return 'MCP';
    }
    async GetResourceIconClass(data) {
        return 'fa-solid fa-plug-circle-bolt';
    }
    static ɵfac = /*@__PURE__*/ (() => { let ɵMCPResourceComponent_BaseFactory; return function MCPResourceComponent_Factory(__ngFactoryType__) { return (ɵMCPResourceComponent_BaseFactory || (ɵMCPResourceComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MCPResourceComponent)))(__ngFactoryType__ || MCPResourceComponent); }; })();
    static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MCPResourceComponent, selectors: [["mj-mcp-resource"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, template: function MCPResourceComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelement(0, "mj-mcp-dashboard");
        } }, dependencies: [i1.MCPDashboardComponent], styles: ["[_nghost-%COMP%] {\n            display: block;\n            height: 100%;\n        }"] });
};
MCPResourceComponent = __decorate([
    RegisterClass(BaseResourceComponent, 'MCPResource')
], MCPResourceComponent);
export { MCPResourceComponent };
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MCPResourceComponent, [{
        type: Component,
        args: [{ standalone: false, selector: 'mj-mcp-resource', template: `
        <mj-mcp-dashboard></mj-mcp-dashboard>
    `, styles: ["\n        :host {\n            display: block;\n            height: 100%;\n        }\n    "] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MCPResourceComponent, { className: "MCPResourceComponent", filePath: "src/MCP/mcp-resource.component.ts", lineNumber: 35 }); })();
//# sourceMappingURL=mcp-resource.component.js.map