@tap-payments/os-micro-frontend-shared 0.0.186 → 0.0.188

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.
@@ -1,14 +1,16 @@
1
1
  /// <reference types="react" />
2
2
  import { BoxProps } from '@mui/material/Box';
3
3
  import { PopperPlacementType } from '@mui/material/Popper';
4
- import { CalendarProps, DateObject } from 'react-multi-date-picker';
5
- interface CalenderI extends CalendarProps {
4
+ import { CalendarProps as MDPickerProps, DateObject } from 'react-multi-date-picker';
5
+ interface CalenderProps extends MDPickerProps {
6
6
  isAr?: boolean;
7
7
  value?: DateObject;
8
8
  setValue?: (v: DateObject) => void;
9
9
  enableTimePicker?: boolean;
10
10
  placement?: PopperPlacementType;
11
+ sx?: BoxProps['sx'];
11
12
  }
12
- declare function Calender({ isAr, value, setValue, enableTimePicker, placement, ...props }: CalenderI & BoxProps): import("react/jsx-runtime").JSX.Element;
13
+ declare function Calender({ isAr, value, setValue, enableTimePicker, placement, sx, ...props }: CalenderProps): import("react/jsx-runtime").JSX.Element;
14
+ export type { DateObject, CalenderProps };
13
15
  declare const _default: import("react").MemoExoticComponent<typeof Calender>;
14
16
  export default _default;
@@ -14,14 +14,14 @@ import { memo, useState } from 'react';
14
14
  import ClickAwayListener from '@mui/material/ClickAwayListener';
15
15
  import Popper from '@mui/material/Popper';
16
16
  import { useTranslation } from 'react-i18next';
17
- import { Calendar, DateObject } from 'react-multi-date-picker';
17
+ import { Calendar as MDPicker, DateObject } from 'react-multi-date-picker';
18
18
  import TimePicker, { getDefaultHour, getDefaultMinute } from '../Timepicker';
19
19
  import { darkLeftArrowIcon, darkRightArrowIcon } from '../../constants/index.js';
20
20
  import { ArrowButton, CalenderWrapper, SelectedDate, Wrapper, ButtonsWrapper, CancelButton, OkayButton, FooterButtonsWrapper } from './style';
21
21
  const weekDays = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];
