import { Component, Input } from '@angular/core';
import { DocumentRepresentation, ProposalRepresentation, } from '@aztrix/sdk';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "./document-link/document-link.component";
export class DocumentComponent {
    constructor() {
        this.isSignableDocument = false;
        this.demo = false;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DocumentComponent, selector: "ax-document", inputs: { document: "document", documentType: "documentType", agreementDocument: "agreementDocument", isAgreementDocument: "isAgreementDocument", isSignableDocument: "isSignableDocument", proposal: "proposal", proposalLanguage: "proposalLanguage", agreementProperties: "agreementProperties", demo: "demo" }, ngImport: i0, template: "<ng-container *ngIf=\"!isSignableDocument\">\n  {{ document.checkboxLabel }}\n</ng-container>\n<ax-document-link\n  [document]=\"document\"\n  [documentType]=\"documentType\"\n  [agreementDocument]=\"agreementDocument\"\n  [isAgreementDocument]=\"isAgreementDocument\"\n  [document]=\"document\"\n  [proposal]=\"proposal\"\n  [proposalLanguage]=\"proposalLanguage\"\n  [agreementProperties]=\"agreementProperties\"\n  [isProposalDocument]=\"!!proposal && !!proposalLanguage\"\n  [demo]=\"demo\"\n></ax-document-link>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DocumentLinkComponent, selector: "ax-document-link", inputs: ["document", "documentType", "agreementDocument", "isAgreementDocument", "isProposalDocument", "proposal", "proposalLanguage", "agreementProperties", "demo"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-document', template: "<ng-container *ngIf=\"!isSignableDocument\">\n  {{ document.checkboxLabel }}\n</ng-container>\n<ax-document-link\n  [document]=\"document\"\n  [documentType]=\"documentType\"\n  [agreementDocument]=\"agreementDocument\"\n  [isAgreementDocument]=\"isAgreementDocument\"\n  [document]=\"document\"\n  [proposal]=\"proposal\"\n  [proposalLanguage]=\"proposalLanguage\"\n  [agreementProperties]=\"agreementProperties\"\n  [isProposalDocument]=\"!!proposal && !!proposalLanguage\"\n  [demo]=\"demo\"\n></ax-document-link>\n" }]
        }], propDecorators: { document: [{
                type: Input
            }], documentType: [{
                type: Input
            }], agreementDocument: [{
                type: Input
            }], isAgreementDocument: [{
                type: Input
            }], isSignableDocument: [{
                type: Input
            }], proposal: [{
                type: Input
            }], proposalLanguage: [{
                type: Input
            }], agreementProperties: [{
                type: Input
            }], demo: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2RvY3VtZW50L2RvY3VtZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kb2N1bWVudC9kb2N1bWVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMvQyxPQUFPLEVBR0wsc0JBQXNCLEVBRXRCLHNCQUFzQixHQUN2QixNQUFNLGFBQWEsQ0FBQzs7OztBQU9yQixNQUFNLE9BQU8saUJBQWlCO0lBTDlCO1FBVVcsdUJBQWtCLEdBQUcsS0FBSyxDQUFDO1FBSTNCLFNBQUksR0FBRyxLQUFLLENBQUM7S0FDdkI7K0dBVlksaUJBQWlCO21HQUFqQixpQkFBaUIsdVdDZDlCLHdnQkFlQTs7NEZERGEsaUJ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