import * as i0 from '@angular/core';
import { Directive, Input, Component, ChangeDetectionStrategy, Optional, Inject, HostBinding, NgModule } from '@angular/core';
import * as i1 from '@aztrix/helpers';
import { isVerified, verificationIsRequested, subPropertyOfType, AddressFormats, propertyCommunicationType, documentLink, DAYS_OF_WEEK, OpeningHoursParser, HelperPipesModule } from '@aztrix/helpers';
import { PropertyType, CommunicationType } from '@aztrix/models';
import * as i3 from '@angular/material/legacy-tooltip';
import { MatLegacyTooltipModule } from '@angular/material/legacy-tooltip';
import * as i2 from '@aztrix/icons';
import { IconsModule } from '@aztrix/icons';
import * as i2$1 from '@angular/common';
import { CommonModule } from '@angular/common';
import { BACKEND_URL } from '@aztrix/sdk';
import * as i4 from 'rxjs';
import { first } from 'rxjs';
import * as i1$1 from '@aztrix/components/file-source';
import { FileSourceModule } from '@aztrix/components/file-source';
import * as i1$2 from '@aztrix/components/image-preview-button';
import { ImagePreviewButtonModule } from '@aztrix/components/image-preview-button';
import { parse } from 'date-fns';
import { __decorate, __metadata } from 'tslib';
import * as i1$3 from 'angular-container-media-query';
import { MediaQuery } from 'angular-container-media-query';
import * as i2$2 from '@aztrix/components/avatar';
import { AvatarType, AvatarModule } from '@aztrix/components/avatar';
import { ButtonModule } from '@aztrix/components/button';
import { ImageSourceModule } from '@aztrix/components/image-source';
import { RowCellViewModule } from '@aztrix/components/row-cell-view';

class AbstractPropertyValueViewComponent {
    verificationColor() {
        if (!this.property || isVerified(this.property)) {
            return 'green-text';
        }
        if (verificationIsRequested(this.property)) {
            return 'orange-text';
        }
        return 'red-text';
    }
    propertyOfType(type) {
        return subPropertyOfType(this.property, type);
    }
}
AbstractPropertyValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AbstractPropertyValueViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
AbstractPropertyValueViewComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: AbstractPropertyValueViewComponent, inputs: { property: "property", parentProperty: "parentProperty", showVerificationLabel: "showVerificationLabel", clickable: "clickable", params: "params" }, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AbstractPropertyValueViewComponent, decorators: [{
            type: Directive
        }], propDecorators: { property: [{
                type: Input
            }], parentProperty: [{
                type: Input
            }], showVerificationLabel: [{
                type: Input
            }], clickable: [{
                type: Input
            }], params: [{
                type: Input
            }] } });

class BankaccountValueViewComponent extends AbstractPropertyValueViewComponent {
    constructor() {
        super(...arguments);
        // eslint-disable-next-line @typescript-eslint/naming-convention
        this.PropertyType = PropertyType;
    }
}
BankaccountValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankaccountValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
BankaccountValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: BankaccountValueViewComponent, selector: "ax-bankaccount-value-view", usesInheritance: true, ngImport: i0, template: "<span class=\"bank\">\n  <span class=\"bank-label\">IBAN:</span>\n  <span class=\"h-ellipsis bank-content\">{{\n    propertyOfType(PropertyType.IBAN) | propertyDisplayValue\n  }}</span>\n  <ax-icon\n    class=\"icon green-text\"\n    name=\"custom:verified\"\n    [matTooltip]=\"\n      'property.validation.valid' | translate: {propertyType: PropertyType.IBAN | propertyTypeLabel}\n    \"\n  >\n  </ax-icon>\n</span>\n\n<span class=\"bank\">\n  <span class=\"bank-label\">BIC:</span>\n  <span class=\"h-ellipsis bank-content\">{{\n    propertyOfType(PropertyType.BIC) | propertyDisplayValue\n  }}</span>\n</span>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ".bank{display:block;width:100%}.bank .icon{width:1em;height:1em;max-width:15%;display:inline-block;line-height:1.2;vertical-align:middle}.bank-label{display:inline-block;width:50px;max-width:25%;font-weight:700;line-height:1.2;vertical-align:middle}.bank-content{display:inline-block;max-width:60%;line-height:1.2;vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i3.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i2.IconComponent, selector: "ax-icon", inputs: ["name", "inline"] }, { kind: "pipe", type: i1.PropertyDisplayValuePipe, name: "propertyDisplayValue" }, { kind: "pipe", type: i1.PropertyTypeLabelPipe, name: "propertyTypeLabel" }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankaccountValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-bankaccount-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"bank\">\n  <span class=\"bank-label\">IBAN:</span>\n  <span class=\"h-ellipsis bank-content\">{{\n    propertyOfType(PropertyType.IBAN) | propertyDisplayValue\n  }}</span>\n  <ax-icon\n    class=\"icon green-text\"\n    name=\"custom:verified\"\n    [matTooltip]=\"\n      'property.validation.valid' | translate: {propertyType: PropertyType.IBAN | propertyTypeLabel}\n    \"\n  >\n  </ax-icon>\n</span>\n\n<span class=\"bank\">\n  <span class=\"bank-label\">BIC:</span>\n  <span class=\"h-ellipsis bank-content\">{{\n    propertyOfType(PropertyType.BIC) | propertyDisplayValue\n  }}</span>\n</span>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ".bank{display:block;width:100%}.bank .icon{width:1em;height:1em;max-width:15%;display:inline-block;line-height:1.2;vertical-align:middle}.bank-label{display:inline-block;width:50px;max-width:25%;font-weight:700;line-height:1.2;vertical-align:middle}.bank-content{display:inline-block;max-width:60%;line-height:1.2;vertical-align:middle}\n"] }]
        }] });

