be-components 3.6.0 → 3.6.2
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/lib/commonjs/Checkout/components/AccountSummaryCard.js +52 -57
- package/lib/commonjs/Checkout/components/AccountSummaryCard.js.map +1 -1
- package/lib/commonjs/Checkout/components/ItemSummaryCard.js +8 -11
- package/lib/commonjs/Checkout/components/ItemSummaryCard.js.map +1 -1
- package/lib/commonjs/Checkout/components/OrderSummaryCard.js +21 -25
- package/lib/commonjs/Checkout/components/OrderSummaryCard.js.map +1 -1
- package/lib/commonjs/Checkout/components/PayPalHtml.js +32 -0
- package/lib/commonjs/Checkout/components/PayPalHtml.js.map +1 -0
- package/lib/commonjs/Checkout/components/PayPalWebview.js +125 -0
- package/lib/commonjs/Checkout/components/PayPalWebview.js.map +1 -0
- package/lib/commonjs/Checkout/components/ShippingSummaryCard.js +11 -15
- package/lib/commonjs/Checkout/components/ShippingSummaryCard.js.map +1 -1
- package/lib/commonjs/Checkout/index.js +92 -146
- package/lib/commonjs/Checkout/index.js.map +1 -1
- package/lib/commonjs/Components/Checkbox.js +7 -5
- package/lib/commonjs/Components/Checkbox.js.map +1 -1
- package/lib/commonjs/Components/Icons.js +9 -9
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Components/Pagination.js +37 -0
- package/lib/commonjs/Components/Pagination.js.map +1 -0
- package/lib/commonjs/Wallet/components/ACHAddCard.js +233 -194
- package/lib/commonjs/Wallet/components/ACHAddCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/AccountCard.js +27 -28
- package/lib/commonjs/Wallet/components/AccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/AccountLimitManager.js +60 -95
- package/lib/commonjs/Wallet/components/AccountLimitManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/AccountManager.js +209 -158
- package/lib/commonjs/Wallet/components/AccountManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/AccountSnoozeManager.js +53 -66
- package/lib/commonjs/Wallet/components/AccountSnoozeManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/AddressCard.js +19 -17
- package/lib/commonjs/Wallet/components/AddressCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/AddressManager.js +64 -92
- package/lib/commonjs/Wallet/components/AddressManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/DepositCard.js +93 -99
- package/lib/commonjs/Wallet/components/DepositCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/FundAccountCard.js +106 -95
- package/lib/commonjs/Wallet/components/FundAccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ItemOrderCard.js +26 -29
- package/lib/commonjs/Wallet/components/ItemOrderCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ItemOrderDetailCard.js +43 -46
- package/lib/commonjs/Wallet/components/ItemOrderDetailCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/LinkAccountManager.js +80 -106
- package/lib/commonjs/Wallet/components/LinkAccountManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManageAccountCard.js +85 -60
- package/lib/commonjs/Wallet/components/ManageAccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManualACHAdd.js +155 -151
- package/lib/commonjs/Wallet/components/ManualACHAdd.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManualCardAdd.js +207 -204
- package/lib/commonjs/Wallet/components/ManualCardAdd.js.map +1 -1
- package/lib/commonjs/Wallet/components/MyBalance.js +73 -66
- package/lib/commonjs/Wallet/components/MyBalance.js.map +1 -1
- package/lib/commonjs/Wallet/components/OrderManager.js +61 -58
- package/lib/commonjs/Wallet/components/OrderManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/RemoveAccount.js +22 -23
- package/lib/commonjs/Wallet/components/RemoveAccount.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletActionSelector.js +130 -133
- package/lib/commonjs/Wallet/components/WalletActionSelector.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletSettings.js +382 -547
- package/lib/commonjs/Wallet/components/WalletSettings.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletSetup.js +307 -289
- package/lib/commonjs/Wallet/components/WalletSetup.js.map +1 -1
- package/lib/commonjs/Wallet/components/WithdrawCard.js +91 -111
- package/lib/commonjs/Wallet/components/WithdrawCard.js.map +1 -1
- package/lib/commonjs/Wallet/index.js +23 -24
- package/lib/commonjs/Wallet/index.js.map +1 -1
- package/lib/commonjs/constants/styles.js +1 -1
- package/lib/commonjs/constants/styles.js.map +1 -1
- package/lib/commonjs/constants/useColors.js +1 -1
- package/lib/commonjs/constants/useColors.js.map +1 -1
- package/lib/module/Checkout/components/AccountSummaryCard.js +25 -30
- package/lib/module/Checkout/components/AccountSummaryCard.js.map +1 -1
- package/lib/module/Checkout/components/ItemSummaryCard.js +4 -7
- package/lib/module/Checkout/components/ItemSummaryCard.js.map +1 -1
- package/lib/module/Checkout/components/OrderSummaryCard.js +9 -13
- package/lib/module/Checkout/components/OrderSummaryCard.js.map +1 -1
- package/lib/module/Checkout/components/PayPalHtml.js +25 -0
- package/lib/module/Checkout/components/PayPalHtml.js.map +1 -0
- package/lib/module/Checkout/components/PayPalWebview.js +118 -0
- package/lib/module/Checkout/components/PayPalWebview.js.map +1 -0
- package/lib/module/Checkout/components/ShippingSummaryCard.js +5 -9
- package/lib/module/Checkout/components/ShippingSummaryCard.js.map +1 -1
- package/lib/module/Checkout/index.js +58 -112
- package/lib/module/Checkout/index.js.map +1 -1
- package/lib/module/Components/Checkbox.js +6 -4
- package/lib/module/Components/Checkbox.js.map +1 -1
- package/lib/module/Components/Icons.js +10 -10
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Components/Pagination.js +30 -0
- package/lib/module/Components/Pagination.js.map +1 -0
- package/lib/module/Wallet/components/ACHAddCard.js +233 -194
- package/lib/module/Wallet/components/ACHAddCard.js.map +1 -1
- package/lib/module/Wallet/components/AccountCard.js +23 -24
- package/lib/module/Wallet/components/AccountCard.js.map +1 -1
- package/lib/module/Wallet/components/AccountLimitManager.js +43 -77
- package/lib/module/Wallet/components/AccountLimitManager.js.map +1 -1
- package/lib/module/Wallet/components/AccountManager.js +206 -155
- package/lib/module/Wallet/components/AccountManager.js.map +1 -1
- package/lib/module/Wallet/components/AccountSnoozeManager.js +35 -48
- package/lib/module/Wallet/components/AccountSnoozeManager.js.map +1 -1
- package/lib/module/Wallet/components/AddressCard.js +14 -12
- package/lib/module/Wallet/components/AddressCard.js.map +1 -1
- package/lib/module/Wallet/components/AddressManager.js +29 -57
- package/lib/module/Wallet/components/AddressManager.js.map +1 -1
- package/lib/module/Wallet/components/DepositCard.js +62 -67
- package/lib/module/Wallet/components/DepositCard.js.map +1 -1
- package/lib/module/Wallet/components/FundAccountCard.js +71 -60
- package/lib/module/Wallet/components/FundAccountCard.js.map +1 -1
- package/lib/module/Wallet/components/ItemOrderCard.js +17 -20
- package/lib/module/Wallet/components/ItemOrderCard.js.map +1 -1
- package/lib/module/Wallet/components/ItemOrderDetailCard.js +28 -31
- package/lib/module/Wallet/components/ItemOrderDetailCard.js.map +1 -1
- package/lib/module/Wallet/components/LinkAccountManager.js +55 -81
- package/lib/module/Wallet/components/LinkAccountManager.js.map +1 -1
- package/lib/module/Wallet/components/ManageAccountCard.js +80 -55
- package/lib/module/Wallet/components/ManageAccountCard.js.map +1 -1
- package/lib/module/Wallet/components/ManualACHAdd.js +146 -141
- package/lib/module/Wallet/components/ManualACHAdd.js.map +1 -1
- package/lib/module/Wallet/components/ManualCardAdd.js +204 -201
- package/lib/module/Wallet/components/ManualCardAdd.js.map +1 -1
- package/lib/module/Wallet/components/MyBalance.js +45 -38
- package/lib/module/Wallet/components/MyBalance.js.map +1 -1
- package/lib/module/Wallet/components/OrderManager.js +59 -56
- package/lib/module/Wallet/components/OrderManager.js.map +1 -1
- package/lib/module/Wallet/components/RemoveAccount.js +16 -16
- package/lib/module/Wallet/components/RemoveAccount.js.map +1 -1
- package/lib/module/Wallet/components/WalletActionSelector.js +102 -104
- package/lib/module/Wallet/components/WalletActionSelector.js.map +1 -1
- package/lib/module/Wallet/components/WalletSettings.js +381 -545
- package/lib/module/Wallet/components/WalletSettings.js.map +1 -1
- package/lib/module/Wallet/components/WalletSetup.js +297 -279
- package/lib/module/Wallet/components/WalletSetup.js.map +1 -1
- package/lib/module/Wallet/components/WithdrawCard.js +52 -71
- package/lib/module/Wallet/components/WithdrawCard.js.map +1 -1
- package/lib/module/Wallet/index.js +16 -17
- package/lib/module/Wallet/index.js.map +1 -1
- package/lib/module/constants/styles.js +1 -1
- package/lib/module/constants/styles.js.map +1 -1
- package/lib/module/constants/useColors.js +1 -1
- package/lib/module/constants/useColors.js.map +1 -1
- package/lib/typescript/lib/commonjs/Checkout/components/AccountSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Checkout/components/ItemSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Checkout/components/OrderSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Checkout/components/PayPalHtml.d.ts +3 -0
- package/lib/typescript/lib/commonjs/Checkout/components/PayPalHtml.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Checkout/components/PayPalWebview.d.ts +4 -0
- package/lib/typescript/lib/commonjs/Checkout/components/PayPalWebview.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Checkout/components/ShippingSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Checkout/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Checkbox.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Pagination.d.ts +11 -0
- package/lib/typescript/lib/commonjs/Components/Pagination.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Wallet/components/ACHAddCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/AccountCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/AccountLimitManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/AccountManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/AccountSnoozeManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/AddressCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/AddressManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/DepositCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/FundAccountCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/ItemOrderCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/ItemOrderDetailCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/LinkAccountManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/ManageAccountCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/ManualACHAdd.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/ManualCardAdd.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/MyBalance.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/OrderManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/RemoveAccount.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/WalletActionSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/WalletSettings.d.ts +1 -2
- package/lib/typescript/lib/commonjs/Wallet/components/WalletSettings.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/WalletSetup.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/components/WithdrawCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Wallet/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/constants/styles.d.ts +1 -1
- package/lib/typescript/lib/module/Checkout/components/AccountSummaryCard.d.ts +1 -2
- package/lib/typescript/lib/module/Checkout/components/AccountSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Checkout/components/ItemSummaryCard.d.ts +1 -2
- package/lib/typescript/lib/module/Checkout/components/ItemSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Checkout/components/OrderSummaryCard.d.ts +1 -2
- package/lib/typescript/lib/module/Checkout/components/OrderSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Checkout/components/PayPalHtml.d.ts +2 -0
- package/lib/typescript/lib/module/Checkout/components/PayPalHtml.d.ts.map +1 -0
- package/lib/typescript/lib/module/Checkout/components/PayPalWebview.d.ts +5 -0
- package/lib/typescript/lib/module/Checkout/components/PayPalWebview.d.ts.map +1 -0
- package/lib/typescript/lib/module/Checkout/components/ShippingSummaryCard.d.ts +1 -2
- package/lib/typescript/lib/module/Checkout/components/ShippingSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Checkout/index.d.ts +1 -2
- package/lib/typescript/lib/module/Checkout/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Checkbox.d.ts +1 -2
- package/lib/typescript/lib/module/Components/Checkbox.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Pagination.d.ts +11 -0
- package/lib/typescript/lib/module/Components/Pagination.d.ts.map +1 -0
- package/lib/typescript/lib/module/Wallet/components/ACHAddCard.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/ACHAddCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/AccountCard.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/AccountCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/AccountLimitManager.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/AccountLimitManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/AccountManager.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/AccountManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/AccountSnoozeManager.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/AccountSnoozeManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/AddressCard.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/AddressCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/AddressManager.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/AddressManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/DepositCard.d.ts +2 -2
- package/lib/typescript/lib/module/Wallet/components/DepositCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/FundAccountCard.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/FundAccountCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/ItemOrderCard.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/ItemOrderCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/ItemOrderDetailCard.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/ItemOrderDetailCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/LinkAccountManager.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/LinkAccountManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/ManageAccountCard.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/ManageAccountCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/ManualACHAdd.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/ManualACHAdd.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/ManualCardAdd.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/ManualCardAdd.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/MyBalance.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/MyBalance.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/OrderManager.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/OrderManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/RemoveAccount.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/RemoveAccount.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/WalletActionSelector.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/WalletActionSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/WalletSettings.d.ts +2 -4
- package/lib/typescript/lib/module/Wallet/components/WalletSettings.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/WalletSetup.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/components/WalletSetup.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/WithdrawCard.d.ts +2 -2
- package/lib/typescript/lib/module/Wallet/components/WithdrawCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/index.d.ts +1 -2
- package/lib/typescript/lib/module/Wallet/index.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/AccountSummaryCard.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/ItemSummaryCard.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/OrderSummaryCard.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/PayPalHtml.d.ts +2 -0
- package/lib/typescript/src/Checkout/components/PayPalHtml.d.ts.map +1 -0
- package/lib/typescript/src/Checkout/components/PayPalWebview.d.ts +4 -0
- package/lib/typescript/src/Checkout/components/PayPalWebview.d.ts.map +1 -0
- package/lib/typescript/src/Checkout/components/ShippingSummaryCard.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/index.d.ts.map +1 -1
- package/lib/typescript/src/Components/Checkbox.d.ts.map +1 -1
- package/lib/typescript/src/Components/Pagination.d.ts +12 -0
- package/lib/typescript/src/Components/Pagination.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AccountLimitManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AccountManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AccountSnoozeManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AddressCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ItemOrderCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ItemOrderDetailCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/LinkAccountManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/OrderManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/RemoveAccount.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletSettings.d.ts +1 -1
- package/lib/typescript/src/Wallet/components/WalletSettings.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/Checkout/components/AccountSummaryCard.tsx +25 -27
- package/src/Checkout/components/ItemSummaryCard.tsx +4 -6
- package/src/Checkout/components/OrderSummaryCard.tsx +9 -11
- package/src/Checkout/components/PayPalHtml.ts +26 -0
- package/src/Checkout/components/PayPalOrderCapture.tsx +1 -1
- package/src/Checkout/components/PayPalWebview.tsx +118 -0
- package/src/Checkout/components/ShippingSummaryCard.tsx +5 -8
- package/src/Checkout/index.tsx +68 -96
- package/src/Components/Checkbox.tsx +7 -6
- package/src/Components/Icons.tsx +10 -10
- package/src/Components/Pagination.tsx +33 -0
- package/src/Wallet/components/ACHAddCard.tsx +90 -60
- package/src/Wallet/components/AccountCard.tsx +22 -21
- package/src/Wallet/components/AccountLimitManager.tsx +36 -54
- package/src/Wallet/components/AccountManager.tsx +95 -61
- package/src/Wallet/components/AccountSnoozeManager.tsx +39 -37
- package/src/Wallet/components/AddressCard.tsx +11 -11
- package/src/Wallet/components/AddressManager.tsx +33 -44
- package/src/Wallet/components/DepositCard.tsx +55 -53
- package/src/Wallet/components/FundAccountCard.tsx +52 -51
- package/src/Wallet/components/ItemOrderCard.tsx +13 -12
- package/src/Wallet/components/ItemOrderDetailCard.tsx +23 -22
- package/src/Wallet/components/LinkAccountManager.tsx +49 -59
- package/src/Wallet/components/ManageAccountCard.tsx +78 -47
- package/src/Wallet/components/ManualACHAdd.tsx +99 -79
- package/src/Wallet/components/ManualCardAdd.tsx +119 -95
- package/src/Wallet/components/MyBalance.tsx +38 -40
- package/src/Wallet/components/OrderManager.tsx +47 -37
- package/src/Wallet/components/RemoveAccount.tsx +12 -15
- package/src/Wallet/components/WalletActionSelector.tsx +70 -69
- package/src/Wallet/components/WalletSettings.tsx +137 -139
- package/src/Wallet/components/WalletSetup.tsx +150 -135
- package/src/Wallet/components/WithdrawCard.tsx +56 -56
- package/src/Wallet/index.tsx +23 -22
- package/src/constants/styles.ts +1 -1
- package/src/constants/useColors.tsx +1 -1
|
@@ -5,23 +5,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
8
|
var _Components = require("../../Components");
|
|
10
|
-
var _colors = _interopRequireDefault(require("../../constants/colors"));
|
|
11
9
|
var _api = require("../api");
|
|
12
|
-
|
|
10
|
+
var _Themed = require("../../Components/Themed");
|
|
11
|
+
var _useColors = require("../../constants/useColors");
|
|
12
|
+
var _reactNative = require("react-native");
|
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
|
+
const sections = ['header', 'toggle', 'deposit', 'withdraw', 'referral'];
|
|
15
16
|
const WalletSettings = ({
|
|
16
17
|
player,
|
|
17
18
|
my_referral,
|
|
18
19
|
deposit_limit,
|
|
19
20
|
withdraw_limit,
|
|
20
|
-
onPremium,
|
|
21
21
|
onClose
|
|
22
22
|
}) => {
|
|
23
23
|
const [active_tab, setActiveTab] = (0, _react.useState)('deposit');
|
|
24
|
-
|
|
24
|
+
const Colors = (0, _useColors.useColors)();
|
|
25
25
|
//const promo = useSelector((state:RootState) => state.wallet.promo, (left, right) => left?.promo_id == right?.promo_id);
|
|
26
26
|
//const player_referral = useSelector((state:RootState) => state.wallet.player_referral, (left, right) => left?.last_update_datetime == right?.last_update_datetime);
|
|
27
27
|
|
|
@@ -30,564 +30,399 @@ const WalletSettings = ({
|
|
|
30
30
|
promo
|
|
31
31
|
} = my_referral;
|
|
32
32
|
//const tabs = ['referral','deposit','withdraw']
|
|
33
|
-
|
|
33
|
+
console.log(active_tab);
|
|
34
|
+
console.log(deposit_limit);
|
|
35
|
+
const renderSections = data => {
|
|
36
|
+
switch (data.item) {
|
|
37
|
+
case 'header':
|
|
38
|
+
return /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
39
|
+
type: "header",
|
|
40
|
+
style: {
|
|
41
|
+
flexDirection: 'row',
|
|
42
|
+
alignItems: 'center',
|
|
43
|
+
padding: 15
|
|
44
|
+
}
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
46
|
+
transparent: true,
|
|
47
|
+
style: {
|
|
48
|
+
flex: 1
|
|
49
|
+
}
|
|
50
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
51
|
+
size: 20,
|
|
52
|
+
theme: "h1"
|
|
53
|
+
}, "MY WALLET SETTINGS / LIMITS"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
54
|
+
style: {
|
|
55
|
+
marginTop: 5
|
|
56
|
+
},
|
|
57
|
+
theme: "description"
|
|
58
|
+
}, "Below are your overall wallet settings & configurations. These are set based on account type and past transaction history")));
|
|
59
|
+
case 'toggle':
|
|
60
|
+
return /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
61
|
+
style: {
|
|
62
|
+
padding: 10
|
|
63
|
+
}
|
|
64
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Toggle, {
|
|
65
|
+
options: [{
|
|
66
|
+
key: 'deposit',
|
|
67
|
+
label: 'Deposit'
|
|
68
|
+
}, {
|
|
69
|
+
key: 'withdraw',
|
|
70
|
+
label: 'Withdraw'
|
|
71
|
+
}, {
|
|
72
|
+
key: 'referral',
|
|
73
|
+
label: 'Referral'
|
|
74
|
+
}],
|
|
75
|
+
selected_option: active_tab,
|
|
76
|
+
onSelectOption: option => setActiveTab(option)
|
|
77
|
+
}));
|
|
78
|
+
case 'deposit':
|
|
79
|
+
if (active_tab != 'deposit') {
|
|
80
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
81
|
+
}
|
|
82
|
+
if (!deposit_limit) {
|
|
83
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
84
|
+
}
|
|
85
|
+
return /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
86
|
+
nativeID: "deposit_limit"
|
|
87
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
88
|
+
type: "header",
|
|
89
|
+
style: {
|
|
90
|
+
flexDirection: 'row',
|
|
91
|
+
alignItems: 'center',
|
|
92
|
+
padding: 15
|
|
93
|
+
}
|
|
94
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
95
|
+
transparent: true,
|
|
96
|
+
style: {
|
|
97
|
+
flex: 1
|
|
98
|
+
}
|
|
99
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
100
|
+
theme: "h1"
|
|
101
|
+
}, "DEPOSIT SETTINGS"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
102
|
+
style: {
|
|
103
|
+
marginTop: 3
|
|
104
|
+
},
|
|
105
|
+
theme: "description"
|
|
106
|
+
}, "Below are your current deposit limits. These may change based on historical transaction results."))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
107
|
+
type: "body",
|
|
108
|
+
style: {
|
|
109
|
+
padding: 10
|
|
110
|
+
}
|
|
111
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
112
|
+
type: "row",
|
|
113
|
+
style: {
|
|
114
|
+
flexDirection: 'row',
|
|
115
|
+
alignItems: 'flex-start',
|
|
116
|
+
padding: 5,
|
|
117
|
+
borderBottomWidth: 1,
|
|
118
|
+
borderColor: Colors.borders.light
|
|
119
|
+
}
|
|
120
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
121
|
+
style: {
|
|
122
|
+
flex: 1
|
|
123
|
+
}
|
|
124
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
125
|
+
theme: "h2"
|
|
126
|
+
}, "ACH Daily Limit"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
127
|
+
style: {
|
|
128
|
+
marginTop: 5
|
|
129
|
+
},
|
|
130
|
+
theme: "description"
|
|
131
|
+
}, "The maximum deposit amount allowed per day from an ACH account")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
132
|
+
theme: "h2"
|
|
133
|
+
}, "$", deposit_limit.ach_daily_limit))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
134
|
+
style: {
|
|
135
|
+
marginTop: 10,
|
|
136
|
+
flexDirection: 'row',
|
|
137
|
+
alignItems: 'flex-start',
|
|
138
|
+
padding: 5,
|
|
139
|
+
borderBottomWidth: 1,
|
|
140
|
+
borderColor: Colors.borders.light
|
|
141
|
+
}
|
|
142
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
143
|
+
style: {
|
|
144
|
+
flex: 1
|
|
145
|
+
}
|
|
146
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
147
|
+
theme: "h2"
|
|
148
|
+
}, "Card / Paypal Daily Limit"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
149
|
+
style: {
|
|
150
|
+
marginTop: 5
|
|
151
|
+
},
|
|
152
|
+
theme: "description"
|
|
153
|
+
}, "The maximum deposit amount allowed per day from a card account")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
154
|
+
theme: "h2"
|
|
155
|
+
}, "$", deposit_limit.card_daily_limit))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
156
|
+
style: {
|
|
157
|
+
flexDirection: 'row',
|
|
158
|
+
alignItems: 'flex-start',
|
|
159
|
+
marginTop: 10,
|
|
160
|
+
padding: 5,
|
|
161
|
+
borderBottomWidth: 1,
|
|
162
|
+
borderColor: Colors.borders.light
|
|
163
|
+
}
|
|
164
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
165
|
+
style: {
|
|
166
|
+
flex: 1
|
|
167
|
+
}
|
|
168
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
169
|
+
theme: "h2"
|
|
170
|
+
}, "Instant Deposit Limit"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
171
|
+
style: {
|
|
172
|
+
marginTop: 5
|
|
173
|
+
},
|
|
174
|
+
theme: "description"
|
|
175
|
+
}, "The total amount of unsettled deposits that will be instantly added to your wallet. Any deposit over this amount will be held until it settles.")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
176
|
+
theme: "h2"
|
|
177
|
+
}, "$", deposit_limit.instant_limit))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
178
|
+
style: {
|
|
179
|
+
marginTop: 10,
|
|
180
|
+
flexDirection: 'row',
|
|
181
|
+
alignItems: 'flex-start',
|
|
182
|
+
padding: 5,
|
|
183
|
+
borderBottomWidth: 1,
|
|
184
|
+
borderColor: Colors.borders.light
|
|
185
|
+
}
|
|
186
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
187
|
+
style: {
|
|
188
|
+
flex: 1
|
|
189
|
+
}
|
|
190
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
191
|
+
theme: "h2"
|
|
192
|
+
}, "Hold Days"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
193
|
+
style: {
|
|
194
|
+
marginTop: 5
|
|
195
|
+
},
|
|
196
|
+
theme: "description"
|
|
197
|
+
}, "The number of days a deposit transaction will be held (not settled) before it can be withdrawn")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
198
|
+
theme: "h2"
|
|
199
|
+
}, deposit_limit.hold_days))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
200
|
+
style: {
|
|
201
|
+
flexDirection: 'row',
|
|
202
|
+
alignItems: 'flex-start',
|
|
203
|
+
marginTop: 10,
|
|
204
|
+
padding: 5,
|
|
205
|
+
borderBottomWidth: 1,
|
|
206
|
+
borderColor: Colors.borders.light
|
|
207
|
+
}
|
|
208
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
209
|
+
style: {
|
|
210
|
+
flex: 1
|
|
211
|
+
}
|
|
212
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
213
|
+
theme: "h2"
|
|
214
|
+
}, "Instant Deposit Available"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
215
|
+
style: {
|
|
216
|
+
marginTop: 5
|
|
217
|
+
},
|
|
218
|
+
theme: "description"
|
|
219
|
+
}, "Your instant deposit limit minus your unsettled deposits")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
220
|
+
size: 14,
|
|
221
|
+
color: deposit_limit.instant_available > 0 ? Colors.text.success : Colors.text.error,
|
|
222
|
+
weight: "bold"
|
|
223
|
+
}, "$", deposit_limit.instant_available.toFixed(2))))));
|
|
224
|
+
case 'withdraw':
|
|
225
|
+
if (active_tab != 'withdraw' || !withdraw_limit) {
|
|
226
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
227
|
+
}
|
|
228
|
+
return /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
229
|
+
nativeID: "withdraw_settings"
|
|
230
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
231
|
+
type: "header",
|
|
232
|
+
style: {
|
|
233
|
+
flexDirection: 'row',
|
|
234
|
+
alignItems: 'center',
|
|
235
|
+
padding: 15
|
|
236
|
+
}
|
|
237
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
238
|
+
transparent: true,
|
|
239
|
+
style: {
|
|
240
|
+
flex: 1
|
|
241
|
+
}
|
|
242
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
243
|
+
theme: "h1"
|
|
244
|
+
}, "WITHDRAW SETTINGS"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
245
|
+
style: {
|
|
246
|
+
marginTop: 3
|
|
247
|
+
},
|
|
248
|
+
theme: "description"
|
|
249
|
+
}, "Below are your current withdraw settings and limits. These may change based on historical transaction results."))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
250
|
+
type: "body",
|
|
251
|
+
style: {
|
|
252
|
+
padding: 10
|
|
253
|
+
}
|
|
254
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
255
|
+
style: {
|
|
256
|
+
flexDirection: 'row',
|
|
257
|
+
alignItems: 'flex-start',
|
|
258
|
+
padding: 5,
|
|
259
|
+
borderBottomWidth: 1,
|
|
260
|
+
borderColor: Colors.borders.light
|
|
261
|
+
}
|
|
262
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
263
|
+
style: {
|
|
264
|
+
flex: 1
|
|
265
|
+
}
|
|
266
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
267
|
+
theme: "h2"
|
|
268
|
+
}, "Weekly Withdraw Transaction Limit"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
269
|
+
style: {
|
|
270
|
+
marginTop: 5
|
|
271
|
+
},
|
|
272
|
+
theme: "description"
|
|
273
|
+
}, "The number of withdraws allowed per rolling week.")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
274
|
+
theme: "h2"
|
|
275
|
+
}, withdraw_limit.withdraws_per_week))), withdraw_limit?.week_withdraw_count ? /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
276
|
+
style: {
|
|
277
|
+
marginTop: 10,
|
|
278
|
+
flexDirection: 'row',
|
|
279
|
+
alignItems: 'flex-start',
|
|
280
|
+
padding: 5,
|
|
281
|
+
borderBottomWidth: 1,
|
|
282
|
+
borderColor: Colors.borders.light
|
|
283
|
+
}
|
|
284
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
285
|
+
style: {
|
|
286
|
+
flex: 1
|
|
287
|
+
}
|
|
288
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
289
|
+
theme: "h2"
|
|
290
|
+
}, "Withdraws Remaining"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
291
|
+
style: {
|
|
292
|
+
marginTop: 5
|
|
293
|
+
},
|
|
294
|
+
theme: "description"
|
|
295
|
+
}, "Withdraw transaction limit minus the number of withdraws already processed in the last 7 days")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
296
|
+
theme: "h2"
|
|
297
|
+
}, withdraw_limit.withdraws_per_week - withdraw_limit.week_withdraw_count))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
298
|
+
style: {
|
|
299
|
+
marginTop: 10,
|
|
300
|
+
flexDirection: 'row',
|
|
301
|
+
alignItems: 'flex-start',
|
|
302
|
+
padding: 5,
|
|
303
|
+
borderBottomWidth: 1,
|
|
304
|
+
borderColor: Colors.borders.light
|
|
305
|
+
}
|
|
306
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
307
|
+
style: {
|
|
308
|
+
flex: 1
|
|
309
|
+
}
|
|
310
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
311
|
+
theme: "h2"
|
|
312
|
+
}, "ACH Withdraw Daily Limit"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
313
|
+
style: {
|
|
314
|
+
marginTop: 5
|
|
315
|
+
},
|
|
316
|
+
theme: "description"
|
|
317
|
+
}, "Maximum amount of withdraws that can be made per rolling 24 hours to an ACH account.")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
318
|
+
theme: "h2"
|
|
319
|
+
}, withdraw_limit.ach_daily_limit))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
320
|
+
style: {
|
|
321
|
+
marginTop: 10,
|
|
322
|
+
flexDirection: 'row',
|
|
323
|
+
alignItems: 'flex-start',
|
|
324
|
+
padding: 5,
|
|
325
|
+
borderBottomWidth: 1,
|
|
326
|
+
borderColor: Colors.borders.light
|
|
327
|
+
}
|
|
328
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
329
|
+
style: {
|
|
330
|
+
flex: 1
|
|
331
|
+
}
|
|
332
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
333
|
+
theme: "h2"
|
|
334
|
+
}, "Card Withdraw Daily Limit"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
335
|
+
style: {
|
|
336
|
+
marginTop: 5
|
|
337
|
+
},
|
|
338
|
+
theme: "description"
|
|
339
|
+
}, "Maximum amount of withdraws that can be made per rolling 24 hours to a card account.")), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
340
|
+
theme: "h2"
|
|
341
|
+
}, withdraw_limit.card_daily_limit)))));
|
|
342
|
+
case 'referral':
|
|
343
|
+
if (active_tab != 'referral' || !player_referral || !promo) {
|
|
344
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
345
|
+
}
|
|
346
|
+
return /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
347
|
+
nativeID: "referral_settings"
|
|
348
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
349
|
+
type: "header",
|
|
350
|
+
style: {
|
|
351
|
+
flexDirection: 'row',
|
|
352
|
+
alignItems: 'center',
|
|
353
|
+
padding: 15
|
|
354
|
+
}
|
|
355
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
356
|
+
transparent: true,
|
|
357
|
+
style: {
|
|
358
|
+
flex: 1
|
|
359
|
+
}
|
|
360
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
361
|
+
theme: "h1"
|
|
362
|
+
}, "REFERRAL SETTINGS"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
363
|
+
style: {
|
|
364
|
+
marginTop: 3
|
|
365
|
+
},
|
|
366
|
+
theme: "description"
|
|
367
|
+
}, "Below are your current referral settings. Share your code with others to earn cash from referrals."))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
368
|
+
style: {
|
|
369
|
+
padding: 10
|
|
370
|
+
}
|
|
371
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
372
|
+
style: {
|
|
373
|
+
flexDirection: 'row',
|
|
374
|
+
alignItems: 'flex-start',
|
|
375
|
+
padding: 5,
|
|
376
|
+
borderBottomWidth: 1,
|
|
377
|
+
borderColor: Colors.borders.light
|
|
378
|
+
}
|
|
379
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
380
|
+
style: {
|
|
381
|
+
flex: 1
|
|
382
|
+
}
|
|
383
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
384
|
+
theme: "h2"
|
|
385
|
+
}, "My Referral Code"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
386
|
+
style: {
|
|
387
|
+
marginTop: 5
|
|
388
|
+
},
|
|
389
|
+
theme: "description"
|
|
390
|
+
}, _api.WalletHelpers.getReferralDescription(promo))), /*#__PURE__*/_react.default.createElement(_Themed.View, null, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
391
|
+
theme: "h2"
|
|
392
|
+
}, player_referral.referral_code)))));
|
|
393
|
+
default:
|
|
394
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
395
|
+
}
|
|
396
|
+
};
|
|
34
397
|
if (!player) {
|
|
35
398
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
36
399
|
}
|
|
37
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
400
|
+
return /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
38
401
|
style: {
|
|
39
402
|
flex: 1
|
|
40
403
|
}
|
|
41
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
42
|
-
style: {
|
|
43
|
-
padding: 20
|
|
44
|
-
}
|
|
45
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
46
|
-
size: 26,
|
|
47
|
-
color: _colors.default.brand.midnight,
|
|
48
|
-
weight: "bold"
|
|
49
|
-
}, "WALLET SETTINGS"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
50
|
-
style: {
|
|
51
|
-
marginTop: 10
|
|
52
|
-
},
|
|
53
|
-
size: 16,
|
|
54
|
-
color: _colors.default.brand.midnight,
|
|
55
|
-
weight: "regular"
|
|
56
|
-
}, "Below are your overall wallet settings & configurations. These are set based on account type and past transaction history.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
57
|
-
style: {
|
|
58
|
-
flexDirection: 'row',
|
|
59
|
-
paddingLeft: 10,
|
|
60
|
-
paddingRight: 10
|
|
61
|
-
}
|
|
62
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
63
|
-
style: {
|
|
64
|
-
flex: 1,
|
|
65
|
-
borderWidth: 1,
|
|
66
|
-
borderColor: _colors.default.shades.shade600,
|
|
67
|
-
padding: 10,
|
|
68
|
-
borderTopRightRadius: 8,
|
|
69
|
-
borderTopLeftRadius: 8,
|
|
70
|
-
backgroundColor: active_tab == 'deposit' ? _colors.default.brand.midnight : undefined
|
|
71
|
-
},
|
|
72
|
-
onPress: () => setActiveTab('deposit')
|
|
73
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
74
|
-
weight: active_tab == 'deposit' ? 'bold' : 'regular',
|
|
75
|
-
textAlign: "center",
|
|
76
|
-
size: 14,
|
|
77
|
-
color: active_tab == 'deposit' ? _colors.default.shades.white : _colors.default.brand.midnight
|
|
78
|
-
}, "Deposit")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
79
|
-
style: {
|
|
80
|
-
flex: 1,
|
|
81
|
-
borderWidth: 1,
|
|
82
|
-
borderColor: _colors.default.shades.shade600,
|
|
83
|
-
padding: 10,
|
|
84
|
-
borderTopRightRadius: 8,
|
|
85
|
-
borderTopLeftRadius: 8,
|
|
86
|
-
backgroundColor: active_tab == 'withdraw' ? _colors.default.brand.midnight : undefined
|
|
87
|
-
},
|
|
88
|
-
onPress: () => setActiveTab('withdraw')
|
|
89
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
90
|
-
weight: active_tab == 'withdraw' ? 'bold' : 'regular',
|
|
91
|
-
textAlign: "center",
|
|
92
|
-
size: 14,
|
|
93
|
-
color: active_tab == 'withdraw' ? _colors.default.shades.white : _colors.default.brand.midnight
|
|
94
|
-
}, "Withdraw")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
95
|
-
style: {
|
|
96
|
-
flex: 1,
|
|
97
|
-
borderWidth: 1,
|
|
98
|
-
borderColor: _colors.default.shades.shade600,
|
|
99
|
-
padding: 10,
|
|
100
|
-
borderTopRightRadius: 8,
|
|
101
|
-
borderTopLeftRadius: 8,
|
|
102
|
-
backgroundColor: active_tab == 'referral' ? _colors.default.brand.midnight : undefined
|
|
103
|
-
},
|
|
104
|
-
onPress: () => setActiveTab('referral')
|
|
105
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
106
|
-
weight: active_tab == 'referral' ? 'bold' : 'regular',
|
|
107
|
-
textAlign: "center",
|
|
108
|
-
size: 14,
|
|
109
|
-
color: active_tab == 'referral' ? _colors.default.shades.white : _colors.default.brand.midnight
|
|
110
|
-
}, "Referral"))), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
111
|
-
nativeID: "settings",
|
|
112
|
-
style: {
|
|
113
|
-
flex: 1,
|
|
114
|
-
marginLeft: 10,
|
|
115
|
-
marginRight: 10,
|
|
116
|
-
borderRightWidth: 1,
|
|
117
|
-
borderLeftWidth: 1,
|
|
118
|
-
borderBottomWidth: 1,
|
|
119
|
-
borderColor: _colors.default.shades.shade600
|
|
120
|
-
}
|
|
121
|
-
}, active_tab == 'deposit' ? /*#__PURE__*/_react.default.createElement(_reactNative.View, null, deposit_limit ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
122
|
-
nativeID: "deposit_limit"
|
|
123
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
124
|
-
style: {
|
|
125
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
126
|
-
padding: 10
|
|
127
|
-
}
|
|
128
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
129
|
-
size: 14,
|
|
130
|
-
color: _colors.default.brand.midnight,
|
|
131
|
-
weight: "semibold"
|
|
132
|
-
}, "Deposit Settings"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
133
|
-
style: {
|
|
134
|
-
marginTop: 5
|
|
135
|
-
},
|
|
136
|
-
size: 12,
|
|
137
|
-
color: _colors.default.brand.midnight,
|
|
138
|
-
weight: "regular"
|
|
139
|
-
}, "Below are your current deposit limits. These may change based on historical transaction results.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
140
|
-
style: {
|
|
141
|
-
padding: 10
|
|
142
|
-
}
|
|
143
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
144
|
-
style: {
|
|
145
|
-
flexDirection: 'row',
|
|
146
|
-
alignItems: 'flex-start',
|
|
147
|
-
padding: 5,
|
|
148
|
-
borderBottomWidth: 1,
|
|
149
|
-
borderColor: _colors.default.shades.shade100
|
|
150
|
-
}
|
|
151
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
404
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
152
405
|
style: {
|
|
153
406
|
flex: 1
|
|
154
407
|
}
|
|
155
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
},
|
|
163
|
-
size: 12,
|
|
164
|
-
color: _colors.default.brand.midnight,
|
|
165
|
-
weight: "regular"
|
|
166
|
-
}, "The maximum deposit amount allowed per day from an ACH account")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
167
|
-
style: {
|
|
168
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
169
|
-
padding: 10,
|
|
170
|
-
marginLeft: 10,
|
|
171
|
-
borderRadius: 8
|
|
172
|
-
}
|
|
173
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
174
|
-
size: 14,
|
|
175
|
-
color: _colors.default.brand.midnight,
|
|
176
|
-
weight: "bold"
|
|
177
|
-
}, "$", deposit_limit.ach_daily_limit))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
178
|
-
style: {
|
|
179
|
-
marginTop: 10,
|
|
180
|
-
flexDirection: 'row',
|
|
181
|
-
alignItems: 'flex-start',
|
|
182
|
-
padding: 5,
|
|
183
|
-
borderBottomWidth: 1,
|
|
184
|
-
borderColor: _colors.default.shades.shade100
|
|
185
|
-
}
|
|
186
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
187
|
-
style: {
|
|
188
|
-
flex: 1
|
|
189
|
-
}
|
|
190
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
191
|
-
size: 14,
|
|
192
|
-
color: _colors.default.brand.midnight,
|
|
193
|
-
weight: "semibold"
|
|
194
|
-
}, "Card / Paypal Daily Limit"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
195
|
-
style: {
|
|
196
|
-
marginTop: 5
|
|
197
|
-
},
|
|
198
|
-
size: 12,
|
|
199
|
-
color: _colors.default.brand.midnight,
|
|
200
|
-
weight: "regular"
|
|
201
|
-
}, "The maximum deposit amount allowed per day from a card account")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
202
|
-
style: {
|
|
203
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
204
|
-
padding: 10,
|
|
205
|
-
marginLeft: 10,
|
|
206
|
-
borderRadius: 8
|
|
207
|
-
}
|
|
208
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
209
|
-
size: 14,
|
|
210
|
-
color: _colors.default.brand.midnight,
|
|
211
|
-
weight: "bold"
|
|
212
|
-
}, "$", deposit_limit.card_daily_limit))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
213
|
-
style: {
|
|
214
|
-
flexDirection: 'row',
|
|
215
|
-
alignItems: 'flex-start',
|
|
216
|
-
marginTop: 10,
|
|
217
|
-
padding: 5,
|
|
218
|
-
borderBottomWidth: 1,
|
|
219
|
-
borderColor: _colors.default.shades.shade100
|
|
220
|
-
}
|
|
221
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
222
|
-
style: {
|
|
223
|
-
flex: 1
|
|
224
|
-
}
|
|
225
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
226
|
-
size: 14,
|
|
227
|
-
color: _colors.default.brand.midnight,
|
|
228
|
-
weight: "semibold"
|
|
229
|
-
}, "Instant Deposit Limit"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
230
|
-
style: {
|
|
231
|
-
marginTop: 5
|
|
232
|
-
},
|
|
233
|
-
size: 12,
|
|
234
|
-
color: _colors.default.brand.midnight,
|
|
235
|
-
weight: "regular"
|
|
236
|
-
}, "The total amount of unsettled deposits that will be instantly added to your wallet. Any deposit over this amount will be held until it settles.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
237
|
-
style: {
|
|
238
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
239
|
-
padding: 10,
|
|
240
|
-
marginLeft: 10,
|
|
241
|
-
borderRadius: 8
|
|
242
|
-
}
|
|
243
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
244
|
-
size: 14,
|
|
245
|
-
color: _colors.default.brand.midnight,
|
|
246
|
-
weight: "bold"
|
|
247
|
-
}, "$", deposit_limit.instant_limit))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
248
|
-
style: {
|
|
249
|
-
marginTop: 10,
|
|
250
|
-
flexDirection: 'row',
|
|
251
|
-
alignItems: 'flex-start',
|
|
252
|
-
padding: 5,
|
|
253
|
-
borderBottomWidth: 1,
|
|
254
|
-
borderColor: _colors.default.shades.shade100
|
|
255
|
-
}
|
|
256
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
257
|
-
style: {
|
|
258
|
-
flex: 1
|
|
259
|
-
}
|
|
260
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
261
|
-
size: 14,
|
|
262
|
-
color: _colors.default.brand.midnight,
|
|
263
|
-
weight: "semibold"
|
|
264
|
-
}, "Hold Days"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
265
|
-
style: {
|
|
266
|
-
marginTop: 5
|
|
267
|
-
},
|
|
268
|
-
size: 12,
|
|
269
|
-
color: _colors.default.brand.midnight,
|
|
270
|
-
weight: "regular"
|
|
271
|
-
}, "The number of days a deposit transaction will be held (not settled) before it can be withdrawn")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
272
|
-
style: {
|
|
273
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
274
|
-
padding: 10,
|
|
275
|
-
marginLeft: 10,
|
|
276
|
-
borderRadius: 8
|
|
277
|
-
}
|
|
278
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
279
|
-
size: 14,
|
|
280
|
-
color: _colors.default.brand.midnight,
|
|
281
|
-
weight: "bold"
|
|
282
|
-
}, deposit_limit.hold_days))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
283
|
-
style: {
|
|
284
|
-
flexDirection: 'row',
|
|
285
|
-
alignItems: 'flex-start',
|
|
286
|
-
marginTop: 10,
|
|
287
|
-
padding: 5,
|
|
288
|
-
borderBottomWidth: 1,
|
|
289
|
-
borderColor: _colors.default.shades.shade100
|
|
290
|
-
}
|
|
291
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
292
|
-
style: {
|
|
293
|
-
flex: 1
|
|
294
|
-
}
|
|
295
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
296
|
-
size: 14,
|
|
297
|
-
color: _colors.default.brand.midnight,
|
|
298
|
-
weight: "semibold"
|
|
299
|
-
}, "Instant Deposit Available"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
300
|
-
style: {
|
|
301
|
-
marginTop: 5
|
|
302
|
-
},
|
|
303
|
-
size: 12,
|
|
304
|
-
color: _colors.default.brand.midnight,
|
|
305
|
-
weight: "regular"
|
|
306
|
-
}, "Your instant deposit limit minus your unsettled deposits")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
307
|
-
style: {
|
|
308
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
309
|
-
padding: 10,
|
|
310
|
-
marginLeft: 10,
|
|
311
|
-
borderRadius: 8
|
|
312
|
-
}
|
|
313
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
314
|
-
size: 14,
|
|
315
|
-
color: deposit_limit.instant_available > 0 ? _colors.default.utility.success : _colors.default.utility.error,
|
|
316
|
-
weight: "bold"
|
|
317
|
-
}, "$", deposit_limit.instant_available.toFixed(2)))))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)) : active_tab == 'withdraw' ? /*#__PURE__*/_react.default.createElement(_reactNative.View, null, withdraw_limit ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
318
|
-
nativeID: "withdraw_settings"
|
|
319
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
320
|
-
style: {
|
|
321
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
322
|
-
padding: 10
|
|
323
|
-
}
|
|
324
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
325
|
-
size: 14,
|
|
326
|
-
color: _colors.default.brand.midnight,
|
|
327
|
-
weight: "semibold"
|
|
328
|
-
}, "Withdraw Settings"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
329
|
-
style: {
|
|
330
|
-
marginTop: 5
|
|
331
|
-
},
|
|
332
|
-
size: 12,
|
|
333
|
-
color: _colors.default.brand.midnight,
|
|
334
|
-
weight: "regular"
|
|
335
|
-
}, "Below are your current withdraw settings and limits. These may change based on historical transaction results.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
336
|
-
style: {
|
|
337
|
-
padding: 10
|
|
338
|
-
}
|
|
339
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
340
|
-
style: {
|
|
341
|
-
flexDirection: 'row',
|
|
342
|
-
alignItems: 'flex-start',
|
|
343
|
-
padding: 5,
|
|
344
|
-
borderBottomWidth: 1,
|
|
345
|
-
borderColor: _colors.default.shades.shade100
|
|
346
|
-
}
|
|
347
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
348
|
-
style: {
|
|
349
|
-
flex: 1
|
|
350
|
-
}
|
|
351
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
352
|
-
size: 14,
|
|
353
|
-
color: _colors.default.brand.midnight,
|
|
354
|
-
weight: "semibold"
|
|
355
|
-
}, "Weekly Withdraw Transaction Limit"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
356
|
-
style: {
|
|
357
|
-
marginTop: 5
|
|
358
|
-
},
|
|
359
|
-
size: 12,
|
|
360
|
-
color: _colors.default.brand.midnight,
|
|
361
|
-
weight: "regular"
|
|
362
|
-
}, "The number of withdraws allowed per rolling week.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
363
|
-
style: {
|
|
364
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
365
|
-
padding: 10,
|
|
366
|
-
marginLeft: 10,
|
|
367
|
-
borderRadius: 8
|
|
368
|
-
}
|
|
369
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
370
|
-
size: 14,
|
|
371
|
-
color: _colors.default.brand.midnight,
|
|
372
|
-
weight: "bold"
|
|
373
|
-
}, withdraw_limit.withdraws_per_week))), withdraw_limit?.week_withdraw_count ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
374
|
-
style: {
|
|
375
|
-
marginTop: 10,
|
|
376
|
-
flexDirection: 'row',
|
|
377
|
-
alignItems: 'flex-start',
|
|
378
|
-
padding: 5,
|
|
379
|
-
borderBottomWidth: 1,
|
|
380
|
-
borderColor: _colors.default.shades.shade100
|
|
381
|
-
}
|
|
382
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
383
|
-
style: {
|
|
384
|
-
flex: 1
|
|
385
|
-
}
|
|
386
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
387
|
-
size: 14,
|
|
388
|
-
color: _colors.default.brand.midnight,
|
|
389
|
-
weight: "semibold"
|
|
390
|
-
}, "Withdraws Remaining"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
391
|
-
style: {
|
|
392
|
-
marginTop: 5
|
|
393
|
-
},
|
|
394
|
-
size: 12,
|
|
395
|
-
color: _colors.default.brand.midnight,
|
|
396
|
-
weight: "regular"
|
|
397
|
-
}, "Withdraw transaction limit minus the number of withdraws already processed in the last 7 days")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
398
|
-
style: {
|
|
399
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
400
|
-
padding: 10,
|
|
401
|
-
marginLeft: 10,
|
|
402
|
-
borderRadius: 8
|
|
403
|
-
}
|
|
404
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
405
|
-
size: 14,
|
|
406
|
-
color: _colors.default.brand.midnight,
|
|
407
|
-
weight: "bold"
|
|
408
|
-
}, withdraw_limit.withdraws_per_week - withdraw_limit.week_withdraw_count))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
409
|
-
style: {
|
|
410
|
-
marginTop: 10,
|
|
411
|
-
flexDirection: 'row',
|
|
412
|
-
alignItems: 'flex-start',
|
|
413
|
-
padding: 5,
|
|
414
|
-
borderBottomWidth: 1,
|
|
415
|
-
borderColor: _colors.default.shades.shade100
|
|
416
|
-
}
|
|
417
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
418
|
-
style: {
|
|
419
|
-
flex: 1
|
|
420
|
-
}
|
|
421
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
422
|
-
size: 14,
|
|
423
|
-
color: _colors.default.brand.midnight,
|
|
424
|
-
weight: "semibold"
|
|
425
|
-
}, "ACH Withdraw Daily Limit"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
426
|
-
style: {
|
|
427
|
-
marginTop: 5
|
|
428
|
-
},
|
|
429
|
-
size: 12,
|
|
430
|
-
color: _colors.default.brand.midnight,
|
|
431
|
-
weight: "regular"
|
|
432
|
-
}, "Maximum amount of withdraws that can be made per rolling 24 hours to an ACH account.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
433
|
-
style: {
|
|
434
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
435
|
-
padding: 10,
|
|
436
|
-
marginLeft: 10,
|
|
437
|
-
borderRadius: 8
|
|
438
|
-
}
|
|
439
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
440
|
-
size: 14,
|
|
441
|
-
color: _colors.default.brand.midnight,
|
|
442
|
-
weight: "bold"
|
|
443
|
-
}, withdraw_limit.ach_daily_limit))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
444
|
-
style: {
|
|
445
|
-
marginTop: 10,
|
|
446
|
-
flexDirection: 'row',
|
|
447
|
-
alignItems: 'flex-start',
|
|
448
|
-
padding: 5,
|
|
449
|
-
borderBottomWidth: 1,
|
|
450
|
-
borderColor: _colors.default.shades.shade100
|
|
451
|
-
}
|
|
452
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
453
|
-
style: {
|
|
454
|
-
flex: 1
|
|
455
|
-
}
|
|
456
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
457
|
-
size: 14,
|
|
458
|
-
color: _colors.default.brand.midnight,
|
|
459
|
-
weight: "semibold"
|
|
460
|
-
}, "Card Withdraw Daily Limit"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
461
|
-
style: {
|
|
462
|
-
marginTop: 5
|
|
463
|
-
},
|
|
464
|
-
size: 12,
|
|
465
|
-
color: _colors.default.brand.midnight,
|
|
466
|
-
weight: "regular"
|
|
467
|
-
}, "Maximum amount of withdraws that can be made per rolling 24 hours to a card account.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
468
|
-
style: {
|
|
469
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
470
|
-
padding: 10,
|
|
471
|
-
marginLeft: 10,
|
|
472
|
-
borderRadius: 8
|
|
473
|
-
}
|
|
474
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
475
|
-
size: 14,
|
|
476
|
-
color: _colors.default.brand.midnight,
|
|
477
|
-
weight: "bold"
|
|
478
|
-
}, withdraw_limit.card_daily_limit))))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)) : active_tab == 'referral' ? /*#__PURE__*/_react.default.createElement(_reactNative.View, null, player_referral && promo ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
479
|
-
nativeID: "referral_settings"
|
|
480
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
481
|
-
style: {
|
|
482
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
483
|
-
padding: 10
|
|
484
|
-
}
|
|
485
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
486
|
-
size: 14,
|
|
487
|
-
color: _colors.default.brand.midnight,
|
|
488
|
-
weight: "semibold"
|
|
489
|
-
}, "Referral Settings"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
490
|
-
style: {
|
|
491
|
-
marginTop: 5
|
|
492
|
-
},
|
|
493
|
-
size: 12,
|
|
494
|
-
color: _colors.default.brand.midnight,
|
|
495
|
-
weight: "regular"
|
|
496
|
-
}, "Below are your current referral settings. Share your code with others to earn cash from referrals.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
497
|
-
style: {
|
|
498
|
-
padding: 10
|
|
499
|
-
}
|
|
500
|
-
}, false ? /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
408
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
|
|
409
|
+
data: sections,
|
|
410
|
+
key: `setting_sections`,
|
|
411
|
+
renderItem: renderSections,
|
|
412
|
+
keyExtractor: item => item
|
|
413
|
+
})), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
414
|
+
type: "footer",
|
|
501
415
|
style: {
|
|
502
416
|
flexDirection: 'row',
|
|
503
417
|
alignItems: 'center',
|
|
504
|
-
padding:
|
|
505
|
-
borderRadius: 8,
|
|
506
|
-
backgroundColor: _colors.default.brand.electric
|
|
507
|
-
}
|
|
508
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Icons.ShareIcon, {
|
|
509
|
-
color: _colors.default.shades.white,
|
|
510
|
-
size: 8
|
|
511
|
-
}), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
512
|
-
style: {
|
|
513
|
-
marginLeft: 5
|
|
514
|
-
},
|
|
515
|
-
size: 10,
|
|
516
|
-
color: _colors.default.shades.white,
|
|
517
|
-
weight: "regular"
|
|
518
|
-
}, "Share Code")) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
519
|
-
style: {
|
|
520
|
-
flexDirection: 'row',
|
|
521
|
-
alignItems: 'flex-start',
|
|
522
|
-
padding: 5,
|
|
523
|
-
borderBottomWidth: 1,
|
|
524
|
-
borderColor: _colors.default.shades.shade100
|
|
418
|
+
padding: 20
|
|
525
419
|
}
|
|
526
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
420
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Button, {
|
|
421
|
+
title: "BACK",
|
|
422
|
+
type: "close",
|
|
527
423
|
style: {
|
|
528
424
|
flex: 1
|
|
529
|
-
}
|
|
530
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
531
|
-
size: 14,
|
|
532
|
-
color: _colors.default.brand.midnight,
|
|
533
|
-
weight: "semibold"
|
|
534
|
-
}, "My Referral Code"), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
535
|
-
style: {
|
|
536
|
-
marginTop: 5
|
|
537
|
-
},
|
|
538
|
-
size: 12,
|
|
539
|
-
color: _colors.default.brand.midnight,
|
|
540
|
-
weight: "regular"
|
|
541
|
-
}, _api.WalletHelpers.getReferralDescription(promo))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
542
|
-
style: {
|
|
543
|
-
backgroundColor: _colors.default.shades.shade100,
|
|
544
|
-
padding: 10,
|
|
545
|
-
marginLeft: 10,
|
|
546
|
-
borderRadius: 8
|
|
547
|
-
}
|
|
548
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
549
|
-
size: 14,
|
|
550
|
-
color: _colors.default.brand.midnight,
|
|
551
|
-
weight: "bold"
|
|
552
|
-
}, player_referral.referral_code))))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)), false && player?.type == 'freemium' ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
553
|
-
style: {
|
|
554
|
-
backgroundColor: _colors.default.shades.shade600,
|
|
555
|
-
borderRadius: 8,
|
|
556
|
-
padding: 10,
|
|
557
|
-
margin: 10
|
|
558
|
-
}
|
|
559
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
560
|
-
size: 14,
|
|
561
|
-
color: _colors.default.brand.midnight,
|
|
562
|
-
weight: "semibold",
|
|
563
|
-
textAlign: "center"
|
|
564
|
-
}, "Want better limits and higher referral awards?"), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
565
|
-
style: {
|
|
566
|
-
marginTop: 5,
|
|
567
|
-
borderRadius: 8,
|
|
568
|
-
backgroundColor: _colors.default.incentive.gold,
|
|
569
|
-
padding: 15
|
|
570
425
|
},
|
|
571
|
-
onPress: () => {
|
|
572
|
-
if (onPremium) {
|
|
573
|
-
return onPremium();
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
577
|
-
size: 14,
|
|
578
|
-
color: _colors.default.shades.white,
|
|
579
|
-
weight: "bold",
|
|
580
|
-
textAlign: "center"
|
|
581
|
-
}, "VIEW PREMIUM"))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
582
|
-
style: {
|
|
583
|
-
padding: 20
|
|
584
|
-
}
|
|
585
|
-
}, /*#__PURE__*/_react.default.createElement(_Components.Button, {
|
|
586
|
-
title: "BACK",
|
|
587
|
-
title_color: _colors.default.brand.electric,
|
|
588
|
-
borderWidth: 1,
|
|
589
|
-
borderColor: _colors.default.brand.electric,
|
|
590
|
-
padding: 15,
|
|
591
426
|
onPress: () => onClose()
|
|
592
427
|
})));
|
|
593
428
|
};
|