@tap-payments/os-micro-frontend-shared 0.1.431-test.1 → 0.1.431-test.10
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.
- package/build/components/ActivityAreaChart/ActivityAreaChart.js +1 -1
- package/build/components/PaymentSourceFilter/index.d.ts +3 -0
- package/build/components/PaymentSourceFilter/index.js +3 -0
- package/build/components/TableHeader/TableView/utils/templateToColumnsView.js +4 -4
- package/package.json +2 -2
|
@@ -15,7 +15,7 @@ const ActivityAreaChart = ({ data, dataKey, isLoading, dateRange, selectedCurren
|
|
|
15
15
|
};
|
|
16
16
|
const MemoizedChartTooltip = useMemo(() => {
|
|
17
17
|
return _jsx(ChartTooltip, { position: cursorPosition, dateRange: dateRange, selectedCurrency: selectedCurrency });
|
|
18
|
-
}, [cursorPosition]);
|
|
18
|
+
}, [cursorPosition, dateRange, selectedCurrency]);
|
|
19
19
|
if (isLoading || isEmpty) {
|
|
20
20
|
return _jsx(LoadingChart, {});
|
|
21
21
|
}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export { default as PaymentSourceFilter } from './PaymentSourceFilter';
|
|
2
|
+
export { default as PaymentMethods } from './PaymentMethods';
|
|
3
|
+
export { default as PaymentSchemes } from './PaymentSchemes';
|
|
4
|
+
export { default as PaymentInitiated } from './PaymentInitiated';
|
|
2
5
|
export { type PaymentSourceFilters } from './type';
|
|
@@ -86,14 +86,14 @@ export const convertTemplateToColumnsView = (template, tableMode) => {
|
|
|
86
86
|
selected: (_a = templateCol.default) !== null && _a !== void 0 ? _a : false,
|
|
87
87
|
sort_order: getColumnOrder(templateCol),
|
|
88
88
|
fields: ((_b = templateCol.fields) === null || _b === void 0 ? void 0 : _b.map((field) => ({
|
|
89
|
-
code: field.code
|
|
89
|
+
code: field.code,
|
|
90
90
|
type: 'single',
|
|
91
|
-
parameters: [{ parameter: field.code
|
|
91
|
+
parameters: [{ parameter: field.code, code: field.code }],
|
|
92
92
|
}))) || [
|
|
93
93
|
{
|
|
94
|
-
code: templateCol.code
|
|
94
|
+
code: templateCol.code,
|
|
95
95
|
type: 'single',
|
|
96
|
-
parameters: [{ parameter: templateCol.code
|
|
96
|
+
parameters: [{ parameter: templateCol.code, code: templateCol.code }],
|
|
97
97
|
},
|
|
98
98
|
],
|
|
99
99
|
});
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/os-micro-frontend-shared",
|
|
3
3
|
"description": "Shared components and utilities for Tap Payments micro frontends",
|
|
4
|
-
"version": "0.1.431-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.431-test.10",
|
|
5
|
+
"testVersion": 10,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|