@tap-payments/os-micro-frontend-shared 0.1.96-test.16 → 0.1.96-test.18
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/AmountStatusChip/AmountStatusChip.d.ts +9 -0
- package/build/components/AmountStatusChip/AmountStatusChip.js +19 -0
- package/build/components/AmountStatusChip/index.d.ts +3 -0
- package/build/components/AmountStatusChip/index.js +2 -0
- package/build/components/AmountStatusChip/style.d.ts +3 -0
- package/build/components/AmountStatusChip/style.js +13 -0
- package/build/components/AppServicesBar/style.js +1 -1
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.d.ts +9 -0
- package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +21 -0
- package/build/components/AuthenticationTypeChip/constants.d.ts +16 -0
- package/build/components/AuthenticationTypeChip/constants.js +13 -0
- package/build/components/AuthenticationTypeChip/index.d.ts +3 -0
- package/build/components/AuthenticationTypeChip/index.js +2 -0
- package/build/components/ColorPicker/ColorPicker.d.ts +4 -1
- package/build/components/ColorPicker/ColorPicker.js +10 -43
- package/build/components/ColorPicker/ColorPickerPanel.d.ts +7 -0
- package/build/components/ColorPicker/ColorPickerPanel.js +41 -0
- package/build/components/ColorPicker/ColorSchemeSelect.d.ts +7 -0
- package/build/components/ColorPicker/ColorSchemeSelect.js +35 -0
- package/build/components/ColorPicker/HexaFields.d.ts +7 -0
- package/build/components/ColorPicker/HexaFields.js +79 -0
- package/build/components/ColorPicker/RGBAFields.d.ts +7 -0
- package/build/components/ColorPicker/RGBAFields.js +25 -0
- package/build/components/ColorPicker/style.d.ts +20 -9
- package/build/components/ColorPicker/style.js +49 -2
- package/build/components/ListLayout/ListLayout.js +1 -1
- package/build/components/NestedDropdown/Dropdown.js +2 -2
- package/build/components/RightLeftExpandingCenterChip/style.js +0 -2
- package/build/components/StatusChip/StatusChip.d.ts +1 -1
- package/build/components/StatusChip/StatusChip.js +13 -10
- package/build/components/StatusChip/style.d.ts +4 -0
- package/build/components/StatusChip/style.js +13 -5
- package/build/components/StatusChip/type.d.ts +4 -0
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.d.ts +2 -1
- package/build/components/StatusChipWithCopy/StatusChipWithCopy.js +2 -2
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/constant.d.ts +1 -0
- package/build/components/TableCells/CustomCells/ActionCell/constant.js +2 -1
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +4 -4
- package/build/components/TableCells/CustomCells/BalanceCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/ProductsCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +1 -1
- package/build/components/TableCells/CustomCells/style.js +1 -1
- package/build/components/TableCells/SheetViewCells/CustomerSheetCell/CustomerSheetCell.d.ts +14 -0
- package/build/components/TableCells/SheetViewCells/CustomerSheetCell/CustomerSheetCell.js +21 -0
- package/build/components/TableCells/SheetViewCells/CustomerSheetCell/index.d.ts +1 -0
- package/build/components/TableCells/SheetViewCells/CustomerSheetCell/index.js +1 -0
- package/build/components/TableCells/SheetViewCells/PaymentAgreementCell/PaymentAgreementCell.d.ts +13 -0
- package/build/components/TableCells/SheetViewCells/PaymentAgreementCell/PaymentAgreementCell.js +26 -0
- package/build/components/TableCells/SheetViewCells/PaymentAgreementCell/index.d.ts +1 -0
- package/build/components/TableCells/SheetViewCells/PaymentAgreementCell/index.js +1 -0
- package/build/components/TableCells/SheetViewCells/index.d.ts +2 -0
- package/build/components/TableCells/SheetViewCells/index.js +2 -0
- package/build/components/TableCells/index.d.ts +1 -0
- package/build/components/TableCells/index.js +1 -0
- package/build/components/ToggleView/style.js +3 -3
- package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +2 -0
- package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +5 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +5 -1
- package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableLoading.js +38 -4
- package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
- package/build/components/VirtualTables/components/TableRow.js +2 -1
- package/build/components/VirtualTables/components/style.js +1 -1
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.d.ts +1 -0
- package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +3 -3
- package/build/components/index.d.ts +6 -4
- package/build/components/index.js +6 -4
- package/build/constants/apps.d.ts +38 -0
- package/build/constants/apps.js +16 -2
- package/build/constants/assets.d.ts +3 -0
- package/build/constants/assets.js +3 -0
- package/build/constants/chips/index.d.ts +1 -0
- package/build/constants/chips/index.js +1 -0
- package/build/{components/StatusChip/constants.d.ts → constants/chips/statusChips.d.ts} +1 -1
- package/build/{components/StatusChip/constants.js → constants/chips/statusChips.js} +1 -1
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/constants/table/cell/authenticationsTableCellWidth.d.ts +1 -1
- package/build/constants/table/cell/authenticationsTableCellWidth.js +1 -1
- package/build/constants/table/cell/authorizationTableCellWidth.d.ts +11 -6
- package/build/constants/table/cell/authorizationTableCellWidth.js +11 -6
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +6 -6
- package/build/constants/table/cell/chargeTableCellWidth.js +6 -6
- package/build/constants/table/cell/destinationsTableCellWidth.d.ts +5 -5
- package/build/constants/table/cell/destinationsTableCellWidth.js +5 -5
- package/build/constants/table/cell/merchantsTableCellWidth.d.ts +1 -1
- package/build/constants/table/cell/merchantsTableCellWidth.js +1 -1
- package/build/constants/table/cell/refundTableCellWidth.d.ts +5 -5
- package/build/constants/table/cell/refundTableCellWidth.js +5 -5
- package/build/utils/color.d.ts +11 -0
- package/build/utils/color.js +27 -0
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +4 -3
- package/build/utils/style.js +0 -4
- package/build/utils/table.d.ts +3 -1
- package/build/utils/table.js +7 -1
- package/package.json +2 -2
|
@@ -97,10 +97,6 @@ export { default as AppServices } from './AppServices';
|
|
|
97
97
|
export { default as ScrollLoader } from './ScrollLoader';
|
|
98
98
|
export * from './ScrollLoader';
|
|
99
99
|
export * from './TooltipChip';
|
|
100
|
-
export { default as ListLayout } from './ListLayout';
|
|
101
|
-
export * from './ListLayout';
|
|
102
|
-
export { default as ToggleView } from './ToggleView';
|
|
103
|
-
export * from './ToggleView';
|
|
104
100
|
export * from './RightLeftExpandingCenterChip';
|
|
105
101
|
export { default as StatusChipWithCopy } from './StatusChipWithCopy';
|
|
106
102
|
export * from './RadioButton';
|
|
@@ -109,6 +105,12 @@ export * from './LeftPeekRightExpandingChip';
|
|
|
109
105
|
export { default as ColorPicker } from './ColorPicker';
|
|
110
106
|
export { default as WindowBackdrop } from './WindowBackdrop';
|
|
111
107
|
export { default as LazyImage } from './LazyImage';
|
|
108
|
+
export { default as AmountStatusChip } from './AmountStatusChip';
|
|
109
|
+
export { default as AuthenticationTypeChip } from './AuthenticationTypeChip';
|
|
112
110
|
export * from './LazyImage';
|
|
111
|
+
export { default as ListLayout } from './ListLayout';
|
|
112
|
+
export * from './ListLayout';
|
|
113
|
+
export { default as ToggleView } from './ToggleView';
|
|
114
|
+
export * from './ToggleView';
|
|
113
115
|
export { default as AppServicesBar } from './AppServicesBar';
|
|
114
116
|
export * from './AppServicesBar';
|
|
@@ -12,6 +12,20 @@ export declare const SERVICE_COMMON_FUNCTIONS: {
|
|
|
12
12
|
code: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
+
export declare const BUSINESS_FUNCTIONS: {
|
|
16
|
+
updateEntity: {
|
|
17
|
+
code: string;
|
|
18
|
+
};
|
|
19
|
+
updateBrand: {
|
|
20
|
+
code: string;
|
|
21
|
+
};
|
|
22
|
+
updateUsers: {
|
|
23
|
+
code: string;
|
|
24
|
+
};
|
|
25
|
+
createUsers: {
|
|
26
|
+
code: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
15
29
|
export declare const APP_CODES: {
|
|
16
30
|
tokens: {
|
|
17
31
|
code: string;
|
|
@@ -84,6 +98,18 @@ export declare const APP_CODES: {
|
|
|
84
98
|
merchant: {
|
|
85
99
|
code: string;
|
|
86
100
|
functions: {
|
|
101
|
+
updateEntity: {
|
|
102
|
+
code: string;
|
|
103
|
+
};
|
|
104
|
+
updateBrand: {
|
|
105
|
+
code: string;
|
|
106
|
+
};
|
|
107
|
+
updateUsers: {
|
|
108
|
+
code: string;
|
|
109
|
+
};
|
|
110
|
+
createUsers: {
|
|
111
|
+
code: string;
|
|
112
|
+
};
|
|
87
113
|
view: {
|
|
88
114
|
code: string;
|
|
89
115
|
};
|
|
@@ -101,6 +127,18 @@ export declare const APP_CODES: {
|
|
|
101
127
|
retailer: {
|
|
102
128
|
code: string;
|
|
103
129
|
functions: {
|
|
130
|
+
updateEntity: {
|
|
131
|
+
code: string;
|
|
132
|
+
};
|
|
133
|
+
updateBrand: {
|
|
134
|
+
code: string;
|
|
135
|
+
};
|
|
136
|
+
updateUsers: {
|
|
137
|
+
code: string;
|
|
138
|
+
};
|
|
139
|
+
createUsers: {
|
|
140
|
+
code: string;
|
|
141
|
+
};
|
|
104
142
|
view: {
|
|
105
143
|
code: string;
|
|
106
144
|
};
|
package/build/constants/apps.js
CHANGED
|
@@ -14,6 +14,20 @@ export const SERVICE_COMMON_FUNCTIONS = {
|
|
|
14
14
|
code: 'REPORTS',
|
|
15
15
|
},
|
|
16
16
|
};
|
|
17
|
+
export const BUSINESS_FUNCTIONS = {
|
|
18
|
+
updateEntity: {
|
|
19
|
+
code: 'UPDATE ENTITY',
|
|
20
|
+
},
|
|
21
|
+
updateBrand: {
|
|
22
|
+
code: 'UPDATE BRAND',
|
|
23
|
+
},
|
|
24
|
+
updateUsers: {
|
|
25
|
+
code: 'UPDATE USERS',
|
|
26
|
+
},
|
|
27
|
+
createUsers: {
|
|
28
|
+
code: 'CREATE USERS',
|
|
29
|
+
},
|
|
30
|
+
};
|
|
17
31
|
export const APP_CODES = {
|
|
18
32
|
tokens: {
|
|
19
33
|
code: 'TOKEN',
|
|
@@ -40,11 +54,11 @@ export const APP_CODES = {
|
|
|
40
54
|
services: {
|
|
41
55
|
merchant: {
|
|
42
56
|
code: 'MERCHANT',
|
|
43
|
-
functions: Object.assign({}, SERVICE_COMMON_FUNCTIONS),
|
|
57
|
+
functions: Object.assign(Object.assign({}, SERVICE_COMMON_FUNCTIONS), BUSINESS_FUNCTIONS),
|
|
44
58
|
},
|
|
45
59
|
retailer: {
|
|
46
60
|
code: 'RETAILER',
|
|
47
|
-
functions: Object.assign({}, SERVICE_COMMON_FUNCTIONS),
|
|
61
|
+
functions: Object.assign(Object.assign({}, SERVICE_COMMON_FUNCTIONS), BUSINESS_FUNCTIONS),
|
|
48
62
|
},
|
|
49
63
|
},
|
|
50
64
|
},
|
|
@@ -544,3 +544,6 @@ export declare const deemaWithLabel: string;
|
|
|
544
544
|
export declare const blackUnLinkIcon: string;
|
|
545
545
|
export declare const sortDescArrowIcon: string;
|
|
546
546
|
export declare const sortAscArrowIcon: string;
|
|
547
|
+
export declare const closedOutlinedYellowCircle: string;
|
|
548
|
+
export declare const deactivatedOrangeCircle: string;
|
|
549
|
+
export declare const exclamationOutlinedOrangeCircle: string;
|
|
@@ -548,3 +548,6 @@ export const deemaWithLabel = `${lightUrl}/deemaWithLabel.svg`;
|
|
|
548
548
|
export const blackUnLinkIcon = `${lightUrl}/blackUnLinkIcon.svg`;
|
|
549
549
|
export const sortDescArrowIcon = `${lightUrl}/sortDescArrowIcon.svg`;
|
|
550
550
|
export const sortAscArrowIcon = `${lightUrl}/sortAscArrowIcon.svg`;
|
|
551
|
+
export const closedOutlinedYellowCircle = `${lightUrl}/closedOutlinedYellowCircle.svg`;
|
|
552
|
+
export const deactivatedOrangeCircle = `${lightUrl}/deactivatedOrangeCircle.svg`;
|
|
553
|
+
export const exclamationOutlinedOrangeCircle = `${lightUrl}/exclamationOutlinedOrangeCircle.svg`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './statusChips';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './statusChips';
|
package/build/constants/index.js
CHANGED
|
@@ -37,7 +37,7 @@ export declare const authorizationTableCellWidth: {
|
|
|
37
37
|
readonly customer: {
|
|
38
38
|
readonly default: "170px";
|
|
39
39
|
readonly text: "180px";
|
|
40
|
-
readonly sheet: "
|
|
40
|
+
readonly sheet: "600px";
|
|
41
41
|
};
|
|
42
42
|
readonly reference: {
|
|
43
43
|
readonly default: "95px";
|
|
@@ -57,12 +57,12 @@ export declare const authorizationTableCellWidth: {
|
|
|
57
57
|
readonly payment_agreement: {
|
|
58
58
|
readonly default: "50px";
|
|
59
59
|
readonly text: "150px";
|
|
60
|
-
readonly sheet: "
|
|
60
|
+
readonly sheet: "230px";
|
|
61
61
|
};
|
|
62
62
|
readonly amount: {
|
|
63
63
|
readonly default: "170px";
|
|
64
64
|
readonly text: "195px";
|
|
65
|
-
readonly sheet: "
|
|
65
|
+
readonly sheet: "150px";
|
|
66
66
|
};
|
|
67
67
|
readonly destinations: {
|
|
68
68
|
readonly default: "70px";
|
|
@@ -82,7 +82,7 @@ export declare const authorizationTableCellWidth: {
|
|
|
82
82
|
readonly merchant: {
|
|
83
83
|
readonly default: "110px";
|
|
84
84
|
readonly text: "150px";
|
|
85
|
-
readonly sheet: "
|
|
85
|
+
readonly sheet: "138px";
|
|
86
86
|
};
|
|
87
87
|
readonly charge: {
|
|
88
88
|
readonly default: "150px";
|
|
@@ -172,7 +172,12 @@ export declare const authorizationTableCellWidth: {
|
|
|
172
172
|
readonly payment_issuers: {
|
|
173
173
|
readonly default: "150px";
|
|
174
174
|
readonly text: "150px";
|
|
175
|
-
readonly sheet: "
|
|
175
|
+
readonly sheet: "404px";
|
|
176
|
+
};
|
|
177
|
+
readonly issuer_response: {
|
|
178
|
+
readonly default: "70px";
|
|
179
|
+
readonly text: "70px";
|
|
180
|
+
readonly sheet: "270px";
|
|
176
181
|
};
|
|
177
182
|
readonly card_number: {
|
|
178
183
|
readonly default: "120px";
|
|
@@ -207,7 +212,7 @@ export declare const authorizationTableCellWidth: {
|
|
|
207
212
|
readonly eci: {
|
|
208
213
|
readonly default: "150px";
|
|
209
214
|
readonly text: "150px";
|
|
210
|
-
readonly sheet: "
|
|
215
|
+
readonly sheet: "72px";
|
|
211
216
|
};
|
|
212
217
|
readonly acquirer_response: {
|
|
213
218
|
readonly default: "70px";
|
|
@@ -37,7 +37,7 @@ export const authorizationTableCellWidth = {
|
|
|
37
37
|
customer: {
|
|
38
38
|
default: '170px',
|
|
39
39
|
text: '180px',
|
|
40
|
-
sheet: '
|
|
40
|
+
sheet: '600px',
|
|
41
41
|
},
|
|
42
42
|
reference: {
|
|
43
43
|
default: '95px',
|
|
@@ -57,12 +57,12 @@ export const authorizationTableCellWidth = {
|
|
|
57
57
|
payment_agreement: {
|
|
58
58
|
default: '50px',
|
|
59
59
|
text: '150px',
|
|
60
|
-
sheet: '
|
|
60
|
+
sheet: '230px',
|
|
61
61
|
},
|
|
62
62
|
amount: {
|
|
63
63
|
default: '170px',
|
|
64
64
|
text: '195px',
|
|
65
|
-
sheet: '
|
|
65
|
+
sheet: '150px',
|
|
66
66
|
},
|
|
67
67
|
destinations: {
|
|
68
68
|
default: '70px',
|
|
@@ -82,7 +82,7 @@ export const authorizationTableCellWidth = {
|
|
|
82
82
|
merchant: {
|
|
83
83
|
default: '110px',
|
|
84
84
|
text: '150px',
|
|
85
|
-
sheet: '
|
|
85
|
+
sheet: '138px',
|
|
86
86
|
},
|
|
87
87
|
charge: {
|
|
88
88
|
default: '150px',
|
|
@@ -172,7 +172,12 @@ export const authorizationTableCellWidth = {
|
|
|
172
172
|
payment_issuers: {
|
|
173
173
|
default: '150px',
|
|
174
174
|
text: '150px',
|
|
175
|
-
sheet: '
|
|
175
|
+
sheet: '404px',
|
|
176
|
+
},
|
|
177
|
+
issuer_response: {
|
|
178
|
+
default: '70px',
|
|
179
|
+
text: '70px',
|
|
180
|
+
sheet: '270px',
|
|
176
181
|
},
|
|
177
182
|
card_number: {
|
|
178
183
|
default: '120px',
|
|
@@ -207,7 +212,7 @@ export const authorizationTableCellWidth = {
|
|
|
207
212
|
eci: {
|
|
208
213
|
default: '150px',
|
|
209
214
|
text: '150px',
|
|
210
|
-
sheet: '
|
|
215
|
+
sheet: '72px',
|
|
211
216
|
},
|
|
212
217
|
acquirer_response: {
|
|
213
218
|
default: '70px',
|
|
@@ -37,7 +37,7 @@ export declare const chargeTableCellWidth: {
|
|
|
37
37
|
readonly customer: {
|
|
38
38
|
readonly default: "180px";
|
|
39
39
|
readonly text: "180px";
|
|
40
|
-
readonly sheet: "
|
|
40
|
+
readonly sheet: "600px";
|
|
41
41
|
};
|
|
42
42
|
readonly source: {
|
|
43
43
|
readonly default: "114px";
|
|
@@ -62,7 +62,7 @@ export declare const chargeTableCellWidth: {
|
|
|
62
62
|
readonly payment_issuers: {
|
|
63
63
|
readonly default: "150px";
|
|
64
64
|
readonly text: "150px";
|
|
65
|
-
readonly sheet: "
|
|
65
|
+
readonly sheet: "404px";
|
|
66
66
|
};
|
|
67
67
|
readonly payment_method: {
|
|
68
68
|
readonly default: "150px";
|
|
@@ -92,7 +92,7 @@ export declare const chargeTableCellWidth: {
|
|
|
92
92
|
readonly eci: {
|
|
93
93
|
readonly default: "150px";
|
|
94
94
|
readonly text: "150px";
|
|
95
|
-
readonly sheet: "
|
|
95
|
+
readonly sheet: "72px";
|
|
96
96
|
};
|
|
97
97
|
readonly amount: {
|
|
98
98
|
readonly default: "170px";
|
|
@@ -117,7 +117,7 @@ export declare const chargeTableCellWidth: {
|
|
|
117
117
|
readonly issuer_response: {
|
|
118
118
|
readonly default: "70px";
|
|
119
119
|
readonly text: "70px";
|
|
120
|
-
readonly sheet: "
|
|
120
|
+
readonly sheet: "270px";
|
|
121
121
|
};
|
|
122
122
|
readonly acquirer_response: {
|
|
123
123
|
readonly default: "70px";
|
|
@@ -132,7 +132,7 @@ export declare const chargeTableCellWidth: {
|
|
|
132
132
|
readonly merchant: {
|
|
133
133
|
readonly default: "100px";
|
|
134
134
|
readonly text: "150px";
|
|
135
|
-
readonly sheet: "
|
|
135
|
+
readonly sheet: "138px";
|
|
136
136
|
};
|
|
137
137
|
readonly charge: {
|
|
138
138
|
readonly default: "150px";
|
|
@@ -222,7 +222,7 @@ export declare const chargeTableCellWidth: {
|
|
|
222
222
|
readonly consolidated_amount: {
|
|
223
223
|
readonly default: "180px";
|
|
224
224
|
readonly text: "180px";
|
|
225
|
-
readonly sheet: "
|
|
225
|
+
readonly sheet: "150px";
|
|
226
226
|
};
|
|
227
227
|
readonly customer_amount: {
|
|
228
228
|
readonly default: "150px";
|
|
@@ -37,7 +37,7 @@ export const chargeTableCellWidth = {
|
|
|
37
37
|
customer: {
|
|
38
38
|
default: '180px',
|
|
39
39
|
text: '180px',
|
|
40
|
-
sheet: '
|
|
40
|
+
sheet: '600px',
|
|
41
41
|
},
|
|
42
42
|
source: {
|
|
43
43
|
default: '114px',
|
|
@@ -62,7 +62,7 @@ export const chargeTableCellWidth = {
|
|
|
62
62
|
payment_issuers: {
|
|
63
63
|
default: '150px',
|
|
64
64
|
text: '150px',
|
|
65
|
-
sheet: '
|
|
65
|
+
sheet: '404px',
|
|
66
66
|
},
|
|
67
67
|
payment_method: {
|
|
68
68
|
default: '150px',
|
|
@@ -92,7 +92,7 @@ export const chargeTableCellWidth = {
|
|
|
92
92
|
eci: {
|
|
93
93
|
default: '150px',
|
|
94
94
|
text: '150px',
|
|
95
|
-
sheet: '
|
|
95
|
+
sheet: '72px',
|
|
96
96
|
},
|
|
97
97
|
amount: {
|
|
98
98
|
default: '170px',
|
|
@@ -117,7 +117,7 @@ export const chargeTableCellWidth = {
|
|
|
117
117
|
issuer_response: {
|
|
118
118
|
default: '70px',
|
|
119
119
|
text: '70px',
|
|
120
|
-
sheet: '
|
|
120
|
+
sheet: '270px',
|
|
121
121
|
},
|
|
122
122
|
acquirer_response: {
|
|
123
123
|
default: '70px',
|
|
@@ -132,7 +132,7 @@ export const chargeTableCellWidth = {
|
|
|
132
132
|
merchant: {
|
|
133
133
|
default: '100px',
|
|
134
134
|
text: '150px',
|
|
135
|
-
sheet: '
|
|
135
|
+
sheet: '138px',
|
|
136
136
|
},
|
|
137
137
|
charge: {
|
|
138
138
|
default: '150px',
|
|
@@ -222,7 +222,7 @@ export const chargeTableCellWidth = {
|
|
|
222
222
|
consolidated_amount: {
|
|
223
223
|
default: '180px',
|
|
224
224
|
text: '180px',
|
|
225
|
-
sheet: '
|
|
225
|
+
sheet: '150px',
|
|
226
226
|
},
|
|
227
227
|
customer_amount: {
|
|
228
228
|
default: '150px',
|
|
@@ -32,7 +32,7 @@ export declare const destinationsTableCellWidth: {
|
|
|
32
32
|
readonly customer: {
|
|
33
33
|
readonly default: "180px";
|
|
34
34
|
readonly text: "180px";
|
|
35
|
-
readonly sheet: "
|
|
35
|
+
readonly sheet: "600px";
|
|
36
36
|
};
|
|
37
37
|
readonly chargeId: {
|
|
38
38
|
readonly default: "225px";
|
|
@@ -67,7 +67,7 @@ export declare const destinationsTableCellWidth: {
|
|
|
67
67
|
readonly amount: {
|
|
68
68
|
readonly default: "195px";
|
|
69
69
|
readonly text: "195px";
|
|
70
|
-
readonly sheet: "
|
|
70
|
+
readonly sheet: "150px";
|
|
71
71
|
};
|
|
72
72
|
readonly status: {
|
|
73
73
|
readonly default: "50px";
|
|
@@ -82,7 +82,7 @@ export declare const destinationsTableCellWidth: {
|
|
|
82
82
|
readonly merchant: {
|
|
83
83
|
readonly default: "100px";
|
|
84
84
|
readonly text: "150px";
|
|
85
|
-
readonly sheet: "
|
|
85
|
+
readonly sheet: "138px";
|
|
86
86
|
};
|
|
87
87
|
readonly actions: {
|
|
88
88
|
readonly default: "100px";
|
|
@@ -117,7 +117,7 @@ export declare const destinationsTableCellWidth: {
|
|
|
117
117
|
readonly payment_issuers: {
|
|
118
118
|
readonly default: "150px";
|
|
119
119
|
readonly text: "150px";
|
|
120
|
-
readonly sheet: "
|
|
120
|
+
readonly sheet: "404px";
|
|
121
121
|
};
|
|
122
122
|
readonly card_number: {
|
|
123
123
|
readonly default: "120px";
|
|
@@ -157,7 +157,7 @@ export declare const destinationsTableCellWidth: {
|
|
|
157
157
|
readonly eci: {
|
|
158
158
|
readonly default: "150px";
|
|
159
159
|
readonly text: "150px";
|
|
160
|
-
readonly sheet: "
|
|
160
|
+
readonly sheet: "72px";
|
|
161
161
|
};
|
|
162
162
|
readonly payout_status: {
|
|
163
163
|
readonly default: "120px";
|
|
@@ -32,7 +32,7 @@ export const destinationsTableCellWidth = {
|
|
|
32
32
|
customer: {
|
|
33
33
|
default: '180px',
|
|
34
34
|
text: '180px',
|
|
35
|
-
sheet: '
|
|
35
|
+
sheet: '600px',
|
|
36
36
|
},
|
|
37
37
|
chargeId: {
|
|
38
38
|
default: '225px',
|
|
@@ -67,7 +67,7 @@ export const destinationsTableCellWidth = {
|
|
|
67
67
|
amount: {
|
|
68
68
|
default: '195px',
|
|
69
69
|
text: '195px',
|
|
70
|
-
sheet: '
|
|
70
|
+
sheet: '150px',
|
|
71
71
|
},
|
|
72
72
|
status: {
|
|
73
73
|
default: '50px',
|
|
@@ -82,7 +82,7 @@ export const destinationsTableCellWidth = {
|
|
|
82
82
|
merchant: {
|
|
83
83
|
default: '100px',
|
|
84
84
|
text: '150px',
|
|
85
|
-
sheet: '
|
|
85
|
+
sheet: '138px',
|
|
86
86
|
},
|
|
87
87
|
actions: {
|
|
88
88
|
default: '100px',
|
|
@@ -117,7 +117,7 @@ export const destinationsTableCellWidth = {
|
|
|
117
117
|
payment_issuers: {
|
|
118
118
|
default: '150px',
|
|
119
119
|
text: '150px',
|
|
120
|
-
sheet: '
|
|
120
|
+
sheet: '404px',
|
|
121
121
|
},
|
|
122
122
|
card_number: {
|
|
123
123
|
default: '120px',
|
|
@@ -157,7 +157,7 @@ export const destinationsTableCellWidth = {
|
|
|
157
157
|
eci: {
|
|
158
158
|
default: '150px',
|
|
159
159
|
text: '150px',
|
|
160
|
-
sheet: '
|
|
160
|
+
sheet: '72px',
|
|
161
161
|
},
|
|
162
162
|
payout_status: {
|
|
163
163
|
default: '120px',
|
|
@@ -27,7 +27,7 @@ export declare const refundTableCellWidth: {
|
|
|
27
27
|
readonly customer: {
|
|
28
28
|
readonly default: "180px";
|
|
29
29
|
readonly text: "180px";
|
|
30
|
-
readonly sheet: "
|
|
30
|
+
readonly sheet: "600px";
|
|
31
31
|
};
|
|
32
32
|
readonly device: {
|
|
33
33
|
readonly default: "100px";
|
|
@@ -57,7 +57,7 @@ export declare const refundTableCellWidth: {
|
|
|
57
57
|
readonly payment_issuers: {
|
|
58
58
|
readonly default: "150px";
|
|
59
59
|
readonly text: "150px";
|
|
60
|
-
readonly sheet: "
|
|
60
|
+
readonly sheet: "404px";
|
|
61
61
|
};
|
|
62
62
|
readonly payment_method: {
|
|
63
63
|
readonly default: "150px";
|
|
@@ -87,12 +87,12 @@ export declare const refundTableCellWidth: {
|
|
|
87
87
|
readonly eci: {
|
|
88
88
|
readonly default: "150px";
|
|
89
89
|
readonly text: "150px";
|
|
90
|
-
readonly sheet: "
|
|
90
|
+
readonly sheet: "72px";
|
|
91
91
|
};
|
|
92
92
|
readonly amount: {
|
|
93
93
|
readonly default: "195px";
|
|
94
94
|
readonly text: "195px";
|
|
95
|
-
readonly sheet: "
|
|
95
|
+
readonly sheet: "150px";
|
|
96
96
|
};
|
|
97
97
|
readonly payouts: {
|
|
98
98
|
readonly default: "195px";
|
|
@@ -122,7 +122,7 @@ export declare const refundTableCellWidth: {
|
|
|
122
122
|
readonly merchant: {
|
|
123
123
|
readonly default: "100px";
|
|
124
124
|
readonly text: "150px";
|
|
125
|
-
readonly sheet: "
|
|
125
|
+
readonly sheet: "138px";
|
|
126
126
|
};
|
|
127
127
|
readonly reference: {
|
|
128
128
|
readonly default: "95px";
|
|
@@ -27,7 +27,7 @@ export const refundTableCellWidth = {
|
|
|
27
27
|
customer: {
|
|
28
28
|
default: '180px',
|
|
29
29
|
text: '180px',
|
|
30
|
-
sheet: '
|
|
30
|
+
sheet: '600px',
|
|
31
31
|
},
|
|
32
32
|
device: {
|
|
33
33
|
default: '100px',
|
|
@@ -57,7 +57,7 @@ export const refundTableCellWidth = {
|
|
|
57
57
|
payment_issuers: {
|
|
58
58
|
default: '150px',
|
|
59
59
|
text: '150px',
|
|
60
|
-
sheet: '
|
|
60
|
+
sheet: '404px',
|
|
61
61
|
},
|
|
62
62
|
payment_method: {
|
|
63
63
|
default: '150px',
|
|
@@ -87,12 +87,12 @@ export const refundTableCellWidth = {
|
|
|
87
87
|
eci: {
|
|
88
88
|
default: '150px',
|
|
89
89
|
text: '150px',
|
|
90
|
-
sheet: '
|
|
90
|
+
sheet: '72px',
|
|
91
91
|
},
|
|
92
92
|
amount: {
|
|
93
93
|
default: '195px',
|
|
94
94
|
text: '195px',
|
|
95
|
-
sheet: '
|
|
95
|
+
sheet: '150px',
|
|
96
96
|
},
|
|
97
97
|
payouts: {
|
|
98
98
|
default: '195px',
|
|
@@ -122,7 +122,7 @@ export const refundTableCellWidth = {
|
|
|
122
122
|
merchant: {
|
|
123
123
|
default: '100px',
|
|
124
124
|
text: '150px',
|
|
125
|
-
sheet: '
|
|
125
|
+
sheet: '138px',
|
|
126
126
|
},
|
|
127
127
|
reference: {
|
|
128
128
|
default: '95px',
|
package/build/utils/color.d.ts
CHANGED
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
import { ColorObject } from 'color';
|
|
1
2
|
export declare function getRandomColor(): string;
|
|
2
3
|
export declare function getRandomGradientColor(): string;
|
|
4
|
+
export declare const hexa2Rgba: (value: string) => {
|
|
5
|
+
value: {
|
|
6
|
+
r: number;
|
|
7
|
+
g: number;
|
|
8
|
+
b: number;
|
|
9
|
+
alpha: number;
|
|
10
|
+
};
|
|
11
|
+
stringified: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const rgba2Hexa: (value: ColorObject) => string;
|
package/build/utils/color.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import Color from 'color';
|
|
1
2
|
export function getRandomColor() {
|
|
2
3
|
const colors = [
|
|
3
4
|
'#D6D6D6',
|
|
@@ -36,3 +37,29 @@ export function getRandomGradientColor() {
|
|
|
36
37
|
];
|
|
37
38
|
return colors[Math.trunc(Math.random() * colors.length)];
|
|
38
39
|
}
|
|
40
|
+
const BLACK_RGBA_COLOR = {
|
|
41
|
+
r: 0,
|
|
42
|
+
g: 0,
|
|
43
|
+
b: 0,
|
|
44
|
+
alpha: 1,
|
|
45
|
+
};
|
|
46
|
+
export const hexa2Rgba = (value) => {
|
|
47
|
+
try {
|
|
48
|
+
const colorInstance = Color(value).rgb();
|
|
49
|
+
const { r, g, b, alpha = 1 } = colorInstance.object();
|
|
50
|
+
return {
|
|
51
|
+
value: { r, g, b, alpha },
|
|
52
|
+
stringified: `rgba(${r},${g},${b},${alpha})`,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
catch (error) {
|
|
56
|
+
console.error(error);
|
|
57
|
+
console.warn(`Invalid hex color: "${value}". Falling back to black.`);
|
|
58
|
+
const { r, g, b, alpha } = BLACK_RGBA_COLOR;
|
|
59
|
+
return {
|
|
60
|
+
value: BLACK_RGBA_COLOR,
|
|
61
|
+
stringified: `rgba(${r},${g},${b},${alpha})`,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
export const rgba2Hexa = (value) => Color(value).hexa();
|
package/build/utils/object.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare function removeUndefinedValues(obj: Record<string, unknown>): {
|
|
2
2
|
[k: string]: unknown;
|
|
3
3
|
};
|
|
4
|
+
export declare const isEmptyValue: (value: unknown) => boolean;
|
|
4
5
|
export declare function removeUndefinedArrayValues(obj: Record<string, unknown>): {
|
|
5
6
|
[k: string]: unknown;
|
|
6
7
|
};
|
package/build/utils/object.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
export function removeUndefinedValues(obj) {
|
|
2
2
|
return Object.fromEntries(Object.entries(obj).filter(([, value]) => value !== undefined));
|
|
3
3
|
}
|
|
4
|
+
export const isEmptyValue = (value) => value === undefined || value === null || value === '';
|
|
4
5
|
export function removeUndefinedArrayValues(obj) {
|
|
5
6
|
return Object.fromEntries(Object.entries(obj).filter(([, value]) => {
|
|
6
7
|
if (Array.isArray(value)) {
|
|
7
|
-
return value.length > 0 && (value === null || value === void 0 ? void 0 : value.some((v) =>
|
|
8
|
+
return value.length > 0 && (value === null || value === void 0 ? void 0 : value.some((v) => !isEmptyValue(v)));
|
|
8
9
|
}
|
|
9
10
|
if (typeof value === 'object') {
|
|
10
|
-
return Object.values(value || {}).some((v) =>
|
|
11
|
+
return Object.values(value || {}).some((v) => !isEmptyValue(v));
|
|
11
12
|
}
|
|
12
|
-
return
|
|
13
|
+
return !isEmptyValue(value);
|
|
13
14
|
}));
|
|
14
15
|
}
|