@tap-payments/os-micro-frontend-shared 0.1.216 → 0.1.217-test.14
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/Chip/style.d.ts +0 -1
- package/build/components/CountBadge/style.d.ts +0 -1
- package/build/components/Dialog/style.d.ts +0 -1
- package/build/components/FlippingCard/style.d.ts +0 -1
- package/build/components/ImageWrapper/ImageWrapper.d.ts +0 -1
- package/build/components/JSONViewer/style.d.ts +0 -1
- package/build/components/LeftPeekRightExpandingChip/style.d.ts +0 -1
- package/build/components/RightLeftExpandingCenterChip/style.d.ts +0 -1
- package/build/components/SearchButton/styles.d.ts +0 -1
- package/build/components/StatusIcons/AuthIcons/style.d.ts +0 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +0 -1
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +0 -1
- package/build/components/StatusIcons/SourceIcons/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/IDButton/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/style.d.ts +0 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResize.js +5 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/hooks/useColumnResizeWithPinned.d.ts +2 -2
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/styles.js +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.d.ts +1 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js +16 -3
- package/build/components/VirtualTables/components/style.d.ts +0 -1
- package/build/types/merchant.d.ts +91 -89
- package/build/types/table.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
import { GetSourceAnimationFunction } from './type';
|
|
4
3
|
export declare const ChipStyled: import("@emotion/styled").StyledComponent<import("react").RefAttributes<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
4
|
variant?: import("./type").ChipVariant | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
import { TableMode } from '../../../../types/index.js';
|
|
4
3
|
export declare const ActionCellContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
4
|
tableMode?: TableMode | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledAppsCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const AppsStatusContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const AuthIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
4
3
|
export declare const AuthCellContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const SalesChannelsContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const GeographyBox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
4
3
|
variant?: "Global" | "Regional" | "Local" | undefined;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -36,6 +36,8 @@ export const useColumnResize = ({ columns, onColumnResize, handleColumnClick, wi
|
|
|
36
36
|
const isResizingRef = useRef(false);
|
|
37
37
|
const initialCursorYRef = useRef(0);
|
|
38
38
|
const clampedXRef = useRef(0);
|
|
39
|
+
const startXRef = useRef(0);
|
|
40
|
+
const startWidthRef = useRef(0);
|
|
39
41
|
const mouseMoveRef = useRef();
|
|
40
42
|
const mouseUpRef = useRef();
|
|
41
43
|
useEffect(() => {
|
|
@@ -64,7 +66,7 @@ export const useColumnResize = ({ columns, onColumnResize, handleColumnClick, wi
|
|
|
64
66
|
return createResizeEndHandler(windowId, serviceCode, onColumnResize, setResizeState, cleanupEventListeners, isResizingRef, clampedXRef)(columnId, currentWidth, startX);
|
|
65
67
|
}, [windowId, serviceCode, onColumnResize, cleanupEventListeners]);
|
|
66
68
|
const createMouseMoveHandlerCallback = useCallback((columnIndex, columnPinned) => {
|
|
67
|
-
return createMouseMoveHandler(setResizeState, setCursorPosition, initialCursorYRef, tableContainerRef, columnIndex, columnPinned, clampedXRef);
|
|
69
|
+
return createMouseMoveHandler(setResizeState, setCursorPosition, initialCursorYRef, tableContainerRef, columnIndex, columnPinned, clampedXRef, startXRef, startWidthRef);
|
|
68
70
|
}, [tableContainerRef]);
|
|
69
71
|
const startResize = useCallback((e, columnId) => {
|
|
70
72
|
e.preventDefault();
|
|
@@ -89,6 +91,8 @@ export const useColumnResize = ({ columns, onColumnResize, handleColumnClick, wi
|
|
|
89
91
|
setResizeState((prev) => (Object.assign(Object.assign({}, prev), { isResizing: true, resizingColumn: columnId, startX, startWidth: currentWidth, resizeIndicatorX: startX, resizingColumnIndex: columnIndex, resizingColumnPinned: columnPinned })));
|
|
90
92
|
initialCursorYRef.current = iconY;
|
|
91
93
|
clampedXRef.current = startX;
|
|
94
|
+
startXRef.current = startX;
|
|
95
|
+
startWidthRef.current = currentWidth;
|
|
92
96
|
setCursorPosition({ x: startX, y: iconY });
|
|
93
97
|
isResizingRef.current = true;
|
|
94
98
|
// Create and store event handlers
|
|
@@ -22,7 +22,7 @@ export declare const useColumnResizeWithPinned: ({ pinnedStartColumnsData, pinne
|
|
|
22
22
|
order?: number | undefined;
|
|
23
23
|
pinned?: "start" | "end" | undefined;
|
|
24
24
|
pinnable?: boolean | undefined;
|
|
25
|
-
cellStyle?: import("
|
|
25
|
+
cellStyle?: import("@mui/system").SxProps | undefined;
|
|
26
26
|
headerStyle?: import("react").CSSProperties | undefined;
|
|
27
27
|
filter?: ({
|
|
28
28
|
onConfirm?: ((filterValues: import("../../../../../../types/index.js").ColumnFilterValues) => void) | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const useColumnResizeWithPinned: ({ pinnedStartColumnsData, pinne
|
|
|
48
48
|
order?: number | undefined;
|
|
49
49
|
pinned?: "start" | "end" | undefined;
|
|
50
50
|
pinnable?: boolean | undefined;
|
|
51
|
-
cellStyle?: import("
|
|
51
|
+
cellStyle?: import("@mui/system").SxProps | undefined;
|
|
52
52
|
headerStyle?: import("react").CSSProperties | undefined;
|
|
53
53
|
filter?: ({
|
|
54
54
|
onConfirm?: ((filterValues: import("../../../../../../types/index.js").ColumnFilterValues) => void) | undefined;
|
package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.d.ts
CHANGED
|
@@ -13,6 +13,6 @@ export declare const createMouseUpHandler: (columnId: string, currentWidth: numb
|
|
|
13
13
|
export declare const createMouseMoveHandler: (setResizeState: React.Dispatch<React.SetStateAction<ColumnResizeState>>, setCursorPosition: React.Dispatch<React.SetStateAction<{
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
|
-
}>>, initialCursorYRef: React.MutableRefObject<number>, tableContainerRef?: React.RefObject<HTMLDivElement>, resizingColumnIndex?: number, resizingColumnPinned?: 'start' | 'end', clampedXRef?: React.MutableRefObject<number>) => (mouseEvent: MouseEvent) => void;
|
|
16
|
+
}>>, initialCursorYRef: React.MutableRefObject<number>, tableContainerRef?: React.RefObject<HTMLDivElement>, resizingColumnIndex?: number, resizingColumnPinned?: 'start' | 'end', clampedXRef?: React.MutableRefObject<number>, startXRef?: React.MutableRefObject<number>, startWidthRef?: React.MutableRefObject<number>) => (mouseEvent: MouseEvent) => void;
|
|
17
17
|
export declare const getColumnWidthFromState: (columnWidths: Record<string, number>, columnId: string) => number;
|
|
18
18
|
export declare const createResizeEndHandler: (windowId: string | undefined, serviceCode: string | undefined, onColumnResize: ((columnId: string, width: number) => void) | undefined, setResizeState: React.Dispatch<React.SetStateAction<ColumnResizeState>>, cleanupFn: () => void, isResizingRef: React.MutableRefObject<boolean>, clampedXRef: React.MutableRefObject<number>) => (columnId: string, currentWidth: number, startX: number) => (event: MouseEvent) => void;
|
package/build/components/VirtualTables/SheetViewVirtualTable/features/resize/utils/resize.js
CHANGED
|
@@ -66,7 +66,7 @@ export const createMouseUpHandler = (columnId, currentWidth, startX, windowId, s
|
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
export const createMouseMoveHandler = (setResizeState, setCursorPosition, initialCursorYRef, tableContainerRef, resizingColumnIndex, resizingColumnPinned, clampedXRef) => {
|
|
69
|
+
export const createMouseMoveHandler = (setResizeState, setCursorPosition, initialCursorYRef, tableContainerRef, resizingColumnIndex, resizingColumnPinned, clampedXRef, startXRef, startWidthRef) => {
|
|
70
70
|
return (mouseEvent) => {
|
|
71
71
|
try {
|
|
72
72
|
let clampedX = mouseEvent.clientX;
|
|
@@ -85,9 +85,22 @@ export const createMouseMoveHandler = (setResizeState, setCursorPosition, initia
|
|
|
85
85
|
if (clampedXRef) {
|
|
86
86
|
clampedXRef.current = clampedX;
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
// Calculate the indicator position capped at minimum column width
|
|
89
|
+
let indicatorX = clampedX;
|
|
90
|
+
if (startXRef && startWidthRef) {
|
|
91
|
+
// Calculate the minimum position: start position minus how much we can shrink
|
|
92
|
+
// The left edge of the column is at (startX - startWidth)
|
|
93
|
+
// The minimum right edge position is at (leftEdge + MIN_WIDTH)
|
|
94
|
+
const minPositionX = startXRef.current - startWidthRef.current + COLUMN_WIDTH_CONSTRAINTS.MIN_WIDTH;
|
|
95
|
+
// Cap the indicator at the minimum position when dragging left past minimum
|
|
96
|
+
// This ensures smooth behavior: indicator only moves when cursor is to the right of minimum position
|
|
97
|
+
if (clampedX < minPositionX) {
|
|
98
|
+
indicatorX = minPositionX;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
setResizeState((prev) => (Object.assign(Object.assign({}, prev), { resizeIndicatorX: indicatorX })));
|
|
89
102
|
setCursorPosition({
|
|
90
|
-
x:
|
|
103
|
+
x: indicatorX,
|
|
91
104
|
y: initialCursorYRef.current,
|
|
92
105
|
});
|
|
93
106
|
}
|
|
@@ -11,6 +11,95 @@ export interface Merchant {
|
|
|
11
11
|
}
|
|
12
12
|
export type VerificationStatus = 'incomplete' | 'complete' | 'reviewed' | 'verified';
|
|
13
13
|
export type MerchantStatus = 'completed' | 'all' | 'country';
|
|
14
|
+
export interface MerchantDetails {
|
|
15
|
+
id: string;
|
|
16
|
+
status: MerchantStatus;
|
|
17
|
+
marketplace: boolean;
|
|
18
|
+
commerceplatform: {
|
|
19
|
+
id: string;
|
|
20
|
+
name: {
|
|
21
|
+
en: string;
|
|
22
|
+
};
|
|
23
|
+
logo: string;
|
|
24
|
+
operator_id: string;
|
|
25
|
+
};
|
|
26
|
+
platforms: Array<{
|
|
27
|
+
id: string;
|
|
28
|
+
segment: string;
|
|
29
|
+
brand: {
|
|
30
|
+
logo?: string;
|
|
31
|
+
name: Array<{
|
|
32
|
+
lang: string;
|
|
33
|
+
text: string;
|
|
34
|
+
}>;
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
wallet: {
|
|
38
|
+
id: string;
|
|
39
|
+
status: MerchantStatus;
|
|
40
|
+
bank_account: {
|
|
41
|
+
id: string;
|
|
42
|
+
status: MerchantStatus;
|
|
43
|
+
iban: string;
|
|
44
|
+
};
|
|
45
|
+
payout_status: string;
|
|
46
|
+
payout_status_control: string;
|
|
47
|
+
};
|
|
48
|
+
created: number;
|
|
49
|
+
country: string;
|
|
50
|
+
terminal: {
|
|
51
|
+
id: string;
|
|
52
|
+
authorizes: {
|
|
53
|
+
status: string;
|
|
54
|
+
status_message: string;
|
|
55
|
+
};
|
|
56
|
+
charges: {
|
|
57
|
+
status: string;
|
|
58
|
+
status_message: string;
|
|
59
|
+
};
|
|
60
|
+
refunds: {
|
|
61
|
+
status: string;
|
|
62
|
+
status_message: string;
|
|
63
|
+
};
|
|
64
|
+
virtual: boolean;
|
|
65
|
+
acceptance_status: string;
|
|
66
|
+
acceptance_status_control: string;
|
|
67
|
+
};
|
|
68
|
+
payout_status: 'enabled' | 'disabled';
|
|
69
|
+
acceptance_status: 'enabled' | 'disabled';
|
|
70
|
+
legacy_id: string;
|
|
71
|
+
base_currency: string;
|
|
72
|
+
payment_provider: {
|
|
73
|
+
technology_id: string;
|
|
74
|
+
settlement_by: string;
|
|
75
|
+
};
|
|
76
|
+
development_house: {
|
|
77
|
+
id: string;
|
|
78
|
+
name: {
|
|
79
|
+
ar: string | null;
|
|
80
|
+
en: string;
|
|
81
|
+
};
|
|
82
|
+
logo: string;
|
|
83
|
+
};
|
|
84
|
+
payment_provider_info: {
|
|
85
|
+
technology: {
|
|
86
|
+
id: string;
|
|
87
|
+
name: {
|
|
88
|
+
ar: string | null;
|
|
89
|
+
en: string;
|
|
90
|
+
};
|
|
91
|
+
logo: string;
|
|
92
|
+
};
|
|
93
|
+
settlement_by: {
|
|
94
|
+
id: string;
|
|
95
|
+
name: {
|
|
96
|
+
ar: string | null;
|
|
97
|
+
en: string;
|
|
98
|
+
};
|
|
99
|
+
logo: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
14
103
|
export interface BusinessMerchant {
|
|
15
104
|
id: string;
|
|
16
105
|
status: MerchantStatus;
|
|
@@ -53,95 +142,8 @@ export interface BusinessMerchant {
|
|
|
53
142
|
legal_name: {
|
|
54
143
|
en: string;
|
|
55
144
|
};
|
|
56
|
-
merchant:
|
|
57
|
-
|
|
58
|
-
status: MerchantStatus;
|
|
59
|
-
marketplace: boolean;
|
|
60
|
-
commerceplatform: {
|
|
61
|
-
id: string;
|
|
62
|
-
name: {
|
|
63
|
-
en: string;
|
|
64
|
-
};
|
|
65
|
-
logo: string;
|
|
66
|
-
operator_id: string;
|
|
67
|
-
};
|
|
68
|
-
platforms: Array<{
|
|
69
|
-
id: string;
|
|
70
|
-
segment: string;
|
|
71
|
-
brand: {
|
|
72
|
-
logo?: string;
|
|
73
|
-
name: Array<{
|
|
74
|
-
lang: string;
|
|
75
|
-
text: string;
|
|
76
|
-
}>;
|
|
77
|
-
};
|
|
78
|
-
}>;
|
|
79
|
-
wallet: {
|
|
80
|
-
id: string;
|
|
81
|
-
status: MerchantStatus;
|
|
82
|
-
bank_account: {
|
|
83
|
-
id: string;
|
|
84
|
-
status: MerchantStatus;
|
|
85
|
-
iban: string;
|
|
86
|
-
};
|
|
87
|
-
payout_status: string;
|
|
88
|
-
payout_status_control: string;
|
|
89
|
-
};
|
|
90
|
-
created: number;
|
|
91
|
-
country: string;
|
|
92
|
-
terminal: {
|
|
93
|
-
id: string;
|
|
94
|
-
authorizes: {
|
|
95
|
-
status: string;
|
|
96
|
-
status_message: string;
|
|
97
|
-
};
|
|
98
|
-
charges: {
|
|
99
|
-
status: string;
|
|
100
|
-
status_message: string;
|
|
101
|
-
};
|
|
102
|
-
refunds: {
|
|
103
|
-
status: string;
|
|
104
|
-
status_message: string;
|
|
105
|
-
};
|
|
106
|
-
virtual: boolean;
|
|
107
|
-
acceptance_status: string;
|
|
108
|
-
acceptance_status_control: string;
|
|
109
|
-
};
|
|
110
|
-
payout_status: 'enabled' | 'disabled';
|
|
111
|
-
acceptance_status: 'enabled' | 'disabled';
|
|
112
|
-
legacy_id: string;
|
|
113
|
-
base_currency: string;
|
|
114
|
-
payment_provider: {
|
|
115
|
-
technology_id: string;
|
|
116
|
-
settlement_by: string;
|
|
117
|
-
};
|
|
118
|
-
development_house: {
|
|
119
|
-
id: string;
|
|
120
|
-
name: {
|
|
121
|
-
ar: string | null;
|
|
122
|
-
en: string;
|
|
123
|
-
};
|
|
124
|
-
logo: string;
|
|
125
|
-
};
|
|
126
|
-
payment_provider_info: {
|
|
127
|
-
technology: {
|
|
128
|
-
id: string;
|
|
129
|
-
name: {
|
|
130
|
-
ar: string | null;
|
|
131
|
-
en: string;
|
|
132
|
-
};
|
|
133
|
-
logo: string;
|
|
134
|
-
};
|
|
135
|
-
settlement_by: {
|
|
136
|
-
id: string;
|
|
137
|
-
name: {
|
|
138
|
-
ar: string | null;
|
|
139
|
-
en: string;
|
|
140
|
-
};
|
|
141
|
-
logo: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
+
merchant: MerchantDetails;
|
|
146
|
+
retailer: MerchantDetails;
|
|
145
147
|
country: string;
|
|
146
148
|
license: {
|
|
147
149
|
number: string;
|
package/build/types/table.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface IColumnProps<R = any> {
|
|
|
34
34
|
order?: number;
|
|
35
35
|
pinned?: 'start' | 'end';
|
|
36
36
|
pinnable?: boolean;
|
|
37
|
-
cellStyle?:
|
|
37
|
+
cellStyle?: SxProps;
|
|
38
38
|
headerStyle?: React.CSSProperties;
|
|
39
39
|
filter?: IColumnFilter;
|
|
40
40
|
isDefaultPinned?: boolean;
|
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.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.217-test.14",
|
|
5
|
+
"testVersion": 14,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|
|
@@ -163,4 +163,4 @@
|
|
|
163
163
|
"publishConfig": {
|
|
164
164
|
"registry": "https://registry.npmjs.org/"
|
|
165
165
|
}
|
|
166
|
-
}
|
|
166
|
+
}
|