@tap-payments/os-micro-frontend-shared 0.1.7 → 0.1.9-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.
- package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.js +1 -1
- package/build/components/TableCells/CustomCells/SourceMergedCell/type.d.ts +1 -1
- package/build/constants/assets.d.ts +1 -0
- package/build/constants/assets.js +1 -0
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +42 -2
- package/build/constants/table/cell/chargeTableCellWidth.js +42 -2
- package/package.json +3 -3
|
@@ -55,7 +55,7 @@ function SourceMergedCell(_a) {
|
|
|
55
55
|
} }, { children: _jsx(StatusContainer, Object.assign({ animate: isHovering ? 'hover' : 'initial', onMouseEnter: () => setIsHovering(true), onMouseLeave: () => setIsHovering(false), initial: "initial", sx: {
|
|
56
56
|
minHeight: '20px',
|
|
57
57
|
maxWidth: '55px',
|
|
58
|
-
}, isReversed: isReversed }, { children: _jsxs(_Fragment, { children: [_jsx(CollapsedViewIcon, { hasPreviousIcon: hasPreviousIcon, hasNextIcon: hasNextIcon, isTextShown: isTextShown, collapsedViewIcon: collapsedViewIcon, sx: props.sx }, 'collapsedViewIcon'), iconsList === null || iconsList === void 0 ? void 0 : iconsList.map((icon, index) => {
|
|
58
|
+
}, isReversed: isReversed }, { children: _jsxs(_Fragment, { children: [collapsedViewIcon && (_jsx(CollapsedViewIcon, { hasPreviousIcon: hasPreviousIcon, hasNextIcon: hasNextIcon, isTextShown: isTextShown, collapsedViewIcon: collapsedViewIcon, sx: props.sx }, 'collapsedViewIcon')), iconsList === null || iconsList === void 0 ? void 0 : iconsList.map((icon, index) => {
|
|
59
59
|
if (!icon)
|
|
60
60
|
return;
|
|
61
61
|
const tableMode = isTextShown ? 'text' : 'default';
|
|
@@ -361,6 +361,7 @@ export declare const usersIcon: string;
|
|
|
361
361
|
export declare const clipboardIcon: string;
|
|
362
362
|
export declare const noAgreementIcon: string;
|
|
363
363
|
export declare const getPaymentMethodsIcon: (source: string) => string;
|
|
364
|
+
export declare const getPaymentIssuersIcon: (source: string) => string;
|
|
364
365
|
export declare const getCountriesIcon: (source: string) => string;
|
|
365
366
|
export declare const getCurrenciesIcon: (currency: string) => string;
|
|
366
367
|
export declare const getAuthorityIcon: (authority: string) => string;
|
|
@@ -362,6 +362,7 @@ export const usersIcon = `${lightUrl}/users-icons.svg`;
|
|
|
362
362
|
export const clipboardIcon = `${lightUrl}/Board-Icons.svg`;
|
|
363
363
|
export const noAgreementIcon = `${appBaseUrl}/No Agreement.svg`;
|
|
364
364
|
export const getPaymentMethodsIcon = (source) => `${lightUrl}/payment-method/v2/${source}.svg`;
|
|
365
|
+
export const getPaymentIssuersIcon = (source) => `${lightUrl}/payment-issuer/${source}.svg`;
|
|
365
366
|
export const getCountriesIcon = (source) => `${lightUrl}/country/${source}.svg`;
|
|
366
367
|
export const getCurrenciesIcon = (currency) => `${cdnUrl}/currency/v2/light/${currency}.svg`;
|
|
367
368
|
export const getAuthorityIcon = (authority) => {
|
|
@@ -52,8 +52,48 @@ export declare const chargeTableCellWidth: {
|
|
|
52
52
|
readonly payment_agreement: {
|
|
53
53
|
readonly default: "50px";
|
|
54
54
|
readonly text: "150px";
|
|
55
|
+
readonly sheet: "165px";
|
|
56
|
+
};
|
|
57
|
+
readonly payment_initiated: {
|
|
58
|
+
readonly default: "150px";
|
|
59
|
+
readonly text: "150px";
|
|
55
60
|
readonly sheet: "150px";
|
|
56
61
|
};
|
|
62
|
+
readonly payment_issuers: {
|
|
63
|
+
readonly default: "150px";
|
|
64
|
+
readonly text: "150px";
|
|
65
|
+
readonly sheet: "350px";
|
|
66
|
+
};
|
|
67
|
+
readonly payment_method: {
|
|
68
|
+
readonly default: "150px";
|
|
69
|
+
readonly text: "150px";
|
|
70
|
+
readonly sheet: "145px";
|
|
71
|
+
};
|
|
72
|
+
readonly payment_type: {
|
|
73
|
+
readonly default: "150px";
|
|
74
|
+
readonly text: "150px";
|
|
75
|
+
readonly sheet: "120px";
|
|
76
|
+
};
|
|
77
|
+
readonly payment_scheme: {
|
|
78
|
+
readonly default: "150px";
|
|
79
|
+
readonly text: "150px";
|
|
80
|
+
readonly sheet: "145px";
|
|
81
|
+
};
|
|
82
|
+
readonly auth_status: {
|
|
83
|
+
readonly default: "150px";
|
|
84
|
+
readonly text: "150px";
|
|
85
|
+
readonly sheet: "165px";
|
|
86
|
+
};
|
|
87
|
+
readonly auth_type: {
|
|
88
|
+
readonly default: "150px";
|
|
89
|
+
readonly text: "150px";
|
|
90
|
+
readonly sheet: "155px";
|
|
91
|
+
};
|
|
92
|
+
readonly eci: {
|
|
93
|
+
readonly default: "150px";
|
|
94
|
+
readonly text: "150px";
|
|
95
|
+
readonly sheet: "90px";
|
|
96
|
+
};
|
|
57
97
|
readonly amount: {
|
|
58
98
|
readonly default: "170px";
|
|
59
99
|
readonly text: "195px";
|
|
@@ -147,7 +187,7 @@ export declare const chargeTableCellWidth: {
|
|
|
147
187
|
readonly card_number: {
|
|
148
188
|
readonly default: "120px";
|
|
149
189
|
readonly text: "120px";
|
|
150
|
-
readonly sheet: "
|
|
190
|
+
readonly sheet: "145px";
|
|
151
191
|
};
|
|
152
192
|
readonly auth_code: {
|
|
153
193
|
readonly default: "80px";
|
|
@@ -162,7 +202,7 @@ export declare const chargeTableCellWidth: {
|
|
|
162
202
|
readonly device: {
|
|
163
203
|
readonly default: "70px";
|
|
164
204
|
readonly text: "190px";
|
|
165
|
-
readonly sheet: "
|
|
205
|
+
readonly sheet: "225px";
|
|
166
206
|
};
|
|
167
207
|
readonly card_no: {
|
|
168
208
|
readonly default: "120px";
|
|
@@ -52,8 +52,48 @@ export const chargeTableCellWidth = {
|
|
|
52
52
|
payment_agreement: {
|
|
53
53
|
default: '50px',
|
|
54
54
|
text: '150px',
|
|
55
|
+
sheet: '165px',
|
|
56
|
+
},
|
|
57
|
+
payment_initiated: {
|
|
58
|
+
default: '150px',
|
|
59
|
+
text: '150px',
|
|
55
60
|
sheet: '150px',
|
|
56
61
|
},
|
|
62
|
+
payment_issuers: {
|
|
63
|
+
default: '150px',
|
|
64
|
+
text: '150px',
|
|
65
|
+
sheet: '350px',
|
|
66
|
+
},
|
|
67
|
+
payment_method: {
|
|
68
|
+
default: '150px',
|
|
69
|
+
text: '150px',
|
|
70
|
+
sheet: '145px',
|
|
71
|
+
},
|
|
72
|
+
payment_type: {
|
|
73
|
+
default: '150px',
|
|
74
|
+
text: '150px',
|
|
75
|
+
sheet: '120px',
|
|
76
|
+
},
|
|
77
|
+
payment_scheme: {
|
|
78
|
+
default: '150px',
|
|
79
|
+
text: '150px',
|
|
80
|
+
sheet: '145px',
|
|
81
|
+
},
|
|
82
|
+
auth_status: {
|
|
83
|
+
default: '150px',
|
|
84
|
+
text: '150px',
|
|
85
|
+
sheet: '165px',
|
|
86
|
+
},
|
|
87
|
+
auth_type: {
|
|
88
|
+
default: '150px',
|
|
89
|
+
text: '150px',
|
|
90
|
+
sheet: '155px',
|
|
91
|
+
},
|
|
92
|
+
eci: {
|
|
93
|
+
default: '150px',
|
|
94
|
+
text: '150px',
|
|
95
|
+
sheet: '90px',
|
|
96
|
+
},
|
|
57
97
|
amount: {
|
|
58
98
|
default: '170px',
|
|
59
99
|
text: '195px',
|
|
@@ -147,7 +187,7 @@ export const chargeTableCellWidth = {
|
|
|
147
187
|
card_number: {
|
|
148
188
|
default: '120px',
|
|
149
189
|
text: '120px',
|
|
150
|
-
sheet: '
|
|
190
|
+
sheet: '145px',
|
|
151
191
|
},
|
|
152
192
|
auth_code: {
|
|
153
193
|
default: '80px',
|
|
@@ -162,7 +202,7 @@ export const chargeTableCellWidth = {
|
|
|
162
202
|
device: {
|
|
163
203
|
default: '70px',
|
|
164
204
|
text: '190px',
|
|
165
|
-
sheet: '
|
|
205
|
+
sheet: '225px',
|
|
166
206
|
},
|
|
167
207
|
card_no: {
|
|
168
208
|
default: '120px',
|
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.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.9-test.1",
|
|
5
|
+
"testVersion": 1,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|
|
@@ -131,4 +131,4 @@
|
|
|
131
131
|
"publishConfig": {
|
|
132
132
|
"registry": "https://registry.npmjs.org/"
|
|
133
133
|
}
|
|
134
|
-
}
|
|
134
|
+
}
|