@tap-payments/os-micro-frontend-shared 0.0.61 → 0.0.62

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.
Files changed (50) hide show
  1. package/build/components/Chip/style.d.ts +1 -0
  2. package/build/components/CountBadge/style.d.ts +1 -0
  3. package/build/components/Dialog/style.d.ts +1 -0
  4. package/build/components/FlippingCard/style.d.ts +1 -0
  5. package/build/components/ImageWrapper/ImageWrapper.d.ts +1 -0
  6. package/build/components/JSONViewer/style.d.ts +1 -0
  7. package/build/components/SearchButton/styles.d.ts +1 -0
  8. package/build/components/StatusButton/StatusButton.d.ts +1 -1
  9. package/build/components/StatusButton/StatusButton.js +2 -2
  10. package/build/components/StatusButton/type.d.ts +1 -0
  11. package/build/components/StatusIcons/AuthIcons/style.d.ts +1 -0
  12. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -0
  13. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +1 -0
  14. package/build/components/StatusIcons/SourceIcons/style.d.ts +1 -0
  15. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +1 -0
  16. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +2 -2
  17. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +8 -14
  18. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +1 -0
  19. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +1 -0
  20. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +1 -0
  21. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -0
  22. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -0
  23. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +1 -0
  24. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +1 -0
  25. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +1 -0
  26. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +1 -1
  27. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +1 -0
  28. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.d.ts +1 -1
  29. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +2 -2
  30. package/build/components/TableCells/CustomCells/IndividualsCell/type.d.ts +1 -0
  31. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +1 -0
  32. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -0
  33. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +1 -0
  34. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -0
  35. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -0
  36. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +1 -0
  37. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +1 -0
  38. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +1 -1
  39. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -0
  40. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +1 -0
  41. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +1 -0
  42. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +1 -0
  43. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +1 -0
  44. package/build/components/TableCells/CustomCells/style.d.ts +1 -0
  45. package/build/components/VirtualTable/components/TableHeader.js +1 -1
  46. package/build/components/VirtualTable/style.d.ts +1 -0
  47. package/build/constants/assets.d.ts +3 -0
  48. package/build/constants/assets.js +3 -0
  49. package/build/types/merchant.d.ts +1 -1
  50. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  import { GetSourceAnimationFunction } from './type';
3
4
  export declare const ChipStyled: import("@emotion/styled").StyledComponent<import("react").RefAttributes<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
4
5
  variant?: import("./type").ChipVariant | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const AgreementImageWrapper: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const DialogWrapper: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const Wrapper: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  declare const ImageWrapper: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const FOOTER_HEIGHT = 37;
3
4
  export declare const TITLE_BAR_HEIGHT = "32px";
