@eric-emg/symphiq-components 1.2.291 → 1.2.293
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55108,12 +55108,7 @@ class TargetChangeBadgeComponent {
|
|
|
55108
55108
|
return MetricEnumUtil.increaseBad(metricStr);
|
|
55109
55109
|
}, ...(ngDevMode ? [{ debugName: "isIncreaseBad" }] : []));
|
|
55110
55110
|
this.iconSymbol = computed(() => {
|
|
55111
|
-
|
|
55112
|
-
if (change > 0)
|
|
55113
|
-
return '↗';
|
|
55114
|
-
if (change < 0)
|
|
55115
|
-
return '↘';
|
|
55116
|
-
return '→';
|
|
55111
|
+
return this.isIncreaseBad() ? '↘' : '↗';
|
|
55117
55112
|
}, ...(ngDevMode ? [{ debugName: "iconSymbol" }] : []));
|
|
55118
55113
|
this.animatedPercentageText = computed(() => {
|
|
55119
55114
|
const sign = this.isIncreaseBad() ? '' : '+';
|
|
@@ -55132,15 +55127,7 @@ class TargetChangeBadgeComponent {
|
|
|
55132
55127
|
}, ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
|
|
55133
55128
|
this.isIncrease = computed(() => this.percentageChange() > 0, ...(ngDevMode ? [{ debugName: "isIncrease" }] : []));
|
|
55134
55129
|
this.targetRotation = computed(() => {
|
|
55135
|
-
|
|
55136
|
-
const increaseBad = this.isIncreaseBad();
|
|
55137
|
-
if (change > 0) {
|
|
55138
|
-
return increaseBad ? 1 : -1;
|
|
55139
|
-
}
|
|
55140
|
-
else if (change < 0) {
|
|
55141
|
-
return increaseBad ? -1 : 1;
|
|
55142
|
-
}
|
|
55143
|
-
return 0;
|
|
55130
|
+
return this.isIncreaseBad() ? 1 : -1;
|
|
55144
55131
|
}, ...(ngDevMode ? [{ debugName: "targetRotation" }] : []));
|
|
55145
55132
|
this.rotationStyle = computed(() => {
|
|
55146
55133
|
const target = this.targetRotation();
|