<GridLayout *ngIf="value" rows="auto" columns="*, auto" [ngSwitch]="type" class="line-info-item m-y-2">
    <Label (tap)="onTap()" [text]="name" class="p-r-5" textWrap="true"></Label>
    <Label (tap)="onTap()" *ngSwitchCase="'phone'" [text]="value | phone" col="1"></Label>
    <Label (tap)="onTap()" *ngSwitchCase="'min'" col="1" text="{{value}} min"></Label>
    <Label (tap)="onTap()" *ngSwitchCase="'data'" [text]="value | data" col="1"></Label>
    <Label (tap)="onTap()" *ngSwitchCase="'price'" col="1" text="{{value | number:'1.0-3'}} Kč"></Label>
    <Label (tap)="onTap()" *ngSwitchCase="'priceMin'" col="1" text="{{value | number:'1.0-3'}} Kč/min"></Label>
    <Label (tap)="onTap()" *ngSwitchCase="'date'" [text]="value | dateTime : false" col="1"></Label>
    <Label (tap)="onTap()" *ngSwitchCase="'dateTime'" [text]="value | dateTime" col="1"></Label>
    <Label (tap)="onTap()" *ngSwitchCase="'duration'" [text]="value | duration" col="1"></Label>
    <Label (tap)="onTap()" *ngSwitchDefault [text]="value" col="1"></Label>
</GridLayout>
