@tap-payments/os-micro-frontend-shared 0.1.422 → 0.1.424-test.1

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 (59) hide show
  1. package/build/components/AnimatedSpinnerIcon/style.d.ts +0 -1
  2. package/build/components/AppServicesActionMenu/AppServicesActionMenu.d.ts +3 -0
  3. package/build/components/AppServicesActionMenu/AppServicesActionMenu.js +33 -0
  4. package/build/components/AppServicesActionMenu/ServicesSubmenu.d.ts +9 -0
  5. package/build/components/AppServicesActionMenu/ServicesSubmenu.js +12 -0
  6. package/build/components/AppServicesActionMenu/index.d.ts +3 -0
  7. package/build/components/AppServicesActionMenu/index.js +3 -0
  8. package/build/components/AppServicesActionMenu/style.d.ts +24 -0
  9. package/build/components/AppServicesActionMenu/style.js +45 -0
  10. package/build/components/AppServicesActionMenu/types.d.ts +17 -0
  11. package/build/components/AppServicesActionMenu/types.js +1 -0
  12. package/build/components/Chip/style.d.ts +0 -1
  13. package/build/components/CountBadge/style.d.ts +0 -1
  14. package/build/components/Dialog/style.d.ts +0 -1
  15. package/build/components/FlippingCard/style.d.ts +0 -1
  16. package/build/components/ImageWrapper/ImageWrapper.d.ts +0 -1
  17. package/build/components/JSONViewer/style.d.ts +0 -1
  18. package/build/components/LeftPeekRightExpandingChip/style.d.ts +0 -1
  19. package/build/components/RightLeftExpandingCenterChip/style.d.ts +0 -1
  20. package/build/components/SearchButton/styles.d.ts +0 -1
  21. package/build/components/StatusIcons/AuthIcons/style.d.ts +0 -1
  22. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +0 -1
  23. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +0 -1
  24. package/build/components/StatusIcons/SourceIcons/style.d.ts +0 -1
  25. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +0 -1
  26. package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +0 -1
  27. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +0 -1
  28. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +0 -1
  29. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +0 -1
  30. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +0 -1
  31. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +0 -1
  32. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +0 -1
  33. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +0 -1
  34. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +0 -1
  35. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +0 -1
  36. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +0 -1
  37. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +0 -1
  38. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +0 -1
  39. package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +0 -1
  40. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +0 -1
  41. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +0 -1
  42. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +0 -1
  43. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +0 -1
  44. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +0 -1
  45. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +0 -1
  46. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +0 -1
  47. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +0 -1
  48. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +0 -1
  49. package/build/components/TableCells/CustomCells/style.d.ts +0 -1
  50. package/build/components/TableReports/components/DownloadButton/style.d.ts +0 -1
  51. package/build/components/TableReports/style.d.ts +0 -1
  52. package/build/components/Tooltip/Tooltip.d.ts +3 -1
  53. package/build/components/Tooltip/Tooltip.js +2 -2
  54. package/build/components/VirtualTables/components/style.d.ts +0 -1
  55. package/build/components/index.d.ts +1 -0
  56. package/build/components/index.js +1 -0
  57. package/build/constants/table/cell/authenticationsTableCellWidth.d.ts +40 -0
  58. package/build/constants/table/cell/authenticationsTableCellWidth.js +40 -0
  59. package/package.json +3 -3
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  type AnimatedSpinnerIconProps = {
4
3
  width?: string;
5
4
  height?: string;
@@ -0,0 +1,3 @@
1
+ import type { AppServicesActionMenuProps } from './types';
2
+ export declare function AppServicesActionMenu({ anchorEl, open, onClose, items, onSelectService }: AppServicesActionMenuProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export default AppServicesActionMenu;
@@ -0,0 +1,33 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState, useCallback } from 'react';
3
+ import Box from '@mui/material/Box';
4
+ import Popper from '@mui/material/Popper';
5
+ import { ClickAwayListener } from '@mui/material';
6
+ import { rightArrow } from '../../constants/index.js';
7
+ import CustomBackdrop from '../CustomBackdrop';
8
+ import { App, AppDetails, AppName, AppList, AppIcon } from './style';
9
+ import ServicesSubmenu from './ServicesSubmenu';
10
+ export function AppServicesActionMenu({ anchorEl, open, onClose, items, onSelectService }) {
11
+ const [childAnchorEl, setChildAnchorEl] = useState(null);
12
+ const [hoveredItem, setHoveredItem] = useState(null);
13
+ const onChildMouseOver = useCallback((event, item) => {
14
+ setChildAnchorEl(event.currentTarget);
15
+ setHoveredItem(item);
16
+ }, []);
17
+ const onChildLeave = useCallback(() => {
18
+ setChildAnchorEl(null);
19
+ setHoveredItem(null);
20
+ }, []);
21
+ const handleClose = useCallback(() => {
22
+ onClose();
23
+ onChildLeave();
24
+ }, [onClose, onChildLeave]);
25
+ const handleSelectService = useCallback((appCode, serviceCode) => {
26
+ onSelectService(appCode, serviceCode);
27
+ handleClose();
28
+ }, [onSelectService, handleClose]);
29
+ if (!open)
30
+ return null;
31
+ return (_jsx(ClickAwayListener, Object.assign({ onClickAway: handleClose }, { children: _jsxs(Box, { children: [_jsx(CustomBackdrop, { onClick: handleClose }), _jsx(Popper, Object.assign({ open: open, anchorEl: anchorEl, placement: "bottom-end", sx: { zIndex: 2000 } }, { children: _jsx(AppList, { children: items.length === 0 ? (_jsx(App, Object.assign({ sx: { cursor: 'default', '&:hover': { boxShadow: 'none' } } }, { children: _jsx(AppDetails, { children: _jsx(AppName, Object.assign({ sx: { fontSize: 11, color: 'text.secondary' } }, { children: "No actions available" })) }) }))) : (items.map((item) => (_jsxs(App, Object.assign({ onMouseOver: (e) => onChildMouseOver(e, item), open: (hoveredItem === null || hoveredItem === void 0 ? void 0 : hoveredItem.appCode) === item.appCode }, { children: [_jsxs(AppDetails, { children: [_jsx(AppIcon, { children: _jsx("img", { src: item.appIconUrl, alt: "app", width: 16, height: 16 }) }), _jsx(AppName, { children: item.appName })] }), _jsx(AppDetails, { children: _jsx("img", { src: rightArrow, alt: "icon", className: "arrow-icon" }) })] }), item.appCode)))) }) })), items.length > 0 && (_jsx(ServicesSubmenu, { item: hoveredItem, anchorEl: childAnchorEl, onMouseLeave: onChildLeave, onSelectService: handleSelectService }))] }) })));
32
+ }
33
+ export default AppServicesActionMenu;
@@ -0,0 +1,9 @@
1
+ import type { AppServicesActionMenuItem } from './types';
2
+ type ServicesSubmenuProps = {
3
+ item: AppServicesActionMenuItem | null;
4
+ anchorEl: HTMLElement | null;
5
+ onMouseLeave: () => void;
6
+ onSelectService: (appCode: string, serviceCode: string) => void;
7
+ };
8
+ export default function ServicesSubmenu({ item, anchorEl, onMouseLeave, onSelectService }: ServicesSubmenuProps): import("react/jsx-runtime").JSX.Element | null;
9
+ export {};
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import Popper from '@mui/material/Popper';
3
+ import { Box } from '@mui/material';
4
+ import { Service, ServicesList } from './style';
5
+ export default function ServicesSubmenu({ item, anchorEl, onMouseLeave, onSelectService }) {
6
+ if (!item)
7
+ return null;
8
+ return (_jsx(Popper, Object.assign({ open: true, anchorEl: anchorEl, placement: "left-start", onMouseLeave: onMouseLeave, sx: { zIndex: 2000 } }, { children: _jsx(ServicesList, { children: item.services.map((service) => (_jsx(Service, Object.assign({ onClick: (e) => {
9
+ e.stopPropagation();
10
+ onSelectService(item.appCode, service.serviceCode);
11
+ } }, { children: _jsxs(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: 1 } }, { children: [service.iconUrl && _jsx("img", { src: service.iconUrl, alt: "service", width: 16, height: 16 }), _jsxs("span", { children: ["View ", service.label] })] })) }), service.serviceCode))) }) })));
12
+ }
@@ -0,0 +1,3 @@
1
+ export { default as AppServicesActionMenu } from './AppServicesActionMenu';
2
+ export { default as ServicesSubmenu } from './ServicesSubmenu';
3
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ export { default as AppServicesActionMenu } from './AppServicesActionMenu';
2
+ export { default as ServicesSubmenu } from './ServicesSubmenu';
3
+ export * from './types';
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ export declare const AppDetails: 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
+ export declare const AppName: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
8
+ export declare const AppIcon: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
11
+ export declare const ServicesList: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
14
+ export declare const AppList: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
17
+ export declare const App: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
20
+ open?: boolean | undefined;
21
+ }, {}, {}>;
22
+ export declare const Service: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
23
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
24
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -0,0 +1,45 @@
1
+ import Box from '@mui/material/Box';
2
+ import { styled } from '@mui/material/styles';
3
+ export const AppDetails = styled(Box)(() => ({
4
+ display: 'flex',
5
+ alignItems: 'center',
6
+ gap: '8px',
7
+ }));
8
+ export const AppName = styled(Box)(({ theme }) => ({
9
+ fontSize: '11px',
10
+ fontWeight: 500,
11
+ color: theme.palette.text.primary,
12
+ }));
13
+ export const AppIcon = styled(Box)(() => ({
14
+ width: 16,
15
+ height: 16,
16
+ }));
17
+ export const ServicesList = styled(Box)(({ theme }) => ({
18
+ background: theme.palette.common.white,
19
+ borderRadius: '4px',
20
+ borderTopRightRadius: 0,
21
+ filter: 'drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))',
22
+ width: 'max-content',
23
+ minWidth: 150,
24
+ }));
25
+ export const AppList = styled(Box)(({ theme }) => ({
26
+ background: theme.palette.common.white,
27
+ borderRadius: '4px',
28
+ filter: 'drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))',
29
+ minWidth: 130,
30
+ width: 'max-content',
31
+ marginTop: '8px',
32
+ }));
33
+ export const App = styled(Box, { shouldForwardProp: (props) => props !== 'open' })(({ theme, open }) => (Object.assign({ display: 'flex', alignItems: 'center', justifyContent: 'space-between', height: 32, padding: '8px 8px 8px 12px', cursor: 'pointer' }, (open && { boxShadow: theme.shadows[3] }))));
34
+ export const Service = styled(Box)(({ theme }) => ({
35
+ display: 'flex',
36
+ alignItems: 'center',
37
+ gap: '8px',
38
+ height: 32,
39
+ padding: '8px 12px',
40
+ cursor: 'pointer',
41
+ fontSize: '11px',
42
+ color: theme.palette.text.primary,
43
+ fontWeight: 500,
44
+ '&:hover': { boxShadow: theme.shadows[3] },
45
+ }));
@@ -0,0 +1,17 @@
1
+ export interface AppServicesActionMenuItem {
2
+ appCode: string;
3
+ appName: string;
4
+ appIconUrl: string;
5
+ services: Array<{
6
+ serviceCode: string;
7
+ label: string;
8
+ iconUrl?: string;
9
+ }>;
10
+ }
11
+ export interface AppServicesActionMenuProps {
12
+ anchorEl: HTMLElement | null;
13
+ open: boolean;
14
+ onClose: () => void;
15
+ items: AppServicesActionMenuItem[];
16
+ onSelectService: (appCode: string, serviceCode: string) => void;
17
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  import { GetSourceAnimationFunction } from './type';
4
3
  export declare const ChipStyled: import("@emotion/styled").StyledComponent<import("react").RefAttributes<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
4
  variant?: import("./type").ChipVariant | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const AgreementImageWrapper: 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 DialogWrapper: 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 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,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  import { type 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 AgreementCellContainer: 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 StyledAgreementCardIcon: 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 CardContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -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;
@@ -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 DueDateCellContainer: 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 Button: 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 DueDateCellContainer: 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 DueDateCellContainer: 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 StyledDownloadFileImageWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
4
3
  isTextShown?: boolean | undefined;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -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 ProductCellContainer: 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 ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const RefundChargeCellContainer: 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 RefundCellContainer: 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 SalesChannelsContainer: import("@emotion/styled").StyledComponent<{
@@ -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 ReferenceSourcesContainer: 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 MultiRefundIcon: 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 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 GeographyBox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
4
3
  variant?: "Global" | "Regional" | "Local" | undefined;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const Button: 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
  type ExportButtonProps = {
4
3
  notificationState?: {
5
4
  success: boolean;
@@ -1,10 +1,12 @@
1
1
  import React, { ReactElement } from 'react';
2
2
  import type { TooltipProps } from '@mui/material/Tooltip';
3
+ import { BoxProps } from '@mui/material/Box';
3
4
  interface Props extends Omit<TooltipProps, 'children'> {
4
5
  title: React.ReactNode;
5
6
  placement?: TooltipProps['placement'];
6
7
  children?: ReactElement;
7
8
  className?: string;
9
+ wrapperProps?: BoxProps;
8
10
  }
9
- declare function Tooltip({ className, title, placement, children, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
11
+ declare function Tooltip({ className, title, placement, children, wrapperProps, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
10
12
  export default Tooltip;
@@ -14,8 +14,8 @@ import { useId } from 'react';
14
14
  import Box from '@mui/material/Box';
15
15
  import { StyledTooltip } from './styles';
16
16
  function Tooltip(_a) {
17
- var { className, title, placement = 'top', children } = _a, rest = __rest(_a, ["className", "title", "placement", "children"]);
17
+ var { className, title, placement = 'top', children, wrapperProps } = _a, rest = __rest(_a, ["className", "title", "placement", "children", "wrapperProps"]);
18
18
  const id = useId();
19
- return (_jsx(StyledTooltip, Object.assign({ classes: { popper: className }, title: title, placement: placement, arrow: true }, rest, { children: _jsx(Box, Object.assign({ display: "flex", alignItems: "center" }, { children: children }), `tooltip-child-${id}`) })));
19
+ return (_jsx(StyledTooltip, Object.assign({ classes: { popper: className }, title: title, placement: placement, arrow: true }, rest, { children: _jsx(Box, Object.assign({ display: "flex", alignItems: "center" }, wrapperProps, { children: children }), `tooltip-child-${id}`) })));
20
20
  }
21
21
  export default Tooltip;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  interface TableWrapperProps {
4
3
  showNoDataView?: boolean;
5
4
  }
@@ -155,3 +155,4 @@ export * from './ListColumnFilter';
155
155
  export * from './VerificationIcon';
156
156
  export { default as TreeDropdown } from './TreeDropdown';
157
157
  export * from './TreeDropdown';
158
+ export * from './AppServicesActionMenu';
@@ -155,3 +155,4 @@ export * from './ListColumnFilter';
155
155
  export * from './VerificationIcon';
156
156
  export { default as TreeDropdown } from './TreeDropdown';
157
157
  export * from './TreeDropdown';
158
+ export * from './AppServicesActionMenu';
@@ -84,4 +84,44 @@ export declare const authenticationsTableCellWidth: {
84
84
  readonly text: "100px";
85
85
  readonly sheet: "100px";
86
86
  };
87
+ readonly date: {
88
+ readonly default: "150px";
89
+ readonly text: "170px";
90
+ readonly sheet: "130px";
91
+ };
92
+ readonly payment_issuers: {
93
+ readonly default: "150px";
94
+ readonly text: "150px";
95
+ readonly sheet: "430px";
96
+ };
97
+ readonly payment_type: {
98
+ readonly default: "150px";
99
+ readonly text: "150px";
100
+ readonly sheet: "120px";
101
+ };
102
+ readonly payment_method: {
103
+ readonly default: "150px";
104
+ readonly text: "150px";
105
+ readonly sheet: "145px";
106
+ };
107
+ readonly payment_scheme: {
108
+ readonly default: "150px";
109
+ readonly text: "150px";
110
+ readonly sheet: "145px";
111
+ };
112
+ readonly auth_status: {
113
+ readonly default: "150px";
114
+ readonly text: "150px";
115
+ readonly sheet: "165px";
116
+ };
117
+ readonly auth_type: {
118
+ readonly default: "150px";
119
+ readonly text: "150px";
120
+ readonly sheet: "155px";
121
+ };
122
+ readonly eci: {
123
+ readonly default: "150px";
124
+ readonly text: "150px";
125
+ readonly sheet: "72px";
126
+ };
87
127
  };
@@ -84,4 +84,44 @@ export const authenticationsTableCellWidth = {
84
84
  text: '100px',
85
85
  sheet: '100px',
86
86
  },
87
+ date: {
88
+ default: '150px',
89
+ text: '170px',
90
+ sheet: '130px',
91
+ },
92
+ payment_issuers: {
93
+ default: '150px',
94
+ text: '150px',
95
+ sheet: '430px',
96
+ },
97
+ payment_type: {
98
+ default: '150px',
99
+ text: '150px',
100
+ sheet: '120px',
101
+ },
102
+ payment_method: {
103
+ default: '150px',
104
+ text: '150px',
105
+ sheet: '145px',
106
+ },
107
+ payment_scheme: {
108
+ default: '150px',
109
+ text: '150px',
110
+ sheet: '145px',
111
+ },
112
+ auth_status: {
113
+ default: '150px',
114
+ text: '150px',
115
+ sheet: '165px',
116
+ },
117
+ auth_type: {
118
+ default: '150px',
119
+ text: '150px',
120
+ sheet: '155px',
121
+ },
122
+ eci: {
123
+ default: '150px',
124
+ text: '150px',
125
+ sheet: '72px',
126
+ },
87
127
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
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.1.422",
5
- "testVersion": 0,
4
+ "version": "0.1.424-test.1",
5
+ "testVersion": 1,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -164,4 +164,4 @@
164
164
  "publishConfig": {
165
165
  "registry": "https://registry.npmjs.org/"
166
166
  }
167
- }
167
+ }