@tap-payments/os-micro-frontend-shared 0.1.75-test.2 → 0.1.75-test.2-test.3

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 CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Tap Payments
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tap Payments
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # os-micro-frontend-shared
2
-
3
- ## Publishing Workflow
4
-
5
- 1. Update version in package.json
6
- 2. Commit changes
7
- 3. Create and push a tag:
8
-
9
- ```bash
10
- npm version patch # or minor, major
11
- git push origin main --tags
12
- ```
1
+ # os-micro-frontend-shared
2
+
3
+ ## Publishing Workflow
4
+
5
+ 1. Update version in package.json
6
+ 2. Commit changes
7
+ 3. Create and push a tag:
8
+
9
+ ```bash
10
+ npm version patch # or minor, major
11
+ git push origin main --tags
12
+ ```
@@ -13,6 +13,7 @@ export const SUPPORTED_CURRENCY_DETAILS = {
13
13
  USD: { decimals: 2, country: 'US' },
14
14
  GBP: { decimals: 2, country: 'GB' },
15
15
  EUR: { decimals: 2, country: 'GR' },
16
+ QAR: { decimals: 2, country: 'QA' },
16
17
  };
17
18
  export const SUPPORTED_CURRENCY_CODES = ['SAR', 'KWD', 'OMR', 'EGP', 'BHD', 'USD', 'AED', 'QAR', 'PKR', 'JOD', 'EUR', 'INR', 'GBP'];
18
19
  export const CATEGORIZED_CURRENCY_CODES = {
@@ -7,12 +7,12 @@ 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: "225px";
11
11
  };
12
12
  readonly date: {
13
13
  readonly default: "170px";
14
14
  readonly text: "170px";
15
- readonly sheet: "129px";
15
+ readonly sheet: "170px";
16
16
  };
17
17
  readonly order: {
18
18
  readonly default: "80px";
@@ -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: "145px";
30
+ readonly sheet: "180px";
31
31
  };
