All files / src/app/extensions/tacton/pages/configure/tacton-parameter tacton-parameter.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 272x                                                    
<div *ngIf="item?.properties?.hidden === 'no'" class="border-bottom mb-4">
  <div *ngIf="item.committed" class="float-right">
    <button
      type="button"
      class="btn-tool btn-link"
      (click)="uncommit()"
      title="{{ 'tacton.undo.tooltip' | translate }}"
    >
      <fa-icon [icon]="['fas', 'undo']" />
    </button>
  </div>
  <h4 class="font-weight-bold">{{ item.description }}&nbsp;</h4>
 
  <ng-container [ngSwitch]="true">
    <ish-tacton-image-text-buttons *ngSwitchCase="isImageTextButtons(item)" [parameter]="item" />
    <ish-tacton-text-buttons *ngSwitchCase="isTextButtons(item)" [parameter]="item" />
    <ish-tacton-number-input *ngSwitchCase="isNumberInput(item)" [parameter]="item" />
    <ish-tacton-text-input *ngSwitchCase="isTextInput(item)" [parameter]="item" />
    <ish-tacton-select-input *ngSwitchCase="isSelectInput(item)" [parameter]="item" />
    <ish-tacton-readonly *ngSwitchCase="isReadOnly(item)" [parameter]="item" />
    <ish-tacton-radio-input *ngSwitchCase="isRadioInput(item)" [parameter]="item" />
    <ish-tacton-selected-image *ngSwitchCase="isSelectedImage(item)" [parameter]="item" />
    <pre *ngSwitchDefault class="border border-primary">{{ item | json }}</pre>
  </ng-container>
  <div *ngIf="item.properties.tc_info_text" class="form-text">{{ item.properties.tc_info_text }}</div>
</div>