class ValueVerifiedViewComponent extends AbstractPropertyValueViewComponent {
}
ValueVerifiedViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ValueVerifiedViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
ValueVerifiedViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ValueVerifiedViewComponent, selector: "ax-value-verified-view", usesInheritance: true, ngImport: i0, template: "<div [ngClass]=\"{'has-verify-icon': showVerificationLabel}\">\n  <ng-content></ng-content>\n  <ax-icon\n    [inline]=\"true\"\n    *ngIf=\"showVerificationLabel && property | propertyIsVerified\"\n    [ngClass]=\"verificationColor()\"\n    class=\"icon\"\n    name=\"custom:verified\"\n    [matTooltip]=\"parentProperty || property | propertyVerificationLabel\"\n  ></ax-icon>\n</div>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ".icon{width:1rem;height:1rem;margin-left:.25rem}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "ax-icon", inputs: ["name", "inline"] }, { kind: "directive", type: i3.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i1.PropertyVerificationLabelPipe, name: "propertyVerificationLabel" }, { kind: "pipe", type: i1.PropertyIsVerifiedPipe, name: "propertyIsVerified" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ValueVerifiedViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-value-verified-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'has-verify-icon': showVerificationLabel}\">\n  <ng-content></ng-content>\n  <ax-icon\n    [inline]=\"true\"\n    *ngIf=\"showVerificationLabel && property | propertyIsVerified\"\n    [ngClass]=\"verificationColor()\"\n    class=\"icon\"\n    name=\"custom:verified\"\n    [matTooltip]=\"parentProperty || property | propertyVerificationLabel\"\n  ></ax-icon>\n</div>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ".icon{width:1rem;height:1rem;margin-left:.25rem}\n"] }]
        }] });

class DefaultValueViewComponent extends AbstractPropertyValueViewComponent {
}
DefaultValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DefaultValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
DefaultValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: DefaultValueViewComponent, selector: "ax-default-value-view", usesInheritance: true, ngImport: i0, template: "<ax-value-verified-view\n  [property]=\"property\"\n  [parentProperty]=\"parentProperty\"\n  [showVerificationLabel]=\"showVerificationLabel\"\n>\n  <span>{{ property | propertyDisplayValue: 'property.value.empty' }}</span>\n</ax-value-verified-view>\n", styles: [".property-value{font-size:16px;font-weight:700}\n"], dependencies: [{ kind: "component", type: ValueVerifiedViewComponent, selector: "ax-value-verified-view" }, { kind: "pipe", type: i1.PropertyDisplayValuePipe, name: "propertyDisplayValue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DefaultValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-default-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-value-verified-view\n  [property]=\"property\"\n  [parentProperty]=\"parentProperty\"\n  [showVerificationLabel]=\"showVerificationLabel\"\n>\n  <span>{{ property | propertyDisplayValue: 'property.value.empty' }}</span>\n</ax-value-verified-view>\n", styles: [".property-value{font-size:16px;font-weight:700}\n"] }]
        }] });

class CategoryValueViewComponent extends AbstractPropertyValueViewComponent {
}
CategoryValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CategoryValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
CategoryValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: CategoryValueViewComponent, selector: "ax-category-value-view", usesInheritance: true, ngImport: i0, template: "<ax-icon class=\"icon\" [name]=\"property.value | categoryIcon\"></ax-icon>\n<ax-default-value-view\n  [property]=\"property\"\n  [showVerificationLabel]=\"showVerificationLabel\"\n  [clickable]=\"false\"\n></ax-default-value-view>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ":host{display:flex;align-items:center;width:100%;gap:.5rem}.icon{width:1rem;height:1rem;vertical-align:middle}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "ax-icon", inputs: ["name", "inline"] }, { kind: "component", type: DefaultValueViewComponent, selector: "ax-default-value-view" }, { kind: "pipe", type: i1.CategoryIconPipe, name: "categoryIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CategoryValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-category-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-icon class=\"icon\" [name]=\"property.value | categoryIcon\"></ax-icon>\n<ax-default-value-view\n  [property]=\"property\"\n  [showVerificationLabel]=\"showVerificationLabel\"\n  [clickable]=\"false\"\n></ax-default-value-view>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ":host{display:flex;align-items:center;width:100%;gap:.5rem}.icon{width:1rem;height:1rem;vertical-align:middle}\n"] }]
        }] });

class AddressValueViewComponent extends AbstractPropertyValueViewComponent {
    get addressLineProperties() {
        return (AddressFormats.addressFormatForProperty(this.property).map((line) => line
            .map((lineInfo) => subPropertyOfType(this.property, lineInfo.propertyType))
            .filter((prop) => !!prop)));
    }
}
AddressValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
AddressValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: AddressValueViewComponent, selector: "ax-address-value-view", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"property | propertyHasValue; else empty\">\n  <div class=\"c-card__property\" *ngFor=\"let line of addressLineProperties; let first = first\">\n    <ng-container *ngIf=\"line | propertyDisplayValue as addressLine\">\n      <span>{{ addressLine }}</span>\n      <span\n        *ngIf=\"first && verificationColor()\"\n        [ngClass]=\"verificationColor()\"\n        matTooltip=\"{{ parentProperty || property | propertyVerificationLabel }}\"\n      ></span>\n    </ng-container>\n  </div>\n</div>\n\n<ng-template #empty>\n  {{ 'property.value.empty' | translate }}\n</ng-template>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ""], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i1.PropertyDisplayValuePipe, name: "propertyDisplayValue" }, { kind: "pipe", type: i1.PropertyVerificationLabelPipe, name: "propertyVerificationLabel" }, { kind: "pipe", type: i1.PropertyHasValuePipe, name: "propertyHasValue" }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-address-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"property | propertyHasValue; else empty\">\n  <div class=\"c-card__property\" *ngFor=\"let line of addressLineProperties; let first = first\">\n    <ng-container *ngIf=\"line | propertyDisplayValue as addressLine\">\n      <span>{{ addressLine }}</span>\n      <span\n        *ngIf=\"first && verificationColor()\"\n        [ngClass]=\"verificationColor()\"\n        matTooltip=\"{{ parentProperty || property | propertyVerificationLabel }}\"\n      ></span>\n    </ng-container>\n  </div>\n</div>\n\n<ng-template #empty>\n  {{ 'property.value.empty' | translate }}\n</ng-template>\n", styles: [".property-value{font-size:16px;font-weight:700}\n"] }]
        }] });

