import { Component } from '@angular/core';
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
import * as i0 from "@angular/core";
import * as i1 from "primeng/dynamicdialog";
import * as i2 from "@angular/common";
export class NoHelpItemComponent {
    constructor(config, ref) {
        this.config = config;
        this.ref = ref;
        this.helpArticleId = config.data.helpArticleId;
    }
    close() {
        this.ref.close();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NoHelpItemComponent, deps: [{ token: i1.DynamicDialogConfig }, { token: i1.DynamicDialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: NoHelpItemComponent, selector: "ocx-no-help-item", ngImport: i0, template: "<div>\n  <div class=\"dialog-content\">\n    <span>No help items were found for this page. Please ask your system administrator to add it.</span>\n    <div *ngIf=\"helpArticleId\">\n      <span> The help Item ID for this page is:</span>\n      <span class=\"code p-my-2\">{{ helpArticleId }}</span>\n    </div>\n  </div>\n</div>\n", styles: [".code{display:block;clear:both;padding:.5em;font-family:monospace;background-color:#ececec;border-radius:4px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NoHelpItemComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ocx-no-help-item', template: "<div>\n  <div class=\"dialog-content\">\n    <span>No help items were found for this page. Please ask your system administrator to add it.</span>\n    <div *ngIf=\"helpArticleId\">\n      <span> The help Item ID for this page is:</span>\n      <span class=\"code p-my-2\">{{ helpArticleId }}</span>\n    </div>\n  </div>\n</div>\n", styles: [".code{display:block;clear:both;padding:.5em;font-family:monospace;background-color:#ececec;border-radius:4px}\n"] }]
        }], ctorParameters: () => [{ type: i1.DynamicDialogConfig }, { type: i1.DynamicDialogR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