@tap-payments/os-micro-frontend-shared 0.1.96-test.21 → 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.
Files changed (82) hide show
  1. package/build/components/AuthenticationTypeChip/AuthenticationTypeChip.js +2 -2
  2. package/build/components/Chip/style.d.ts +1 -1
  3. package/build/components/CountBadge/style.d.ts +1 -1
  4. package/build/components/Dialog/style.d.ts +1 -1
  5. package/build/components/FlippingCard/style.d.ts +1 -1
  6. package/build/components/ImageWrapper/ImageWrapper.d.ts +1 -1
  7. package/build/components/InputBase/PhoneInputBase/CountriesList/CountriesList.js +10 -9
  8. package/build/components/JSONViewer/style.d.ts +2 -2
  9. package/build/components/LeftPeekRightExpandingChip/style.d.ts +3 -3
  10. package/build/components/NestedDropdown/Dropdown.js +2 -2
  11. package/build/components/RightLeftExpandingCenterChip/style.d.ts +13 -13
  12. package/build/components/SearchButton/styles.d.ts +2 -2
  13. package/build/components/StatusIcons/AuthIcons/style.d.ts +2 -2
  14. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -1
  15. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -6
  16. package/build/components/StatusIcons/SourceIcons/style.d.ts +1 -1
  17. package/build/components/TableCells/CustomCells/ActionCell/constant.d.ts +1 -0
  18. package/build/components/TableCells/CustomCells/ActionCell/constant.js +2 -1
  19. package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +1 -1
  20. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +2 -2
  21. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +1 -1
  22. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -2
  23. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +5 -5
  24. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +5 -5
  25. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -1
  26. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +1 -1
  27. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -1
  28. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +1 -1
  29. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +5 -5
  30. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +1 -1
  31. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +2 -2
  32. package/build/components/TableCells/CustomCells/IndividualsCell/IndividualsCell.js +1 -1
  33. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +1 -1
  34. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -1
  35. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.d.ts +1 -1
  36. package/build/components/TableCells/CustomCells/MarketPlaceCell/MarketPlaceCell.js +4 -4
  37. package/build/components/TableCells/CustomCells/MarketPlaceCell/type.d.ts +2 -2
  38. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -5
  39. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -1
  40. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -1
  41. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -2
  42. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +1 -1
  43. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +4 -1
  44. package/build/components/TableCells/CustomCells/SalesChannelCell/constants.d.ts +2 -0
  45. package/build/components/TableCells/CustomCells/SalesChannelCell/constants.js +2 -0
  46. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +1 -1
  47. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +1 -1
  48. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +8 -10
  49. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -1
  50. package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +3 -5
  51. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +1 -1
  52. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +6 -6
  53. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -6
  54. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +5 -5
  55. package/build/components/TableCells/CustomCells/style.d.ts +1 -1
  56. package/build/components/VirtualTables/components/ColumnFilter/Inputs/Inputs.js +3 -1
  57. package/build/components/VirtualTables/components/ColumnFilter/List/List.js +1 -1
  58. package/build/components/VirtualTables/components/style.d.ts +1 -1
  59. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.d.ts +1 -0
  60. package/build/components/VirtualTables/components/virtualScroll/ListItemWrapper.js +3 -3
  61. package/build/components/Window/Window.js +5 -3
  62. package/build/components/Window/style.d.ts +2 -3
  63. package/build/components/Window/style.js +1 -1
  64. package/build/constants/apps.d.ts +3 -0
  65. package/build/constants/apps.js +1 -0
  66. package/build/constants/assets.d.ts +3 -0
  67. package/build/constants/assets.js +3 -0
  68. package/build/constants/table/cell/authorizationTableCellWidth.d.ts +35 -5
  69. package/build/constants/table/cell/authorizationTableCellWidth.js +35 -5
  70. package/build/constants/table/cell/chargeTableCellWidth.d.ts +30 -5
  71. package/build/constants/table/cell/chargeTableCellWidth.js +30 -5
  72. package/build/constants/table/cell/destinationsTableCellWidth.d.ts +27 -2
  73. package/build/constants/table/cell/destinationsTableCellWidth.js +27 -2
  74. package/build/constants/table/cell/merchantsTableCellWidth.d.ts +5 -5
  75. package/build/constants/table/cell/merchantsTableCellWidth.js +5 -5
  76. package/build/constants/table/cell/refundTableCellWidth.d.ts +38 -3
  77. package/build/constants/table/cell/refundTableCellWidth.js +38 -3
  78. package/build/types/merchant.d.ts +1 -0
  79. package/build/types/user.d.ts +1 -1
  80. package/build/utils/localStorage.d.ts +4 -1
  81. package/build/utils/localStorage.js +11 -0
  82. package/package.json +2 -2
