|
|
@ -5,7 +5,7 @@ |
|
|
data.rule.configuration.thresholdMin && data.rule.configuration.thresholdMax |
|
|
data.rule.configuration.thresholdMin && data.rule.configuration.thresholdMax |
|
|
) { |
|
|
) { |
|
|
<div class="w-100"> |
|
|
<div class="w-100"> |
|
|
<h6 class="mb-0 d-flex"> |
|
|
<h6 class="d-flex mb-0"> |
|
|
<ng-container i18n>Threshold range</ng-container>: |
|
|
<ng-container i18n>Threshold range</ng-container>: |
|
|
<gf-value |
|
|
<gf-value |
|
|
class="mx-1" |
|
|
class="mx-1" |
|
|
@ -13,7 +13,7 @@ |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.settings.thresholdMin" |
|
|
[value]="data.settings.thresholdMin" |
|
|
></gf-value> |
|
|
/> |
|
|
- |
|
|
- |
|
|
<gf-value |
|
|
<gf-value |
|
|
class="mx-1" |
|
|
class="mx-1" |
|
|
@ -21,7 +21,7 @@ |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.settings.thresholdMax" |
|
|
[value]="data.settings.thresholdMax" |
|
|
></gf-value> |
|
|
/> |
|
|
</h6> |
|
|
</h6> |
|
|
<div class="align-items-center d-flex w-100"> |
|
|
<div class="align-items-center d-flex w-100"> |
|
|
<gf-value |
|
|
<gf-value |
|
|
@ -29,7 +29,7 @@ |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.rule.configuration.threshold.min" |
|
|
[value]="data.rule.configuration.threshold.min" |
|
|
></gf-value> |
|
|
/> |
|
|
<mat-slider |
|
|
<mat-slider |
|
|
class="flex-grow-1" |
|
|
class="flex-grow-1" |
|
|
[max]="data.rule.configuration.threshold.max" |
|
|
[max]="data.rule.configuration.threshold.max" |
|
|
@ -44,7 +44,7 @@ |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.rule.configuration.threshold.max" |
|
|
[value]="data.rule.configuration.threshold.max" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
} @else { |
|
|
} @else { |
|
|
@ -52,15 +52,15 @@ |
|
|
class="w-100" |
|
|
class="w-100" |
|
|
[ngClass]="{ 'd-none': !data.rule.configuration.thresholdMin }" |
|
|
[ngClass]="{ 'd-none': !data.rule.configuration.thresholdMin }" |
|
|
> |
|
|
> |
|
|
<h6 class="mb-0 d-flex"> |
|
|
<h6 class="d-flex mb-0"> |
|
|
<ng-container i18n>Threshold Min</ng-container>: |
|
|
<ng-container i18n>Threshold Min</ng-container>: |
|
|
<gf-value |
|
|
<gf-value |
|
|
class="mx-1" |
|
|
class="ml-1" |
|
|
[isPercent]="data.rule.configuration.threshold.unit === '%'" |
|
|
[isPercent]="data.rule.configuration.threshold.unit === '%'" |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.settings.thresholdMin" |
|
|
[value]="data.settings.thresholdMin" |
|
|
></gf-value> |
|
|
/> |
|
|
</h6> |
|
|
</h6> |
|
|
<div class="align-items-center d-flex w-100"> |
|
|
<div class="align-items-center d-flex w-100"> |
|
|
<gf-value |
|
|
<gf-value |
|
|
@ -68,7 +68,7 @@ |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.rule.configuration.threshold.min" |
|
|
[value]="data.rule.configuration.threshold.min" |
|
|
></gf-value> |
|
|
/> |
|
|
<mat-slider |
|
|
<mat-slider |
|
|
class="flex-grow-1" |
|
|
class="flex-grow-1" |
|
|
name="thresholdMin" |
|
|
name="thresholdMin" |
|
|
@ -83,21 +83,22 @@ |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.rule.configuration.threshold.max" |
|
|
[value]="data.rule.configuration.threshold.max" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div |
|
|
<div |
|
|
class="w-100" |
|
|
class="w-100" |
|
|
[ngClass]="{ 'd-none': !data.rule.configuration.thresholdMax }" |
|
|
[ngClass]="{ 'd-none': !data.rule.configuration.thresholdMax }" |
|
|
> |
|
|
> |
|
|
<h6 class="mb-0"> |
|
|
<h6 class="d-flex mb-0"> |
|
|
<ng-container i18n>Threshold Max</ng-container>: |
|
|
<ng-container i18n>Threshold Max</ng-container>: |
|
|
<gf-value |
|
|
<gf-value |
|
|
|
|
|
class="ml-1" |
|
|
[isPercent]="data.rule.configuration.threshold.unit === '%'" |
|
|
[isPercent]="data.rule.configuration.threshold.unit === '%'" |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.settings.thresholdMax" |
|
|
[value]="data.settings.thresholdMax" |
|
|
></gf-value> |
|
|
/> |
|
|
</h6> |
|
|
</h6> |
|
|
<div class="align-items-center d-flex w-100"> |
|
|
<div class="align-items-center d-flex w-100"> |
|
|
<gf-value |
|
|
<gf-value |
|
|
@ -105,7 +106,7 @@ |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.rule.configuration.threshold.min" |
|
|
[value]="data.rule.configuration.threshold.min" |
|
|
></gf-value> |
|
|
/> |
|
|
<mat-slider |
|
|
<mat-slider |
|
|
class="flex-grow-1" |
|
|
class="flex-grow-1" |
|
|
name="thresholdMax" |
|
|
name="thresholdMax" |
|
|
@ -120,7 +121,7 @@ |
|
|
[locale]="data.locale" |
|
|
[locale]="data.locale" |
|
|
[precision]="2" |
|
|
[precision]="2" |
|
|
[value]="data.rule.configuration.threshold.max" |
|
|
[value]="data.rule.configuration.threshold.max" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
} |
|
|
} |
|
|
|