blob: cd06e75ba6c2cf3ae42e708cfa016e878ba93846 (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<div class="root flex-column">
<div class="d-flex">
<label>
<input
type="checkbox"
[(ngModel)]="checked"
(ngModelChange)="onModelChange()"
[id]="inputName"
[disabled]="disabled"
/>
<span role="checkbox" [attr.aria-checked]="checked" [attr.aria-label]="labelText || labelInnerHTML"></span>
<span *ngIf="labelText">{{ labelText }}</span>
<span
*ngIf="!labelText && labelInnerHTML"
[innerHTML]="labelInnerHTML"
></span>
<span *ngIf="labelTemplate">
<ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
</span>
</label>
<my-help
*ngIf="helpTemplate"
[tooltipPlacement]="helpPlacement"
helpType="custom"
>
<ng-template ptTemplate="customHtml">
<ng-template *ngTemplateOutlet="helpTemplate"></ng-template>
</ng-template>
</my-help>
<div *ngIf="recommended" class="recommended" i18n>Recommended</div>
</div>
<div class="ms-4 d-flex flex-column">
<div class="wrapper form-group-description">
<ng-content select="description"></ng-content>
</div>
<span class="wrapper mt-3">
<ng-content select="extra"></ng-content>
</span>
</div>
</div>
|