@@ -7,7 +7,7 @@ export declare const refundTableCellWidth: {
7
7
  readonly id: {
8
8
  readonly default: "225px";
9
9
  readonly text: "225px";
10
- readonly sheet: "245px";
10
+ readonly sheet: "250px";
11
11
  };
12
12
  readonly date: {
13
13
  readonly default: "170px";
@@ -27,7 +27,27 @@ export declare const refundTableCellWidth: {
27
27
  readonly customer: {
28
28
  readonly default: "180px";
29
29
  readonly text: "180px";
30
- readonly sheet: "145px";
30
+ readonly sheet: "600px";
31
+ };
32
+ readonly customer_id: {
33
+ readonly default: "180px";
34
+ readonly text: "180px";
35
+ readonly sheet: "270px";
36
+ };
37
+ readonly customer_name: {
38
+ readonly default: "180px";
39
+ readonly text: "180px";
40
+ readonly sheet: "155px";
41
+ };
42
+ readonly customer_email: {
43
+ readonly default: "180px";
44
+ readonly text: "180px";
45
+ readonly sheet: "200px";
46
+ };
47
+ readonly customer_phone: {
48
+ readonly default: "180px";
49
+ readonly text: "180px";
50
+ readonly sheet: "150px";
31
51
  };
32
52
  readonly device: {
33
53
  readonly default: "100px";
@@ -57,7 +77,7 @@ export declare const refundTableCellWidth: {
57
77
  readonly payment_issuers: {
58
78
  readonly default: "150px";
59
79
  readonly text: "150px";
60
- readonly sheet: "350px";
80
+ readonly sheet: "430px";
61
81
  };
62
82
  readonly payment_method: {
63
83
  readonly default: "150px";
@@ -184,6 +204,11 @@ export declare const refundTableCellWidth: {
184
204
  readonly text: "120px";
185
205
  readonly sheet: "155px";
186
206
  };
207
+ readonly name_on_card: {
208
+ readonly default: "120px";
209
+ readonly text: "120px";
210
+ readonly sheet: "270px";
211
+ };
187
212
  readonly meta: {
188
213
  readonly default: "52px";
189
214
  readonly text: "52px";
@@ -199,4 +224,14 @@ export declare const refundTableCellWidth: {
199
224
  readonly text: "116px";
200
225
  readonly sheet: "116px";
201
226
  };
227
+ readonly issuer_response: {
228
+ readonly default: "70px";
229
+ readonly text: "70px";
230
+ readonly sheet: "270px";
231
+ };
232
+ readonly acquirer_response: {
233
+ readonly default: "70px";
234
+ readonly text: "70px";
235
+ readonly sheet: "253px";
236
+ };
202
237
  };
@@ -7,7 +7,7 @@ export const refundTableCellWidth = {
7
7
  id: {
8
8
  default: '225px',
9
9
  text: '225px',
10
- sheet: '245px',
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: '145px',
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: '350px',
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
  };
@@ -67,6 +67,7 @@ export interface BusinessMerchant {
67
67
  };
68
68
  platforms: Array<{
69
69
  id: string;
70
+ segment: string;
70
71
  brand: {
71
72
  logo?: string;
72
73
  name: Array<{
@@ -106,7 +106,7 @@ export interface SegmentUser {
106
106
  id: string;
107
107
  created: number;
108
108
  individual_id: string;
109
- names: Record<string, SegmentUserName>;
109
+ name: Record<string, SegmentUserName>;
110
110
  contact: {
111
111
  email: string;
112
112
  phone: {
@@ -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.21",
5
- "testVersion": 21,
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",