class CommunicationValueViewComponent extends AbstractPropertyValueViewComponent {
    constructor(_matomo) {
        super();
        this._matomo = _matomo;
    }
    trackClick() {
        this._matomo.trackEvent('Communication value', 'click', propertyCommunicationType(this.property).toLowerCase());
    }
}
CommunicationValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CommunicationValueViewComponent, deps: [{ token: i1.MatomoService }], target: i0.ɵɵFactoryTarget.Component });
CommunicationValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: CommunicationValueViewComponent, selector: "ax-communication-value-view", usesInheritance: true, ngImport: i0, template: "<ng-template #view>\n  <ax-address-value-view\n    *ngIf=\"property | propertyIsAddressRelated\"\n    [property]=\"property\"\n    [showVerificationLabel]=\"showVerificationLabel\"\n    [clickable]=\"false\"\n  ></ax-address-value-view>\n  <ax-default-value-view\n    *ngIf=\"!(property | propertyIsAddressRelated)\"\n    [property]=\"property\"\n    [showVerificationLabel]=\"showVerificationLabel\"\n    [clickable]=\"false\"\n  ></ax-default-value-view>\n</ng-template>\n\n<ng-container *ngIf=\"clickable; else view\">\n  <a\n    class=\"c-card__property__link\"\n    [href]=\"property | propertyCommunicationHref: undefined:params\"\n    [target]=\"property | propertyCommunicationTarget\"\n    (click)=\"trackClick()\"\n  >\n    <ng-container *ngTemplateOutlet=\"view\"></ng-container>\n  </a>\n</ng-container>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ":host{word-break:break-all}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AddressValueViewComponent, selector: "ax-address-value-view" }, { kind: "component", type: DefaultValueViewComponent, selector: "ax-default-value-view" }, { kind: "pipe", type: i1.PropertyCommunicationHrefPipe, name: "propertyCommunicationHref" }, { kind: "pipe", type: i1.PropertyCommunicationTargetPipe, name: "propertyCommunicationTarget" }, { kind: "pipe", type: i1.PropertyIsAddressRelatedPipe, name: "propertyIsAddressRelated" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CommunicationValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-communication-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #view>\n  <ax-address-value-view\n    *ngIf=\"property | propertyIsAddressRelated\"\n    [property]=\"property\"\n    [showVerificationLabel]=\"showVerificationLabel\"\n    [clickable]=\"false\"\n  ></ax-address-value-view>\n  <ax-default-value-view\n    *ngIf=\"!(property | propertyIsAddressRelated)\"\n    [property]=\"property\"\n    [showVerificationLabel]=\"showVerificationLabel\"\n    [clickable]=\"false\"\n  ></ax-default-value-view>\n</ng-template>\n\n<ng-container *ngIf=\"clickable; else view\">\n  <a\n    class=\"c-card__property__link\"\n    [href]=\"property | propertyCommunicationHref: undefined:params\"\n    [target]=\"property | propertyCommunicationTarget\"\n    (click)=\"trackClick()\"\n  >\n    <ng-container *ngTemplateOutlet=\"view\"></ng-container>\n  </a>\n</ng-container>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ":host{word-break:break-all}\n"] }]
        }], ctorParameters: function () { return [{ type: i1.MatomoService }]; } });

class DocumentValueViewComponent extends AbstractPropertyValueViewComponent {
    constructor(backendUrl$, _matomo) {
        super();
        this.backendUrl$ = backendUrl$;
        this._matomo = _matomo;
    }
    downloadPdf() {
        this._trackClick();
        this.backendUrl$
            .pipe(first())
            .subscribe((backendUrl) => window.open(documentLink(this.property, backendUrl), '_blank'));
    }
    _trackClick() {
        this._matomo.trackEvent('Document value', 'click', CommunicationType.URL.toLowerCase());
    }
}
DocumentValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentValueViewComponent, deps: [{ token: BACKEND_URL, optional: true }, { token: i1.MatomoService }], target: i0.ɵɵFactoryTarget.Component });
DocumentValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: DocumentValueViewComponent, selector: "ax-document-value-view", usesInheritance: true, ngImport: i0, template: "<ng-template #view>\n  <ax-default-value-view\n    [property]=\"property\"\n    [showVerificationLabel]=\"showVerificationLabel\"\n    [clickable]=\"false\"\n  ></ax-default-value-view>\n</ng-template>\n\n<ng-container *ngIf=\"clickable; else view\">\n  <a\n    class=\"c-card__property__link\"\n    [href]=\"property | propertyDocumentLink: (backendUrl$ | async)\"\n    [attr.download]=\"(property | propertyDisplayValue) + '.pdf'\"\n    (click)=\"downloadPdf(); $event.preventDefault()\"\n  >\n    <ng-container *ngTemplateOutlet=\"view\"></ng-container>\n  </a>\n</ng-container>\n", styles: [".property-value{font-size:16px;font-weight:700}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DefaultValueViewComponent, selector: "ax-default-value-view" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PropertyDisplayValuePipe, name: "propertyDisplayValue" }, { kind: "pipe", type: i1.PropertyDocumentLinkPipe, name: "propertyDocumentLink" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-document-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #view>\n  <ax-default-value-view\n    [property]=\"property\"\n    [showVerificationLabel]=\"showVerificationLabel\"\n    [clickable]=\"false\"\n  ></ax-default-value-view>\n</ng-template>\n\n<ng-container *ngIf=\"clickable; else view\">\n  <a\n    class=\"c-card__property__link\"\n    [href]=\"property | propertyDocumentLink: (backendUrl$ | async)\"\n    [attr.download]=\"(property | propertyDisplayValue) + '.pdf'\"\n    (click)=\"downloadPdf(); $event.preventDefault()\"\n  >\n    <ng-container *ngTemplateOutlet=\"view\"></ng-container>\n  </a>\n</ng-container>\n", styles: [".property-value{font-size:16px;font-weight:700}\n"] }]
        }], ctorParameters: function () { return [{ type: i4.BehaviorSubject, decorators: [{
                    type: Optional
                }, {
                    type: Inject,
                    args: [BACKEND_URL]
                }] }, { type: i1.MatomoService }]; } });

class FileValueViewComponent extends AbstractPropertyValueViewComponent {
    get key() {
        return this.propertyOfType(PropertyType.FILE_KEY)?.value;
    }
    get name() {
        return this.propertyOfType(PropertyType.FILE_NAME)?.value;
    }
    get source() {
        return '/staticFiles/agreementFiles/' + this.key;
    }
}
FileValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
FileValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: FileValueViewComponent, selector: "ax-file-value-view", usesInheritance: true, ngImport: i0, template: "<ax-file-source [source]=\"source\" [fileName]=\"name\"></ax-file-source>\n", styles: [""], dependencies: [{ kind: "component", type: i1$1.FileSourceComponent, selector: "ax-file-source", inputs: ["source", "fileName"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-file-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-file-source [source]=\"source\" [fileName]=\"name\"></ax-file-source>\n" }]
        }] });

