datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-file-types/datapoints-exports-selector-file-types.component.ts
selector | c8y-datapoints-export-selector-file-types |
standalone | true |
imports |
CoreModule
FormsModule
|
templateUrl | ./datapoints-exports-selector-file-types.component.html |
Inputs |
dynamicFilesTypeMetadata |
Type : literal type
|
Default value : {}
|
formGroup |
Type : ReturnType<>
|
<fieldset class="c8y-fieldset">
<legend class="d-flex a-i-center">{{ 'File types' | translate }}</legend>
<div [formGroup]="formGroup">
<div formGroupName="fileTypes">
<c8y-form-group
class="m-b-8"
*ngFor="let item of dynamicFilesTypeMetadata | keyvalue"
>
<label>{{ item.value.label | translate }}</label>
<label
class="c8y-checkbox m-t-0"
title="{{ item.value.title }}"
>
<input
type="checkbox"
formControlName="{{ item.key }}"
/>
<span></span>
<i
class="m-l-8 m-r-4"
c8yIcon="{{ item.value.icon }}"
></i>
</label>
</c8y-form-group>
</div>
</div>
</fieldset>