@opexa/portal-components 0.0.1060 → 0.0.1062

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.
@@ -176,18 +176,23 @@ export function BetRecords__client(props) {
176
176
  }) })] })) }), _jsx(Table.Cell, { className: "!py-1", children: data?.betContent || '/' }), _jsx(Table.Cell, { className: "!py-1", children: data.metadata?.odds ?? data.odds ?? '/' }), _jsx(Table.Cell, { className: "!py-1", children: formatNumber(data.bet, {
177
177
  currency: localeInfo.currency.code,
178
178
  minDecimalPlaces: 2,
179
+ truncate: false,
179
180
  }) }), _jsx(Table.Cell, { className: "!py-1", children: formatNumber(data.validBet, {
180
181
  currency: localeInfo.currency.code,
181
182
  minDecimalPlaces: 2,
183
+ truncate: false,
182
184
  }) }), _jsx(Table.Cell, { className: "!py-1", children: formatNumber(data.payout, {
183
185
  currency: localeInfo.currency.code,
184
186
  minDecimalPlaces: 2,
187
+ truncate: false,
185
188
  }) }), _jsx(Table.Cell, { className: "!py-1", children: formatNumber(data.jackpotContribution, {
186
189
  currency: localeInfo.currency.code,
187
190
  minDecimalPlaces: 2,
191
+ truncate: false,
188
192
  }) }), _jsx(Table.Cell, { className: "!py-1", children: formatNumber(data.jackpotPayout, {
189
193
  currency: localeInfo.currency.code,
190
194
  minDecimalPlaces: 2,
195
+ truncate: false,
191
196
  }) }), _jsx(Table.Cell, { className: "!py-1", children: _jsx(Badge.Root, { colorScheme: data.status === 'SETTLED'
192
197
  ? 'success'
193
198
  : data.status === 'STARTED'
@@ -151,6 +151,10 @@ export function Withdrawal() {
151
151
  if (parseDecimal(wallet?.balance, 0) < 1) {
152
152
  return _jsx(InsufficientBalance, {});
153
153
  }
154
+ if (restrictWithdrawalsToVerifiedMembers &&
155
+ memberVerification?.status === 'PENDING') {
156
+ return _jsx(_AccountVerificationPending, {});
157
+ }
154
158
  if (restrictWithdrawalsToVerifiedMembers &&
155
159
  (!memberVerification ||
156
160
  (memberVerification.status !== 'APPROVED' &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.1060",
3
+ "version": "0.0.1062",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",