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
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
2
|
+
import { FlatList, Image } from 'react-native';
|
|
3
|
+
import { Icons } from '../../Components';
|
|
4
|
+
import { useColors } from '../../constants/useColors';
|
|
5
|
+
import { Button, Text, View } from '../../Components/Themed';
|
|
6
|
+
const ach_add_sections = ['header', 'sub_header', 'link', 'manual'];
|
|
6
7
|
const ACHAddCard = ({
|
|
7
8
|
accounts,
|
|
8
9
|
onClose,
|
|
@@ -10,199 +11,230 @@ const ACHAddCard = ({
|
|
|
10
11
|
onManualACH,
|
|
11
12
|
onLinkACH
|
|
12
13
|
}) => {
|
|
13
|
-
|
|
14
|
-
//const [ add_type, setAddType ] = useState('manual');
|
|
14
|
+
const Colors = useColors();
|
|
15
15
|
const manual_account = accounts.find(a => a.ach_detail && a.ach_detail.ach_type == 'manual');
|
|
16
16
|
const ibt_account = accounts.find(a => a.ach_detail && a.ach_detail.ach_type == 'ibf' && !a.ibt_placeholder);
|
|
17
|
+
const renderSections = data => {
|
|
18
|
+
switch (data.item) {
|
|
19
|
+
case 'header':
|
|
20
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
21
|
+
style: {
|
|
22
|
+
padding: 20
|
|
23
|
+
}
|
|
24
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
25
|
+
theme: "h1"
|
|
26
|
+
}, "GET ACCESS TO YOUR WINNINGS"), /*#__PURE__*/React.createElement(Text, {
|
|
27
|
+
style: {
|
|
28
|
+
marginTop: 5
|
|
29
|
+
},
|
|
30
|
+
theme: "description"
|
|
31
|
+
}, "At BettorEdge - we celebrate withdraws! In order to move funds out of your BettorEdge account, you will need to add an eligible bank account."));
|
|
32
|
+
case 'sub_header':
|
|
33
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
34
|
+
style: {
|
|
35
|
+
padding: 20
|
|
36
|
+
}
|
|
37
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
38
|
+
theme: "h1"
|
|
39
|
+
}, "ADD ACH ACCOUNT OPTIONS"));
|
|
40
|
+
case 'link':
|
|
41
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
42
|
+
float: true,
|
|
43
|
+
style: {
|
|
44
|
+
padding: 20,
|
|
45
|
+
borderRadius: 8
|
|
46
|
+
}
|
|
47
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
48
|
+
transparent: true,
|
|
49
|
+
style: {
|
|
50
|
+
flexDirection: 'row'
|
|
51
|
+
}
|
|
52
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
53
|
+
float: true,
|
|
54
|
+
style: {
|
|
55
|
+
backgroundColor: Colors.text.white,
|
|
56
|
+
borderRadius: 100,
|
|
57
|
+
height: 50,
|
|
58
|
+
width: 50,
|
|
59
|
+
justifyContent: 'center',
|
|
60
|
+
alignItems: 'center'
|
|
61
|
+
}
|
|
62
|
+
}, /*#__PURE__*/React.createElement(Icons.PlaidIcon, {
|
|
63
|
+
size: 30
|
|
64
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
65
|
+
transparent: true,
|
|
66
|
+
style: {
|
|
67
|
+
flex: 1,
|
|
68
|
+
marginLeft: 10
|
|
69
|
+
}
|
|
70
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
71
|
+
size: 14,
|
|
72
|
+
theme: "h1"
|
|
73
|
+
}, "Link your account using PLAID"), /*#__PURE__*/React.createElement(Text, {
|
|
74
|
+
style: {
|
|
75
|
+
marginTop: 3
|
|
76
|
+
},
|
|
77
|
+
size: 12,
|
|
78
|
+
theme: "description"
|
|
79
|
+
}, "When you link an account you get access to both instant deposits and instant withdraws."))), !ibt_account ? /*#__PURE__*/React.createElement(Button, {
|
|
80
|
+
float: true,
|
|
81
|
+
style: {
|
|
82
|
+
marginTop: 20,
|
|
83
|
+
padding: 3,
|
|
84
|
+
flexDirection: 'row',
|
|
85
|
+
alignItems: 'center',
|
|
86
|
+
borderRadius: 30
|
|
87
|
+
},
|
|
88
|
+
onPress: () => onLinkACH()
|
|
89
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
90
|
+
transparent: true,
|
|
91
|
+
style: {
|
|
92
|
+
height: 50,
|
|
93
|
+
width: 110,
|
|
94
|
+
borderRadius: 100,
|
|
95
|
+
justifyContent: 'center',
|
|
96
|
+
alignItems: 'center',
|
|
97
|
+
borderWidth: 1,
|
|
98
|
+
borderColor: Colors.borders.light
|
|
99
|
+
}
|
|
100
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
101
|
+
source: {
|
|
102
|
+
uri: 'https://res.cloudinary.com/hoabts6mc/image/upload/v1695821528/1630344814441_wjq98b.png'
|
|
103
|
+
},
|
|
104
|
+
style: {
|
|
105
|
+
width: 50,
|
|
106
|
+
height: 30
|
|
107
|
+
},
|
|
108
|
+
resizeMode: "cover"
|
|
109
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
110
|
+
transparent: true,
|
|
111
|
+
style: {
|
|
112
|
+
flex: 1,
|
|
113
|
+
marginLeft: 10
|
|
114
|
+
}
|
|
115
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
116
|
+
size: 14,
|
|
117
|
+
theme: "h1",
|
|
118
|
+
weight: "bold"
|
|
119
|
+
}, "LINK ACH ACCOUNT"))) : /*#__PURE__*/React.createElement(View, {
|
|
120
|
+
transparent: true,
|
|
121
|
+
style: {
|
|
122
|
+
position: 'absolute',
|
|
123
|
+
top: 5,
|
|
124
|
+
right: 5,
|
|
125
|
+
bottom: 0
|
|
126
|
+
}
|
|
127
|
+
}, /*#__PURE__*/React.createElement(Icons.TransactionSuccessIcon, {
|
|
128
|
+
size: 45
|
|
129
|
+
})));
|
|
130
|
+
case 'manual':
|
|
131
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
132
|
+
float: true,
|
|
133
|
+
style: {
|
|
134
|
+
marginTop: 20,
|
|
135
|
+
padding: 20,
|
|
136
|
+
borderRadius: 8
|
|
137
|
+
}
|
|
138
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
139
|
+
transparent: true,
|
|
140
|
+
style: {
|
|
141
|
+
flexDirection: 'row'
|
|
142
|
+
}
|
|
143
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
144
|
+
float: true,
|
|
145
|
+
style: {
|
|
146
|
+
height: 50,
|
|
147
|
+
width: 50,
|
|
148
|
+
borderRadius: 100,
|
|
149
|
+
justifyContent: 'center',
|
|
150
|
+
alignItems: 'center'
|
|
151
|
+
}
|
|
152
|
+
}, /*#__PURE__*/React.createElement(Icons.BankIcon, {
|
|
153
|
+
color: Colors.text.h1,
|
|
154
|
+
size: 30
|
|
155
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
156
|
+
transparent: true,
|
|
157
|
+
style: {
|
|
158
|
+
flex: 1,
|
|
159
|
+
marginLeft: 10
|
|
160
|
+
}
|
|
161
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
162
|
+
size: 14,
|
|
163
|
+
theme: "h1"
|
|
164
|
+
}, "Manually add an account"), /*#__PURE__*/React.createElement(Text, {
|
|
165
|
+
style: {
|
|
166
|
+
marginTop: 3
|
|
167
|
+
},
|
|
168
|
+
size: 12,
|
|
169
|
+
theme: "description"
|
|
170
|
+
}, "Verify the account in 1-3 business days and start transacting."))), !manual_account ? /*#__PURE__*/React.createElement(Button, {
|
|
171
|
+
float: true,
|
|
172
|
+
style: {
|
|
173
|
+
marginTop: 20,
|
|
174
|
+
padding: 3,
|
|
175
|
+
flexDirection: 'row',
|
|
176
|
+
alignItems: 'center',
|
|
177
|
+
borderRadius: 30
|
|
178
|
+
},
|
|
179
|
+
onPress: () => onManualACH()
|
|
180
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
181
|
+
float: true,
|
|
182
|
+
style: {
|
|
183
|
+
height: 50,
|
|
184
|
+
width: 50,
|
|
185
|
+
borderRadius: 100,
|
|
186
|
+
justifyContent: 'center',
|
|
187
|
+
alignItems: 'center'
|
|
188
|
+
}
|
|
189
|
+
}, /*#__PURE__*/React.createElement(Icons.BankIcon, {
|
|
190
|
+
size: 22,
|
|
191
|
+
color: Colors.text.h1
|
|
192
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
193
|
+
transparent: true,
|
|
194
|
+
style: {
|
|
195
|
+
flex: 1,
|
|
196
|
+
marginLeft: 10
|
|
197
|
+
}
|
|
198
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
199
|
+
size: 14,
|
|
200
|
+
theme: "h1"
|
|
201
|
+
}, "ADD MANUAL ACH ACCOUNT"))) : /*#__PURE__*/React.createElement(View, {
|
|
202
|
+
transparent: true,
|
|
203
|
+
style: {
|
|
204
|
+
position: 'absolute',
|
|
205
|
+
top: 5,
|
|
206
|
+
right: 5,
|
|
207
|
+
bottom: 0,
|
|
208
|
+
alignItems: 'flex-end'
|
|
209
|
+
}
|
|
210
|
+
}, /*#__PURE__*/React.createElement(Icons.TransactionSuccessIcon, {
|
|
211
|
+
size: 45
|
|
212
|
+
}), manual_account?.status == 'verify' ? /*#__PURE__*/React.createElement(View, {
|
|
213
|
+
transparent: true,
|
|
214
|
+
style: {
|
|
215
|
+
marginTop: -10,
|
|
216
|
+
marginRight: 20,
|
|
217
|
+
padding: 10,
|
|
218
|
+
borderRadius: 8
|
|
219
|
+
}
|
|
220
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
221
|
+
size: 14,
|
|
222
|
+
theme: "description"
|
|
223
|
+
}, "Manual ACH account is pending verification")) : /*#__PURE__*/React.createElement(React.Fragment, null)));
|
|
224
|
+
default:
|
|
225
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
17
228
|
return /*#__PURE__*/React.createElement(View, {
|
|
18
229
|
style: {
|
|
19
230
|
flex: 1
|
|
20
231
|
}
|
|
21
|
-
}, /*#__PURE__*/React.createElement(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
size: 26,
|
|
27
|
-
color: Colors.brand.midnight,
|
|
28
|
-
weight: "bold"
|
|
29
|
-
}, "GET ACCESS TO YOUR WINNINGS"), /*#__PURE__*/React.createElement(Text, {
|
|
30
|
-
style: {
|
|
31
|
-
marginTop: 10
|
|
32
|
-
},
|
|
33
|
-
size: 16,
|
|
34
|
-
color: Colors.brand.midnight,
|
|
35
|
-
weight: "regular"
|
|
36
|
-
}, "At BettorEdge - we celebrate withdraws! In order to move funds out of your BettorEdge account, you will need to add an eligible bank account.")), /*#__PURE__*/React.createElement(ScrollView, {
|
|
37
|
-
style: {
|
|
38
|
-
flex: 1,
|
|
39
|
-
padding: 20
|
|
40
|
-
}
|
|
41
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
42
|
-
style: {
|
|
43
|
-
marginBottom: 20
|
|
44
|
-
},
|
|
45
|
-
size: 18,
|
|
46
|
-
color: Colors.brand.midnight,
|
|
47
|
-
weight: "bold"
|
|
48
|
-
}, "ACH ACCOUNT OPTIONS"), /*#__PURE__*/React.createElement(View, {
|
|
49
|
-
style: {
|
|
50
|
-
padding: 20,
|
|
51
|
-
backgroundColor: Colors.shades.shade600,
|
|
52
|
-
borderRadius: 8
|
|
53
|
-
}
|
|
54
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
55
|
-
style: {
|
|
56
|
-
flexDirection: 'row'
|
|
57
|
-
}
|
|
58
|
-
}, /*#__PURE__*/React.createElement(Icons.PlaidIcon, {
|
|
59
|
-
size: 35
|
|
232
|
+
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
233
|
+
data: ach_add_sections,
|
|
234
|
+
key: 'ach_add_sections',
|
|
235
|
+
keyExtractor: item => item,
|
|
236
|
+
renderItem: renderSections
|
|
60
237
|
}), /*#__PURE__*/React.createElement(View, {
|
|
61
|
-
style: {
|
|
62
|
-
flex: 1,
|
|
63
|
-
marginLeft: 10
|
|
64
|
-
}
|
|
65
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
66
|
-
size: 14,
|
|
67
|
-
color: Colors.brand.midnight,
|
|
68
|
-
weight: "bold"
|
|
69
|
-
}, "Link your account using PLAID"), /*#__PURE__*/React.createElement(Text, {
|
|
70
|
-
style: {
|
|
71
|
-
marginTop: 3
|
|
72
|
-
},
|
|
73
|
-
size: 12,
|
|
74
|
-
color: Colors.brand.midnight,
|
|
75
|
-
weight: "regular"
|
|
76
|
-
}, "When you link an account you get access to both instant deposits and instant withdraws."))), !ibt_account ? /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
77
|
-
style: {
|
|
78
|
-
marginTop: 20,
|
|
79
|
-
padding: 3,
|
|
80
|
-
flexDirection: 'row',
|
|
81
|
-
alignItems: 'center',
|
|
82
|
-
borderRadius: 30,
|
|
83
|
-
backgroundColor: Colors.shades.white
|
|
84
|
-
},
|
|
85
|
-
onPress: () => onLinkACH()
|
|
86
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
87
|
-
style: {
|
|
88
|
-
height: 50,
|
|
89
|
-
width: 110,
|
|
90
|
-
borderRadius: 100,
|
|
91
|
-
justifyContent: 'center',
|
|
92
|
-
alignItems: 'center',
|
|
93
|
-
borderWidth: 1,
|
|
94
|
-
borderColor: Colors.brand.cobalt
|
|
95
|
-
}
|
|
96
|
-
}, /*#__PURE__*/React.createElement(Image, {
|
|
97
|
-
source: {
|
|
98
|
-
uri: 'https://res.cloudinary.com/hoabts6mc/image/upload/v1695821528/1630344814441_wjq98b.png'
|
|
99
|
-
},
|
|
100
|
-
style: {
|
|
101
|
-
width: 50,
|
|
102
|
-
height: 30
|
|
103
|
-
},
|
|
104
|
-
resizeMode: "cover"
|
|
105
|
-
})), /*#__PURE__*/React.createElement(View, {
|
|
106
|
-
style: {
|
|
107
|
-
flex: 1
|
|
108
|
-
}
|
|
109
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
110
|
-
size: 14,
|
|
111
|
-
color: Colors.brand.cobalt,
|
|
112
|
-
textAlign: "center",
|
|
113
|
-
weight: "bold"
|
|
114
|
-
}, "LINK ACH ACCOUNT"))) : /*#__PURE__*/React.createElement(View, {
|
|
115
|
-
style: {
|
|
116
|
-
position: 'absolute',
|
|
117
|
-
top: 5,
|
|
118
|
-
right: 5,
|
|
119
|
-
bottom: 0
|
|
120
|
-
}
|
|
121
|
-
}, /*#__PURE__*/React.createElement(Icons.TransactionSuccessIcon, {
|
|
122
|
-
size: 45
|
|
123
|
-
}))), /*#__PURE__*/React.createElement(View, {
|
|
124
|
-
style: {
|
|
125
|
-
marginTop: 20,
|
|
126
|
-
padding: 20,
|
|
127
|
-
backgroundColor: Colors.shades.shade600,
|
|
128
|
-
borderRadius: 8
|
|
129
|
-
}
|
|
130
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
131
|
-
style: {
|
|
132
|
-
flexDirection: 'row'
|
|
133
|
-
}
|
|
134
|
-
}, /*#__PURE__*/React.createElement(Icons.BankIcon, {
|
|
135
|
-
color: Colors.brand.midnight,
|
|
136
|
-
size: 34
|
|
137
|
-
}), /*#__PURE__*/React.createElement(View, {
|
|
138
|
-
style: {
|
|
139
|
-
flex: 1,
|
|
140
|
-
marginLeft: 10
|
|
141
|
-
}
|
|
142
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
143
|
-
size: 14,
|
|
144
|
-
color: Colors.brand.midnight,
|
|
145
|
-
weight: "bold"
|
|
146
|
-
}, "Manually add an account"), /*#__PURE__*/React.createElement(Text, {
|
|
147
|
-
style: {
|
|
148
|
-
marginTop: 3
|
|
149
|
-
},
|
|
150
|
-
size: 12,
|
|
151
|
-
color: Colors.brand.midnight,
|
|
152
|
-
weight: "regular"
|
|
153
|
-
}, "Verify the account in 1-3 business days and start transacting."))), !manual_account ? /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
154
|
-
style: {
|
|
155
|
-
marginTop: 20,
|
|
156
|
-
padding: 3,
|
|
157
|
-
flexDirection: 'row',
|
|
158
|
-
alignItems: 'center',
|
|
159
|
-
borderRadius: 30,
|
|
160
|
-
backgroundColor: Colors.brand.midnight
|
|
161
|
-
},
|
|
162
|
-
onPress: () => onManualACH()
|
|
163
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
164
|
-
style: {
|
|
165
|
-
height: 50,
|
|
166
|
-
width: 50,
|
|
167
|
-
borderRadius: 100,
|
|
168
|
-
justifyContent: 'center',
|
|
169
|
-
alignItems: 'center',
|
|
170
|
-
backgroundColor: Colors.shades.white
|
|
171
|
-
}
|
|
172
|
-
}, /*#__PURE__*/React.createElement(Icons.BankIcon, {
|
|
173
|
-
size: 22,
|
|
174
|
-
color: Colors.brand.midnight
|
|
175
|
-
})), /*#__PURE__*/React.createElement(View, {
|
|
176
|
-
style: {
|
|
177
|
-
flex: 1
|
|
178
|
-
}
|
|
179
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
180
|
-
size: 14,
|
|
181
|
-
color: Colors.shades.white,
|
|
182
|
-
textAlign: "center",
|
|
183
|
-
weight: "bold"
|
|
184
|
-
}, "ADD MANUAL ACH ACCOUNT"))) : /*#__PURE__*/React.createElement(View, {
|
|
185
|
-
style: {
|
|
186
|
-
position: 'absolute',
|
|
187
|
-
top: 5,
|
|
188
|
-
right: 5,
|
|
189
|
-
bottom: 0,
|
|
190
|
-
alignItems: 'flex-end'
|
|
191
|
-
}
|
|
192
|
-
}, /*#__PURE__*/React.createElement(Icons.TransactionSuccessIcon, {
|
|
193
|
-
size: 45
|
|
194
|
-
}), manual_account?.status == 'verify' ? /*#__PURE__*/React.createElement(View, {
|
|
195
|
-
style: {
|
|
196
|
-
marginTop: -10,
|
|
197
|
-
marginRight: 20,
|
|
198
|
-
padding: 10,
|
|
199
|
-
borderRadius: 8,
|
|
200
|
-
backgroundColor: Colors.highlights.highlight200
|
|
201
|
-
}
|
|
202
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
203
|
-
size: 14,
|
|
204
|
-
color: Colors.brand.midnight
|
|
205
|
-
}, "Manual ACH account is pending verification")) : /*#__PURE__*/React.createElement(React.Fragment, null)))), /*#__PURE__*/React.createElement(View, {
|
|
206
238
|
nativeID: "action_row",
|
|
207
239
|
style: {
|
|
208
240
|
flexDirection: 'row',
|
|
@@ -211,11 +243,18 @@ const ACHAddCard = ({
|
|
|
211
243
|
}
|
|
212
244
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
213
245
|
title: !ibt_account && !manual_account ? 'DO THIS LATER' : 'All Set!',
|
|
214
|
-
title_color: !ibt_account && !manual_account ? Colors.
|
|
246
|
+
title_color: !ibt_account && !manual_account ? Colors.text.error : Colors.text.success,
|
|
215
247
|
backgroundColor: "transparent",
|
|
216
248
|
onPress: () => onClose()
|
|
217
|
-
}), /*#__PURE__*/React.createElement(
|
|
218
|
-
|
|
249
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
250
|
+
float: true,
|
|
251
|
+
style: {
|
|
252
|
+
borderRadius: 100,
|
|
253
|
+
height: 50,
|
|
254
|
+
width: 50,
|
|
255
|
+
justifyContent: 'center',
|
|
256
|
+
alignItems: 'center'
|
|
257
|
+
},
|
|
219
258
|
onPress: () => {
|
|
220
259
|
if (ibt_account) {
|
|
221
260
|
return onNext(ibt_account);
|
|
@@ -229,7 +268,7 @@ const ACHAddCard = ({
|
|
|
229
268
|
}, /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
230
269
|
size: 20,
|
|
231
270
|
direction: "right",
|
|
232
|
-
color: Colors.
|
|
271
|
+
color: Colors.text.h1
|
|
233
272
|
}))));
|
|
234
273
|
};
|
|
235
274
|
export default ACHAddCard;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","FlatList","Image","Icons","useColors","Button","Text","View","ach_add_sections","ACHAddCard","accounts","onClose","onNext","onManualACH","onLinkACH","Colors","manual_account","find","a","ach_detail","ach_type","ibt_account","ibt_placeholder","renderSections","data","item","createElement","style","padding","theme","marginTop","float","borderRadius","transparent","flexDirection","backgroundColor","text","white","height","width","justifyContent","alignItems","PlaidIcon","size","flex","marginLeft","onPress","borderWidth","borderColor","borders","light","source","uri","resizeMode","weight","position","top","right","bottom","TransactionSuccessIcon","BankIcon","color","h1","status","marginRight","Fragment","key","keyExtractor","renderItem","nativeID","title","title_color","error","success","disabled","ChevronIcon","direction"],"sourceRoot":"../../../../src","sources":["Wallet/components/ACHAddCard.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;A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AAC,eACFX,KAAA,CAAA0B,aAAA,CAACrB,MAAM;IACH0B,KAAK;IACLJ,KAAK,EAAE;MAAEK,YAAY,EAAC,GAAG;MAAEM,MAAM,EAAC,EAAE;MAAEC,KAAK,EAAC,EAAE;MAAEC,cAAc,EAAC,QAAQ;MAAEC,UAAU,EAAC;IAAS,CAAE;IAC/FK,OAAO,EAAEA,CAAA,KAAM;MACX,IAAGzB,WAAW,EAAE;QAAE,OAAOT,MAAM,CAACS,WAAW,CAAC;MAAC;MAC7C,IAAGL,cAAc,EAAC;QAAE,OAAOJ,MAAM,CAACI,cAAc,CAAC;MAAC;MAClD;IACJ,CAAE;IACF0D,QAAQ,EAAE1D,cAAc,IAAIK,WAAW,GAAG,KAAK,GAAG;EAAK,gBAEvDrB,KAAA,CAAA0B,aAAA,CAACvB,KAAK,CAACwE,WAAW;IAAChC,IAAI,EAAE,EAAG;IAACiC,SAAS,EAAC,OAAO;IAACf,KAAK,EAAE9C,MAAM,CAACqB,IAAI,CAAC0B;EAAG,CAAC,CAClE,CACN,CACJ,CAAC;AAEf,CAAC;AAED,eAAerD,UAAU","ignoreList":[]}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { Icons, Text } from '../../Components';
|
|
4
|
-
import Colors from '../../constants/colors';
|
|
5
|
-
import { view_styles } from '../../constants/styles';
|
|
2
|
+
import { Icons } from '../../Components';
|
|
6
3
|
import moment from 'moment-mini';
|
|
4
|
+
import { Button, Text, View } from '../../Components/Themed';
|
|
5
|
+
import { useColors } from '../../constants/useColors';
|
|
7
6
|
const AccountCard = ({
|
|
8
7
|
account,
|
|
9
8
|
hide_status,
|
|
10
9
|
onSelectAccount
|
|
11
10
|
}) => {
|
|
11
|
+
const Colors = useColors();
|
|
12
12
|
const getIcon = () => {
|
|
13
13
|
switch (account.account_type) {
|
|
14
14
|
case 'ach':
|
|
15
15
|
if (account.ach_detail?.payment_provider == 'nuvei') {
|
|
16
16
|
return /*#__PURE__*/React.createElement(Icons.BankInstantIcon, {
|
|
17
17
|
size: 28,
|
|
18
|
-
color: Colors.
|
|
18
|
+
color: Colors.text.h1
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
return /*#__PURE__*/React.createElement(Icons.BankIcon, {
|
|
22
22
|
size: 28,
|
|
23
|
-
color: Colors.
|
|
23
|
+
color: Colors.text.success
|
|
24
24
|
});
|
|
25
25
|
case 'card':
|
|
26
26
|
return renderCardIcon(account.card_detail?.card_brand);
|
|
@@ -53,22 +53,22 @@ const AccountCard = ({
|
|
|
53
53
|
default:
|
|
54
54
|
return /*#__PURE__*/React.createElement(Icons.CreditCardIcon, {
|
|
55
55
|
size: 22,
|
|
56
|
-
color: Colors.
|
|
56
|
+
color: Colors.text.h1
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
const getStatusColor = () => {
|
|
61
61
|
switch (account.status) {
|
|
62
62
|
case 'active':
|
|
63
|
-
return Colors.
|
|
63
|
+
return Colors.text.success;
|
|
64
64
|
case 'inactive':
|
|
65
|
-
return Colors.
|
|
65
|
+
return Colors.text.error;
|
|
66
66
|
case 'suspended':
|
|
67
|
-
return Colors.
|
|
67
|
+
return Colors.text.warning;
|
|
68
68
|
case 'verify':
|
|
69
|
-
return Colors.
|
|
69
|
+
return Colors.text.warning;
|
|
70
70
|
default:
|
|
71
|
-
return Colors.
|
|
71
|
+
return Colors.text.h1;
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
const getDescriptionLabel = () => {
|
|
@@ -92,40 +92,39 @@ const AccountCard = ({
|
|
|
92
92
|
return '';
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
|
-
return /*#__PURE__*/React.createElement(
|
|
95
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
96
96
|
style: {
|
|
97
|
-
|
|
98
|
-
backgroundColor: Colors.shades.white,
|
|
99
|
-
...view_styles.float
|
|
97
|
+
padding: 10
|
|
100
98
|
},
|
|
99
|
+
float: true,
|
|
101
100
|
onPress: () => onSelectAccount(account)
|
|
102
101
|
}, /*#__PURE__*/React.createElement(View, {
|
|
102
|
+
transparent: true,
|
|
103
103
|
style: {
|
|
104
|
-
padding: 10,
|
|
105
104
|
flexDirection: 'row'
|
|
106
105
|
}
|
|
107
106
|
}, /*#__PURE__*/React.createElement(View, {
|
|
107
|
+
transparent: true,
|
|
108
108
|
style: {
|
|
109
109
|
marginRight: 10,
|
|
110
110
|
justifyContent: 'center',
|
|
111
111
|
alignItems: 'center'
|
|
112
112
|
}
|
|
113
113
|
}, getIcon()), /*#__PURE__*/React.createElement(View, {
|
|
114
|
+
transparent: true,
|
|
114
115
|
style: {
|
|
115
116
|
flex: 1
|
|
116
117
|
}
|
|
117
118
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
118
|
-
|
|
119
|
-
color: Colors.brand.midnight,
|
|
120
|
-
weight: "bold"
|
|
119
|
+
theme: "h1"
|
|
121
120
|
}, account.account_label), /*#__PURE__*/React.createElement(Text, {
|
|
122
121
|
style: {
|
|
123
122
|
marginTop: 4
|
|
124
123
|
},
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
},
|
|
124
|
+
theme: "description"
|
|
125
|
+
}, getDescriptionLabel())), !hide_status ? /*#__PURE__*/React.createElement(View, {
|
|
126
|
+
transparent: true
|
|
127
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
129
128
|
size: 12,
|
|
130
129
|
color: getStatusColor(),
|
|
131
130
|
weight: "bold"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","Icons","moment","Button","Text","View","useColors","AccountCard","account","hide_status","onSelectAccount","Colors","getIcon","account_type","ach_detail","payment_provider","createElement","BankInstantIcon","size","color","text","h1","BankIcon","success","renderCardIcon","card_detail","card_brand","PayPalIcon","Fragment","brand","toLowerCase","AmexCardIcon","VisaCardIcon","MasterCardIcon","DiscoverCardIcon","CreditCardIcon","getStatusColor","status","error","warning","getDescriptionLabel","ibt_placeholder","toUpperCase","expiration_date","format","style","padding","float","onPress","transparent","flexDirection","marginRight","justifyContent","alignItems","flex","theme","account_label","marginTop","weight"],"sourceRoot":"../../../../src","sources":["Wallet/components/AccountCard.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,KAAK,QAAQ,kBAAkB;AACxC,OAAOC,MAAM,MAAM,aAAa;AAChC,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,yBAAyB;AAC5D,SAASC,SAAS,QAAQ,2BAA2B;AAQrD,MAAMC,WAAW,GAAGA,CAAC;EAAEC,OAAO;EAAEC,WAAW;EAAEC;AAAkC,CAAC,KAAK;EACjF,MAAMC,MAAM,GAAGL,SAAS,CAAC,CAAC;EAE1B,MAAMM,OAAO,GAAGA,CAAA,KAAM;IAClB,QAAOJ,OAAO,CAACK,YAAY;MACvB,KAAK,KAAK;QACN,IAAGL,OAAO,CAACM,UAAU,EAAEC,gBAAgB,IAAI,OAAO,EAAC;UAAE,oBAAOf,KAAA,CAAAgB,aAAA,CAACf,KAAK,CAACgB,eAAe;YAACC,IAAI,EAAE,EAAG;YAACC,KAAK,EAAER,MAAM,CAACS,IAAI,CAACC;UAAG,CAAC,CAAC;QAAC;QACtH,oBAAOrB,KAAA,CAAAgB,aAAA,CAACf,KAAK,CAACqB,QAAQ;UAACJ,IAAI,EAAE,EAAG;UAACC,KAAK,EAAER,MAAM,CAACS,IAAI,CAACG;QAAQ,CAAE,CAAC;MACnE,KAAK,MAAM;QACP,OAAOC,cAAc,CAAChB,OAAO,CAACiB,WAAW,EAAEC,UAAU,CAAC;MAC1D,KAAK,QAAQ;QACT,oBAAO1B,KAAA,CAAAgB,aAAA,CAACf,KAAK,CAAC0B,UAAU;UAACT,IAAI,EAAE;QAAG,CAAC,CAAC;MACxC;QAAS,oBAAOlB,KAAA,CAAAgB,aAAA,CAAAhB,KAAA,CAAA4B,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