@pagamio/frontend-commons-lib 0.8.215 → 0.8.217
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.
|
@@ -193,6 +193,7 @@ const DashboardWrapper = ({ data, showVisualHeader = true, showEventsTabbedLayou
|
|
|
193
193
|
currencyDisplaySymbol: metricData.currencyDisplaySymbol,
|
|
194
194
|
...metricData,
|
|
195
195
|
url, // Override url with apiPaths or metricData.url
|
|
196
|
+
statisticsUrl: apiPaths.metrics || DashboardPaths.METRICS,
|
|
196
197
|
};
|
|
197
198
|
return (_jsx(Grid.Col, { span: matchesSmall ? 12 : span, offset: offset, children: _jsx(VisualComponent, { ...props }) }, `visual-${sectionTitle}-${visual.id}`));
|
|
198
199
|
}, [config.themeColor, isXs, isSm, apiPaths]);
|
|
@@ -286,7 +286,6 @@ export const getDonutChartOptions = ({ data }) => {
|
|
|
286
286
|
return chartOptions;
|
|
287
287
|
};
|
|
288
288
|
export const formatChartLabel = (params) => {
|
|
289
|
-
console.log('formatChartLabel params', params);
|
|
290
289
|
const formattedValue = params.value.toLocaleString();
|
|
291
290
|
const percentage = params.treeMapPercent ? ` (${params.treeMapPercent.toFixed(1)}%)` : '';
|
|
292
291
|
return `${params.name}\n${params.valueLabel}: ${formattedValue}\n${percentage}`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagamio/frontend-commons-lib",
|
|
3
3
|
"description": "Pagamio library for Frontend reusable components like the form engine and table container",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.217",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"provenance": false
|