@tap-payments/os-micro-frontend-shared 0.1.226-test.3 → 0.1.226-test.5
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/types/apps.d.ts +1 -0
- package/build/utils/table.d.ts +2 -2
- package/build/utils/table.js +1 -1
- package/package.json +2 -2
package/build/types/apps.d.ts
CHANGED
package/build/utils/table.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const isHeightNotFullyFilledByRows: (totalRows: number) => boolea
|
|
|
9
9
|
export declare const isTableDefaultMode: (tableMode: TableMode) => boolean;
|
|
10
10
|
export declare const isTableSheetMode: (tableMode: TableMode) => boolean;
|
|
11
11
|
export declare const isTableTextMode: (tableMode: TableMode) => boolean;
|
|
12
|
-
interface
|
|
12
|
+
interface ActionNavigationView<T> {
|
|
13
13
|
prefixes: string[];
|
|
14
14
|
keys?: string[];
|
|
15
15
|
label: string;
|
|
@@ -18,5 +18,5 @@ interface NavigationMap<T> {
|
|
|
18
18
|
icon: TableNavigation['icon'];
|
|
19
19
|
accessor?: (rowData: T) => string[];
|
|
20
20
|
}
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const getPossibleActionNavigationView: <T>() => Record<string, ActionNavigationView<T>>;
|
|
22
22
|
export {};
|
package/build/utils/table.js
CHANGED
|
@@ -82,7 +82,7 @@ export const isTableSheetMode = (tableMode) => {
|
|
|
82
82
|
export const isTableTextMode = (tableMode) => {
|
|
83
83
|
return tableMode === 'text';
|
|
84
84
|
};
|
|
85
|
-
export const
|
|
85
|
+
export const getPossibleActionNavigationView = () => {
|
|
86
86
|
return {
|
|
87
87
|
charge: {
|
|
88
88
|
prefixes: ['chg_', 'payout_', 'settlement_', 'terminal_'],
|
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.226-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.226-test.5",
|
|
5
|
+
"testVersion": 5,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|