import { ChangeDetectionStrategy, Component } from '@angular/core';
import { PropertyType } from '@aztrix/models';
import { AbstractPropertyValueViewComponent } from '../abstract-property-value-view.component';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../default-value-view/default-value-view.component";
export class LegalidValueViewComponent extends AbstractPropertyValueViewComponent {
    constructor() {
        super(...arguments);
        // eslint-disable-next-line @typescript-eslint/naming-convention
        this.PropertyType = PropertyType;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegalidValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LegalidValueViewComponent, selector: "ax-legalid-value-view", usesInheritance: true, ngImport: i0, template: "<div>\n  <ax-default-value-view\n    [property]=\"propertyOfType(PropertyType.COMPANY_NUMBER)\"\n    [parentProperty]=\"property\"\n    [clickable]=\"clickable\"\n  ></ax-default-value-view>\n</div>\n<div *ngIf=\"propertyOfType(PropertyType.JURISDICTION)?.value\">\n  <ax-default-value-view\n    [property]=\"propertyOfType(PropertyType.JURISDICTION)\"\n    [clickable]=\"clickable\"\n  ></ax-default-value-view>\n</div>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DefaultValueViewComponent, selector: "ax-default-value-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegalidValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-legalid-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n  <ax-default-value-view\n    [property]=\"propertyOfType(PropertyType.COMPANY_NUMBER)\"\n    [parentProperty]=\"property\"\n    [clickable]=\"clickable\"\n  ></ax-default-value-view>\n</div>\n<div *ngIf=\"propertyOfType(PropertyType.JURISDICTION)?.value\">\n  <ax-default-value-view\n    [property]=\"propertyOfType(PropertyType.JURISDICTION)\"\n    [clickable]=\"clickable\"\n  ></ax-default-value-view>\n</div>\n", styles: [".property-value{font-size:16px;font-weight:700}\n"] }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVnYWxpZC12YWx1ZS12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9wcm9wZXJ0eS12aWV3L2xlZ2FsaWQtdmFsdWUtdmlldy9sZWdhbGlkLXZhbHVlLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3Byb3BlcnR5LXZpZXcvbGVnYWxpZC12YWx1ZS12aWV3L2xlZ2FsaWQtdmFsdWUtdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUU1QyxPQUFPLEVBQUMsa0NBQWtDLEVBQUMsTUFBTSwyQ0FBMkMsQ0FBQzs7OztBQVc3RixNQUFNLE9BQU8seUJBQTBCLFNBQVEsa0NBQWtDO0lBVGpGOztRQVVFLGdFQUFnRTtRQUNoRSxpQkFBWSxHQUFHLFlBQVksQ0FBQztLQUM3QjsrR0FIWSx5QkFBeUI7bUdBQXpCLHlCQUF5QixvRkNkdEMsd2FBYUE7OzRGRENhLHlCQUF5QjtrQkFUckMsU0FBUzsrQkFDRSx1QkFBdUIsbUJBTWhCLHVCQUF1QixDQU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