UI: Fixed build after merge
This commit is contained in:
parent
a0796de0e4
commit
7f122a9d5f
@ -18,14 +18,13 @@
|
|||||||
<section [formGroup]="alarmSeveritiesForm">
|
<section [formGroup]="alarmSeveritiesForm">
|
||||||
<mat-form-field fxFlex class="mat-block" [floatLabel]="flotLabel">
|
<mat-form-field fxFlex class="mat-block" [floatLabel]="flotLabel">
|
||||||
<mat-label translate>alarm.alarm-severity-list</mat-label>
|
<mat-label translate>alarm.alarm-severity-list</mat-label>
|
||||||
<mat-chip-list #severitiesChipList formControlName="alarmSeverities" [required]="required">
|
<mat-chip-grid #severitiesChipList formControlName="alarmSeverities" [required]="required">
|
||||||
<mat-chip *ngFor="let severity of alarmSeveritiesForm.get('alarmSeverities').value"
|
<mat-chip-row *ngFor="let severity of alarmSeveritiesForm.get('alarmSeverities').value"
|
||||||
[selectable]="!disabled"
|
|
||||||
[removable]="!disabled"
|
[removable]="!disabled"
|
||||||
(removed)="onSeverityRemoved(severity)">
|
(removed)="onSeverityRemoved(severity)">
|
||||||
{{ alarmSeverityTranslationMap.get(severity) | translate }}
|
{{ alarmSeverityTranslationMap.get(severity) | translate }}
|
||||||
<mat-icon matChipRemove *ngIf="!disabled">close</mat-icon>
|
<mat-icon matChipRemove *ngIf="!disabled">close</mat-icon>
|
||||||
</mat-chip>
|
</mat-chip-row>
|
||||||
<input matInput
|
<input matInput
|
||||||
type="text"
|
type="text"
|
||||||
formControlName="alarmSeverity"
|
formControlName="alarmSeverity"
|
||||||
@ -39,7 +38,7 @@
|
|||||||
[matChipInputFor]="severitiesChipList"
|
[matChipInputFor]="severitiesChipList"
|
||||||
[matChipInputSeparatorKeyCodes]="separatorKeysCodes"
|
[matChipInputSeparatorKeyCodes]="separatorKeysCodes"
|
||||||
(matChipInputTokenEnd)="addSeverityFromChipInput($event)">
|
(matChipInputTokenEnd)="addSeverityFromChipInput($event)">
|
||||||
</mat-chip-list>
|
</mat-chip-grid>
|
||||||
<mat-autocomplete #severityAutocomplete="matAutocomplete"
|
<mat-autocomplete #severityAutocomplete="matAutocomplete"
|
||||||
class="tb-autocomplete"
|
class="tb-autocomplete"
|
||||||
(optionSelected)="addSeverityFromAutocomplete($event)"
|
(optionSelected)="addSeverityFromAutocomplete($event)"
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
[matAutocomplete]="templateAutocomplete">
|
[matAutocomplete]="templateAutocomplete">
|
||||||
<button *ngIf="selectTemplateFormGroup.get('templateName').value && !disabled"
|
<button *ngIf="selectTemplateFormGroup.get('templateName').value && !disabled"
|
||||||
type="button"
|
type="button"
|
||||||
matSuffix mat-button mat-icon-button aria-label="Clear"
|
matSuffix mat-icon-button aria-label="Clear"
|
||||||
(click)="clear()">
|
(click)="clear()">
|
||||||
<mat-icon class="material-icons">close</mat-icon>
|
<mat-icon class="material-icons">close</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
@ -41,11 +41,11 @@
|
|||||||
>
|
>
|
||||||
<mat-option *ngFor="let template of filteredTemplate | async" [value]="template" class="template-option">
|
<mat-option *ngFor="let template of filteredTemplate | async" [value]="template" class="template-option">
|
||||||
<span class="template-option-name" [innerHTML]="template.name | highlight:searchText"></span>
|
<span class="template-option-name" [innerHTML]="template.name | highlight:searchText"></span>
|
||||||
<mat-chip-list>
|
<mat-chip-grid>
|
||||||
<mat-chip disabled *ngFor="let method of template.configuration.deliveryMethodsTemplates | keyvalue">
|
<mat-chip-row disabled *ngFor="let method of template.configuration.deliveryMethodsTemplates | keyvalue">
|
||||||
{{ notificationDeliveryMethodTranslateMap.get(method.key) | translate }}
|
{{ notificationDeliveryMethodTranslateMap.get(method.key) | translate }}
|
||||||
</mat-chip>
|
</mat-chip-row>
|
||||||
</mat-chip-list>
|
</mat-chip-grid>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option *ngIf="!(filteredTemplate | async)?.length" [value]="null" class="tb-not-found">
|
<mat-option *ngIf="!(filteredTemplate | async)?.length" [value]="null" class="tb-not-found">
|
||||||
<div class="tb-not-found-content" (click)="$event.stopPropagation()">
|
<div class="tb-not-found-content" (click)="$event.stopPropagation()">
|
||||||
|
|||||||
@ -18,21 +18,20 @@
|
|||||||
<section [formGroup]="stringItemsForm">
|
<section [formGroup]="stringItemsForm">
|
||||||
<mat-form-field fxFlex class="mat-block" [floatLabel]="floatLabel" [appearance]="appearance">
|
<mat-form-field fxFlex class="mat-block" [floatLabel]="floatLabel" [appearance]="appearance">
|
||||||
<mat-label *ngIf="label">{{ label }}</mat-label>
|
<mat-label *ngIf="label">{{ label }}</mat-label>
|
||||||
<mat-chip-list #itemsChipList formControlName="items" [required]="required">
|
<mat-chip-grid #itemsChipList formControlName="items" [required]="required">
|
||||||
<mat-chip *ngFor="let item of stringItemsList"
|
<mat-chip-row *ngFor="let item of stringItemsList"
|
||||||
[selectable]="!disabled"
|
|
||||||
[removable]="!disabled"
|
[removable]="!disabled"
|
||||||
[contentEditable]="editable && !disabled"
|
[contentEditable]="editable && !disabled"
|
||||||
(removed)="removeItems(item)">
|
(removed)="removeItems(item)">
|
||||||
{{item}}
|
{{item}}
|
||||||
<mat-icon matChipRemove *ngIf="!disabled">close</mat-icon>
|
<mat-icon matChipRemove *ngIf="!disabled">close</mat-icon>
|
||||||
</mat-chip>
|
</mat-chip-row>
|
||||||
<input placeholder="{{ placeholder }}"
|
<input placeholder="{{ placeholder }}"
|
||||||
[matChipInputFor]="itemsChipList"
|
[matChipInputFor]="itemsChipList"
|
||||||
[matChipInputSeparatorKeyCodes]="separatorKeysCodes"
|
[matChipInputSeparatorKeyCodes]="separatorKeysCodes"
|
||||||
matChipInputAddOnBlur
|
matChipInputAddOnBlur
|
||||||
(matChipInputTokenEnd)="addItem($event)">
|
(matChipInputTokenEnd)="addItem($event)">
|
||||||
</mat-chip-list>
|
</mat-chip-grid>
|
||||||
<mat-hint>{{ hint }}</mat-hint>
|
<mat-hint>{{ hint }}</mat-hint>
|
||||||
<mat-error *ngIf="stringItemsForm.get('items').hasError('required')">{{ requiredText }}</mat-error>
|
<mat-error *ngIf="stringItemsForm.get('items').hasError('required')">{{ requiredText }}</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|||||||
@ -73,7 +73,7 @@ export class StringItemsListComponent implements ControlValueAccessor{
|
|||||||
floatLabel: FloatLabelType = 'auto';
|
floatLabel: FloatLabelType = 'auto';
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
appearance: MatFormFieldAppearance = 'standard';
|
appearance: MatFormFieldAppearance = 'fill';
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
@coerceBoolean()
|
@coerceBoolean()
|
||||||
|
|||||||
@ -1446,6 +1446,14 @@ mat-label {
|
|||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TinyMCE
|
||||||
|
|
||||||
|
.tox-tinymce {
|
||||||
|
button:not(.mat-mdc-menu-item):not(.mat-sort-header-button) {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.tb-toast-panel {
|
.tb-toast-panel {
|
||||||
pointer-events: none !important;
|
pointer-events: none !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user