diff --git a/src/core/explorer.ts b/src/core/explorer.ts index 2ee64399..31f0cdb5 100644 --- a/src/core/explorer.ts +++ b/src/core/explorer.ts @@ -304,7 +304,13 @@ export enum TransactionExplorerValueMetricType { SourceAmountSum = 'sourceAmountSum', SourceAmountAverage = 'sourceAmountAverage', SourceAmountMedian = 'sourceAmountMedian', + SourceAmountQ1Amount = 'sourceQ1Amount', + SourceAmountQ3Amount = 'sourceQ3Amount', + SourceAmount10thPercentile = 'source10thPercentileAmount', SourceAmount90thPercentile = 'source90thPercentileAmount', + SourceAmount95thPercentile = 'source95thPercentileAmount', + SourceAmount99thPercentile = 'source99thPercentileAmount', + SourceTop5AmountSum = 'sourceTop5AmountSum', SourceAmountMinimum = 'sourceAmountMinimum', SourceAmountMaximum = 'sourceAmountMaximum', SourceAmountRange = 'sourceAmountRange', @@ -322,7 +328,13 @@ export class TransactionExplorerValueMetric implements NameValue { public static readonly SourceAmountSum = new TransactionExplorerValueMetric('Total Amount', TransactionExplorerValueMetricType.SourceAmountSum, true, true); public static readonly SourceAmountAverage = new TransactionExplorerValueMetric('Average Amount', TransactionExplorerValueMetricType.SourceAmountAverage, true, true); public static readonly SourceAmountMedian = new TransactionExplorerValueMetric('Median Amount', TransactionExplorerValueMetricType.SourceAmountMedian, true, true); + public static readonly SourceAmountQ1Amount = new TransactionExplorerValueMetric('Q1 Amount (First Quartile)', TransactionExplorerValueMetricType.SourceAmountQ1Amount, true, true); + public static readonly SourceAmountQ3Amount = new TransactionExplorerValueMetric('Q3 Amount (Third Quartile)', TransactionExplorerValueMetricType.SourceAmountQ3Amount, true, true); + public static readonly SourceAmount10thPercentile = new TransactionExplorerValueMetric('10th Percentile Amount', TransactionExplorerValueMetricType.SourceAmount10thPercentile, true, true); public static readonly SourceAmount90thPercentile = new TransactionExplorerValueMetric('90th Percentile Amount', TransactionExplorerValueMetricType.SourceAmount90thPercentile, true, true); + public static readonly SourceAmount95thPercentile = new TransactionExplorerValueMetric('95th Percentile Amount', TransactionExplorerValueMetricType.SourceAmount95thPercentile, true, true); + public static readonly SourceAmount99thPercentile = new TransactionExplorerValueMetric('99th Percentile Amount', TransactionExplorerValueMetricType.SourceAmount99thPercentile, true, true); + public static readonly SourceTop5AmountSum = new TransactionExplorerValueMetric('Top 5 Amount Sum', TransactionExplorerValueMetricType.SourceTop5AmountSum, true, true); public static readonly SourceAmountMinimum = new TransactionExplorerValueMetric('Minimum Amount', TransactionExplorerValueMetricType.SourceAmountMinimum, true, true); public static readonly SourceAmountMaximum = new TransactionExplorerValueMetric('Maximum Amount', TransactionExplorerValueMetricType.SourceAmountMaximum, true, true); public static readonly SourceAmountRange = new TransactionExplorerValueMetric('Range (Max - Min)', TransactionExplorerValueMetricType.SourceAmountRange, true, true); diff --git a/src/locales/de.json b/src/locales/de.json index 07180be6..72af12e3 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaktionsanzahl", "Average Amount": "Durchschnittsbetrag", "Median Amount": "Medianbetrag", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10. Perzentil Betrag", "90th Percentile Amount": "90. Perzentil Betrag", + "95th Percentile Amount": "95. Perzentil Betrag", + "99th Percentile Amount": "99. Perzentil Betrag", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Betragsanteil", "Transactions for 80% of Amount": "Transaktionen für 80% des Betrags", "Range (Max - Min)": "Spanne (Max - Min)", diff --git a/src/locales/en.json b/src/locales/en.json index 5b675ad7..f28e648d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/es.json b/src/locales/es.json index c11fddc8..bbd874bc 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Recuento de transacciones", "Average Amount": "Importe Medio", "Median Amount": "Importe Mediano", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/fr.json b/src/locales/fr.json index ffd02fa4..5d71d558 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/it.json b/src/locales/it.json index 56ca0f13..e2d49e4a 100644 --- a/src/locales/it.json +++ b/src/locales/it.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/ja.json b/src/locales/ja.json index ae68a2e7..634f4646 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/kn.json b/src/locales/kn.json index f9f61cd5..56548ca6 100644 --- a/src/locales/kn.json +++ b/src/locales/kn.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/ko.json b/src/locales/ko.json index 89cfbf96..326abc33 100644 --- a/src/locales/ko.json +++ b/src/locales/ko.json @@ -1808,7 +1808,13 @@ "Transaction Count": "거래 수", "Average Amount": "평균 금액", "Median Amount": "중간 금액", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/nl.json b/src/locales/nl.json index 244c0ebc..4ea39dd5 100644 --- a/src/locales/nl.json +++ b/src/locales/nl.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/pt_BR.json b/src/locales/pt_BR.json index f2a27e7e..e1dce5bd 100644 --- a/src/locales/pt_BR.json +++ b/src/locales/pt_BR.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Quantidade de Transações", "Average Amount": "Valor Médio", "Median Amount": "Valor Mediano", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "Valor do Percentil 10", "90th Percentile Amount": "Valor do Percentil 90", + "95th Percentile Amount": "Valor do Percentil 95", + "99th Percentile Amount": "Valor do Percentil 99", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Participação dos 5 Maiores Valores", "Transactions for 80% of Amount": "Transações para 80% do Valor", "Range (Max - Min)": "Amplitude (Máx - Mín)", diff --git a/src/locales/ru.json b/src/locales/ru.json index ec94b8ca..15feff46 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Количество транзакций", "Average Amount": "Средняя сумма", "Median Amount": "Медиана сумм", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/sl.json b/src/locales/sl.json index cf1b4e97..2081010b 100644 --- a/src/locales/sl.json +++ b/src/locales/sl.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Število transakcij", "Average Amount": "Povprečni znesek", "Median Amount": "Mediana zneska", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/ta.json b/src/locales/ta.json index a3e8ba61..a196e6ff 100644 --- a/src/locales/ta.json +++ b/src/locales/ta.json @@ -1808,7 +1808,13 @@ "Transaction Count": "பரிவர்த்தனை எண்ணிக்கை", "Average Amount": "சராசரி தொகை", "Median Amount": "நடுநிலை தொகை", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/th.json b/src/locales/th.json index e5861bd0..2c0d8cf9 100644 --- a/src/locales/th.json +++ b/src/locales/th.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/tr.json b/src/locales/tr.json index 79721b16..c6793f8f 100644 --- a/src/locales/tr.json +++ b/src/locales/tr.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/uk.json b/src/locales/uk.json index f4454250..96f0d034 100644 --- a/src/locales/uk.json +++ b/src/locales/uk.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/vi.json b/src/locales/vi.json index f2a34849..661b9835 100644 --- a/src/locales/vi.json +++ b/src/locales/vi.json @@ -1808,7 +1808,13 @@ "Transaction Count": "Transaction Count", "Average Amount": "Average Amount", "Median Amount": "Median Amount", + "Q1 Amount (First Quartile)": "Q1 Amount (First Quartile)", + "Q3 Amount (Third Quartile)": "Q3 Amount (Third Quartile)", + "10th Percentile Amount": "10th Percentile Amount", "90th Percentile Amount": "90th Percentile Amount", + "95th Percentile Amount": "95th Percentile Amount", + "99th Percentile Amount": "99th Percentile Amount", + "Top 5 Amount Sum": "Top 5 Amount Sum", "Top 5 Amount Share": "Top 5 Amount Share", "Transactions for 80% of Amount": "Transactions for 80% of Amount", "Range (Max - Min)": "Range (Max - Min)", diff --git a/src/locales/zh_Hans.json b/src/locales/zh_Hans.json index d5dbceb3..6e24096b 100644 --- a/src/locales/zh_Hans.json +++ b/src/locales/zh_Hans.json @@ -1808,7 +1808,13 @@ "Transaction Count": "交易数量", "Average Amount": "平均金额", "Median Amount": "中位数金额", + "Q1 Amount (First Quartile)": "Q1 金额(第一四分位数)", + "Q3 Amount (Third Quartile)": "Q3 金额(第三四分位数)", + "10th Percentile Amount": "10百分位金额", "90th Percentile Amount": "90百分位金额", + "95th Percentile Amount": "95百分位金额", + "99th Percentile Amount": "99百分位金额", + "Top 5 Amount Sum": "前5大金额总和", "Top 5 Amount Share": "前5大金额占比", "Transactions for 80% of Amount": "贡献80%金额的交易占比", "Range (Max - Min)": "极差 (最大值 - 最小值)", diff --git a/src/locales/zh_Hant.json b/src/locales/zh_Hant.json index 8b1ad0f8..1c5e933b 100644 --- a/src/locales/zh_Hant.json +++ b/src/locales/zh_Hant.json @@ -1808,7 +1808,13 @@ "Transaction Count": "交易數量", "Average Amount": "平均金額", "Median Amount": "中位數金額", + "Q1 Amount (First Quartile)": "Q1 金額 (第一四分位數)", + "Q3 Amount (Third Quartile)": "Q3 金額 (第三四分位數)", + "10th Percentile Amount": "10百分位數金額", "90th Percentile Amount": "90百分位數金額", + "95th Percentile Amount": "95百分位數金額", + "99th Percentile Amount": "99百分位數金額", + "Top 5 Amount Sum": "前5大金額總和", "Top 5 Amount Share": "前5大金額占比", "Transactions for 80% of Amount": "貢獻80%金額的交易占比", "Range (Max - Min)": "極差 (最大值 - 最小值)", diff --git a/src/stores/explorer.ts b/src/stores/explorer.ts index 2415da2e..3ea8a81d 100644 --- a/src/stores/explorer.ts +++ b/src/stores/explorer.ts @@ -874,15 +874,35 @@ export const useExplorersStore = defineStore('explorers', () => { } else { value = 0; } - } else if (valueMetric === TransactionExplorerValueMetric.SourceAmount90thPercentile) { + } else if (valueMetric === TransactionExplorerValueMetric.SourceAmountQ1Amount || valueMetric === TransactionExplorerValueMetric.SourceAmountQ3Amount || valueMetric === TransactionExplorerValueMetric.SourceAmount10thPercentile || valueMetric === TransactionExplorerValueMetric.SourceAmount90thPercentile || valueMetric === TransactionExplorerValueMetric.SourceAmount95thPercentile || valueMetric === TransactionExplorerValueMetric.SourceAmount99thPercentile) { if (allSourceAmountsInDefaultCurrency.length > 0) { allSourceAmountsInDefaultCurrency.sort((a, b) => a - b); - value = Math.trunc(percentile(allSourceAmountsInDefaultCurrency, 0.9, item => item)); + + if (valueMetric === TransactionExplorerValueMetric.SourceAmountQ1Amount) { + value = Math.trunc(percentile(allSourceAmountsInDefaultCurrency, 0.25, item => item)); + } else if (valueMetric === TransactionExplorerValueMetric.SourceAmountQ3Amount) { + value = Math.trunc(percentile(allSourceAmountsInDefaultCurrency, 0.75, item => item)); + } else if (valueMetric === TransactionExplorerValueMetric.SourceAmount10thPercentile) { + value = Math.trunc(percentile(allSourceAmountsInDefaultCurrency, 0.1, item => item)); + } else if (valueMetric === TransactionExplorerValueMetric.SourceAmount90thPercentile) { + value = Math.trunc(percentile(allSourceAmountsInDefaultCurrency, 0.9, item => item)); + } else if (valueMetric === TransactionExplorerValueMetric.SourceAmount95thPercentile) { + value = Math.trunc(percentile(allSourceAmountsInDefaultCurrency, 0.95, item => item)); + } else if (valueMetric === TransactionExplorerValueMetric.SourceAmount99thPercentile) { + value = Math.trunc(percentile(allSourceAmountsInDefaultCurrency, 0.99, item => item)); + } } else { value = 0; } } else if (valueMetric === TransactionExplorerValueMetric.SourceAmountMinimum) { value = minimumSourceAmountInDefaultCurrency === Number.MAX_SAFE_INTEGER ? 0 : minimumSourceAmountInDefaultCurrency; + } else if (valueMetric === TransactionExplorerValueMetric.SourceTop5AmountSum) { + if (allSourceAmountsInDefaultCurrency.length > 0) { + allSourceAmountsInDefaultCurrency.sort((a, b) => a - b); + value = sumMaxN(allSourceAmountsInDefaultCurrency, 5, item => item); + } else { + value = 0; + } } else if (valueMetric === TransactionExplorerValueMetric.SourceAmountMaximum) { value = maximumSourceAmountInDefaultCurrency === Number.MIN_SAFE_INTEGER ? 0 : maximumSourceAmountInDefaultCurrency; } else if (valueMetric === TransactionExplorerValueMetric.SourceAmountRange) {