class ImageValueViewComponent extends AbstractPropertyValueViewComponent {
    get key() {
        return this.propertyOfType(PropertyType.FILE_KEY).value;
    }
    get name() {
        return this.propertyOfType(PropertyType.FILE_NAME).value;
    }
    get source() {
        return '/staticFiles/agreementFiles/' + this.key;
    }
}
ImageValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ImageValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
ImageValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ImageValueViewComponent, selector: "ax-image-value-view", usesInheritance: true, ngImport: i0, template: "<ax-image-preview-button [source]=\"source\" [name]=\"name\"></ax-image-preview-button>\n<p class=\"name\">{{ name }}</p>\n", styles: [":host{display:flex}.name{margin:0 0 0 5px}\n"], dependencies: [{ kind: "component", type: i1$2.ImagePreviewButtonComponent, selector: "ax-image-preview-button", inputs: ["source", "name"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ImageValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-image-value-view', template: "<ax-image-preview-button [source]=\"source\" [name]=\"name\"></ax-image-preview-button>\n<p class=\"name\">{{ name }}</p>\n", styles: [":host{display:flex}.name{margin:0 0 0 5px}\n"] }]
        }] });

class LegalidValueViewComponent extends AbstractPropertyValueViewComponent {
    constructor() {
        super(...arguments);
        // eslint-disable-next-line @typescript-eslint/naming-convention
        this.PropertyType = PropertyType;
    }
}
LegalidValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LegalidValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
LegalidValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DefaultValueViewComponent, selector: "ax-default-value-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", 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"] }]
        }] });

class OpeningHoursDateViewComponent {
    get dateRange() {
        if (!this.dates || this.dates.length <= 2) {
            return this.dates;
        }
        return [this.dates[0], this.dates[this.dates.length - 1]];
    }
}
OpeningHoursDateViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursDateViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
OpeningHoursDateViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: OpeningHoursDateViewComponent, selector: "ax-opening-hours-date-view", inputs: { dates: "dates", text: "text" }, ngImport: i0, template: "<span *ngIf=\"text\"> {{ text }}:&nbsp;</span>\n<ng-container *ngFor=\"let date of dateRange; let first = first\">\n  <span><ng-container *ngIf=\"!first\"> - </ng-container>{{ date | formatDate }}</span>\n</ng-container>\n", styles: [":host{display:block;font-weight:700}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.FormatDatePipe, name: "formatDate" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursDateViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-opening-hours-date-view', template: "<span *ngIf=\"text\"> {{ text }}:&nbsp;</span>\n<ng-container *ngFor=\"let date of dateRange; let first = first\">\n  <span><ng-container *ngIf=\"!first\"> - </ng-container>{{ date | formatDate }}</span>\n</ng-container>\n", styles: [":host{display:block;font-weight:700}\n"] }]
        }], propDecorators: { dates: [{
                type: Input
            }], text: [{
                type: Input
            }] } });

class OpeningHoursDayViewComponent {
    constructor(_translationService) {
        this._translationService = _translationService;
        this.activeLanguage$ = this._translationService.lang$;
    }
    get dayRanges() {
        if (!this.days) {
            return [];
        }
        const now = new Date();
        let dayRange = [];
        const dayRanges = [];
        for (const day of this.days) {
            dayRange.push(parse(day, 'EEEEEE', now));
            if (!this.nextIsInSequence(this.days, day)) {
                dayRanges.push(dayRange);
                dayRange = [];
            }
        }
        return dayRanges;
    }
    nextIsInSequence(days, day) {
        const index1 = days.findIndex((d) => d === day);
        const index2 = DAYS_OF_WEEK.findIndex((d) => d === day);
        if (index1 + 1 >= days.length) {
            return false;
        }
        return days[index1 + 1] === DAYS_OF_WEEK[index2 + 1];
    }
}
OpeningHoursDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursDayViewComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
OpeningHoursDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: OpeningHoursDayViewComponent, selector: "ax-opening-hours-day-view", inputs: { days: "days" }, ngImport: i0, template: "<ng-container *ngFor=\"let dayRangesDays of dayRanges; first as first; last as last\">\n  <ng-container *ngFor=\"let day of dayRangesDays; first as firstDay; last as lastDay\">\n    <span *ngIf=\"firstDay || lastDay\">\n      <ng-container *ngIf=\"!firstDay && dayRangesDays.length > 2\"> - </ng-container>\n      <ng-container *ngIf=\"!firstDay && dayRangesDays.length <= 2\">, </ng-container>\n      <ng-container>{{ day | formatDay: false:(activeLanguage$ | async) }}</ng-container>\n    </span>\n  </ng-container>\n  <span *ngIf=\"!last\">, </span>\n</ng-container>\n", styles: [":host{display:block;font-weight:700}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.FormatDayPipe, name: "formatDay" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursDayViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-opening-hours-day-view', template: "<ng-container *ngFor=\"let dayRangesDays of dayRanges; first as first; last as last\">\n  <ng-container *ngFor=\"let day of dayRangesDays; first as firstDay; last as lastDay\">\n    <span *ngIf=\"firstDay || lastDay\">\n      <ng-container *ngIf=\"!firstDay && dayRangesDays.length > 2\"> - </ng-container>\n      <ng-container *ngIf=\"!firstDay && dayRangesDays.length <= 2\">, </ng-container>\n      <ng-container>{{ day | formatDay: false:(activeLanguage$ | async) }}</ng-container>\n    </span>\n  </ng-container>\n  <span *ngIf=\"!last\">, </span>\n</ng-container>\n", styles: [":host{display:block;font-weight:700}\n"] }]
        }], ctorParameters: function () { return [{ type: i1.TranslateService }]; }, propDecorators: { days: [{
                type: Input
            }] } });

