@opexa/portal-components 0.0.234 → 0.0.236

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.
Files changed (94) hide show
  1. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +2 -0
  2. package/dist/components/CashbackBonus/CashbackBonus.client.js +9 -0
  3. package/dist/components/CashbackBonus/CashbackBonus.d.ts +10 -0
  4. package/dist/components/CashbackBonus/CashbackBonus.js +5 -0
  5. package/dist/components/CashbackBonus/index.d.ts +1 -0
  6. package/dist/components/CashbackBonus/index.js +1 -0
  7. package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.d.ts +2 -0
  8. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +5 -2
  9. package/dist/components/Disclaimer/DisclaimerV2.js +1 -1
  10. package/dist/components/Disclaimer/ResponsibleGaming.js +1 -1
  11. package/dist/components/Disclaimer/TermsOfUse.js +1 -1
  12. package/dist/components/Empty.d.ts +1 -2
  13. package/dist/components/KYC/Header.js +4 -2
  14. package/dist/components/KYC/Step1.js +3 -2
  15. package/dist/components/KYC/Step2.js +3 -2
  16. package/dist/components/KYC/Step3.js +4 -2
  17. package/dist/components/KYC/Step4.js +3 -2
  18. package/dist/components/KYC/backup/KYCContext.d.ts +5 -1
  19. package/dist/components/KYC/loadModels.d.ts +1 -0
  20. package/dist/components/KYC/loadModels.js +9 -0
  21. package/dist/components/Messages/Message.js +2 -3
  22. package/dist/components/Messages/MessageContext.d.ts +5 -1
  23. package/dist/components/Messages/MessagePopup.js +2 -3
  24. package/dist/components/Promo/PromoContent.d.ts +2 -0
  25. package/dist/components/Promo/PromoContent.js +9 -0
  26. package/dist/components/Promos/PromoCarousel.d.ts +2 -0
  27. package/dist/components/Promos/PromoCarousel.js +41 -0
  28. package/dist/components/Promos/PromoGrid.d.ts +2 -0
  29. package/dist/components/Promos/PromoGrid.js +12 -0
  30. package/dist/components/Promos/PromoItem.d.ts +7 -0
  31. package/dist/components/Promos/PromoItem.js +10 -0
  32. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -1
  33. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +10 -5
  34. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +4 -3
  35. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +1 -1
  36. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -1
  37. package/dist/components/Quests/WageringQuest/WageringQuest.js +3 -2
  38. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +4 -3
  39. package/dist/components/SignUp/SignUpForm.js +6 -1
  40. package/dist/constants/BranchCode.d.ts +4 -0
  41. package/dist/constants/BranchCode.js +42 -0
  42. package/dist/constants/endpoints.d.ts +10 -0
  43. package/dist/constants/endpoints.js +41 -0
  44. package/dist/constants/gameProviders.d.ts +1 -2
  45. package/dist/constants/gameProviders.js +6 -0
  46. package/dist/constants/gameTypes.d.ts +1 -2
  47. package/dist/constants/headerKeys.d.ts +1 -0
  48. package/dist/constants/headerKeys.js +1 -0
  49. package/dist/constants/secretQuestions.d.ts +1 -1
  50. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  51. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +11 -11
  52. package/dist/ui/Avatar/avatar.recipe.d.ts +3 -3
  53. package/dist/ui/Badge/Badge.d.ts +12 -12
  54. package/dist/ui/Carousel/Carousel.d.ts +45 -45
  55. package/dist/ui/Carousel/carousel.recipe.d.ts +5 -5
  56. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  57. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  58. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  59. package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
  60. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  61. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  62. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  63. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  64. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  65. package/dist/ui/Dialog/Dialog.d.ts +88 -88
  66. package/dist/ui/Dialog/dialog.recipe.d.ts +11 -11
  67. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  68. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  69. package/dist/ui/Menu/Menu.d.ts +144 -144
  70. package/dist/ui/Menu/menu.recipe.d.ts +20 -20
  71. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  72. package/dist/ui/Popover/Popover.d.ts +55 -55
  73. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  74. package/dist/ui/Presence.d.ts +1 -1
  75. package/dist/ui/Presence.js +1 -1
  76. package/dist/ui/Progress/Progress.d.ts +27 -27
  77. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  78. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  79. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  80. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  81. package/dist/ui/Select/Select.d.ts +45 -45
  82. package/dist/ui/Select/select.recipe.d.ts +3 -3
  83. package/dist/ui/Table/Table.d.ts +21 -21
  84. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  85. package/dist/ui/Table/table.recipe.d.ts +3 -3
  86. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  87. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  88. package/dist/utils/createErrorFromCode.d.ts +2 -0
  89. package/dist/utils/createErrorFromCode.js +11 -0
  90. package/package.json +1 -1
  91. package/dist/utils/constants.d.ts +0 -2
  92. package/dist/utils/constants.js +0 -2
  93. package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
  94. package/dist/utils/isBetween3amAnd3pm.js +0 -5
@@ -0,0 +1,10 @@
1
+ export declare const ACCOUNT_GRAPHQL_ENDPOINT: string;
2
+ export declare const FILE_GRAPHQL_ENDPOINT: string;
3
+ export declare const GAME_GRAPHQL_ENDPOINT: string;
4
+ export declare const PORTAL_GRAPHQL_ENDPOINT: string;
5
+ export declare const REPORT_GRAPHQL_ENDPOINT: string;
6
+ export declare const TRIGGER_GRAPHQL_ENDPOINT: string;
7
+ export declare const WALLET_GRAPHQL_ENDPOINT: string;
8
+ export declare const AUTH_ENDPOINT: string;
9
+ export declare const CMS_PORTAL_ENDPOINT: string;
10
+ export declare const STATIC_ENDPOINT: string;
@@ -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 '@opexa/portal-sdk-core';
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 '@opexa/portal-sdk-core';
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 +1,2 @@
1
1
  export declare const RECAPTCHA_HEADER_KEY: string;
2
+ export declare const TEST_PASS_HEADER_KEY: string;
@@ -1 +1,2 @@
1
1
  export const RECAPTCHA_HEADER_KEY = 'Google-Recaptcha-Response';
2
+ export const TEST_PASS_HEADER_KEY = 'Test-Pass';
@@ -1,3 +1,3 @@
1
- import type { SecretQuestion } from '@opexa/portal-sdk-core';
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>;