be-components 0.4.9 → 0.5.0
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/ApiOverrides/index.js +12 -3
- package/lib/commonjs/ApiOverrides/index.js.map +1 -1
- package/lib/commonjs/Checkout/api/index.js +247 -0
- package/lib/commonjs/Checkout/api/index.js.map +1 -0
- package/lib/commonjs/Checkout/components/AccountSummaryCard.js +274 -0
- package/lib/commonjs/Checkout/components/AccountSummaryCard.js.map +1 -0
- package/lib/commonjs/Checkout/components/ItemSummaryCard.js +56 -0
- package/lib/commonjs/Checkout/components/ItemSummaryCard.js.map +1 -0
- package/lib/commonjs/Checkout/components/OrderSummaryCard.js +84 -0
- package/lib/commonjs/Checkout/components/OrderSummaryCard.js.map +1 -0
- package/lib/commonjs/Checkout/index.js +590 -0
- package/lib/commonjs/Checkout/index.js.map +1 -0
- package/lib/commonjs/Components/Button.js +11 -3
- package/lib/commonjs/Components/Button.js.map +1 -1
- package/lib/commonjs/Components/Checkbox.js +6 -2
- package/lib/commonjs/Components/Checkbox.js.map +1 -1
- package/lib/commonjs/Components/Icons.js +441 -4
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Components/Spring.js +6 -5
- package/lib/commonjs/Components/Spring.js.map +1 -1
- package/lib/commonjs/LocationTracker/LocationStatus.js +95 -0
- package/lib/commonjs/LocationTracker/LocationStatus.js.map +1 -0
- package/lib/commonjs/LocationTracker/api/index.js +124 -0
- package/lib/commonjs/LocationTracker/api/index.js.map +1 -0
- package/lib/commonjs/LocationTracker/index.js +207 -0
- package/lib/commonjs/LocationTracker/index.js.map +1 -0
- package/lib/commonjs/Observer/Observer.js +2 -0
- package/lib/commonjs/Observer/Observer.js.map +1 -1
- package/lib/commonjs/Wallet/api/index.js +621 -0
- package/lib/commonjs/Wallet/api/index.js.map +1 -0
- package/lib/commonjs/Wallet/components/ACHAdd.js +63 -0
- package/lib/commonjs/Wallet/components/ACHAdd.js.map +1 -0
- package/lib/commonjs/Wallet/components/AccountCard.js +137 -0
- package/lib/commonjs/Wallet/components/AccountCard.js.map +1 -0
- package/lib/commonjs/Wallet/components/AccountLimitManager.js +321 -0
- package/lib/commonjs/Wallet/components/AccountLimitManager.js.map +1 -0
- package/lib/commonjs/Wallet/components/AccountManager.js +202 -0
- package/lib/commonjs/Wallet/components/AccountManager.js.map +1 -0
- package/lib/commonjs/Wallet/components/AccountSnoozeManager.js +260 -0
- package/lib/commonjs/Wallet/components/AccountSnoozeManager.js.map +1 -0
- package/lib/commonjs/Wallet/components/AddressCard.js +56 -0
- package/lib/commonjs/Wallet/components/AddressCard.js.map +1 -0
- package/lib/commonjs/Wallet/components/AddressManager.js +365 -0
- package/lib/commonjs/Wallet/components/AddressManager.js.map +1 -0
- package/lib/commonjs/Wallet/components/DepositCard.js +165 -0
- package/lib/commonjs/Wallet/components/DepositCard.js.map +1 -0
- package/lib/commonjs/Wallet/components/LinkAccountManager.js +167 -0
- package/lib/commonjs/Wallet/components/LinkAccountManager.js.map +1 -0
- package/lib/commonjs/Wallet/components/ManageAccountCard.js +216 -0
- package/lib/commonjs/Wallet/components/ManageAccountCard.js.map +1 -0
- package/lib/commonjs/Wallet/components/ManualACHAdd.js +270 -0
- package/lib/commonjs/Wallet/components/ManualACHAdd.js.map +1 -0
- package/lib/commonjs/Wallet/components/ManualCardAdd.js +337 -0
- package/lib/commonjs/Wallet/components/ManualCardAdd.js.map +1 -0
- package/lib/commonjs/Wallet/components/MyBalance.js +73 -0
- package/lib/commonjs/Wallet/components/MyBalance.js.map +1 -0
- package/lib/commonjs/Wallet/components/PayPalOrderCapture.js +68 -0
- package/lib/commonjs/Wallet/components/PayPalOrderCapture.js.map +1 -0
- package/lib/commonjs/Wallet/components/RemoveAccount.js +108 -0
- package/lib/commonjs/Wallet/components/RemoveAccount.js.map +1 -0
- package/lib/commonjs/Wallet/components/VerifyACHAccount.js +196 -0
- package/lib/commonjs/Wallet/components/VerifyACHAccount.js.map +1 -0
- package/lib/commonjs/Wallet/components/WalletSetup.js +316 -0
- package/lib/commonjs/Wallet/components/WalletSetup.js.map +1 -0
- package/lib/commonjs/Wallet/components/WithdrawCard.js +336 -0
- package/lib/commonjs/Wallet/components/WithdrawCard.js.map +1 -0
- package/lib/commonjs/Wallet/index.js +221 -0
- package/lib/commonjs/Wallet/index.js.map +1 -0
- package/lib/commonjs/constants/colors.js +3 -0
- package/lib/commonjs/constants/colors.js.map +1 -1
- package/lib/commonjs/index.js +21 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/ApiOverrides/index.js +12 -3
- package/lib/module/ApiOverrides/index.js.map +1 -1
- package/lib/module/Checkout/api/index.js +241 -0
- package/lib/module/Checkout/api/index.js.map +1 -0
- package/lib/module/Checkout/components/AccountSummaryCard.js +267 -0
- package/lib/module/Checkout/components/AccountSummaryCard.js.map +1 -0
- package/lib/module/Checkout/components/ItemSummaryCard.js +49 -0
- package/lib/module/Checkout/components/ItemSummaryCard.js.map +1 -0
- package/lib/module/Checkout/components/OrderSummaryCard.js +77 -0
- package/lib/module/Checkout/components/OrderSummaryCard.js.map +1 -0
- package/lib/module/Checkout/index.js +581 -0
- package/lib/module/Checkout/index.js.map +1 -0
- package/lib/module/Components/Button.js +11 -3
- package/lib/module/Components/Button.js.map +1 -1
- package/lib/module/Components/Checkbox.js +6 -2
- package/lib/module/Components/Checkbox.js.map +1 -1
- package/lib/module/Components/Icons.js +441 -4
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Components/Spring.js +6 -5
- package/lib/module/Components/Spring.js.map +1 -1
- package/lib/module/LocationTracker/LocationStatus.js +88 -0
- package/lib/module/LocationTracker/LocationStatus.js.map +1 -0
- package/lib/module/LocationTracker/api/index.js +118 -0
- package/lib/module/LocationTracker/api/index.js.map +1 -0
- package/lib/module/LocationTracker/index.js +200 -0
- package/lib/module/LocationTracker/index.js.map +1 -0
- package/lib/module/Observer/Observer.js +2 -0
- package/lib/module/Observer/Observer.js.map +1 -1
- package/lib/module/Wallet/api/index.js +615 -0
- package/lib/module/Wallet/api/index.js.map +1 -0
- package/lib/module/Wallet/components/ACHAdd.js +56 -0
- package/lib/module/Wallet/components/ACHAdd.js.map +1 -0
- package/lib/module/Wallet/components/AccountCard.js +130 -0
- package/lib/module/Wallet/components/AccountCard.js.map +1 -0
- package/lib/module/Wallet/components/AccountLimitManager.js +312 -0
- package/lib/module/Wallet/components/AccountLimitManager.js.map +1 -0
- package/lib/module/Wallet/components/AccountManager.js +195 -0
- package/lib/module/Wallet/components/AccountManager.js.map +1 -0
- package/lib/module/Wallet/components/AccountSnoozeManager.js +251 -0
- package/lib/module/Wallet/components/AccountSnoozeManager.js.map +1 -0
- package/lib/module/Wallet/components/AddressCard.js +49 -0
- package/lib/module/Wallet/components/AddressCard.js.map +1 -0
- package/lib/module/Wallet/components/AddressManager.js +356 -0
- package/lib/module/Wallet/components/AddressManager.js.map +1 -0
- package/lib/module/Wallet/components/DepositCard.js +156 -0
- package/lib/module/Wallet/components/DepositCard.js.map +1 -0
- package/lib/module/Wallet/components/LinkAccountManager.js +158 -0
- package/lib/module/Wallet/components/LinkAccountManager.js.map +1 -0
- package/lib/module/Wallet/components/ManageAccountCard.js +207 -0
- package/lib/module/Wallet/components/ManageAccountCard.js.map +1 -0
- package/lib/module/Wallet/components/ManualACHAdd.js +261 -0
- package/lib/module/Wallet/components/ManualACHAdd.js.map +1 -0
- package/lib/module/Wallet/components/ManualCardAdd.js +328 -0
- package/lib/module/Wallet/components/ManualCardAdd.js.map +1 -0
- package/lib/module/Wallet/components/MyBalance.js +66 -0
- package/lib/module/Wallet/components/MyBalance.js.map +1 -0
- package/lib/module/Wallet/components/PayPalOrderCapture.js +61 -0
- package/lib/module/Wallet/components/PayPalOrderCapture.js.map +1 -0
- package/lib/module/Wallet/components/RemoveAccount.js +100 -0
- package/lib/module/Wallet/components/RemoveAccount.js.map +1 -0
- package/lib/module/Wallet/components/VerifyACHAccount.js +187 -0
- package/lib/module/Wallet/components/VerifyACHAccount.js.map +1 -0
- package/lib/module/Wallet/components/WalletSetup.js +307 -0
- package/lib/module/Wallet/components/WalletSetup.js.map +1 -0
- package/lib/module/Wallet/components/WithdrawCard.js +327 -0
- package/lib/module/Wallet/components/WithdrawCard.js.map +1 -0
- package/lib/module/Wallet/index.js +212 -0
- package/lib/module/Wallet/index.js.map +1 -0
- package/lib/module/constants/colors.js +3 -0
- package/lib/module/constants/colors.js.map +1 -1
- package/lib/module/index.js +4 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/api/index.d.ts +49 -0
- package/lib/typescript/src/Checkout/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Checkout/components/AccountSummaryCard.d.ts +18 -0
- package/lib/typescript/src/Checkout/components/AccountSummaryCard.d.ts.map +1 -0
- package/lib/typescript/src/Checkout/components/ItemSummaryCard.d.ts +8 -0
- package/lib/typescript/src/Checkout/components/ItemSummaryCard.d.ts.map +1 -0
- package/lib/typescript/src/Checkout/components/OrderSummaryCard.d.ts +8 -0
- package/lib/typescript/src/Checkout/components/OrderSummaryCard.d.ts.map +1 -0
- package/lib/typescript/src/Checkout/index.d.ts +12 -0
- package/lib/typescript/src/Checkout/index.d.ts.map +1 -0
- package/lib/typescript/src/Components/Button.d.ts.map +1 -1
- package/lib/typescript/src/Components/Checkbox.d.ts +3 -1
- package/lib/typescript/src/Components/Checkbox.d.ts.map +1 -1
- package/lib/typescript/src/Components/Icons.d.ts +8 -1
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/src/LocationTracker/LocationStatus.d.ts +21 -0
- package/lib/typescript/src/LocationTracker/LocationStatus.d.ts.map +1 -0
- package/lib/typescript/src/LocationTracker/api/index.d.ts +19 -0
- package/lib/typescript/src/LocationTracker/api/index.d.ts.map +1 -0
- package/lib/typescript/src/LocationTracker/index.d.ts +22 -0
- package/lib/typescript/src/LocationTracker/index.d.ts.map +1 -0
- package/lib/typescript/src/Observer/Observer.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/api/index.d.ts +94 -0
- package/lib/typescript/src/Wallet/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/ACHAdd.d.ts +13 -0
- package/lib/typescript/src/Wallet/components/ACHAdd.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/AccountCard.d.ts +10 -0
- package/lib/typescript/src/Wallet/components/AccountCard.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/AccountLimitManager.d.ts +10 -0
- package/lib/typescript/src/Wallet/components/AccountLimitManager.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/AccountManager.d.ts +13 -0
- package/lib/typescript/src/Wallet/components/AccountManager.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/AccountSnoozeManager.d.ts +10 -0
- package/lib/typescript/src/Wallet/components/AccountSnoozeManager.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/AddressCard.d.ts +10 -0
- package/lib/typescript/src/Wallet/components/AddressCard.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts +23 -0
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts +14 -0
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/LinkAccountManager.d.ts +10 -0
- package/lib/typescript/src/Wallet/components/LinkAccountManager.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts +17 -0
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts +11 -0
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts +11 -0
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts +14 -0
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/PayPalOrderCapture.d.ts +16 -0
- package/lib/typescript/src/Wallet/components/PayPalOrderCapture.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/RemoveAccount.d.ts +10 -0
- package/lib/typescript/src/Wallet/components/RemoveAccount.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/VerifyACHAccount.d.ts +10 -0
- package/lib/typescript/src/Wallet/components/VerifyACHAccount.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts +11 -0
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts +16 -0
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/index.d.ts +10 -0
- package/lib/typescript/src/Wallet/index.d.ts.map +1 -0
- package/lib/typescript/src/constants/colors.d.ts +3 -0
- package/lib/typescript/src/constants/colors.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +4 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +4 -1
- package/src/ApiOverrides/index.ts +13 -3
- package/src/Checkout/api/index.tsx +190 -0
- package/src/Checkout/components/AccountSummaryCard.tsx +169 -0
- package/src/Checkout/components/ItemSummaryCard.tsx +34 -0
- package/src/Checkout/components/OrderSummaryCard.tsx +40 -0
- package/src/Checkout/index.tsx +398 -0
- package/src/Components/Button.tsx +5 -4
- package/src/Components/Checkbox.tsx +5 -2
- package/src/Components/Icons.tsx +196 -3
- package/src/Components/Spring.tsx +4 -3
- package/src/LocationTracker/LocationStatus.tsx +96 -0
- package/src/LocationTracker/api/index.tsx +114 -0
- package/src/LocationTracker/index.tsx +130 -0
- package/src/Observer/Observer.tsx +2 -1
- package/src/Wallet/api/index.ts +461 -0
- package/src/Wallet/components/ACHAdd.tsx +49 -0
- package/src/Wallet/components/AccountCard.tsx +92 -0
- package/src/Wallet/components/AccountLimitManager.tsx +204 -0
- package/src/Wallet/components/AccountManager.tsx +103 -0
- package/src/Wallet/components/AccountSnoozeManager.tsx +150 -0
- package/src/Wallet/components/AddressCard.tsx +31 -0
- package/src/Wallet/components/AddressManager.tsx +203 -0
- package/src/Wallet/components/DepositCard.tsx +91 -0
- package/src/Wallet/components/LinkAccountManager.tsx +119 -0
- package/src/Wallet/components/ManageAccountCard.tsx +146 -0
- package/src/Wallet/components/ManualACHAdd.tsx +164 -0
- package/src/Wallet/components/ManualCardAdd.tsx +185 -0
- package/src/Wallet/components/MyBalance.tsx +64 -0
- package/src/Wallet/components/PayPalOrderCapture.tsx +59 -0
- package/src/Wallet/components/RemoveAccount.tsx +68 -0
- package/src/Wallet/components/VerifyACHAccount.tsx +140 -0
- package/src/Wallet/components/WalletSetup.tsx +197 -0
- package/src/Wallet/components/WithdrawCard.tsx +145 -0
- package/src/Wallet/index.tsx +229 -0
- package/src/constants/colors.ts +3 -0
- package/src/index.tsx +7 -2
- package/src/types.d.ts +295 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { AccountProps, ItemOrderProps, ItemProps, LocationProps, PlayerAddressProps, TransactionDetailProps, TransactionProps } from "../../types";
|
|
2
|
+
import type { MyPlayerProps } from "../../ProfileManager/api/types";
|
|
3
|
+
export { CheckoutApi, CheckoutHelpers };
|
|
4
|
+
declare const CheckoutApi: {
|
|
5
|
+
setEnvironment: () => void;
|
|
6
|
+
getPayPalClientId: () => string;
|
|
7
|
+
getMyDetails: () => Promise<MyPlayerProps>;
|
|
8
|
+
getMyAddresses: () => Promise<PlayerAddressProps[]>;
|
|
9
|
+
updateAccountDefaultAddress: (account_id: string, player_address_id?: string) => Promise<AccountProps>;
|
|
10
|
+
getAddressById: (player_address_id: string) => Promise<PlayerAddressProps>;
|
|
11
|
+
getMyAccounts: () => Promise<AccountProps[]>;
|
|
12
|
+
getAccountById: (account_id: string) => Promise<AccountProps>;
|
|
13
|
+
updateDefaultAccount: (account_id: string) => Promise<AccountProps[]>;
|
|
14
|
+
getItemById: (item_id: string) => Promise<ItemProps>;
|
|
15
|
+
getItemsByIds: (item_ids: string[]) => Promise<ItemProps[]>;
|
|
16
|
+
getTransactionById: (transaction_id: string) => Promise<{
|
|
17
|
+
transaction: TransactionProps;
|
|
18
|
+
transaction_details: TransactionDetailProps[];
|
|
19
|
+
}>;
|
|
20
|
+
cancelTransaction: (transaction_id?: string, external_id?: string) => Promise<{
|
|
21
|
+
item_order: ItemOrderProps;
|
|
22
|
+
transaction: TransactionProps;
|
|
23
|
+
}>;
|
|
24
|
+
capturePayPalTransaction: (external_id: string) => Promise<{
|
|
25
|
+
item_order: ItemOrderProps;
|
|
26
|
+
transaction: TransactionProps;
|
|
27
|
+
}>;
|
|
28
|
+
createOrder: (item_order: ItemOrderProps, transaction: TransactionProps) => Promise<{
|
|
29
|
+
item_order: ItemOrderProps;
|
|
30
|
+
transaction: TransactionProps;
|
|
31
|
+
}>;
|
|
32
|
+
getMyOrders: (offset: number) => Promise<{
|
|
33
|
+
item_orders: ItemOrderProps[];
|
|
34
|
+
items: ItemProps[];
|
|
35
|
+
}>;
|
|
36
|
+
};
|
|
37
|
+
declare const CheckoutHelpers: {
|
|
38
|
+
filterMyPurchaseAccounts: (accounts: AccountProps[], items: ItemProps[]) => AccountProps[];
|
|
39
|
+
isShippingRequired: (items: ItemProps[]) => boolean;
|
|
40
|
+
isBillingAddressRequired: (items: ItemProps[], account?: AccountProps) => boolean;
|
|
41
|
+
isLocationRequired: (items: ItemProps[]) => boolean;
|
|
42
|
+
isLocationRestrictedToLegalStates: (items: ItemProps[]) => boolean;
|
|
43
|
+
isCVVValid: (account: AccountProps, cvv?: string) => boolean;
|
|
44
|
+
isOrderValid: (draft_order: ItemOrderProps, items: ItemProps[], account?: AccountProps, cvv?: string, billing_address?: PlayerAddressProps, shipping_address?: PlayerAddressProps, player_location?: LocationProps, coords?: any) => string[];
|
|
45
|
+
getTransactionFromItemAndAccountId: (item: ItemProps, account_id: string) => TransactionProps;
|
|
46
|
+
genItemOrder: (draft_order: ItemOrderProps, items: ItemProps[], account: AccountProps) => ItemOrderProps;
|
|
47
|
+
genTransactionFromItemOrder: (item_order: ItemOrderProps, items: ItemProps[], account_id?: string, cvv?: string) => TransactionProps;
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Checkout/api/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACxJ,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAQpE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAA;AAEvC,QAAA,MAAM,WAAW;;;wBAUS,QAAQ,aAAa,CAAC;0BAIpB,QAAQ,kBAAkB,EAAE,CAAC;8CAIP,MAAM,sBAAqB,MAAM,KAAE,QAAQ,YAAY,CAAC;wCAI9D,MAAM,KAAE,QAAQ,kBAAkB,CAAC;yBAIpD,QAAQ,YAAY,EAAE,CAAC;iCAIb,MAAM,KAAE,QAAQ,YAAY,CAAC;uCAIxB,MAAM,KAAE,QAAQ,YAAY,EAAE,CAAC;2BAI1C,MAAM,KAAE,QAAQ,SAAS,CAAC;8BAIvB,MAAM,EAAE,KAAE,QAAQ,SAAS,EAAE,CAAC;yCAInB,MAAM,KAAE,QAAQ;QAAE,WAAW,EAAC,gBAAgB,CAAC;QAAC,mBAAmB,EAAC,sBAAsB,EAAE,CAAA;KAAE,CAAC;yCAI/F,MAAM,gBAAe,MAAM,KAAE,QAAQ;QAAE,UAAU,EAAC,cAAc,CAAC;QAAC,WAAW,EAAC,gBAAgB,CAAA;KAAE,CAAC;4CAI7F,MAAM,KAAE,QAAQ;QAAE,UAAU,EAAC,cAAc,CAAC;QAAC,WAAW,EAAC,gBAAgB,CAAA;KAAE,CAAC;8BAI3F,cAAc,eAAc,gBAAgB,KAAE,QAAQ;QAAE,UAAU,EAAC,cAAc,CAAC;QAAC,WAAW,EAAC,gBAAgB,CAAA;KAAE,CAAC;0BAItH,MAAM,KAAE,QAAQ;QAAC,WAAW,EAAC,cAAc,EAAE,CAAC;QAAC,KAAK,EAAC,SAAS,EAAE,CAAA;KAAC,CAAC;CAI/F,CAAA;AAGD,QAAA,MAAM,eAAe;yCACmB,YAAY,EAAE,SAAQ,SAAS,EAAE;gCAiB1C,SAAS,EAAE;sCAGN,SAAS,EAAE,YAAW,YAAY;gCAKvC,SAAS,EAAE;+CAGK,SAAS,EAAE;0BAGjC,YAAY,QAAO,MAAM,KAAE,OAAO;gCAO5B,cAAc,SAAQ,SAAS,EAAE,YAAW,YAAY,QAAO,MAAM,oBAAmB,kBAAkB,qBAAoB,kBAAkB,oBAAmB,aAAa,WAAU,GAAG,KAAE,MAAM,EAAE;+CAgBxL,SAAS,cAAa,MAAM,KAAE,gBAAgB;gCAkB7D,cAAc,SAAQ,SAAS,EAAE,WAAU,YAAY,KAAE,cAAc;8CAaxD,cAAc,SAAQ,SAAS,EAAE,eAAc,MAAM,QAAO,MAAM,KAAE,gBAAgB;CAqBjI,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccountProps, ItemProps, PlayerAddressProps } from '../../types';
|
|
3
|
+
type AccountSummaryCardProps = {
|
|
4
|
+
selected_account?: AccountProps;
|
|
5
|
+
accounts: AccountProps[];
|
|
6
|
+
cvv?: string;
|
|
7
|
+
items: ItemProps[];
|
|
8
|
+
player_address?: PlayerAddressProps;
|
|
9
|
+
billing_address_required?: boolean;
|
|
10
|
+
onRequestNewAccount: () => void;
|
|
11
|
+
onCVVChange: (new_cvv: string) => void;
|
|
12
|
+
onChangeAddress: () => void;
|
|
13
|
+
onAccountsUpdate: (accounts: AccountProps[]) => void;
|
|
14
|
+
onSelectAccount: (account: AccountProps) => void;
|
|
15
|
+
};
|
|
16
|
+
declare const AccountSummaryCard: ({ accounts, cvv, items, selected_account, billing_address_required, player_address, onRequestNewAccount, onCVVChange, onAccountsUpdate, onSelectAccount, onChangeAddress }: AccountSummaryCardProps) => React.JSX.Element;
|
|
17
|
+
export default AccountSummaryCard;
|
|
18
|
+
//# sourceMappingURL=AccountSummaryCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountSummaryCard.d.ts","sourceRoot":"","sources":["../../../../../src/Checkout/components/AccountSummaryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAK/E,KAAK,uBAAuB,GAAG;IAC3B,gBAAgB,CAAC,EAAC,YAAY,CAAC;IAC/B,QAAQ,EAAC,YAAY,EAAE,CAAC;IACxB,GAAG,CAAC,EAAC,MAAM,CAAC;IACZ,KAAK,EAAC,SAAS,EAAE,CAAC;IAClB,cAAc,CAAC,EAAC,kBAAkB,CAAC;IACnC,wBAAwB,CAAC,EAAC,OAAO,CAAC;IAClC,mBAAmB,EAAC,MAAM,IAAI,CAAC;IAC/B,WAAW,EAAC,CAAC,OAAO,EAAC,MAAM,KAAK,IAAI,CAAC;IACrC,eAAe,EAAC,MAAM,IAAI,CAAA;IAC1B,gBAAgB,EAAC,CAAC,QAAQ,EAAC,YAAY,EAAE,KAAK,IAAI,CAAC;IACnD,eAAe,EAAC,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAA;CACjD,CAAA;AACD,QAAA,MAAM,kBAAkB,+KAA+K,uBAAuB,sBAiJ7N,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ItemProps } from "../../types";
|
|
3
|
+
type ItemSummaryCardProps = {
|
|
4
|
+
items: ItemProps[];
|
|
5
|
+
};
|
|
6
|
+
declare const ItemSummaryCard: ({ items }: ItemSummaryCardProps) => React.JSX.Element;
|
|
7
|
+
export default ItemSummaryCard;
|
|
8
|
+
//# sourceMappingURL=ItemSummaryCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemSummaryCard.d.ts","sourceRoot":"","sources":["../../../../../src/Checkout/components/ItemSummaryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,KAAK,oBAAoB,GAAG;IACxB,KAAK,EAAC,SAAS,EAAE,CAAA;CACpB,CAAA;AACD,QAAA,MAAM,eAAe,cAAc,oBAAoB,sBAsBtD,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ItemOrderProps } from "../../types";
|
|
3
|
+
type OrderSummaryCardProps = {
|
|
4
|
+
item_order: ItemOrderProps;
|
|
5
|
+
};
|
|
6
|
+
declare const OrderSummaryCard: ({ item_order }: OrderSummaryCardProps) => React.JSX.Element;
|
|
7
|
+
export default OrderSummaryCard;
|
|
8
|
+
//# sourceMappingURL=OrderSummaryCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderSummaryCard.d.ts","sourceRoot":"","sources":["../../../../../src/Checkout/components/OrderSummaryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAKlD,KAAK,qBAAqB,GAAG;IACzB,UAAU,EAAC,cAAc,CAAA;CAC5B,CAAA;AAED,QAAA,MAAM,gBAAgB,mBAAmB,qBAAqB,sBA0B7D,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ItemOrderProps, TransactionProps } from '../types';
|
|
3
|
+
type CheckoutProps = {
|
|
4
|
+
item_order: ItemOrderProps;
|
|
5
|
+
account_id?: string;
|
|
6
|
+
onRequestNewAccount: () => void;
|
|
7
|
+
onCompleteOrder: (item_order: ItemOrderProps, transaction: TransactionProps) => void;
|
|
8
|
+
onCancel: () => void;
|
|
9
|
+
};
|
|
10
|
+
declare const Checkout: ({ item_order, account_id, onCancel, onCompleteOrder, onRequestNewAccount }: CheckoutProps) => React.JSX.Element;
|
|
11
|
+
export default Checkout;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Checkout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAgB,cAAc,EAAiC,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAiB9G,KAAK,aAAa,GAAG;IACjB,UAAU,EAAC,cAAc,CAAC;IAC1B,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,mBAAmB,EAAC,MAAM,IAAI,CAAC;IAC/B,eAAe,EAAC,CAAC,UAAU,EAAC,cAAc,EAAE,WAAW,EAAC,gBAAgB,KAAK,IAAI,CAAC;IAClF,QAAQ,EAAC,MAAM,IAAI,CAAA;CACtB,CAAA;AACD,QAAA,MAAM,QAAQ,+EAA+E,aAAa,sBA0WzG,CAAA;AASD,eAAe,QAAQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/Components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,WAAW,GAAG;IACf,oBAAoB,CAAC,EAAE;QAAE,oBAAoB,EAAC,MAAM,CAAC;QAAC,uBAAuB,EAAC,MAAM,CAAC;QAAC,mBAAmB,EAAC,MAAM,CAAC;QAAC,sBAAsB,EAAC,MAAM,CAAA;KAAE,CAAA;IACjJ,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,YAAY,CAAC,EAAC,MAAM,GAAC,UAAU,GAAC,SAAS,GAAC,OAAO,CAAC;IAClD,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,SAAS,CAAC,EAAC,MAAM,GAAC,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAC,SAAS,GAAC,MAAM,GAAC,QAAQ,CAAC;IACrC,OAAO,CAAC,EAAC,OAAO,CAAC;IACjB,cAAc,CAAC,EAAC,IAAI,GAAC,MAAM,GAAC,OAAO,GAAC,MAAM,CAAA;IAC1C,YAAY,CAAC,EAAC,MAAM,CAAC;IACrB,OAAO,CAAC,EAAC,MAAM,CAAC;IAChB,WAAW,CAAC,EAAC,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAC,OAAO,CAAC;IAClB,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,KAAK,CAAC,EAAC,GAAG,CAAC;IACX,eAAe,CAAC,EAAC,MAAM,CAAC;IACxB,WAAW,CAAC,EAAC,MAAM,CAAC;IACpB,WAAW,CAAC,EAAC,MAAM,CAAC;IACpB,OAAO,EAAC,GAAG,CAAA;CACd,CAAA;AAGD,QAAA,MAAM,MAAM,4LAA4L,WAAW,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/Components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,WAAW,GAAG;IACf,oBAAoB,CAAC,EAAE;QAAE,oBAAoB,EAAC,MAAM,CAAC;QAAC,uBAAuB,EAAC,MAAM,CAAC;QAAC,mBAAmB,EAAC,MAAM,CAAC;QAAC,sBAAsB,EAAC,MAAM,CAAA;KAAE,CAAA;IACjJ,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,YAAY,CAAC,EAAC,MAAM,GAAC,UAAU,GAAC,SAAS,GAAC,OAAO,CAAC;IAClD,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,SAAS,CAAC,EAAC,MAAM,GAAC,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAC,SAAS,GAAC,MAAM,GAAC,QAAQ,CAAC;IACrC,OAAO,CAAC,EAAC,OAAO,CAAC;IACjB,cAAc,CAAC,EAAC,IAAI,GAAC,MAAM,GAAC,OAAO,GAAC,MAAM,CAAA;IAC1C,YAAY,CAAC,EAAC,MAAM,CAAC;IACrB,OAAO,CAAC,EAAC,MAAM,CAAC;IAChB,WAAW,CAAC,EAAC,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAC,OAAO,CAAC;IAClB,UAAU,CAAC,EAAC,MAAM,CAAC;IACnB,KAAK,CAAC,EAAC,GAAG,CAAC;IACX,eAAe,CAAC,EAAC,MAAM,CAAC;IACxB,WAAW,CAAC,EAAC,MAAM,CAAC;IACpB,WAAW,CAAC,EAAC,MAAM,CAAC;IACpB,OAAO,EAAC,GAAG,CAAA;CACd,CAAA;AAGD,QAAA,MAAM,MAAM,4LAA4L,WAAW,sBAgClN,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -3,9 +3,11 @@ type CheckBoxProps = {
|
|
|
3
3
|
checked?: boolean;
|
|
4
4
|
size?: number;
|
|
5
5
|
color?: string;
|
|
6
|
+
disabled?: boolean;
|
|
6
7
|
style?: any;
|
|
8
|
+
fill_style?: any;
|
|
7
9
|
onSelect: (checked: boolean) => void;
|
|
8
10
|
};
|
|
9
|
-
declare const Checkbox: ({ checked, size, color, onSelect, style }: CheckBoxProps) => React.JSX.Element;
|
|
11
|
+
declare const Checkbox: ({ checked, size, disabled, color, onSelect, style, fill_style }: CheckBoxProps) => React.JSX.Element;
|
|
10
12
|
export default Checkbox;
|
|
11
13
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/Components/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,KAAK,aAAa,GAAG;IACjB,OAAO,CAAC,EAAC,OAAO,CAAC;IACjB,IAAI,CAAC,EAAC,MAAM,CAAA;IACZ,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,EAAC,CAAC,OAAO,EAAC,OAAO,KAAK,IAAI,CAAA;CACrC,CAAA;AAED,QAAA,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/Components/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,KAAK,aAAa,GAAG;IACjB,OAAO,CAAC,EAAC,OAAO,CAAC;IACjB,IAAI,CAAC,EAAC,MAAM,CAAA;IACZ,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,QAAQ,CAAC,EAAC,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,UAAU,CAAC,EAAC,GAAG,CAAA;IACf,QAAQ,EAAC,CAAC,OAAO,EAAC,OAAO,KAAK,IAAI,CAAA;CACrC,CAAA;AAED,QAAA,MAAM,QAAQ,oEAAoE,aAAa,sBAc9F,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -31,11 +31,12 @@ declare const _default: {
|
|
|
31
31
|
MoreIcon: ({ color, direction, size }: IconProps) => React.JSX.Element;
|
|
32
32
|
SnoozeIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
33
33
|
GiftIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
34
|
+
IBTFLowIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
34
35
|
WithdrawIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
35
36
|
DepositIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
36
37
|
BankInstantIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
37
38
|
CreditCardIcon: ({ size, color }: IconProps) => React.JSX.Element;
|
|
38
|
-
PayPalIcon: ({}: IconProps) => React.JSX.Element;
|
|
39
|
+
PayPalIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
39
40
|
ChevronIcon: ({ size, color, direction }: IconProps) => React.JSX.Element;
|
|
40
41
|
ShareSocialIcon: ({ size, color }: IconProps) => React.JSX.Element;
|
|
41
42
|
PacerCarIcon: ({ size, color }: IconProps) => React.JSX.Element;
|
|
@@ -46,6 +47,12 @@ declare const _default: {
|
|
|
46
47
|
ChangeIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
47
48
|
USDIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
48
49
|
EyeOffIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
50
|
+
DiscoverCardIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
51
|
+
AmexCardIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
52
|
+
TransactionSuccessIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
53
|
+
TransactionErrorIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
54
|
+
VisaCardIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
55
|
+
MasterCardIcon: ({ size }: IconProps) => React.JSX.Element;
|
|
49
56
|
};
|
|
50
57
|
export default _default;
|
|
51
58
|
//# sourceMappingURL=Icons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/Components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,SAAS,GAAG;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,SAAS,CAAC,EAAC,IAAI,GAAC,MAAM,GAAC,MAAM,GAAC,OAAO,CAAA;CACxC,CAAA
|
|
1
|
+
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/Components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,SAAS,GAAG;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,SAAS,CAAC,EAAC,IAAI,GAAC,MAAM,GAAC,MAAM,GAAC,OAAO,CAAA;CACxC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAk8BD,wBAiDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spring.d.ts","sourceRoot":"","sources":["../../../../src/Components/Spring.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,eAAe,GAAG;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,KAAK,EAAE,UAAU,GAAC,YAAY,CAAA;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAC,MAAM,IAAI,CAAC;IACtB,EAAE,EAAC,MAAM,CAAC;IACV,QAAQ,EAAE,GAAG,CAAA;CAChB,CAAA;AACD,QAAA,MAAM,UAAU,oDAAoD,eAAe,
|
|
1
|
+
{"version":3,"file":"Spring.d.ts","sourceRoot":"","sources":["../../../../src/Components/Spring.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,eAAe,GAAG;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,KAAK,EAAE,UAAU,GAAC,YAAY,CAAA;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAC,MAAM,IAAI,CAAC;IACtB,EAAE,EAAC,MAAM,CAAC;IACV,QAAQ,EAAE,GAAG,CAAA;CAChB,CAAA;AACD,QAAA,MAAM,UAAU,oDAAoD,eAAe,sBAiClF,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { LocationProps, PlayerAddressProps } from '../types';
|
|
2
|
+
export declare const usePlayerLocation: () => {
|
|
3
|
+
permission: {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
permission?: "denied" | "granted" | "prompt" | undefined;
|
|
6
|
+
};
|
|
7
|
+
location: {
|
|
8
|
+
loading: boolean;
|
|
9
|
+
error?: string | undefined;
|
|
10
|
+
coordinates: any;
|
|
11
|
+
address_results: any[];
|
|
12
|
+
player_address?: PlayerAddressProps | undefined;
|
|
13
|
+
region?: string | undefined;
|
|
14
|
+
location?: LocationProps | undefined;
|
|
15
|
+
};
|
|
16
|
+
getLocation: () => Promise<void>;
|
|
17
|
+
checkPermissions: (options?: {
|
|
18
|
+
auto_on_granted?: boolean;
|
|
19
|
+
}) => Promise<void>;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=LocationStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationStatus.d.ts","sourceRoot":"","sources":["../../../../src/LocationTracker/LocationStatus.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAElE,eAAO,MAAM,iBAAiB;;iBAed,OAAO;;;;iBAbN,OAAO;;qBAEJ,GAAG;yBACC,GAAG,EAAE;;;;;;iCAoBgB;QAAE,eAAe,CAAC,EAAC,OAAO,CAAA;KAAE;CAiExE,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { LocationProps, PlayerAddressProps } from "../../types";
|
|
2
|
+
export { LocationApi, LocationHelpers };
|
|
3
|
+
declare const LocationApi: {
|
|
4
|
+
setEnvironment: () => void;
|
|
5
|
+
getLocations: () => Promise<any>;
|
|
6
|
+
getPermission: () => Promise<'denied' | 'prompt' | 'granted'>;
|
|
7
|
+
cache_location: (loc: any) => Promise<void>;
|
|
8
|
+
getCachedLocation: () => Promise<any>;
|
|
9
|
+
getPosition: () => Promise<any>;
|
|
10
|
+
reverseCoordLookup: (latitude: number, longitude: number) => Promise<any>;
|
|
11
|
+
};
|
|
12
|
+
declare const LocationHelpers: {
|
|
13
|
+
getAddressFromGeoCodeResults: (addresses: any[], locations: LocationProps[]) => {
|
|
14
|
+
player_address: PlayerAddressProps;
|
|
15
|
+
region: string;
|
|
16
|
+
location?: LocationProps;
|
|
17
|
+
} | undefined;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/LocationTracker/api/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAOrE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAA;AAEvC,QAAA,MAAM,WAAW;;;yBAWU,QAAQ,QAAQ,GAAC,QAAQ,GAAC,SAAS,CAAC;0BAQjC,GAAG,KAAE,QAAQ,IAAI,CAAC;6BAGjB,QAAQ,GAAG,CAAC;uBAUlB,QAAQ,GAAG,CAAC;mCAgBG,MAAM,aAAY,MAAM;CAW/D,CAAA;AAGD,QAAA,MAAM,eAAe;8CACwB,GAAG,EAAE,aAAY,aAAa,EAAE,KAAE;QAAE,cAAc,EAAE,kBAAkB,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAC,aAAa,CAAA;KAAE,GAAG,SAAS;CAoCzK,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { LocationProps, PlayerAddressProps } from '../types';
|
|
3
|
+
type LocationTrackerProps = {
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
permission: {
|
|
6
|
+
checked: boolean;
|
|
7
|
+
permission?: 'granted' | 'denied' | 'prompt';
|
|
8
|
+
};
|
|
9
|
+
location: {
|
|
10
|
+
loading: boolean;
|
|
11
|
+
error?: string;
|
|
12
|
+
coordinates: any;
|
|
13
|
+
address_results: any[];
|
|
14
|
+
player_address?: PlayerAddressProps;
|
|
15
|
+
region?: string;
|
|
16
|
+
location?: LocationProps;
|
|
17
|
+
};
|
|
18
|
+
onGetLocation: () => void;
|
|
19
|
+
};
|
|
20
|
+
declare const LocationTracker: ({ onClose, onGetLocation, permission, location }: LocationTrackerProps) => React.JSX.Element;
|
|
21
|
+
export default LocationTracker;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/LocationTracker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAElE,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE;QACR,OAAO,EAAC,OAAO,CAAC;QAChB,UAAU,CAAC,EAAE,SAAS,GAAC,QAAQ,GAAC,QAAQ,CAAA;KAC3C,CAAC;IACF,QAAQ,EAAE;QACN,OAAO,EAAE,OAAO,CAAC;QACjB,KAAK,CAAC,EAAC,MAAM,CAAC;QACd,WAAW,EAAC,GAAG,CAAC;QAChB,eAAe,EAAC,GAAG,EAAE,CAAC;QACtB,cAAc,CAAC,EAAC,kBAAkB,CAAC;QACnC,MAAM,CAAC,EAAC,MAAM,CAAC;QACf,QAAQ,CAAC,EAAC,aAAa,CAAA;KAC1B,CAAA;IACD,aAAa,EAAE,MAAM,IAAI,CAAA;CAC5B,CAAA;AACD,QAAA,MAAM,eAAe,qDAAsD,oBAAoB,sBAuG9F,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Observer.d.ts","sourceRoot":"","sources":["../../../../src/Observer/Observer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,wBAAwB,GAAG;IAC5B,MAAM,EAAC,MAAM,CAAC;IACd,UAAU,EAAC,MAAM,CAAC;IAClB,WAAW,EAAC,MAAM,CAAC;CACtB,CAAA;AAED,QAAA,MAAM,mBAAmB,wCAAwC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"Observer.d.ts","sourceRoot":"","sources":["../../../../src/Observer/Observer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,wBAAwB,GAAG;IAC5B,MAAM,EAAC,MAAM,CAAC;IACd,UAAU,EAAC,MAAM,CAAC;IAClB,WAAW,EAAC,MAAM,CAAC;CACtB,CAAA;AAED,QAAA,MAAM,mBAAmB,wCAAwC,wBAAwB,sBAyBxF,CAAA;AAyCD,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { ACHDetailProps, AccountActionProps, AccountLimitProps, AccountProps, AccountSnoozeProps, CardDetailProps, ItemOrderProps, ItemProps, PlayerAddressProps, PlayerDepositLimitProps, PlayerWithdrawLimitProps, WalletSettingsProps } from '../../types';
|
|
2
|
+
import type { MyPlayerProps, PlayerBalanceProps } from '../../ProfileManager/api/types';
|
|
3
|
+
export { WalletApi, WalletHelpers, ItemOrderApi, ItemOrderHelpers };
|
|
4
|
+
declare const WalletApi: {
|
|
5
|
+
setEnvironment: () => void;
|
|
6
|
+
getMyDetails: () => Promise<MyPlayerProps>;
|
|
7
|
+
updateDefaultAccount: (account_id: string) => Promise<AccountProps[]>;
|
|
8
|
+
getAddressById: (player_address_id: string) => Promise<PlayerAddressProps>;
|
|
9
|
+
getMyAddresses: () => Promise<PlayerAddressProps[]>;
|
|
10
|
+
createAddress: (player_address: PlayerAddressProps) => Promise<PlayerAddressProps>;
|
|
11
|
+
deleteAddress: (player_address_id: string) => Promise<PlayerAddressProps>;
|
|
12
|
+
getMyBalance: () => Promise<PlayerBalanceProps>;
|
|
13
|
+
getMySettings: () => Promise<WalletSettingsProps>;
|
|
14
|
+
agreeToTerms: () => Promise<WalletSettingsProps>;
|
|
15
|
+
setPin: (pin: string) => Promise<WalletSettingsProps>;
|
|
16
|
+
changePin: (pin: string, new_pin: string) => Promise<WalletSettingsProps>;
|
|
17
|
+
authenticatePin: (pin: string) => Promise<WalletSettingsProps>;
|
|
18
|
+
getMyAccounts: () => Promise<AccountProps[]>;
|
|
19
|
+
getMyDepositLimit: () => Promise<PlayerDepositLimitProps>;
|
|
20
|
+
getMyWithdrawLimit: () => Promise<PlayerWithdrawLimitProps>;
|
|
21
|
+
getSnoozeByAccountId: (account_id: string) => Promise<AccountSnoozeProps | undefined>;
|
|
22
|
+
createAccountSnooze: (account_snooze: AccountSnoozeProps) => Promise<AccountSnoozeProps>;
|
|
23
|
+
getLimitByAccountId: (account_id: string) => Promise<AccountLimitProps | undefined>;
|
|
24
|
+
createAccountLimit: (account_limit: AccountLimitProps) => Promise<AccountLimitProps>;
|
|
25
|
+
removeAccountLimit: (account_limit_id: string) => Promise<AccountLimitProps>;
|
|
26
|
+
getAccountById: (account_id: string) => Promise<AccountProps>;
|
|
27
|
+
removeAccount: (account_id: string) => Promise<{
|
|
28
|
+
account: AccountProps;
|
|
29
|
+
ach_detail?: ACHDetailProps;
|
|
30
|
+
card_detail?: CardDetailProps;
|
|
31
|
+
}>;
|
|
32
|
+
addACHAccount: (account: AccountProps, ach_detail: ACHDetailProps) => Promise<{
|
|
33
|
+
account: AccountProps;
|
|
34
|
+
ach_detail: ACHDetailProps;
|
|
35
|
+
}>;
|
|
36
|
+
verifyACHAccount: (account_id: string, amount_1: number, amount_2: number) => Promise<{
|
|
37
|
+
account: AccountProps;
|
|
38
|
+
status: 'success' | 'fail';
|
|
39
|
+
}>;
|
|
40
|
+
updateACHAccount: (account: AccountProps, ach_detail: ACHDetailProps) => Promise<{
|
|
41
|
+
account: AccountProps;
|
|
42
|
+
ach_detail: ACHDetailProps;
|
|
43
|
+
}>;
|
|
44
|
+
getACHDetailByAccountId: (account_id: string) => Promise<ACHDetailProps>;
|
|
45
|
+
linkACHAccount: (account_id: string) => Promise<AccountProps>;
|
|
46
|
+
addCardAccount: (account: AccountProps, card_detail: CardDetailProps) => Promise<{
|
|
47
|
+
account: AccountProps;
|
|
48
|
+
card_detail: CardDetailProps;
|
|
49
|
+
}>;
|
|
50
|
+
getCardDetailByAccountId: (account_id: string) => Promise<CardDetailProps>;
|
|
51
|
+
};
|
|
52
|
+
declare const ItemOrderApi: {
|
|
53
|
+
getItemByIdentifier: (identifier: string) => Promise<any>;
|
|
54
|
+
};
|
|
55
|
+
declare const ItemOrderHelpers: {
|
|
56
|
+
genDepositOrder: (item: ItemProps, account: AccountProps) => ItemOrderProps;
|
|
57
|
+
isWithdrawOrderValid: (account: AccountProps, withdraw_limit: PlayerWithdrawLimitProps, deposit_limit: PlayerDepositLimitProps, player_balance: PlayerBalanceProps, wallet_settings?: WalletSettingsProps, draft_order?: ItemOrderProps) => {
|
|
58
|
+
available_for_withdraw: number;
|
|
59
|
+
errors: string[];
|
|
60
|
+
};
|
|
61
|
+
isDepositOrdervalid: (account: AccountProps, deposit_limit: PlayerDepositLimitProps, wallet_settings?: WalletSettingsProps, draft_order?: ItemOrderProps) => string[];
|
|
62
|
+
genWithdrawOrder: (item: ItemProps, account: AccountProps) => ItemOrderProps;
|
|
63
|
+
getDepositAvailable: (deposit_limit: PlayerDepositLimitProps, account: AccountProps) => number;
|
|
64
|
+
};
|
|
65
|
+
declare const WalletHelpers: {
|
|
66
|
+
isWalletAuthenticated: (wallet_settings: WalletSettingsProps) => boolean;
|
|
67
|
+
isNumber(value?: string | number): boolean;
|
|
68
|
+
getEmptyCardAccount: () => AccountProps;
|
|
69
|
+
getCardBrandFromNumber: (card_number: string) => string;
|
|
70
|
+
getEmptyCardDetails: () => CardDetailProps;
|
|
71
|
+
isCardValid: (card_detail: CardDetailProps) => {
|
|
72
|
+
valid: boolean;
|
|
73
|
+
card_number: boolean;
|
|
74
|
+
expiration_date: boolean;
|
|
75
|
+
first_name: boolean;
|
|
76
|
+
last_name: boolean;
|
|
77
|
+
};
|
|
78
|
+
isNumberValid: (card_number: string) => boolean;
|
|
79
|
+
isExpireValid: (expiry: string) => boolean;
|
|
80
|
+
formatCardNumber: (card_number: string) => string;
|
|
81
|
+
unformatCardNumber: (card_number: string) => string;
|
|
82
|
+
getEmptyACHAccount: () => AccountProps;
|
|
83
|
+
getEmptyACHDetail: () => ACHDetailProps;
|
|
84
|
+
getAccountOptions: (account: AccountProps) => AccountActionProps[];
|
|
85
|
+
/**
|
|
86
|
+
* Get the frequency from the days
|
|
87
|
+
* @param days
|
|
88
|
+
* @returns
|
|
89
|
+
*/
|
|
90
|
+
getFrequencyFromDays: (days: number) => string;
|
|
91
|
+
getEmptyAddress: () => PlayerAddressProps;
|
|
92
|
+
isAddressValid: (address?: PlayerAddressProps) => string[];
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,cAAc,EAAE,SAAS,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACnQ,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAKxF,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAA;AAEnE,QAAA,MAAM,SAAS;;wBAOW,QAAQ,aAAa,CAAC;uCAIN,MAAM,KAAE,QAAQ,YAAY,EAAE,CAAC;wCAI7B,MAAM,KAAE,QAAQ,kBAAkB,CAAC;0BAInD,QAAQ,kBAAkB,EAAE,CAAC;oCAIjB,kBAAkB,KAAE,QAAQ,kBAAkB,CAAC;uCAI5C,MAAM,KAAE,QAAQ,kBAAkB,CAAC;wBAIpD,QAAQ,kBAAkB,CAAC;yBAI1B,QAAQ,mBAAmB,CAAC;wBAI7B,QAAQ,mBAAmB,CAAC;kBAIhC,MAAM,KAAE,QAAQ,mBAAmB,CAAC;qBAIjC,MAAM,WAAU,MAAM,KAAE,QAAQ,mBAAmB,CAAC;2BAI9C,MAAM,KAAE,QAAQ,mBAAmB,CAAC;yBAIxC,QAAQ,YAAY,EAAE,CAAC;6BAInB,QAAQ,uBAAuB,CAAC;8BAI/B,QAAQ,wBAAwB,CAAC;uCAItB,MAAM,KAAE,QAAQ,kBAAkB,GAAC,SAAS,CAAC;0CAI1C,kBAAkB,KAAE,QAAQ,kBAAkB,CAAC;sCAInD,MAAM,KAAE,QAAQ,iBAAiB,GAAC,SAAS,CAAC;wCAI1C,iBAAiB,KAAE,QAAQ,iBAAiB,CAAC;2CAI1C,MAAM,KAAE,QAAQ,iBAAiB,CAAC;iCAI5C,MAAM,KAAE,QAAQ,YAAY,CAAC;gCAI9B,MAAM,KAAE,QAAQ;QAAE,OAAO,EAAC,YAAY,CAAC;QAAC,UAAU,CAAC,EAAC,cAAc,CAAC;QAAC,WAAW,CAAC,EAAC,eAAe,CAAA;KAAE,CAAC;6BAItG,YAAY,cAAa,cAAc,KAAE,QAAQ;QAAE,OAAO,EAAC,YAAY,CAAC;QAAC,UAAU,EAAC,cAAc,CAAA;KAAE,CAAC;mCAI/F,MAAM,YAAW,MAAM,YAAW,MAAM,KAAE,QAAQ;QAAE,OAAO,EAAC,YAAY,CAAC;QAAC,MAAM,EAAC,SAAS,GAAC,MAAM,CAAA;KAAE,CAAC;gCAIvG,YAAY,cAAa,cAAc,KAAE,QAAQ;QAAE,OAAO,EAAE,YAAY,CAAC;QAAC,UAAU,EAAC,cAAc,CAAA;KAAE,CAAC;0CAI5F,MAAM,KAAE,QAAQ,cAAc,CAAC;iCAIxC,MAAM,KAAE,QAAQ,YAAY,CAAC;8BAKhC,YAAY,eAAc,eAAe,KAAE,QAAQ;QAAE,OAAO,EAAC,YAAY,CAAC;QAAC,WAAW,EAAC,eAAe,CAAA;KAAE,CAAC;2CAI5F,MAAM,KAAE,QAAQ,eAAe,CAAC;CAI9E,CAAA;AAED,QAAA,MAAM,YAAY;sCACwB,MAAM;CAI/C,CAAA;AAED,QAAA,MAAM,gBAAgB;4BACM,SAAS,WAAU,YAAY,KAAE,cAAc;oCAyBxC,YAAY,kBAAiB,wBAAwB,iBAAgB,uBAAuB,kBAAiB,kBAAkB,oBAAmB,mBAAmB,gBAAe,cAAc,KAAE;QAAE,sBAAsB,EAAC,MAAM,CAAC;QAAC,MAAM,EAAC,MAAM,EAAE,CAAA;KAAC;mCAwCtP,YAAY,iBAAgB,uBAAuB,oBAAmB,mBAAmB,gBAAe,cAAc,KAAE,MAAM,EAAE;6BA+BrI,SAAS,WAAU,YAAY,KAAE,cAAc;yCA0BpC,uBAAuB,WAAU,YAAY;CAUpF,CAAA;AAED,QAAA,MAAM,aAAa;6CACyB,mBAAmB,KAAE,OAAO;qBAInD,MAAM,GAAG,MAAM,GAAG,OAAO;+BAMlB,YAAY;0CAYC,MAAM,KAAE,MAAM;+BAW5B,eAAe;+BAgBZ,eAAe;;;;;;;iCAWb,MAAM;4BAaV,MAAM;oCAOE,MAAM;sCAsBL,MAAM;8BAGjB,YAAY;6BAYb,cAAc;iCAeP,YAAY,KAAE,kBAAkB,EAAE;IAU9D;;;;OAIG;iCACwB,MAAM,KAAE,MAAM;2BASpB,kBAAkB;+BAgBb,kBAAkB,KAAE,MAAM,EAAE;CASzD,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MyPlayerProps } from '../../ProfileManager/api/types';
|
|
3
|
+
import type { AccountProps } from '../../types';
|
|
4
|
+
type AccountAddProps = {
|
|
5
|
+
player: MyPlayerProps;
|
|
6
|
+
accounts: AccountProps[];
|
|
7
|
+
walkthrough?: boolean;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onNext: () => void;
|
|
10
|
+
};
|
|
11
|
+
declare const ACHAdd: ({ onClose, onNext, walkthrough }: AccountAddProps) => React.JSX.Element;
|
|
12
|
+
export default ACHAdd;
|
|
13
|
+
//# sourceMappingURL=ACHAdd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ACHAdd.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/ACHAdd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD,KAAK,eAAe,GAAG;IACnB,MAAM,EAAC,aAAa,CAAC;IACrB,QAAQ,EAAC,YAAY,EAAE,CAAC;IACxB,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB,CAAA;AAED,QAAA,MAAM,MAAM,qCAAqC,eAAe,sBA8B/D,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccountProps } from '../../types';
|
|
3
|
+
type AccountCardProps = {
|
|
4
|
+
account: AccountProps;
|
|
5
|
+
hide_status?: boolean;
|
|
6
|
+
onSelectAccount: (account: AccountProps) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const AccountCard: ({ account, hide_status, onSelectAccount }: AccountCardProps) => React.JSX.Element;
|
|
9
|
+
export default AccountCard;
|
|
10
|
+
//# sourceMappingURL=AccountCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountCard.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/AccountCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAMhD,KAAK,gBAAgB,GAAG;IACpB,OAAO,EAAC,YAAY,CAAC;IACrB,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,eAAe,EAAE,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAA;CAClD,CAAA;AAED,QAAA,MAAM,WAAW,8CAA+C,gBAAgB,sBA0E/E,CAAA;AAGD,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccountLimitProps, AccountProps } from '../../types';
|
|
3
|
+
type AccountLimitManagerProps = {
|
|
4
|
+
account: AccountProps;
|
|
5
|
+
onCancel: () => void;
|
|
6
|
+
onSetLimit: (account_limit: AccountLimitProps) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const AccountLimitManager: ({ account, onCancel, onSetLimit }: AccountLimitManagerProps) => React.JSX.Element;
|
|
9
|
+
export default AccountLimitManager;
|
|
10
|
+
//# sourceMappingURL=AccountLimitManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountLimitManager.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/AccountLimitManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQnE,KAAK,wBAAwB,GAAG;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,CAAC,aAAa,EAAC,iBAAiB,KAAK,IAAI,CAAA;CACxD,CAAA;AAED,QAAA,MAAM,mBAAmB,sCAAuC,wBAAwB,sBAyLvF,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccountProps } from '../../types';
|
|
3
|
+
type AccountManagerProps = {
|
|
4
|
+
accounts: AccountProps[];
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onSelectAccount: (account: AccountProps) => void;
|
|
7
|
+
onSelectManualACH: () => void;
|
|
8
|
+
onSelectManualCard: () => void;
|
|
9
|
+
onSelectInstantBankTransfer: () => void;
|
|
10
|
+
};
|
|
11
|
+
declare const AccountManager: ({ accounts, onSelectAccount, onSelectManualACH, onSelectManualCard, onSelectInstantBankTransfer, onClose }: AccountManagerProps) => React.JSX.Element;
|
|
12
|
+
export default AccountManager;
|
|
13
|
+
//# sourceMappingURL=AccountManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountManager.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/AccountManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD,KAAK,mBAAmB,GAAG;IACvB,QAAQ,EAAC,YAAY,EAAE,CAAC;IACxB,OAAO,EAAC,MAAM,IAAI,CAAC;IACnB,eAAe,EAAE,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAA;IAC/C,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,2BAA2B,EAAE,MAAM,IAAI,CAAA;CAC1C,CAAA;AAED,QAAA,MAAM,cAAc,+GAAgH,mBAAmB,sBAoFtJ,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccountProps, AccountSnoozeProps } from '../../types';
|
|
3
|
+
type AccountSnoozeManagerProps = {
|
|
4
|
+
account: AccountProps;
|
|
5
|
+
onCancel: () => void;
|
|
6
|
+
onSnooze: (account_snooze?: AccountSnoozeProps) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const AccountSnoozeManager: ({ account, onCancel, onSnooze }: AccountSnoozeManagerProps) => React.JSX.Element;
|
|
9
|
+
export default AccountSnoozeManager;
|
|
10
|
+
//# sourceMappingURL=AccountSnoozeManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountSnoozeManager.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/AccountSnoozeManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAQpE,KAAK,yBAAyB,GAAG;IAC7B,OAAO,EAAC,YAAY,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,EAAE,CAAC,cAAc,CAAC,EAAC,kBAAkB,KAAK,IAAI,CAAA;CACzD,CAAA;AAED,QAAA,MAAM,oBAAoB,oCAAsC,yBAAyB,sBAmIxF,CAAA;AAED,eAAe,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PlayerAddressProps } from '../../types';
|
|
3
|
+
type AddressCardProps = {
|
|
4
|
+
address: PlayerAddressProps;
|
|
5
|
+
onDelete: (address: PlayerAddressProps) => void;
|
|
6
|
+
onSelect: (address: PlayerAddressProps) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const AddressCard: ({ address, onSelect, onDelete }: AddressCardProps) => React.JSX.Element;
|
|
9
|
+
export default AddressCard;
|
|
10
|
+
//# sourceMappingURL=AddressCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddressCard.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/AddressCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAItD,KAAK,gBAAgB,GAAG;IACpB,OAAO,EAAC,kBAAkB,CAAC;IAC3B,QAAQ,EAAC,CAAC,OAAO,EAAC,kBAAkB,KAAK,IAAI,CAAC;IAC9C,QAAQ,EAAC,CAAC,OAAO,EAAC,kBAAkB,KAAK,IAAI,CAAA;CAChD,CAAA;AAED,QAAA,MAAM,WAAW,oCAAoC,gBAAgB,sBAgBpE,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { LocationProps, PlayerAddressProps } from '../../types';
|
|
3
|
+
import type { MyPlayerProps } from '../../ProfileManager/api/types';
|
|
4
|
+
type AddressManaertProps = {
|
|
5
|
+
player: MyPlayerProps;
|
|
6
|
+
location?: {
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error?: string;
|
|
9
|
+
coordinates: any;
|
|
10
|
+
address_results: any[];
|
|
11
|
+
player_address?: PlayerAddressProps;
|
|
12
|
+
region?: string;
|
|
13
|
+
location?: LocationProps;
|
|
14
|
+
};
|
|
15
|
+
player_addresses: PlayerAddressProps[];
|
|
16
|
+
onAddAddress: (address: PlayerAddressProps) => void;
|
|
17
|
+
onRemoveAddress: (address: PlayerAddressProps) => void;
|
|
18
|
+
onSelect: (address: PlayerAddressProps) => void;
|
|
19
|
+
onCancel: () => void;
|
|
20
|
+
};
|
|
21
|
+
declare const AddressManager: ({ location, player_addresses, onSelect, onCancel, onAddAddress, onRemoveAddress }: AddressManaertProps) => React.JSX.Element;
|
|
22
|
+
export default AddressManager;
|
|
23
|
+
//# sourceMappingURL=AddressManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddressManager.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/AddressManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAMpE,KAAK,mBAAmB,GAAG;IACvB,MAAM,EAAC,aAAa,CAAA;IACpB,QAAQ,CAAC,EAAE;QACP,OAAO,EAAE,OAAO,CAAC;QACjB,KAAK,CAAC,EAAC,MAAM,CAAC;QACd,WAAW,EAAC,GAAG,CAAC;QAChB,eAAe,EAAC,GAAG,EAAE,CAAC;QACtB,cAAc,CAAC,EAAC,kBAAkB,CAAC;QACnC,MAAM,CAAC,EAAC,MAAM,CAAC;QACf,QAAQ,CAAC,EAAC,aAAa,CAAA;KAC1B,CAAA;IACD,gBAAgB,EAAC,kBAAkB,EAAE,CAAC;IACtC,YAAY,EAAC,CAAC,OAAO,EAAC,kBAAkB,KAAK,IAAI,CAAC;IAClD,eAAe,EAAC,CAAC,OAAO,EAAC,kBAAkB,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,CAAC,OAAO,EAAC,kBAAkB,KAAK,IAAI,CAAA;IAC9C,QAAQ,EAAE,MAAM,IAAI,CAAA;CACvB,CAAA;AAED,QAAA,MAAM,cAAc,sFAAsF,mBAAmB,sBA6K5H,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MyPlayerProps } from '../../ProfileManager/api/types';
|
|
3
|
+
import type { AccountProps, ItemOrderProps, PlayerDepositLimitProps, WalletSettingsProps } from '../../types';
|
|
4
|
+
type DepositCardProps = {
|
|
5
|
+
player: MyPlayerProps;
|
|
6
|
+
wallet_settings: WalletSettingsProps;
|
|
7
|
+
account: AccountProps;
|
|
8
|
+
deposit_limit: PlayerDepositLimitProps;
|
|
9
|
+
onTransact: (draft_order: ItemOrderProps, account_id?: string) => void;
|
|
10
|
+
onCancel: () => void;
|
|
11
|
+
};
|
|
12
|
+
declare const DepositCard: ({ wallet_settings, account, deposit_limit, onTransact, onCancel }: DepositCardProps) => React.JSX.Element;
|
|
13
|
+
export default DepositCard;
|
|
14
|
+
//# sourceMappingURL=DepositCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositCard.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/DepositCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAK9G,KAAK,gBAAgB,GAAG;IACpB,MAAM,EAAC,aAAa,CAAC;IACrB,eAAe,EAAC,mBAAmB,CAAC;IACpC,OAAO,EAAC,YAAY,CAAC;IACrB,aAAa,EAAC,uBAAuB,CAAC;IACtC,UAAU,EAAC,CAAC,WAAW,EAAC,cAAc,EAAE,UAAU,CAAC,EAAC,MAAM,KAAK,IAAI,CAAC;IACpE,QAAQ,EAAC,MAAM,IAAI,CAAA;CACtB,CAAA;AAED,QAAA,MAAM,WAAW,sEAAsE,gBAAgB,sBAuEtG,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccountProps } from '../../types';
|
|
3
|
+
type LinkAccountManagerProps = {
|
|
4
|
+
ibt_placeholer_account: AccountProps;
|
|
5
|
+
onCancel: () => void;
|
|
6
|
+
onComplete: (account_id: string) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const LinkAccountManager: ({ ibt_placeholer_account, onCancel, onComplete }: LinkAccountManagerProps) => React.JSX.Element;
|
|
9
|
+
export default LinkAccountManager;
|
|
10
|
+
//# sourceMappingURL=LinkAccountManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkAccountManager.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/LinkAccountManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,KAAK,uBAAuB,GAAG;IAC3B,sBAAsB,EAAC,YAAY,CAAC;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,EAAE,CAAC,UAAU,EAAC,MAAM,KAAK,IAAI,CAAA;CAC1C,CAAA;AAED,QAAA,MAAM,kBAAkB,qDAAsD,uBAAuB,sBAuGpG,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AccountProps, ItemOrderProps, PlayerDepositLimitProps, PlayerWithdrawLimitProps, WalletSettingsProps } from '../../types';
|
|
3
|
+
import type { MyPlayerProps, PlayerBalanceProps } from '../../ProfileManager/api/types';
|
|
4
|
+
type ManageAccountCardProps = {
|
|
5
|
+
player: MyPlayerProps;
|
|
6
|
+
wallet_settings: WalletSettingsProps;
|
|
7
|
+
player_balance: PlayerBalanceProps;
|
|
8
|
+
account: AccountProps;
|
|
9
|
+
deposit_limit: PlayerDepositLimitProps;
|
|
10
|
+
withdraw_limit: PlayerWithdrawLimitProps;
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
onAccountUpdate: (acct: AccountProps) => void;
|
|
13
|
+
onTransact: (draft_order: ItemOrderProps, account_id?: string) => void;
|
|
14
|
+
};
|
|
15
|
+
declare const ManageAccountCard: ({ player, wallet_settings, player_balance, account, deposit_limit, withdraw_limit, onAccountUpdate, onTransact, onClose }: ManageAccountCardProps) => React.JSX.Element;
|
|
16
|
+
export default ManageAccountCard;
|
|
17
|
+
//# sourceMappingURL=ManageAccountCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManageAccountCard.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/ManageAccountCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAsB,YAAY,EAAE,cAAc,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAM5J,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAMxF,KAAK,sBAAsB,GAAG;IAC1B,MAAM,EAAC,aAAa,CAAC;IACrB,eAAe,EAAC,mBAAmB,CAAC;IACpC,cAAc,EAAC,kBAAkB,CAAC;IAClC,OAAO,EAAC,YAAY,CAAC;IACrB,aAAa,EAAC,uBAAuB,CAAC;IACtC,cAAc,EAAC,wBAAwB,CAAC;IACxC,OAAO,EAAC,MAAM,IAAI,CAAC;IACnB,eAAe,EAAC,CAAC,IAAI,EAAC,YAAY,KAAK,IAAI,CAAC;IAC5C,UAAU,EAAC,CAAC,WAAW,EAAC,cAAc,EAAE,UAAU,CAAC,EAAC,MAAM,KAAK,IAAI,CAAA;CACtE,CAAA;AAED,QAAA,MAAM,iBAAiB,8HAA8H,sBAAsB,sBAqH1K,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MyPlayerProps } from '../../ProfileManager/api/types';
|
|
3
|
+
import type { AccountProps } from '../../types';
|
|
4
|
+
type ManualACHAddProps = {
|
|
5
|
+
player: MyPlayerProps;
|
|
6
|
+
onAddAccount: (account: AccountProps) => void;
|
|
7
|
+
onCancel: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const ManualACHAdd: ({ player, onAddAccount, onCancel }: ManualACHAddProps) => React.JSX.Element;
|
|
10
|
+
export default ManualACHAdd;
|
|
11
|
+
//# sourceMappingURL=ManualACHAdd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManualACHAdd.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/ManualACHAdd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAGpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,KAAK,iBAAiB,GAAG;IACrB,MAAM,EAAC,aAAa,CAAC;IACrB,YAAY,EAAC,CAAC,OAAO,EAAC,YAAY,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAC,MAAM,IAAI,CAAA;CACtB,CAAA;AACD,QAAA,MAAM,YAAY,uCAAuC,iBAAiB,sBAmJzE,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MyPlayerProps } from '../../ProfileManager/api/types';
|
|
3
|
+
import type { AccountProps } from '../../types';
|
|
4
|
+
type ManualCardAddProps = {
|
|
5
|
+
player: MyPlayerProps;
|
|
6
|
+
onAddAccount: (acct: AccountProps) => void;
|
|
7
|
+
onCancel: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const ManualCardAdd: ({ player, onAddAccount, onCancel }: ManualCardAddProps) => React.JSX.Element;
|
|
10
|
+
export default ManualCardAdd;
|
|
11
|
+
//# sourceMappingURL=ManualCardAdd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManualCardAdd.d.ts","sourceRoot":"","sources":["../../../../../src/Wallet/components/ManualCardAdd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAIpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,KAAK,kBAAkB,GAAG;IACtB,MAAM,EAAC,aAAa,CAAC;IACrB,YAAY,EAAC,CAAC,IAAI,EAAC,YAAY,KAAK,IAAI,CAAC;IACzC,QAAQ,EAAC,MAAM,IAAI,CAAA;CACtB,CAAA;AAED,QAAA,MAAM,aAAa,uCAAuC,kBAAkB,sBAkK3E,CAAA;AAOD,eAAe,aAAa,CAAA"}
|