class OpeningHoursViewComponent extends AbstractPropertyValueViewComponent {
    constructor(resize, elementRef, changeDetector) {
        super();
        this._size = 'AUTO';
        this.openingDayRanges = [];
        this._smallClass = false;
        this._mediumClass = false;
        resize.register(this, elementRef, changeDetector);
    }
    set size(size) {
        switch (size) {
            case 'SMALL':
                this._smallClass = true;
                this._mediumClass = false;
                break;
            case 'MEDIUM':
                this._smallClass = false;
                this._mediumClass = true;
                break;
                break;
            default:
                break;
        }
        this._size = size;
    }
    get size() {
        return this._size;
    }
    set smallQuery(small) {
        if (this.size === 'AUTO') {
            this._smallClass = small;
        }
    }
    set mediumQuery(medium) {
        if (this.size === 'AUTO') {
            this._mediumClass = medium;
        }
    }
    ngOnChanges(changes) {
        if (changes.property && this.property) {
            this.openingDayRanges = OpeningHoursParser.parse(this.property?.value);
        }
    }
}
OpeningHoursViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursViewComponent, deps: [{ token: i1$3.ObserveResizeService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
OpeningHoursViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: OpeningHoursViewComponent, selector: "ax-opening-hours-view", inputs: { size: "size" }, host: { properties: { "class.small": "this._smallClass", "class.medium": "this._mediumClass" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ax-value-verified-view\n  [property]=\"property\"\n  [parentProperty]=\"parentProperty\"\n  [showVerificationLabel]=\"showVerificationLabel\"\n>\n  <div class=\"day-ranges\">\n    <ng-container *ngFor=\"let openingDayRange of openingDayRanges\">\n      <ax-opening-hours-date-view\n        [dates]=\"openingDayRange.dates\"\n        [text]=\"openingDayRange[0]?.openingDay.text\"\n      ></ax-opening-hours-date-view>\n      <div class=\"days\" *ngIf=\"openingDayRange.openingDays !== []; else empty\">\n        <ng-container *ngFor=\"let openingDay of openingDayRange.openingDays\">\n          <ax-opening-hours-day-view\n            class=\"day\"\n            [days]=\"[openingDay.day]\"\n          ></ax-opening-hours-day-view>\n          <ng-container *ngIf=\"!openingDay.open\">\n            <span class=\"closed\">{{ 'label.closed' | translate | uppercase }}</span>\n          </ng-container>\n          <ng-container *ngIf=\"openingDay.open\">\n            <ng-container\n              *ngFor=\"let range of openingDay.ranges; let first = first; let last = last\"\n            >\n              <span *ngIf=\"!first\"></span>\n              <span class=\"from\" [ngClass]=\"{last: last}\">{{ range.from | formatTime }}</span>\n              <span class=\"spacer\" [ngClass]=\"{last: last}\"> - </span>\n              <span class=\"to\" [ngClass]=\"{last: last}\">{{ range.to | formatTime }}</span>\n            </ng-container>\n          </ng-container>\n        </ng-container>\n      </div>\n      <ng-template #empty>\n        <span>{{ 'property.value.empty' | translate }}</span>\n      </ng-template>\n    </ng-container>\n  </div>\n</ax-value-verified-view>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ":host{display:block}:host.small .days{grid-template-columns:max-content 5px max-content}:host.small .day{grid-column:1/4;text-align:left}:host.small .closed{grid-column:1/4}:host.small .from{grid-column:1/2}:host.small .spacer{grid-column:2/3}:host.small .to{grid-column:3/4}.day-ranges{display:flex;flex-direction:column}.days{display:grid;grid-template-columns:max-content max-content 5px max-content;grid-gap:0 5px}.day{margin-right:5px}.closed{grid-column:2/5}.from,.to{justify-self:end}.last{margin-bottom:5px}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ValueVerifiedViewComponent, selector: "ax-value-verified-view" }, { kind: "component", type: OpeningHoursDateViewComponent, selector: "ax-opening-hours-date-view", inputs: ["dates", "text"] }, { kind: "component", type: OpeningHoursDayViewComponent, selector: "ax-opening-hours-day-view", inputs: ["days"] }, { kind: "pipe", type: i2$1.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "pipe", type: i1.FormatTimePipe, name: "formatTime" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
__decorate([
    MediaQuery('(max-width: 250px)'),
    __metadata("design:type", Boolean),
    __metadata("design:paramtypes", [Boolean])
], OpeningHoursViewComponent.prototype, "smallQuery", null);
__decorate([
    MediaQuery('(min-width: 251px)'),
    __metadata("design:type", Boolean),
    __metadata("design:paramtypes", [Boolean])
], OpeningHoursViewComponent.prototype, "mediumQuery", null);
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-opening-hours-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-value-verified-view\n  [property]=\"property\"\n  [parentProperty]=\"parentProperty\"\n  [showVerificationLabel]=\"showVerificationLabel\"\n>\n  <div class=\"day-ranges\">\n    <ng-container *ngFor=\"let openingDayRange of openingDayRanges\">\n      <ax-opening-hours-date-view\n        [dates]=\"openingDayRange.dates\"\n        [text]=\"openingDayRange[0]?.openingDay.text\"\n      ></ax-opening-hours-date-view>\n      <div class=\"days\" *ngIf=\"openingDayRange.openingDays !== []; else empty\">\n        <ng-container *ngFor=\"let openingDay of openingDayRange.openingDays\">\n          <ax-opening-hours-day-view\n            class=\"day\"\n            [days]=\"[openingDay.day]\"\n          ></ax-opening-hours-day-view>\n          <ng-container *ngIf=\"!openingDay.open\">\n            <span class=\"closed\">{{ 'label.closed' | translate | uppercase }}</span>\n          </ng-container>\n          <ng-container *ngIf=\"openingDay.open\">\n            <ng-container\n              *ngFor=\"let range of openingDay.ranges; let first = first; let last = last\"\n            >\n              <span *ngIf=\"!first\"></span>\n              <span class=\"from\" [ngClass]=\"{last: last}\">{{ range.from | formatTime }}</span>\n              <span class=\"spacer\" [ngClass]=\"{last: last}\"> - </span>\n              <span class=\"to\" [ngClass]=\"{last: last}\">{{ range.to | formatTime }}</span>\n            </ng-container>\n          </ng-container>\n        </ng-container>\n      </div>\n      <ng-template #empty>\n        <span>{{ 'property.value.empty' | translate }}</span>\n      </ng-template>\n    </ng-container>\n  </div>\n</ax-value-verified-view>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ":host{display:block}:host.small .days{grid-template-columns:max-content 5px max-content}:host.small .day{grid-column:1/4;text-align:left}:host.small .closed{grid-column:1/4}:host.small .from{grid-column:1/2}:host.small .spacer{grid-column:2/3}:host.small .to{grid-column:3/4}.day-ranges{display:flex;flex-direction:column}.days{display:grid;grid-template-columns:max-content max-content 5px max-content;grid-gap:0 5px}.day{margin-right:5px}.closed{grid-column:2/5}.from,.to{justify-self:end}.last{margin-bottom:5px}\n"] }]
        }], ctorParameters: function () { return [{ type: i1$3.ObserveResizeService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
                type: Input
            }], smallQuery: [], mediumQuery: [], _smallClass: [{
                type: HostBinding,
                args: ['class.small']
            }], _mediumClass: [{
                type: HostBinding,
                args: ['class.medium']
            }] } });

class ValueVerifiedViewModule {
}
ValueVerifiedViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ValueVerifiedViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
ValueVerifiedViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: ValueVerifiedViewModule, declarations: [ValueVerifiedViewComponent], imports: [CommonModule, IconsModule, HelperPipesModule, MatLegacyTooltipModule], exports: [ValueVerifiedViewComponent] });
ValueVerifiedViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ValueVerifiedViewModule, imports: [CommonModule, IconsModule, HelperPipesModule, MatLegacyTooltipModule] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ValueVerifiedViewModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [ValueVerifiedViewComponent],
                    imports: [CommonModule, IconsModule, HelperPipesModule, MatLegacyTooltipModule],
                    exports: [ValueVerifiedViewComponent],
                }]
        }] });

