@tap-payments/os-micro-frontend-shared 0.1.96-test.22 → 0.1.96-test.24
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/AuthenticationTypeChip/AuthenticationTypeChip.js +2 -2
- package/build/components/Chip/style.d.ts +1 -1
- package/build/components/CountBadge/style.d.ts +1 -1
- package/build/components/Dialog/style.d.ts +1 -1
- package/build/components/FlippingCard/style.d.ts +1 -1
- package/build/components/ImageWrapper/ImageWrapper.d.ts +1 -1
- package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +10 -9
- package/build/components/JSONViewer/style.d.ts +2 -2
- package/build/components/LeftPeekRightExpandingChip/style.d.ts +3 -3
- package/build/components/MFWidgetLoader/MFWidgetLoader.d.ts +2 -0
- package/build/components/MFWidgetLoader/MFWidgetLoader.js +12 -0
- package/build/components/MFWidgetLoader/index.d.ts +2 -0
- package/build/components/MFWidgetLoader/index.js +2 -0
- package/build/components/NestedDropdown/Dropdown.js +2 -2
- package/build/components/RightLeftExpandingCenterChip/style.d.ts +13 -13
- package/build/components/SearchButton/styles.d.ts +2 -2
- package/build/components/StatusIcons/AuthIcons/style.d.ts +2 -2
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -1
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -6
- package/build/components/StatusIcons/SourceIcons/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/constant.d.ts +1 -0
- package/build/components/TableCells/CustomCells/ActionCell/constant.js +2 -1
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +1 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/IDButton/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +4 -4
- package/build/components/TableCells/CustomCells/MarketPlaceCell/type.d.ts +2 -2
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +4 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/constants.d.ts +2 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/constants.js +2 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +8 -10
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +3 -5
- package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +6 -6
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -6
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/style.d.ts +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +3 -1
- package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
- package/build/components/VirtualTables/components/style.d.ts +1 -1
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.d.ts +1 -0
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +3 -3
- package/build/components/Window/Window.js +1 -1
- package/build/components/Window/style.d.ts +2 -2
- package/build/components/index.d.ts +1 -0
- package/build/components/index.js +1 -0
- package/build/constants/apps.d.ts +3 -0
- package/build/constants/apps.js +1 -0
- package/build/constants/assets.d.ts +3 -0
- package/build/constants/assets.js +3 -0
- package/build/constants/table/cell/authorizationTableCellWidth.d.ts +35 -5
- package/build/constants/table/cell/authorizationTableCellWidth.js +35 -5
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +30 -5
- package/build/constants/table/cell/chargeTableCellWidth.js +30 -5
- package/build/constants/table/cell/destinationsTableCellWidth.d.ts +27 -2
- package/build/constants/table/cell/destinationsTableCellWidth.js +27 -2
- package/build/constants/table/cell/merchantsTableCellWidth.d.ts +5 -5
- package/build/constants/table/cell/merchantsTableCellWidth.js +5 -5
- package/build/constants/table/cell/refundTableCellWidth.d.ts +38 -3
- package/build/constants/table/cell/refundTableCellWidth.js +38 -3
- package/build/types/merchant.d.ts +1 -0
- package/build/types/user.d.ts +1 -1
- package/build/utils/localStorage.d.ts +4 -1
- package/build/utils/localStorage.js +11 -0
- package/package.json +2 -2
|
@@ -19,5 +19,5 @@ import IconWithBadge from '../../../IconWithBadge';
|
|
|
19
19
|
export default function BrandsCell(_a) {
|
|
20
20
|
var { brand, verificationStatus, hideStatus } = _a, props = __rest(_a, ["brand", "verificationStatus", "hideStatus"]);
|
|
21
21
|
const icon = verificationIcon[verificationStatus !== null && verificationStatus !== void 0 ? verificationStatus : 'incomplete'];
|
|
22
|
-
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(BrandsWrapper, Object.assign({ sx: { cursor: props.onClick ? 'pointer' : 'default' } }, { children:
|
|
22
|
+
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(Tooltip, Object.assign({ title: brand.name }, { children: _jsx(BrandsWrapper, Object.assign({ sx: { cursor: props.onClick ? 'pointer' : 'default' } }, { children: _jsxs(Box, Object.assign({ display: "flex", alignItems: "center", gap: '5px', sx: { overflow: 'hidden', width: '100%' } }, { children: [_jsx(IconWithBadge, { mainIcon: brand.logo, mainIconSize: 16, containerSize: 16, borderColor: "transparent" }), _jsx(Label, Object.assign({ sx: Object.assign({}, (!brand.name && { color: '#B1B1B1' })) }, { children: brand.name || 'Not Available' })), !hideStatus && (_jsx(IconWithBadge, { mainIcon: icon, mainIconSize: 10, containerSize: 10, borderColor: "transparent", containerSx: { marginLeft: 'auto' } }))] })) })) })) })));
|
|
23
23
|
}
|
|
@@ -48,7 +48,7 @@ export declare const PaymentSourcesContainer: import("@emotion/styled").StyledCo
|
|
|
48
48
|
results?: number | undefined;
|
|
49
49
|
security?: string | undefined;
|
|
50
50
|
unselectable?: "off" | "on" | undefined;
|
|
51
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
51
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
52
52
|
is?: string | undefined;
|
|
53
53
|
exportparts?: string | undefined;
|
|
54
54
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const DueDateCellContainer: import("@emotion/styled").StyledCompo
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const UnCapturedContainer: import("@emotion/styled").StyledCompon
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const ErrorCodeWrapper: import("@emotion/styled").StyledComponent
|
|
|
308
308
|
results?: number | undefined;
|
|
309
309
|
security?: string | undefined;
|
|
310
310
|
unselectable?: "off" | "on" | undefined;
|
|
311
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
311
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
312
312
|
is?: string | undefined;
|
|
313
313
|
exportparts?: string | undefined;
|
|
314
314
|
part?: string | undefined;
|
|
@@ -570,7 +570,7 @@ export declare const ErrorCodeLabel: import("@emotion/styled").StyledComponent<{
|
|
|
570
570
|
results?: number | undefined;
|
|
571
571
|
security?: string | undefined;
|
|
572
572
|
unselectable?: "off" | "on" | undefined;
|
|
573
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
573
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
574
574
|
is?: string | undefined;
|
|
575
575
|
exportparts?: string | undefined;
|
|
576
576
|
part?: string | undefined;
|
|
@@ -833,7 +833,7 @@ export declare const GatewayIconWrapper: import("@emotion/styled").StyledCompone
|
|
|
833
833
|
results?: number | undefined;
|
|
834
834
|
security?: string | undefined;
|
|
835
835
|
unselectable?: "off" | "on" | undefined;
|
|
836
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
836
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
837
837
|
is?: string | undefined;
|
|
838
838
|
exportparts?: string | undefined;
|
|
839
839
|
part?: string | undefined;
|
|
@@ -1095,7 +1095,7 @@ export declare const GatewaysContainer: import("@emotion/styled").StyledComponen
|
|
|
1095
1095
|
results?: number | undefined;
|
|
1096
1096
|
security?: string | undefined;
|
|
1097
1097
|
unselectable?: "off" | "on" | undefined;
|
|
1098
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
1098
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
1099
1099
|
is?: string | undefined;
|
|
1100
1100
|
exportparts?: string | undefined;
|
|
1101
1101
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const DueDateCellContainer: import("@emotion/styled").StyledCompo
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const Button: import("@emotion/styled").StyledComponent<{
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -310,7 +310,7 @@ export declare const RowId: import("@emotion/styled").StyledComponent<{
|
|
|
310
310
|
results?: number | undefined;
|
|
311
311
|
security?: string | undefined;
|
|
312
312
|
unselectable?: "off" | "on" | undefined;
|
|
313
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
313
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
314
314
|
is?: string | undefined;
|
|
315
315
|
exportparts?: string | undefined;
|
|
316
316
|
part?: string | undefined;
|
|
@@ -17,5 +17,5 @@ import Tooltip from '../../../Tooltip';
|
|
|
17
17
|
export default function IndividualsCell(_a) {
|
|
18
18
|
var { id, status, count, name } = _a, props = __rest(_a, ["id", "status", "count", "name"]);
|
|
19
19
|
const icon = verificationIcons[status !== null && status !== void 0 ? status : 'incomplete'];
|
|
20
|
-
return (_jsx(TableCell, Object.assign({}, props, { sx: { cursor: 'pointer' } }, { children: _jsx(
|
|
20
|
+
return (_jsx(TableCell, Object.assign({}, props, { sx: { cursor: 'pointer' } }, { children: _jsx(Tooltip, Object.assign({ title: name }, { children: _jsx(IndividualsWrapper, { children: id ? (_jsxs(IndividualContainer, { children: [_jsx(IndividualName, { children: id }), _jsxs(VerificationContainer, { children: [_jsx(VerificationIcon, { src: icon }), count > 1 && (_jsx("div", { children: _jsxs(Count, { children: ["+", count - 1] }) }))] })] })) : (_jsx(EmptyCell, { children: "Not Available" })) }) })) })));
|
|
21
21
|
}
|
|
@@ -46,7 +46,7 @@ export declare const DueDateCellContainer: import("@emotion/styled").StyledCompo
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const DueDateCellContainer: import("@emotion/styled").StyledCompo
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MarketPlaceCellProps } from './type';
|
|
2
|
-
export default function MarketPlaceCell({ marketPlaceIcon, marketPlaceName,
|
|
2
|
+
export default function MarketPlaceCell({ marketPlaceIcon, marketPlaceName, ...props }: MarketPlaceCellProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,10 +14,10 @@ import Tooltip from '../../../Tooltip';
|
|
|
14
14
|
import TableCell from '../../TableCell';
|
|
15
15
|
import { Box } from '@mui/material';
|
|
16
16
|
import { marketPlaceBlueIcon } from '../../../../constants/index.js';
|
|
17
|
-
import { TextLabel } from '../style';
|
|
18
17
|
export default function MarketPlaceCell(_a) {
|
|
19
|
-
var { marketPlaceIcon, marketPlaceName
|
|
20
|
-
|
|
18
|
+
var { marketPlaceIcon, marketPlaceName } = _a, props = __rest(_a, ["marketPlaceIcon", "marketPlaceName"]);
|
|
19
|
+
const logo = marketPlaceIcon !== null && marketPlaceIcon !== void 0 ? marketPlaceIcon : (_jsx("img", { src: marketPlaceBlueIcon, alt: "marketplace", style: { maxWidth: '18px', maxHeight: '18px', objectFit: 'cover' } }));
|
|
20
|
+
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: 1 } }, { children: marketPlaceName && (_jsx(Tooltip, Object.assign({ title: marketPlaceName }, { children: _jsx(Box, Object.assign({ sx: {
|
|
21
21
|
width: '24px',
|
|
22
22
|
height: '24px',
|
|
23
23
|
border: '1px solid #F2F2F2',
|
|
@@ -25,5 +25,5 @@ export default function MarketPlaceCell(_a) {
|
|
|
25
25
|
display: 'flex',
|
|
26
26
|
alignItems: 'center',
|
|
27
27
|
justifyContent: 'center',
|
|
28
|
-
} }, { children:
|
|
28
|
+
} }, { children: logo })) }))) })) })));
|
|
29
29
|
}
|
|
@@ -46,7 +46,7 @@ export declare const UnCapturedContainer: import("@emotion/styled").StyledCompon
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const ErrorCodeWrapper: import("@emotion/styled").StyledComponent
|
|
|
308
308
|
results?: number | undefined;
|
|
309
309
|
security?: string | undefined;
|
|
310
310
|
unselectable?: "off" | "on" | undefined;
|
|
311
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
311
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
312
312
|
is?: string | undefined;
|
|
313
313
|
exportparts?: string | undefined;
|
|
314
314
|
part?: string | undefined;
|
|
@@ -570,7 +570,7 @@ export declare const ErrorCodeLabel: import("@emotion/styled").StyledComponent<{
|
|
|
570
570
|
results?: number | undefined;
|
|
571
571
|
security?: string | undefined;
|
|
572
572
|
unselectable?: "off" | "on" | undefined;
|
|
573
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
573
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
574
574
|
is?: string | undefined;
|
|
575
575
|
exportparts?: string | undefined;
|
|
576
576
|
part?: string | undefined;
|
|
@@ -833,7 +833,7 @@ export declare const GatewayIconWrapper: import("@emotion/styled").StyledCompone
|
|
|
833
833
|
results?: number | undefined;
|
|
834
834
|
security?: string | undefined;
|
|
835
835
|
unselectable?: "off" | "on" | undefined;
|
|
836
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
836
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
837
837
|
is?: string | undefined;
|
|
838
838
|
exportparts?: string | undefined;
|
|
839
839
|
part?: string | undefined;
|
|
@@ -1095,7 +1095,7 @@ export declare const GatewaysContainer: import("@emotion/styled").StyledComponen
|
|
|
1095
1095
|
results?: number | undefined;
|
|
1096
1096
|
security?: string | undefined;
|
|
1097
1097
|
unselectable?: "off" | "on" | undefined;
|
|
1098
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
1098
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
1099
1099
|
is?: string | undefined;
|
|
1100
1100
|
exportparts?: string | undefined;
|
|
1101
1101
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const ProductCellContainer: import("@emotion/styled").StyledCompo
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const ReferenceSourcesContainer: import("@emotion/styled").Styled
|
|
|
48
48
|
results?: number | undefined;
|
|
49
49
|
security?: string | undefined;
|
|
50
50
|
unselectable?: "off" | "on" | undefined;
|
|
51
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
51
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
52
52
|
is?: string | undefined;
|
|
53
53
|
exportparts?: string | undefined;
|
|
54
54
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const RefundChargeCellContainer: import("@emotion/styled").Styled
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const PercentageContainer: import("@emotion/styled").StyledCompon
|
|
|
308
308
|
results?: number | undefined;
|
|
309
309
|
security?: string | undefined;
|
|
310
310
|
unselectable?: "off" | "on" | undefined;
|
|
311
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
311
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
312
312
|
is?: string | undefined;
|
|
313
313
|
exportparts?: string | undefined;
|
|
314
314
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const RefundCellContainer: import("@emotion/styled").StyledCompon
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -15,6 +15,7 @@ import { ImageWrapper } from '../../../index.js';
|
|
|
15
15
|
import { TableCell } from '../../../TableCells';
|
|
16
16
|
import { openUrl } from '../../../../utils/index.js';
|
|
17
17
|
import { ChannelTextLabel, ChannelTextWrapper, salesChannelAnimation, SalesChannelsContainer, StyledSourceCell, StyledSourceImage } from './style';
|
|
18
|
+
import { NON_CLICKABLE_CHANNELS } from './constants';
|
|
18
19
|
function SalesChannelCell(_a) {
|
|
19
20
|
var _b;
|
|
20
21
|
var { channels, isTextShown } = _a, props = __rest(_a, ["channels", "isTextShown"]);
|
|
@@ -23,9 +24,11 @@ function SalesChannelCell(_a) {
|
|
|
23
24
|
const sourceTooltip = channel.address;
|
|
24
25
|
const channelCode = (_a = channel.code) === null || _a === void 0 ? void 0 : _a.replace(/_/g, '');
|
|
25
26
|
const isLastChannel = index === (channels === null || channels === void 0 ? void 0 : channels.length) - 1;
|
|
26
|
-
return (_jsx(Tooltip, Object.assign({ title: sourceTooltip }, { children: _jsx(ImageWrapper, Object.assign({ order: index, variants: salesChannelAnimation(index, isTextShown ? 74 : 0), sx: Object.assign({ width: isTextShown ? '70px' : '36px', cursor: 'pointer' }, (isLastChannel && {
|
|
27
|
+
return (_jsx(Tooltip, Object.assign({ title: sourceTooltip }, { children: _jsx(ImageWrapper, Object.assign({ order: index, variants: salesChannelAnimation(index, isTextShown ? 74 : 0), sx: Object.assign({ width: isTextShown ? '70px' : '36px', cursor: NON_CLICKABLE_CHANNELS.includes(channel.code) ? 'default' : 'pointer' }, (isLastChannel && {
|
|
27
28
|
boxShadow: '7px 0px 8px 0px #F2F2F2',
|
|
28
29
|
})), onClick: () => {
|
|
30
|
+
if (NON_CLICKABLE_CHANNELS.includes(channel.code))
|
|
31
|
+
return;
|
|
29
32
|
if (channel === null || channel === void 0 ? void 0 : channel.address)
|
|
30
33
|
openUrl(channel.address);
|
|
31
34
|
} }, { children: isTextShown ? (_jsx(ChannelTextWrapper, { children: _jsx(ChannelTextLabel, { children: channelCode }) })) : (_jsx(StyledSourceImage, { src: channel.logo, alt: channelCode })) })) }), `${channel}-${index}`));
|
|
@@ -48,7 +48,7 @@ export declare const SalesChannelsContainer: import("@emotion/styled").StyledCom
|
|
|
48
48
|
results?: number | undefined;
|
|
49
49
|
security?: string | undefined;
|
|
50
50
|
unselectable?: "off" | "on" | undefined;
|
|
51
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
51
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
52
52
|
is?: string | undefined;
|
|
53
53
|
exportparts?: string | undefined;
|
|
54
54
|
part?: string | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SegmentsCellProps } from './type';
|
|
2
|
-
declare function SegmentsCell({ isTextShown, ...props }: SegmentsCellProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare function SegmentsCell({ isTextShown, segments, ...props }: SegmentsCellProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default SegmentsCell;
|
|
@@ -20,25 +20,23 @@ import { segmentsIcons } from './constant';
|
|
|
20
20
|
import { ReferenceTextLabel, ReferenceTextWrapper, ReferenceSourcesContainer, StyledSourceCell, referenceSourceAnimation } from './style';
|
|
21
21
|
import IconWithBadge from '../../../IconWithBadge';
|
|
22
22
|
function SegmentsCell(_a) {
|
|
23
|
-
var { isTextShown } = _a, props = __rest(_a, ["isTextShown"]);
|
|
23
|
+
var { isTextShown, segments } = _a, props = __rest(_a, ["isTextShown", "segments"]);
|
|
24
24
|
const [isTooltipOpen, setIsTooltipOpen] = useState(false);
|
|
25
25
|
const theme = useTheme();
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
const segmentData = props[segment];
|
|
30
|
-
const sourceTooltip = `${prefixKey} ${startCase(segment)} - ${segmentData === null || segmentData === void 0 ? void 0 : segmentData.name}`;
|
|
26
|
+
const ReferenceSources = useMemo(() => segments === null || segments === void 0 ? void 0 : segments.filter((segment) => !!segment.name).map((segment, index) => {
|
|
27
|
+
const prefixKey = ['technology', 'institution'].includes(segment.type) ? 'Payment' : '';
|
|
28
|
+
const sourceTooltip = segment.tooltip || `${prefixKey} ${startCase(segment.type)} - ${segment.name}`;
|
|
31
29
|
return (_jsx(Tooltip, Object.assign({ onOpen: () => {
|
|
32
30
|
setIsTooltipOpen(true);
|
|
33
31
|
}, onClose: () => {
|
|
34
32
|
setIsTooltipOpen(false);
|
|
35
33
|
}, title: sourceTooltip }, { children: _jsx(ImageWrapper, Object.assign({ order: index, variants: referenceSourceAnimation(index, theme.shadows[4], isTextShown ? 83 : 0), sx: {
|
|
36
34
|
width: isTextShown ? '79px' : '36px',
|
|
37
|
-
} }, { children: isTextShown ? (_jsx(ReferenceTextWrapper, { children: _jsx(ReferenceTextLabel, { children: startCase(segment) }) })) : (_jsx(IconWithBadge, { mainIcon:
|
|
38
|
-
e.currentTarget.src = segmentsIcons[segment];
|
|
35
|
+
} }, { children: isTextShown ? (_jsx(ReferenceTextWrapper, { children: _jsx(ReferenceTextLabel, { children: startCase(segment.name) }) })) : (_jsx(IconWithBadge, { mainIcon: segment.icon || segmentsIcons[segment.type], mainIconSize: 16, containerSize: 16, sx: Object.assign({}, (segment.icon ? { borderRadius: '40px' } : { borderRadius: '0px' })), onError: (e) => {
|
|
36
|
+
e.currentTarget.src = segmentsIcons[segment.type];
|
|
39
37
|
e.currentTarget.style.borderRadius = '0px';
|
|
40
|
-
}, borderColor: "transparent" })) })) }), `${segment}-${index}`));
|
|
41
|
-
}), [
|
|
38
|
+
}, borderColor: "transparent" })) })) }), `${segment.name}-${index}`));
|
|
39
|
+
}), [segments, isTextShown, theme]);
|
|
42
40
|
const referenceSourcesCount = (ReferenceSources === null || ReferenceSources === void 0 ? void 0 : ReferenceSources.length) || 0;
|
|
43
41
|
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: {
|
|
44
42
|
zIndex: 29,
|
|
@@ -47,7 +47,7 @@ export declare const ReferenceSourcesContainer: import("@emotion/styled").Styled
|
|
|
47
47
|
results?: number | undefined;
|
|
48
48
|
security?: string | undefined;
|
|
49
49
|
unselectable?: "off" | "on" | undefined;
|
|
50
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
50
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
51
51
|
is?: string | undefined;
|
|
52
52
|
exportparts?: string | undefined;
|
|
53
53
|
part?: string | undefined;
|
|
@@ -4,12 +4,10 @@ export type SegmentsType = keyof typeof segmentsIcons;
|
|
|
4
4
|
export interface SegmentInfo {
|
|
5
5
|
name?: string;
|
|
6
6
|
icon?: string;
|
|
7
|
+
type: SegmentsType;
|
|
8
|
+
tooltip?: string;
|
|
7
9
|
}
|
|
8
10
|
export interface SegmentsCellProps extends TableCellProps {
|
|
9
|
-
technology?: SegmentInfo;
|
|
10
|
-
institution?: SegmentInfo;
|
|
11
|
-
payment?: SegmentInfo;
|
|
12
|
-
developmentHouse?: SegmentInfo;
|
|
13
|
-
platform?: SegmentInfo;
|
|
14
11
|
isTextShown?: boolean;
|
|
12
|
+
segments: SegmentInfo[];
|
|
15
13
|
}
|
|
@@ -48,7 +48,7 @@ export declare const PaymentSourcesContainer: import("@emotion/styled").StyledCo
|
|
|
48
48
|
results?: number | undefined;
|
|
49
49
|
security?: string | undefined;
|
|
50
50
|
unselectable?: "off" | "on" | undefined;
|
|
51
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
51
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
52
52
|
is?: string | undefined;
|
|
53
53
|
exportparts?: string | undefined;
|
|
54
54
|
part?: string | undefined;
|
|
@@ -60,7 +60,7 @@ export declare const MultiRefundIcon: import("@emotion/styled").StyledComponent<
|
|
|
60
60
|
results?: number | undefined;
|
|
61
61
|
security?: string | undefined;
|
|
62
62
|
unselectable?: "off" | "on" | undefined;
|
|
63
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
63
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
64
64
|
is?: string | undefined;
|
|
65
65
|
exportparts?: string | undefined;
|
|
66
66
|
part?: string | undefined;
|
|
@@ -331,7 +331,7 @@ export declare const RefundsCountBadge: import("@emotion/styled").StyledComponen
|
|
|
331
331
|
results?: number | undefined;
|
|
332
332
|
security?: string | undefined;
|
|
333
333
|
unselectable?: "off" | "on" | undefined;
|
|
334
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
334
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
335
335
|
is?: string | undefined;
|
|
336
336
|
exportparts?: string | undefined;
|
|
337
337
|
part?: string | undefined;
|
|
@@ -593,7 +593,7 @@ export declare const MultiRefundContainer: import("@emotion/styled").StyledCompo
|
|
|
593
593
|
results?: number | undefined;
|
|
594
594
|
security?: string | undefined;
|
|
595
595
|
unselectable?: "off" | "on" | undefined;
|
|
596
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
596
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
597
597
|
is?: string | undefined;
|
|
598
598
|
exportparts?: string | undefined;
|
|
599
599
|
part?: string | undefined;
|
|
@@ -874,7 +874,7 @@ export declare const StatusIcon: import("@emotion/styled").StyledComponent<{
|
|
|
874
874
|
results?: number | undefined;
|
|
875
875
|
security?: string | undefined;
|
|
876
876
|
unselectable?: "off" | "on" | undefined;
|
|
877
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
877
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
878
878
|
is?: string | undefined;
|
|
879
879
|
exportparts?: string | undefined;
|
|
880
880
|
part?: string | undefined;
|
|
@@ -1138,7 +1138,7 @@ export declare const StatusWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
1138
1138
|
results?: number | undefined;
|
|
1139
1139
|
security?: string | undefined;
|
|
1140
1140
|
unselectable?: "off" | "on" | undefined;
|
|
1141
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
1141
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
1142
1142
|
is?: string | undefined;
|
|
1143
1143
|
exportparts?: string | undefined;
|
|
1144
1144
|
part?: string | undefined;
|
|
@@ -1400,7 +1400,7 @@ export declare const StatusContainer: import("@emotion/styled").StyledComponent<
|
|
|
1400
1400
|
results?: number | undefined;
|
|
1401
1401
|
security?: string | undefined;
|
|
1402
1402
|
unselectable?: "off" | "on" | undefined;
|
|
1403
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
1403
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
1404
1404
|
is?: string | undefined;
|
|
1405
1405
|
exportparts?: string | undefined;
|
|
1406
1406
|
part?: string | undefined;
|
|
@@ -49,7 +49,7 @@ export declare const MultiRefundIcon: import("@emotion/styled").StyledComponent<
|
|
|
49
49
|
results?: number | undefined;
|
|
50
50
|
security?: string | undefined;
|
|
51
51
|
unselectable?: "off" | "on" | undefined;
|
|
52
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
52
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
53
53
|
is?: string | undefined;
|
|
54
54
|
exportparts?: string | undefined;
|
|
55
55
|
part?: string | undefined;
|
|
@@ -320,7 +320,7 @@ export declare const RefundsCountBadge: import("@emotion/styled").StyledComponen
|
|
|
320
320
|
results?: number | undefined;
|
|
321
321
|
security?: string | undefined;
|
|
322
322
|
unselectable?: "off" | "on" | undefined;
|
|
323
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
323
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
324
324
|
is?: string | undefined;
|
|
325
325
|
exportparts?: string | undefined;
|
|
326
326
|
part?: string | undefined;
|
|
@@ -582,7 +582,7 @@ export declare const MultiRefundContainer: import("@emotion/styled").StyledCompo
|
|
|
582
582
|
results?: number | undefined;
|
|
583
583
|
security?: string | undefined;
|
|
584
584
|
unselectable?: "off" | "on" | undefined;
|
|
585
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
585
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
586
586
|
is?: string | undefined;
|
|
587
587
|
exportparts?: string | undefined;
|
|
588
588
|
part?: string | undefined;
|
|
@@ -863,7 +863,7 @@ export declare const StatusIcon: import("@emotion/styled").StyledComponent<{
|
|
|
863
863
|
results?: number | undefined;
|
|
864
864
|
security?: string | undefined;
|
|
865
865
|
unselectable?: "off" | "on" | undefined;
|
|
866
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
866
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
867
867
|
is?: string | undefined;
|
|
868
868
|
exportparts?: string | undefined;
|
|
869
869
|
part?: string | undefined;
|
|
@@ -1127,7 +1127,7 @@ export declare const StatusWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
1127
1127
|
results?: number | undefined;
|
|
1128
1128
|
security?: string | undefined;
|
|
1129
1129
|
unselectable?: "off" | "on" | undefined;
|
|
1130
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
1130
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
1131
1131
|
is?: string | undefined;
|
|
1132
1132
|
exportparts?: string | undefined;
|
|
1133
1133
|
part?: string | undefined;
|
|
@@ -1391,7 +1391,7 @@ export declare const StatusContainer: import("@emotion/styled").StyledComponent<
|
|
|
1391
1391
|
results?: number | undefined;
|
|
1392
1392
|
security?: string | undefined;
|
|
1393
1393
|
unselectable?: "off" | "on" | undefined;
|
|
1394
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
1394
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
1395
1395
|
is?: string | undefined;
|
|
1396
1396
|
exportparts?: string | undefined;
|
|
1397
1397
|
part?: string | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const UnCapturedContainer: import("@emotion/styled").StyledCompon
|
|
|
46
46
|
results?: number | undefined;
|
|
47
47
|
security?: string | undefined;
|
|
48
48
|
unselectable?: "off" | "on" | undefined;
|
|
49
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
49
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
50
50
|
is?: string | undefined;
|
|
51
51
|
exportparts?: string | undefined;
|
|
52
52
|
part?: string | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const ErrorCodeWrapper: import("@emotion/styled").StyledComponent
|
|
|
308
308
|
results?: number | undefined;
|
|
309
309
|
security?: string | undefined;
|
|
310
310
|
unselectable?: "off" | "on" | undefined;
|
|
311
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
311
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
312
312
|
is?: string | undefined;
|
|
313
313
|
exportparts?: string | undefined;
|
|
314
314
|
part?: string | undefined;
|
|
@@ -570,7 +570,7 @@ export declare const ErrorCodeLabel: import("@emotion/styled").StyledComponent<{
|
|
|
570
570
|
results?: number | undefined;
|
|
571
571
|
security?: string | undefined;
|
|
572
572
|
unselectable?: "off" | "on" | undefined;
|
|
573
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
573
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
574
574
|
is?: string | undefined;
|
|
575
575
|
exportparts?: string | undefined;
|
|
576
576
|
part?: string | undefined;
|
|
@@ -833,7 +833,7 @@ export declare const GatewayIconWrapper: import("@emotion/styled").StyledCompone
|
|
|
833
833
|
results?: number | undefined;
|
|
834
834
|
security?: string | undefined;
|
|
835
835
|
unselectable?: "off" | "on" | undefined;
|
|
836
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
836
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
837
837
|
is?: string | undefined;
|
|
838
838
|
exportparts?: string | undefined;
|
|
839
839
|
part?: string | undefined;
|
|
@@ -1095,7 +1095,7 @@ export declare const GatewaysContainer: import("@emotion/styled").StyledComponen
|
|
|
1095
1095
|
results?: number | undefined;
|
|
1096
1096
|
security?: string | undefined;
|
|
1097
1097
|
unselectable?: "off" | "on" | undefined;
|
|
1098
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
1098
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
1099
1099
|
is?: string | undefined;
|
|
1100
1100
|
exportparts?: string | undefined;
|
|
1101
1101
|
part?: string | undefined;
|
|
@@ -51,7 +51,7 @@ export declare const BadgeWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
51
51
|
results?: number | undefined;
|
|
52
52
|
security?: string | undefined;
|
|
53
53
|
unselectable?: "off" | "on" | undefined;
|
|
54
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
54
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
55
55
|
is?: string | undefined;
|
|
56
56
|
exportparts?: string | undefined;
|
|
57
57
|
part?: string | undefined;
|
|
@@ -43,6 +43,8 @@ function Inputs({ onCloseDropdown, filter: { options = [], onConfirm, data, isOn
|
|
|
43
43
|
setValues(Object.assign(Object.assign({}, values), { [apiKey]: e.target.value }));
|
|
44
44
|
}, disabled: isDisabled || isInputDisabled(apiKey, filterGroup), value: getInputValue(apiKey), inputProps: { autoComplete: 'off', 'data-testid': 'ColumnFilterInputs_input' }, endAdornment: _jsx(Box, { component: "img", "data-testid": "ColumnFilterInputs_icon", "data-icon": isInputHasValue(apiKey) ? 'close' : 'search', src: isInputHasValue(apiKey) ? grayCloseIcon : searchIcon, alt: "search", className: "icon", sx: { cursor: isInputHasValue(apiKey) ? 'pointer' : 'default' }, onClick: () => {
|
|
45
45
|
onClickResetInput(apiKey);
|
|
46
|
-
} }) })) }, apiKey))) })), _jsx(Collapse, Object.assign({ in: showClearButton, component: "section", "data-testid": "ColumnFilterInputs_Collapse"
|
|
46
|
+
} }) })) }, apiKey))) })), _jsx(Collapse, Object.assign({ in: showClearButton, component: "section", "data-testid": "ColumnFilterInputs_Collapse", sx: {
|
|
47
|
+
borderTop: '0',
|
|
48
|
+
} }, { children: _jsx(ClearWrapper, Object.assign({ "data-testid": "ColumnFilterInputs_ClearWrapper" }, { children: _jsx(ClearButton, Object.assign({ type: "button", onClick: onClickClear, "data-testid": "ColumnFilterInputs_ClearButton" }, { children: t('clear') })) })) })), _jsxs(Footer, Object.assign({ component: "footer", "data-testid": "ColumnFilterInputs_footer" }, { children: [_jsx(CancelButton, Object.assign({ type: "button", onClick: onClickCancel, "data-testid": "ColumnFilterInputs_CancelButton" }, { children: t('cancel') })), _jsx(OkayButton, Object.assign({ type: "button", onClick: onClickOkay, "data-testid": "ColumnFilterInputs_OkayButton" }, { children: t('okay') }))] }))] })));
|
|
47
49
|
}
|
|
48
50
|
export default Inputs;
|
|
@@ -56,6 +56,6 @@ function List({ onCloseDropdown, filter, styles }) {
|
|
|
56
56
|
bottom: 0,
|
|
57
57
|
backgroundColor: 'white',
|
|
58
58
|
zIndex: 99999,
|
|
59
|
-
} }, { children: [_jsx(CancelButton, Object.assign({ onClick: onClickCancel }, { children: t('cancel') })), _jsx(OkayButton, Object.assign({ onClick: onClickOkay }, { children: t('okay') }))] })) }));
|
|
59
|
+
} }, { children: [_jsx(CancelButton, Object.assign({ onClick: onClickCancel }, { children: t('cancel') }), "nested-dropdown-cancel"), _jsx(OkayButton, Object.assign({ onClick: onClickOkay }, { children: t('okay') }), "nested-dropdown-ok")] })) }));
|
|
60
60
|
}
|
|
61
61
|
export default memo(List);
|
|
@@ -96,7 +96,7 @@ export declare const ActionIcon: import("@emotion/styled").StyledComponent<{
|
|
|
96
96
|
results?: number | undefined;
|
|
97
97
|
security?: string | undefined;
|
|
98
98
|
unselectable?: "off" | "on" | undefined;
|
|
99
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "
|
|
99
|
+
inputMode?: "none" | "email" | "search" | "numeric" | "text" | "url" | "tel" | "decimal" | undefined;
|
|
100
100
|
is?: string | undefined;
|
|
101
101
|
exportparts?: string | undefined;
|
|
102
102
|
part?: string | undefined;
|