4
5
  export declare const VIEWER_HEIGHT = 545;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const StyledInput: import("@emotion/styled").StyledComponent<{
3
4
  width?: string | number | undefined;
4
5
  height?: string | number | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import type { StatusButtonProps } from './type';
3
- declare function StatusButton({ variant, badgeCount, icon, label, dropdownOptions, onButtonBodyClick, ...props }: StatusButtonProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function StatusButton({ variant, badgeCount, icon, label, dropdownOptions, onButtonBodyClick, showDropdownIcon, ...props }: StatusButtonProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare const _default: import("react").MemoExoticComponent<typeof StatusButton>;
5
5
  export default _default;
@@ -19,7 +19,7 @@ import { ChevronContainer, Label, LabelWrapper, StatusIcon, StyledDropdown, stat
19
19
  import { statusButtonIcons } from './constant';
20
20
  function StatusButton(_a) {
21
21
  var _b, _c;
22
- var { variant = 'inActive', badgeCount, icon, label, dropdownOptions, onButtonBodyClick } = _a, props = __rest(_a, ["variant", "badgeCount", "icon", "label", "dropdownOptions", "onButtonBodyClick"]);
22
+ var { variant = 'inActive', badgeCount, icon, label, dropdownOptions, onButtonBodyClick, showDropdownIcon } = _a, props = __rest(_a, ["variant", "badgeCount", "icon", "label", "dropdownOptions", "onButtonBodyClick", "showDropdownIcon"]);
23
23
  const [anchorEl, setAnchorEl] = useState(null);
24
24
  const buttonRef = useRef(null);
25
25
  const [lastActiveStatus, setLastActiveStatus] = useState((_b = dropdownOptions === null || dropdownOptions === void 0 ? void 0 : dropdownOptions[0]) === null || _b === void 0 ? void 0 : _b.status);
@@ -29,7 +29,7 @@ function StatusButton(_a) {
29
29
  setAnchorEl(null);
30
30
  };
31
31
  const Button = statusButtonVariants[variant];
32
- const hasDropdown = dropdownOptions && dropdownOptions.length > 0;
32
+ const hasDropdown = (dropdownOptions && dropdownOptions.length > 0) || showDropdownIcon;
33
33
  const statusIcon = icon ? _jsx(StatusIcon, { icon: icon, variant: variant, src: statusButtonIcons[icon], alt: `${icon}-icon` }) : null;
34
34
  const statusBadge = badgeCount && !Number.isNaN(convertToNumber(badgeCount)) ? (_jsx(StyledBadge, Object.assign({ variant: variant === 'active' ? BadgeVariants.ACTIVE : BadgeVariants.INACTIVE }, { children: formatNumber(Number(badgeCount)) }))) : null;
35
35
  const dropdownIcon = hasDropdown ? _jsx(ChevronIcon, { isActive: variant === 'active' }) : null;
@@ -10,6 +10,7 @@ export interface StatusButtonProps extends Omit<ButtonProps, 'variant' | 'childr
10
10
  hasDropdown?: boolean;
11
11
  icon?: StatusButtonIcon;
12
12
  label?: ReactNode | null;
13
+ showDropdownIcon?: boolean;
13
14
  totalCount?: number;
14
15
  onButtonBodyClick?: (status: TableHeaderStatus) => void;
15
16
  dropdownOptions?: Array<MenuItemI & {
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
3
4
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
5
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const BalanceCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const ErrorCodeLabel: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
3
4
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
5
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  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>, {}>;
3
4
  export declare const ActionsIconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
4
5
  selected: boolean;
@@ -10,7 +10,7 @@ var __rest = (this && this.__rest) || function (s, e) {
10
10
  return t;
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { acceptanceAppIcon, acceptanceAppDisabledIcon, payoutsAppIcon, payoutAppDisabledIcon } from '../../../../constants/index.js';
13
+ import { acceptanceAppIcon, acceptanceDisabledRoundedIcon, payoutsAppIcon, payoutDisabledRoundedIcon } from '../../../../constants/index.js';
14
14
  import Tooltip from '../../../Tooltip';
15
15
  import TableCell from '../../TableCell';
16
16
  import { AppsWrapper, IconWrapper } from './style';
@@ -18,5 +18,5 @@ export default function ApplicationStatusCell(_a) {
18
18
  var { acceptance, payout } = _a, props = __rest(_a, ["acceptance", "payout"]);
19
19
  const isAcceptanceEnabled = (acceptance === null || acceptance === void 0 ? void 0 : acceptance.toLowerCase()) === 'enabled';
20
20
  const isPayoutEnabled = (payout === null || payout === void 0 ? void 0 : payout.toLowerCase()) === 'enabled';
21
- return (_jsx(TableCell, Object.assign({}, props, { children: _jsxs(AppsWrapper, { children: [_jsx(Tooltip, Object.assign({ title: 'Acceptance' }, { children: _jsxs(IconWrapper, { children: [_jsx("img", { src: isAcceptanceEnabled ? acceptanceAppIcon : acceptanceAppDisabledIcon, alt: acceptance }), ' '] }) }), acceptance), _jsx(Tooltip, Object.assign({ title: 'Payouts' }, { children: _jsx(IconWrapper, { children: _jsx("img", { src: isPayoutEnabled ? payoutsAppIcon : payoutAppDisabledIcon, alt: payout }) }) }), payout)] }) })));
21
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsxs(AppsWrapper, { children: [_jsx(Tooltip, Object.assign({ title: 'Acceptance' }, { children: _jsxs(IconWrapper, { children: [_jsx("img", { src: isAcceptanceEnabled ? acceptanceAppIcon : acceptanceDisabledRoundedIcon, alt: acceptance }), ' '] }) }), acceptance), _jsx(Tooltip, Object.assign({ title: 'Payouts' }, { children: _jsx(IconWrapper, { children: _jsx("img", { src: isPayoutEnabled ? payoutsAppIcon : payoutDisabledRoundedIcon, alt: payout }) }) }), payout)] }) })));
22
22
  }
@@ -6,23 +6,17 @@ export const AppsWrapper = styled('div')(({ theme }) => ({
6
6
  borderRadius: '44px',
7
7
  lineHeight: '120%',
8
8
  }));
9
- export const IconWrapper = styled(Box)(() => ({
9
+ export const IconWrapper = styled(Box)(({ theme }) => ({
10
10
  display: 'flex',
11
11
  alignItems: 'center',
12
12
  justifyContent: 'center',
13
- width: '24px',
14
- height: '24px',
15
- borderRadius: '8px',
16
- cursor: 'pointer',
17
- boxSizing: 'border-box',
18
- '&.colored': {
19
- border: 'none',
20
- width: '24px',
21
- height: '24px',
22
- },
13
+ width: '23px',
14
+ height: '23px',
15
+ borderRadius: '50%',
16
+ border: `1px solid ${theme.palette.divider}`,
23
17
  img: {
24
- maxWidth: '24px',
25
- maxHeight: '24px',
26
- display: 'block',
18
+ width: '20px',
19
+ height: '20px',
20
+ borderRadius: '50%',
27
21
  },
28
22
  }));
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const AuthIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
3
4
  export declare const AuthCellContainer: import("@emotion/styled").StyledComponent<{
4
5
  hidden?: boolean | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const BalanceCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
3
4
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
5
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -20,5 +20,5 @@ export default function EntityCell(_a) {
20
20
  var { entity, country, verificationStatus, licenseNumber } = _a, props = __rest(_a, ["entity", "country", "verificationStatus", "licenseNumber"]);
21
21
  const countryIcon = getCountriesIcon(country);
22
22
  const icon = verificationIcon[verificationStatus !== null && verificationStatus !== void 0 ? verificationStatus : 'incomplete'];
23
- return (_jsx(TableCell, Object.assign({}, props, { sx: { cursor: 'pointer' } }, { children: _jsx(Tooltip, Object.assign({ title: licenseNumber }, { children: _jsx(EntityWrapper, { children: entity ? (_jsxs(EntityContainer, { children: [_jsxs(EntityInfoContainer, { children: [_jsx(Icon, { src: countryIcon, sx: { width: '16px', height: '11.73' } }), _jsx(EntityName, { children: entity })] }), _jsx(VerificationContainer, { children: _jsx(VerificationIcon, { src: icon }) })] })) : (_jsx(EmptyCell, { children: "Not Available" })) }) })) })));
23
+ return (_jsx(TableCell, Object.assign({}, props, { sx: { cursor: 'pointer' } }, { children: _jsx(Tooltip, Object.assign({ title: entity }, { children: _jsx(EntityWrapper, { children: licenseNumber ? (_jsxs(EntityContainer, { children: [_jsxs(EntityInfoContainer, { children: [_jsx(Icon, { src: countryIcon, sx: { width: '16px', height: '11.73' } }), _jsx(EntityName, { children: licenseNumber })] }), _jsx(VerificationContainer, { children: _jsx(VerificationIcon, { src: icon }) })] })) : (_jsx(EmptyCell, { children: "Not Available" })) }) })) })));
24
24
  }
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const Button: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,2 +1,2 @@
1
1
  import { IndividualCellProps } from './type';
2
- export default function IndividualsCell({ id, status, count, ...props }: IndividualCellProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function IndividualsCell({ id, status, count, name, ...props }: IndividualCellProps): import("react/jsx-runtime").JSX.Element;
@@ -15,7 +15,7 @@ import { verificationIcons } from './constants';
15
15
  import { IndividualsWrapper, IndividualName, VerificationIcon, Count, IndividualContainer, VerificationContainer, EmptyCell } from './style';
16
16
  import Tooltip from '../../../Tooltip';
17
17
  export default function IndividualsCell(_a) {
18
- var { id, status, count } = _a, props = __rest(_a, ["id", "status", "count"]);
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(IndividualsWrapper, { children: id ? (_jsxs(IndividualContainer, { children: [_jsx(Tooltip, Object.assign({ title: id }, { children: _jsx(IndividualName, { children: id }) })), _jsxs(VerificationContainer, { children: [_jsx(VerificationIcon, { src: icon }), count > 1 && (_jsx("div", { children: _jsxs(Count, { children: ["+", count] }) }))] })] })) : (_jsx(EmptyCell, { children: "Not Available" })) }) })));
20
+ return (_jsx(TableCell, Object.assign({}, props, { sx: { cursor: 'pointer' } }, { children: _jsx(IndividualsWrapper, { children: id ? (_jsxs(IndividualContainer, { children: [_jsx(Tooltip, Object.assign({ title: name }, { children: _jsx(IndividualName, { children: id }) })), _jsxs(VerificationContainer, { children: [_jsx(VerificationIcon, { src: icon }), count > 1 && (_jsx("div", { children: _jsxs(Count, { children: ["+", count] }) }))] })] })) : (_jsx(EmptyCell, { children: "Not Available" })) }) })));
21
21
  }
@@ -3,4 +3,5 @@ export type IndividualCellProps = TableCellProps & {
3
3
  id: string;
4
4
  status: 'incomplete' | 'complete' | 'reviewed' | 'verified';
5
5
  count: number;
6
+ name: string;
6
7
  };
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const ProductCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
3
4
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
5
  export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const RefundChargeCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const RefundCellContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -24,7 +24,7 @@ function SegmentsCell(_a) {
24
24
  const theme = useTheme();
25
25
  const segments = useMemo(() => Object.keys(segmentsIcons).filter((key) => !!props[key]), [props]);
26
26
  const ReferenceSources = useMemo(() => segments.map((segment, index) => {
27
- const sourceTooltip = `${startCase(segment)} - ${props[segment]}`;
27
+ const sourceTooltip = `${props[segment]}`;
28
28
  return (_jsx(Tooltip, Object.assign({ onOpen: () => {
29
29
  setIsTooltipOpen(true);
30
30
  }, onClose: () => {
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
3
4
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
5
  export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
3
4
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
5
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const collapsedViewIconVariants: {
3
4
  default: {
4
5
  duration: number;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const MultiRefundIcon: import("@emotion/styled").StyledComponent<{
3
4
  width?: string | number | undefined;
4
5
  height?: string | number | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
3
4
  hidden?: boolean | undefined;
4
5
  id?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const GeographyBox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
3
4
  variant?: "Local" | "Global" | "Regional" | undefined;
4
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -61,7 +61,7 @@ function TableHeader({ columns, headerProps, showBackDrop, onColumnSort, columns
61
61
  const { header, id, align, headerStyle, sortable, filter } = column;
62
62
  const isFirst = id === columns[0].id;
63
63
  const isLast = id === columns[columns.length - 1].id;
64
- return (_jsxs(StyledCell, Object.assign({ "data-id": id, component: "div", "data-testid": "VirtualTable_TableHeader_StyledCell", "data-column-id": column.id, "data-column-width": column.width, "data-column-width-used": column.width, "data-column-align": column.align, "data-column-order": column.order, "data-column-header": typeof column.header === 'string' ? column.header : 'component', "data-column-sortable": !!column.sortable, "data-column-filterable": !!column.filter, isFirst: isFirst, isLast: isLast, sx: Object.assign({ paddingInline: '0.6875rem', paddingLeft: isFirst ? '0' : '0.6875rem', paddingRight: isLast ? '0' : '0.6875rem', display: 'flex', gap: theme.spacing(0.5), alignItems: 'baseline', justifyContent: align === 'right' ? 'flex-end' : 'flex-start', width: column.width, textAlign: align, overflow: 'unset' }, headerStyle) }, { children: [typeof header === 'function' ? (header()) : (_jsx(Box, Object.assign({ "data-testid": "TableHeader_columns_header" }, { children: header && (_jsx("span", Object.assign({ style: { textOverflow: 'ellipsis', width: '80%', overflow: 'hidden' }, "data-testid": "VirtualTable_TableHeader_StyledCell_header_text" }, { children: header }))) }))), filter && _jsx(ColumnFilter, Object.assign({}, filter)), sortable && _jsx(ColumnIcon, { onClick: sortable ? handleClick : undefined, src: columnIcon, alt: "column-icon", "data-id": id })] }), `${id}-${colIndex}`));
64
+ return (_jsxs(StyledCell, Object.assign({ "data-id": id, component: "div", "data-testid": "VirtualTable_TableHeader_StyledCell", "data-column-id": column.id, "data-column-width": column.width, "data-column-width-used": column.width, "data-column-align": column.align, "data-column-order": column.order, "data-column-header": typeof column.header === 'string' ? column.header : 'component', "data-column-sortable": !!column.sortable, "data-column-filterable": !!column.filter, isFirst: isFirst, isLast: isLast, sx: Object.assign({ paddingInline: '0.6875rem', paddingLeft: isFirst ? '0' : '0.6875rem', paddingRight: isLast ? '0' : '0.6875rem', display: 'flex', gap: theme.spacing(0.5), alignItems: 'baseline', justifyContent: align === 'right' ? 'flex-end' : 'flex-start', width: column.width, textAlign: align, overflow: 'unset' }, headerStyle) }, { children: [typeof header === 'function' ? (header()) : (_jsx(Box, Object.assign({ "data-testid": "TableHeader_columns_header", sx: { maxWidth: '100%', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' } }, { children: header && (_jsx("span", Object.assign({ style: { textOverflow: 'ellipsis', width: '80%', overflow: 'hidden' }, "data-testid": "VirtualTable_TableHeader_StyledCell_header_text" }, { children: header }))) }))), filter && _jsx(ColumnFilter, Object.assign({}, filter)), sortable && _jsx(ColumnIcon, { onClick: sortable ? handleClick : undefined, src: columnIcon, alt: "column-icon", "data-id": id })] }), `${id}-${colIndex}`));
65
65
  }) })), _jsx(Dropdown, { open: open, onClose: handleClose, anchorEl: anchorEl, menuItems: [
66
66
  {
67
67
  label: 'Sort A-Z',
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  interface TableWrapperProps {
3
4
  showNoDataView?: boolean;
4
5
  }
@@ -103,6 +103,7 @@ export declare const blueZigzagCheckIcon: string;
103
103
  export declare const greenZigzagCheckIcon: string;
104
104
  export declare const dimmedZigzagCheckIcon: string;
105
105
  export declare const marketPlaceBlueIcon: string;
106
+ export declare const marketPlaceBlackIcon: string;
106
107
  export declare const marketPlaceDimmedIcon: string;
107
108
  export declare const moneyOutIcon: string;
108
109
  export declare const moneyOutDimmedIcon: string;
@@ -132,6 +133,8 @@ export declare const newReceiptIcon: string;
132
133
  export declare const acceptanceAppIcon: string;
133
134
  export declare const acceptanceAppDisabledIcon: string;
134
135
  export declare const payoutAppDisabledIcon: string;
136
+ export declare const payoutDisabledRoundedIcon: string;
137
+ export declare const acceptanceDisabledRoundedIcon: string;
135
138
  export declare const authenticationAppIcon: string;
136
139
  export declare const walletAppIcon: string;
137
140
  export declare const payoutsAppIcon: string;
@@ -104,6 +104,7 @@ export const blueZigzagCheckIcon = `${lightUrl}/blueCheckIconZigzag.svg`;
104
104
  export const greenZigzagCheckIcon = `${lightUrl}/greenCheckIconZigzag.svg`;
105
105
  export const dimmedZigzagCheckIcon = `${lightUrl}/dimmedCheckIconZigzag.svg`;
106
106
  export const marketPlaceBlueIcon = `${lightUrl}/marketPlaceBlue.svg`;
107
+ export const marketPlaceBlackIcon = `${lightUrl}/marketplaceBlackIcon.svg`;
107
108
  export const marketPlaceDimmedIcon = `${lightUrl}/marketPlaceDimmed.svg`;
108
109
  export const moneyOutIcon = `${lightUrl}/moneyOut.svg`;
109
110
  export const moneyOutDimmedIcon = `${lightUrl}/moneyOutDimmed.svg`;
@@ -133,6 +134,8 @@ export const newReceiptIcon = `${lightUrl}/newReceiptIcon.svg`;
133
134
  export const acceptanceAppIcon = `${lightUrl}/other/acceptance.svg`;
134
135
  export const acceptanceAppDisabledIcon = `${lightUrl}/other/acceptanceAppIconDisabled.svg`;
135
136
  export const payoutAppDisabledIcon = `${lightUrl}/other/payoutsAppIconDisabled.svg`;
137
+ export const payoutDisabledRoundedIcon = `${lightUrl}/payoutDisabledRounded.svg`;
138
+ export const acceptanceDisabledRoundedIcon = `${lightUrl}/acceptanceDisabledRounded.svg`;
136
139
  export const authenticationAppIcon = `${lightUrl}/other/AuthenticationApp.svg`;
137
140
  export const walletAppIcon = `${lightUrl}/other/walletApp.svg`;
138
141
  export const payoutsAppIcon = `${lightUrl}/other/payouts.svg`;
@@ -9,7 +9,7 @@ export interface Merchant {
9
9
  display_name: string;
10
10
  }
11
11
  export type VerificationStatus = 'incomplete' | 'complete' | 'reviewed' | 'verified';
12
- export type MerchantStatus = 'completed' | 'all';
12
+ export type MerchantStatus = 'completed' | 'all' | 'country';
13
13
  export interface BusinessMerchant {
14
14
  id: string;
15
15
  status: MerchantStatus;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.0.61",
4
+ "version": "0.0.62",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
7
7
  "module": "build/index.js",