class OpeningHoursViewModule {
}
OpeningHoursViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
OpeningHoursViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursViewModule, declarations: [OpeningHoursViewComponent,
        OpeningHoursDateViewComponent,
        OpeningHoursDayViewComponent], imports: [CommonModule, HelperPipesModule, ValueVerifiedViewModule], exports: [OpeningHoursViewComponent, OpeningHoursDateViewComponent, OpeningHoursDayViewComponent] });
OpeningHoursViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursViewModule, imports: [CommonModule, HelperPipesModule, ValueVerifiedViewModule] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OpeningHoursViewModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [
                        OpeningHoursViewComponent,
                        OpeningHoursDateViewComponent,
                        OpeningHoursDayViewComponent,
                    ],
                    imports: [CommonModule, HelperPipesModule, ValueVerifiedViewModule],
                    exports: [OpeningHoursViewComponent, OpeningHoursDateViewComponent, OpeningHoursDayViewComponent],
                }]
        }] });

class SocialValueViewComponent extends AbstractPropertyValueViewComponent {
    constructor(_matomo) {
        super();
        this._matomo = _matomo;
        this.CommunicationType = CommunicationType;
    }
    click(event) {
        if (!this.clickable) {
            event.preventDefault();
        }
        this._matomo.trackEvent('Social value', 'click', this.property.type.toLowerCase());
    }
}
SocialValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SocialValueViewComponent, deps: [{ token: i1.MatomoService }], target: i0.ɵɵFactoryTarget.Component });
SocialValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: SocialValueViewComponent, selector: "ax-social-value-view", inputs: { label: "label" }, usesInheritance: true, ngImport: i0, template: "<div class=\"social-wrapper\">\n  <ax-icon\n    [inline]=\"true\"\n    *ngIf=\"property | propertyIsVerified\"\n    [ngClass]=\"verificationColor()\"\n    class=\"icon c-card__property-icon\"\n    name=\"custom:verified\"\n    [matTooltip]=\"property | propertyVerificationLabel\"\n  ></ax-icon>\n</div>\n\n<div class=\"c-card__property\" [ngClass]=\"{'has-verify-icon': showVerificationLabel}\">\n  <ng-content></ng-content>\n  <ax-value-verified-view [property]=\"property\" [showVerificationLabel]=\"showVerificationLabel\">\n    <a\n      class=\"social\"\n      [ngClass]=\"property?.type | propertyIcon\"\n      [href]=\"property | propertyCommunicationHref: CommunicationType.URL:params\"\n      target=\"_blank\"\n      (click)=\"click($event)\"\n    >\n      <ax-icon class=\"icon social__logo\" [name]=\"property?.type | propertyIcon\"></ax-icon>\n      <span class=\"social__name\">{{ label || (property | propertySocialName) }}</span>\n    </a>\n  </ax-value-verified-view>\n  <ax-icon\n    [inline]=\"true\"\n    *ngIf=\"showVerificationLabel\"\n    [ngClass]=\"verificationColor()\"\n    class=\"c-card__property-icon\"\n    name=\"custom:verified\"\n    [matTooltip]=\"parentProperty || property | propertyVerificationLabel\"\n  ></ax-icon>\n</div>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ".social-wrapper .icon.c-card__property-icon{width:1rem;height:1rem}.social{border:1px solid #2b323a;text-decoration:none;cursor:pointer;display:grid;grid-template-columns:24px 1fr;align-items:center;max-width:100%;background-color:#fff;padding:.25rem .75rem;border-radius:50px;line-height:1;margin-right:.25rem;transition:background-color .3s ease,color .3s ease}.social,.social:visited,.social:hover{color:#555}.social:active,.social:focus{color:#555}.social .icon{width:1em;height:1em}.social .social__logo{color:#2b323a}.social:hover{background-color:#2b323a;color:#fff;text-decoration:none}.social:hover .social__logo{color:#fff}.social.facebook{border:1px solid #1877f2}.social.facebook .social__logo{color:#1877f2}.social.facebook:hover{background-color:#1877f2}.social.facebook:hover .social__logo{color:#fff}.social.twitter{border:1px solid #000}.social.twitter .social__logo{color:#000}.social.twitter:hover{background-color:#000}.social.twitter:hover .social__logo{color:#fff}.social.yahoo{border:1px solid #9871d8}.social.yahoo .social__logo{color:#9871d8}.social.yahoo:hover{background-color:#9871d8}.social.yahoo:hover .social__logo{color:#fff}.social.google{border:1px solid #5789ee}.social.google .social__logo{color:#5789ee}.social.google:hover{background-color:#5789ee}.social.google:hover .social__logo{color:#fff}.social.instagram{border:1px solid #fd5949}.social.instagram:hover{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}.social.instagram:hover .social__logo{color:#fff}.social.deliveroo .social__logo{color:#00ccbc}.social__name{max-width:100%;overflow:hidden;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.social__logo{text-decoration:none;width:24px;height:20px;font-size:1.125rem;line-height:1;margin-right:.5rem}.social__avatar{width:24px;height:24px;display:block;margin-right:.5rem}.social__avatar ::ng-deep img{max-width:24px}.social__verified{width:1em;height:1em}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i2.IconComponent, selector: "ax-icon", inputs: ["name", "inline"] }, { kind: "component", type: ValueVerifiedViewComponent, selector: "ax-value-verified-view" }, { kind: "pipe", type: i1.PropertyCommunicationHrefPipe, name: "propertyCommunicationHref" }, { kind: "pipe", type: i1.PropertyVerificationLabelPipe, name: "propertyVerificationLabel" }, { kind: "pipe", type: i1.PropertyIsVerifiedPipe, name: "propertyIsVerified" }, { kind: "pipe", type: i1.PropertyIconPipe, name: "propertyIcon" }, { kind: "pipe", type: i1.PropertySocialNamePipe, name: "propertySocialName" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SocialValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-social-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"social-wrapper\">\n  <ax-icon\n    [inline]=\"true\"\n    *ngIf=\"property | propertyIsVerified\"\n    [ngClass]=\"verificationColor()\"\n    class=\"icon c-card__property-icon\"\n    name=\"custom:verified\"\n    [matTooltip]=\"property | propertyVerificationLabel\"\n  ></ax-icon>\n</div>\n\n<div class=\"c-card__property\" [ngClass]=\"{'has-verify-icon': showVerificationLabel}\">\n  <ng-content></ng-content>\n  <ax-value-verified-view [property]=\"property\" [showVerificationLabel]=\"showVerificationLabel\">\n    <a\n      class=\"social\"\n      [ngClass]=\"property?.type | propertyIcon\"\n      [href]=\"property | propertyCommunicationHref: CommunicationType.URL:params\"\n      target=\"_blank\"\n      (click)=\"click($event)\"\n    >\n      <ax-icon class=\"icon social__logo\" [name]=\"property?.type | propertyIcon\"></ax-icon>\n      <span class=\"social__name\">{{ label || (property | propertySocialName) }}</span>\n    </a>\n  </ax-value-verified-view>\n  <ax-icon\n    [inline]=\"true\"\n    *ngIf=\"showVerificationLabel\"\n    [ngClass]=\"verificationColor()\"\n    class=\"c-card__property-icon\"\n    name=\"custom:verified\"\n    [matTooltip]=\"parentProperty || property | propertyVerificationLabel\"\n  ></ax-icon>\n</div>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ".social-wrapper .icon.c-card__property-icon{width:1rem;height:1rem}.social{border:1px solid #2b323a;text-decoration:none;cursor:pointer;display:grid;grid-template-columns:24px 1fr;align-items:center;max-width:100%;background-color:#fff;padding:.25rem .75rem;border-radius:50px;line-height:1;margin-right:.25rem;transition:background-color .3s ease,color .3s ease}.social,.social:visited,.social:hover{color:#555}.social:active,.social:focus{color:#555}.social .icon{width:1em;height:1em}.social .social__logo{color:#2b323a}.social:hover{background-color:#2b323a;color:#fff;text-decoration:none}.social:hover .social__logo{color:#fff}.social.facebook{border:1px solid #1877f2}.social.facebook .social__logo{color:#1877f2}.social.facebook:hover{background-color:#1877f2}.social.facebook:hover .social__logo{color:#fff}.social.twitter{border:1px solid #000}.social.twitter .social__logo{color:#000}.social.twitter:hover{background-color:#000}.social.twitter:hover .social__logo{color:#fff}.social.yahoo{border:1px solid #9871d8}.social.yahoo .social__logo{color:#9871d8}.social.yahoo:hover{background-color:#9871d8}.social.yahoo:hover .social__logo{color:#fff}.social.google{border:1px solid #5789ee}.social.google .social__logo{color:#5789ee}.social.google:hover{background-color:#5789ee}.social.google:hover .social__logo{color:#fff}.social.instagram{border:1px solid #fd5949}.social.instagram:hover{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}.social.instagram:hover .social__logo{color:#fff}.social.deliveroo .social__logo{color:#00ccbc}.social__name{max-width:100%;overflow:hidden;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.social__logo{text-decoration:none;width:24px;height:20px;font-size:1.125rem;line-height:1;margin-right:.5rem}.social__avatar{width:24px;height:24px;display:block;margin-right:.5rem}.social__avatar ::ng-deep img{max-width:24px}.social__verified{width:1em;height:1em}\n"] }]
        }], ctorParameters: function () { return [{ type: i1.MatomoService }]; }, propDecorators: { label: [{
                type: Input
            }] } });

