@tap-payments/os-micro-frontend-shared 0.1.253 → 0.1.254-test.2

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 (109) hide show
  1. package/build/components/Chip/style.d.ts +0 -1
  2. package/build/components/CountBadge/style.d.ts +0 -1
  3. package/build/components/Dialog/style.d.ts +0 -1
  4. package/build/components/FileInputPreview/FileInputPreview.d.ts +5 -0
  5. package/build/components/FileInputPreview/FileInputPreview.js +51 -0
  6. package/build/components/FileInputPreview/index.d.ts +1 -0
  7. package/build/components/FileInputPreview/index.js +1 -0
  8. package/build/components/FileInputPreview/style.d.ts +9 -0
  9. package/build/components/FileInputPreview/style.js +20 -0
  10. package/build/components/FileInputPreview/type.d.ts +21 -0
  11. package/build/components/FileInputPreview/type.js +1 -0
  12. package/build/components/FileInputPreview/utils.d.ts +3 -0
  13. package/build/components/FileInputPreview/utils.js +14 -0
  14. package/build/components/FilePreview/FilePreview.d.ts +3 -0
  15. package/build/components/FilePreview/FilePreview.js +18 -0
  16. package/build/components/FilePreview/index.d.ts +3 -0
  17. package/build/components/FilePreview/index.js +3 -0
  18. package/build/components/FilePreview/style.d.ts +20 -0
  19. package/build/components/FilePreview/style.js +55 -0
  20. package/build/components/FilePreview/type.d.ts +12 -0
  21. package/build/components/FilePreview/type.js +1 -0
  22. package/build/components/FilterDropdown/FilterDropdown.d.ts +10 -0
  23. package/build/components/FilterDropdown/FilterDropdown.js +54 -0
  24. package/build/components/FilterDropdown/components/BrandItem/BrandItem.d.ts +12 -0
  25. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +39 -0
  26. package/build/components/FilterDropdown/components/BrandItem/index.d.ts +2 -0
  27. package/build/components/FilterDropdown/components/BrandItem/index.js +2 -0
  28. package/build/components/FilterDropdown/components/BrandItem/style.d.ts +4 -0
  29. package/build/components/FilterDropdown/components/BrandItem/style.js +9 -0
  30. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.d.ts +12 -0
  31. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +54 -0
  32. package/build/components/FilterDropdown/components/CountriesItem/index.d.ts +1 -0
  33. package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -0
  34. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.d.ts +12 -0
  35. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +59 -0
  36. package/build/components/FilterDropdown/components/CurrenciesItem/index.d.ts +1 -0
  37. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -0
  38. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.d.ts +11 -0
  39. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +39 -0
  40. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.d.ts +2 -0
  41. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +2 -0
  42. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.d.ts +12 -0
  43. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +23 -0
  44. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.d.ts +13 -0
  45. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +43 -0
  46. package/build/components/FilterDropdown/components/MerchantItem/index.d.ts +2 -0
  47. package/build/components/FilterDropdown/components/MerchantItem/index.js +2 -0
  48. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.d.ts +14 -0
  49. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +70 -0
  50. package/build/components/FilterDropdown/components/RetailersItem/index.d.ts +1 -0
  51. package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -0
  52. package/build/components/FilterDropdown/components/RetailersItem/style.d.ts +4 -0
  53. package/build/components/FilterDropdown/components/RetailersItem/style.js +8 -0
  54. package/build/components/FilterDropdown/components/index.d.ts +4 -0
  55. package/build/components/FilterDropdown/components/index.js +4 -0
  56. package/build/components/FilterDropdown/index.d.ts +3 -0
  57. package/build/components/FilterDropdown/index.js +3 -0
  58. package/build/components/FilterDropdown/style.d.ts +20 -0
  59. package/build/components/FilterDropdown/style.js +60 -0
  60. package/build/components/FilterDropdown/type.d.ts +4 -0
  61. package/build/components/FilterDropdown/type.js +1 -0
  62. package/build/components/FlippingCard/style.d.ts +0 -1
  63. package/build/components/ImageWrapper/ImageWrapper.d.ts +0 -1
  64. package/build/components/JSONViewer/style.d.ts +0 -1
  65. package/build/components/LeftPeekRightExpandingChip/style.d.ts +0 -1
  66. package/build/components/MenuItem/MenuItem.d.ts +1 -1
  67. package/build/components/OpenFileInNewTab/OpenFileInNewTab.d.ts +7 -0
  68. package/build/components/OpenFileInNewTab/OpenFileInNewTab.js +26 -0
  69. package/build/components/OpenFileInNewTab/index.d.ts +1 -0
  70. package/build/components/OpenFileInNewTab/index.js +1 -0
  71. package/build/components/OpenFileInNewTab/style.d.ts +2 -0
  72. package/build/components/OpenFileInNewTab/style.js +8 -0
  73. package/build/components/RightLeftExpandingCenterChip/style.d.ts +0 -1
  74. package/build/components/SearchButton/styles.d.ts +0 -1
  75. package/build/components/StatusIcons/AuthIcons/style.d.ts +0 -1
  76. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +0 -1
  77. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +0 -1
  78. package/build/components/StatusIcons/SourceIcons/style.d.ts +0 -1
  79. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +0 -1
  80. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +0 -1
  81. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +0 -1
  82. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +0 -1
  83. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +0 -1
  84. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +0 -1
  85. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +0 -1
  86. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +0 -1
  87. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +0 -1
  88. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +0 -1
  89. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +0 -1
  90. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +0 -1
  91. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +0 -1
  92. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +0 -1
  93. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +0 -1
  94. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +0 -1
  95. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +0 -1
  96. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +0 -1
  97. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +0 -1
  98. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +0 -1
  99. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +0 -1
  100. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +0 -1
  101. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +0 -1
  102. package/build/components/TableCells/CustomCells/style.d.ts +0 -1
  103. package/build/components/VirtualTables/components/style.d.ts +0 -1
  104. package/build/components/index.d.ts +4 -0
  105. package/build/components/index.js +4 -0
  106. package/build/types/destination.d.ts +14 -0
  107. package/build/types/index.d.ts +1 -0
  108. package/build/types/index.js +1 -0
  109. package/package.json +3 -3