32
32
  readonly device: {
33
33
  readonly default: "100px";
@@ -47,57 +47,17 @@ export declare const refundTableCellWidth: {
47
47
  readonly payment_agreement: {
48
48
  readonly default: "50px";
49
49
  readonly text: "200px";
50
- readonly sheet: "165px";
51
- };
52
- readonly payment_initiated: {
53
- readonly default: "150px";
54
- readonly text: "150px";
55
- readonly sheet: "150px";
56
- };
57
- readonly payment_issuers: {
58
- readonly default: "150px";
59
- readonly text: "150px";
60
- readonly sheet: "350px";
61
- };
62
- readonly payment_method: {
63
- readonly default: "150px";
64
- readonly text: "150px";
65
- readonly sheet: "145px";
66
- };
67
- readonly payment_type: {
68
- readonly default: "150px";
69
- readonly text: "150px";
70
- readonly sheet: "120px";
71
- };
72
- readonly payment_scheme: {
73
- readonly default: "150px";
74
- readonly text: "150px";
75
- readonly sheet: "145px";
76
- };
77
- readonly auth_status: {
78
- readonly default: "150px";
79
- readonly text: "150px";
80
- readonly sheet: "165px";
81
- };
82
- readonly auth_type: {
83
- readonly default: "150px";
84
- readonly text: "150px";
85
- readonly sheet: "155px";
86
- };
87
- readonly eci: {
88
- readonly default: "150px";
89
- readonly text: "150px";
90
- readonly sheet: "100px";
50
+ readonly sheet: "200px";
91
51
  };
92
52
  readonly amount: {
93
53
  readonly default: "195px";
94
54
  readonly text: "195px";
95
- readonly sheet: "550px";
55
+ readonly sheet: "195px";
96
56
  };
97
57
  readonly destinations: {
98
58
  readonly default: "70px";
99
59
  readonly text: "240px";
100
- readonly sheet: "340px";
60
+ readonly sheet: "240px";
101
61
  };
102
62
  readonly balance: {
103
63
  readonly default: "120px";
@@ -107,7 +67,7 @@ export declare const refundTableCellWidth: {
107
67
  readonly status: {
108
68
  readonly default: "100px";
109
69
  readonly text: "100px";
110
- readonly sheet: "170px";
70
+ readonly sheet: "100px";
111
71
  };
112
72
  readonly merchant: {
113
73
  readonly default: "110px";
@@ -117,7 +77,7 @@ export declare const refundTableCellWidth: {
117
77
  readonly reference: {
118
78
  readonly default: "95px";
119
79
  readonly text: "180px";
120
- readonly sheet: "250px";
80
+ readonly sheet: "180px";
121
81
  };
122
82
  readonly fees: {
123
83
  readonly default: "100px";
@@ -142,7 +102,7 @@ export declare const refundTableCellWidth: {
142
102
  readonly actions: {
143
103
  readonly default: "100px";
144
104
  readonly text: "100px";
145
- readonly sheet: "85px";
105
+ readonly sheet: "100px";
146
106
  };
147
107
  readonly payment_id: {
148
108
  readonly default: "150px";
@@ -167,12 +127,7 @@ export declare const refundTableCellWidth: {
167
127
  readonly card_no: {
168
128
  readonly default: "120px";
169
129
  readonly text: "120px";
170
- readonly sheet: "200px";
171
- };
172
- readonly card_number: {
173
- readonly default: "120px";
174
- readonly text: "120px";
175
- readonly sheet: "155px";
130
+ readonly sheet: "120px";
176
131
  };
177
132
  readonly meta: {
178
133
  readonly default: "52px";
@@ -7,12 +7,12 @@ export const refundTableCellWidth = {
7
7
  id: {
8
8
  default: '225px',
9
9
  text: '225px',
10
- sheet: '245px',
10
+ sheet: '225px',
11
11
  },
12
12
  date: {
13
13
  default: '170px',
14
14
  text: '170px',
15
- sheet: '129px',
15
+ sheet: '170px',
16
16
  },
17
17
  order: {
18
18
  default: '80px',
@@ -27,7 +27,7 @@ export const refundTableCellWidth = {
27
27
  customer: {
28
28
  default: '180px',
29
29
  text: '180px',
30
- sheet: '145px',
30
+ sheet: '180px',
31
31
  },
32
32
  device: {
33
33
  default: '100px',
@@ -47,57 +47,17 @@ export const refundTableCellWidth = {
47
47
  payment_agreement: {
48
48
  default: '50px',
49
49
  text: '200px',
50
- sheet: '165px',
51
- },
52
- payment_initiated: {
53
- default: '150px',
54
- text: '150px',
55
- sheet: '150px',
56
- },
57
- payment_issuers: {
58
- default: '150px',
59
- text: '150px',
60
- sheet: '350px',
61
- },
62
- payment_method: {
63
- default: '150px',
64
- text: '150px',
65
- sheet: '145px',
66
- },
67
- payment_type: {
68
- default: '150px',
69
- text: '150px',
70
- sheet: '120px',
71
- },
72
- payment_scheme: {
73
- default: '150px',
74
- text: '150px',
75
- sheet: '145px',
76
- },
77
- auth_status: {
78
- default: '150px',
79
- text: '150px',
80
- sheet: '165px',
81
- },
82
- auth_type: {
83
- default: '150px',
84
- text: '150px',
85
- sheet: '155px',
86
- },
87
- eci: {
88
- default: '150px',
89
- text: '150px',
90
- sheet: '100px',
50
+ sheet: '200px',
91
51
  },
92
52
  amount: {
93
53
  default: '195px',
94
54
  text: '195px',
95
- sheet: '550px',
55
+ sheet: '195px',
96
56
  },
97
57
  destinations: {
98
58
  default: '70px',
99
59
  text: '240px',
100
- sheet: '340px',
60
+ sheet: '240px',
101
61
  },
102
62
  balance: {
103
63
  default: '120px',
@@ -107,7 +67,7 @@ export const refundTableCellWidth = {
107
67
  status: {
108
68
  default: '100px',
109
69
  text: '100px',
110
- sheet: '170px',
70
+ sheet: '100px',
111
71
  },
112
72
  merchant: {
113
73
  default: '110px',
@@ -117,7 +77,7 @@ export const refundTableCellWidth = {
117
77
  reference: {
118
78
  default: '95px',
119
79
  text: '180px',
120
- sheet: '250px',
80
+ sheet: '180px',
121
81
  },
122
82
  fees: {
123
83
  default: '100px',
@@ -142,7 +102,7 @@ export const refundTableCellWidth = {
142
102
  actions: {
143
103
  default: '100px',
144
104
  text: '100px',
145
- sheet: '85px',
105
+ sheet: '100px',
146
106
  },
147
107
  payment_id: {
148
108
  default: '150px',
@@ -167,12 +127,7 @@ export const refundTableCellWidth = {
167
127
  card_no: {
168
128
  default: '120px',
169
129
  text: '120px',
170
- sheet: '200px',
171
- },
172
- card_number: {
173
- default: '120px',
174
- text: '120px',
175
- sheet: '155px',
130
+ sheet: '120px',
176
131
  },
177
132
  meta: {
178
133
  default: '52px',
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.75-test.2",
5
- "testVersion": 2,
4
+ "version": "0.1.75-test.2-test.3",
5
+ "testVersion": 3,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",