import { Component, Input } from '@angular/core';
import { DocumentRepresentation } 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;
    }
}
DocumentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
DocumentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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: "15.1.5", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2RvY3VtZW50L2RvY3VtZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kb2N1bWVudC9kb2N1bWVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUUvQyxPQUFPLEVBQUMsc0JBQXNCLEVBQUMsTUFBTSxhQUFhLENBQUM7Ozs7QUFPbkQsTUFBTSxPQUFPLGlCQUFpQjtJQUw5QjtRQVVXLHVCQUFrQixHQUFHLEtBQUssQ0FBQztRQUkzQixTQUFJLEdBQUcsS0FBSyxDQUFDO0tBQ3ZCOzs4R0FWWSxpQkFBaUI7a0dBQWpCLGlCQUFpQix1V0NUOUIsd2dCQWVBOzJGRE5hLGlCQUFpQjtrQkFMN0IsU0FB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