@opexa/portal-components 0.0.8 → 0.0.9
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/_virtual/jsx-runtime.js +1 -1
- package/dist/_virtual/jsx-runtime.mjs +3 -2
- package/dist/_virtual/jsx-runtime2.js +1 -0
- package/dist/_virtual/jsx-runtime2.mjs +4 -0
- package/dist/components/Account/Account.js +1 -1
- package/dist/components/Account/Account.mjs +159 -117
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/Banner/Banner.mjs +49 -45
- package/dist/components/BetRecords/BetRecords.js +1 -1
- package/dist/components/BetRecords/BetRecords.mjs +344 -232
- package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
- package/dist/components/DepositWithdrawal/AmountChoices.mjs +20 -19
- package/dist/components/DepositWithdrawal/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/AvailablePromos.mjs +98 -80
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +38 -27
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +189 -148
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +181 -140
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.mjs +9 -4
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +187 -146
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.mjs +16 -10
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +198 -151
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.mjs +9 -4
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.mjs +9 -4
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +65 -29
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +8 -7
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.mjs +14 -8
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +179 -141
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.mjs +9 -4
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +103 -55
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +22 -16
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +7 -6
- package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +87 -59
- package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.mjs +57 -51
- package/dist/components/Disclaimer/Disclaimer.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.mjs +77 -58
- package/dist/components/Empty/CloudIcon.js +1 -1
- package/dist/components/Empty/CloudIcon.mjs +189 -168
- package/dist/components/Empty/Empty.js +1 -1
- package/dist/components/Empty/Empty.mjs +13 -4
- package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +4 -1
- package/dist/components/FeatureFlagProvider/FeatureFlagContext.js +1 -1
- package/dist/components/FeatureFlagProvider/FeatureFlagContext.mjs +8 -7
- package/dist/components/FeatureFlagProvider/FeatureFlagProvider.js +1 -1
- package/dist/components/FeatureFlagProvider/FeatureFlagProvider.mjs +33 -27
- package/dist/components/GameLaunch/GameLaunch.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.mjs +216 -170
- package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.mjs +20 -19
- package/dist/components/Games/Games.js +1 -1
- package/dist/components/Games/Games.mjs +102 -84
- package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.mjs +80 -63
- package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.mjs +144 -114
- package/dist/components/Marquee/Marquee.js +1 -1
- package/dist/components/Marquee/Marquee.mjs +19 -10
- package/dist/components/PortalProvider/PortalProvider.js +1 -1
- package/dist/components/PortalProvider/PortalProvider.mjs +53 -46
- package/dist/components/Promos/PromoCarousel.js +1 -1
- package/dist/components/Promos/PromoCarousel.mjs +93 -76
- package/dist/components/Promos/PromoGrid.js +1 -1
- package/dist/components/Promos/PromoGrid.mjs +37 -29
- package/dist/components/Promos/PromoItem.js +1 -1
- package/dist/components/Promos/PromoItem.mjs +51 -44
- package/dist/components/Promos/Promos.js +1 -1
- package/dist/components/Promos/Promos.mjs +5 -4
- package/dist/components/Protected/Protected.js +1 -1
- package/dist/components/Protected/Protected.mjs +3 -2
- package/dist/components/SignIn/SignIn.js +1 -1
- package/dist/components/SignIn/SignIn.mjs +49 -36
- package/dist/components/SignIn/SignInForm.js +1 -1
- package/dist/components/SignIn/SignInForm.mjs +261 -198
- package/dist/components/SignUp/SignUp.js +1 -1
- package/dist/components/SignUp/SignUp.mjs +51 -38
- package/dist/components/SignUp/SignUpForm.js +1 -1
- package/dist/components/SignUp/SignUpForm.mjs +240 -189
- package/dist/components/TopWins/TopWins.js +1 -1
- package/dist/components/TopWins/TopWins.mjs +39 -29
- package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.mjs +72 -57
- package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounterItem.mjs +92 -66
- package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.mjs +163 -115
- package/dist/components/TransactionRecords/TableFilters.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.mjs +252 -186
- package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.mjs +31 -19
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +143 -101
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +164 -114
- package/dist/components.d.ts +2 -0
- package/dist/hooks/useAccountQuery.js +1 -1
- package/dist/hooks/useAccountQuery.mjs +8 -7
- package/dist/hooks/useAuthenticateMutation.js +1 -1
- package/dist/hooks/useAuthenticateMutation.mjs +6 -5
- package/dist/hooks/useAvailablePromosQuery.js +1 -1
- package/dist/hooks/useAvailablePromosQuery.mjs +3 -2
- package/dist/hooks/useBetRecordsQuery.js +1 -1
- package/dist/hooks/useBetRecordsQuery.mjs +3 -2
- package/dist/hooks/useCashbacksQuery.js +1 -1
- package/dist/hooks/useCashbacksQuery.mjs +3 -2
- package/dist/hooks/useCreateGCashDepositMutation.js +1 -1
- package/dist/hooks/useCreateGCashDepositMutation.mjs +10 -9
- package/dist/hooks/useCreateGameSessionMutation.js +1 -1
- package/dist/hooks/useCreateGameSessionMutation.mjs +8 -7
- package/dist/hooks/useCreateMayaAppDepositMutation.js +1 -1
- package/dist/hooks/useCreateMayaAppDepositMutation.mjs +9 -8
- package/dist/hooks/useCreateMayaDepositMutation.js +1 -1
- package/dist/hooks/useCreateMayaDepositMutation.mjs +10 -9
- package/dist/hooks/useCreateOnlineBankDepositMutation.js +1 -1
- package/dist/hooks/useCreateOnlineBankDepositMutation.mjs +4 -3
- package/dist/hooks/useCreateQRPHDepositMutation.js +1 -1
- package/dist/hooks/useCreateQRPHDepositMutation.mjs +4 -3
- package/dist/hooks/useDepositQuery.js +1 -1
- package/dist/hooks/useDepositQuery.mjs +7 -6
- package/dist/hooks/useDepositRecordsQuery.js +1 -1
- package/dist/hooks/useDepositRecordsQuery.mjs +10 -9
- package/dist/hooks/useDepositsCountQuery.js +1 -1
- package/dist/hooks/useDepositsCountQuery.mjs +3 -2
- package/dist/hooks/useEndGameSessionMutation.js +1 -1
- package/dist/hooks/useEndGameSessionMutation.mjs +3 -2
- package/dist/hooks/useGamesQuery.js +1 -1
- package/dist/hooks/useGamesQuery.mjs +3 -2
- package/dist/hooks/useInstapayBankListQuery.js +1 -1
- package/dist/hooks/useInstapayBankListQuery.mjs +10 -9
- package/dist/hooks/useIsMayaSessionValidQuery.js +1 -1
- package/dist/hooks/useIsMayaSessionValidQuery.mjs +3 -2
- package/dist/hooks/useJackpotsQuery.js +1 -1
- package/dist/hooks/useJackpotsQuery.mjs +6 -5
- package/dist/hooks/useLocaleInfo.js +1 -1
- package/dist/hooks/useLocaleInfo.mjs +3 -2
- package/dist/hooks/useMemberVerificationQuery.js +1 -1
- package/dist/hooks/useMemberVerificationQuery.mjs +7 -6
- package/dist/hooks/usePaymentSettingsQuery.js +1 -1
- package/dist/hooks/usePaymentSettingsQuery.mjs +7 -6
- package/dist/hooks/usePlatformQuery.js +1 -1
- package/dist/hooks/usePlatformQuery.mjs +3 -2
- package/dist/hooks/usePromoQuery.js +1 -1
- package/dist/hooks/usePromoQuery.mjs +3 -2
- package/dist/hooks/usePromosQuery.js +1 -1
- package/dist/hooks/usePromosQuery.mjs +3 -2
- package/dist/hooks/useSendVerificationCodeMutation.js +1 -1
- package/dist/hooks/useSendVerificationCodeMutation.mjs +3 -2
- package/dist/hooks/useSessionQuery.js +1 -1
- package/dist/hooks/useSessionQuery.mjs +3 -2
- package/dist/hooks/useSignInMutation.js +1 -1
- package/dist/hooks/useSignInMutation.mjs +3 -2
- package/dist/hooks/useSignOutMutation.js +1 -1
- package/dist/hooks/useSignOutMutation.mjs +3 -2
- package/dist/hooks/useSignUpMutation.js +1 -1
- package/dist/hooks/useSignUpMutation.mjs +3 -2
- package/dist/hooks/useSiteQuery.js +1 -1
- package/dist/hooks/useSiteQuery.mjs +3 -2
- package/dist/hooks/useTopWinsQuery.js +1 -1
- package/dist/hooks/useTopWinsQuery.mjs +3 -2
- package/dist/hooks/useTournamentsQuery.js +1 -1
- package/dist/hooks/useTournamentsQuery.mjs +6 -5
- package/dist/hooks/useTransactionRecordsQuery.js +1 -1
- package/dist/hooks/useTransactionRecordsQuery.mjs +3 -2
- package/dist/hooks/useWalletQuery.js +1 -1
- package/dist/hooks/useWalletQuery.mjs +3 -2
- package/dist/hooks/useWithdrawalRecordsQuery.js +1 -1
- package/dist/hooks/useWithdrawalRecordsQuery.mjs +9 -8
- package/dist/hooks.d.ts +2 -0
- package/dist/icons/AlertCircleIcon.js +1 -1
- package/dist/icons/AlertCircleIcon.mjs +7 -6
- package/dist/icons/AlertTriangle.js +1 -1
- package/dist/icons/AlertTriangle.mjs +7 -6
- package/dist/icons/ArrowLeftIcon.js +1 -1
- package/dist/icons/ArrowLeftIcon.mjs +7 -6
- package/dist/icons/ArrowNarrowUpRightIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpRightIcon.mjs +7 -6
- package/dist/icons/ArrowRightIcon.js +1 -1
- package/dist/icons/ArrowRightIcon.mjs +7 -6
- package/dist/icons/Award02Icon.js +1 -1
- package/dist/icons/Award02Icon.mjs +7 -6
- package/dist/icons/BankIcon.js +1 -1
- package/dist/icons/BankIcon.mjs +7 -6
- package/dist/icons/CheckCircleBrokenIcon.js +1 -1
- package/dist/icons/CheckCircleBrokenIcon.mjs +6 -5
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CheckIcon.mjs +7 -6
- package/dist/icons/ChevronDownIcon.js +1 -1
- package/dist/icons/ChevronDownIcon.mjs +6 -5
- package/dist/icons/ChevronLeftIcon.js +1 -1
- package/dist/icons/ChevronLeftIcon.mjs +7 -6
- package/dist/icons/ChevronRightIcon.js +1 -1
- package/dist/icons/ChevronRightIcon.mjs +7 -6
- package/dist/icons/ChevronUpIcon.js +1 -1
- package/dist/icons/ChevronUpIcon.mjs +7 -6
- package/dist/icons/Expand03Icon.js +1 -1
- package/dist/icons/Expand03Icon.mjs +7 -6
- package/dist/icons/FacebookIcon.js +1 -1
- package/dist/icons/FacebookIcon.mjs +22 -19
- package/dist/icons/File02Icon.js +1 -1
- package/dist/icons/File02Icon.mjs +7 -6
- package/dist/icons/Gift01Icon.js +1 -1
- package/dist/icons/Gift01Icon.mjs +7 -6
- package/dist/icons/GoogleIcon.js +1 -1
- package/dist/icons/GoogleIcon.mjs +43 -40
- package/dist/icons/Logout01Icon.js +1 -1
- package/dist/icons/Logout01Icon.mjs +7 -6
- package/dist/icons/QrCode02Icon.js +1 -1
- package/dist/icons/QrCode02Icon.mjs +7 -6
- package/dist/icons/SpinnerIcon.js +1 -1
- package/dist/icons/SpinnerIcon.mjs +33 -30
- package/dist/icons/User01Icon.js +1 -1
- package/dist/icons/User01Icon.mjs +7 -6
- package/dist/icons/Wallet02Icon.js +1 -1
- package/dist/icons/Wallet02Icon.mjs +7 -6
- package/dist/icons/XIcon.js +1 -1
- package/dist/icons/XIcon.mjs +7 -6
- package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js +6 -0
- package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.mjs +953 -0
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +1 -1
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs +1 -1
- package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js +1 -1
- package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.mjs +1 -1
- package/dist/server/utils/prefetchAccountQuery.js +1 -1
- package/dist/server/utils/prefetchAccountQuery.mjs +7 -6
- package/dist/server/utils/prefetchAvailablePromosQuery.js +1 -1
- package/dist/server/utils/prefetchAvailablePromosQuery.mjs +11 -10
- package/dist/server/utils/prefetchBetRecordsQuery.js +1 -1
- package/dist/server/utils/prefetchBetRecordsQuery.mjs +9 -8
- package/dist/server/utils/prefetchCashbacksQuery.js +1 -1
- package/dist/server/utils/prefetchCashbacksQuery.mjs +9 -8
- package/dist/server/utils/prefetchDepositQuery.js +1 -1
- package/dist/server/utils/prefetchDepositQuery.mjs +11 -10
- package/dist/server/utils/prefetchDepositRecordsQuery.js +1 -1
- package/dist/server/utils/prefetchDepositRecordsQuery.mjs +11 -10
- package/dist/server/utils/prefetchGamesQuery.js +1 -1
- package/dist/server/utils/prefetchGamesQuery.mjs +3 -2
- package/dist/server/utils/prefetchInstapayBankListQuery.js +1 -1
- package/dist/server/utils/prefetchInstapayBankListQuery.mjs +3 -2
- package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +1 -1
- package/dist/server/utils/prefetchIsMayaSessionValidQuery.mjs +3 -2
- package/dist/server/utils/prefetchJackpotsQuery.js +1 -1
- package/dist/server/utils/prefetchJackpotsQuery.mjs +5 -4
- package/dist/server/utils/prefetchMemberVerificationQuery.js +1 -1
- package/dist/server/utils/prefetchMemberVerificationQuery.mjs +6 -5
- package/dist/server/utils/prefetchPaymentSettingsQuery.js +1 -1
- package/dist/server/utils/prefetchPaymentSettingsQuery.mjs +3 -2
- package/dist/server/utils/prefetchPlatformQuery.js +1 -1
- package/dist/server/utils/prefetchPlatformQuery.mjs +3 -2
- package/dist/server/utils/prefetchPromoQuery.js +1 -1
- package/dist/server/utils/prefetchPromoQuery.mjs +7 -6
- package/dist/server/utils/prefetchPromosQuery.js +1 -1
- package/dist/server/utils/prefetchPromosQuery.mjs +6 -5
- package/dist/server/utils/prefetchSessionQuery.js +1 -1
- package/dist/server/utils/prefetchSessionQuery.mjs +3 -2
- package/dist/server/utils/prefetchSiteQuery.js +1 -1
- package/dist/server/utils/prefetchSiteQuery.mjs +3 -2
- package/dist/server/utils/prefetchTopWinsQuery.js +1 -1
- package/dist/server/utils/prefetchTopWinsQuery.mjs +7 -6
- package/dist/server/utils/prefetchTournamentsQuery.js +1 -1
- package/dist/server/utils/prefetchTournamentsQuery.mjs +3 -2
- package/dist/server/utils/prefetchTransactionRecordsQuery.js +1 -1
- package/dist/server/utils/prefetchTransactionRecordsQuery.mjs +3 -2
- package/dist/server/utils/prefetchWalletQuery.js +1 -1
- package/dist/server/utils/prefetchWalletQuery.mjs +10 -9
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +1 -1
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.mjs +3 -2
- package/dist/server-services.d.ts +2 -0
- package/dist/server-utils.d.ts +2 -0
- package/dist/services.d.ts +2 -0
- package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
- package/dist/ui/AlertDialog/alertDialog.recipe.mjs +3 -2
- package/dist/ui/Avatar/avatar.recipe.js +1 -1
- package/dist/ui/Avatar/avatar.recipe.mjs +6 -5
- package/dist/ui/Badge/Badge.js +1 -1
- package/dist/ui/Badge/Badge.mjs +13 -12
- package/dist/ui/Badge/badge.recipe.js +1 -1
- package/dist/ui/Badge/badge.recipe.mjs +3 -2
- package/dist/ui/Button/Button.js +1 -1
- package/dist/ui/Button/Button.mjs +14 -13
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.mjs +3 -2
- package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
- package/dist/ui/Clipboard/clipboard.recipe.mjs +3 -2
- package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
- package/dist/ui/DatePicker/datePicker.recipe.mjs +3 -2
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Dialog/dialog.recipe.mjs +3 -2
- package/dist/ui/Drawer/drawer.recipe.js +1 -1
- package/dist/ui/Drawer/drawer.recipe.mjs +3 -2
- package/dist/ui/Field/field.recipe.js +1 -1
- package/dist/ui/Field/field.recipe.mjs +3 -2
- package/dist/ui/IconButton/IconButton.js +1 -1
- package/dist/ui/IconButton/IconButton.mjs +9 -8
- package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
- package/dist/ui/NumberInput/numberInput.recipe.mjs +3 -2
- package/dist/ui/PinInput/pinInput.recipe.js +1 -1
- package/dist/ui/PinInput/pinInput.recipe.mjs +3 -2
- package/dist/ui/Popover/popover.recipe.js +1 -1
- package/dist/ui/Popover/popover.recipe.mjs +6 -5
- package/dist/ui/Presence.js +1 -1
- package/dist/ui/Presence.mjs +8 -7
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
- package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +3 -2
- package/dist/ui/Select/select.recipe.js +1 -1
- package/dist/ui/Select/select.recipe.mjs +3 -2
- package/dist/ui/Table/table.recipe.js +1 -1
- package/dist/ui/Table/table.recipe.mjs +3 -2
- package/dist/ui/Tabs/tabs.recipe.js +1 -1
- package/dist/ui/Tabs/tabs.recipe.mjs +3 -2
- package/dist/ui.d.ts +2 -0
- package/dist/utils/createRecipeContext.js +1 -1
- package/dist/utils/createRecipeContext.mjs +30 -29
- package/dist/utils/getLocaleInfo.js +1 -1
- package/dist/utils/getLocaleInfo.mjs +212 -173
- package/dist/utils.d.ts +2 -0
- package/package.json +6 -6
- package/dist/node_modules/.pnpm/buffer@5.6.0/node_modules/buffer/index.js +0 -6
- package/dist/node_modules/.pnpm/buffer@5.6.0/node_modules/buffer/index.mjs +0 -790
- /package/dist/node_modules/.pnpm/{@opexa_portal-sdk-core@0.0.19 → @opexa_portal-sdk-core@0.0.21}/node_modules/@opexa/portal-sdk-core/dist/object-id.js +0 -0
- /package/dist/node_modules/.pnpm/{@opexa_portal-sdk-core@0.0.19 → @opexa_portal-sdk-core@0.0.21}/node_modules/@opexa/portal-sdk-core/dist/object-id.mjs +0 -0
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { j as e } from "../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import { createListCollection as c, Portal as o, parseDate as me } from "@ark-ui/react";
|
|
3
|
+
import { endOfDay as ce, startOfDay as ue } from "date-fns";
|
|
4
|
+
import { useState as he } from "react";
|
|
5
|
+
import { z as m } from "zod";
|
|
5
6
|
import "@opexa/portal-sdk-core";
|
|
6
7
|
import "@tanstack/react-query";
|
|
7
8
|
import "tiny-invariant";
|
|
8
9
|
import "../../constants/index.mjs";
|
|
9
|
-
import { capitalize as
|
|
10
|
+
import { capitalize as a } from "../../utils/capitalize.mjs";
|
|
10
11
|
import "../../utils/parseDecimal.mjs";
|
|
11
12
|
import "../../utils/getLocaleInfo.mjs";
|
|
12
13
|
import "../../utils/getQueryClient.mjs";
|
|
13
14
|
import "../../utils/isMobile.mjs";
|
|
14
15
|
import "../../utils/toaster.mjs";
|
|
15
|
-
import { useControllableState as
|
|
16
|
+
import { useControllableState as d } from "../../hooks/useControllableState.mjs";
|
|
16
17
|
import "lodash-es";
|
|
17
18
|
import "../../_virtual/index.cjs.mjs";
|
|
18
19
|
import "../../hooks/useGlobalStore.mjs";
|
|
19
20
|
import "../../hooks/useInfiniteQueryHelper.mjs";
|
|
20
21
|
import "usehooks-ts";
|
|
21
|
-
import { CheckIcon as
|
|
22
|
-
import { ChevronDownIcon as
|
|
23
|
-
import { ChevronLeftIcon as
|
|
24
|
-
import { ChevronRightIcon as
|
|
22
|
+
import { CheckIcon as u } from "../../icons/CheckIcon.mjs";
|
|
23
|
+
import { ChevronDownIcon as h } from "../../icons/ChevronDownIcon.mjs";
|
|
24
|
+
import { ChevronLeftIcon as xe } from "../../icons/ChevronLeftIcon.mjs";
|
|
25
|
+
import { ChevronRightIcon as je } from "../../icons/ChevronRightIcon.mjs";
|
|
25
26
|
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
26
27
|
import "../../ui/Avatar/Avatar.mjs";
|
|
27
28
|
import "../../ui/Badge/Badge.mjs";
|
|
28
29
|
import "../../ui/Button/button.recipe.mjs";
|
|
29
30
|
import "../../ui/Checkbox/Checkbox.mjs";
|
|
30
31
|
import "../../ui/Clipboard/Clipboard.mjs";
|
|
31
|
-
import { Root as Ce, Context as
|
|
32
|
+
import { Root as Ce, Context as Y, Control as ge, Positioner as Te, Content as ve, View as pe, ViewControl as Ee, PrevTrigger as fe, ViewTrigger as Se, RangeText as De, NextTrigger as Re, Table as Ie, TableHead as Pe, TableRow as ee, TableHeader as Ve, TableBody as we, TableCell as Oe, TableCellTrigger as be } from "../../ui/DatePicker/DatePicker.mjs";
|
|
32
33
|
import "../../ui/Dialog/Dialog.mjs";
|
|
33
34
|
import "../../ui/Drawer/Drawer.mjs";
|
|
34
35
|
import "../../ui/Field/Field.mjs";
|
|
@@ -37,11 +38,11 @@ import "../../ui/NumberInput/NumberInput.mjs";
|
|
|
37
38
|
import "../../ui/PinInput/PinInput.mjs";
|
|
38
39
|
import "../../ui/Popover/Popover.mjs";
|
|
39
40
|
import "tailwind-merge";
|
|
40
|
-
import { Root as
|
|
41
|
-
import { Root as
|
|
41
|
+
import { Root as ye, Item as w, ItemText as O, ItemControl as b, ItemHiddenInput as y, Indicator as Ne } from "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
42
|
+
import { Root as x, Trigger as j, ValueText as C, Indicator as g, Positioner as T, Content as v, ItemGroup as p, Item as E, ItemText as f, ItemIndicator as S } from "../../ui/Select/Select.mjs";
|
|
42
43
|
import "../../ui/Table/Table.mjs";
|
|
43
44
|
import "../../ui/Tabs/Tabs.mjs";
|
|
44
|
-
const
|
|
45
|
+
const Ae = m.enum(["all", "today", "custom"]).catch("all"), te = [
|
|
45
46
|
"ACCEPTED",
|
|
46
47
|
"APPROVED",
|
|
47
48
|
"CANCELLED",
|
|
@@ -49,7 +50,7 @@ const ke = i.enum(["all", "today", "custom"]).catch("all"), ee = [
|
|
|
49
50
|
"FAILED",
|
|
50
51
|
"PENDING",
|
|
51
52
|
"REJECTED"
|
|
52
|
-
],
|
|
53
|
+
], le = [
|
|
53
54
|
"ACCEPTED",
|
|
54
55
|
"APPROVED",
|
|
55
56
|
"CANCELLED",
|
|
@@ -57,196 +58,261 @@ const ke = i.enum(["all", "today", "custom"]).catch("all"), ee = [
|
|
|
57
58
|
"FAILED",
|
|
58
59
|
"PENDING",
|
|
59
60
|
"REJECTED"
|
|
60
|
-
],
|
|
61
|
-
function
|
|
62
|
-
var
|
|
63
|
-
const
|
|
64
|
-
items:
|
|
65
|
-
itemToValue: (
|
|
66
|
-
itemToString: (
|
|
67
|
-
delimiter:
|
|
61
|
+
], ie = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
62
|
+
function Rt(l) {
|
|
63
|
+
var z, M, G, $, k, H, W, B, J, _, Z, q, K, Q;
|
|
64
|
+
const N = c({
|
|
65
|
+
items: l.gameTypeOptions ?? [],
|
|
66
|
+
itemToValue: (t) => t,
|
|
67
|
+
itemToString: (t) => a(t, {
|
|
68
|
+
delimiter: a.delimiters.UNDERSCORE
|
|
68
69
|
})
|
|
69
|
-
}),
|
|
70
|
-
items:
|
|
71
|
-
itemToValue: (
|
|
72
|
-
itemToString: (
|
|
73
|
-
delimiter:
|
|
70
|
+
}), A = c({
|
|
71
|
+
items: l.gameProviderOptions ?? [],
|
|
72
|
+
itemToValue: (t) => t,
|
|
73
|
+
itemToString: (t) => a(t, {
|
|
74
|
+
delimiter: a.delimiters.UNDERSCORE
|
|
74
75
|
})
|
|
75
|
-
}), F =
|
|
76
|
-
items: ee,
|
|
77
|
-
itemToValue: (e) => e,
|
|
78
|
-
itemToString: (e) => l(e, {
|
|
79
|
-
delimiter: l.delimiters.UNDERSCORE
|
|
80
|
-
})
|
|
81
|
-
}), x = u({
|
|
76
|
+
}), F = c({
|
|
82
77
|
items: te,
|
|
83
|
-
itemToValue: (
|
|
84
|
-
itemToString: (
|
|
85
|
-
delimiter:
|
|
78
|
+
itemToValue: (t) => t,
|
|
79
|
+
itemToString: (t) => a(t, {
|
|
80
|
+
delimiter: a.delimiters.UNDERSCORE
|
|
81
|
+
})
|
|
82
|
+
}), U = c({
|
|
83
|
+
items: le,
|
|
84
|
+
itemToValue: (t) => t,
|
|
85
|
+
itemToString: (t) => a(t, {
|
|
86
|
+
delimiter: a.delimiters.UNDERSCORE
|
|
86
87
|
})
|
|
87
|
-
}), [
|
|
88
|
-
var
|
|
89
|
-
const
|
|
90
|
-
timestamp:
|
|
91
|
-
gameType:
|
|
88
|
+
}), [ae, L] = he("all"), s = (t) => {
|
|
89
|
+
var r;
|
|
90
|
+
const i = {
|
|
91
|
+
timestamp: n,
|
|
92
|
+
gameType: R,
|
|
92
93
|
gameProvider: I,
|
|
93
94
|
depositStatus: P,
|
|
94
95
|
withdrawalStatus: V
|
|
95
96
|
};
|
|
96
|
-
(
|
|
97
|
-
...
|
|
98
|
-
...
|
|
97
|
+
(r = l.onChange) == null || r.call(l, {
|
|
98
|
+
...i,
|
|
99
|
+
...t
|
|
99
100
|
});
|
|
100
|
-
}, [
|
|
101
|
-
value: (
|
|
102
|
-
defaultValue: ((
|
|
103
|
-
onChange(
|
|
104
|
-
|
|
101
|
+
}, [n, D] = d({
|
|
102
|
+
value: (z = l.value) == null ? void 0 : z.timestamp,
|
|
103
|
+
defaultValue: ((M = l.defaultValue) == null ? void 0 : M.timestamp) ?? null,
|
|
104
|
+
onChange(t) {
|
|
105
|
+
s({ timestamp: t });
|
|
105
106
|
}
|
|
106
|
-
}), [
|
|
107
|
-
value: (
|
|
108
|
-
defaultValue: ((
|
|
109
|
-
onChange(
|
|
110
|
-
|
|
107
|
+
}), [R, re] = d({
|
|
108
|
+
value: (G = l.value) == null ? void 0 : G.gameType,
|
|
109
|
+
defaultValue: (($ = l.defaultValue) == null ? void 0 : $.gameType) ?? null,
|
|
110
|
+
onChange(t) {
|
|
111
|
+
s({ gameType: t });
|
|
111
112
|
}
|
|
112
|
-
}), [I,
|
|
113
|
-
value: (
|
|
114
|
-
defaultValue: ((H =
|
|
115
|
-
onChange(
|
|
116
|
-
|
|
113
|
+
}), [I, ne] = d({
|
|
114
|
+
value: (k = l.value) == null ? void 0 : k.gameProvider,
|
|
115
|
+
defaultValue: ((H = l.defaultValue) == null ? void 0 : H.gameProvider) ?? null,
|
|
116
|
+
onChange(t) {
|
|
117
|
+
s({ gameProvider: t });
|
|
117
118
|
}
|
|
118
|
-
}), [P,
|
|
119
|
-
value: (W =
|
|
120
|
-
defaultValue: ((B =
|
|
121
|
-
onChange(
|
|
122
|
-
|
|
119
|
+
}), [P, se] = d({
|
|
120
|
+
value: (W = l.value) == null ? void 0 : W.depositStatus,
|
|
121
|
+
defaultValue: ((B = l.defaultValue) == null ? void 0 : B.depositStatus) ?? null,
|
|
122
|
+
onChange(t) {
|
|
123
|
+
s({ depositStatus: t });
|
|
123
124
|
}
|
|
124
|
-
}), [V,
|
|
125
|
-
value: (J =
|
|
126
|
-
defaultValue: ((_ =
|
|
127
|
-
onChange(
|
|
128
|
-
|
|
125
|
+
}), [V, oe] = d({
|
|
126
|
+
value: (J = l.value) == null ? void 0 : J.withdrawalStatus,
|
|
127
|
+
defaultValue: ((_ = l.defaultValue) == null ? void 0 : _.withdrawalStatus) ?? null,
|
|
128
|
+
onChange(t) {
|
|
129
|
+
s({ withdrawalStatus: t });
|
|
129
130
|
}
|
|
130
131
|
});
|
|
131
|
-
return /* @__PURE__ */
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
132
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-lg", children: [
|
|
133
|
+
/* @__PURE__ */ e.jsxs(
|
|
134
|
+
Ce,
|
|
135
|
+
{
|
|
136
|
+
lazyMount: !0,
|
|
137
|
+
unmountOnExit: !0,
|
|
138
|
+
value: [n == null ? void 0 : n.start, n == null ? void 0 : n.end].filter(Boolean).map((t) => me(t)),
|
|
139
|
+
onValueChange: (t) => {
|
|
140
|
+
var i, r;
|
|
141
|
+
D({
|
|
142
|
+
start: (i = t.value.at(0)) == null ? void 0 : i.toDate(ie),
|
|
143
|
+
end: (r = t.value.at(1)) == null ? void 0 : r.toDate(ie)
|
|
144
|
+
});
|
|
145
|
+
},
|
|
146
|
+
onOpenChange: (t) => {
|
|
147
|
+
t.open || n || L("all");
|
|
148
|
+
},
|
|
149
|
+
selectionMode: "range",
|
|
150
|
+
closeOnSelect: !1,
|
|
151
|
+
positioning: {
|
|
152
|
+
gutter: 20,
|
|
153
|
+
placement: "bottom"
|
|
154
|
+
},
|
|
155
|
+
children: [
|
|
156
|
+
/* @__PURE__ */ e.jsxs(
|
|
157
|
+
ye,
|
|
158
|
+
{
|
|
159
|
+
value: ae,
|
|
160
|
+
onValueChange: (t) => {
|
|
161
|
+
const i = Ae.parse(t.value);
|
|
162
|
+
if (i === "today") {
|
|
163
|
+
const r = /* @__PURE__ */ new Date();
|
|
164
|
+
D({
|
|
165
|
+
start: ue(r),
|
|
166
|
+
end: ce(r)
|
|
167
|
+
});
|
|
168
|
+
} else
|
|
169
|
+
D(null);
|
|
170
|
+
L(i);
|
|
171
|
+
},
|
|
172
|
+
children: [
|
|
173
|
+
/* @__PURE__ */ e.jsxs(w, { value: "all", children: [
|
|
174
|
+
/* @__PURE__ */ e.jsx(O, { children: "All" }),
|
|
175
|
+
/* @__PURE__ */ e.jsx(b, {}),
|
|
176
|
+
/* @__PURE__ */ e.jsx(y, {})
|
|
177
|
+
] }),
|
|
178
|
+
/* @__PURE__ */ e.jsxs(w, { value: "today", children: [
|
|
179
|
+
/* @__PURE__ */ e.jsx(O, { children: "Today" }),
|
|
180
|
+
/* @__PURE__ */ e.jsx(b, {}),
|
|
181
|
+
/* @__PURE__ */ e.jsx(y, {})
|
|
182
|
+
] }),
|
|
183
|
+
/* @__PURE__ */ e.jsx(Y, { children: (t) => /* @__PURE__ */ e.jsx(
|
|
184
|
+
w,
|
|
185
|
+
{
|
|
186
|
+
value: "custom",
|
|
187
|
+
onClick: () => t.setOpen(!0),
|
|
188
|
+
children: /* @__PURE__ */ e.jsxs(ge, { children: [
|
|
189
|
+
/* @__PURE__ */ e.jsx(O, { children: "Custom" }),
|
|
190
|
+
/* @__PURE__ */ e.jsx(b, {}),
|
|
191
|
+
/* @__PURE__ */ e.jsx(y, {})
|
|
192
|
+
] })
|
|
193
|
+
}
|
|
194
|
+
) }),
|
|
195
|
+
/* @__PURE__ */ e.jsx(Ne, {})
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
),
|
|
199
|
+
/* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(Te, { children: /* @__PURE__ */ e.jsx(ve, { children: /* @__PURE__ */ e.jsx(pe, { view: "day", children: /* @__PURE__ */ e.jsx(Y, { children: (t) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
200
|
+
/* @__PURE__ */ e.jsxs(Ee, { children: [
|
|
201
|
+
/* @__PURE__ */ e.jsx(fe, { children: /* @__PURE__ */ e.jsx(xe, {}) }),
|
|
202
|
+
/* @__PURE__ */ e.jsx(Se, { children: /* @__PURE__ */ e.jsx(De, {}) }),
|
|
203
|
+
/* @__PURE__ */ e.jsx(Re, { children: /* @__PURE__ */ e.jsx(je, {}) })
|
|
204
|
+
] }),
|
|
205
|
+
/* @__PURE__ */ e.jsxs(Ie, { children: [
|
|
206
|
+
/* @__PURE__ */ e.jsx(Pe, { children: /* @__PURE__ */ e.jsx(ee, { children: t.weekDays.map((i, r) => /* @__PURE__ */ e.jsx(Ve, { children: i.short.substring(0, 2) }, r)) }) }),
|
|
207
|
+
/* @__PURE__ */ e.jsx(we, { children: t.weeks.map((i, r) => /* @__PURE__ */ e.jsx(ee, { children: i.map((X, de) => /* @__PURE__ */ e.jsx(Oe, { value: X, children: /* @__PURE__ */ e.jsx(be, { children: X.day }) }, de)) }, r)) })
|
|
208
|
+
] })
|
|
209
|
+
] }) }) }) }) }) })
|
|
210
|
+
]
|
|
152
211
|
}
|
|
153
|
-
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
|
|
212
|
+
),
|
|
213
|
+
/* @__PURE__ */ e.jsx("div", { className: "grow" }),
|
|
214
|
+
((Z = l.enabledFilters) == null ? void 0 : Z.gameType) && /* @__PURE__ */ e.jsxs(
|
|
215
|
+
x,
|
|
156
216
|
{
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
D({
|
|
163
|
-
start: Ee(n),
|
|
164
|
-
end: ue(n)
|
|
165
|
-
});
|
|
166
|
-
} else
|
|
167
|
-
D(null);
|
|
168
|
-
U(a);
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
/* @__PURE__ */ React.createElement(w, { value: "all" }, /* @__PURE__ */ React.createElement(O, null, "All"), /* @__PURE__ */ React.createElement(b, null), /* @__PURE__ */ React.createElement(N, null)),
|
|
172
|
-
/* @__PURE__ */ React.createElement(w, { value: "today" }, /* @__PURE__ */ React.createElement(O, null, "Today"), /* @__PURE__ */ React.createElement(b, null), /* @__PURE__ */ React.createElement(N, null)),
|
|
173
|
-
/* @__PURE__ */ React.createElement(X, null, (e) => /* @__PURE__ */ React.createElement(
|
|
174
|
-
w,
|
|
175
|
-
{
|
|
176
|
-
value: "custom",
|
|
177
|
-
onClick: () => e.setOpen(!0)
|
|
217
|
+
collection: N,
|
|
218
|
+
value: R ? [R] : [],
|
|
219
|
+
onValueChange: (t) => {
|
|
220
|
+
const i = m.enum(l.gameTypeOptions ?? []).safeParse(t.value.at(0)).data;
|
|
221
|
+
re(i ?? null);
|
|
178
222
|
},
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
223
|
+
lazyMount: !0,
|
|
224
|
+
deselectable: !0,
|
|
225
|
+
children: [
|
|
226
|
+
/* @__PURE__ */ e.jsxs(j, { children: [
|
|
227
|
+
/* @__PURE__ */ e.jsx(C, { placeholder: "Game Type" }),
|
|
228
|
+
/* @__PURE__ */ e.jsx(g, { asChild: !0, children: /* @__PURE__ */ e.jsx(h, {}) })
|
|
229
|
+
] }),
|
|
230
|
+
/* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(T, { children: /* @__PURE__ */ e.jsx(v, { children: /* @__PURE__ */ e.jsx(p, { children: N.items.map((t) => /* @__PURE__ */ e.jsxs(E, { item: t, children: [
|
|
231
|
+
/* @__PURE__ */ e.jsx(f, { children: a(t, {
|
|
232
|
+
delimiter: a.delimiters.UNDERSCORE
|
|
233
|
+
}) }),
|
|
234
|
+
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, {}) })
|
|
235
|
+
] }, t)) }) }) }) })
|
|
236
|
+
]
|
|
237
|
+
}
|
|
182
238
|
),
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
239
|
+
((q = l.enabledFilters) == null ? void 0 : q.gameProvider) && /* @__PURE__ */ e.jsxs(
|
|
240
|
+
x,
|
|
241
|
+
{
|
|
242
|
+
collection: A,
|
|
243
|
+
value: I ? [I] : [],
|
|
244
|
+
onValueChange: (t) => {
|
|
245
|
+
const i = m.enum(l.gameProviderOptions ?? []).safeParse(t.value.at(0)).data;
|
|
246
|
+
ne(i ?? null);
|
|
247
|
+
},
|
|
248
|
+
lazyMount: !0,
|
|
249
|
+
deselectable: !0,
|
|
250
|
+
children: [
|
|
251
|
+
/* @__PURE__ */ e.jsxs(j, { children: [
|
|
252
|
+
/* @__PURE__ */ e.jsx(C, { placeholder: "Game Vendor" }),
|
|
253
|
+
/* @__PURE__ */ e.jsx(g, { asChild: !0, children: /* @__PURE__ */ e.jsx(h, {}) })
|
|
254
|
+
] }),
|
|
255
|
+
/* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(T, { children: /* @__PURE__ */ e.jsx(v, { children: /* @__PURE__ */ e.jsx(p, { children: A.items.map((t) => /* @__PURE__ */ e.jsxs(E, { item: t, children: [
|
|
256
|
+
/* @__PURE__ */ e.jsx(f, { children: a(t, {
|
|
257
|
+
delimiter: a.delimiters.UNDERSCORE
|
|
258
|
+
}) }),
|
|
259
|
+
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, {}) })
|
|
260
|
+
] }, t)) }) }) }) })
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
),
|
|
264
|
+
((K = l.enabledFilters) == null ? void 0 : K.depositStatus) && /* @__PURE__ */ e.jsxs(
|
|
265
|
+
x,
|
|
266
|
+
{
|
|
267
|
+
collection: F,
|
|
268
|
+
value: P ? [P] : [],
|
|
269
|
+
onValueChange: (t) => {
|
|
270
|
+
const i = m.enum(te).safeParse(t.value.at(0)).data;
|
|
271
|
+
se(i ?? null);
|
|
272
|
+
},
|
|
273
|
+
lazyMount: !0,
|
|
274
|
+
deselectable: !0,
|
|
275
|
+
children: [
|
|
276
|
+
/* @__PURE__ */ e.jsxs(j, { children: [
|
|
277
|
+
/* @__PURE__ */ e.jsx(C, { placeholder: "Status" }),
|
|
278
|
+
/* @__PURE__ */ e.jsx(g, { asChild: !0, children: /* @__PURE__ */ e.jsx(h, {}) })
|
|
279
|
+
] }),
|
|
280
|
+
/* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(T, { children: /* @__PURE__ */ e.jsx(v, { children: /* @__PURE__ */ e.jsx(p, { children: U.items.map((t) => /* @__PURE__ */ e.jsxs(E, { item: t, children: [
|
|
281
|
+
/* @__PURE__ */ e.jsx(f, { children: a(t, {
|
|
282
|
+
delimiter: a.delimiters.UNDERSCORE
|
|
283
|
+
}) }),
|
|
284
|
+
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, {}) })
|
|
285
|
+
] }, t)) }) }) }) })
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
),
|
|
289
|
+
((Q = l.enabledFilters) == null ? void 0 : Q.withdrawalStatus) && /* @__PURE__ */ e.jsxs(
|
|
290
|
+
x,
|
|
291
|
+
{
|
|
292
|
+
collection: U,
|
|
293
|
+
value: V ? [V] : [],
|
|
294
|
+
onValueChange: (t) => {
|
|
295
|
+
const i = m.enum(le).safeParse(t.value.at(0)).data;
|
|
296
|
+
oe(i ?? null);
|
|
297
|
+
},
|
|
298
|
+
lazyMount: !0,
|
|
299
|
+
deselectable: !0,
|
|
300
|
+
children: [
|
|
301
|
+
/* @__PURE__ */ e.jsxs(j, { children: [
|
|
302
|
+
/* @__PURE__ */ e.jsx(C, { placeholder: "Status" }),
|
|
303
|
+
/* @__PURE__ */ e.jsx(g, { asChild: !0, children: /* @__PURE__ */ e.jsx(h, {}) })
|
|
304
|
+
] }),
|
|
305
|
+
/* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(T, { children: /* @__PURE__ */ e.jsx(v, { children: /* @__PURE__ */ e.jsx(p, { children: F.items.map((t) => /* @__PURE__ */ e.jsxs(E, { item: t, children: [
|
|
306
|
+
/* @__PURE__ */ e.jsx(f, { children: a(t, {
|
|
307
|
+
delimiter: a.delimiters.UNDERSCORE
|
|
308
|
+
}) }),
|
|
309
|
+
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, {}) })
|
|
310
|
+
] }, t)) }) }) }) })
|
|
311
|
+
]
|
|
312
|
+
}
|
|
313
|
+
)
|
|
314
|
+
] });
|
|
249
315
|
}
|
|
250
316
|
export {
|
|
251
|
-
|
|
317
|
+
Rt as TableFilters
|
|
252
318
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("react");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/toaster.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("react");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/toaster.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");const r=require("../../ui/Tabs/Tabs.js"),t=require("./DepositRecordsTable.js"),i=require("./TransactionRecordsTable.js"),n=require("./WithdrawalRecordsTable.js");function u(s){return e.jsxRuntimeExports.jsxs("div",{className:s.className,children:[e.jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold",children:"Transaction Records"}),e.jsxRuntimeExports.jsx("p",{className:"text-gray-600 mt-xs text-xs",children:"View your transaction records"}),e.jsxRuntimeExports.jsxs(r.Root,{className:"mt-2xl",defaultValue:"transactions",lazyMount:!0,unmountOnExit:!0,children:[e.jsxRuntimeExports.jsx("div",{className:"pb-2xl",children:e.jsxRuntimeExports.jsxs(r.List,{children:[e.jsxRuntimeExports.jsx(r.Trigger,{value:"transactions",children:"Transactions"}),e.jsxRuntimeExports.jsx(r.Trigger,{value:"deposits",children:"Deposits"}),e.jsxRuntimeExports.jsx(r.Trigger,{value:"withdrawals",children:"Withdrawals"}),e.jsxRuntimeExports.jsx(r.Indicator,{})]})}),e.jsxRuntimeExports.jsx(r.Content,{value:"transactions",className:"mt-4xl",children:e.jsxRuntimeExports.jsx(i.TransactionRecordsTable,{})}),e.jsxRuntimeExports.jsx(r.Content,{value:"deposits",className:"mt-4xl",children:e.jsxRuntimeExports.jsx(t.DepositRecordsTable,{})}),e.jsxRuntimeExports.jsx(r.Content,{value:"withdrawals",className:"mt-4xl",children:e.jsxRuntimeExports.jsx(n.WithdrawalRecordsTable,{})})]})]})}exports.TransactionRecords=u;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { j as t } from "../../_virtual/jsx-runtime.mjs";
|
|
2
3
|
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
3
4
|
import "../../ui/Avatar/Avatar.mjs";
|
|
4
5
|
import "../../ui/Badge/Badge.mjs";
|
|
@@ -26,25 +27,36 @@ import "tailwind-merge";
|
|
|
26
27
|
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
27
28
|
import "../../ui/Select/Select.mjs";
|
|
28
29
|
import "../../ui/Table/Table.mjs";
|
|
29
|
-
import { Root as
|
|
30
|
-
import { DepositRecordsTable as
|
|
31
|
-
import { TransactionRecordsTable as
|
|
32
|
-
import { WithdrawalRecordsTable as
|
|
33
|
-
function
|
|
34
|
-
return /* @__PURE__ */
|
|
35
|
-
|
|
36
|
-
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
30
|
+
import { Root as o, List as a, Trigger as r, Indicator as e, Content as s } from "../../ui/Tabs/Tabs.mjs";
|
|
31
|
+
import { DepositRecordsTable as m } from "./DepositRecordsTable.mjs";
|
|
32
|
+
import { TransactionRecordsTable as l } from "./TransactionRecordsTable.mjs";
|
|
33
|
+
import { WithdrawalRecordsTable as n } from "./WithdrawalRecordsTable.mjs";
|
|
34
|
+
function H(i) {
|
|
35
|
+
return /* @__PURE__ */ t.jsxs("div", { className: i.className, children: [
|
|
36
|
+
/* @__PURE__ */ t.jsx("h2", { className: "text-lg font-semibold", children: "Transaction Records" }),
|
|
37
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-gray-600 mt-xs text-xs", children: "View your transaction records" }),
|
|
38
|
+
/* @__PURE__ */ t.jsxs(
|
|
39
|
+
o,
|
|
40
|
+
{
|
|
41
|
+
className: "mt-2xl",
|
|
42
|
+
defaultValue: "transactions",
|
|
43
|
+
lazyMount: !0,
|
|
44
|
+
unmountOnExit: !0,
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ t.jsx("div", { className: "pb-2xl", children: /* @__PURE__ */ t.jsxs(a, { children: [
|
|
47
|
+
/* @__PURE__ */ t.jsx(r, { value: "transactions", children: "Transactions" }),
|
|
48
|
+
/* @__PURE__ */ t.jsx(r, { value: "deposits", children: "Deposits" }),
|
|
49
|
+
/* @__PURE__ */ t.jsx(r, { value: "withdrawals", children: "Withdrawals" }),
|
|
50
|
+
/* @__PURE__ */ t.jsx(e, {})
|
|
51
|
+
] }) }),
|
|
52
|
+
/* @__PURE__ */ t.jsx(s, { value: "transactions", className: "mt-4xl", children: /* @__PURE__ */ t.jsx(l, {}) }),
|
|
53
|
+
/* @__PURE__ */ t.jsx(s, { value: "deposits", className: "mt-4xl", children: /* @__PURE__ */ t.jsx(m, {}) }),
|
|
54
|
+
/* @__PURE__ */ t.jsx(s, { value: "withdrawals", className: "mt-4xl", children: /* @__PURE__ */ t.jsx(n, {}) })
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
] });
|
|
47
59
|
}
|
|
48
60
|
export {
|
|
49
|
-
|
|
61
|
+
H as TransactionRecords
|
|
50
62
|
};
|