Back to Thingsboard

Calculated Field.Component

ui-ngx/src/app/modules/home/components/calculated-fields/calculated-field.component.html

4.3.1.11.1 KB
Original Source

{{ 'common.open-details-page' | translate }} {{ 'action.export' | translate }} {{ 'action.delete' | translate }}

{{ 'common.general' | translate }}

{{ 'entity-field.title' | translate }} @if (entityForm.get('name').errors && entityForm.get('name').touched) { @if (entityForm.get('name').hasError('required')) { {{ 'common.hint.title-required' | translate }} } @else if (entityForm.get('name').hasError('maxlength')) { {{ 'common.hint.title-max-length' | translate }} } } {{ 'common.type' | translate }} {{ CalculatedFieldTypeTranslations.has(entityForm.get('type').value) ? (CalculatedFieldTypeTranslations.get(entityForm.get('type').value).name | translate) : entityForm.get('type').value }} @for (type of fieldTypes; track type) { {{ CalculatedFieldTypeTranslations.get(type).name | translate }}
{{ CalculatedFieldTypeTranslations.get(type).hint | translate }} } @switch (entityForm.get('type').value) { @case (CalculatedFieldType.GEOFENCING) { } @case (CalculatedFieldType.PROPAGATION) { } @case (CalculatedFieldType.RELATED_ENTITIES_AGGREGATION) { } @case (CalculatedFieldType.ENTITY_AGGREGATION) { } @default { } }