@opexa/portal-components 0.0.232 → 0.0.233
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/components/CashbackBonus/CashbackBonus.client.d.ts +2 -0
- package/dist/components/CashbackBonus/CashbackBonus.client.js +9 -0
- package/dist/components/CashbackBonus/CashbackBonus.d.ts +10 -0
- package/dist/components/CashbackBonus/CashbackBonus.js +5 -0
- package/dist/components/CashbackBonus/index.d.ts +1 -0
- package/dist/components/CashbackBonus/index.js +1 -0
- package/dist/components/Empty.d.ts +1 -2
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +2 -2
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +1 -1
- package/dist/components/KYC/Header.js +4 -2
- package/dist/components/KYC/Step1.js +3 -2
- package/dist/components/KYC/Step2.js +3 -2
- package/dist/components/KYC/Step3.js +4 -2
- package/dist/components/KYC/Step4.js +3 -2
- package/dist/components/KYC/backup/KYCContext.d.ts +5 -1
- package/dist/components/KYC/loadModels.d.ts +1 -0
- package/dist/components/KYC/loadModels.js +9 -0
- package/dist/components/Messages/Message.js +2 -3
- package/dist/components/Messages/MessageContext.d.ts +5 -1
- package/dist/components/Messages/MessagePopup.js +2 -3
- package/dist/components/Promo/PromoContent.d.ts +2 -0
- package/dist/components/Promo/PromoContent.js +9 -0
- package/dist/components/Promos/PromoCarousel.d.ts +2 -0
- package/dist/components/Promos/PromoCarousel.js +41 -0
- package/dist/components/Promos/PromoGrid.d.ts +2 -0
- package/dist/components/Promos/PromoGrid.js +12 -0
- package/dist/components/Promos/PromoItem.d.ts +7 -0
- package/dist/components/Promos/PromoItem.js +10 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +10 -5
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +4 -3
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +1 -1
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -1
- package/dist/components/Quests/WageringQuest/WageringQuest.js +3 -2
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +4 -3
- package/dist/components/SignUp/SignUpForm.js +6 -1
- package/dist/constants/BranchCode.d.ts +4 -0
- package/dist/constants/BranchCode.js +42 -0
- package/dist/constants/endpoints.d.ts +10 -0
- package/dist/constants/endpoints.js +41 -0
- package/dist/constants/gameProviders.d.ts +1 -2
- package/dist/constants/gameProviders.js +6 -0
- package/dist/constants/gameTypes.d.ts +1 -2
- package/dist/constants/headerKeys.d.ts +1 -0
- package/dist/constants/headerKeys.js +1 -0
- package/dist/constants/secretQuestions.d.ts +1 -1
- package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +11 -11
- package/dist/ui/Avatar/avatar.recipe.d.ts +3 -3
- package/dist/ui/Badge/Badge.d.ts +12 -12
- package/dist/ui/Carousel/Carousel.d.ts +45 -45
- package/dist/ui/Carousel/carousel.recipe.d.ts +5 -5
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
- package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
- package/dist/ui/Combobox/Combobox.d.ts +42 -42
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
- package/dist/ui/Dialog/Dialog.d.ts +88 -88
- package/dist/ui/Dialog/dialog.recipe.d.ts +11 -11
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Menu/Menu.d.ts +144 -144
- package/dist/ui/Menu/menu.recipe.d.ts +20 -20
- package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
- package/dist/ui/Popover/Popover.d.ts +55 -55
- package/dist/ui/Popover/popover.recipe.d.ts +8 -8
- package/dist/ui/Presence.d.ts +1 -1
- package/dist/ui/Presence.js +1 -1
- package/dist/ui/Progress/Progress.d.ts +27 -27
- package/dist/ui/Progress/progress.recipe.d.ts +3 -3
- package/dist/ui/QrCode/qrCode.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/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/createErrorFromCode.d.ts +2 -0
- package/dist/utils/createErrorFromCode.js +11 -0
- package/package.json +1 -1
- package/dist/utils/constants.d.ts +0 -2
- package/dist/utils/constants.js +0 -2
- package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
- package/dist/utils/isBetween3amAnd3pm.js +0 -5
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ENVIRONMENT } from './envVars.js';
|
|
2
|
+
export const ACCOUNT_GRAPHQL_ENDPOINT = {
|
|
3
|
+
development: 'https://account.development.opexa.io/graphql',
|
|
4
|
+
production: 'https://account.opexa.io/graphql',
|
|
5
|
+
}[ENVIRONMENT];
|
|
6
|
+
export const FILE_GRAPHQL_ENDPOINT = {
|
|
7
|
+
development: 'https://file.development.opexa.io/graphql',
|
|
8
|
+
production: 'https://file.opexa.io/graphql',
|
|
9
|
+
}[ENVIRONMENT];
|
|
10
|
+
export const GAME_GRAPHQL_ENDPOINT = {
|
|
11
|
+
development: 'https://game.development.opexa.io/graphql',
|
|
12
|
+
production: 'https://game.opexa.io/graphql',
|
|
13
|
+
}[ENVIRONMENT];
|
|
14
|
+
export const PORTAL_GRAPHQL_ENDPOINT = {
|
|
15
|
+
development: 'https://portal.development.opexa.io/graphql',
|
|
16
|
+
production: 'https://portal.opexa.io/graphql',
|
|
17
|
+
}[ENVIRONMENT];
|
|
18
|
+
export const REPORT_GRAPHQL_ENDPOINT = {
|
|
19
|
+
development: 'https://report.development.opexa.io/graphql',
|
|
20
|
+
production: 'https://report.opexa.io/graphql',
|
|
21
|
+
}[ENVIRONMENT];
|
|
22
|
+
export const TRIGGER_GRAPHQL_ENDPOINT = {
|
|
23
|
+
development: 'https://trigger.development.opexa.io/graphql',
|
|
24
|
+
production: 'https://trigger.opexa.io/graphql',
|
|
25
|
+
}[ENVIRONMENT];
|
|
26
|
+
export const WALLET_GRAPHQL_ENDPOINT = {
|
|
27
|
+
development: 'https://wallet.development.opexa.io/graphql',
|
|
28
|
+
production: 'https://wallet.opexa.io/graphql',
|
|
29
|
+
}[ENVIRONMENT];
|
|
30
|
+
export const AUTH_ENDPOINT = {
|
|
31
|
+
development: 'https://auth.development.opexa.io',
|
|
32
|
+
production: 'https://auth.opexa.io',
|
|
33
|
+
}[ENVIRONMENT];
|
|
34
|
+
export const CMS_PORTAL_ENDPOINT = {
|
|
35
|
+
development: 'https://portal-api.opexacms.io',
|
|
36
|
+
production: 'https://portal-api.opexacms.io',
|
|
37
|
+
}[ENVIRONMENT];
|
|
38
|
+
export const STATIC_ENDPOINT = {
|
|
39
|
+
development: 'https://static.development.atalos.io',
|
|
40
|
+
production: 'https://static.atalos.io',
|
|
41
|
+
}[ENVIRONMENT];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { GameProvider } from '
|
|
2
|
-
import type { GameProviderData } from '../types';
|
|
1
|
+
import type { GameProvider, GameProviderData } from '../types';
|
|
3
2
|
export declare const GAME_PROVIDER_DATA: Record<GameProvider, GameProviderData>;
|
|
4
3
|
export declare const GAME_PROVIDERS: ["ALIZE", "BGAMING", "BOOONGO", "EVOPLAY", "BTI", "CQ9", "DARWIN", "DG", "DRBINGO", "E2E", "ETENGJUE", "EVOLUTION", "EVOLUTION_REDTIGER", "EZUGI", "FACHAI", "HABANERO", "HACKSAW", "HOLLYWOODTV", "JDB", "JILI", "JDBGTF", "JOKER", "JDBSPRIBE", "JILI_BINGO", "KINGMAKER", "KINGMIDAS", "MEGA2SPIN", "MICROGAMING", "MEGABALL", "ONEAPI_EVOLUTION", "PGSOFT", "PLAYTECH", "PRAGMATICPLAY", "RELAXGAMING", "RTG", "SABA", "SPINIX", "SPRIBE", "YELLOWBAT", "EVOLUTIONNETENT", "EVOLUTION_NETENT"];
|
|
5
4
|
export declare const LEGACY_GAME_PROVIDERS: ["JILI", "PGSOFT", "FACHAI", "BTI", "DG", "PLAYTECH", "E2E", "ONEAPI_EVOLUTION", "CQ9", "JDB", "HABANERO", "SPINIX", "JOKER", "HACKSAW", "EVOLUTIONNETENT", "JDBGTF", "JDBSPRIBE", "MICROGAMING", "RELAXGAMING", "EVOPLAY", "BOOONGO", "BGAMING", "KINGMAKER", "KINGMIDAS", "YELLOWBAT", "ETENGJUE", "SABA", "PRAGMATICPLAY", "SPRIBE", "EZUGI", "ALIZE"];
|
|
@@ -283,6 +283,12 @@ export const GAME_PROVIDER_DATA = {
|
|
|
283
283
|
slug: 'evolution-netent',
|
|
284
284
|
logo: evolutionNetent,
|
|
285
285
|
},
|
|
286
|
+
DIGITAIN: {
|
|
287
|
+
id: 'DIGITAIN',
|
|
288
|
+
name: 'Digitain',
|
|
289
|
+
slug: 'digitain',
|
|
290
|
+
logo: '',
|
|
291
|
+
},
|
|
286
292
|
};
|
|
287
293
|
export const GAME_PROVIDERS = [
|
|
288
294
|
'ALIZE',
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { GameType } from '
|
|
2
|
-
import type { GameTypeData } from '../types';
|
|
1
|
+
import type { GameType, GameTypeData } from '../types';
|
|
3
2
|
export declare const GAME_TYPE_DATA: Record<GameType, GameTypeData>;
|
|
4
3
|
export declare const GAME_TYPES: ["ARCADE", "BINGO", "FISHING", "GAMES", "LIVE", "NUMERICAL", "SLOTS", "SPECIALTY", "SPORTS", "TABLE"];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { SecretQuestion } from '
|
|
1
|
+
import type { SecretQuestion } from '../types';
|
|
2
2
|
export declare const SECRET_QUESTIONS: ["BEST_CHILDHOOD_FRIEND", "BIRTH_PLACE", "FAVORITE_BOOK", "FAVORITE_MOVIE", "FAVORITE_TEACHER", "FIRST_CAR", "FIRST_PET", "FIRST_SCHOOL", "MOTHERS_MAIDEN_NAME", "PARENTS_MET_CITY"];
|
|
3
3
|
export declare const SECRET_QUESTIONS_MAP: Record<SecretQuestion, string>;
|