class PropertyValueViewComponent {
    constructor() {
        this.isIndividual = false;
        // eslint-disable-next-line @typescript-eslint/naming-convention
        this.PropertyType = PropertyType;
        // eslint-disable-next-line @typescript-eslint/naming-convention
        this.AvatarType = AvatarType;
    }
}
PropertyValueViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyValueViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
PropertyValueViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: PropertyValueViewComponent, selector: "ax-property-value-view", inputs: { property: "property", showVerificationLabel: "showVerificationLabel", clickable: "clickable", isIndividual: "isIndividual", params: "params" }, ngImport: i0, template: "<ng-template [ngIf]=\"!(property | propertyHasValue)\" [ngIfElse]=\"ready\">\n  <ax-default-value-view\n    [property]=\"property\"\n    [showVerificationLabel]=\"false\"\n    [clickable]=\"false\"\n  ></ax-default-value-view>\n</ng-template>\n\n<ng-template #ready>\n  <ng-container [ngSwitch]=\"true\">\n    <ax-avatar\n      *ngSwitchCase=\"property | isOfType: PropertyType.AVATAR\"\n      [type]=\"isIndividual ? AvatarType.INDIVIDUAL : AvatarType.ORGANISATION\"\n      [source]=\"property.value\"\n      [round]=\"isIndividual\"\n    ></ax-avatar>\n    <ax-bankaccount-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.BANK_ACCOUNT\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-bankaccount-value-view>\n    <ax-legalid-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.LEGAL_ID\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-legalid-value-view>\n    <ax-social-value-view\n      *ngSwitchCase=\"property | propertyIsSocialRelated\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n      [params]=\"params\"\n    ></ax-social-value-view>\n    <ax-opening-hours-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.OPENING_HOURS\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-opening-hours-view>\n    <ax-image-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.IMAGE\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-image-value-view>\n    <ax-file-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.FILE\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-file-value-view>\n    <ax-document-value-view\n      *ngSwitchCase=\"property | propertyIsDocumentRelated\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-document-value-view>\n    <ax-communication-value-view\n      *ngSwitchCase=\"\n        (property | propertyIsCommunicationRelated) && !(property | propertyIsSocialRelated)\n      \"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n      [params]=\"params\"\n    ></ax-communication-value-view>\n    <ax-category-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.CATEGORY\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-category-value-view>\n    <ax-default-value-view\n      *ngSwitchDefault\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-default-value-view>\n  </ng-container>\n</ng-template>\n", styles: ["ax-avatar{width:30px;height:30px;display:inline-block}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2$2.AvatarComponent, selector: "ax-avatar", inputs: ["source", "type", "icon", "iconColor", "badge", "badgeColor", "border", "round", "rounded", "published"] }, { kind: "component", type: OpeningHoursViewComponent, selector: "ax-opening-hours-view", inputs: ["size"] }, { kind: "component", type: BankaccountValueViewComponent, selector: "ax-bankaccount-value-view" }, { kind: "component", type: DefaultValueViewComponent, selector: "ax-default-value-view" }, { kind: "component", type: SocialValueViewComponent, selector: "ax-social-value-view", inputs: ["label"] }, { kind: "component", type: LegalidValueViewComponent, selector: "ax-legalid-value-view" }, { kind: "component", type: FileValueViewComponent, selector: "ax-file-value-view" }, { kind: "component", type: ImageValueViewComponent, selector: "ax-image-value-view" }, { kind: "component", type: DocumentValueViewComponent, selector: "ax-document-value-view" }, { kind: "component", type: CommunicationValueViewComponent, selector: "ax-communication-value-view" }, { kind: "component", type: CategoryValueViewComponent, selector: "ax-category-value-view" }, { kind: "pipe", type: i1.IsOfTypePipe, name: "isOfType" }, { kind: "pipe", type: i1.PropertyIsCommunicationRelatedPipe, name: "propertyIsCommunicationRelated" }, { kind: "pipe", type: i1.PropertyIsDocumentRelatedPipe, name: "propertyIsDocumentRelated" }, { kind: "pipe", type: i1.PropertyIsSocialRelatedPipe, name: "propertyIsSocialRelated" }, { kind: "pipe", type: i1.PropertyHasValuePipe, name: "propertyHasValue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-property-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template [ngIf]=\"!(property | propertyHasValue)\" [ngIfElse]=\"ready\">\n  <ax-default-value-view\n    [property]=\"property\"\n    [showVerificationLabel]=\"false\"\n    [clickable]=\"false\"\n  ></ax-default-value-view>\n</ng-template>\n\n<ng-template #ready>\n  <ng-container [ngSwitch]=\"true\">\n    <ax-avatar\n      *ngSwitchCase=\"property | isOfType: PropertyType.AVATAR\"\n      [type]=\"isIndividual ? AvatarType.INDIVIDUAL : AvatarType.ORGANISATION\"\n      [source]=\"property.value\"\n      [round]=\"isIndividual\"\n    ></ax-avatar>\n    <ax-bankaccount-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.BANK_ACCOUNT\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-bankaccount-value-view>\n    <ax-legalid-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.LEGAL_ID\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-legalid-value-view>\n    <ax-social-value-view\n      *ngSwitchCase=\"property | propertyIsSocialRelated\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n      [params]=\"params\"\n    ></ax-social-value-view>\n    <ax-opening-hours-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.OPENING_HOURS\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-opening-hours-view>\n    <ax-image-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.IMAGE\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-image-value-view>\n    <ax-file-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.FILE\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-file-value-view>\n    <ax-document-value-view\n      *ngSwitchCase=\"property | propertyIsDocumentRelated\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-document-value-view>\n    <ax-communication-value-view\n      *ngSwitchCase=\"\n        (property | propertyIsCommunicationRelated) && !(property | propertyIsSocialRelated)\n      \"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n      [params]=\"params\"\n    ></ax-communication-value-view>\n    <ax-category-value-view\n      *ngSwitchCase=\"property | isOfType: PropertyType.CATEGORY\"\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-category-value-view>\n    <ax-default-value-view\n      *ngSwitchDefault\n      [property]=\"property\"\n      [showVerificationLabel]=\"showVerificationLabel\"\n      [clickable]=\"clickable\"\n    ></ax-default-value-view>\n  </ng-container>\n</ng-template>\n", styles: ["ax-avatar{width:30px;height:30px;display:inline-block}\n"] }]
        }], propDecorators: { property: [{
                type: Input
            }], showVerificationLabel: [{
                type: Input
            }], clickable: [{
                type: Input
            }], isIndividual: [{
                type: Input
            }], params: [{
                type: Input
            }] } });

