@tap-payments/os-micro-frontend-shared 0.1.319-test.1 → 0.1.319-test.3

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 (68) hide show
  1. package/build/components/StatusIcons/IssuerIcon/IssuerIcon.js +2 -1
  2. package/build/components/StatusIcons/SourceIcons/components/SourceIcon.d.ts +4 -5
  3. package/build/components/StatusIcons/SourceIcons/components/SourceIcon.js +19 -3
  4. package/build/components/StatusIcons/SourceIcons/style.d.ts +3 -2
  5. package/build/components/StatusIcons/SourceIcons/style.js +2 -6
  6. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -2
  7. package/build/components/TableCells/CustomCells/AgreementCell/style.d.ts +266 -0
  8. package/build/components/TableCells/CustomCells/AgreementCell/style.js +22 -0
  9. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.d.ts +5 -3
  10. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +30 -76
  11. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentAgreement/PaymentAgreement.d.ts +2 -0
  12. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentAgreement/PaymentAgreement.js +7 -0
  13. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentAgreement/index.d.ts +1 -0
  14. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentAgreement/index.js +1 -0
  15. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentAuth/PaymentAuth.d.ts +18 -0
  16. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentAuth/PaymentAuth.js +9 -0
  17. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentAuth/index.d.ts +1 -0
  18. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentAuth/index.js +1 -0
  19. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumber/PaymentCardNumber.d.ts +10 -0
  20. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumber/PaymentCardNumber.js +12 -0
  21. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumber/index.d.ts +1 -0
  22. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumber/index.js +1 -0
  23. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumber/style.d.ts +2 -0
  24. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumber/style.js +6 -0
  25. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentDevice/PaymentDevice.d.ts +7 -0
  26. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentDevice/PaymentDevice.js +7 -0
  27. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentDevice/index.d.ts +1 -0
  28. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentDevice/index.js +1 -0
  29. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentInitiated/PaymentInitiated.d.ts +5 -0
  30. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentInitiated/PaymentInitiated.js +5 -0
  31. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentInitiated/index.d.ts +1 -0
  32. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentInitiated/index.js +1 -0
  33. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentIssuer/PaymentIssuer.d.ts +7 -0
  34. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentIssuer/PaymentIssuer.js +7 -0
  35. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentIssuer/index.d.ts +1 -0
  36. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentIssuer/index.js +1 -0
  37. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethod/PaymentMethod.d.ts +3 -0
  38. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethod/PaymentMethod.js +11 -0
  39. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethod/index.d.ts +1 -0
  40. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethod/index.js +1 -0
  41. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentScheme/PaymentScheme.d.ts +6 -0
  42. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentScheme/PaymentScheme.js +11 -0
  43. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentScheme/index.d.ts +1 -0
  44. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentScheme/index.js +1 -0
  45. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentType/PaymentType.d.ts +3 -0
  46. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentType/PaymentType.js +11 -0
  47. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentType/index.d.ts +1 -0
  48. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentType/index.js +1 -0
  49. package/build/components/TableCells/CustomCells/SourceCell/components/index.d.ts +9 -0
  50. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +9 -0
  51. package/build/components/TableCells/CustomCells/SourceCell/constant.d.ts +4 -0
  52. package/build/components/TableCells/CustomCells/SourceCell/constant.js +11 -0
  53. package/build/components/TableCells/CustomCells/SourceCell/index.d.ts +3 -2
  54. package/build/components/TableCells/CustomCells/SourceCell/index.js +3 -2
  55. package/build/components/TableCells/CustomCells/SourceCell/type.d.ts +17 -0
  56. package/build/components/TableCells/CustomCells/SourceCell/type.js +12 -0
  57. package/build/components/TableCells/CustomCells/type.d.ts +1 -1
  58. package/build/constants/apps.d.ts +0 -1
  59. package/build/constants/apps.js +0 -1
  60. package/build/constants/index.d.ts +0 -1
  61. package/build/constants/index.js +0 -1
  62. package/package.json +2 -2
  63. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +0 -269
  64. package/build/components/TableCells/CustomCells/SourceCell/style.js +0 -42
  65. package/build/components/TableCells/CustomCells/SourceCell/utils.d.ts +0 -1
  66. package/build/components/TableCells/CustomCells/SourceCell/utils.js +0 -8
  67. package/build/constants/country.d.ts +0 -1
  68. package/build/constants/country.js +0 -1
@@ -1,42 +0,0 @@
1
- import { styled } from '@mui/material';
2
- import { motion } from 'framer-motion';
3
- export const StyledSourceCell = styled('span')(({ theme }) => ({
4
- display: 'flex',
5
- alignItems: 'center',
6
- justifyContent: 'flex-start',
7
- gap: theme.spacing(1),
8
- }));
9
- export const StyledSourceImage = styled('img')(() => ({
10
- maxWidth: '36px',
11
- maxHeight: '24px',
12
- }));
13
- export const PaymentSourcesContainer = styled(motion.span)(({ theme, sourcesCount }) => ({
14
- display: 'flex',
15
- alignItems: 'center',
16
- justifyContent: 'flex-start',
17
- position: 'absolute',
18
- minWidth: `${sourcesCount * 6 + 36}px `,
19
- minHeight: '24px',
20
- cursor: 'pointer',
21
- backgroundColor: theme.palette.background.paper,
22
- borderRadius: '16px',
23
- }));
24
- export const TextLabel = styled('span')(({ theme }) => ({
25
- fontSize: '11px',
26
- overflow: 'hidden',
27
- textOverflow: 'ellipsis',
28
- whiteSpace: 'nowrap',
29
- padding: '2px 0',
30
- color: theme.palette.text.primary,
31
- }));
32
- export const BadgeTextWrapper = styled('div')(() => ({
33
- display: 'flex',
34
- alignItems: 'center',
35
- justifyContent: 'center',
36
- paddingInline: '8px',
37
- textAlign: 'center',
38
- width: '100%',
39
- overflow: 'hidden',
40
- textOverflow: 'ellipsis',
41
- whiteSpace: 'nowrap',
42
- }));
@@ -1 +0,0 @@
1
- export declare const getPaymentMethodKey: (method?: string) => string | undefined;
@@ -1,8 +0,0 @@
1
- const paymentMethodMap = {
2
- american_express: 'AMEX',
3
- debit: 'card',
4
- credit: 'card',
5
- };
6
- export const getPaymentMethodKey = (method) => {
7
- return paymentMethodMap[(method === null || method === void 0 ? void 0 : method.toLowerCase()) || ''] || method;
8
- };
@@ -1 +0,0 @@
1
- export declare const BUSINESS_COUNTRIES: string[];
@@ -1 +0,0 @@
1
- export const BUSINESS_COUNTRIES = ['SA', 'KW', 'AE', 'BH', 'QA', 'OM', 'EG', 'JO', 'LB'];