@opexa/portal-components 0.0.18 → 0.0.19
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/dist/client/hooks/index.d.ts +6 -3
- package/dist/client/hooks/useAuthenticateMutation.js +1 -1
- package/dist/client/hooks/useAuthenticateMutation.mjs +5 -4
- package/dist/client/hooks/useBonusesQuery.d.ts +3 -0
- package/dist/client/hooks/useBonusesQuery.js +1 -0
- package/dist/client/hooks/useBonusesQuery.mjs +38 -0
- package/dist/client/hooks/useCreateGameSessionMutation.d.ts +2 -2
- package/dist/client/hooks/useCreateGameSessionMutation.js +1 -1
- package/dist/client/hooks/useCreateGameSessionMutation.mjs +22 -22
- package/dist/client/hooks/useEndGameSessionMutation.d.ts +2 -2
- package/dist/client/hooks/useEndGameSessionMutation.js +1 -1
- package/dist/client/hooks/useEndGameSessionMutation.mjs +18 -18
- package/dist/client/hooks/useFavoriteGamesQuery.d.ts +3 -0
- package/dist/client/hooks/useFavoriteGamesQuery.js +1 -0
- package/dist/client/hooks/useFavoriteGamesQuery.mjs +38 -0
- package/dist/client/hooks/useGlobalStore.d.ts +30 -20
- package/dist/client/hooks/useGlobalStore.js +1 -1
- package/dist/client/hooks/useGlobalStore.mjs +39 -6
- package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +3 -0
- package/dist/client/hooks/useJackpotPayoutsQuery.js +1 -0
- package/dist/client/hooks/useJackpotPayoutsQuery.mjs +31 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +2 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +1 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.mjs +37 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +1 -5
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -1
- package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +18 -18
- package/dist/client/hooks/useSignInMutation.js +1 -1
- package/dist/client/hooks/useSignInMutation.mjs +3 -2
- package/dist/client/hooks/useSignOutMutation.js +1 -1
- package/dist/client/hooks/useSignOutMutation.mjs +11 -10
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +2 -0
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +1 -0
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.mjs +37 -0
- package/dist/client/services/getSession.d.ts +1 -1
- package/dist/client/services/getSession.js +1 -1
- package/dist/client/services/getSession.mjs +4 -3
- package/dist/client-hooks.js +1 -1
- package/dist/client-hooks.mjs +90 -84
- package/dist/components/Account/Account.d.ts +17 -10
- package/dist/components/Account/Account.js +1 -1
- package/dist/components/Account/Account.mjs +204 -148
- package/dist/components/Account/account.recipe.d.ts +61 -0
- package/dist/components/Account/account.recipe.js +1 -0
- package/dist/components/Account/account.recipe.mjs +35 -0
- package/dist/components/BetRecords/BetRecords.js +1 -1
- package/dist/components/BetRecords/BetRecords.mjs +174 -150
- package/dist/components/Bonus/Bonus.client.js +1 -0
- package/dist/components/Bonus/Bonus.client.mjs +143 -0
- package/dist/components/Bonus/Bonus.js +1 -0
- package/dist/components/Bonus/Bonus.mjs +8 -0
- package/dist/components/Bonuses/Bonuses.js +1 -1
- package/dist/components/Bonuses/Bonuses.mjs +6 -5
- package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
- package/dist/components/DepositWithdrawal/AmountChoices.mjs +4 -2
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +25 -23
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +3 -2
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +15 -13
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +4 -2
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +4 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +4 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +3 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +9 -8
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +36 -34
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +3 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +7 -6
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +9 -8
- package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +12 -10
- package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.mjs +4 -2
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +9 -7
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +4 -2
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +4 -2
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +9 -7
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.mjs +3 -2
- package/dist/components/Disclaimer/Disclaimer.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.mjs +7 -6
- package/dist/components/Empty.js +1 -0
- package/dist/components/{Empty/CloudIcon.mjs → Empty.mjs} +26 -11
- package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +2 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.js +1 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.mjs +132 -0
- package/dist/components/FavoriteGames/FavoriteGames.d.ts +6 -0
- package/dist/components/FavoriteGames/FavoriteGames.js +1 -0
- package/dist/components/FavoriteGames/FavoriteGames.mjs +17 -0
- package/dist/components/FavoriteGames/index.d.ts +1 -0
- package/dist/components/GameLaunch/GameLaunch.d.ts +1 -5
- package/dist/components/GameLaunch/GameLaunch.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.mjs +147 -123
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +2 -2
- package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.mjs +7 -6
- package/dist/components/GameProviders/GameProviders.d.ts +7 -10
- package/dist/components/GameProviders/GameProviders.js +1 -0
- package/dist/components/GameProviders/GameProviders.mjs +122 -0
- package/dist/components/GameProviders/index.d.ts +1 -0
- package/dist/components/Games/Games.client.js +1 -1
- package/dist/components/Games/Games.client.mjs +91 -66
- package/dist/components/Games/Games.js +1 -1
- package/dist/components/Games/Games.mjs +4 -2
- package/dist/components/GamesSearch/GamesSearch.d.ts +6 -0
- package/dist/components/GamesSearch/GamesSearch.js +1 -0
- package/dist/components/GamesSearch/GamesSearch.mjs +199 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.d.ts +4 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.js +1 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.mjs +50 -0
- package/dist/components/GamesSearch/index.d.ts +2 -0
- package/dist/components/InfiniteScroll.d.ts +10 -0
- package/dist/components/InfiniteScroll.js +1 -0
- package/dist/components/InfiniteScroll.mjs +30 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +2 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.js +1 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.mjs +139 -0
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.mjs +10 -114
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +1 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.mjs +206 -119
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +11 -9
- package/dist/components/Jackpots/JackpotGameProviders.js +1 -0
- package/dist/components/Jackpots/JackpotGameProviders.mjs +105 -0
- package/dist/components/Jackpots/JackpotItem.d.ts +2 -2
- package/dist/components/Jackpots/JackpotItem.js +1 -0
- package/dist/components/Jackpots/JackpotItem.mjs +408 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +2 -2
- package/dist/components/Jackpots/JackpotItemMobile.js +1 -0
- package/dist/components/Jackpots/JackpotItemMobile.mjs +427 -0
- package/dist/components/Jackpots/JackpotRules.d.ts +6 -0
- package/dist/components/Jackpots/JackpotRules.js +1 -0
- package/dist/components/Jackpots/JackpotRules.mjs +78 -0
- package/dist/components/Jackpots/Jackpots.d.ts +2 -2
- package/dist/components/Jackpots/Jackpots.js +1 -0
- package/dist/components/Jackpots/Jackpots.mjs +61 -0
- package/dist/components/KYC/KYC.d.ts +5 -0
- package/dist/components/KYC/KYC.js +1 -0
- package/dist/components/KYC/KYC.mjs +84 -0
- package/dist/components/KYC/KYCContext.d.ts +3 -0
- package/dist/components/KYC/KYCContext.js +1 -0
- package/dist/components/KYC/KYCContext.mjs +11 -0
- package/dist/components/KYC/KYCTrigger.d.ts +5 -0
- package/dist/components/KYC/KYCTrigger.js +1 -0
- package/dist/components/KYC/KYCTrigger.mjs +42 -0
- package/dist/components/KYC/Step1.d.ts +1 -0
- package/dist/components/KYC/Step1.js +1 -0
- package/dist/components/KYC/Step1.mjs +67 -0
- package/dist/components/KYC/Step2.d.ts +1 -0
- package/dist/components/KYC/Step2.js +1 -0
- package/dist/components/KYC/Step2.mjs +126 -0
- package/dist/components/KYC/Step3.d.ts +1 -0
- package/dist/components/KYC/Step3.js +1 -0
- package/dist/components/KYC/Step3.mjs +98 -0
- package/dist/components/KYC/StepIndicator.d.ts +1 -0
- package/dist/components/KYC/StepIndicator.js +1 -0
- package/dist/components/KYC/StepIndicator.mjs +42 -0
- package/dist/components/KYC/UploadDocument.d.ts +1 -0
- package/dist/components/KYC/UploadDocument.js +1 -0
- package/dist/components/KYC/UploadDocument.mjs +69 -0
- package/dist/components/KYC/UploadSelfie.d.ts +1 -0
- package/dist/components/KYC/UploadSelfie.js +1 -0
- package/dist/components/KYC/UploadSelfie.mjs +65 -0
- package/dist/components/KYC/index.d.ts +2 -0
- package/dist/components/KYC/useKYC.d.ts +14 -0
- package/dist/components/KYC/useKYC.js +1 -0
- package/dist/components/KYC/useKYC.mjs +43 -0
- package/dist/components/KYC/utils.d.ts +1 -0
- package/dist/components/Messages/MessageItem.js +1 -1
- package/dist/components/Messages/MessageItem.mjs +37 -28
- package/dist/components/Messages/MessagePopup.js +1 -1
- package/dist/components/Messages/MessagePopup.mjs +35 -29
- package/dist/components/Messages/Messages.js +1 -1
- package/dist/components/Messages/Messages.mjs +80 -61
- package/dist/components/PortalProvider/PortalProvider.client.d.ts +2 -0
- package/dist/components/PortalProvider/{Providers.js → PortalProvider.client.js} +1 -1
- package/dist/components/PortalProvider/{Providers.mjs → PortalProvider.client.mjs} +28 -15
- package/dist/components/PortalProvider/PortalProvider.d.ts +9 -2
- package/dist/components/PortalProvider/PortalProvider.js +1 -1
- package/dist/components/PortalProvider/PortalProvider.mjs +17 -11
- package/dist/components/Promo/Promo.d.ts +4 -1
- package/dist/components/Promo/Promo.js +1 -1
- package/dist/components/Promo/Promo.mjs +2 -2
- package/dist/components/Promo/PromoContent.js +1 -1
- package/dist/components/Promo/PromoContent.mjs +75 -22
- package/dist/components/Promos/PromoCarousel.js +1 -1
- package/dist/components/Promos/PromoCarousel.mjs +5 -3
- package/dist/components/Promos/PromoGrid.js +1 -1
- package/dist/components/Promos/PromoGrid.mjs +7 -6
- package/dist/components/Promos/PromoItem.js +1 -1
- package/dist/components/Promos/PromoItem.mjs +3 -2
- package/dist/components/Protected/Protected.js +1 -1
- package/dist/components/Protected/Protected.mjs +3 -2
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.mjs +154 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.mjs +66 -0
- package/dist/components/Quests/Quests.d.ts +1 -0
- package/dist/components/Quests/Quests.js +1 -0
- package/dist/components/Quests/Quests.mjs +15 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.js +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.mjs +109 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +8 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.mjs +63 -0
- package/dist/components/Quests/index.d.ts +1 -0
- package/dist/components/SignIn/SignIn.js +1 -1
- package/dist/components/SignIn/SignIn.mjs +4 -2
- package/dist/components/SignIn/SignInForm.js +1 -1
- package/dist/components/SignIn/SignInForm.mjs +4 -2
- package/dist/components/SignUp/SignUp.js +1 -1
- package/dist/components/SignUp/SignUp.mjs +4 -2
- package/dist/components/SignUp/SignUpForm.js +1 -1
- package/dist/components/SignUp/SignUpForm.mjs +4 -2
- package/dist/components/TopWins/TopWins.client.js +1 -1
- package/dist/components/TopWins/TopWins.client.mjs +3 -2
- package/dist/components/TopWins/TopWins.js +1 -1
- package/dist/components/TopWins/TopWins.mjs +4 -2
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +2 -0
- package/dist/components/TournamentCounter/TournamentCounter.client.js +1 -0
- package/dist/components/TournamentCounter/TournamentCounter.client.mjs +139 -0
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.mjs +17 -111
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +7 -5
- package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounterItem.mjs +225 -86
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +1 -0
- package/dist/components/Tournaments/TournamentGameProviders.js +1 -0
- package/dist/components/Tournaments/TournamentGameProviders.mjs +105 -0
- package/dist/components/Tournaments/TournamentItem.d.ts +6 -0
- package/dist/components/Tournaments/TournamentItem.js +2 -0
- package/dist/components/Tournaments/TournamentItem.mjs +262 -0
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +8 -0
- package/dist/components/Tournaments/TournamentItemMobile.js +2 -0
- package/dist/components/Tournaments/TournamentItemMobile.mjs +285 -0
- package/dist/components/Tournaments/TournamentRules.d.ts +6 -0
- package/dist/components/Tournaments/TournamentRules.js +1 -0
- package/dist/components/Tournaments/TournamentRules.mjs +78 -0
- package/dist/components/Tournaments/Tournaments.d.ts +8 -0
- package/dist/components/Tournaments/Tournaments.js +1 -0
- package/dist/components/Tournaments/Tournaments.mjs +47 -0
- package/dist/components/Tournaments/index.d.ts +1 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.mjs +47 -38
- package/dist/components/TransactionRecords/TableFilters.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.mjs +236 -194
- package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.mjs +3 -2
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +62 -53
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +61 -52
- package/dist/components/index.d.ts +8 -0
- package/dist/components.js +1 -1
- package/dist/components.mjs +56 -36
- package/dist/icons/ArrowNarrowDownIcon.js +1 -0
- package/dist/icons/ArrowNarrowDownIcon.mjs +22 -0
- package/dist/icons/ArrowNarrowUpIcon.js +1 -0
- package/dist/icons/ArrowNarrowUpIcon.mjs +22 -0
- package/dist/icons/Award01Icon.d.ts +2 -0
- package/dist/icons/Award01Icon.js +1 -0
- package/dist/icons/Award01Icon.mjs +22 -0
- package/dist/icons/CalendarIcon.d.ts +2 -0
- package/dist/icons/CalendarIcon.js +1 -0
- package/dist/icons/CalendarIcon.mjs +26 -0
- package/dist/icons/Camera01Icon.d.ts +2 -0
- package/dist/icons/Camera01Icon.js +1 -0
- package/dist/icons/Camera01Icon.mjs +25 -0
- package/dist/icons/CheckCircleIcon.d.ts +2 -0
- package/dist/icons/CheckCircleIcon.js +1 -0
- package/dist/icons/CheckCircleIcon.mjs +22 -0
- package/dist/icons/ClockStopWatchIcon.d.ts +2 -0
- package/dist/icons/ClockStopWatchIcon.js +1 -0
- package/dist/icons/ClockStopWatchIcon.mjs +26 -0
- package/dist/icons/CoinsHandIcon.d.ts +2 -0
- package/dist/icons/CoinsHandIcon.js +1 -0
- package/dist/icons/CoinsHandIcon.mjs +22 -0
- package/dist/icons/CoinsStacked02Icon.d.ts +2 -0
- package/dist/icons/CoinsStacked02Icon.js +1 -0
- package/dist/icons/CoinsStacked02Icon.mjs +22 -0
- package/dist/icons/CoinsSwap02Icon.d.ts +2 -0
- package/dist/icons/CoinsSwap02Icon.js +1 -0
- package/dist/icons/CoinsSwap02Icon.mjs +22 -0
- package/dist/icons/Flag06Icon.d.ts +2 -0
- package/dist/icons/Flag06Icon.js +1 -0
- package/dist/icons/Flag06Icon.mjs +22 -0
- package/dist/icons/HelpCircleIcon.d.ts +2 -0
- package/dist/icons/HelpCircleIcon.js +1 -0
- package/dist/icons/HelpCircleIcon.mjs +22 -0
- package/dist/icons/InfoCircleIcon.d.ts +2 -0
- package/dist/icons/InfoCircleIcon.js +1 -0
- package/dist/icons/InfoCircleIcon.mjs +27 -0
- package/dist/icons/Menu01Icon.d.ts +2 -0
- package/dist/icons/Menu01Icon.js +1 -0
- package/dist/icons/Menu01Icon.mjs +22 -0
- package/dist/icons/Menu03Icon.d.ts +2 -0
- package/dist/icons/Menu03Icon.js +1 -0
- package/dist/icons/Menu03Icon.mjs +22 -0
- package/dist/icons/SearchLgIcon.d.ts +2 -0
- package/dist/icons/SearchLgIcon.js +1 -0
- package/dist/icons/SearchLgIcon.mjs +22 -0
- package/dist/icons/Settings02Icon.d.ts +2 -0
- package/dist/icons/Settings02Icon.js +1 -0
- package/dist/icons/Settings02Icon.mjs +25 -0
- package/dist/icons/Star01Icon.d.ts +2 -0
- package/dist/icons/Star01Icon.js +1 -0
- package/dist/icons/Star01Icon.mjs +22 -0
- package/dist/icons/StarIcon.js +1 -1
- package/dist/icons/StarIcon.mjs +1 -2
- package/dist/icons/UploadCloud02Icon.d.ts +2 -0
- package/dist/icons/UploadCloud02Icon.js +1 -0
- package/dist/icons/UploadCloud02Icon.mjs +22 -0
- package/dist/icons/index.d.ts +16 -0
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +80 -48
- package/dist/images/fantasma-games.png.js +1 -0
- package/dist/images/fantasma-games.png.mjs +4 -0
- package/dist/images/hacksaw-gaming.png.js +1 -0
- package/dist/images/hacksaw-gaming.png.mjs +4 -0
- package/dist/images/trophy-two.png.js +1 -0
- package/dist/images/trophy-two.png.mjs +4 -0
- package/dist/portal-components.css +1 -1
- package/dist/server/services/getSession.d.ts +1 -1
- package/dist/server/services/getSession.js +1 -1
- package/dist/server/services/getSession.mjs +6 -5
- package/dist/server/utils/index.d.ts +2 -1
- package/dist/server/utils/prefetchBonusesQuery.d.ts +1 -0
- package/dist/server/utils/prefetchBonusesQuery.js +1 -0
- package/dist/server/utils/prefetchBonusesQuery.mjs +26 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.d.ts +1 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.js +1 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.mjs +28 -0
- package/dist/server-utils.js +1 -1
- package/dist/server-utils.mjs +38 -36
- package/dist/theme.css +9 -2
- package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +4 -0
- package/dist/third-parties/FacebookPixel/FacebookPixel.js +1 -0
- package/dist/third-parties/FacebookPixel/FacebookPixel.mjs +6 -0
- package/dist/third-parties/FacebookPixel/api.d.ts +1 -0
- package/dist/third-parties/FacebookPixel/index.d.ts +1 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +4 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +1 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.mjs +6 -0
- package/dist/third-parties/GoogleRecaptcha/api.d.ts +1 -0
- package/dist/third-parties/GoogleRecaptcha/index.d.ts +1 -0
- package/dist/third-parties/index.d.ts +2 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/dist/types.mjs +1 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
- package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
- package/dist/ui/AlertDialog/alertDialog.recipe.mjs +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.mjs +6 -6
- package/dist/ui/Combobox/Combobox.d.ts +815 -1
- package/dist/ui/Combobox/Combobox.js +1 -1
- package/dist/ui/Combobox/Combobox.mjs +27 -2
- package/dist/ui/Combobox/combobox.recipe.d.ts +58 -1
- package/dist/ui/Combobox/combobox.recipe.js +1 -0
- package/dist/ui/Combobox/combobox.recipe.mjs +15 -0
- package/dist/ui/DatePicker/DatePicker.d.ts +192 -192
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +8 -8
- package/dist/ui/Dialog/Dialog.d.ts +88 -88
- package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Dialog/dialog.recipe.mjs +3 -3
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Drawer/drawer.recipe.js +1 -1
- package/dist/ui/Drawer/drawer.recipe.mjs +1 -1
- package/dist/ui/IconButton/iconButton.recipe.d.ts +1 -0
- package/dist/ui/IconButton/iconButton.recipe.js +1 -1
- package/dist/ui/IconButton/iconButton.recipe.mjs +3 -2
- package/dist/ui/Popover/Popover.d.ts +55 -55
- package/dist/ui/Popover/popover.recipe.d.ts +5 -5
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Select/select.recipe.js +1 -1
- package/dist/ui/Select/select.recipe.mjs +2 -1
- package/dist/utils/queryKeys.d.ts +7 -3
- package/dist/utils/queryKeys.js +1 -1
- package/dist/utils/queryKeys.mjs +53 -43
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +43 -39
- package/package.json +16 -11
- package/dist/client/hooks/useSiteQuery.d.ts +0 -3
- package/dist/client/hooks/useSiteQuery.js +0 -1
- package/dist/client/hooks/useSiteQuery.mjs +0 -23
- package/dist/components/Empty/CloudIcon.d.ts +0 -2
- package/dist/components/Empty/CloudIcon.js +0 -1
- package/dist/components/Empty/Empty.js +0 -1
- package/dist/components/Empty/Empty.mjs +0 -20
- package/dist/components/Empty/index.d.ts +0 -1
- package/dist/components/PortalProvider/Providers.d.ts +0 -2
- package/dist/images/ball.png.js +0 -1
- package/dist/images/ball.png.mjs +0 -4
- package/dist/images/card.png.js +0 -1
- package/dist/images/card.png.mjs +0 -4
- package/dist/server/utils/prefetchSiteQuery.d.ts +0 -1
- package/dist/server/utils/prefetchSiteQuery.js +0 -1
- package/dist/server/utils/prefetchSiteQuery.mjs +0 -23
- /package/dist/components/{Empty/Empty.d.ts → Empty.d.ts} +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as o, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { Portal as m } from "@ark-ui/react";
|
|
4
|
+
import e from "next/image";
|
|
5
|
+
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
6
|
+
import "../../ui/Avatar/Avatar.mjs";
|
|
7
|
+
import "../../ui/Badge/Badge.mjs";
|
|
8
|
+
import "../../utils/capitalize.mjs";
|
|
9
|
+
import "../../utils/parseDecimal.mjs";
|
|
10
|
+
import "../../constants/index.mjs";
|
|
11
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
12
|
+
import "../../utils/getQueryClient.mjs";
|
|
13
|
+
import "../../utils/isMobile.mjs";
|
|
14
|
+
import "../../ui/Button/button.recipe.mjs";
|
|
15
|
+
import "../../ui/Checkbox/Checkbox.mjs";
|
|
16
|
+
import "../../ui/Clipboard/Clipboard.mjs";
|
|
17
|
+
import "../../ui/Collapsible/Collapsible.mjs";
|
|
18
|
+
import "../../ui/Combobox/Combobox.mjs";
|
|
19
|
+
import "../../ui/DatePicker/DatePicker.mjs";
|
|
20
|
+
import { Root as l, Backdrop as n, Positioner as a, Content as s } from "../../ui/Dialog/Dialog.mjs";
|
|
21
|
+
import "../../ui/Drawer/Drawer.mjs";
|
|
22
|
+
import "../../ui/Field/Field.mjs";
|
|
23
|
+
import "../../ui/IconButton/iconButton.recipe.mjs";
|
|
24
|
+
import "../../ui/NumberInput/NumberInput.mjs";
|
|
25
|
+
import "../../ui/PasswordInput/PasswordInput.mjs";
|
|
26
|
+
import "../../ui/PinInput/PinInput.mjs";
|
|
27
|
+
import "../../ui/Popover/Popover.mjs";
|
|
28
|
+
import "tailwind-merge";
|
|
29
|
+
import "../../ui/Progress/Progress.mjs";
|
|
30
|
+
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
31
|
+
import "../../ui/Select/Select.mjs";
|
|
32
|
+
import "../../ui/Table/Table.mjs";
|
|
33
|
+
import "../../ui/Tabs/Tabs.mjs";
|
|
34
|
+
import { KYCContext as c } from "./KYCContext.mjs";
|
|
35
|
+
import { Step1 as f } from "./Step1.mjs";
|
|
36
|
+
import { Step2 as u } from "./Step2.mjs";
|
|
37
|
+
import { Step3 as d } from "./Step3.mjs";
|
|
38
|
+
import { StepIndicator as g } from "./StepIndicator.mjs";
|
|
39
|
+
import { UploadDocument as x } from "./UploadDocument.mjs";
|
|
40
|
+
import { UploadSelfie as h } from "./UploadSelfie.mjs";
|
|
41
|
+
import { useKYC as S } from "./useKYC.mjs";
|
|
42
|
+
function mo(p) {
|
|
43
|
+
const t = S();
|
|
44
|
+
return /* @__PURE__ */ o(c, { value: t, children: /* @__PURE__ */ o(
|
|
45
|
+
l,
|
|
46
|
+
{
|
|
47
|
+
open: t.open,
|
|
48
|
+
onOpenChange: (i) => {
|
|
49
|
+
t.setOpen(i.open);
|
|
50
|
+
},
|
|
51
|
+
lazyMount: !0,
|
|
52
|
+
unmountOnExit: !0,
|
|
53
|
+
closeOnEscape: !1,
|
|
54
|
+
closeOnInteractOutside: !1,
|
|
55
|
+
children: /* @__PURE__ */ r(m, { children: [
|
|
56
|
+
/* @__PURE__ */ o(n, {}),
|
|
57
|
+
/* @__PURE__ */ o(a, { children: /* @__PURE__ */ r(s, { className: "mx-auto w-fit", children: [
|
|
58
|
+
t.uploadingSelfie && /* @__PURE__ */ o(h, {}),
|
|
59
|
+
t.uploadingDocument && /* @__PURE__ */ o(x, {}),
|
|
60
|
+
!t.uploadingSelfie && !t.uploadingDocument && /* @__PURE__ */ r("div", { className: "bg-bg-primary-alt flex h-full w-full flex-col p-3xl lg:h-[800px] lg:w-[400px] lg:rounded-xl", children: [
|
|
61
|
+
/* @__PURE__ */ o(
|
|
62
|
+
e,
|
|
63
|
+
{
|
|
64
|
+
src: p.logo,
|
|
65
|
+
alt: "",
|
|
66
|
+
width: 200,
|
|
67
|
+
height: 100,
|
|
68
|
+
className: "mx-auto h-auto w-[120px]",
|
|
69
|
+
draggable: !1
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
/* @__PURE__ */ o(g, {}),
|
|
73
|
+
t.step === 1 && /* @__PURE__ */ o(f, {}),
|
|
74
|
+
t.step === 2 && /* @__PURE__ */ o(u, {}),
|
|
75
|
+
t.step === 3 && /* @__PURE__ */ o(d, {})
|
|
76
|
+
] })
|
|
77
|
+
] }) })
|
|
78
|
+
] })
|
|
79
|
+
}
|
|
80
|
+
) });
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
mo as KYC
|
|
84
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=require("tiny-invariant"),n=e.createContext(null);function r(){const t=e.useContext(n);return o(t),t}exports.KYCContext=n;exports.useKYCContext=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),n=require("@ark-ui/react"),o=require("zustand/shallow");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../client/services/getSession.js");require("react");require("lodash-es");require("@opexa/portal-sdk-core/object-id");const q=require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");require("usehooks-ts");function c(e){const u=q.useGlobalStore(o.useShallow(r=>({kyc:r.kyc})));return i.jsx(n.ark.button,{type:"button",...e,onClick:r=>{var t;return u.kyc.setOpen(!0),(t=e.onClick)==null?void 0:t.call(e,r)},"data-state":u.kyc.open?"open":"closed"})}exports.KYCTrigger=c;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
3
|
+
import { ark as e } from "@ark-ui/react";
|
|
4
|
+
import { useShallow as p } from "zustand/shallow";
|
|
5
|
+
import "@opexa/portal-sdk-core";
|
|
6
|
+
import "@tanstack/react-query";
|
|
7
|
+
import "tiny-invariant";
|
|
8
|
+
import "../../constants/index.mjs";
|
|
9
|
+
import "../../utils/capitalize.mjs";
|
|
10
|
+
import "../../utils/parseDecimal.mjs";
|
|
11
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
12
|
+
import "../../utils/getQueryClient.mjs";
|
|
13
|
+
import "../../utils/isMobile.mjs";
|
|
14
|
+
import "../../client/services/getSession.mjs";
|
|
15
|
+
import "react";
|
|
16
|
+
import "lodash-es";
|
|
17
|
+
import "@opexa/portal-sdk-core/object-id";
|
|
18
|
+
import { useGlobalStore as n } from "../../client/hooks/useGlobalStore.mjs";
|
|
19
|
+
import "../../client/hooks/useInfiniteQueryHelper.mjs";
|
|
20
|
+
import "usehooks-ts";
|
|
21
|
+
function O(t) {
|
|
22
|
+
const r = n(
|
|
23
|
+
p((o) => ({
|
|
24
|
+
kyc: o.kyc
|
|
25
|
+
}))
|
|
26
|
+
);
|
|
27
|
+
return /* @__PURE__ */ m(
|
|
28
|
+
e.button,
|
|
29
|
+
{
|
|
30
|
+
type: "button",
|
|
31
|
+
...t,
|
|
32
|
+
onClick: (o) => {
|
|
33
|
+
var i;
|
|
34
|
+
return r.kyc.setOpen(!0), (i = t.onClick) == null ? void 0 : i.call(t, o);
|
|
35
|
+
},
|
|
36
|
+
"data-state": r.kyc.open ? "open" : "closed"
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
O as KYCTrigger
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Step1(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const u=require("../../ui/Button/Button.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/Combobox/Combobox.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");const r=require("../../ui/Field/Field.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");const s=require("./KYCContext.js");function n(){const t=s.useKYCContext();return e.jsxs("form",{className:"mt-3xl flex grow flex-col",onSubmit:i=>{i.preventDefault(),t.setStep(2)},children:[e.jsx("h2",{className:"text-text-primary-900 text-center text-lg",children:"Basic Information"}),e.jsx("p",{className:"text-text-tertiary-600 text-center text-sm",children:"Enter your basic details for identification and communication."}),e.jsxs("div",{className:"mt-9 grow",children:[e.jsxs(r.Root,{children:[e.jsx(r.Label,{children:"Real name"}),e.jsx(r.Input,{})]}),e.jsxs(r.Root,{className:"mt-xl",children:[e.jsx(r.Label,{children:"Date of birth"}),e.jsx(r.Input,{type:"date"})]}),e.jsx(u.Button,{type:"submit",className:"mt-xl",children:"Continue"})]}),e.jsxs("div",{className:"text-text-tertiary-600 mt-3xl w-full text-center text-sm",children:["Use another account."," ",e.jsx("button",{type:"button",className:"text-button-tertiary-fg font-semibold",children:"Log out"})]})]})}exports.Step1=n;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
3
|
+
import "../../ui/Avatar/Avatar.mjs";
|
|
4
|
+
import "../../ui/Badge/Badge.mjs";
|
|
5
|
+
import { Button as n } from "../../ui/Button/Button.mjs";
|
|
6
|
+
import "../../ui/Checkbox/Checkbox.mjs";
|
|
7
|
+
import "../../ui/Clipboard/Clipboard.mjs";
|
|
8
|
+
import "../../ui/Collapsible/Collapsible.mjs";
|
|
9
|
+
import "../../ui/Combobox/Combobox.mjs";
|
|
10
|
+
import "../../ui/DatePicker/DatePicker.mjs";
|
|
11
|
+
import "../../ui/Dialog/Dialog.mjs";
|
|
12
|
+
import "../../ui/Drawer/Drawer.mjs";
|
|
13
|
+
import { Root as e, Label as o, Input as i } from "../../ui/Field/Field.mjs";
|
|
14
|
+
import "@ark-ui/react";
|
|
15
|
+
import "../../utils/capitalize.mjs";
|
|
16
|
+
import "../../utils/parseDecimal.mjs";
|
|
17
|
+
import "../../constants/index.mjs";
|
|
18
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
19
|
+
import "../../utils/getQueryClient.mjs";
|
|
20
|
+
import "../../utils/isMobile.mjs";
|
|
21
|
+
import "../../ui/IconButton/iconButton.recipe.mjs";
|
|
22
|
+
import "../../ui/NumberInput/NumberInput.mjs";
|
|
23
|
+
import "../../ui/PasswordInput/PasswordInput.mjs";
|
|
24
|
+
import "../../ui/PinInput/PinInput.mjs";
|
|
25
|
+
import "../../ui/Popover/Popover.mjs";
|
|
26
|
+
import "tailwind-merge";
|
|
27
|
+
import "../../ui/Progress/Progress.mjs";
|
|
28
|
+
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
29
|
+
import "../../ui/Select/Select.mjs";
|
|
30
|
+
import "../../ui/Table/Table.mjs";
|
|
31
|
+
import "../../ui/Tabs/Tabs.mjs";
|
|
32
|
+
import { useKYCContext as a } from "./KYCContext.mjs";
|
|
33
|
+
function H() {
|
|
34
|
+
const m = a();
|
|
35
|
+
return /* @__PURE__ */ r(
|
|
36
|
+
"form",
|
|
37
|
+
{
|
|
38
|
+
className: "mt-3xl flex grow flex-col",
|
|
39
|
+
onSubmit: (p) => {
|
|
40
|
+
p.preventDefault(), m.setStep(2);
|
|
41
|
+
},
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ t("h2", { className: "text-text-primary-900 text-center text-lg", children: "Basic Information" }),
|
|
44
|
+
/* @__PURE__ */ t("p", { className: "text-text-tertiary-600 text-center text-sm", children: "Enter your basic details for identification and communication." }),
|
|
45
|
+
/* @__PURE__ */ r("div", { className: "mt-9 grow", children: [
|
|
46
|
+
/* @__PURE__ */ r(e, { children: [
|
|
47
|
+
/* @__PURE__ */ t(o, { children: "Real name" }),
|
|
48
|
+
/* @__PURE__ */ t(i, {})
|
|
49
|
+
] }),
|
|
50
|
+
/* @__PURE__ */ r(e, { className: "mt-xl", children: [
|
|
51
|
+
/* @__PURE__ */ t(o, { children: "Date of birth" }),
|
|
52
|
+
/* @__PURE__ */ t(i, { type: "date" })
|
|
53
|
+
] }),
|
|
54
|
+
/* @__PURE__ */ t(n, { type: "submit", className: "mt-xl", children: "Continue" })
|
|
55
|
+
] }),
|
|
56
|
+
/* @__PURE__ */ r("div", { className: "text-text-tertiary-600 mt-3xl w-full text-center text-sm", children: [
|
|
57
|
+
"Use another account.",
|
|
58
|
+
" ",
|
|
59
|
+
/* @__PURE__ */ t("button", { type: "button", className: "text-button-tertiary-fg font-semibold", children: "Log out" })
|
|
60
|
+
] })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
H as Step1
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Step2(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../icons/HelpCircleIcon.js"),a=require("../../icons/UploadCloud02Icon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const s=require("../../ui/Button/Button.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/Combobox/Combobox.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");const r=require("../../ui/Field/Field.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");const o=require("./KYCContext.js");function n(){const t=o.useKYCContext();return e.jsxs("form",{className:"mt-3xl flex grow flex-col items-start justify-start overflow-y-auto",onSubmit:i=>{i.preventDefault(),t.setStep(3)},children:[e.jsx("h2",{className:"text-text-primary-900 w-full text-center text-lg",children:"Verify Your Identity"}),e.jsx("p",{className:"text-text-tertiary-600 w-full text-center text-sm",children:"Verify your details to confirm your identity and secure your access."}),e.jsxs("div",{className:"border-border-secondary bg-bg-brand-secondary-alt text-text-tertiary-600 mt-xl w-full rounded-xl border p-3 text-2xs leading-tight",children:[e.jsx("h4",{className:"font-semibold",children:"Instructions"}),e.jsxs("ol",{className:"mt-2 list-inside list-decimal",children:[e.jsx("li",{children:"Upload a full photo of your ID."}),e.jsx("li",{children:"Please ensure that all details in the uploaded image are legible."}),e.jsx("li",{children:"Please ensure that the ID uploaded is within the validity period."})]})]}),e.jsxs("div",{className:"scrollbar:w-2 scrollbar-track:bg-bg-primary-alt scrollbar-track:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-thumb:rounded-full mt-xl w-full grow overflow-y-auto",children:[e.jsxs(r.Root,{children:[e.jsxs(r.Label,{className:"flex items-center gap-1.5",children:["Front of your ID"," ",e.jsx(l.HelpCircleIcon,{className:"text-text-quinary size-4"})]}),e.jsxs("div",{className:"border-border-secondary bg-bg-primary rounded-xl border px-3xl py-xl",children:[e.jsx("div",{className:"border-border-secondary shadow-xs text-text-secondary-700 mx-auto flex size-8 items-center justify-center rounded-sm border",children:e.jsx(a.UploadCloud02Icon,{className:"size-4"})}),e.jsxs("p",{className:"text-text-tertiary-600 mt-lg text-center text-xs",children:[e.jsx("span",{className:"text-button-tertiary-fg font-semibold",children:"Click to upload"})," ","or drag and drop"]}),e.jsx("p",{className:"text-text-tertiary-600 mt-xs text-center text-xs",children:"PNG, JPG or JPEG (max. 10mb)"}),e.jsx("p",{className:"text-text-tertiary-600 mt-xs text-center text-xs",children:"or"}),e.jsx(s.Button,{size:"xs",variant:"outline",className:"mx-auto mt-xs w-fit",onClick:()=>{t.setUploadingDocument(!0)},children:"Take a photo"})]})]}),e.jsxs(r.Root,{className:"mt-3",children:[e.jsxs(r.Label,{className:"flex items-center gap-1.5",children:["Selfie holding your ID"," ",e.jsx(l.HelpCircleIcon,{className:"text-text-quinary size-4"})]}),e.jsx("div",{className:"border-border-secondary bg-bg-primary flex h-[180px] items-center justify-center rounded-xl border px-3xl py-xl",children:e.jsx(s.Button,{size:"xs",variant:"outline",className:"w-fit",onClick:()=>{t.setUploadingDocument(!0)},children:"Take a photo"})})]})]}),e.jsxs("div",{className:"mt-xl w-full",children:[e.jsx(s.Button,{type:"submit",children:"Continue"}),e.jsxs("div",{className:"text-text-tertiary-600 mt-3xl w-full text-center text-sm",children:["Use another account."," ",e.jsx("button",{type:"button",className:"text-button-tertiary-fg font-semibold",children:"Log out"})]})]})]})}exports.Step2=n;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { HelpCircleIcon as i } from "../../icons/HelpCircleIcon.mjs";
|
|
3
|
+
import { UploadCloud02Icon as m } from "../../icons/UploadCloud02Icon.mjs";
|
|
4
|
+
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
5
|
+
import "../../ui/Avatar/Avatar.mjs";
|
|
6
|
+
import "../../ui/Badge/Badge.mjs";
|
|
7
|
+
import { Button as o } from "../../ui/Button/Button.mjs";
|
|
8
|
+
import "../../ui/Checkbox/Checkbox.mjs";
|
|
9
|
+
import "../../ui/Clipboard/Clipboard.mjs";
|
|
10
|
+
import "../../ui/Collapsible/Collapsible.mjs";
|
|
11
|
+
import "../../ui/Combobox/Combobox.mjs";
|
|
12
|
+
import "../../ui/DatePicker/DatePicker.mjs";
|
|
13
|
+
import "../../ui/Dialog/Dialog.mjs";
|
|
14
|
+
import "../../ui/Drawer/Drawer.mjs";
|
|
15
|
+
import { Root as l, Label as a } from "../../ui/Field/Field.mjs";
|
|
16
|
+
import "@ark-ui/react";
|
|
17
|
+
import "../../utils/capitalize.mjs";
|
|
18
|
+
import "../../utils/parseDecimal.mjs";
|
|
19
|
+
import "../../constants/index.mjs";
|
|
20
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
21
|
+
import "../../utils/getQueryClient.mjs";
|
|
22
|
+
import "../../utils/isMobile.mjs";
|
|
23
|
+
import "../../ui/IconButton/iconButton.recipe.mjs";
|
|
24
|
+
import "../../ui/NumberInput/NumberInput.mjs";
|
|
25
|
+
import "../../ui/PasswordInput/PasswordInput.mjs";
|
|
26
|
+
import "../../ui/PinInput/PinInput.mjs";
|
|
27
|
+
import "../../ui/Popover/Popover.mjs";
|
|
28
|
+
import "tailwind-merge";
|
|
29
|
+
import "../../ui/Progress/Progress.mjs";
|
|
30
|
+
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
31
|
+
import "../../ui/Select/Select.mjs";
|
|
32
|
+
import "../../ui/Table/Table.mjs";
|
|
33
|
+
import "../../ui/Tabs/Tabs.mjs";
|
|
34
|
+
import { useKYCContext as n } from "./KYCContext.mjs";
|
|
35
|
+
function R() {
|
|
36
|
+
const r = n();
|
|
37
|
+
return /* @__PURE__ */ e(
|
|
38
|
+
"form",
|
|
39
|
+
{
|
|
40
|
+
className: "mt-3xl flex grow flex-col items-start justify-start overflow-y-auto",
|
|
41
|
+
onSubmit: (s) => {
|
|
42
|
+
s.preventDefault(), r.setStep(3);
|
|
43
|
+
},
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ t("h2", { className: "text-text-primary-900 w-full text-center text-lg", children: "Verify Your Identity" }),
|
|
46
|
+
/* @__PURE__ */ t("p", { className: "text-text-tertiary-600 w-full text-center text-sm", children: "Verify your details to confirm your identity and secure your access." }),
|
|
47
|
+
/* @__PURE__ */ e("div", { className: "border-border-secondary bg-bg-brand-secondary-alt text-text-tertiary-600 mt-xl w-full rounded-xl border p-3 text-2xs leading-tight", children: [
|
|
48
|
+
/* @__PURE__ */ t("h4", { className: "font-semibold", children: "Instructions" }),
|
|
49
|
+
/* @__PURE__ */ e("ol", { className: "mt-2 list-inside list-decimal", children: [
|
|
50
|
+
/* @__PURE__ */ t("li", { children: "Upload a full photo of your ID." }),
|
|
51
|
+
/* @__PURE__ */ t("li", { children: "Please ensure that all details in the uploaded image are legible." }),
|
|
52
|
+
/* @__PURE__ */ t("li", { children: "Please ensure that the ID uploaded is within the validity period." })
|
|
53
|
+
] })
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ e("div", { className: "scrollbar:w-2 scrollbar-track:bg-bg-primary-alt scrollbar-track:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-thumb:rounded-full mt-xl w-full grow overflow-y-auto", children: [
|
|
56
|
+
/* @__PURE__ */ e(l, { children: [
|
|
57
|
+
/* @__PURE__ */ e(a, { className: "flex items-center gap-1.5", children: [
|
|
58
|
+
"Front of your ID",
|
|
59
|
+
" ",
|
|
60
|
+
/* @__PURE__ */ t(i, { className: "text-text-quinary size-4" })
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ e("div", { className: "border-border-secondary bg-bg-primary rounded-xl border px-3xl py-xl", children: [
|
|
63
|
+
/* @__PURE__ */ t("div", { className: "border-border-secondary shadow-xs text-text-secondary-700 mx-auto flex size-8 items-center justify-center rounded-sm border", children: /* @__PURE__ */ t(m, { className: "size-4" }) }),
|
|
64
|
+
/* @__PURE__ */ e("p", { className: "text-text-tertiary-600 mt-lg text-center text-xs", children: [
|
|
65
|
+
/* @__PURE__ */ t("span", { className: "text-button-tertiary-fg font-semibold", children: "Click to upload" }),
|
|
66
|
+
" ",
|
|
67
|
+
"or drag and drop"
|
|
68
|
+
] }),
|
|
69
|
+
/* @__PURE__ */ t("p", { className: "text-text-tertiary-600 mt-xs text-center text-xs", children: "PNG, JPG or JPEG (max. 10mb)" }),
|
|
70
|
+
/* @__PURE__ */ t("p", { className: "text-text-tertiary-600 mt-xs text-center text-xs", children: "or" }),
|
|
71
|
+
/* @__PURE__ */ t(
|
|
72
|
+
o,
|
|
73
|
+
{
|
|
74
|
+
size: "xs",
|
|
75
|
+
variant: "outline",
|
|
76
|
+
className: "mx-auto mt-xs w-fit",
|
|
77
|
+
onClick: () => {
|
|
78
|
+
r.setUploadingDocument(!0);
|
|
79
|
+
},
|
|
80
|
+
children: "Take a photo"
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
] })
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ e(l, { className: "mt-3", children: [
|
|
86
|
+
/* @__PURE__ */ e(a, { className: "flex items-center gap-1.5", children: [
|
|
87
|
+
"Selfie holding your ID",
|
|
88
|
+
" ",
|
|
89
|
+
/* @__PURE__ */ t(i, { className: "text-text-quinary size-4" })
|
|
90
|
+
] }),
|
|
91
|
+
/* @__PURE__ */ t("div", { className: "border-border-secondary bg-bg-primary flex h-[180px] items-center justify-center rounded-xl border px-3xl py-xl", children: /* @__PURE__ */ t(
|
|
92
|
+
o,
|
|
93
|
+
{
|
|
94
|
+
size: "xs",
|
|
95
|
+
variant: "outline",
|
|
96
|
+
className: "w-fit",
|
|
97
|
+
onClick: () => {
|
|
98
|
+
r.setUploadingDocument(!0);
|
|
99
|
+
},
|
|
100
|
+
children: "Take a photo"
|
|
101
|
+
}
|
|
102
|
+
) })
|
|
103
|
+
] })
|
|
104
|
+
] }),
|
|
105
|
+
/* @__PURE__ */ e("div", { className: "mt-xl w-full", children: [
|
|
106
|
+
/* @__PURE__ */ t(o, { type: "submit", children: "Continue" }),
|
|
107
|
+
/* @__PURE__ */ e("div", { className: "text-text-tertiary-600 mt-3xl w-full text-center text-sm", children: [
|
|
108
|
+
"Use another account.",
|
|
109
|
+
" ",
|
|
110
|
+
/* @__PURE__ */ t(
|
|
111
|
+
"button",
|
|
112
|
+
{
|
|
113
|
+
type: "button",
|
|
114
|
+
className: "text-button-tertiary-fg font-semibold",
|
|
115
|
+
children: "Log out"
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
] })
|
|
119
|
+
] })
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
export {
|
|
125
|
+
R as Step2
|
|
126
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Step3(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../icons/CheckIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const n=require("../../ui/Button/Button.js"),t=require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/Combobox/Combobox.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");const r=require("../../ui/Field/Field.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");const u=require("./KYCContext.js");function a(){const s=u.useKYCContext();return e.jsxs("form",{className:"mt-3xl flex grow flex-col items-start justify-start overflow-y-auto",onSubmit:l=>{l.preventDefault(),s.setOpen(!1)},children:[e.jsx("h2",{className:"text-text-primary-900 w-full text-center text-lg",children:"Personal Information"}),e.jsx("p",{className:"text-text-tertiary-600 w-full text-center text-sm",children:"Provide your basic details and work info."}),e.jsxs("div",{className:"scrollbar:w-2 scrollbar-track:bg-bg-primary-alt scrollbar-track:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-thumb:rounded-full mt-4 w-full grow overflow-y-auto",children:[e.jsxs(r.Root,{children:[e.jsx(r.Label,{children:"Permanent address"}),e.jsx(r.Input,{})]}),e.jsxs(t.Root,{className:"mt-lg",children:[e.jsx(t.Control,{children:e.jsx(t.Indicator,{asChild:!0,children:e.jsx(i.CheckIcon,{})})}),e.jsx(t.Label,{children:"Use permanent address as current address"}),e.jsx(t.HiddenInput,{})]}),e.jsxs(r.Root,{className:"mt-xl",children:[e.jsx(r.Label,{children:"Current address"}),e.jsx(r.Input,{})]}),e.jsxs(r.Root,{className:"mt-xl",children:[e.jsx(r.Label,{children:"Source of income"}),e.jsx(r.Input,{})]}),e.jsxs(r.Root,{className:"mt-xl",children:[e.jsx(r.Label,{children:"Nature of work"}),e.jsx(r.Input,{})]}),e.jsxs(r.Root,{className:"mt-xl",children:[e.jsx(r.Label,{children:"Place of birth"}),e.jsx(r.Input,{})]}),e.jsxs(r.Root,{className:"mt-xl",children:[e.jsx(r.Label,{children:"Nationality"}),e.jsx(r.Input,{})]})]}),e.jsxs("div",{className:"mt-xl w-full",children:[e.jsx(n.Button,{type:"submit",children:"Submit and Play"}),e.jsxs("div",{className:"text-text-tertiary-600 mt-3xl w-full text-center text-sm",children:["Use another account."," ",e.jsx("button",{type:"button",className:"text-button-tertiary-fg font-semibold",children:"Log out"})]})]})]})}exports.Step3=a;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { CheckIcon as a } from "../../icons/CheckIcon.mjs";
|
|
3
|
+
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
4
|
+
import "../../ui/Avatar/Avatar.mjs";
|
|
5
|
+
import "../../ui/Badge/Badge.mjs";
|
|
6
|
+
import { Button as n } from "../../ui/Button/Button.mjs";
|
|
7
|
+
import { Root as s, Control as c, Indicator as d, Label as p, HiddenInput as u } from "../../ui/Checkbox/Checkbox.mjs";
|
|
8
|
+
import "../../ui/Clipboard/Clipboard.mjs";
|
|
9
|
+
import "../../ui/Collapsible/Collapsible.mjs";
|
|
10
|
+
import "../../ui/Combobox/Combobox.mjs";
|
|
11
|
+
import "../../ui/DatePicker/DatePicker.mjs";
|
|
12
|
+
import "../../ui/Dialog/Dialog.mjs";
|
|
13
|
+
import "../../ui/Drawer/Drawer.mjs";
|
|
14
|
+
import { Root as e, Label as o, Input as l } from "../../ui/Field/Field.mjs";
|
|
15
|
+
import "@ark-ui/react";
|
|
16
|
+
import "../../utils/capitalize.mjs";
|
|
17
|
+
import "../../utils/parseDecimal.mjs";
|
|
18
|
+
import "../../constants/index.mjs";
|
|
19
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
20
|
+
import "../../utils/getQueryClient.mjs";
|
|
21
|
+
import "../../utils/isMobile.mjs";
|
|
22
|
+
import "../../ui/IconButton/iconButton.recipe.mjs";
|
|
23
|
+
import "../../ui/NumberInput/NumberInput.mjs";
|
|
24
|
+
import "../../ui/PasswordInput/PasswordInput.mjs";
|
|
25
|
+
import "../../ui/PinInput/PinInput.mjs";
|
|
26
|
+
import "../../ui/Popover/Popover.mjs";
|
|
27
|
+
import "tailwind-merge";
|
|
28
|
+
import "../../ui/Progress/Progress.mjs";
|
|
29
|
+
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
30
|
+
import "../../ui/Select/Select.mjs";
|
|
31
|
+
import "../../ui/Table/Table.mjs";
|
|
32
|
+
import "../../ui/Tabs/Tabs.mjs";
|
|
33
|
+
import { useKYCContext as h } from "./KYCContext.mjs";
|
|
34
|
+
function T() {
|
|
35
|
+
const i = h();
|
|
36
|
+
return /* @__PURE__ */ r(
|
|
37
|
+
"form",
|
|
38
|
+
{
|
|
39
|
+
className: "mt-3xl flex grow flex-col items-start justify-start overflow-y-auto",
|
|
40
|
+
onSubmit: (m) => {
|
|
41
|
+
m.preventDefault(), i.setOpen(!1);
|
|
42
|
+
},
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ t("h2", { className: "text-text-primary-900 w-full text-center text-lg", children: "Personal Information" }),
|
|
45
|
+
/* @__PURE__ */ t("p", { className: "text-text-tertiary-600 w-full text-center text-sm", children: "Provide your basic details and work info." }),
|
|
46
|
+
/* @__PURE__ */ r("div", { className: "scrollbar:w-2 scrollbar-track:bg-bg-primary-alt scrollbar-track:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-thumb:rounded-full mt-4 w-full grow overflow-y-auto", children: [
|
|
47
|
+
/* @__PURE__ */ r(e, { children: [
|
|
48
|
+
/* @__PURE__ */ t(o, { children: "Permanent address" }),
|
|
49
|
+
/* @__PURE__ */ t(l, {})
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ r(s, { className: "mt-lg", children: [
|
|
52
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(d, { asChild: !0, children: /* @__PURE__ */ t(a, {}) }) }),
|
|
53
|
+
/* @__PURE__ */ t(p, { children: "Use permanent address as current address" }),
|
|
54
|
+
/* @__PURE__ */ t(u, {})
|
|
55
|
+
] }),
|
|
56
|
+
/* @__PURE__ */ r(e, { className: "mt-xl", children: [
|
|
57
|
+
/* @__PURE__ */ t(o, { children: "Current address" }),
|
|
58
|
+
/* @__PURE__ */ t(l, {})
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ r(e, { className: "mt-xl", children: [
|
|
61
|
+
/* @__PURE__ */ t(o, { children: "Source of income" }),
|
|
62
|
+
/* @__PURE__ */ t(l, {})
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ r(e, { className: "mt-xl", children: [
|
|
65
|
+
/* @__PURE__ */ t(o, { children: "Nature of work" }),
|
|
66
|
+
/* @__PURE__ */ t(l, {})
|
|
67
|
+
] }),
|
|
68
|
+
/* @__PURE__ */ r(e, { className: "mt-xl", children: [
|
|
69
|
+
/* @__PURE__ */ t(o, { children: "Place of birth" }),
|
|
70
|
+
/* @__PURE__ */ t(l, {})
|
|
71
|
+
] }),
|
|
72
|
+
/* @__PURE__ */ r(e, { className: "mt-xl", children: [
|
|
73
|
+
/* @__PURE__ */ t(o, { children: "Nationality" }),
|
|
74
|
+
/* @__PURE__ */ t(l, {})
|
|
75
|
+
] })
|
|
76
|
+
] }),
|
|
77
|
+
/* @__PURE__ */ r("div", { className: "mt-xl w-full", children: [
|
|
78
|
+
/* @__PURE__ */ t(n, { type: "submit", children: "Submit and Play" }),
|
|
79
|
+
/* @__PURE__ */ r("div", { className: "text-text-tertiary-600 mt-3xl w-full text-center text-sm", children: [
|
|
80
|
+
"Use another account.",
|
|
81
|
+
" ",
|
|
82
|
+
/* @__PURE__ */ t(
|
|
83
|
+
"button",
|
|
84
|
+
{
|
|
85
|
+
type: "button",
|
|
86
|
+
className: "text-button-tertiary-fg font-semibold",
|
|
87
|
+
children: "Log out"
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] })
|
|
91
|
+
] })
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
export {
|
|
97
|
+
T as Step3
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function StepIndicator(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("../../utils/capitalize.js");const a=require("../../utils/dataAttr.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const s=require("./KYCContext.js");function u(){const t=s.useKYCContext();return e.jsxs("div",{className:"mx-auto mt-3xl flex w-fit items-center",children:[e.jsx(i,{active:t.step>=1}),e.jsx(r,{active:t.step>=2}),e.jsx(i,{active:t.step>=2}),e.jsx(r,{active:t.step>=3}),e.jsx(i,{active:t.step>=3})]})}function i({active:t}){return e.jsx("div",{className:"ui-active:bg-bg-brand-solid ui-active:shadow-brand border-border-disabled-subtle bg-bg-disabled-subtle group flex size-6 items-center justify-center rounded-full transition-colors delay-300 duration-300","data-active":a.dataAttr(t),children:e.jsx("div",{className:"bg-text-disabled-subtle size-2.5 rounded-full transition-all delay-300 duration-300 ui-group-active:bg-white"})})}function r({active:t}){return e.jsx("div",{className:"bg-bg-quaternary group relative h-0.5 w-20","data-active":a.dataAttr(t),children:e.jsx("div",{className:"bg-text-brand-primary-600 absolute left-0 top-0 h-full w-0 transition-all duration-300 ui-group-active:w-full"})})}exports.StepIndicator=u;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import "../../utils/capitalize.mjs";
|
|
3
|
+
import { dataAttr as a } from "../../utils/dataAttr.mjs";
|
|
4
|
+
import "../../utils/parseDecimal.mjs";
|
|
5
|
+
import "../../constants/index.mjs";
|
|
6
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
7
|
+
import "../../utils/getQueryClient.mjs";
|
|
8
|
+
import "../../utils/isMobile.mjs";
|
|
9
|
+
import { useKYCContext as s } from "./KYCContext.mjs";
|
|
10
|
+
function f() {
|
|
11
|
+
const t = s();
|
|
12
|
+
return /* @__PURE__ */ o("div", { className: "mx-auto mt-3xl flex w-fit items-center", children: [
|
|
13
|
+
/* @__PURE__ */ e(i, { active: t.step >= 1 }),
|
|
14
|
+
/* @__PURE__ */ e(r, { active: t.step >= 2 }),
|
|
15
|
+
/* @__PURE__ */ e(i, { active: t.step >= 2 }),
|
|
16
|
+
/* @__PURE__ */ e(r, { active: t.step >= 3 }),
|
|
17
|
+
/* @__PURE__ */ e(i, { active: t.step >= 3 })
|
|
18
|
+
] });
|
|
19
|
+
}
|
|
20
|
+
function i({ active: t }) {
|
|
21
|
+
return /* @__PURE__ */ e(
|
|
22
|
+
"div",
|
|
23
|
+
{
|
|
24
|
+
className: "ui-active:bg-bg-brand-solid ui-active:shadow-brand border-border-disabled-subtle bg-bg-disabled-subtle group flex size-6 items-center justify-center rounded-full transition-colors delay-300 duration-300",
|
|
25
|
+
"data-active": a(t),
|
|
26
|
+
children: /* @__PURE__ */ e("div", { className: "bg-text-disabled-subtle size-2.5 rounded-full transition-all delay-300 duration-300 ui-group-active:bg-white" })
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
function r({ active: t }) {
|
|
31
|
+
return /* @__PURE__ */ e(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
className: "bg-bg-quaternary group relative h-0.5 w-20",
|
|
35
|
+
"data-active": a(t),
|
|
36
|
+
children: /* @__PURE__ */ e("div", { className: "bg-text-brand-primary-600 absolute left-0 top-0 h-full w-0 transition-all duration-300 ui-group-active:w-full" })
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
f as StepIndicator
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function UploadDocument(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../icons/Camera01Icon.js"),u=require("../../icons/CheckCircleIcon.js"),s=require("../../icons/XIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const r=require("../../ui/Button/Button.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/Combobox/Combobox.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");const n=require("./KYCContext.js");function o(){const t=n.useKYCContext();return e.jsxs("div",{className:"bg-bg-primary-alt relative w-[747px] rounded-xl pb-12 pt-4xl",children:[e.jsx("button",{type:"button",className:"absolute right-4 top-4",onClick:()=>t.setUploadingDocument(!1),children:e.jsx(s.XIcon,{className:"text-text-quinary size-5"})}),e.jsx("h2",{className:"text-center text-xl font-semibold",children:"Take a Picture of Your Front ID"}),e.jsxs("p",{className:"text-text-tertiary-600 mt-md text-center",children:["Make sure your ID is clearly visible, well-lit, and not blurry.",e.jsx("br",{})," Avoid glare or reflections, and ensure all corners are within the frame."]}),e.jsx("div",{className:"mx-auto mt-10 h-[333px] w-[643px] rounded-xl bg-white/10"}),e.jsxs("div",{className:"mx-auto mt-10 flex w-fit gap-3",children:[e.jsxs(r.Button,{variant:"outline",fullWidth:!1,children:[e.jsx(i.Camera01Icon,{}),"Retake Photo"]}),e.jsxs(r.Button,{fullWidth:!1,children:[e.jsx(u.CheckCircleIcon,{}),"Use Photo"]})]})]})}exports.UploadDocument=o;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Camera01Icon as e } from "../../icons/Camera01Icon.mjs";
|
|
3
|
+
import { CheckCircleIcon as m } from "../../icons/CheckCircleIcon.mjs";
|
|
4
|
+
import { XIcon as p } from "../../icons/XIcon.mjs";
|
|
5
|
+
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
6
|
+
import "../../ui/Avatar/Avatar.mjs";
|
|
7
|
+
import "../../ui/Badge/Badge.mjs";
|
|
8
|
+
import { Button as o } from "../../ui/Button/Button.mjs";
|
|
9
|
+
import "../../ui/Checkbox/Checkbox.mjs";
|
|
10
|
+
import "../../ui/Clipboard/Clipboard.mjs";
|
|
11
|
+
import "../../ui/Collapsible/Collapsible.mjs";
|
|
12
|
+
import "../../ui/Combobox/Combobox.mjs";
|
|
13
|
+
import "../../ui/DatePicker/DatePicker.mjs";
|
|
14
|
+
import "../../ui/Dialog/Dialog.mjs";
|
|
15
|
+
import "../../ui/Drawer/Drawer.mjs";
|
|
16
|
+
import "../../ui/Field/Field.mjs";
|
|
17
|
+
import "@ark-ui/react";
|
|
18
|
+
import "../../utils/capitalize.mjs";
|
|
19
|
+
import "../../utils/parseDecimal.mjs";
|
|
20
|
+
import "../../constants/index.mjs";
|
|
21
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
22
|
+
import "../../utils/getQueryClient.mjs";
|
|
23
|
+
import "../../utils/isMobile.mjs";
|
|
24
|
+
import "../../ui/IconButton/iconButton.recipe.mjs";
|
|
25
|
+
import "../../ui/NumberInput/NumberInput.mjs";
|
|
26
|
+
import "../../ui/PasswordInput/PasswordInput.mjs";
|
|
27
|
+
import "../../ui/PinInput/PinInput.mjs";
|
|
28
|
+
import "../../ui/Popover/Popover.mjs";
|
|
29
|
+
import "tailwind-merge";
|
|
30
|
+
import "../../ui/Progress/Progress.mjs";
|
|
31
|
+
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
32
|
+
import "../../ui/Select/Select.mjs";
|
|
33
|
+
import "../../ui/Table/Table.mjs";
|
|
34
|
+
import "../../ui/Tabs/Tabs.mjs";
|
|
35
|
+
import { useKYCContext as l } from "./KYCContext.mjs";
|
|
36
|
+
function G() {
|
|
37
|
+
const i = l();
|
|
38
|
+
return /* @__PURE__ */ r("div", { className: "bg-bg-primary-alt relative w-[747px] rounded-xl pb-12 pt-4xl", children: [
|
|
39
|
+
/* @__PURE__ */ t(
|
|
40
|
+
"button",
|
|
41
|
+
{
|
|
42
|
+
type: "button",
|
|
43
|
+
className: "absolute right-4 top-4",
|
|
44
|
+
onClick: () => i.setUploadingDocument(!1),
|
|
45
|
+
children: /* @__PURE__ */ t(p, { className: "text-text-quinary size-5" })
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ t("h2", { className: "text-center text-xl font-semibold", children: "Take a Picture of Your Front ID" }),
|
|
49
|
+
/* @__PURE__ */ r("p", { className: "text-text-tertiary-600 mt-md text-center", children: [
|
|
50
|
+
"Make sure your ID is clearly visible, well-lit, and not blurry.",
|
|
51
|
+
/* @__PURE__ */ t("br", {}),
|
|
52
|
+
" Avoid glare or reflections, and ensure all corners are within the frame."
|
|
53
|
+
] }),
|
|
54
|
+
/* @__PURE__ */ t("div", { className: "mx-auto mt-10 h-[333px] w-[643px] rounded-xl bg-white/10" }),
|
|
55
|
+
/* @__PURE__ */ r("div", { className: "mx-auto mt-10 flex w-fit gap-3", children: [
|
|
56
|
+
/* @__PURE__ */ r(o, { variant: "outline", fullWidth: !1, children: [
|
|
57
|
+
/* @__PURE__ */ t(e, {}),
|
|
58
|
+
"Retake Photo"
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ r(o, { fullWidth: !1, children: [
|
|
61
|
+
/* @__PURE__ */ t(m, {}),
|
|
62
|
+
"Use Photo"
|
|
63
|
+
] })
|
|
64
|
+
] })
|
|
65
|
+
] });
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
G as UploadDocument
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function UploadSelfie(): import("react").JSX.Element;
|