@tap-payments/os-micro-frontend-shared 0.0.62 → 0.0.69-sheetview-container-v1
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/LICENSE +21 -21
- package/README.md +12 -12
- 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/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.js +2 -2
- 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/SegmentsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SourceMergedCell/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/VirtualTable/VirtualTable.d.ts +1 -1
- package/build/components/VirtualTable/VirtualTable.js +3 -3
- package/build/components/VirtualTable/style.d.ts +3 -2
- package/build/components/VirtualTable/style.js +4 -3
- package/build/constants/assets.d.ts +1 -0
- package/build/constants/assets.js +1 -0
- package/build/constants/table/cell/authenticationsTableCellWidth.d.ts +11 -0
- package/build/constants/table/cell/authenticationsTableCellWidth.js +11 -0
- package/build/constants/table/cell/authorizationTableCellWidth.d.ts +32 -0
- package/build/constants/table/cell/authorizationTableCellWidth.js +32 -0
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +32 -0
- package/build/constants/table/cell/chargeTableCellWidth.js +32 -0
- package/build/constants/table/cell/destinationsTableCellWidth.d.ts +21 -0
- package/build/constants/table/cell/destinationsTableCellWidth.js +21 -0
- package/build/constants/table/cell/intentsTableCellWidth.d.ts +6 -0
- package/build/constants/table/cell/intentsTableCellWidth.js +6 -0
- package/build/constants/table/cell/invoicesTableCellWidth.d.ts +17 -0
- package/build/constants/table/cell/invoicesTableCellWidth.js +17 -0
- package/build/constants/table/cell/leadsTableCellWidth.d.ts +7 -0
- package/build/constants/table/cell/leadsTableCellWidth.js +7 -0
- package/build/constants/table/cell/merchantsTableCellWidth.d.ts +12 -1
- package/build/constants/table/cell/merchantsTableCellWidth.js +12 -1
- package/build/constants/table/cell/ordersTableCellWidth.d.ts +11 -0
- package/build/constants/table/cell/ordersTableCellWidth.js +11 -0
- package/build/constants/table/cell/payoutsTableCellWidth.d.ts +11 -0
- package/build/constants/table/cell/payoutsTableCellWidth.js +11 -0
- package/build/constants/table/cell/protectAuthorizationsTableCellWidth.d.ts +14 -0
- package/build/constants/table/cell/protectAuthorizationsTableCellWidth.js +14 -0
- package/build/constants/table/cell/protectChargesTableCellWidth.d.ts +13 -0
- package/build/constants/table/cell/protectChargesTableCellWidth.js +13 -0
- package/build/constants/table/cell/refundTableCellWidth.d.ts +28 -0
- package/build/constants/table/cell/refundTableCellWidth.js +28 -0
- package/build/constants/table/cell/terminalsTableCellWidth.d.ts +14 -0
- package/build/constants/table/cell/terminalsTableCellWidth.js +14 -0
- package/build/constants/table/cell/tokensTableCellWidth.d.ts +9 -0
- package/build/constants/table/cell/tokensTableCellWidth.js +9 -0
- package/build/constants/table/cell/topupsTableCellWidth.d.ts +11 -0
- package/build/constants/table/cell/topupsTableCellWidth.js +11 -0
- package/build/constants/table/cell/walletDetailsTableCellWidth.d.ts +6 -0
- package/build/constants/table/cell/walletDetailsTableCellWidth.js +6 -0
- package/build/constants/table/cell/walletStatementTableCellWidth.d.ts +12 -0
- package/build/constants/table/cell/walletStatementTableCellWidth.js +12 -0
- package/build/constants/table/cell/walletTableCellWidth.d.ts +6 -0
- package/build/constants/table/cell/walletTableCellWidth.js +6 -0
- package/build/types/table.d.ts +2 -1
- package/package.json +129 -129
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Tap Payments
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Tap Payments
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# os-micro-frontend-shared
|
|
2
|
-
|
|
3
|
-
## Publishing Workflow
|
|
4
|
-
|
|
5
|
-
1. Update version in package.json
|
|
6
|
-
2. Commit changes
|
|
7
|
-
3. Create and push a tag:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm version patch # or minor, major
|
|
11
|
-
git push origin main --tags
|
|
12
|
-
```
|
|
1
|
+
# os-micro-frontend-shared
|
|
2
|
+
|
|
3
|
+
## Publishing Workflow
|
|
4
|
+
|
|
5
|
+
1. Update version in package.json
|
|
6
|
+
2. Commit changes
|
|
7
|
+
3. Create and push a tag:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm version patch # or minor, major
|
|
11
|
+
git push origin main --tags
|
|
12
|
+
```
|
|
@@ -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
|
export declare const ActionCellContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
4
3
|
export declare const ActionsIconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
4
|
selected: boolean;
|
|
@@ -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 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 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?: "Local" | "Global" | "Regional" | undefined;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { IVirtualTable } from '../../types/index.js';
|
|
3
|
-
declare function VirtualTable({ columns, rows, threshold, showHeader, headerProps, rowProps, footerProps, rowHeight, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, showBackgroundColor, areAllRowsLoaded, tableBodyStyles, tableMode, tableTitle, dragControls, }: Readonly<IVirtualTable>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function VirtualTable({ columns, rows, threshold, showHeader, headerProps, rowProps, footerProps, rowHeight, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, showBackgroundColor, areAllRowsLoaded, tableBodyStyles, tableMode, tableTitle, dragControls, isSheetView, }: Readonly<IVirtualTable>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const _default: import("react").MemoExoticComponent<typeof VirtualTable>;
|
|
5
5
|
export default _default;
|
|
@@ -33,7 +33,7 @@ const createItemData = memoize((columns, isLoading, rows, rowProps, scrollToInde
|
|
|
33
33
|
isError,
|
|
34
34
|
areAllRowsLoaded,
|
|
35
35
|
}));
|
|
36
|
-
function VirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, showHeader, headerProps, rowProps, footerProps, rowHeight = TABLE_ROW_HEIGHT, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, showBackgroundColor, areAllRowsLoaded = false, tableBodyStyles, tableMode, tableTitle, dragControls, }) {
|
|
36
|
+
function VirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, showHeader, headerProps, rowProps, footerProps, rowHeight = TABLE_ROW_HEIGHT, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, showBackgroundColor, areAllRowsLoaded = false, tableBodyStyles, tableMode, tableTitle, dragControls, isSheetView = false, }) {
|
|
37
37
|
var _a;
|
|
38
38
|
const theme = useTheme();
|
|
39
39
|
const onPointerDown = (e) => {
|
|
@@ -83,9 +83,9 @@ function VirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, showHeader,
|
|
|
83
83
|
itemsCount,
|
|
84
84
|
]);
|
|
85
85
|
const showNoDataView = tableLoading || tableError || tableEmpty || hasTimeoutError;
|
|
86
|
-
return (_jsxs(_Fragment, { children: [_jsxs(TableContainer, { children: [_jsx(StyledTableBox, Object.assign({ as: "main", id: "table-box-container", "aria-labelledby": "table-box-container", "data-testid": "VirtualTable_StyledTableBox", "data-title": tableTitle, "data-direction": theme.direction, "data-are-all-rows-loaded": !!areAllRowsLoaded, "data-is-fetching-next-page": !!isFetchingNextPage, "data-scroll-to-index": scrollToIndex, "data-is-loading": !!isLoading, "data-is-error": !!isError, "data-is-error-timeout": !!hasTimeoutError, "data-show-background-color": !!showBackgroundColor, "data-table-mode": tableMode, height: "100%", dir: theme.direction, showBackgroundColor: showBackgroundColor, showNoDataView: showNoDataView }, { children: _jsxs(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", showNoDataView: showNoDataView, sx: Object.assign({}, tableBodyStyles) }, { children: [showHeader && (_jsx(TableHeader, { "data-testid": "VirtualTable_TableHeader", columnsSorting: columnsSorting, onColumnSort: onColumnSort, columns: orderedColumns, headerProps: headerProps, showBackDrop: showBackDrop })), showNoDataView ? (_jsx(TableNoData, { error: error, tableEmpty: tableEmpty, isTimeoutError: hasTimeoutError, tableError: tableError, tableLoading: tableLoading, orderedColumns: orderedColumns, triggerDataRefetch: triggerDataRefetch, footerProps: footerProps })) : (_jsx(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", sx: {
|
|
86
|
+
return (_jsxs(_Fragment, { children: [_jsxs(TableContainer, Object.assign({ isSheetView: isSheetView }, { children: [_jsx(StyledTableBox, Object.assign({ as: "main", id: "table-box-container", "aria-labelledby": "table-box-container", "data-testid": "VirtualTable_StyledTableBox", "data-title": tableTitle, "data-direction": theme.direction, "data-are-all-rows-loaded": !!areAllRowsLoaded, "data-is-fetching-next-page": !!isFetchingNextPage, "data-scroll-to-index": scrollToIndex, "data-is-loading": !!isLoading, "data-is-error": !!isError, "data-is-error-timeout": !!hasTimeoutError, "data-show-background-color": !!showBackgroundColor, "data-table-mode": tableMode, height: "100%", dir: theme.direction, showBackgroundColor: showBackgroundColor, showNoDataView: showNoDataView }, { children: _jsxs(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", showNoDataView: showNoDataView, sx: Object.assign({}, tableBodyStyles) }, { children: [showHeader && (_jsx(TableHeader, { "data-testid": "VirtualTable_TableHeader", columnsSorting: columnsSorting, onColumnSort: onColumnSort, columns: orderedColumns, headerProps: headerProps, showBackDrop: showBackDrop })), showNoDataView ? (_jsx(TableNoData, { error: error, tableEmpty: tableEmpty, isTimeoutError: hasTimeoutError, tableError: tableError, tableLoading: tableLoading, orderedColumns: orderedColumns, triggerDataRefetch: triggerDataRefetch, footerProps: footerProps })) : (_jsx(TableWrapper, Object.assign({ "data-testid": "VirtualTable_TableWrapper", sx: {
|
|
87
87
|
width: '100%',
|
|
88
88
|
minWidth: 'fit-content',
|
|
89
|
-
} }, { children: _jsx(StyledBox, Object.assign({ "data-testid": "VirtualTable_StyledBox", hidePadding: true, className: "list-wrapper" }, { children: renderTableContainer })) })))] })) })), !showNoDataView && areTotalRowsNotFillingHeight && !isFetchingNextPage && (_jsx(TableLastItem, { height: (itemsCount + 1) * TABLE_ROW_HEIGHT, sandboxMode: footerProps === null || footerProps === void 0 ? void 0 : footerProps.sandboxMode, "data-testid": "VirtualTable_TableLastItem" }))] }), _jsx(TableFooter, Object.assign({ "data-testid": "VirtualTable_TableFooter", showSeparator: true, showBackDrop: showBackDrop, onPointerDown: onPointerDown }, footerProps))] }));
|
|
89
|
+
} }, { children: _jsx(StyledBox, Object.assign({ "data-testid": "VirtualTable_StyledBox", hidePadding: true, className: "list-wrapper" }, { children: renderTableContainer })) })))] })) })), !showNoDataView && areTotalRowsNotFillingHeight && !isFetchingNextPage && (_jsx(TableLastItem, { height: (itemsCount + 1) * TABLE_ROW_HEIGHT, sandboxMode: footerProps === null || footerProps === void 0 ? void 0 : footerProps.sandboxMode, "data-testid": "VirtualTable_TableLastItem" }))] })), _jsx(TableFooter, Object.assign({ "data-testid": "VirtualTable_TableFooter", showSeparator: true, showBackDrop: showBackDrop, onPointerDown: onPointerDown }, footerProps))] }));
|
|
90
90
|
}
|
|
91
91
|
export default memo(VirtualTable);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
interface TableWrapperProps {
|
|
4
3
|
showNoDataView?: boolean;
|
|
5
4
|
}
|
|
@@ -313,7 +312,9 @@ export declare const ActionIcon: import("@emotion/styled").StyledComponent<{
|
|
|
313
312
|
} & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLImageElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
314
313
|
export declare const TableContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
315
314
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
316
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme
|
|
315
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
316
|
+
isSheetView?: boolean | undefined;
|
|
317
|
+
}, {}, {}>;
|
|
317
318
|
export declare const StyledCardsBox: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
318
319
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
319
320
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
@@ -98,8 +98,6 @@ export const StyledTableBox = styled(Box, {
|
|
|
98
98
|
paddingBottom: showBackgroundColor ? '52px' : '0',
|
|
99
99
|
display: 'flex',
|
|
100
100
|
flexDirection: 'column',
|
|
101
|
-
borderBottomLeftRadius: theme.spacing(1.5),
|
|
102
|
-
borderBottomRightRadius: theme.spacing(1.5),
|
|
103
101
|
}));
|
|
104
102
|
export const ActionIcon = styled(motion.img)(() => ({
|
|
105
103
|
width: '24px',
|
|
@@ -107,11 +105,14 @@ export const ActionIcon = styled(motion.img)(() => ({
|
|
|
107
105
|
position: 'relative',
|
|
108
106
|
zIndex: 2,
|
|
109
107
|
}));
|
|
110
|
-
export const TableContainer = styled(Box
|
|
108
|
+
export const TableContainer = styled(Box, {
|
|
109
|
+
shouldForwardProp: (prop) => prop !== 'isSheetView',
|
|
110
|
+
})(({ isSheetView }) => ({
|
|
111
111
|
position: 'relative',
|
|
112
112
|
display: 'flex',
|
|
113
113
|
flexDirection: 'column',
|
|
114
114
|
height: '100%',
|
|
115
|
+
border: isSheetView ? '1px solid #F2F2F2' : 'none',
|
|
115
116
|
}));
|
|
116
117
|
export const StyledCardsBox = styled(Box, {
|
|
117
118
|
shouldForwardProp: (prop) => prop !== 'showNoDataView',
|
|
@@ -430,6 +430,7 @@ export declare const metaIcon: string;
|
|
|
430
430
|
export declare const darkFilterIcon: string;
|
|
431
431
|
export declare const homeIcon: string;
|
|
432
432
|
export declare const lockIcon: string;
|
|
433
|
+
export declare const calenderIcon: string;
|
|
433
434
|
export declare const autoCapturedIcon: string;
|
|
434
435
|
export declare const autoVoidIcon: string;
|
|
435
436
|
export declare const cancelledIcon: string;
|
|
@@ -434,6 +434,7 @@ export const metaIcon = `${lightUrl}/meta.svg`;
|
|
|
434
434
|
export const darkFilterIcon = `${lightUrl}/darkFilterIcon.svg`;
|
|
435
435
|
export const homeIcon = `${lightUrl}/home.svg`;
|
|
436
436
|
export const lockIcon = `${lightUrl}/lockIcon.svg`;
|
|
437
|
+
export const calenderIcon = `${lightUrl}/Calendar.svg`;
|
|
437
438
|
export const autoCapturedIcon = `${lightUrl}/status-v2/autoCapturedNoBG.svg`;
|
|
438
439
|
export const autoVoidIcon = `${lightUrl}/status-v2/autoVoidNoBG.svg`;
|
|
439
440
|
export const cancelledIcon = `${lightUrl}/status-v2/cancelledNoBG.svg`;
|
|
@@ -2,45 +2,56 @@ export declare const authenticationsTableCellWidth: {
|
|
|
2
2
|
readonly id: {
|
|
3
3
|
readonly default: "180px";
|
|
4
4
|
readonly text: "180px";
|
|
5
|
+
readonly sheet: "180px";
|
|
5
6
|
};
|
|
6
7
|
readonly payouts: {
|
|
7
8
|
readonly default: "150px";
|
|
8
9
|
readonly text: "250px";
|
|
10
|
+
readonly sheet: "250px";
|
|
9
11
|
};
|
|
10
12
|
readonly reference: {
|
|
11
13
|
readonly default: "150px";
|
|
12
14
|
readonly text: "250px";
|
|
15
|
+
readonly sheet: "250px";
|
|
13
16
|
};
|
|
14
17
|
readonly customer: {
|
|
15
18
|
readonly default: "180px";
|
|
16
19
|
readonly text: "180px";
|
|
20
|
+
readonly sheet: "180px";
|
|
17
21
|
};
|
|
18
22
|
readonly device: {
|
|
19
23
|
readonly default: "150px";
|
|
20
24
|
readonly text: "250px";
|
|
25
|
+
readonly sheet: "250px";
|
|
21
26
|
};
|
|
22
27
|
readonly source: {
|
|
23
28
|
readonly default: "94px";
|
|
24
29
|
readonly text: "125px";
|
|
30
|
+
readonly sheet: "125px";
|
|
25
31
|
};
|
|
26
32
|
readonly authenticate: {
|
|
27
33
|
readonly default: "18px";
|
|
28
34
|
readonly text: "250px";
|
|
35
|
+
readonly sheet: "250px";
|
|
29
36
|
};
|
|
30
37
|
readonly payment_agreement: {
|
|
31
38
|
readonly default: "50px";
|
|
32
39
|
readonly text: "250px";
|
|
40
|
+
readonly sheet: "250px";
|
|
33
41
|
};
|
|
34
42
|
readonly amount: {
|
|
35
43
|
readonly default: "195px";
|
|
36
44
|
readonly text: "195px";
|
|
45
|
+
readonly sheet: "195px";
|
|
37
46
|
};
|
|
38
47
|
readonly status: {
|
|
39
48
|
readonly default: "150px";
|
|
40
49
|
readonly text: "250px";
|
|
50
|
+
readonly sheet: "250px";
|
|
41
51
|
};
|
|
42
52
|
readonly actions: {
|
|
43
53
|
readonly default: "100px";
|
|
44
54
|
readonly text: "100px";
|
|
55
|
+
readonly sheet: "100px";
|
|
45
56
|
};
|
|
46
57
|
};
|
|
@@ -2,45 +2,56 @@ export const authenticationsTableCellWidth = {
|
|
|
2
2
|
id: {
|
|
3
3
|
default: '180px',
|
|
4
4
|
text: '180px',
|
|
5
|
+
sheet: '180px',
|
|
5
6
|
},
|
|
6
7
|
payouts: {
|
|
7
8
|
default: '150px',
|
|
8
9
|
text: '250px',
|
|
10
|
+
sheet: '250px',
|
|
9
11
|
},
|
|
10
12
|
reference: {
|
|
11
13
|
default: '150px',
|
|
12
14
|
text: '250px',
|
|
15
|
+
sheet: '250px',
|
|
13
16
|
},
|
|
14
17
|
customer: {
|
|
15
18
|
default: '180px',
|
|
16
19
|
text: '180px',
|
|
20
|
+
sheet: '180px',
|
|
17
21
|
},
|
|
18
22
|
device: {
|
|
19
23
|
default: '150px',
|
|
20
24
|
text: '250px',
|
|
25
|
+
sheet: '250px',
|
|
21
26
|
},
|
|
22
27
|
source: {
|
|
23
28
|
default: '94px',
|
|
24
29
|
text: '125px',
|
|
30
|
+
sheet: '125px',
|
|
25
31
|
},
|
|
26
32
|
authenticate: {
|
|
27
33
|
default: '18px',
|
|
28
34
|
text: '250px',
|
|
35
|
+
sheet: '250px',
|
|
29
36
|
},
|
|
30
37
|
payment_agreement: {
|
|
31
38
|
default: '50px',
|
|
32
39
|
text: '250px',
|
|
40
|
+
sheet: '250px',
|
|
33
41
|
},
|
|
34
42
|
amount: {
|
|
35
43
|
default: '195px',
|
|
36
44
|
text: '195px',
|
|
45
|
+
sheet: '195px',
|
|
37
46
|
},
|
|
38
47
|
status: {
|
|
39
48
|
default: '150px',
|
|
40
49
|
text: '250px',
|
|
50
|
+
sheet: '250px',
|
|
41
51
|
},
|
|
42
52
|
actions: {
|
|
43
53
|
default: '100px',
|
|
44
54
|
text: '100px',
|
|
55
|
+
sheet: '100px',
|
|
45
56
|
},
|
|
46
57
|
};
|