const COMPONENTS = [
    PropertyValueViewComponent,
    AddressValueViewComponent,
    BankaccountValueViewComponent,
    DefaultValueViewComponent,
    SocialValueViewComponent,
    LegalidValueViewComponent,
    FileValueViewComponent,
    ImageValueViewComponent,
    DocumentValueViewComponent,
    CommunicationValueViewComponent,
    CategoryValueViewComponent,
];
class PropertyViewModule {
}
PropertyViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
PropertyViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: PropertyViewModule, declarations: [PropertyValueViewComponent,
        AddressValueViewComponent,
        BankaccountValueViewComponent,
        DefaultValueViewComponent,
        SocialValueViewComponent,
        LegalidValueViewComponent,
        FileValueViewComponent,
        ImageValueViewComponent,
        DocumentValueViewComponent,
        CommunicationValueViewComponent,
        CategoryValueViewComponent], imports: [CommonModule,
        MatLegacyTooltipModule,
        IconsModule,
        RowCellViewModule,
        HelperPipesModule,
        AvatarModule,
        ValueVerifiedViewModule,
        OpeningHoursViewModule,
        ImageSourceModule,
        FileSourceModule,
        ButtonModule,
        ImagePreviewButtonModule], exports: [PropertyValueViewComponent,
        AddressValueViewComponent,
        BankaccountValueViewComponent,
        DefaultValueViewComponent,
        SocialValueViewComponent,
        LegalidValueViewComponent,
        FileValueViewComponent,
        ImageValueViewComponent,
        DocumentValueViewComponent,
        CommunicationValueViewComponent,
        CategoryValueViewComponent, OpeningHoursViewModule] });
PropertyViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyViewModule, imports: [CommonModule,
        MatLegacyTooltipModule,
        IconsModule,
        RowCellViewModule,
        HelperPipesModule,
        AvatarModule,
        ValueVerifiedViewModule,
        OpeningHoursViewModule,
        ImageSourceModule,
        FileSourceModule,
        ButtonModule,
        ImagePreviewButtonModule, OpeningHoursViewModule] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyViewModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [
                        CommonModule,
                        MatLegacyTooltipModule,
                        IconsModule,
                        RowCellViewModule,
                        HelperPipesModule,
                        AvatarModule,
                        ValueVerifiedViewModule,
                        OpeningHoursViewModule,
                        ImageSourceModule,
                        FileSourceModule,
                        ButtonModule,
                        ImagePreviewButtonModule,
                    ],
                    declarations: [...COMPONENTS],
                    exports: [...COMPONENTS, OpeningHoursViewModule],
                }]
        }] });

/**
 * Generated bundle index. Do not edit.
 */

export { AbstractPropertyValueViewComponent, AddressValueViewComponent, BankaccountValueViewComponent, CategoryValueViewComponent, CommunicationValueViewComponent, DefaultValueViewComponent, DocumentValueViewComponent, FileValueViewComponent, ImageValueViewComponent, LegalidValueViewComponent, OpeningHoursDateViewComponent, OpeningHoursDayViewComponent, OpeningHoursViewComponent, OpeningHoursViewModule, PropertyValueViewComponent, PropertyViewModule, SocialValueViewComponent };
//# sourceMappingURL=aztrix-components-property-view.mjs.map
//# sourceMappingURL=aztrix-components-property-view.mjs.map
