@tap-payments/os-micro-frontend-shared 0.0.299 → 0.0.300
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.
- package/LICENSE +21 -21
- package/README.md +12 -12
- package/build/components/IconWithBadge/IconWithBadge.d.ts +1 -1
- package/build/components/IconWithBadge/IconWithBadge.js +9 -13
- package/build/components/IconWithBadge/type.d.ts +0 -3
- package/build/components/MaskedText/MaskedText.js +1 -3
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.d.ts +1 -3
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +2 -8
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.d.ts +1 -3
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +2 -8
- package/build/components/StatusIcons/RefundIcon/RefundIcon.d.ts +1 -3
- package/build/components/StatusIcons/RefundIcon/RefundIcon.js +1 -6
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +5 -39
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +4 -286
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +14 -43
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +1 -1
- package/build/components/TableCells/CustomCells/BrandsCell/style.js +1 -2
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +4 -5
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/style.js +5 -1
- package/build/components/TableCells/CustomCells/StatusCell/constant.d.ts +0 -34
- package/build/components/TableCells/CustomCells/StatusCell/constant.js +0 -30
- package/build/components/VirtualTable/SheetView/components/SheetViewTableRowLoading.d.ts +2 -1
- package/build/components/VirtualTable/SheetView/components/SheetViewTableRowLoading.js +6 -4
- package/build/components/VirtualTable/components/ColumnFilter/Inputs/Inputs.d.ts +1 -1
- package/build/components/VirtualTable/components/ColumnFilter/Inputs/Inputs.js +2 -2
- package/build/components/VirtualTable/components/virtualScroll/ListItemWrapper.d.ts +5 -2
- package/build/components/VirtualTable/components/virtualScroll/ListItemWrapper.js +37 -6
- package/build/components/index.d.ts +0 -1
- package/build/components/index.js +0 -1
- package/build/constants/assets.d.ts +0 -2
- package/build/constants/assets.js +0 -2
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +12 -12
- package/build/constants/table/cell/chargeTableCellWidth.js +12 -12
- package/build/types/table.d.ts +1 -1
- package/package.json +2 -2
- package/build/components/SourceChips/AuthenticationChip/AuthenticationChip.d.ts +0 -7
- package/build/components/SourceChips/AuthenticationChip/AuthenticationChip.js +0 -31
- package/build/components/SourceChips/AuthenticationChip/constants.d.ts +0 -30
- package/build/components/SourceChips/AuthenticationChip/constants.js +0 -25
- package/build/components/SourceChips/AuthenticationChip/index.d.ts +0 -3
- package/build/components/SourceChips/AuthenticationChip/index.js +0 -2
- package/build/components/SourceChips/GeographyChip/GeographyChip.d.ts +0 -7
- package/build/components/SourceChips/GeographyChip/GeographyChip.js +0 -22
- package/build/components/SourceChips/GeographyChip/constants.d.ts +0 -16
- package/build/components/SourceChips/GeographyChip/constants.js +0 -11
- package/build/components/SourceChips/GeographyChip/index.d.ts +0 -2
- package/build/components/SourceChips/GeographyChip/index.js +0 -2
- package/build/components/SourceChips/PaymentAgreementChip/PaymentAgreementChip.d.ts +0 -7
- package/build/components/SourceChips/PaymentAgreementChip/PaymentAgreementChip.js +0 -21
- package/build/components/SourceChips/PaymentAgreementChip/constants.d.ts +0 -21
- package/build/components/SourceChips/PaymentAgreementChip/constants.js +0 -16
- package/build/components/SourceChips/PaymentAgreementChip/index.d.ts +0 -3
- package/build/components/SourceChips/PaymentAgreementChip/index.js +0 -2
- package/build/components/SourceChips/index.d.ts +0 -3
- package/build/components/SourceChips/index.js +0 -3
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StatusChipProps } from '../../StatusChip';
|
|
2
|
-
export type AuthenticationChipType = 'issuer' | 'scheme' | 'device' | 'app' | 'wallet' | '3DS' | 'Device Biometric' | 'Non-3DS';
|
|
3
|
-
interface AuthenticationChipProps extends Omit<StatusChipProps, 'children'> {
|
|
4
|
-
authenticationType?: AuthenticationChipType;
|
|
5
|
-
}
|
|
6
|
-
declare const AuthenticationChip: ({ authenticationType, unknownText, ...props }: AuthenticationChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default AuthenticationChip;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import StatusChip from '../../StatusChip';
|
|
14
|
-
import { authenticationColors } from './constants';
|
|
15
|
-
const authenticationTypeMap = {
|
|
16
|
-
issuer: 'Issuer',
|
|
17
|
-
scheme: 'Scheme',
|
|
18
|
-
device: 'Device',
|
|
19
|
-
app: 'App',
|
|
20
|
-
wallet: 'Wallet',
|
|
21
|
-
'Device Biometric': 'Biometric',
|
|
22
|
-
'3DS': '3DS',
|
|
23
|
-
'Non-3DS': 'Non-3DS',
|
|
24
|
-
};
|
|
25
|
-
const AuthenticationChip = (_a) => {
|
|
26
|
-
var { authenticationType, unknownText = 'noAuth' } = _a, props = __rest(_a, ["authenticationType", "unknownText"]);
|
|
27
|
-
const statusText = authenticationType && authenticationTypeMap[authenticationType];
|
|
28
|
-
const chipColors = authenticationType && authenticationColors[authenticationType];
|
|
29
|
-
return (_jsx(StatusChip, Object.assign({}, chipColors, { unknownText: unknownText }, props, { children: statusText })));
|
|
30
|
-
};
|
|
31
|
-
export default AuthenticationChip;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export interface AuthenticationColors {
|
|
2
|
-
bgColor: string;
|
|
3
|
-
borderColor?: string;
|
|
4
|
-
textColor?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const authenticationColors: {
|
|
7
|
-
issuer: {
|
|
8
|
-
bgColor: string;
|
|
9
|
-
textColor: string;
|
|
10
|
-
};
|
|
11
|
-
scheme: {
|
|
12
|
-
bgColor: string;
|
|
13
|
-
textColor: string;
|
|
14
|
-
};
|
|
15
|
-
app: {
|
|
16
|
-
bgColor: string;
|
|
17
|
-
textColor: string;
|
|
18
|
-
};
|
|
19
|
-
wallet: {
|
|
20
|
-
bgColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
};
|
|
23
|
-
device: {};
|
|
24
|
-
'Device Biometric': {
|
|
25
|
-
bgColor: string;
|
|
26
|
-
textColor: string;
|
|
27
|
-
};
|
|
28
|
-
'3DS': {};
|
|
29
|
-
'Non-3DS': {};
|
|
30
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export const authenticationColors = {
|
|
2
|
-
issuer: {
|
|
3
|
-
bgColor: '#1F88D033',
|
|
4
|
-
textColor: '#1F88D0',
|
|
5
|
-
},
|
|
6
|
-
scheme: {
|
|
7
|
-
bgColor: '#5E30EB33',
|
|
8
|
-
textColor: '#5E30EB',
|
|
9
|
-
},
|
|
10
|
-
app: {
|
|
11
|
-
bgColor: '#AF2D6F33',
|
|
12
|
-
textColor: '#AF2D6F',
|
|
13
|
-
},
|
|
14
|
-
wallet: {
|
|
15
|
-
bgColor: '#18AA3333',
|
|
16
|
-
textColor: '#18AA33',
|
|
17
|
-
},
|
|
18
|
-
device: {},
|
|
19
|
-
'Device Biometric': {
|
|
20
|
-
bgColor: '#F0820033',
|
|
21
|
-
textColor: '#F08200',
|
|
22
|
-
},
|
|
23
|
-
'3DS': {},
|
|
24
|
-
'Non-3DS': {},
|
|
25
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StatusChipProps } from '../../StatusChip';
|
|
2
|
-
import { GeographyVariant } from '../../../types/index.js';
|
|
3
|
-
interface GeographyChipProps extends Omit<StatusChipProps, 'children'> {
|
|
4
|
-
geographyVariant?: GeographyVariant;
|
|
5
|
-
}
|
|
6
|
-
declare const GeographyChip: ({ geographyVariant, ...props }: GeographyChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default GeographyChip;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import StatusChip from '../../StatusChip';
|
|
14
|
-
import { geographyMap } from '../../../utils/index.js';
|
|
15
|
-
import { geographyColors } from './constants';
|
|
16
|
-
const GeographyChip = (_a) => {
|
|
17
|
-
var { geographyVariant } = _a, props = __rest(_a, ["geographyVariant"]);
|
|
18
|
-
const statusText = geographyVariant && geographyMap[geographyVariant];
|
|
19
|
-
const chipColors = geographyVariant && geographyColors[geographyVariant];
|
|
20
|
-
return (_jsx(StatusChip, Object.assign({}, chipColors, props, { children: statusText })));
|
|
21
|
-
};
|
|
22
|
-
export default GeographyChip;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StatusChipProps } from '../../StatusChip';
|
|
2
|
-
export type PaymentAgreementType = 'ORDER' | 'SAVED_CARD' | 'SUBSCRIPTION' | 'INSTALLMENT' | undefined;
|
|
3
|
-
interface PaymentAgreementChipProps extends Omit<StatusChipProps, 'children'> {
|
|
4
|
-
agreementType?: PaymentAgreementType;
|
|
5
|
-
}
|
|
6
|
-
declare const PaymentAgreementChip: ({ agreementType, unknownText, ...props }: PaymentAgreementChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default PaymentAgreementChip;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import StatusChip from '../../StatusChip';
|
|
14
|
-
import { agreementTypeMap, paymentAgreementColors } from './constants';
|
|
15
|
-
const PaymentAgreementChip = (_a) => {
|
|
16
|
-
var { agreementType, unknownText = 'noAgreement' } = _a, props = __rest(_a, ["agreementType", "unknownText"]);
|
|
17
|
-
const statusText = agreementType && agreementTypeMap[agreementType];
|
|
18
|
-
const chipColors = agreementType && paymentAgreementColors[agreementType];
|
|
19
|
-
return (_jsx(StatusChip, Object.assign({}, chipColors, { unknownText: unknownText }, props, { children: statusText })));
|
|
20
|
-
};
|
|
21
|
-
export default PaymentAgreementChip;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface PaymentAgreementColors {
|
|
2
|
-
bgColor: string;
|
|
3
|
-
borderColor?: string;
|
|
4
|
-
textColor?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const paymentAgreementColors: {
|
|
7
|
-
ORDER: {
|
|
8
|
-
bgColor: string;
|
|
9
|
-
textColor: string;
|
|
10
|
-
};
|
|
11
|
-
SAVED_CARD: {
|
|
12
|
-
bgColor: string;
|
|
13
|
-
textColor: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const agreementTypeMap: {
|
|
17
|
-
ORDER: string;
|
|
18
|
-
SAVED_CARD: string;
|
|
19
|
-
SUBSCRIPTION: string;
|
|
20
|
-
INSTALLMENT: string;
|
|
21
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export const paymentAgreementColors = {
|
|
2
|
-
ORDER: {
|
|
3
|
-
bgColor: '#5E30EB33',
|
|
4
|
-
textColor: '#5E30EB',
|
|
5
|
-
},
|
|
6
|
-
SAVED_CARD: {
|
|
7
|
-
bgColor: '#76BB4033',
|
|
8
|
-
textColor: '#76BB40',
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
export const agreementTypeMap = {
|
|
12
|
-
ORDER: 'Order',
|
|
13
|
-
SAVED_CARD: 'Saved card',
|
|
14
|
-
SUBSCRIPTION: 'Subscription',
|
|
15
|
-
INSTALLMENT: 'Installment',
|
|
16
|
-
};
|