@opexa/portal-components 0.0.107 → 0.0.109
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/useAuthenticateMutation.js +2 -1
- package/dist/client/hooks/useCheckInDailyCheckInQuestMutation.d.ts +1 -1
- package/dist/client/hooks/useCheckInDailyCheckInQuestMutation.js +20 -2
- package/dist/client/hooks/useClaimCashbackBonusMutation.js +2 -1
- package/dist/client/hooks/useClaimSpotBonusMutation.js +2 -1
- package/dist/client/hooks/useCompleteOnboardingMutation.d.ts +3 -0
- package/dist/client/hooks/useCompleteOnboardingMutation.js +25 -0
- package/dist/client/hooks/useCreateGCashDepositMutation.js +20 -1
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.js +1 -1
- package/dist/client/hooks/useCreateGameSessionMutation.js +1 -1
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.js +1 -1
- package/dist/client/hooks/useCreateMayaAppDepositMutation.js +20 -1
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.js +1 -1
- package/dist/client/hooks/useCreateMayaDepositMutation.js +20 -1
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.js +1 -1
- package/dist/client/hooks/useCreateMemberVerificationMutation.d.ts +4 -0
- package/dist/client/hooks/useCreateMemberVerificationMutation.js +45 -0
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.js +20 -1
- package/dist/client/hooks/useCreateQRPHDepositMutation.js +20 -1
- package/dist/client/hooks/useEndGameSessionMutation.js +1 -1
- package/dist/client/hooks/useFileQuery.d.ts +2 -0
- package/dist/client/hooks/useFileQuery.js +30 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +24 -5
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +16 -7
- package/dist/client/hooks/useOnboardingStatusQuery.d.ts +2 -0
- package/dist/client/hooks/useOnboardingStatusQuery.js +28 -0
- package/dist/client/hooks/useRecommendedGamesQuery.d.ts +2 -0
- package/dist/client/hooks/useRecommendedGamesQuery.js +27 -0
- package/dist/client/hooks/useRemainingTime.d.ts +12 -1
- package/dist/client/hooks/useRemainingTime.js +37 -6
- package/dist/client/hooks/useSendVerificationCodeMutation.js +1 -1
- package/dist/client/hooks/useSignInMutation.js +2 -1
- package/dist/client/hooks/useSignOutMutation.js +2 -1
- package/dist/client/hooks/useSignUpMutation.js +1 -1
- package/dist/client/hooks/useSiteQuery.d.ts +2 -0
- package/dist/client/hooks/useSiteQuery.js +16 -0
- package/dist/client/hooks/useSkipOnboardingMutation.d.ts +2 -0
- package/dist/client/hooks/useSkipOnboardingMutation.js +25 -0
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +5 -5
- package/dist/client/hooks/useUpdateAccountMutation.js +2 -1
- package/dist/client/hooks/useUpdateMemberVerificationMutation.d.ts +6 -0
- package/dist/client/hooks/useUpdateMemberVerificationMutation.js +38 -0
- package/dist/client/hooks/useUploadImageFileMutation.d.ts +4 -0
- package/dist/client/hooks/useUploadImageFileMutation.js +24 -0
- package/dist/client/utils/createContext.js +1 -1
- package/dist/client/utils/createRecipeContext.js +1 -1
- package/dist/components/BetRecords/BetRecords.client.js +1 -1
- package/dist/components/Bonus/Bonus.client.js +1 -1
- package/dist/components/Bonuses/Bonuses.client.js +1 -1
- package/dist/components/Cashback/Cashback.client.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
- package/dist/components/Disclaimer/DisclaimerV1.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
- package/dist/components/Games/Game.js +1 -1
- package/dist/components/Games/GamesCarousel.client.js +1 -1
- package/dist/components/Games/GamesList.client.js +1 -1
- package/dist/components/GamesSearch/GamesSearch.js +1 -1
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/KYC/BasicInformation.js +85 -4
- package/dist/components/KYC/CaptureIdDocument.d.ts +1 -0
- package/dist/components/KYC/CaptureIdDocument.js +11 -0
- package/dist/components/KYC/CaptureSelfie.d.ts +1 -0
- package/dist/components/KYC/CaptureSelfie.js +11 -0
- package/dist/components/KYC/IdentityVerification.js +20 -4
- package/dist/components/KYC/Indicator.js +1 -1
- package/dist/components/KYC/KYC.lazy.js +7 -1
- package/dist/components/KYC/PersonalInformation.js +92 -5
- package/dist/components/KYC/useKYC.d.ts +15 -0
- package/dist/components/KYC/useKYC.js +18 -1
- package/dist/components/Messages/Messages.lazy.js +1 -1
- package/dist/components/News/News.d.ts +10 -0
- package/dist/components/News/News.js +10 -0
- package/dist/components/News/index.d.ts +1 -0
- package/dist/components/News/index.js +1 -0
- package/dist/components/NewsFeed/NewsFeed.d.ts +18 -0
- package/dist/components/NewsFeed/NewsFeed.js +11 -0
- package/dist/components/NewsFeed/index.d.ts +1 -0
- package/dist/components/NewsFeed/index.js +1 -0
- package/dist/components/Promo/Promo.client.js +1 -1
- package/dist/components/Promos/PromosCarousel.js +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -4
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +28 -25
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestRules.d.ts +6 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestRules.js +15 -0
- package/dist/components/Quests/DailyCheckInQuest.d.ts +1 -0
- package/dist/components/Quests/DailyCheckInQuest.js +96 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +1 -4
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +27 -3
- package/dist/components/Quests/OnboardingQuest/OnboardingQuestRules.d.ts +6 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuestRules.js +15 -0
- package/dist/components/Quests/OnboardingQuest.d.ts +1 -0
- package/dist/components/Quests/OnboardingQuest.js +47 -0
- package/dist/components/Quests/Quests.client.d.ts +2 -0
- package/dist/components/Quests/Quests.client.js +25 -10
- package/dist/components/Quests/QuestsContext.d.ts +2 -0
- package/dist/components/Quests/QuestsContext.js +2 -0
- package/dist/components/Quests/RemainingTime.d.ts +1 -0
- package/dist/components/Quests/RemainingTime.js +19 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -4
- package/dist/components/Quests/WageringQuest/WageringQuest.js +12 -9
- package/dist/components/Quests/WageringQuest/WageringQuestRules.d.ts +7 -0
- package/dist/components/Quests/WageringQuest/WageringQuestRules.js +17 -0
- package/dist/components/Quests/WageringQuest.d.ts +1 -0
- package/dist/components/Quests/WageringQuest.js +36 -0
- package/dist/components/Search/Search.lazy.js +1 -1
- package/dist/components/SignIn/MobileNumberSignIn.js +7 -4
- package/dist/components/SignIn/NameAndPasswordSignIn.js +10 -5
- package/dist/components/SignUp/SignUpForm.js +13 -7
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- package/dist/constants/{endpoints.js → Endpoint.js} +1 -1
- package/dist/constants/index.d.ts +7 -7
- package/dist/constants/index.js +7 -7
- package/dist/server/utils/prefetchAccountQuery.js +5 -2
- package/dist/server/utils/prefetchAvailablePromosQuery.js +5 -2
- package/dist/server/utils/prefetchAvailableQuestsCountQuery.js +5 -2
- package/dist/server/utils/prefetchAvailableQuestsQuery.js +5 -2
- package/dist/server/utils/prefetchBetRecordsQuery.js +5 -2
- package/dist/server/utils/prefetchBonusQuery.js +5 -2
- package/dist/server/utils/prefetchBonusesCountQuery.js +5 -2
- package/dist/server/utils/prefetchBonusesQuery.js +5 -2
- package/dist/server/utils/prefetchCashbackBonusQuery.js +5 -2
- package/dist/server/utils/prefetchCashbackBonusesCountQuery.js +5 -2
- package/dist/server/utils/prefetchCashbackBonusesQuery.js +5 -2
- package/dist/server/utils/prefetchCashbackQuery.js +5 -2
- package/dist/server/utils/prefetchCashbacksQuery.js +5 -2
- package/dist/server/utils/prefetchDepositQuery.js +5 -2
- package/dist/server/utils/prefetchDepositRecordsQuery.js +5 -2
- package/dist/server/utils/prefetchDepositsCountQuery.js +5 -2
- package/dist/server/utils/prefetchFavoriteGamesQuery.js +5 -2
- package/dist/server/utils/prefetchFileQuery.d.ts +1 -0
- package/dist/server/utils/prefetchFileQuery.js +23 -0
- package/dist/server/utils/prefetchGamesQuery.js +5 -2
- package/dist/server/utils/prefetchInstapayBankListQuery.js +5 -2
- package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +5 -2
- package/dist/server/utils/prefetchJackpotsCountQuery.js +5 -2
- package/dist/server/utils/prefetchJackpotsQuery.js +5 -2
- package/dist/server/utils/prefetchMemberVerificationQuery.js +5 -2
- package/dist/server/utils/prefetchOnboardingStatusQuery.d.ts +1 -0
- package/dist/server/utils/prefetchOnboardingStatusQuery.js +24 -0
- package/dist/server/utils/prefetchPaymentSettingsQuery.js +5 -2
- package/dist/server/utils/prefetchPlatformQuery.js +5 -2
- package/dist/server/utils/prefetchProfileCompletionQuery.js +5 -2
- package/dist/server/utils/prefetchPromoQuery.js +5 -2
- package/dist/server/utils/prefetchPromosQuery.js +5 -2
- package/dist/server/utils/prefetchRecommendedGamesQuery.d.ts +1 -0
- package/dist/server/utils/prefetchRecommendedGamesQuery.js +23 -0
- package/dist/server/utils/prefetchSessionQuery.js +6 -3
- package/dist/server/utils/prefetchSiteQuery.d.ts +1 -0
- package/dist/server/utils/prefetchSiteQuery.js +17 -0
- package/dist/server/utils/prefetchTopWinsQuery.js +5 -2
- package/dist/server/utils/prefetchTournamentsCountQuery.js +5 -2
- package/dist/server/utils/prefetchTournamentsQuery.js +5 -2
- package/dist/server/utils/prefetchTransactionRecordsQuery.js +5 -2
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.js +5 -2
- package/dist/server/utils/prefetchWalletQuery.js +5 -2
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +5 -2
- package/dist/services/account.d.ts +1 -0
- package/dist/services/account.js +11 -1
- package/dist/services/queries.d.ts +2 -1
- package/dist/services/queries.js +2369 -2351
- package/dist/styles/theme.css +699 -698
- package/dist/types/index.d.ts +7 -0
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Checkbox/checkbox.recipe.js +2 -2
- package/dist/ui/Combobox/Combobox.d.ts +42 -42
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Menu/Menu.d.ts +144 -144
- package/dist/ui/Menu/menu.recipe.d.ts +8 -8
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Table/Table.d.ts +21 -21
- package/dist/ui/Table/table.anatomy.d.ts +1 -1
- package/dist/ui/Table/table.recipe.d.ts +3 -3
- package/dist/ui/Tabs/Tabs.d.ts +15 -15
- package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
- package/dist/utils/callIfFn.d.ts +8 -0
- package/dist/utils/callIfFn.js +8 -0
- package/dist/utils/createPoll.d.ts +1 -0
- package/dist/utils/createPoll.js +1 -0
- package/dist/utils/createSplitProps.d.ts +9 -0
- package/dist/utils/createSplitProps.js +9 -0
- package/dist/utils/log.d.ts +3 -0
- package/dist/utils/log.js +18 -0
- package/dist/utils/mutationKeys.d.ts +29 -0
- package/dist/utils/mutationKeys.js +104 -0
- package/dist/utils/queryKeys.d.ts +5 -24
- package/dist/utils/queryKeys.js +80 -97
- package/package.json +162 -162
- package/dist/client/hooks/index.d.ts +0 -65
- package/dist/client/hooks/index.js +0 -65
- package/dist/client/services/index.d.ts +0 -4
- package/dist/client/services/index.js +0 -4
- package/dist/client/utils/index.d.ts +0 -3
- package/dist/client/utils/index.js +0 -3
- package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
- package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
- package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
- package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
- package/dist/components/CashbackBonus/index.d.ts +0 -1
- package/dist/components/CashbackBonus/index.js +0 -1
- package/dist/components/Games/GameContext.d.ts +0 -2
- package/dist/components/Games/GameContext.js +0 -2
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
- package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
- package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
- package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
- package/dist/components/JackpotCounter/index.d.ts +0 -1
- package/dist/components/JackpotCounter/index.js +0 -1
- package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
- package/dist/components/Jackpots/JackpotDesktop.js +0 -45
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
- package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
- package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
- package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
- package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
- package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
- package/dist/components/Jackpots/JackpotMobile.js +0 -46
- package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
- package/dist/components/Jackpots/JackpotRules.js +0 -11
- package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
- package/dist/components/Jackpots/Jackpots.client.js +0 -29
- package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
- package/dist/components/Jackpots/JackpotsContext.js +0 -3
- package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
- package/dist/components/Jackpots/useJackpotData.js +0 -93
- package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
- package/dist/components/Jackpots/useJackpotItemData.js +0 -87
- package/dist/components/KYC/Header.d.ts +0 -1
- package/dist/components/KYC/Header.js +0 -8
- package/dist/components/KYC/Step1.d.ts +0 -1
- package/dist/components/KYC/Step1.js +0 -13
- package/dist/components/KYC/Step2.d.ts +0 -1
- package/dist/components/KYC/Step2.js +0 -13
- package/dist/components/KYC/Step3.d.ts +0 -1
- package/dist/components/KYC/Step3.js +0 -13
- package/dist/components/KYC/Step4.d.ts +0 -1
- package/dist/components/KYC/Step4.js +0 -7
- package/dist/components/Messages/MessageItem.d.ts +0 -4
- package/dist/components/Messages/MessageItem.js +0 -34
- package/dist/components/PortalProvider/WebVitals.d.ts +0 -1
- package/dist/components/PortalProvider/WebVitals.js +0 -8
- package/dist/components/Promo/PromoContent.d.ts +0 -2
- package/dist/components/Promo/PromoContent.js +0 -9
- package/dist/components/Promos/PromoCarousel.d.ts +0 -2
- package/dist/components/Promos/PromoCarousel.js +0 -41
- package/dist/components/Promos/PromoGrid.d.ts +0 -2
- package/dist/components/Promos/PromoGrid.js +0 -12
- package/dist/components/Promos/PromoItem.d.ts +0 -7
- package/dist/components/Promos/PromoItem.js +0 -10
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
- package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
- package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
- package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
- package/dist/components/TournamentCounter/index.d.ts +0 -1
- package/dist/components/TournamentCounter/index.js +0 -1
- package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
- package/dist/components/Tournaments/TournamentDesktop.js +0 -57
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
- package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
- package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
- package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
- package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
- package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
- package/dist/components/Tournaments/TournamentMobile.js +0 -55
- package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
- package/dist/components/Tournaments/TournamentRules.js +0 -11
- package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
- package/dist/components/Tournaments/Tournaments.client.js +0 -20
- package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
- package/dist/components/Tournaments/TournamentsContext.js +0 -3
- package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
- package/dist/components/Tournaments/useTournamentData.js +0 -72
- package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
- package/dist/components/Tournaments/useTournamentItemData.js +0 -64
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -33
- package/dist/icons/index.d.ts +0 -65
- package/dist/icons/index.js +0 -65
- package/dist/images/hacksaw-gaming.png +0 -0
- package/dist/server/services/index.d.ts +0 -4
- package/dist/server/services/index.js +0 -4
- package/dist/server/utils/index.d.ts +0 -29
- package/dist/server/utils/index.js +0 -29
- package/dist/ui/Presence.d.ts +0 -2
- package/dist/ui/Presence.js +0 -7
- package/dist/ui/Prose.d.ts +0 -2
- package/dist/ui/Prose.js +0 -5
- package/dist/ui/index.d.ts +0 -26
- package/dist/ui/index.js +0 -26
- package/dist/utils/index.d.ts +0 -17
- package/dist/utils/index.js +0 -17
- package/dist/utils/isMobile.d.ts +0 -5
- package/dist/utils/isMobile.js +0 -9
- /package/dist/components/{Empty.d.ts → shared/Empty.d.ts} +0 -0
- /package/dist/components/{Empty.js → shared/Empty.js} +0 -0
- /package/dist/components/{InfiniteScroll.d.ts → shared/InfiniteScroll.d.ts} +0 -0
- /package/dist/components/{InfiniteScroll.js → shared/InfiniteScroll.js} +0 -0
- /package/dist/constants/{endpoints.d.ts → Endpoint.d.ts} +0 -0
- /package/dist/constants/{envVars.d.ts → EnvVar.d.ts} +0 -0
- /package/dist/constants/{envVars.js → EnvVar.js} +0 -0
- /package/dist/constants/{gameProviders.d.ts → GameProvider.d.ts} +0 -0
- /package/dist/constants/{gameProviders.js → GameProvider.js} +0 -0
- /package/dist/constants/{gameTypes.d.ts → GameType.d.ts} +0 -0
- /package/dist/constants/{gameTypes.js → GameType.js} +0 -0
- /package/dist/constants/{headerKeys.d.ts → HeaderKey.d.ts} +0 -0
- /package/dist/constants/{headerKeys.js → HeaderKey.js} +0 -0
- /package/dist/constants/{secretQuestions.d.ts → SecretQuestion.d.ts} +0 -0
- /package/dist/constants/{secretQuestions.js → SecretQuestion.js} +0 -0
- /package/dist/constants/{storageKeys.d.ts → StorageKey.d.ts} +0 -0
- /package/dist/constants/{storageKeys.js → StorageKey.js} +0 -0
|
@@ -1,27 +1,19 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { QueryKey } from '@tanstack/react-query';
|
|
2
2
|
import type { GamesInput__Next } from '../services/cmsPortal';
|
|
3
3
|
import type { BetRecordsInput, DepositRecordsInput, JackpotPayoutsInput, JackpotsCountInput, JackpotsInput, TournamentsCountInput, TournamentsInput, TransactionRecordsInput, WithdrawalRecordsInput } from '../services/report';
|
|
4
4
|
import type { MessagesInput, UnreadMessagesCountInput } from '../services/trigger';
|
|
5
5
|
import type { AvailablePromosInput } from '../services/wallet';
|
|
6
6
|
export declare const getAccountQueryKey: () => QueryKey;
|
|
7
7
|
export declare const getProfileCompletionQueryKey: () => QueryKey;
|
|
8
|
-
export declare const getAuthenticateMutationKey: () => MutationKey;
|
|
9
8
|
export declare const getAvailablePromosQueryKey: (input?: AvailablePromosInput) => QueryKey;
|
|
10
9
|
export declare const getAvailableQuestsQueryKey: () => QueryKey;
|
|
11
10
|
export declare const getBetRecordsQueryKey: (input?: BetRecordsInput) => QueryKey;
|
|
12
11
|
export declare const getCashbacksQueryKey: () => QueryKey;
|
|
13
12
|
export declare const getCashbackBonusesQueryKey: () => QueryKey;
|
|
14
13
|
export declare const getCashbackBonusesCountQueryKey: () => QueryKey;
|
|
15
|
-
export declare const getCreateGameSessionMutationKey: () => MutationKey;
|
|
16
|
-
export declare const getCreateGCashDepositMutationKey: () => MutationKey;
|
|
17
|
-
export declare const getCreateMayaAppDepositMutationKey: () => MutationKey;
|
|
18
|
-
export declare const getCreateMayaDepositMutationKey: () => MutationKey;
|
|
19
|
-
export declare const getCreateOnlineBankDepositMutationKey: () => MutationKey;
|
|
20
|
-
export declare const getCreateQRPHDepositMutationKey: () => MutationKey;
|
|
21
14
|
export declare const getDepositQueryKey: (id: string) => QueryKey;
|
|
22
15
|
export declare const getDepositRecordsQueryKey: (input?: DepositRecordsInput) => QueryKey;
|
|
23
16
|
export declare const getDepositsCountQueryKey: () => QueryKey;
|
|
24
|
-
export declare const getEndGameSessionMutationKey: () => MutationKey;
|
|
25
17
|
export declare const getGamesQueryKey: (input?: GamesInput__Next) => QueryKey;
|
|
26
18
|
export declare const getFavoriteGamesQueryKey: () => QueryKey;
|
|
27
19
|
export declare const getInstapayBankListQueryKey: () => QueryKey;
|
|
@@ -35,11 +27,7 @@ export declare const getPlatformQueryKey: () => QueryKey;
|
|
|
35
27
|
export declare const getPromoQueryKey: (id: string) => QueryKey;
|
|
36
28
|
export declare const getCashbackQueryKey: (id: string) => QueryKey;
|
|
37
29
|
export declare const getPromosQueryKey: () => QueryKey;
|
|
38
|
-
export declare const getSendVerificationCodeMutationKey: () => MutationKey;
|
|
39
30
|
export declare const getSessionQueryKey: () => QueryKey;
|
|
40
|
-
export declare const getSignInMutationKey: () => MutationKey;
|
|
41
|
-
export declare const getSignOutMutationKey: () => MutationKey;
|
|
42
|
-
export declare const getSignUpMutationKey: () => MutationKey;
|
|
43
31
|
export declare const getTopWinsQueryKey: () => QueryKey;
|
|
44
32
|
export declare const getTournamentsQueryKey: (input?: TournamentsInput) => QueryKey;
|
|
45
33
|
export declare const getTournamentsCountQueryKey: (input?: TournamentsCountInput) => QueryKey;
|
|
@@ -47,20 +35,13 @@ export declare const getTransactionRecordsQueryKey: (input?: TransactionRecordsI
|
|
|
47
35
|
export declare const getMessagesQueryKey: (input?: MessagesInput) => QueryKey;
|
|
48
36
|
export declare const getWalletQueryKey: () => QueryKey;
|
|
49
37
|
export declare const getWithdrawalRecordsQueryKey: (input?: WithdrawalRecordsInput) => QueryKey;
|
|
50
|
-
export declare const getCreateGCashWithdrawalMutationKey: () => MutationKey;
|
|
51
|
-
export declare const getCreateMayaWithdrawalMutationKey: () => MutationKey;
|
|
52
|
-
export declare const getCreateMayaAppWithdrawalMutationKey: () => MutationKey;
|
|
53
|
-
export declare const getCreateInstapayWithdrawalMutationKey: () => MutationKey;
|
|
54
|
-
export declare const getMarkMessageAsReadMutationKey: () => MutationKey;
|
|
55
|
-
export declare const getCheckInDailyQuestMutationKey: () => MutationKey;
|
|
56
38
|
export declare const getUnreadMessagesCountQueryKey: (input?: UnreadMessagesCountInput) => QueryKey;
|
|
57
39
|
export declare const getBonusQueryKey: (id: string) => QueryKey;
|
|
58
40
|
export declare const getCashbackBonusQueryKey: (id: string) => QueryKey;
|
|
59
41
|
export declare const getBonusesQueryKey: () => QueryKey;
|
|
60
42
|
export declare const getBonusesCountQueryKey: () => QueryKey;
|
|
61
|
-
export declare const getMarkGameAsFavoriteMutationKey: () => MutationKey;
|
|
62
|
-
export declare const getUnmarkGameAsFavoriteMutationKey: () => MutationKey;
|
|
63
|
-
export declare const getUpdateAccountMutationKey: () => MutationKey;
|
|
64
|
-
export declare const getClaimCashbackBonusMutationKey: () => MutationKey;
|
|
65
|
-
export declare const getClaimSpotBonusMutationKey: () => MutationKey;
|
|
66
43
|
export declare const getAvailableQuestsCountQueryKey: () => QueryKey;
|
|
44
|
+
export declare const getOnboardingStatusQueryKey: () => QueryKey;
|
|
45
|
+
export declare const getRecommendedGamesQueryKey: () => QueryKey;
|
|
46
|
+
export declare const getFileQueryKey: (id: string) => QueryKey;
|
|
47
|
+
export declare const getSiteQueryKey: () => QueryKey;
|
package/dist/utils/queryKeys.js
CHANGED
|
@@ -1,147 +1,130 @@
|
|
|
1
|
-
|
|
1
|
+
import { SITE_ID } from '../constants/index.js';
|
|
2
|
+
const PARENT_KEY = 'queries';
|
|
3
|
+
export const getAccountQueryKey = () => [PARENT_KEY, 'account'];
|
|
2
4
|
export const getProfileCompletionQueryKey = () => [
|
|
3
|
-
|
|
5
|
+
PARENT_KEY,
|
|
6
|
+
'profileCompletion',
|
|
4
7
|
];
|
|
5
|
-
export const
|
|
6
|
-
'mutations/authenticate',
|
|
7
|
-
];
|
|
8
|
-
export const getAvailablePromosQueryKey = (input) => ['queries/availablePromos', input];
|
|
8
|
+
export const getAvailablePromosQueryKey = (input) => [PARENT_KEY, 'availablePromos', input];
|
|
9
9
|
export const getAvailableQuestsQueryKey = () => [
|
|
10
|
-
|
|
10
|
+
PARENT_KEY,
|
|
11
|
+
'availableQuests',
|
|
11
12
|
];
|
|
12
13
|
export const getBetRecordsQueryKey = (input) => [
|
|
13
|
-
|
|
14
|
+
PARENT_KEY,
|
|
15
|
+
'betRecords',
|
|
14
16
|
input,
|
|
15
17
|
];
|
|
16
|
-
export const getCashbacksQueryKey = () => ['
|
|
18
|
+
export const getCashbacksQueryKey = () => [PARENT_KEY, 'cashbacks'];
|
|
17
19
|
export const getCashbackBonusesQueryKey = () => [
|
|
18
|
-
|
|
20
|
+
PARENT_KEY,
|
|
21
|
+
'cashbackBonuses',
|
|
19
22
|
];
|
|
20
23
|
export const getCashbackBonusesCountQueryKey = () => [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export const getCreateGameSessionMutationKey = () => [
|
|
24
|
-
'mutations/createGameSession',
|
|
25
|
-
];
|
|
26
|
-
export const getCreateGCashDepositMutationKey = () => [
|
|
27
|
-
'mutations/createGCashDeposit',
|
|
28
|
-
];
|
|
29
|
-
export const getCreateMayaAppDepositMutationKey = () => [
|
|
30
|
-
'mutations/createMayaAppDeposit',
|
|
31
|
-
];
|
|
32
|
-
export const getCreateMayaDepositMutationKey = () => [
|
|
33
|
-
'mutations/createMayaDeposit',
|
|
34
|
-
];
|
|
35
|
-
export const getCreateOnlineBankDepositMutationKey = () => [
|
|
36
|
-
'mutations/createOnlineBankDeposit',
|
|
37
|
-
];
|
|
38
|
-
export const getCreateQRPHDepositMutationKey = () => [
|
|
39
|
-
'mutations/createQRPHDeposit',
|
|
24
|
+
PARENT_KEY,
|
|
25
|
+
'cashbackBonusesCount',
|
|
40
26
|
];
|
|
41
27
|
export const getDepositQueryKey = (id) => [
|
|
42
|
-
|
|
28
|
+
PARENT_KEY,
|
|
29
|
+
'deposit',
|
|
43
30
|
id,
|
|
44
31
|
];
|
|
45
|
-
export const getDepositRecordsQueryKey = (input) => ['
|
|
32
|
+
export const getDepositRecordsQueryKey = (input) => [PARENT_KEY, 'depositRecords', input];
|
|
46
33
|
export const getDepositsCountQueryKey = () => [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export const getEndGameSessionMutationKey = () => [
|
|
50
|
-
'mutations/endGameSession',
|
|
34
|
+
PARENT_KEY,
|
|
35
|
+
'depositsCount',
|
|
51
36
|
];
|
|
52
37
|
export const getGamesQueryKey = (input) => [
|
|
53
|
-
|
|
38
|
+
PARENT_KEY,
|
|
39
|
+
'games',
|
|
54
40
|
input,
|
|
55
41
|
];
|
|
56
42
|
export const getFavoriteGamesQueryKey = () => [
|
|
57
|
-
|
|
43
|
+
PARENT_KEY,
|
|
44
|
+
'favoriteGames',
|
|
58
45
|
];
|
|
59
46
|
export const getInstapayBankListQueryKey = () => [
|
|
60
|
-
|
|
47
|
+
PARENT_KEY,
|
|
48
|
+
'instapayBankList',
|
|
61
49
|
];
|
|
62
50
|
export const getIsMayaSessionValidQueryKey = () => [
|
|
63
|
-
|
|
51
|
+
PARENT_KEY,
|
|
52
|
+
'isMayaSessionValidQueryKey',
|
|
64
53
|
];
|
|
65
54
|
export const getJackpotsQueryKey = (input) => [
|
|
66
|
-
|
|
55
|
+
PARENT_KEY,
|
|
56
|
+
'jackpots',
|
|
67
57
|
input,
|
|
68
58
|
];
|
|
69
|
-
export const getJackpotsCountQueryKey = (input) => ['
|
|
70
|
-
export const getJackpotPayoutsQueryKey = (input) => ['
|
|
59
|
+
export const getJackpotsCountQueryKey = (input) => [PARENT_KEY, 'jackpotsCount', input];
|
|
60
|
+
export const getJackpotPayoutsQueryKey = (input) => [PARENT_KEY, 'jackpotPayouts', input];
|
|
71
61
|
export const getMemberVerificationQueryKey = () => [
|
|
72
|
-
|
|
62
|
+
PARENT_KEY,
|
|
63
|
+
'memberVerification',
|
|
73
64
|
];
|
|
74
65
|
export const getPaymentSettingsQueryKey = () => [
|
|
75
|
-
|
|
66
|
+
PARENT_KEY,
|
|
67
|
+
'paymentSettings',
|
|
76
68
|
];
|
|
77
|
-
export const getPlatformQueryKey = () => ['
|
|
78
|
-
export const getPromoQueryKey = (id) => [
|
|
79
|
-
|
|
80
|
-
'
|
|
69
|
+
export const getPlatformQueryKey = () => [PARENT_KEY, 'platform'];
|
|
70
|
+
export const getPromoQueryKey = (id) => [
|
|
71
|
+
PARENT_KEY,
|
|
72
|
+
'promo',
|
|
81
73
|
id,
|
|
82
74
|
];
|
|
83
|
-
export const
|
|
84
|
-
|
|
85
|
-
'
|
|
75
|
+
export const getCashbackQueryKey = (id) => [
|
|
76
|
+
PARENT_KEY,
|
|
77
|
+
'cashback',
|
|
78
|
+
id,
|
|
86
79
|
];
|
|
87
|
-
export const
|
|
88
|
-
export const
|
|
89
|
-
export const
|
|
90
|
-
export const getSignUpMutationKey = () => ['mutations/signUp'];
|
|
91
|
-
export const getTopWinsQueryKey = () => ['queries/topWins'];
|
|
80
|
+
export const getPromosQueryKey = () => [PARENT_KEY, 'promos'];
|
|
81
|
+
export const getSessionQueryKey = () => [PARENT_KEY, 'session'];
|
|
82
|
+
export const getTopWinsQueryKey = () => [PARENT_KEY, 'topWins'];
|
|
92
83
|
export const getTournamentsQueryKey = (input) => [
|
|
93
|
-
|
|
84
|
+
PARENT_KEY,
|
|
85
|
+
'tournaments',
|
|
94
86
|
input,
|
|
95
87
|
];
|
|
96
|
-
export const getTournamentsCountQueryKey = (input) => ['
|
|
97
|
-
export const getTransactionRecordsQueryKey = (input) => ['
|
|
88
|
+
export const getTournamentsCountQueryKey = (input) => [PARENT_KEY, 'tournamentsCount', input];
|
|
89
|
+
export const getTransactionRecordsQueryKey = (input) => [PARENT_KEY, 'transactionRecords', input];
|
|
98
90
|
export const getMessagesQueryKey = (input) => [
|
|
99
|
-
|
|
91
|
+
PARENT_KEY,
|
|
92
|
+
'messages',
|
|
100
93
|
input,
|
|
101
94
|
];
|
|
102
|
-
export const getWalletQueryKey = () => ['
|
|
103
|
-
export const getWithdrawalRecordsQueryKey = (input) => ['
|
|
104
|
-
export const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
];
|
|
110
|
-
export const getCreateMayaAppWithdrawalMutationKey = () => [
|
|
111
|
-
'mutations/createMayaAppWithdrawal',
|
|
112
|
-
];
|
|
113
|
-
export const getCreateInstapayWithdrawalMutationKey = () => [
|
|
114
|
-
'mutations/createInstapayWithdrawal',
|
|
115
|
-
];
|
|
116
|
-
export const getMarkMessageAsReadMutationKey = () => [
|
|
117
|
-
'mutations/markMessageAsRead',
|
|
118
|
-
];
|
|
119
|
-
export const getCheckInDailyQuestMutationKey = () => [
|
|
120
|
-
'mutations/checkInDailyQuest',
|
|
95
|
+
export const getWalletQueryKey = () => [PARENT_KEY, 'wallet'];
|
|
96
|
+
export const getWithdrawalRecordsQueryKey = (input) => [PARENT_KEY, 'withdrawalRecords', input];
|
|
97
|
+
export const getUnreadMessagesCountQueryKey = (input) => [PARENT_KEY, 'unreadMessagesCount', input];
|
|
98
|
+
export const getBonusQueryKey = (id) => [
|
|
99
|
+
PARENT_KEY,
|
|
100
|
+
'bonus',
|
|
101
|
+
id,
|
|
121
102
|
];
|
|
122
|
-
export const getUnreadMessagesCountQueryKey = (input) => ['queries/unreadMessagesCount', input];
|
|
123
|
-
export const getBonusQueryKey = (id) => ['queries/bonus', id];
|
|
124
103
|
export const getCashbackBonusQueryKey = (id) => [
|
|
125
|
-
|
|
104
|
+
PARENT_KEY,
|
|
105
|
+
'cashbackBonus',
|
|
126
106
|
id,
|
|
127
107
|
];
|
|
128
|
-
export const getBonusesQueryKey = () => ['
|
|
129
|
-
export const getBonusesCountQueryKey = () => [
|
|
130
|
-
|
|
131
|
-
'
|
|
132
|
-
];
|
|
133
|
-
export const getUnmarkGameAsFavoriteMutationKey = () => [
|
|
134
|
-
'mutations/unmarkGameAsFavorite',
|
|
108
|
+
export const getBonusesQueryKey = () => [PARENT_KEY, 'bonuses'];
|
|
109
|
+
export const getBonusesCountQueryKey = () => [
|
|
110
|
+
PARENT_KEY,
|
|
111
|
+
'bonusesCount',
|
|
135
112
|
];
|
|
136
|
-
export const
|
|
137
|
-
|
|
113
|
+
export const getAvailableQuestsCountQueryKey = () => [
|
|
114
|
+
PARENT_KEY,
|
|
115
|
+
'availableQuestsCount',
|
|
138
116
|
];
|
|
139
|
-
export const
|
|
140
|
-
|
|
117
|
+
export const getOnboardingStatusQueryKey = () => [
|
|
118
|
+
PARENT_KEY,
|
|
119
|
+
'onboardingStatus',
|
|
141
120
|
];
|
|
142
|
-
export const
|
|
143
|
-
|
|
121
|
+
export const getRecommendedGamesQueryKey = () => [
|
|
122
|
+
PARENT_KEY,
|
|
123
|
+
'recommendedGames',
|
|
144
124
|
];
|
|
145
|
-
export const
|
|
146
|
-
|
|
125
|
+
export const getFileQueryKey = (id) => [
|
|
126
|
+
PARENT_KEY,
|
|
127
|
+
'file',
|
|
128
|
+
id,
|
|
147
129
|
];
|
|
130
|
+
export const getSiteQueryKey = () => [PARENT_KEY, 'site', SITE_ID];
|
package/package.json
CHANGED
|
@@ -1,162 +1,162 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@opexa/portal-components",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"exports": {
|
|
5
|
-
"./ui/*": {
|
|
6
|
-
"types": "./dist/ui/*/index.d.ts",
|
|
7
|
-
"default": "./dist/ui/*/index.js"
|
|
8
|
-
},
|
|
9
|
-
"./utils/*": {
|
|
10
|
-
"types": "./dist/utils/*.d.ts",
|
|
11
|
-
"import": "./dist/utils/*.js"
|
|
12
|
-
},
|
|
13
|
-
"./types": {
|
|
14
|
-
"types": "./dist/types/index.d.ts",
|
|
15
|
-
"import": "./dist/types/index.js"
|
|
16
|
-
},
|
|
17
|
-
"./handlers": {
|
|
18
|
-
"types": "./dist/handlers.d.ts",
|
|
19
|
-
"default": "./dist/handlers.js"
|
|
20
|
-
},
|
|
21
|
-
"./middleware": {
|
|
22
|
-
"types": "./dist/middleware.d.ts",
|
|
23
|
-
"default": "./dist/middleware.js"
|
|
24
|
-
},
|
|
25
|
-
"./constants": {
|
|
26
|
-
"types": "./dist/constants/index.d.ts",
|
|
27
|
-
"default": "./dist/constants/index.js"
|
|
28
|
-
},
|
|
29
|
-
"./services/*": {
|
|
30
|
-
"types": "./dist/services/*.d.ts",
|
|
31
|
-
"default": "./dist/services/*.js"
|
|
32
|
-
},
|
|
33
|
-
"./client-utils/*": {
|
|
34
|
-
"types": "./dist/client/utils/*.d.ts",
|
|
35
|
-
"default": "./dist/client/utils/*.js"
|
|
36
|
-
},
|
|
37
|
-
"./client-hooks/*": {
|
|
38
|
-
"types": "./dist/client/hooks/*.d.ts",
|
|
39
|
-
"default": "./dist/client/hooks/*.js"
|
|
40
|
-
},
|
|
41
|
-
"./client-services/*": {
|
|
42
|
-
"types": "./dist/client/services/*.d.ts",
|
|
43
|
-
"default": "./dist/client/services/*.js"
|
|
44
|
-
},
|
|
45
|
-
"./server-utils/*": {
|
|
46
|
-
"types": "./dist/server/utils/*.d.ts",
|
|
47
|
-
"default": "./dist/server/utils/*.js"
|
|
48
|
-
},
|
|
49
|
-
"./server-services/*": {
|
|
50
|
-
"types": "./dist/server/services/*.d.ts",
|
|
51
|
-
"default": "./dist/server/services/*.js"
|
|
52
|
-
},
|
|
53
|
-
"./next.config": {
|
|
54
|
-
"types": "./dist/next.config.d.ts",
|
|
55
|
-
"default": "./dist/next.config.js"
|
|
56
|
-
},
|
|
57
|
-
"./theme.css": "./dist/styles/theme.css",
|
|
58
|
-
"./*": {
|
|
59
|
-
"types": "./dist/components/*/index.d.ts",
|
|
60
|
-
"default": "./dist/components/*/index.js"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"files": [
|
|
64
|
-
"dist",
|
|
65
|
-
"!dist/tsconfig.tsbuildinfo",
|
|
66
|
-
"!dist/tsconfig.build.tsbuildinfo"
|
|
67
|
-
],
|
|
68
|
-
"publishConfig": {
|
|
69
|
-
"access": "public"
|
|
70
|
-
},
|
|
71
|
-
"scripts": {
|
|
72
|
-
"dev": "next dev --port 4000 --turbopack",
|
|
73
|
-
"build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
|
|
74
|
-
"build:app": "next build",
|
|
75
|
-
"start": "next start",
|
|
76
|
-
"lint": "next lint",
|
|
77
|
-
"release": "release-it"
|
|
78
|
-
},
|
|
79
|
-
"dependencies": {
|
|
80
|
-
"@ark-ui/react": "^5.14.0",
|
|
81
|
-
"@date-fns/tz": "^1.2.0",
|
|
82
|
-
"@next/third-parties": "^15.3.3",
|
|
83
|
-
"@tailwindcss/typography": "^0.5.16",
|
|
84
|
-
"date-fns": "^4.1.0",
|
|
85
|
-
"embla-carousel-autoplay": "^8.6.0",
|
|
86
|
-
"embla-carousel-react": "^8.6.0",
|
|
87
|
-
"is-mobile": "^5.0.0",
|
|
88
|
-
"lodash-es": "^4.17.21",
|
|
89
|
-
"tailwind-merge": "^3.3.1",
|
|
90
|
-
"tailwind-variants": "^1.0.0",
|
|
91
|
-
"tailwind-zag": "^1.0.2",
|
|
92
|
-
"tiny-invariant": "^1.3.3",
|
|
93
|
-
"type-fest": "^4.41.0",
|
|
94
|
-
"usehooks-ts": "^3.1.1",
|
|
95
|
-
"zustand": "^5.0.5"
|
|
96
|
-
},
|
|
97
|
-
"devDependencies": {
|
|
98
|
-
"@eslint/eslintrc": "3",
|
|
99
|
-
"@hookform/resolvers": "5.1.1",
|
|
100
|
-
"@opexa/object-id": "0.1.6",
|
|
101
|
-
"@tailwindcss/postcss": "4",
|
|
102
|
-
"@tanstack/react-query": "5.80.7",
|
|
103
|
-
"@tanstack/react-query-devtools": "5.80.7",
|
|
104
|
-
"@total-typescript/ts-reset": "0.6.1",
|
|
105
|
-
"@types/lodash-es": "4.17.12",
|
|
106
|
-
"@types/node": "24",
|
|
107
|
-
"@types/react": "19",
|
|
108
|
-
"@types/react-dom": "19",
|
|
109
|
-
"copy-files-from-to": "3.12.1",
|
|
110
|
-
"eslint": "9",
|
|
111
|
-
"eslint-config-next": "15.3.3",
|
|
112
|
-
"next": "15.4.0-canary.61",
|
|
113
|
-
"react": "19.1.0",
|
|
114
|
-
"react-dom": "19.1.0",
|
|
115
|
-
"react-hook-form": "7.57.0",
|
|
116
|
-
"release-it": "19.0.3",
|
|
117
|
-
"tailwindcss": "4.1.10",
|
|
118
|
-
"tsc-alias": "1.8.16",
|
|
119
|
-
"typescript": "5",
|
|
120
|
-
"zod": "3.25.63"
|
|
121
|
-
},
|
|
122
|
-
"peerDependencies": {
|
|
123
|
-
"@hookform/resolvers": "^4.0.0 || ^5.0.0",
|
|
124
|
-
"@opexa/object-id": "^0.1.0",
|
|
125
|
-
"@tanstack/react-query": "^5.0.0",
|
|
126
|
-
"next": "^15.4.0-canary.1",
|
|
127
|
-
"react": "^19.0.0",
|
|
128
|
-
"react-dom": "^19.0.0",
|
|
129
|
-
"react-hook-form": "^7.0.0",
|
|
130
|
-
"tailwindcss": "^4.0.0",
|
|
131
|
-
"zod": "^3.0.0"
|
|
132
|
-
},
|
|
133
|
-
"release-it": {
|
|
134
|
-
"git": {
|
|
135
|
-
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
136
|
-
"tagName": "${npm.name}@${version}"
|
|
137
|
-
},
|
|
138
|
-
"github": {
|
|
139
|
-
"release": false
|
|
140
|
-
},
|
|
141
|
-
"hooks": {
|
|
142
|
-
"before:bump": [
|
|
143
|
-
"pnpm lint"
|
|
144
|
-
],
|
|
145
|
-
"after:bump": [
|
|
146
|
-
"pnpm build"
|
|
147
|
-
]
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"copyFiles": [
|
|
151
|
-
{
|
|
152
|
-
"from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
|
|
153
|
-
"to": "dist/",
|
|
154
|
-
"toFlat": false
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
|
-
"copyFilesSettings": {
|
|
158
|
-
"whenFileExists": "overwrite",
|
|
159
|
-
"removeSourceMappingURL": true,
|
|
160
|
-
"ignoreDotFilesAndFolders": false
|
|
161
|
-
}
|
|
162
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@opexa/portal-components",
|
|
3
|
+
"version": "0.0.109",
|
|
4
|
+
"exports": {
|
|
5
|
+
"./ui/*": {
|
|
6
|
+
"types": "./dist/ui/*/index.d.ts",
|
|
7
|
+
"default": "./dist/ui/*/index.js"
|
|
8
|
+
},
|
|
9
|
+
"./utils/*": {
|
|
10
|
+
"types": "./dist/utils/*.d.ts",
|
|
11
|
+
"import": "./dist/utils/*.js"
|
|
12
|
+
},
|
|
13
|
+
"./types": {
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"import": "./dist/types/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./handlers": {
|
|
18
|
+
"types": "./dist/handlers.d.ts",
|
|
19
|
+
"default": "./dist/handlers.js"
|
|
20
|
+
},
|
|
21
|
+
"./middleware": {
|
|
22
|
+
"types": "./dist/middleware.d.ts",
|
|
23
|
+
"default": "./dist/middleware.js"
|
|
24
|
+
},
|
|
25
|
+
"./constants": {
|
|
26
|
+
"types": "./dist/constants/index.d.ts",
|
|
27
|
+
"default": "./dist/constants/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./services/*": {
|
|
30
|
+
"types": "./dist/services/*.d.ts",
|
|
31
|
+
"default": "./dist/services/*.js"
|
|
32
|
+
},
|
|
33
|
+
"./client-utils/*": {
|
|
34
|
+
"types": "./dist/client/utils/*.d.ts",
|
|
35
|
+
"default": "./dist/client/utils/*.js"
|
|
36
|
+
},
|
|
37
|
+
"./client-hooks/*": {
|
|
38
|
+
"types": "./dist/client/hooks/*.d.ts",
|
|
39
|
+
"default": "./dist/client/hooks/*.js"
|
|
40
|
+
},
|
|
41
|
+
"./client-services/*": {
|
|
42
|
+
"types": "./dist/client/services/*.d.ts",
|
|
43
|
+
"default": "./dist/client/services/*.js"
|
|
44
|
+
},
|
|
45
|
+
"./server-utils/*": {
|
|
46
|
+
"types": "./dist/server/utils/*.d.ts",
|
|
47
|
+
"default": "./dist/server/utils/*.js"
|
|
48
|
+
},
|
|
49
|
+
"./server-services/*": {
|
|
50
|
+
"types": "./dist/server/services/*.d.ts",
|
|
51
|
+
"default": "./dist/server/services/*.js"
|
|
52
|
+
},
|
|
53
|
+
"./next.config": {
|
|
54
|
+
"types": "./dist/next.config.d.ts",
|
|
55
|
+
"default": "./dist/next.config.js"
|
|
56
|
+
},
|
|
57
|
+
"./theme.css": "./dist/styles/theme.css",
|
|
58
|
+
"./*": {
|
|
59
|
+
"types": "./dist/components/*/index.d.ts",
|
|
60
|
+
"default": "./dist/components/*/index.js"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"files": [
|
|
64
|
+
"dist",
|
|
65
|
+
"!dist/tsconfig.tsbuildinfo",
|
|
66
|
+
"!dist/tsconfig.build.tsbuildinfo"
|
|
67
|
+
],
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"scripts": {
|
|
72
|
+
"dev": "next dev --port 4000 --turbopack",
|
|
73
|
+
"build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
|
|
74
|
+
"build:app": "next build",
|
|
75
|
+
"start": "next start",
|
|
76
|
+
"lint": "next lint",
|
|
77
|
+
"release": "release-it"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@ark-ui/react": "^5.14.0",
|
|
81
|
+
"@date-fns/tz": "^1.2.0",
|
|
82
|
+
"@next/third-parties": "^15.3.3",
|
|
83
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
84
|
+
"date-fns": "^4.1.0",
|
|
85
|
+
"embla-carousel-autoplay": "^8.6.0",
|
|
86
|
+
"embla-carousel-react": "^8.6.0",
|
|
87
|
+
"is-mobile": "^5.0.0",
|
|
88
|
+
"lodash-es": "^4.17.21",
|
|
89
|
+
"tailwind-merge": "^3.3.1",
|
|
90
|
+
"tailwind-variants": "^1.0.0",
|
|
91
|
+
"tailwind-zag": "^1.0.2",
|
|
92
|
+
"tiny-invariant": "^1.3.3",
|
|
93
|
+
"type-fest": "^4.41.0",
|
|
94
|
+
"usehooks-ts": "^3.1.1",
|
|
95
|
+
"zustand": "^5.0.5"
|
|
96
|
+
},
|
|
97
|
+
"devDependencies": {
|
|
98
|
+
"@eslint/eslintrc": "3",
|
|
99
|
+
"@hookform/resolvers": "5.1.1",
|
|
100
|
+
"@opexa/object-id": "0.1.6",
|
|
101
|
+
"@tailwindcss/postcss": "4",
|
|
102
|
+
"@tanstack/react-query": "5.80.7",
|
|
103
|
+
"@tanstack/react-query-devtools": "5.80.7",
|
|
104
|
+
"@total-typescript/ts-reset": "0.6.1",
|
|
105
|
+
"@types/lodash-es": "4.17.12",
|
|
106
|
+
"@types/node": "24",
|
|
107
|
+
"@types/react": "19",
|
|
108
|
+
"@types/react-dom": "19",
|
|
109
|
+
"copy-files-from-to": "3.12.1",
|
|
110
|
+
"eslint": "9",
|
|
111
|
+
"eslint-config-next": "15.3.3",
|
|
112
|
+
"next": "15.4.0-canary.61",
|
|
113
|
+
"react": "19.1.0",
|
|
114
|
+
"react-dom": "19.1.0",
|
|
115
|
+
"react-hook-form": "7.57.0",
|
|
116
|
+
"release-it": "19.0.3",
|
|
117
|
+
"tailwindcss": "4.1.10",
|
|
118
|
+
"tsc-alias": "1.8.16",
|
|
119
|
+
"typescript": "5",
|
|
120
|
+
"zod": "3.25.63"
|
|
121
|
+
},
|
|
122
|
+
"peerDependencies": {
|
|
123
|
+
"@hookform/resolvers": "^4.0.0 || ^5.0.0",
|
|
124
|
+
"@opexa/object-id": "^0.1.0",
|
|
125
|
+
"@tanstack/react-query": "^5.0.0",
|
|
126
|
+
"next": "^15.4.0-canary.1",
|
|
127
|
+
"react": "^19.0.0",
|
|
128
|
+
"react-dom": "^19.0.0",
|
|
129
|
+
"react-hook-form": "^7.0.0",
|
|
130
|
+
"tailwindcss": "^4.0.0",
|
|
131
|
+
"zod": "^3.0.0"
|
|
132
|
+
},
|
|
133
|
+
"release-it": {
|
|
134
|
+
"git": {
|
|
135
|
+
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
136
|
+
"tagName": "${npm.name}@${version}"
|
|
137
|
+
},
|
|
138
|
+
"github": {
|
|
139
|
+
"release": false
|
|
140
|
+
},
|
|
141
|
+
"hooks": {
|
|
142
|
+
"before:bump": [
|
|
143
|
+
"pnpm lint"
|
|
144
|
+
],
|
|
145
|
+
"after:bump": [
|
|
146
|
+
"pnpm build"
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"copyFiles": [
|
|
151
|
+
{
|
|
152
|
+
"from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
|
|
153
|
+
"to": "dist/",
|
|
154
|
+
"toFlat": false
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"copyFilesSettings": {
|
|
158
|
+
"whenFileExists": "overwrite",
|
|
159
|
+
"removeSourceMappingURL": true,
|
|
160
|
+
"ignoreDotFilesAndFolders": false
|
|
161
|
+
}
|
|
162
|
+
}
|