@tap-payments/os-micro-frontend-shared 0.0.129-sheetview-component-ui-v1 → 0.0.130
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/DeviceIcon/DeviceIcon.d.ts +1 -3
- package/build/components/DeviceIcon/DeviceIcon.js +3 -3
- package/build/components/DeviceIcon/style.d.ts +1 -4
- package/build/components/DeviceIcon/style.js +1 -4
- package/build/components/StatusButton/StatusButton.js +4 -10
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.d.ts +1 -3
- package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +4 -4
- package/build/components/StatusIcons/DeviceIcon/DeviceIcon.d.ts +1 -3
- package/build/components/StatusIcons/DeviceIcon/DeviceIcon.js +2 -2
- package/build/components/StatusIcons/IssuerIcon/IssuerIcon.d.ts +1 -1
- package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +2 -2
- package/build/components/StatusIcons/IssuerIcon/style.d.ts +1 -4
- package/build/components/StatusIcons/IssuerIcon/style.js +4 -3
- package/build/components/StatusIcons/IssuerIcon/type.d.ts +0 -2
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.d.ts +1 -3
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +4 -5
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +1 -4
- package/build/components/TableCells/CustomCells/ActionCell/style.js +2 -4
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +2 -2
- package/build/components/TableCells/CustomCells/AmountCell/style.d.ts +2 -7
- package/build/components/TableCells/CustomCells/AmountCell/style.js +4 -4
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +2 -2
- package/build/components/TableCells/CustomCells/CustomerCell/style.d.ts +1 -4
- package/build/components/TableCells/CustomCells/CustomerCell/style.js +7 -3
- package/build/components/TableCells/CustomCells/DateCell/DateCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/DateCell/DateCell.js +2 -3
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +2 -3
- package/build/components/TableCells/CustomCells/DestinationCell/styled.d.ts +1 -4
- package/build/components/TableCells/CustomCells/DestinationCell/styled.js +2 -4
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -4
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.d.ts +1 -2
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +2 -5
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +2 -11
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +0 -2
- package/build/components/TableCells/CustomCells/ReferenceCell/style.js +0 -7
- package/build/components/TableCells/CustomCells/ReferenceCell/type.d.ts +2 -5
- package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.js +3 -13
- package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +0 -3
- package/build/components/TableCells/CustomCells/SourceMergedCell/style.js +0 -19
- package/build/components/TableCells/CustomCells/SourceMergedCell/type.d.ts +1 -2
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +2 -6
- package/build/components/TableCells/CustomCells/StatusCell/style.js +0 -1
- package/build/components/TableCells/CustomCells/StatusCell/type.d.ts +0 -1
- package/build/components/TableCells/CustomCells/index.d.ts +0 -1
- package/build/components/TableCells/CustomCells/index.js +0 -1
- package/build/components/TableCells/CustomCells/style.d.ts +1 -4
- package/build/components/TableCells/CustomCells/style.js +9 -6
- package/build/components/TableCells/CustomCells/type.d.ts +1 -6
- package/build/components/VirtualTable/SheetView/SheetViewVirtualTable.d.ts +1 -1
- package/build/components/VirtualTable/SheetView/SheetViewVirtualTable.js +1 -1
- package/build/components/VirtualTable/components/TableRowLoading.js +0 -1
- package/build/components/VirtualTable/style.js +3 -3
- package/build/components/index.d.ts +0 -2
- package/build/components/index.js +0 -2
- package/build/constants/assets.d.ts +0 -1
- package/build/constants/assets.js +0 -1
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +14 -14
- package/build/constants/table/cell/chargeTableCellWidth.js +14 -14
- package/build/types/table.d.ts +1 -2
- package/package.json +132 -132
- package/build/components/MaskedText/MaskedText.d.ts +0 -3
- package/build/components/MaskedText/MaskedText.js +0 -11
- package/build/components/MaskedText/index.d.ts +0 -3
- package/build/components/MaskedText/index.js +0 -2
- package/build/components/MaskedText/type.d.ts +0 -7
- package/build/components/MaskedText/type.js +0 -1
- package/build/components/StatusChip/StatusChip.d.ts +0 -4
- package/build/components/StatusChip/StatusChip.js +0 -19
- package/build/components/StatusChip/index.d.ts +0 -3
- package/build/components/StatusChip/index.js +0 -2
- package/build/components/StatusChip/style.d.ts +0 -14
- package/build/components/StatusChip/style.js +0 -32
- package/build/components/StatusChip/type.d.ts +0 -9
- package/build/components/StatusChip/type.js +0 -1
- package/build/components/TableCells/CustomCells/SheetViewIDButton/SheetViewIDButton.d.ts +0 -7
- package/build/components/TableCells/CustomCells/SheetViewIDButton/SheetViewIDButton.js +0 -35
- package/build/components/TableCells/CustomCells/SheetViewIDButton/index.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SheetViewIDButton/index.js +0 -1
- package/build/components/TableCells/CustomCells/SheetViewIDButton/style.d.ts +0 -3
- package/build/components/TableCells/CustomCells/SheetViewIDButton/style.js +0 -22
|
@@ -14,7 +14,7 @@ import { TableCell } from '../../../TableCells';
|
|
|
14
14
|
import Tooltip from '../../../Tooltip';
|
|
15
15
|
import { MAX_TOOLTIP_ITEM_LENGTH } from './constant';
|
|
16
16
|
function OrderCell(_a) {
|
|
17
|
-
var { value, label, items
|
|
17
|
+
var { value, label, items } = _a, props = __rest(_a, ["value", "label", "items"]);
|
|
18
18
|
const orderDiscriminator = Number.isInteger(value) && Number(value) > 1 && label.charAt(label.length - 1) !== 's' ? `${label}s` : label;
|
|
19
19
|
const orderLabel = `${value} ${orderDiscriminator}`;
|
|
20
20
|
const orderTooltip = (_jsx(_Fragment, { children: items === null || items === void 0 ? void 0 : items.map((item) => {
|
|
@@ -22,9 +22,6 @@ function OrderCell(_a) {
|
|
|
22
22
|
const truncatedItemContent = ((itemContent === null || itemContent === void 0 ? void 0 : itemContent.length) || 0) > MAX_TOOLTIP_ITEM_LENGTH ? `${itemContent === null || itemContent === void 0 ? void 0 : itemContent.slice(0, MAX_TOOLTIP_ITEM_LENGTH)}...` : itemContent;
|
|
23
23
|
return _jsx("div", { children: truncatedItemContent }, item.id);
|
|
24
24
|
}) }));
|
|
25
|
-
if (tableMode === 'sheet') {
|
|
26
|
-
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx("span", { children: orderLabel }) })));
|
|
27
|
-
}
|
|
28
25
|
return (_jsx(Tooltip, Object.assign({ title: (items || []).length > 1 ? orderTooltip : undefined }, { children: _jsx(TableCell, Object.assign({}, props, { children: _jsx("span", { children: orderLabel }) })) })));
|
|
29
26
|
}
|
|
30
27
|
export default OrderCell;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export declare const ReceiptCell: ({ receiptId, isTextShown
|
|
1
|
+
export declare const ReceiptCell: ({ receiptId, isTextShown }: {
|
|
2
2
|
receiptId: string;
|
|
3
3
|
isTextShown?: boolean | undefined;
|
|
4
|
-
tableMode?: "text" | "sheet" | "default" | undefined;
|
|
5
4
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TableCell } from '@mui/material';
|
|
3
3
|
import { TextTableCell } from '..';
|
|
4
|
-
import {
|
|
4
|
+
import { TextLabel } from '../style';
|
|
5
5
|
import Tooltip from '../../../Tooltip';
|
|
6
6
|
import { receiptBillIcon } from '../../../../constants/index.js';
|
|
7
|
-
export const ReceiptCell = ({ receiptId, isTextShown
|
|
8
|
-
if (tableMode === 'sheet') {
|
|
9
|
-
return (_jsx(StyledTextTableCell, { children: _jsx("span", { children: receiptId }) }));
|
|
10
|
-
}
|
|
7
|
+
export const ReceiptCell = ({ receiptId, isTextShown }) => {
|
|
11
8
|
return isTextShown ? (_jsx(TextTableCell, { children: _jsx("span", { children: receiptId }) })) : (_jsx(TableCell, Object.assign({ component: "div" }, { children: _jsx(Tooltip, Object.assign({ title: `Receipt - ${receiptId}` }, { children: _jsx(TextLabel, Object.assign({ sx: {
|
|
12
9
|
padding: '3px 8px',
|
|
13
10
|
maxWidth: '50px',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReferenceCellProps } from './type';
|
|
2
|
-
declare function ReferenceCell({ isTextShown,
|
|
2
|
+
declare function ReferenceCell({ isTextShown, ...props }: ReferenceCellProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ReferenceCell;
|
|
@@ -16,12 +16,10 @@ import startCase from 'lodash/startCase';
|
|
|
16
16
|
import Tooltip from '../../../Tooltip';
|
|
17
17
|
import { ImageWrapper } from '../../../index.js';
|
|
18
18
|
import { TableCell } from '../../../TableCells';
|
|
19
|
-
import StatusChip from '../../../StatusChip';
|
|
20
19
|
import { referenceIcons } from './constant';
|
|
21
|
-
import { ReferenceTextLabel, ReferenceTextWrapper, ReferenceSourcesContainer, StyledSourceCell, StyledSourceImage,
|
|
22
|
-
const REFERENCE_ORDER = ['order', 'payment', 'acquirer', 'generic', 'merchant', 'customer'];
|
|
20
|
+
import { ReferenceTextLabel, ReferenceTextWrapper, ReferenceSourcesContainer, StyledSourceCell, StyledSourceImage, referenceSourceAnimation, } from './style';
|
|
23
21
|
function ReferenceCell(_a) {
|
|
24
|
-
var { isTextShown
|
|
22
|
+
var { isTextShown } = _a, props = __rest(_a, ["isTextShown"]);
|
|
25
23
|
const [isTooltipOpen, setIsTooltipOpen] = useState(false);
|
|
26
24
|
const theme = useTheme();
|
|
27
25
|
const references = useMemo(() => Object.keys(referenceIcons).filter((key) => !!props[key]), [props]);
|
|
@@ -36,13 +34,6 @@ function ReferenceCell(_a) {
|
|
|
36
34
|
} }, { children: isTextShown ? (_jsx(ReferenceTextWrapper, { children: _jsx(ReferenceTextLabel, { children: startCase(reference) }) })) : (_jsx(StyledSourceImage, { src: referenceIcons[reference], alt: reference, sx: Object.assign({}, (reference === 'order' && { width: '11.82px' })) })) })) }), `${reference}-${index}`));
|
|
37
35
|
}), [props, references, isTextShown, theme]);
|
|
38
36
|
const referenceSourcesCount = (ReferenceSources === null || ReferenceSources === void 0 ? void 0 : ReferenceSources.length) || 0;
|
|
39
|
-
if (tableMode === 'sheet') {
|
|
40
|
-
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(StyledSourceCell, { children: REFERENCE_ORDER.map((referenceKey) => {
|
|
41
|
-
const referenceValue = props[referenceKey];
|
|
42
|
-
const hasValue = !!referenceValue;
|
|
43
|
-
return (_jsx(ReferenceSheetContainer, { children: hasValue ? _jsx(StatusChip, Object.assign({ width: '100%' }, { children: `${startCase(referenceKey)}: ${referenceValue}` })) : _jsx(ReferenceEmptyPlaceholder, {}) }, referenceKey));
|
|
44
|
-
}) }) })));
|
|
45
|
-
}
|
|
46
37
|
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(StyledSourceCell, { children: referenceSourcesCount > 0 ? (_jsx(ReferenceSourcesContainer, Object.assign({ layout: true, className: "reference-sources-container", whileHover: "animate", animate: isTooltipOpen ? 'animate' : 'start', sourcesCount: referenceSourcesCount, variants: { animate: { width: referenceSourcesCount * (6 + 32) } }, style: {
|
|
47
38
|
zIndex: 29,
|
|
48
39
|
} }, { children: ReferenceSources }))) : null }) })));
|
|
@@ -267,8 +267,6 @@ export declare const ReferenceSourcesContainer: import("@emotion/styled").Styled
|
|
|
267
267
|
}, {}, {}>;
|
|
268
268
|
export declare const ReferenceTextLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
269
269
|
export declare const ReferenceTextWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
270
|
-
export declare const ReferenceSheetContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
271
|
-
export declare const ReferenceEmptyPlaceholder: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
272
270
|
export declare const referenceSourceAnimation: (index: number, shadow: string, xDelta?: number) => {
|
|
273
271
|
start: {
|
|
274
272
|
x: number;
|
|
@@ -34,13 +34,6 @@ export const ReferenceTextWrapper = styled('div')(() => ({
|
|
|
34
34
|
justifyContent: 'center',
|
|
35
35
|
paddingInline: '4px',
|
|
36
36
|
}));
|
|
37
|
-
export const ReferenceSheetContainer = styled('div')(() => ({
|
|
38
|
-
minWidth: '200px',
|
|
39
|
-
maxWidth: '250px',
|
|
40
|
-
}));
|
|
41
|
-
export const ReferenceEmptyPlaceholder = styled('div')(() => ({
|
|
42
|
-
height: '18px',
|
|
43
|
-
}));
|
|
44
37
|
export const referenceSourceAnimation = (index, shadow, xDelta) => ({
|
|
45
38
|
start: {
|
|
46
39
|
x: index * 6,
|
|
@@ -2,12 +2,9 @@ import { TableCellProps } from '@mui/material/TableCell';
|
|
|
2
2
|
import { referenceIcons } from './constant';
|
|
3
3
|
export type ReferenceType = keyof typeof referenceIcons;
|
|
4
4
|
export interface ReferenceCellProps extends TableCellProps {
|
|
5
|
-
order?: string;
|
|
6
|
-
merchant?: string;
|
|
7
|
-
customer?: string;
|
|
8
|
-
acquirer?: string;
|
|
9
5
|
generic?: string;
|
|
6
|
+
acquirer?: string;
|
|
7
|
+
order?: string;
|
|
10
8
|
payment?: string;
|
|
11
9
|
isTextShown?: boolean;
|
|
12
|
-
tableMode?: 'default' | 'text' | 'sheet';
|
|
13
10
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SourceMergedCellProps } from './type';
|
|
2
|
-
declare function SourceMergedCell({ icons, isTextShown, centerIconKey, collapsedViewIcon, isReversed,
|
|
2
|
+
declare function SourceMergedCell({ icons, isTextShown, centerIconKey, collapsedViewIcon, isReversed, ...props }: Readonly<SourceMergedCellProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default SourceMergedCell;
|
|
@@ -12,20 +12,17 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useRef, useEffect, useState, useMemo } from 'react';
|
|
14
14
|
import { TableCell } from '../../../TableCells';
|
|
15
|
-
import { StatusContainer, StatusWrapper, StatusIcon
|
|
15
|
+
import { StatusContainer, StatusWrapper, StatusIcon } from './style';
|
|
16
16
|
import { getIconXTranslation } from './utils';
|
|
17
17
|
import CollapsedViewIcon from './CollapsedViewIcon';
|
|
18
18
|
function SourceMergedCell(_a) {
|
|
19
|
-
var { icons, isTextShown, centerIconKey, collapsedViewIcon, isReversed = false
|
|
19
|
+
var { icons, isTextShown, centerIconKey, collapsedViewIcon, isReversed = false } = _a, props = __rest(_a, ["icons", "isTextShown", "centerIconKey", "collapsedViewIcon", "isReversed"]);
|
|
20
20
|
const iconsList = useMemo(() => icons.filter((icon) => Boolean(icon.icon)), [icons]);
|
|
21
21
|
const [isHovering, setIsHovering] = useState(false);
|
|
22
22
|
const centerIconIndex = Math.max(centerIconKey ? iconsList.findIndex((icon) => icon.key === centerIconKey) : 0, 0);
|
|
23
23
|
const iconRefs = useRef([]);
|
|
24
24
|
const [iconMeasurements, setIconMeasurements] = useState(new Map());
|
|
25
|
-
const isSheetMode = tableMode === 'sheet';
|
|
26
25
|
useEffect(() => {
|
|
27
|
-
if (isSheetMode)
|
|
28
|
-
return;
|
|
29
26
|
setTimeout(() => {
|
|
30
27
|
const tableMode = isTextShown ? 'text' : 'default';
|
|
31
28
|
const newMeasurements = new Map();
|
|
@@ -38,16 +35,9 @@ function SourceMergedCell(_a) {
|
|
|
38
35
|
});
|
|
39
36
|
setIconMeasurements(new Map([...iconMeasurements, ...newMeasurements]));
|
|
40
37
|
}, 50);
|
|
41
|
-
}, [iconsList, isTextShown, isHovering
|
|
38
|
+
}, [iconsList, isTextShown, isHovering]);
|
|
42
39
|
const hasPreviousIcon = (isReversed && iconsList.length > 1) || centerIconIndex > 0;
|
|
43
40
|
const hasNextIcon = !isReversed && centerIconIndex < iconsList.length - 1;
|
|
44
|
-
if (isSheetMode) {
|
|
45
|
-
return (_jsx(TableCell, Object.assign({}, props, { "data-testid": "StatusCell", sx: {
|
|
46
|
-
position: 'relative',
|
|
47
|
-
overflow: 'visible',
|
|
48
|
-
zIndex: 101,
|
|
49
|
-
} }, { children: _jsx(SheetModeContainer, { children: iconsList === null || iconsList === void 0 ? void 0 : iconsList.map((icon, index) => (_jsx(SheetModeStatusWrapper, Object.assign({ "data-testid": `StatusWrapper-${icon.key}` }, { children: _jsx(SheetModeIconContainer, { children: icon.icon }) }), `StatusWrapper-${icon.key}-${index}`))) }) })));
|
|
50
|
-
}
|
|
51
41
|
return (_jsx(TableCell, Object.assign({}, props, { "data-testid": "StatusCell", sx: {
|
|
52
42
|
position: 'relative',
|
|
53
43
|
overflow: 'visible',
|
|
@@ -1617,6 +1617,3 @@ export declare const StatusContainer: import("@emotion/styled").StyledComponent<
|
|
|
1617
1617
|
} & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
1618
1618
|
isReversed?: boolean | undefined;
|
|
1619
1619
|
}, {}, {}>;
|
|
1620
|
-
export declare const SheetModeContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1621
|
-
export declare const SheetModeStatusWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1622
|
-
export declare const SheetModeIconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -74,22 +74,3 @@ export const StatusContainer = styled(motion.div)(({ isReversed }) => ({
|
|
|
74
74
|
position: 'relative',
|
|
75
75
|
overflow: 'visible',
|
|
76
76
|
}));
|
|
77
|
-
export const SheetModeContainer = styled('div')(() => ({
|
|
78
|
-
display: 'flex',
|
|
79
|
-
alignItems: 'center',
|
|
80
|
-
gap: '4px',
|
|
81
|
-
height: '18px',
|
|
82
|
-
}));
|
|
83
|
-
export const SheetModeStatusWrapper = styled('div')(() => ({
|
|
84
|
-
display: 'flex',
|
|
85
|
-
alignItems: 'center',
|
|
86
|
-
opacity: 1,
|
|
87
|
-
border: '1px solid #F2F2F2',
|
|
88
|
-
borderRadius: '24px',
|
|
89
|
-
padding: '0px 8px',
|
|
90
|
-
}));
|
|
91
|
-
export const SheetModeIconContainer = styled('div')(() => ({
|
|
92
|
-
display: 'flex',
|
|
93
|
-
alignItems: 'center',
|
|
94
|
-
opacity: 1,
|
|
95
|
-
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { TableCellProps } from '@mui/material/TableCell';
|
|
3
|
-
import { SourceMergedCellIcons
|
|
3
|
+
import { SourceMergedCellIcons } from '../../../../types/index.js';
|
|
4
4
|
import type { SxProps } from '@mui/material';
|
|
5
5
|
export interface SourceMergedCellProps extends TableCellProps {
|
|
6
6
|
icons: {
|
|
@@ -15,5 +15,4 @@ export interface SourceMergedCellProps extends TableCellProps {
|
|
|
15
15
|
};
|
|
16
16
|
isReversed?: boolean;
|
|
17
17
|
sx?: SxProps;
|
|
18
|
-
tableMode?: TableMode;
|
|
19
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StatusCellProps } from './type';
|
|
2
|
-
declare function StatusCell({ statuses, isTextShown, centerIconKey, xGap,
|
|
2
|
+
declare function StatusCell({ statuses, isTextShown, centerIconKey, xGap, ...props }: Readonly<StatusCellProps & {
|
|
3
3
|
isChargesService?: boolean;
|
|
4
4
|
isAuthorizationsService?: boolean;
|
|
5
5
|
}>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,16 +11,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { TableCell } from '../../../TableCells';
|
|
14
|
-
import StatusChip from '../../../StatusChip';
|
|
15
14
|
import { StatusIcon, StatusContainer, StatusWrapper } from './style';
|
|
16
15
|
import { getStatusesFilteredObject } from './utils';
|
|
17
16
|
function StatusCell(_a) {
|
|
18
|
-
var { statuses, isTextShown, centerIconKey, xGap
|
|
19
|
-
const statusesFilteredObject =
|
|
17
|
+
var { statuses, isTextShown, centerIconKey, xGap } = _a, props = __rest(_a, ["statuses", "isTextShown", "centerIconKey", "xGap"]);
|
|
18
|
+
const statusesFilteredObject = getStatusesFilteredObject(statuses);
|
|
20
19
|
const statusesList = Object.values(statusesFilteredObject).filter(Boolean);
|
|
21
|
-
if (tableMode === 'sheet') {
|
|
22
|
-
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(StatusContainer, { children: statusesList.map((status, index) => (_jsx(StatusChip, Object.assign({ borderColor: "transparent", padding: '0px' }, { children: status }), index))) }) })));
|
|
23
|
-
}
|
|
24
20
|
const xGapValue = isTextShown ? xGap || 120 : 40;
|
|
25
21
|
const centerIconIndex = centerIconKey ? Object.entries(statusesFilteredObject).findIndex(([key]) => key === centerIconKey) : 0;
|
|
26
22
|
return (_jsx(TableCell, Object.assign({}, props, { "data-testid": "StatusCell", sx: {
|
|
@@ -42,7 +42,6 @@ export * from './ApplicationStatusCell';
|
|
|
42
42
|
export * from './SegmentsCell';
|
|
43
43
|
export * from './MarketPlaceCell';
|
|
44
44
|
export * from './IndividualsCell';
|
|
45
|
-
export * from './SheetViewIDButton';
|
|
46
45
|
export * from './BrandsCell';
|
|
47
46
|
export * from './type';
|
|
48
47
|
export * from './style';
|
|
@@ -42,7 +42,6 @@ export * from './ApplicationStatusCell';
|
|
|
42
42
|
export * from './SegmentsCell';
|
|
43
43
|
export * from './MarketPlaceCell';
|
|
44
44
|
export * from './IndividualsCell';
|
|
45
|
-
export * from './SheetViewIDButton';
|
|
46
45
|
export * from './BrandsCell';
|
|
47
46
|
export * from './type';
|
|
48
47
|
export * from './style';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TableMode } from '../../../types/index.js';
|
|
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>, {}>;
|
|
@@ -272,9 +271,7 @@ export declare const StarBadgeWrapper: import("@emotion/styled").StyledComponent
|
|
|
272
271
|
isShown?: boolean | undefined;
|
|
273
272
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
274
273
|
export declare const CountBadge: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
275
|
-
export declare const IdButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme
|
|
276
|
-
tableMode?: TableMode | undefined;
|
|
277
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
274
|
+
export declare const IdButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
278
275
|
export declare const AvatarStyled: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarOwnProps & import("@mui/material").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
279
276
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
280
277
|
}, "className" | "style" | "classes" | "children" | "sx" | "src" | "alt" | "variant" | "slots" | "slotProps" | "sizes" | "srcSet" | "imgProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -63,12 +63,15 @@ export const CountBadge = styled('span')(({ theme }) => ({
|
|
|
63
63
|
fontSize: '9.782px',
|
|
64
64
|
fontWeight: 600,
|
|
65
65
|
}));
|
|
66
|
-
export const IdButtonContainer = styled('div'
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
export const IdButtonContainer = styled('div')({
|
|
67
|
+
display: 'flex',
|
|
68
|
+
width: '24px',
|
|
69
|
+
height: '24px',
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
justifyContent: 'center',
|
|
72
|
+
borderRadius: '64px;',
|
|
73
|
+
border: '1px solid #F2F2F2;',
|
|
74
|
+
});
|
|
72
75
|
export const AvatarStyled = styled(Avatar)(({ theme }) => ({
|
|
73
76
|
width: 24,
|
|
74
77
|
height: 24,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { TableCellProps } from '@mui/material';
|
|
3
|
-
import type { Charge
|
|
3
|
+
import type { Charge } from '../../../types/index.js';
|
|
4
4
|
import type { ActionType, FlagType } from './ActionCell';
|
|
5
5
|
import { getGeographyBoxColor } from '../../../utils/index.js';
|
|
6
6
|
export type GeographyBoxVariant = keyof ReturnType<typeof getGeographyBoxColor>;
|
|
@@ -10,7 +10,6 @@ export interface DateCellProps extends TableCellProps {
|
|
|
10
10
|
format?: object;
|
|
11
11
|
flagIcon?: string;
|
|
12
12
|
hasFlag?: boolean;
|
|
13
|
-
tableMode?: TableMode;
|
|
14
13
|
}
|
|
15
14
|
export interface OrderCellProps extends TableCellProps {
|
|
16
15
|
label: string;
|
|
@@ -20,7 +19,6 @@ export interface OrderCellProps extends TableCellProps {
|
|
|
20
19
|
description?: string;
|
|
21
20
|
name?: string;
|
|
22
21
|
}>;
|
|
23
|
-
tableMode?: TableMode;
|
|
24
22
|
}
|
|
25
23
|
export interface CustomerCellProps extends TableCellProps {
|
|
26
24
|
customerInitiated?: boolean;
|
|
@@ -34,7 +32,6 @@ export interface CustomerCellProps extends TableCellProps {
|
|
|
34
32
|
email?: string;
|
|
35
33
|
phone?: string;
|
|
36
34
|
id?: string;
|
|
37
|
-
tableMode?: TableMode;
|
|
38
35
|
}
|
|
39
36
|
export interface SourceCellProps extends TableCellProps {
|
|
40
37
|
geographyVariant?: 'G' | 'L' | 'R';
|
|
@@ -54,7 +51,6 @@ export interface AmountCellProps extends TableCellProps {
|
|
|
54
51
|
tooltipLabel?: React.ReactNode;
|
|
55
52
|
amountTooltipLabel?: React.ReactNode;
|
|
56
53
|
isTextShown?: boolean;
|
|
57
|
-
tableMode?: TableMode;
|
|
58
54
|
}
|
|
59
55
|
export interface DestinationCellProps extends TableCellProps {
|
|
60
56
|
destinationsCount?: number;
|
|
@@ -84,7 +80,6 @@ export interface DestinationCellProps extends TableCellProps {
|
|
|
84
80
|
}>;
|
|
85
81
|
};
|
|
86
82
|
iconDirection?: 'left' | 'right';
|
|
87
|
-
tableMode?: TableMode;
|
|
88
83
|
}
|
|
89
84
|
export interface ActionCellProps extends TableCellProps {
|
|
90
85
|
row?: unknown;
|
|
@@ -5,6 +5,6 @@ interface ISheetViewVirtualTable extends Omit<IVirtualTable, 'isSheetView'> {
|
|
|
5
5
|
isPinnable?: boolean;
|
|
6
6
|
clearBackdropVisibilityTimeout?: number;
|
|
7
7
|
}
|
|
8
|
-
declare function SheetViewVirtualTable({ columns, rows, threshold, showHeader, headerProps, rowProps, footerProps, rowHeight, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, showBackgroundColor, areAllRowsLoaded, tableBodyStyles, tableTitle, dragControls, onColumnPin, clearBackdropVisibilityTimeout, isPinnable,
|
|
8
|
+
declare function SheetViewVirtualTable({ columns, rows, threshold, showHeader, headerProps, rowProps, footerProps, rowHeight, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, showBackgroundColor, areAllRowsLoaded, tableBodyStyles, tableMode, tableTitle, dragControls, onColumnPin, clearBackdropVisibilityTimeout, isPinnable, }: Readonly<ISheetViewVirtualTable>): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare const _default: import("react").MemoExoticComponent<typeof SheetViewVirtualTable>;
|
|
10
10
|
export default _default;
|
|
@@ -40,7 +40,7 @@ const createItemData = memoize((columns, isLoading, rows, rowProps, scrollToInde
|
|
|
40
40
|
isSheetView: true,
|
|
41
41
|
isPinned,
|
|
42
42
|
}));
|
|
43
|
-
function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, showHeader, headerProps, rowProps, footerProps, rowHeight = 28, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, showBackgroundColor, areAllRowsLoaded = false, tableBodyStyles, tableTitle, dragControls, onColumnPin, clearBackdropVisibilityTimeout = 100, isPinnable = false,
|
|
43
|
+
function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, showHeader, headerProps, rowProps, footerProps, rowHeight = 28, isLoading, error, columnsSorting, onColumnSort, loadMoreItems, isFetchingNextPage, triggerDataRefetch, scrollToIndex, showBackgroundColor, areAllRowsLoaded = false, tableBodyStyles, tableMode, tableTitle, dragControls, onColumnPin, clearBackdropVisibilityTimeout = 100, isPinnable = false, }) {
|
|
44
44
|
var _a, _b, _c;
|
|
45
45
|
const theme = useTheme();
|
|
46
46
|
const { pinnedStartColumns, pinnedEndColumns, handleColumnPin, pinnedStartColumnsData, pinnedEndColumnsData, unpinnedColumnsData, orderedColumns, lastColumnId, } = usePinnedColumns(columns, isPinnable, onColumnPin);
|
|
@@ -8,7 +8,6 @@ import { areEqual } from 'react-window';
|
|
|
8
8
|
const StyledSkeleton = styled(Skeleton)(({ theme }) => ({
|
|
9
9
|
backgroundColor: theme.palette.grey[100],
|
|
10
10
|
borderRadius: '64px',
|
|
11
|
-
minWidth: '20px',
|
|
12
11
|
}));
|
|
13
12
|
function TableRowLoading({ columns, style, index, animationType }) {
|
|
14
13
|
return (_jsx(MUITableRow, Object.assign({ sx: Object.assign(Object.assign({}, style), { display: 'flex', borderBottom: '1px solid #e3e8ee', '&:hover': {
|
|
@@ -32,9 +32,9 @@ export const StyledCell = styled(TableCell, {
|
|
|
32
32
|
shouldForwardProp: (prop) => !['isLast', 'isFirst', 'isSheetView'].includes(prop),
|
|
33
33
|
})(({ theme, isLast, isFirst, isSheetView }) => (Object.assign({ paddingBlock: '0', paddingInline: '0.3875rem !important', paddingLeft: isFirst ? '0 !important' : '0.3875rem !important', paddingRight: isLast ? '0 !important' : '0.3875rem !important', color: theme.palette.grey[700], fontSize: theme.typography.caption.fontSize, height: '100%', fontWeight: theme.typography.fontWeightRegular, whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', display: 'flex', alignItems: 'center' }, (isSheetView && {
|
|
34
34
|
borderRight: isLast ? 'none' : `1px solid ${theme.palette.divider}`,
|
|
35
|
-
paddingInline: '
|
|
36
|
-
paddingLeft: '
|
|
37
|
-
paddingRight: '
|
|
35
|
+
paddingInline: '0.375rem !important',
|
|
36
|
+
paddingLeft: '0.375rem !important',
|
|
37
|
+
paddingRight: '0.375rem !important',
|
|
38
38
|
}))));
|
|
39
39
|
export const StyledVirtualList = styled(VirtualScrollList, {
|
|
40
40
|
shouldForwardProp: (prop) => !['areTotalRowsNotFillingHeight', 'isSheetView'].includes(prop),
|
|
@@ -17,7 +17,6 @@ export { default as SheetViewVirtualTable } from './VirtualTable/SheetView/Sheet
|
|
|
17
17
|
export { default as Widget, ListItem, WidgetHeader, WidgetList } from './Widget';
|
|
18
18
|
export { default as TapLogo } from './TapLogo';
|
|
19
19
|
export { default as StatusButton, ChevronIcon, type ChevronIconProps, type StatusButtonIcon, type StatusButtonProps } from './StatusButton';
|
|
20
|
-
export { default as StatusChip } from './StatusChip';
|
|
21
20
|
export { default as SimpleDialog, type SimpleDialogProps } from './SimpleDialog';
|
|
22
21
|
export { default as SearchButton } from './SearchButton';
|
|
23
22
|
export { default as Loaders } from './Loaders';
|
|
@@ -45,7 +44,6 @@ export { default as ResizableHeightInput } from './ResizableHeightInput';
|
|
|
45
44
|
export { default as MainContainer } from './MainContainer';
|
|
46
45
|
export { default as Menu } from './Menu';
|
|
47
46
|
export { default as MenuItem } from './MenuItem';
|
|
48
|
-
export { default as MaskedText } from './MaskedText';
|
|
49
47
|
export { default as MultiSelectDropdownButton, type ButtonWithDropdownProps } from './MultiSelectDropdownButton';
|
|
50
48
|
export { default as MultiSelectWithSearch, type MultiSelectWithSearchProps, ChildMenuItem, ParentMenuItem } from './MultiSelectWithSearch';
|
|
51
49
|
export { default as NestedDropdown, type DropdownProps, type Selected, type Placement, Dropdown, NestedMenuItem } from './NestedDropdown';
|
|
@@ -17,7 +17,6 @@ export { default as SheetViewVirtualTable } from './VirtualTable/SheetView/Sheet
|
|
|
17
17
|
export { default as Widget, ListItem, WidgetHeader, WidgetList } from './Widget';
|
|
18
18
|
export { default as TapLogo } from './TapLogo';
|
|
19
19
|
export { default as StatusButton, ChevronIcon } from './StatusButton';
|
|
20
|
-
export { default as StatusChip } from './StatusChip';
|
|
21
20
|
export { default as SimpleDialog } from './SimpleDialog';
|
|
22
21
|
export { default as SearchButton } from './SearchButton';
|
|
23
22
|
export { default as Loaders } from './Loaders';
|
|
@@ -45,7 +44,6 @@ export { default as ResizableHeightInput } from './ResizableHeightInput';
|
|
|
45
44
|
export { default as MainContainer } from './MainContainer';
|
|
46
45
|
export { default as Menu } from './Menu';
|
|
47
46
|
export { default as MenuItem } from './MenuItem';
|
|
48
|
-
export { default as MaskedText } from './MaskedText';
|
|
49
47
|
export { default as MultiSelectDropdownButton } from './MultiSelectDropdownButton';
|
|
50
48
|
export { default as MultiSelectWithSearch, ChildMenuItem, ParentMenuItem } from './MultiSelectWithSearch';
|
|
51
49
|
export { default as NestedDropdown, Dropdown, NestedMenuItem } from './NestedDropdown';
|
|
@@ -232,7 +232,6 @@ export declare const leadTitleIcon: string;
|
|
|
232
232
|
export declare const orderAppIcon: string;
|
|
233
233
|
export declare const orderWindowIcon: string;
|
|
234
234
|
export declare const dottedLine: string;
|
|
235
|
-
export declare const passwordDotsIcon: string;
|
|
236
235
|
export declare const dollarSignIcon: string;
|
|
237
236
|
export declare const reloadIcon: string;
|
|
238
237
|
export declare const deletedStatusIcon: string;
|
|
@@ -233,7 +233,6 @@ export const leadTitleIcon = `${lightUrl}/window/leadTitleIcon.svg`;
|
|
|
233
233
|
export const orderAppIcon = `${appBaseUrl}/OrderApp.svg`;
|
|
234
234
|
export const orderWindowIcon = `${appBaseUrl}/OrderTitleIcon.svg`;
|
|
235
235
|
export const dottedLine = `${lightUrl}/dottedLine.svg`;
|
|
236
|
-
export const passwordDotsIcon = `${lightUrl}/passwordDots.svg`;
|
|
237
236
|
export const dollarSignIcon = `${lightUrl}/dollarSign.svg`;
|
|
238
237
|
export const reloadIcon = `${lightUrl}/reload.svg`;
|
|
239
238
|
export const deletedStatusIcon = `${appBaseUrl}/deletedStatus1.svg`;
|
|
@@ -12,7 +12,7 @@ export declare const chargeTableCellWidth: {
|
|
|
12
12
|
readonly id: {
|
|
13
13
|
readonly default: "225px";
|
|
14
14
|
readonly text: "225px";
|
|
15
|
-
readonly sheet: "
|
|
15
|
+
readonly sheet: "225px";
|
|
16
16
|
};
|
|
17
17
|
readonly product: {
|
|
18
18
|
readonly default: "85px";
|
|
@@ -22,12 +22,12 @@ export declare const chargeTableCellWidth: {
|
|
|
22
22
|
readonly date: {
|
|
23
23
|
readonly default: "170px";
|
|
24
24
|
readonly text: "170px";
|
|
25
|
-
readonly sheet: "
|
|
25
|
+
readonly sheet: "170px";
|
|
26
26
|
};
|
|
27
27
|
readonly reference: {
|
|
28
28
|
readonly default: "95px";
|
|
29
29
|
readonly text: "180px";
|
|
30
|
-
readonly sheet: "
|
|
30
|
+
readonly sheet: "180px";
|
|
31
31
|
};
|
|
32
32
|
readonly order: {
|
|
33
33
|
readonly default: "80px";
|
|
@@ -37,12 +37,12 @@ export declare const chargeTableCellWidth: {
|
|
|
37
37
|
readonly customer: {
|
|
38
38
|
readonly default: "180px";
|
|
39
39
|
readonly text: "180px";
|
|
40
|
-
readonly sheet: "
|
|
40
|
+
readonly sheet: "180px";
|
|
41
41
|
};
|
|
42
42
|
readonly source: {
|
|
43
43
|
readonly default: "114px";
|
|
44
44
|
readonly text: "125px";
|
|
45
|
-
readonly sheet: "
|
|
45
|
+
readonly sheet: "125px";
|
|
46
46
|
};
|
|
47
47
|
readonly authenticate: {
|
|
48
48
|
readonly default: "55px";
|
|
@@ -57,7 +57,7 @@ export declare const chargeTableCellWidth: {
|
|
|
57
57
|
readonly amount: {
|
|
58
58
|
readonly default: "170px";
|
|
59
59
|
readonly text: "195px";
|
|
60
|
-
readonly sheet: "
|
|
60
|
+
readonly sheet: "195px";
|
|
61
61
|
};
|
|
62
62
|
readonly destinations: {
|
|
63
63
|
readonly default: "70px";
|
|
@@ -72,12 +72,12 @@ export declare const chargeTableCellWidth: {
|
|
|
72
72
|
readonly status: {
|
|
73
73
|
readonly default: "70px";
|
|
74
74
|
readonly text: "300px";
|
|
75
|
-
readonly sheet: "
|
|
75
|
+
readonly sheet: "300px";
|
|
76
76
|
};
|
|
77
77
|
readonly merchant: {
|
|
78
78
|
readonly default: "100px";
|
|
79
79
|
readonly text: "150px";
|
|
80
|
-
readonly sheet: "
|
|
80
|
+
readonly sheet: "150px";
|
|
81
81
|
};
|
|
82
82
|
readonly charge: {
|
|
83
83
|
readonly default: "150px";
|
|
@@ -97,7 +97,7 @@ export declare const chargeTableCellWidth: {
|
|
|
97
97
|
readonly receipt: {
|
|
98
98
|
readonly default: "85px";
|
|
99
99
|
readonly text: "150px";
|
|
100
|
-
readonly sheet: "
|
|
100
|
+
readonly sheet: "150px";
|
|
101
101
|
};
|
|
102
102
|
readonly fees: {
|
|
103
103
|
readonly default: "150px";
|
|
@@ -107,7 +107,7 @@ export declare const chargeTableCellWidth: {
|
|
|
107
107
|
readonly metadata: {
|
|
108
108
|
readonly default: "180px";
|
|
109
109
|
readonly text: "180px";
|
|
110
|
-
readonly sheet: "
|
|
110
|
+
readonly sheet: "180px";
|
|
111
111
|
};
|
|
112
112
|
readonly settlement: {
|
|
113
113
|
readonly default: "200px";
|
|
@@ -122,7 +122,7 @@ export declare const chargeTableCellWidth: {
|
|
|
122
122
|
readonly actions: {
|
|
123
123
|
readonly default: "100px";
|
|
124
124
|
readonly text: "100px";
|
|
125
|
-
readonly sheet: "
|
|
125
|
+
readonly sheet: "100px";
|
|
126
126
|
};
|
|
127
127
|
readonly payment_id: {
|
|
128
128
|
readonly default: "150px";
|
|
@@ -132,7 +132,7 @@ export declare const chargeTableCellWidth: {
|
|
|
132
132
|
readonly card_number: {
|
|
133
133
|
readonly default: "120px";
|
|
134
134
|
readonly text: "120px";
|
|
135
|
-
readonly sheet: "
|
|
135
|
+
readonly sheet: "120px";
|
|
136
136
|
};
|
|
137
137
|
readonly auth_code: {
|
|
138
138
|
readonly default: "80px";
|
|
@@ -142,7 +142,7 @@ export declare const chargeTableCellWidth: {
|
|
|
142
142
|
readonly rrn: {
|
|
143
143
|
readonly default: "100px";
|
|
144
144
|
readonly text: "100px";
|
|
145
|
-
readonly sheet: "
|
|
145
|
+
readonly sheet: "100px";
|
|
146
146
|
};
|
|
147
147
|
readonly device: {
|
|
148
148
|
readonly default: "70px";
|
|
@@ -152,7 +152,7 @@ export declare const chargeTableCellWidth: {
|
|
|
152
152
|
readonly card_no: {
|
|
153
153
|
readonly default: "120px";
|
|
154
154
|
readonly text: "120px";
|
|
155
|
-
readonly sheet: "
|
|
155
|
+
readonly sheet: "120px";
|
|
156
156
|
};
|
|
157
157
|
readonly meta: {
|
|
158
158
|
readonly default: "52px";
|