22
22
  function Calender(_a) {
23
23
  var _b;
24
- var { isAr = false, value, setValue, enableTimePicker, placement } = _a, props = __rest(_a, ["isAr", "value", "setValue", "enableTimePicker", "placement"]);
24
+ var { isAr = false, value, setValue, enableTimePicker, placement, sx } = _a, props = __rest(_a, ["isAr", "value", "setValue", "enableTimePicker", "placement", "sx"]);
25
25
  const [anchorEl, setAnchorEl] = useState(null);
26
26
  const [date, setDate] = useState(value ? new DateObject(new Date(value.toLocaleString())) : new DateObject(new Date()));
27
27
  const [tempDate, setTempDate] = useState(value ? new DateObject(new Date(value.toLocaleString())) : new DateObject(new Date()));
@@ -51,7 +51,7 @@ function Calender(_a) {
51
51
  const onChangeTimepicker = (newTime) => {
52
52
  setTime(newTime);
53
53
  };
54
- return (_jsx(ClickAwayListener, Object.assign({ onClickAway: handleClose }, { children: _jsxs(Wrapper, Object.assign({ sx: Object.assign({}, props.sx) }, { children: [_jsx(SelectedDate, Object.assign({ onClick: onOpen, open: open, className: "date-button" }, { children: date.format('MMM D, YYYY') })), _jsx(Popper, Object.assign({ open: open, anchorEl: anchorEl, placement: placement }, { children: _jsxs(CalenderWrapper, Object.assign({ className: "calender-content", open: open }, { children: [_jsx(Calendar, Object.assign({ numberOfMonths: 1, format: "MMM DD YYYY", monthYearSeparator: ' ', renderButton: (direction, handleClick) => (_jsx(ArrowButton, Object.assign({ onClick: handleClick }, { children: _jsx("img", { src: getArrow(direction), alt: "arrow" }) }))), onMonthChange: (v) => {
54
+ return (_jsx(ClickAwayListener, Object.assign({ onClickAway: handleClose }, { children: _jsxs(Wrapper, Object.assign({ sx: Object.assign({}, sx) }, { children: [_jsx(SelectedDate, Object.assign({ onClick: onOpen, open: open, className: "date-button" }, { children: date.format('MMM D, YYYY') })), _jsx(Popper, Object.assign({ open: open, anchorEl: anchorEl, placement: placement }, { children: _jsxs(CalenderWrapper, Object.assign({ className: "calender-content", open: open }, { children: [_jsx(MDPicker, Object.assign({ numberOfMonths: 1, format: "MMM DD YYYY", monthYearSeparator: ' ', renderButton: (direction, handleClick) => (_jsx(ArrowButton, Object.assign({ onClick: handleClick }, { children: _jsx("img", { src: getArrow(direction), alt: "arrow" }) }))), onMonthChange: (v) => {
55
55
  setTempDate(v);
56
56
  }, onYearChange: (v) => {
57
57
  setTempDate(v);
@@ -1,2 +1,3 @@
1
1
  import Calender from './Calender';
2
+ export type { CalenderProps, DateObject } from './Calender';
2
3
  export default Calender;
@@ -15,6 +15,8 @@ import Box from '@mui/material/Box';
15
15
  import { defaultCountryIcon, getCountriesIcon } from '../../constants/index.js';
16
16
  function CountryFlag(_a) {
17
17
  var { code = '' } = _a, props = __rest(_a, ["code"]);
18
- return (_jsx(Box, Object.assign({}, props, { component: "img", src: getCountriesIcon(code) || defaultCountryIcon, alt: code, sx: Object.assign(Object.assign({ width: 16 }, (code && { height: 12, borderRadius: '3px' })), props.sx), loading: "lazy" })));
18
+ return (_jsx(Box, Object.assign({}, props, { component: "img", src: getCountriesIcon(code) || defaultCountryIcon, alt: code, sx: Object.assign(Object.assign({ width: 16 }, (code && { height: 12, borderRadius: '3px' })), props.sx), loading: "lazy", onError: (e) => {
19
+ e.currentTarget.src = defaultCountryIcon;
20
+ } })));
19
21
  }
20
22
  export default memo(CountryFlag);
@@ -5,6 +5,6 @@ type Props = Readonly<ActionCellProps> & {
5
5
  onJsonViewClick?: () => void;
6
6
  tableMode?: TableMode;
7
7
  };
8
- declare function ActionCell({ flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown, row, showJsonViewer, isTextShown, showIdButton, rowId, onJsonViewClick, tableMode, ...props }: Props): import("react/jsx-runtime").JSX.Element;
8
+ declare function ActionCell({ flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown, row, showJsonViewer, isTextShown, showIdButton, rowId, onJsonViewClick, tableMode, renderDropdown, ...props }: Props): import("react/jsx-runtime").JSX.Element;
9
9
  declare const _default: React.MemoExoticComponent<typeof ActionCell>;
10
10
  export default _default;
@@ -27,9 +27,9 @@ import { BadgeWrapper, IdButtonContainer, TextLabel, TransparentButton } from '.
27
27
  import SheetViewIDButton from '../SheetViewIDButton/SheetViewIDButton';
28
28
  function ActionCell(_a) {
29
29
  var _b, _c;
30
- var { flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown = true, row, showJsonViewer = true, isTextShown, showIdButton = true, rowId, onJsonViewClick, tableMode } = _a, props = __rest(_a, ["flag", "actions", "flagTooltip", "flagsCount", "dropdownAction", "onCloseDropdown", "isDropdownShown", "row", "showJsonViewer", "isTextShown", "showIdButton", "rowId", "onJsonViewClick", "tableMode"]);
30
+ var { flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown = true, row, showJsonViewer = true, isTextShown, showIdButton = true, rowId, onJsonViewClick, tableMode, renderDropdown } = _a, props = __rest(_a, ["flag", "actions", "flagTooltip", "flagsCount", "dropdownAction", "onCloseDropdown", "isDropdownShown", "row", "showJsonViewer", "isTextShown", "showIdButton", "rowId", "onJsonViewClick", "tableMode", "renderDropdown"]);
31
31
  const { t } = useTranslation();
32
- const { open, anchorEl, filteredActions, isAnyActionLoading, isAnyActionHasError, isAnyActionSuccessful, areThereAnyShownActions, handleClick, handleClose, } = useActionCell({ actions, isDropdownShown, onCloseDropdown });
32
+ const { open, anchorEl, filteredActions, isAnyActionLoading, isAnyActionHasError, isAnyActionSuccessful, areThereAnyShownActions, handleClick, handleClose, setAnchorEl, } = useActionCell({ actions, isDropdownShown, onCloseDropdown, renderDropdown });
33
33
  return (_jsx(TableCell, Object.assign({}, props, { sx: {
34
34
  overflow: 'visible',
35
35
  } }, { children: _jsxs(ActionCellContainer, Object.assign({ "data-testid": "ActionCell_ActionCellContainer", tableMode: tableMode }, { children: [flag && (_jsx(_Fragment, { children: isTextShown ? (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsx(TextLabel, Object.assign({ "data-testid": "ActionCell_FlagLabel", sx: {
@@ -81,16 +81,16 @@ function ActionCell(_a) {
81
81
  pointerEvents: 'none',
82
82
  })) }, { children: [_jsx(TransparentButton, Object.assign({ onClick: handleClick, "data-testid": "ActionCell_ActionsIconContainer_TransparentButton", "data-is-active": areThereAnyShownActions, sx: Object.assign({}, (!areThereAnyShownActions && {
83
83
  pointerEvents: 'none',
84
- })) }, { children: _jsx(AnimatePresence, Object.assign({ mode: "wait" }, { children: _jsx(ActionIconsVariants, { isAnyActionLoading: isAnyActionLoading, isAnyActionHasError: isAnyActionHasError, isAnyActionSuccessful: isAnyActionSuccessful, areThereAnyShownActions: areThereAnyShownActions }) })) })), dropdownAction, areThereAnyShownActions && (_jsx(Dropdown, { style: { zIndex: 2000 }, open: open, onClose: handleClose, anchorEl: anchorEl, menuItems: filteredActions.map((action) => (Object.assign(Object.assign({}, action), { onClick: (e) => {
85
- var _a;
86
- (_a = action === null || action === void 0 ? void 0 : action.onClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
87
- if (!action.hasActionMenu) {
88
- handleClose();
89
- }
90
- }, onRightClick: (e) => {
91
- var _a;
92
- (_a = action === null || action === void 0 ? void 0 : action.onRightClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
93
- handleClose();
94
- }, icon: (_jsx(ActionIcon, { icon: action.icon, src: actionIcons[action.icon], initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 } }, `action.label-${action.label.trim()}`)) }))) }))] }))] }))] })) })));
84
+ })) }, { children: _jsx(AnimatePresence, Object.assign({ mode: "wait" }, { children: _jsx(ActionIconsVariants, { isAnyActionLoading: isAnyActionLoading, isAnyActionHasError: isAnyActionHasError, isAnyActionSuccessful: isAnyActionSuccessful, areThereAnyShownActions: areThereAnyShownActions }) })) })), renderDropdown ? (renderDropdown(anchorEl, setAnchorEl)) : (_jsxs(_Fragment, { children: [dropdownAction, areThereAnyShownActions && (_jsx(Dropdown, { style: { zIndex: 2000 }, open: open, onClose: handleClose, anchorEl: anchorEl, menuItems: filteredActions.map((action) => (Object.assign(Object.assign({}, action), { onClick: (e) => {
85
+ var _a;
86
+ (_a = action === null || action === void 0 ? void 0 : action.onClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
87
+ if (!action.hasActionMenu) {
88
+ handleClose();
89
+ }
90
+ }, onRightClick: (e) => {
91
+ var _a;
92
+ (_a = action === null || action === void 0 ? void 0 : action.onRightClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
93
+ handleClose();
94
+ }, icon: (_jsx(ActionIcon, { icon: action.icon, src: actionIcons[action.icon], initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 } }, `action.label-${action.label.trim()}`)) }))) }))] }))] }))] }))] })) })));
95
95
  }
96
96
  export default memo(ActionCell);
@@ -4,8 +4,9 @@ interface UseActionCellProps {
4
4
  actions: ActionCellProps['actions'];
5
5
  isDropdownShown?: ActionCellProps['isDropdownShown'];
6
6
  onCloseDropdown?: ActionCellProps['onCloseDropdown'];
7
+ renderDropdown?: ActionCellProps['renderDropdown'];
7
8
  }
8
- export declare function useActionCell({ actions, isDropdownShown, onCloseDropdown }: Readonly<UseActionCellProps>): {
9
+ export declare function useActionCell({ actions, isDropdownShown, onCloseDropdown, renderDropdown }: Readonly<UseActionCellProps>): {
9
10
  anchorEl: HTMLElement | null;
10
11
  open: boolean;
11
12
  filteredActions: {
@@ -25,5 +26,6 @@ export declare function useActionCell({ actions, isDropdownShown, onCloseDropdow
25
26
  areThereAnyShownActions: boolean;
26
27
  handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
27
28
  handleClose: () => void;
29
+ setAnchorEl: React.Dispatch<React.SetStateAction<HTMLElement | null>>;
28
30
  };
29
31
  export {};
@@ -1,12 +1,12 @@
1
1
  import { useEffect, useState } from 'react';
2
- export function useActionCell({ actions, isDropdownShown, onCloseDropdown }) {
2
+ export function useActionCell({ actions, isDropdownShown, onCloseDropdown, renderDropdown }) {
3
3
  const [anchorEl, setAnchorEl] = useState(null);
4
4
  const open = Boolean(anchorEl);
5
- const filteredActions = actions.filter((a) => a.isShown !== false);
5
+ const filteredActions = (actions || []).filter((a) => a.isShown !== false);
6
6
  const isAnyActionLoading = filteredActions.some((a) => a.isLoading);
7
7
  const isAnyActionHasError = filteredActions.some((a) => a.isError);
8
8
  const isAnyActionSuccessful = filteredActions.some((a) => a.isSuccess);
9
- const areThereAnyShownActions = filteredActions.length > 0;
9
+ const areThereAnyShownActions = filteredActions.length > 0 || !!renderDropdown;
10
10
  const handleClick = (event) => {
11
11
  if (isAnyActionLoading || !areThereAnyShownActions) {
12
12
  return;
@@ -32,5 +32,6 @@ export function useActionCell({ actions, isDropdownShown, onCloseDropdown }) {
32
32
  areThereAnyShownActions,
33
33
  handleClick,
34
34
  handleClose,
35
+ setAnchorEl,
35
36
  };
36
37
  }
@@ -11,7 +11,7 @@ export const ActionCellContainer = styled('section', {
11
11
  gap: tableMode === 'sheet' ? '4px' : theme.spacing(1),
12
12
  overflow: 'visible',
13
13
  }));
14
- export const ActionsIconContainer = styled('span')(({ selected }) => (Object.assign(Object.assign({ overflow: 'visible', borderRadius: '50%', display: 'flex', justifyContent: 'center', alignItems: 'center', '&:hover': {
14
+ export const ActionsIconContainer = styled('span')(({ selected }) => (Object.assign(Object.assign({ overflow: 'visible', borderRadius: '50%', display: 'flex', justifyContent: 'center', alignItems: 'center', position: 'relative', '&:hover': {
15
15
  boxShadow: '0px 0px 20px rgba(0, 0, 0, 0.18);',
16
16
  } }, (selected && {
17
17
  boxShadow: '0px 0px 20px rgba(0, 0, 0, 0.18);',
@@ -89,7 +89,7 @@ export interface DestinationCellProps extends TableCellProps {
89
89
  export interface ActionCellProps extends TableCellProps {
90
90
  row?: unknown;
91
91
  flag?: FlagType;
92
- actions: Array<{
92
+ actions?: Array<{
93
93
  label: string;
94
94
  onClick: (e: React.MouseEvent<HTMLLIElement, MouseEvent>) => void;
95
95
  onRightClick?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>) => void;
@@ -109,6 +109,7 @@ export interface ActionCellProps extends TableCellProps {
109
109
  showJsonViewer?: boolean;
110
110
  isTextShown?: boolean;
111
111
  showIdButton?: boolean;
112
+ renderDropdown?: (anchorEl: HTMLElement | null, setAnchorEl: (anchorEl: HTMLElement | null) => void) => React.ReactNode;
112
113
  }
113
114
  export interface DeviceCellProps extends TableCellProps {
114
115
  deviceType?: 'DESKTOP' | 'PHONE' | 'TABLET';
@@ -52,7 +52,7 @@ function ColumnFilter(filter) {
52
52
  }, [open, filter, anchorEl, setAnchorEl]);
53
53
  return (_jsx(ClickAwayListener, Object.assign({ onClickAway: onCloseDropdown }, { children: _jsxs(Box, Object.assign({ component: "section", "data-testid": "ColumnFilter", sx: { position: 'relative', display: 'flex', alignItems: 'center' } }, { children: [showClearIcon ? (_jsxs(FilterWrapper, { children: [_jsx(Box, { component: "img", "data-testid": "ColumnFilter_whiteFilterIcon", src: whiteFilterIcon, alt: "filter-icon", sx: { marginInlineEnd: '2px', height: 6 }, onClick: openDropdown }), _jsx(Box, { component: "img", "data-testid": "ColumnFilter_closeIcon", src: closeIcon, alt: "close-icon", onClick: () => {
54
54
  filter.onClear(filterApiKeys);
55
- } })] })) : (_jsx(Box, { component: "img", "data-testid": "ColumnFilter_columnIcon", src: columnIcon, alt: "column-icon", sx: { marginInlineStart: '8px', cursor: 'pointer' }, onClick: openDropdown })), open && _jsx(CustomBackdrop, { onClick: onCloseDropdown }), _jsx(Popper, Object.assign({ open: open, anchorEl: anchorEl, placement: "bottom-start", sx: {
55
+ } })] })) : (_jsx(Box, { component: "img", "data-testid": "ColumnFilter_columnIcon", src: columnIcon, alt: "column-icon", sx: { cursor: 'pointer', marginTop: '2px' }, onClick: openDropdown })), open && _jsx(CustomBackdrop, { onClick: onCloseDropdown }), _jsx(Popper, Object.assign({ open: open, anchorEl: anchorEl, placement: "bottom-start", sx: {
56
56
  zIndex: 9999,
57
57
  } }, { children: renderFilter }))] })) })));
58
58
  }
@@ -4,7 +4,7 @@ export { default as ActivityAreaChart, type ActivityAreaChartProps, type ChartDa
4
4
  export { default as AppWindowWrapper, type AccountHeaderProps, AccountHeaderTitle, AppWindow, type AccountHeaderTitleProps, type AppWindowProps, type WindowProps, AppWindowContext, AppWindowContextProvider, LEFT_SIDEBAR, RIGHT_SIDEBAR, VIEWER_HEIGHT, VIEWER_WIDTH, animationDuration, StyledFooter, StyledHideButton, StyledMenuLink, StyledSubmitButton, SubmitButtonWrapper, } from './AppWindowWrapper';
5
5
  export { default as BackgroundAnimation, type BlobGradient, type Blob } from './BackgroundAnimation';
6
6
  export { default as Button, PlusButton, StyledButton } from './Button';
7
- export { default as Calender } from './Calender';
7
+ export { default as Calender, type CalenderProps, type DateObject } from './Calender';
8
8
  export { default as Timepicker } from './Timepicker';
9
9
  export { default as CardEmptyState, type CardEmptyStateProps } from './CardEmptyState';
10
10
  export { default as CardHeadline } from './CardHeadline';
@@ -12,7 +12,7 @@ export { default as Checkbox } from './Checkbox';
12
12
  export { default as Dialog, DialogToolbar } from './Dialog';
13
13
  export { default as Tooltip } from './Tooltip';
14
14
  export * from './RFH';
15
- export { default as VirtualTable, TableRowLoading, TableHeader, TableLastItem, TableLoading, TableLoadingWithCard, TableNoData, TableNoDataWithCard, LastRowContent, ListItemWrapperWithCard, RowErrorState, StyledItemWrapper, TableRow, TableRowLoadingWithCard, TableRowWithCard, VirtualScrollInner, VirtualScrollList, VirtualScrollOuter, VirtualTableWithCard, Inputs, List, ColumnFilter, StyledCell, } from './VirtualTable';
15
+ export { default as VirtualTable, TableRowLoading, TableHeader as VirtualTableHeader, TableLastItem, TableLoading, TableLoadingWithCard, TableNoData, TableNoDataWithCard, LastRowContent, ListItemWrapperWithCard, RowErrorState, StyledItemWrapper, TableRow, TableRowLoadingWithCard, TableRowWithCard, VirtualScrollInner, VirtualScrollList, VirtualScrollOuter, VirtualTableWithCard, Inputs, List, ColumnFilter, StyledCell, } from './VirtualTable';
16
16
  export { default as SheetViewVirtualTable } from './VirtualTable/SheetView/SheetViewVirtualTable';
17
17
  export { default as Widget, ListItem, WidgetHeader, WidgetList } from './Widget';
18
18
  export { default as TapLogo } from './TapLogo';
@@ -12,7 +12,7 @@ export { default as Checkbox } from './Checkbox';
12
12
  export { default as Dialog, DialogToolbar } from './Dialog';
13
13
  export { default as Tooltip } from './Tooltip';
14
14
  export * from './RFH';
15
- export { default as VirtualTable, TableRowLoading, TableHeader, TableLastItem, TableLoading, TableLoadingWithCard, TableNoData, TableNoDataWithCard, LastRowContent, ListItemWrapperWithCard, RowErrorState, StyledItemWrapper, TableRow, TableRowLoadingWithCard, TableRowWithCard, VirtualScrollInner, VirtualScrollList, VirtualScrollOuter, VirtualTableWithCard, Inputs, List, ColumnFilter, StyledCell, } from './VirtualTable';
15
+ export { default as VirtualTable, TableRowLoading, TableHeader as VirtualTableHeader, TableLastItem, TableLoading, TableLoadingWithCard, TableNoData, TableNoDataWithCard, LastRowContent, ListItemWrapperWithCard, RowErrorState, StyledItemWrapper, TableRow, TableRowLoadingWithCard, TableRowWithCard, VirtualScrollInner, VirtualScrollList, VirtualScrollOuter, VirtualTableWithCard, Inputs, List, ColumnFilter, StyledCell, } from './VirtualTable';
16
16
  export { default as SheetViewVirtualTable } from './VirtualTable/SheetView/SheetViewVirtualTable';
17
17
  export { default as Widget, ListItem, WidgetHeader, WidgetList } from './Widget';
18
18
  export { default as TapLogo } from './TapLogo';
@@ -493,3 +493,14 @@ export declare const navigationPointerBlack: string;
493
493
  export declare const addIconWhite: string;
494
494
  export declare const greyUpArrowIcon: string;
495
495
  export declare const greyDownArrowIcon: string;
496
+ export declare const brandServiceIcon: string;
497
+ export declare const authorizationServiceIcon: string;
498
+ export declare const chargebacksServiceIcon: string;
499
+ export declare const chargesServiceIcon: string;
500
+ export declare const destinationsServiceIcon: string;
501
+ export declare const entityServiceIcon: string;
502
+ export declare const invoiceServiceIcon: string;
503
+ export declare const payoutServiceIcon: string;
504
+ export declare const refundsServiceIcon: string;
505
+ export declare const usersServiceIcon: string;
506
+ export declare const walletServiceIcon: string;
@@ -497,3 +497,14 @@ export const navigationPointerBlack = `${lightUrl}/navigationPointerBlack.svg`;
497
497
  export const addIconWhite = `${lightUrl}/addIconWhite.svg`;
498
498
  export const greyUpArrowIcon = `${lightUrl}/greyUpArrow.svg`;
499
499
  export const greyDownArrowIcon = `${lightUrl}/greyDownArrow.svg`;
500
+ export const brandServiceIcon = `${lightUrl}/services/brandService.svg`;
501
+ export const authorizationServiceIcon = `${lightUrl}/services/authorizationService.svg`;
502
+ export const chargebacksServiceIcon = `${lightUrl}/services/chargebacksService.svg`;
503
+ export const chargesServiceIcon = `${lightUrl}/services/chargesService.svg`;
504
+ export const destinationsServiceIcon = `${lightUrl}/services/destinationsService.svg`;
505
+ export const entityServiceIcon = `${lightUrl}/services/entityService.svg`;
506
+ export const invoiceServiceIcon = `${lightUrl}/services/invoiceService.svg`;
507
+ export const payoutServiceIcon = `${lightUrl}/services/payoutService.svg`;
508
+ export const refundsServiceIcon = `${lightUrl}/services/refundsService.svg`;
509
+ export const usersServiceIcon = `${lightUrl}/services/usersService.svg`;
510
+ export const walletServiceIcon = `${lightUrl}/services/walletService.svg`;
@@ -16,6 +16,7 @@ export interface HttpMethodFilters {
16
16
  startAfter?: string;
17
17
  keyword?: string;
18
18
  merchants?: string[];
19
+ merchantIds?: string[];
19
20
  }
20
21
  export interface QueryConfig extends Omit<HttpMethodConfig, 'signal'> {
21
22
  }
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.186",
4
+ "version": "0.0.188",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
7
7
  "module": "build/index.js",