@@ -0,0 +1,11 @@
1
+ import { BrandProps } from '../../type';
2
+ type FlatMerchantsListMenuProps = {
3
+ brand: BrandProps;
4
+ merchantsIds: string[];
5
+ onChangeMerchant?: (value: string[]) => void;
6
+ atLeastOneMerchantSelected: boolean;
7
+ showSearchInput?: boolean;
8
+ anchorEl: HTMLElement | null;
9
+ };
10
+ export default function FlatMerchantsListMenu({ brand, merchantsIds, onChangeMerchant, atLeastOneMerchantSelected, showSearchInput, anchorEl, }: Readonly<FlatMerchantsListMenuProps>): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,39 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState, useMemo, useCallback } from 'react';
3
+ import { Menu, SearchListInput } from '../../../index.js';
4
+ import { MerchantMenuItemStyled, MerchantWrapper, MerchantID, MerchantName } from './style';
5
+ export default function FlatMerchantsListMenu({ brand, merchantsIds, onChangeMerchant, atLeastOneMerchantSelected = false, showSearchInput = false, anchorEl, }) {
6
+ const [searchInputValue, setSearchInputValue] = useState('');
7
+ const open = Boolean(anchorEl);
8
+ const isMerchantSelected = useCallback((merchantId) => merchantsIds.includes(merchantId), [merchantsIds]);
9
+ const onClickMerchant = (e, merchantId) => {
10
+ e.stopPropagation();
11
+ if (isMerchantSelected(merchantId)) {
12
+ onChangeMerchant === null || onChangeMerchant === void 0 ? void 0 : onChangeMerchant(merchantsIds.filter((merchant) => merchant !== merchantId));
13
+ return;
14
+ }
15
+ const uniqueMids = [...new Set([...merchantsIds, merchantId])];
16
+ onChangeMerchant === null || onChangeMerchant === void 0 ? void 0 : onChangeMerchant(uniqueMids);
17
+ };
18
+ const isLastMidToBeDisabled = (currMid) => {
19
+ return merchantsIds.length === 1 && merchantsIds[0] === currMid && atLeastOneMerchantSelected;
20
+ };
21
+ const handleSearchInputChange = (value) => {
22
+ setSearchInputValue(value);
23
+ };
24
+ const handleSearchInputReset = () => {
25
+ setSearchInputValue('');
26
+ };
27
+ const merchants = useMemo(() => { var _a; return (_a = brand.merchants) !== null && _a !== void 0 ? _a : []; }, [brand.merchants]);
28
+ const filteredMerchants = useMemo(() => {
29
+ if (!(searchInputValue === null || searchInputValue === void 0 ? void 0 : searchInputValue.trim()))
30
+ return merchants;
31
+ return merchants === null || merchants === void 0 ? void 0 : merchants.filter((merchant) => { var _a; return ((_a = merchant === null || merchant === void 0 ? void 0 : merchant.display_name) !== null && _a !== void 0 ? _a : '').toLowerCase().includes(searchInputValue.trim().toLowerCase()); });
32
+ }, [searchInputValue, merchants]);
33
+ const displayedMerchants = useMemo(() => (showSearchInput ? filteredMerchants : merchants), [filteredMerchants, merchants, showSearchInput]);
34
+ return (_jsxs(Menu, Object.assign({ open: open, anchorEl: anchorEl, placement: "right-start" }, { children: [showSearchInput && (_jsx(SearchListInput, { placeholder: "Merchants", name: "merchants", value: searchInputValue, onSearchChange: handleSearchInputChange, onSearchReset: handleSearchInputReset, sx: { px: '8px' } })), displayedMerchants === null || displayedMerchants === void 0 ? void 0 : displayedMerchants.map((merchant) => (_jsx(MerchantMenuItemStyled, Object.assign({ isDisabled: isLastMidToBeDisabled(merchant.legacy_id), isSelected: isMerchantSelected(merchant.legacy_id), onClick: (e) => {
35
+ if (isLastMidToBeDisabled(merchant.legacy_id))
36
+ return;
37
+ onClickMerchant(e, merchant.legacy_id);
38
+ }, sx: { maxHeight: 36, minHeight: 36 } }, { children: _jsxs(MerchantWrapper, { children: [_jsx(MerchantName, Object.assign({ component: "span" }, { children: merchant.display_name })), _jsx(MerchantID, Object.assign({ component: "span" }, { children: merchant.legacy_id }))] }) }), merchant === null || merchant === void 0 ? void 0 : merchant.legacy_id)))] })));
39
+ }
@@ -0,0 +1,2 @@
1
+ import FlatMerchantsListMenu from './FlatMerchantsListMenu';
2
+ export default FlatMerchantsListMenu;
@@ -0,0 +1,2 @@
1
+ import FlatMerchantsListMenu from './FlatMerchantsListMenu';
2
+ export default FlatMerchantsListMenu;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { MenuItemProps } from '../../../MenuItem/MenuItem';
3
+ export declare const MerchantMenuItemStyled: import("@emotion/styled").StyledComponent<MenuItemProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
4
+ export declare const MerchantWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
6
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
7
+ export declare const MerchantID: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
10
+ export declare const MerchantName: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -0,0 +1,23 @@
1
+ import Box from '@mui/material/Box';
2
+ import { styled, alpha } from '@mui/material/styles';
3
+ import { MenuItem } from '../../../index.js';
4
+ export const MerchantMenuItemStyled = styled(MenuItem)(() => ({
5
+ padding: '12px 16px',
6
+ border: 'none !important',
7
+ '&:hover': { boxShadow: '0px 0px 16px 0px #00000021' },
8
+ }));
9
+ export const MerchantWrapper = styled(Box)(() => ({
10
+ display: 'flex',
11
+ flexDirection: 'column',
12
+ gap: '2px',
13
+ }));
14
+ export const MerchantID = styled(Box)(({ theme }) => ({
15
+ color: alpha(theme.palette.text.primary, 0.5),
16
+ fontSize: '9px',
17
+ }));
18
+ export const MerchantName = styled(Box)(() => ({
19
+ whiteSpace: 'nowrap',
20
+ overflow: 'hidden',
21
+ textOverflow: 'ellipsis',
22
+ maxWidth: '178px',
23
+ }));
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { BrandProps } from '../../type';
3
+ export interface MerchantItemProps {
4
+ brands: BrandProps[];
5
+ isLoading: boolean;
6
+ merchantsIds: string[];
7
+ atLeastOneMerchantSelected?: boolean;
8
+ showSearchInput?: boolean;
9
+ hideCheckbox?: boolean;
10
+ onFilterChange?: (value: string[]) => void;
11
+ renderBrandLogo: (fileId: string) => React.ReactNode;
12
+ }
13
+ export default function MerchantItem({ brands, isLoading, onFilterChange, merchantsIds, atLeastOneMerchantSelected, showSearchInput, hideCheckbox, renderBrandLogo, }: Readonly<MerchantItemProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,43 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState, useMemo } from 'react';
3
+ import { useTranslation } from 'react-i18next';
4
+ import { Menu, MenuItem, Text } from '../../../index.js';
5
+ import { rightArrow } from '../../../../constants/index.js';
6
+ import BrandItem from '../BrandItem';
7
+ import FlatMerchantsListMenu from '../FlatMerchantsListMenu';
8
+ export default function MerchantItem({ brands, isLoading, onFilterChange, merchantsIds = [], atLeastOneMerchantSelected = false, showSearchInput = false, hideCheckbox = false, renderBrandLogo, }) {
9
+ const [anchorEl, setAnchorEl] = useState(null);
10
+ const open = Boolean(anchorEl);
11
+ const { t } = useTranslation();
12
+ const onOpen = (e) => {
13
+ setAnchorEl(e.currentTarget);
14
+ };
15
+ const onClose = () => {
16
+ setAnchorEl(null);
17
+ };
18
+ const isAllSelected = useMemo(() => {
19
+ if (!brands.length)
20
+ return false;
21
+ return brands.every((brand) => brand.merchants.every(({ legacy_id }) => merchantsIds.includes(legacy_id)));
22
+ }, [merchantsIds, brands, hideCheckbox]);
23
+ const isSomeSelected = useMemo(() => !isAllSelected && merchantsIds.length > 0, [merchantsIds, isAllSelected]);
24
+ // Count the number of brands that have selected merchants
25
+ const brandsWithSelectedMerchants = useMemo(() => {
26
+ return brands.filter((brand) => brand.merchants.some((merchant) => merchantsIds === null || merchantsIds === void 0 ? void 0 : merchantsIds.includes(merchant.legacy_id))).length;
27
+ }, [brands, merchantsIds]);
28
+ const onClick = () => {
29
+ if (atLeastOneMerchantSelected)
30
+ return;
31
+ if (isAllSelected) {
32
+ onFilterChange === null || onFilterChange === void 0 ? void 0 : onFilterChange([]);
33
+ return;
34
+ }
35
+ const allMerchants = brands.flatMap((brand) => brand.merchants.map(({ legacy_id }) => legacy_id));
36
+ onFilterChange === null || onFilterChange === void 0 ? void 0 : onFilterChange(allMerchants);
37
+ };
38
+ return (_jsxs(MenuItem, Object.assign({ isDisabled: atLeastOneMerchantSelected, isSelected: isAllSelected, hideCheckbox: hideCheckbox, isIndeterminate: isSomeSelected, sx: Object.assign(Object.assign({ maxHeight: 36, minHeight: 36, padding: '12px 8px 12px 16px' }, (open && { boxShadow: '0px 0px 16px 0px #00000021' })), ((isLoading || brands.length <= 0) && {
39
+ pointerEvents: 'none',
40
+ opacity: 0.5,
41
+ cursor: 'default',
42
+ })), onMouseEnter: onOpen, onMouseLeave: onClose, onClick: onClick }, { children: [_jsx(Text, Object.assign({ sx: { fontSize: '11px', flex: 1 } }, { children: t('merchant') })), brands.length > 0 && _jsx("img", { src: rightArrow, alt: "arrow", style: { height: 12 } }), (brands === null || brands === void 0 ? void 0 : brands.length) === 1 ? (_jsx(FlatMerchantsListMenu, { anchorEl: anchorEl, brand: brands[0], merchantsIds: merchantsIds, onChangeMerchant: onFilterChange, atLeastOneMerchantSelected: atLeastOneMerchantSelected, showSearchInput: showSearchInput })) : (_jsx(Menu, Object.assign({ open: open, anchorEl: anchorEl, placement: "right-start" }, { children: brands === null || brands === void 0 ? void 0 : brands.map((brand) => (_jsx(BrandItem, { isDisabled: brandsWithSelectedMerchants === 1 && atLeastOneMerchantSelected, brand: brand, merchantsIds: merchantsIds, onChangeMerchant: onFilterChange, atLeastOneMerchantSelected: atLeastOneMerchantSelected, showSearchInput: showSearchInput, renderBrandLogo: renderBrandLogo }, brand.id))) })))] })));
43
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './MerchantItem';
2
+ export * from './MerchantItem';
@@ -0,0 +1,2 @@
1
+ export { default } from './MerchantItem';
2
+ export * from './MerchantItem';
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { RetailersDestination } from 'src/types';
3
+ interface RetailersItemProps {
4
+ retailers: RetailersDestination[];
5
+ isLoading?: boolean;
6
+ retailersIds: string[];
7
+ onFilterChange?: (value: string[]) => void;
8
+ atLeastOneRetailerSelected?: boolean;
9
+ showSearchInput?: boolean;
10
+ hideCheckbox?: boolean;
11
+ }
12
+ declare function RetailersItem({ retailersIds, isLoading, retailers, onFilterChange, atLeastOneRetailerSelected, showSearchInput, hideCheckbox, }: Readonly<RetailersItemProps>): import("react/jsx-runtime").JSX.Element;
13
+ declare const _default: import("react").MemoExoticComponent<typeof RetailersItem>;
14
+ export default _default;
@@ -0,0 +1,70 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Menu, MenuItem, Text, SearchListInput } from '../../../index.js';
3
+ import { rightArrow } from '../../../../constants/index.js';
4
+ import { memo, useCallback, useMemo, useState } from 'react';
5
+ import { useTranslation } from 'react-i18next';
6
+ import { RetailerName } from './style';
7
+ function RetailersItem({ retailersIds = [], isLoading, retailers = [], onFilterChange, atLeastOneRetailerSelected = false, showSearchInput = false, hideCheckbox = false, }) {
8
+ const [anchorEl, setAnchorEl] = useState(null);
9
+ const open = Boolean(anchorEl);
10
+ const { t, i18n } = useTranslation();
11
+ const [searchInputValue, setSearchInputValue] = useState('');
12
+ const onOpen = (e) => {
13
+ setAnchorEl(e.currentTarget);
14
+ };
15
+ const onClose = () => {
16
+ setAnchorEl(null);
17
+ };
18
+ const isRetailerSelected = useCallback((retailerId) => retailersIds === null || retailersIds === void 0 ? void 0 : retailersIds.includes(retailerId), [retailersIds]);
19
+ const isAllSelected = useMemo(() => {
20
+ if (!retailers.length)
21
+ return false;
22
+ return retailers.every((retailer) => isRetailerSelected(retailer.id));
23
+ }, [retailers, isRetailerSelected, hideCheckbox]);
24
+ const isSomeSelected = useMemo(() => !isAllSelected && retailersIds.length > 0, [retailersIds, isAllSelected]);
25
+ const onClick = () => {
26
+ if (atLeastOneRetailerSelected)
27
+ return;
28
+ if (isAllSelected) {
29
+ onFilterChange === null || onFilterChange === void 0 ? void 0 : onFilterChange([]);
30
+ return;
31
+ }
32
+ onFilterChange === null || onFilterChange === void 0 ? void 0 : onFilterChange(retailers.map((brand) => brand.id));
33
+ };
34
+ const isLastRetailerToBeDisabled = (currMid) => {
35
+ return retailersIds.length === 1 && retailersIds[0] === currMid && atLeastOneRetailerSelected;
36
+ };
37
+ const onClickRetailer = (e, retailerId) => {
38
+ e.stopPropagation();
39
+ if (isLastRetailerToBeDisabled(retailerId))
40
+ return;
41
+ if (isRetailerSelected(retailerId)) {
42
+ onFilterChange === null || onFilterChange === void 0 ? void 0 : onFilterChange(retailersIds.filter((retailer) => retailer !== retailerId));
43
+ return;
44
+ }
45
+ const uniqueMids = [...new Set([...retailersIds, retailerId])];
46
+ onFilterChange === null || onFilterChange === void 0 ? void 0 : onFilterChange(uniqueMids);
47
+ };
48
+ const isDisabled = isLoading || (retailers === null || retailers === void 0 ? void 0 : retailers.length) <= 0 || atLeastOneRetailerSelected;
49
+ const handleSearchInputChange = (value) => {
50
+ setSearchInputValue(value);
51
+ };
52
+ const handleSearchInputReset = () => {
53
+ setSearchInputValue('');
54
+ };
55
+ const filteredRetailers = useMemo(() => {
56
+ if (!(searchInputValue === null || searchInputValue === void 0 ? void 0 : searchInputValue.trim()))
57
+ return retailers;
58
+ return retailers === null || retailers === void 0 ? void 0 : retailers.filter((retailer) => { var _a, _b, _c, _d, _e, _f; return ((_f = (_c = (_b = (_a = retailer === null || retailer === void 0 ? void 0 : retailer.brand) === null || _a === void 0 ? void 0 : _a.name) === null || _b === void 0 ? void 0 : _b[i18n.language]) !== null && _c !== void 0 ? _c : (_e = (_d = retailer === null || retailer === void 0 ? void 0 : retailer.brand) === null || _d === void 0 ? void 0 : _d.name) === null || _e === void 0 ? void 0 : _e.en) !== null && _f !== void 0 ? _f : '').toLowerCase().includes(searchInputValue.trim().toLowerCase()); });
59
+ }, [searchInputValue, retailers, i18n.language]);
60
+ const displayedRetailers = useMemo(() => (showSearchInput ? filteredRetailers : retailers), [filteredRetailers, retailers, showSearchInput]);
61
+ return (_jsxs(MenuItem, Object.assign({ isDisabled: isDisabled,
62
+ // TODO: the checkbox ui should be controlled using a state not through the isAllSelected variable
63
+ isSelected: isAllSelected, hideCheckbox: hideCheckbox, isIndeterminate: isSomeSelected, sx: Object.assign(Object.assign({ maxHeight: 35, minHeight: 35, padding: '12px 8px 12px 16px' }, (open && { boxShadow: '0px 0px 16px 0px #00000021' })), (!(retailers === null || retailers === void 0 ? void 0 : retailers.length) && { opacity: 0.5, pointerEvents: 'none' })), onMouseEnter: onOpen, onMouseLeave: onClose, onClick: onClick }, { children: [_jsx(Text, Object.assign({ sx: { fontSize: '11px', flex: 1 } }, { children: t('retailers') })), (retailers === null || retailers === void 0 ? void 0 : retailers.length) > 0 && _jsx("img", { src: rightArrow, alt: "arrow", style: { height: 12 } }), _jsxs(Menu, Object.assign({ open: open, anchorEl: anchorEl, placement: "right-start", sx: { height: 300, width: 200, overflow: 'auto' } }, { children: [showSearchInput && (_jsx(SearchListInput, { placeholder: "Retailers", name: "retailers", value: searchInputValue, onSearchChange: handleSearchInputChange, onSearchReset: handleSearchInputReset, sx: { px: '8px' } })), displayedRetailers === null || displayedRetailers === void 0 ? void 0 : displayedRetailers.map((retailer, index) => {
64
+ var _a, _b, _c, _d, _e;
65
+ return (_jsx(MenuItem, Object.assign({ isSelected: isRetailerSelected(retailer.id), isDisabled: isLoading || isLastRetailerToBeDisabled(retailer.id), onClick: (e) => {
66
+ onClickRetailer(e, retailer.id);
67
+ }, sx: { maxHeight: 35, minHeight: 35 } }, { children: _jsx(RetailerName, { children: (_c = (_b = (_a = retailer === null || retailer === void 0 ? void 0 : retailer.brand) === null || _a === void 0 ? void 0 : _a.name) === null || _b === void 0 ? void 0 : _b[i18n.language]) !== null && _c !== void 0 ? _c : (_e = (_d = retailer === null || retailer === void 0 ? void 0 : retailer.brand) === null || _d === void 0 ? void 0 : _d.name) === null || _e === void 0 ? void 0 : _e.en }) }), `key-${retailer === null || retailer === void 0 ? void 0 : retailer.id}-${index}`));
68
+ })] }))] })));
69
+ }
70
+ export default memo(RetailersItem);
@@ -0,0 +1 @@
1
+ export { default } from './RetailersItem';
@@ -0,0 +1 @@
1
+ export { default } from './RetailersItem';
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const RetailerName: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -0,0 +1,8 @@
1
+ import Box from '@mui/material/Box';
2
+ import { styled } from '@mui/material/styles';
3
+ export const RetailerName = styled(Box)(() => ({
4
+ whiteSpace: 'nowrap',
5
+ overflow: 'hidden',
6
+ textOverflow: 'ellipsis',
7
+ maxWidth: '164px',
8
+ }));
@@ -0,0 +1,4 @@
1
+ export { default as MerchantItem } from './MerchantItem';
2
+ export { default as RetailersItem } from './RetailersItem';
3
+ export { default as CountriesItem } from './CountriesItem';
4
+ export { default as CurrenciesItem } from './CurrenciesItem';
@@ -0,0 +1,4 @@
1
+ export { default as MerchantItem } from './MerchantItem';
2
+ export { default as RetailersItem } from './RetailersItem';
3
+ export { default as CountriesItem } from './CountriesItem';
4
+ export { default as CurrenciesItem } from './CurrenciesItem';
@@ -0,0 +1,3 @@
1
+ export { default as FilterDropdown } from './FilterDropdown';
2
+ export * from './components';
3
+ export * from './FilterDropdown';
@@ -0,0 +1,3 @@
1
+ export { default as FilterDropdown } from './FilterDropdown';
2
+ export * from './components';
3
+ export * from './FilterDropdown';
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ export declare const FilterButton: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
+ isActive?: boolean | undefined;
6
+ }, {}, {}>;
7
+ export declare const TitleStyled: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
8
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
9
+ }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & {
10
+ component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
11
+ } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
12
+ export declare const Footer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
13
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
14
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
15
+ export declare const OkayButton: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
16
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
17
+ }, "color" | "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "sx" | "variant" | "size" | "fullWidth" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
18
+ export declare const CancelButton: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
19
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
20
+ }, "color" | "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "sx" | "variant" | "size" | "fullWidth" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -0,0 +1,60 @@
1
+ import Box from '@mui/material/Box';
2
+ import { styled } from '@mui/material/styles';
3
+ import Button from '@mui/material/Button';
4
+ import { Text } from '../index.js';
5
+ export const FilterButton = styled(Box, { shouldForwardProp: (props) => props !== 'isActive' })(({ theme, isActive }) => (Object.assign({ borderRadius: '4px', border: `1px solid ${theme.palette.divider}`, height: 32, width: 30, display: 'flex', alignItems: 'center', justifyContent: 'center', cursor: 'pointer', backgroundColor: theme.palette.common.white, ':hover': {
6
+ opacity: 0.7,
7
+ } }, (isActive && {
8
+ boxShadow: `0px 0px 4px 0px ${theme.palette.info.dark}80`,
9
+ border: `1px solid ${theme.palette.info.dark}`,
10
+ }))));
11
+ export const TitleStyled = styled(Text)(({ theme }) => ({
12
+ fontWeight: theme.typography.fontWeightMedium,
13
+ fontSize: theme.typography.subtitle1.fontSize,
14
+ color: theme.palette.grey[700],
15
+ paddingInlineStart: theme.spacing(2),
16
+ paddingTop: theme.spacing(1),
17
+ paddingBottom: theme.spacing(1),
18
+ paddingInlineEnd: theme.spacing(1),
19
+ borderBottom: `1px solid ${theme.palette.divider}`,
20
+ }));
21
+ export const Footer = styled(Box)(({ theme }) => ({
22
+ padding: '8px 16px',
23
+ display: 'flex',
24
+ gap: '8px',
25
+ justifyContent: 'flex-end',
26
+ backgroundColor: theme.palette.common.white,
27
+ borderTop: `1px solid ${theme.palette.divider}`,
28
+ }));
29
+ export const OkayButton = styled(Button)(({ theme }) => ({
30
+ textTransform: 'capitalize',
31
+ minWidth: 'auto',
32
+ width: 70,
33
+ borderRadius: '4px',
34
+ border: `1px solid ${theme.palette.info.dark}`,
35
+ backgroundColor: theme.palette.info.dark,
36
+ fontWeight: 700,
37
+ fontSize: '11px',
38
+ color: theme.palette.common.white,
39
+ '&:hover': {
40
+ backgroundColor: theme.palette.info.dark,
41
+ },
42
+ '&.Mui-disabled': {
43
+ color: '#fff !important',
44
+ opacity: 0.5,
45
+ },
46
+ }));
47
+ export const CancelButton = styled(Button)(({ theme }) => ({
48
+ textTransform: 'capitalize',
49
+ minWidth: 'auto',
50
+ width: 70,
51
+ borderRadius: '4px',
52
+ border: `1px solid ${theme.palette.divider}`,
53
+ backgroundColor: theme.palette.common.white,
54
+ fontWeight: 500,
55
+ fontSize: '11px',
56
+ color: theme.palette.text.primary,
57
+ '&:hover': {
58
+ background: 'transparent',
59
+ },
60
+ }));
@@ -0,0 +1,4 @@
1
+ import { Brand, Merchant } from '../../types/index.js';
2
+ export interface BrandProps extends Omit<Brand, 'entities'> {
3
+ merchants: Merchant[];
4
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const Wrapper: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  color?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  declare const ImageWrapper: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  color?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const FOOTER_HEIGHT = 37;
4
3
  export declare const TITLE_BAR_HEIGHT = "32px";
5
4
  export declare const VIEWER_HEIGHT = 545;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  import type { SxProps, Theme } from '@mui/material/styles';
4
3
  export declare const CHIP_GAP = 3;
5
4
  export declare const DEFAULT_CHIP_MIN_WIDTH = 24;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { BoxProps } from '@mui/material/Box';
3
- interface MenuItemProps extends BoxProps {
3
+ export interface MenuItemProps extends BoxProps {
4
4
  isSelected?: boolean;
5
5
  isDisabled?: boolean;
6
6
  isIndeterminate?: boolean;
@@ -0,0 +1,7 @@
1
+ export type OpenFileInNewTabProps = {
2
+ data?: Blob;
3
+ isLoading?: boolean;
4
+ isError?: boolean;
5
+ };
6
+ export declare const OpenFileInNewTab: ({ data, isLoading, isError }: Readonly<OpenFileInNewTabProps>) => import("react/jsx-runtime").JSX.Element | null;
7
+ export default OpenFileInNewTab;
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useEffect, useMemo } from 'react';
3
+ import { ViewFile } from './style';
4
+ const windowUrl = window.URL || window.webkitURL;
5
+ export const OpenFileInNewTab = ({ data, isLoading, isError }) => {
6
+ const blobUrl = useMemo(() => {
7
+ if (!data)
8
+ return '';
9
+ return windowUrl.createObjectURL(data);
10
+ }, [data]);
11
+ useEffect(() => {
12
+ return () => {
13
+ if (blobUrl)
14
+ windowUrl.revokeObjectURL(blobUrl);
15
+ };
16
+ }, [blobUrl]);
17
+ const handleOpenFile = () => {
18
+ if (blobUrl) {
19
+ window.open(blobUrl, '_blank');
20
+ }
21
+ };
22
+ if (isLoading || isError)
23
+ return null;
24
+ return _jsx(ViewFile, Object.assign({ onClick: handleOpenFile }, { children: "View" }));
25
+ };
26
+ export default OpenFileInNewTab;
@@ -0,0 +1 @@
1
+ export { default as OpenFileInNewTab, OpenFileInNewTabProps } from './OpenFileInNewTab';
@@ -0,0 +1 @@
1
+ export { default as OpenFileInNewTab } from './OpenFileInNewTab';
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const ViewFile: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -0,0 +1,8 @@
1
+ import { styled } from '@mui/material';
2
+ export const ViewFile = styled('span')(({ theme }) => ({
3
+ fontWeight: 500,
4
+ color: theme.palette.info.dark,
5
+ cursor: 'pointer',
6
+ fontSize: '9px',
7
+ textDecoration: 'underline',
8
+ }));
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  import type { SxProps, Theme } from '@mui/material/styles';
4
3
  export declare const CHIP_GAP = 3;
5
4
  export declare const CenterIconWrapper: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledInput: import("@emotion/styled").StyledComponent<{
4
3
  width?: string | number | undefined;
5
4
  height?: string | number | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
4
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const BalanceCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  color?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const ErrorCodeLabel: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  color?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
4
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  import { TableMode } from '../../../../types/index.js';
4
3
  export declare const ActionCellContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
4
  tableMode?: TableMode | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledAppsCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const AppsStatusContainer: import("@emotion/styled").StyledComponent<{
5
4
  hidden?: boolean | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const AuthIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
3
  export declare const AuthCellContainer: import("@emotion/styled").StyledComponent<{
5
4
  hidden?: boolean | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  color?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  color?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const BalanceCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  color?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
4
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  color?: string | undefined;