@tap-payments/os-micro-frontend-shared 0.1.96-test.22 → 0.1.96-test.23
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/AuthenticationTypeChip/AuthenticationTypeChip.js +2 -2
- package/build/components/Chip/style.d.ts +1 -1
- package/build/components/CountBadge/style.d.ts +1 -1
- package/build/components/Dialog/style.d.ts +1 -1
- package/build/components/FlippingCard/style.d.ts +1 -1
- package/build/components/ImageWrapper/ImageWrapper.d.ts +1 -1
- package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +10 -9
- package/build/components/JSONViewer/style.d.ts +2 -2
- package/build/components/LeftPeekRightExpandingChip/style.d.ts +3 -3
- package/build/components/NestedDropdown/Dropdown.js +2 -2
- package/build/components/RightLeftExpandingCenterChip/style.d.ts +13 -13
- package/build/components/SearchButton/styles.d.ts +2 -2
- package/build/components/StatusIcons/AuthIcons/style.d.ts +2 -2
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -1
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -6
- package/build/components/StatusIcons/SourceIcons/style.d.ts +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 +2 -2
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +1 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/IDButton/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +4 -4
- package/build/components/TableCells/CustomCells/MarketPlaceCell/type.d.ts +2 -2
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +4 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/constants.d.ts +2 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/constants.js +2 -0
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +8 -10
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +3 -5
- package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +6 -6
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -6
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/style.d.ts +1 -1
- package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +3 -1
- package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
- package/build/components/VirtualTables/components/style.d.ts +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/Window/Window.js +1 -1
- package/build/components/Window/style.d.ts +2 -2
- package/build/constants/apps.d.ts +3 -0
- package/build/constants/apps.js +1 -0
- package/build/constants/assets.d.ts +3 -0
- package/build/constants/assets.js +3 -0
- package/build/constants/table/cell/authorizationTableCellWidth.d.ts +35 -5
- package/build/constants/table/cell/authorizationTableCellWidth.js +35 -5
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +30 -5
- package/build/constants/table/cell/chargeTableCellWidth.js +30 -5
- package/build/constants/table/cell/destinationsTableCellWidth.d.ts +27 -2
- package/build/constants/table/cell/destinationsTableCellWidth.js +27 -2
- package/build/constants/table/cell/merchantsTableCellWidth.d.ts +5 -5
- package/build/constants/table/cell/merchantsTableCellWidth.js +5 -5
- package/build/constants/table/cell/refundTableCellWidth.d.ts +38 -3
- package/build/constants/table/cell/refundTableCellWidth.js +38 -3
- package/build/types/merchant.d.ts +1 -0
- package/build/types/user.d.ts +1 -1
- package/build/utils/localStorage.d.ts +4 -1
- package/build/utils/localStorage.js +11 -0
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@ export const refundTableCellWidth = {
|
|
|
7
7
|
id: {
|
|
8
8
|
default: '225px',
|
|
9
9
|
text: '225px',
|
|
10
|
-
sheet: '
|
|
10
|
+
sheet: '250px',
|
|
11
11
|
},
|
|
12
12
|
date: {
|
|
13
13
|
default: '170px',
|
|
@@ -27,7 +27,27 @@ export const refundTableCellWidth = {
|
|
|
27
27
|
customer: {
|
|
28
28
|
default: '180px',
|
|
29
29
|
text: '180px',
|
|
30
|
-
sheet: '
|
|
30
|
+
sheet: '600px',
|
|
31
|
+
},
|
|
32
|
+
customer_id: {
|
|
33
|
+
default: '180px',
|
|
34
|
+
text: '180px',
|
|
35
|
+
sheet: '270px',
|
|
36
|
+
},
|
|
37
|
+
customer_name: {
|
|
38
|
+
default: '180px',
|
|
39
|
+
text: '180px',
|
|
40
|
+
sheet: '155px',
|
|
41
|
+
},
|
|
42
|
+
customer_email: {
|
|
43
|
+
default: '180px',
|
|
44
|
+
text: '180px',
|
|
45
|
+
sheet: '200px',
|
|
46
|
+
},
|
|
47
|
+
customer_phone: {
|
|
48
|
+
default: '180px',
|
|
49
|
+
text: '180px',
|
|
50
|
+
sheet: '150px',
|
|
31
51
|
},
|
|
32
52
|
device: {
|
|
33
53
|
default: '100px',
|
|
@@ -57,7 +77,7 @@ export const refundTableCellWidth = {
|
|
|
57
77
|
payment_issuers: {
|
|
58
78
|
default: '150px',
|
|
59
79
|
text: '150px',
|
|
60
|
-
sheet: '
|
|
80
|
+
sheet: '430px',
|
|
61
81
|
},
|
|
62
82
|
payment_method: {
|
|
63
83
|
default: '150px',
|
|
@@ -184,6 +204,11 @@ export const refundTableCellWidth = {
|
|
|
184
204
|
text: '120px',
|
|
185
205
|
sheet: '155px',
|
|
186
206
|
},
|
|
207
|
+
name_on_card: {
|
|
208
|
+
default: '120px',
|
|
209
|
+
text: '120px',
|
|
210
|
+
sheet: '270px',
|
|
211
|
+
},
|
|
187
212
|
meta: {
|
|
188
213
|
default: '52px',
|
|
189
214
|
text: '52px',
|
|
@@ -199,4 +224,14 @@ export const refundTableCellWidth = {
|
|
|
199
224
|
text: '116px',
|
|
200
225
|
sheet: '116px',
|
|
201
226
|
},
|
|
227
|
+
issuer_response: {
|
|
228
|
+
default: '70px',
|
|
229
|
+
text: '70px',
|
|
230
|
+
sheet: '270px',
|
|
231
|
+
},
|
|
232
|
+
acquirer_response: {
|
|
233
|
+
default: '70px',
|
|
234
|
+
text: '70px',
|
|
235
|
+
sheet: '253px',
|
|
236
|
+
},
|
|
202
237
|
};
|
package/build/types/user.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppDetails, Segment, Timezone } from '../types/index.js';
|
|
1
|
+
import { AppDetails, Segment, TableMode, Timezone } from '../types/index.js';
|
|
2
2
|
export declare function setSecretKey(): void;
|
|
3
3
|
export declare function getSecretKey(): string | null;
|
|
4
4
|
export declare function removeSecretKey(): void;
|
|
@@ -26,4 +26,7 @@ export declare const getCalenderTimezone: () => Timezone | null;
|
|
|
26
26
|
export declare const getCalenderTimezoneHistory: () => Timezone | null;
|
|
27
27
|
export declare const removeCalenderTimezone: () => void;
|
|
28
28
|
export declare const removeCalenderTimezoneHistory: () => void;
|
|
29
|
+
export declare const setGlobalTableModeStorage: (mode: TableMode) => void;
|
|
30
|
+
export declare const getGlobalTableModeStorage: () => TableMode;
|
|
31
|
+
export declare const removeGlobalTableModeStorage: () => void;
|
|
29
32
|
export declare const clearTapOsLocalStorage: () => void;
|
|
@@ -10,6 +10,7 @@ const REPORT_PREFIX = 'tap-dashboard-report';
|
|
|
10
10
|
const APP_VERSION = 'tap-dashboard-app-version';
|
|
11
11
|
const CALENDER_TIMEZONE = 'tap-dashboard-calender-timezone';
|
|
12
12
|
const CALENDER_TIMEZONE_HISTORY = 'tap-dashboard-calender-timezone-history';
|
|
13
|
+
const GLOBAL_TABLE_MODE_KEY = 'tap-dashboard-global-table-mode';
|
|
13
14
|
export function setSecretKey() {
|
|
14
15
|
localStorage.setItem(SECRET_KEY_LOCAL_STORAGE, TEST_SECRET_KEY);
|
|
15
16
|
}
|
|
@@ -149,6 +150,15 @@ export const removeCalenderTimezone = () => {
|
|
|
149
150
|
export const removeCalenderTimezoneHistory = () => {
|
|
150
151
|
localStorage.removeItem(CALENDER_TIMEZONE_HISTORY);
|
|
151
152
|
};
|
|
153
|
+
export const setGlobalTableModeStorage = (mode) => {
|
|
154
|
+
localStorage.setItem(GLOBAL_TABLE_MODE_KEY, mode);
|
|
155
|
+
};
|
|
156
|
+
export const getGlobalTableModeStorage = () => {
|
|
157
|
+
return localStorage.getItem(GLOBAL_TABLE_MODE_KEY) || 'default';
|
|
158
|
+
};
|
|
159
|
+
export const removeGlobalTableModeStorage = () => {
|
|
160
|
+
localStorage.removeItem(GLOBAL_TABLE_MODE_KEY);
|
|
161
|
+
};
|
|
152
162
|
export const clearTapOsLocalStorage = () => {
|
|
153
163
|
removeSecretKey();
|
|
154
164
|
removeConnectMetaData();
|
|
@@ -159,4 +169,5 @@ export const clearTapOsLocalStorage = () => {
|
|
|
159
169
|
removeAppVersion();
|
|
160
170
|
removeCalenderTimezone();
|
|
161
171
|
removeCalenderTimezoneHistory();
|
|
172
|
+
removeGlobalTableModeStorage();
|
|
162
173
|
};
|
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.96-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.96-test.23",
|
|
5
|
+
"testVersion": 23,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|