@opexa/portal-components 0.0.360 → 0.0.362

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 (74) hide show
  1. package/dist/client/hooks/useFacebookClientQuery.d.ts +2 -0
  2. package/dist/client/hooks/useFacebookClientQuery.js +13 -0
  3. package/dist/client/hooks/useUnlinkFacebookMutation.d.ts +2 -0
  4. package/dist/client/hooks/useUnlinkFacebookMutation.js +31 -0
  5. package/dist/components/AccountInfo/AccountInfo.js +53 -2
  6. package/dist/components/Banner/Banner.client.d.ts +12 -0
  7. package/dist/components/Banner/Banner.client.js +49 -0
  8. package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.js +8 -3
  9. package/dist/components/DigitainLauncher/Loading.d.ts +1 -0
  10. package/dist/components/DigitainLauncher/Loading.js +5 -0
  11. package/dist/components/Jackpots/Jackpots.d.ts +1 -1
  12. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarousel.d.ts +11 -0
  13. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarousel.js +1 -1
  14. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.d.ts +12 -1
  15. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +9 -2
  16. package/dist/components/Jackpots/JackpotsList/JackpotsList.d.ts +11 -0
  17. package/dist/components/Jackpots/JackpotsList/JackpotsList.js +1 -1
  18. package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.d.ts +12 -1
  19. package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +9 -2
  20. package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.d.ts +12 -1
  21. package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +10 -3
  22. package/dist/components/KYC/BasicInformation.d.ts +1 -0
  23. package/dist/components/KYC/BasicInformation.js +101 -0
  24. package/dist/components/KYC/IdentityVerification.d.ts +1 -0
  25. package/dist/components/KYC/IdentityVerification.js +120 -0
  26. package/dist/components/KYC/Indicator.d.ts +1 -0
  27. package/dist/components/KYC/Indicator.js +8 -0
  28. package/dist/components/KYC/KYC.lazy.d.ts +6 -0
  29. package/dist/components/KYC/KYC.lazy.js +45 -0
  30. package/dist/components/KYC/KYCContext.d.ts +6 -0
  31. package/dist/components/KYC/KYCContext.js +2 -0
  32. package/dist/components/KYC/PersonalInformation.d.ts +1 -0
  33. package/dist/components/KYC/PersonalInformation.js +122 -0
  34. package/dist/components/KYC/useKYC.d.ts +25 -0
  35. package/dist/components/KYC/useKYC.js +38 -0
  36. package/dist/components/SignIn/FacebookSignInTrigger.d.ts +1 -0
  37. package/dist/components/SignIn/FacebookSignInTrigger.js +51 -0
  38. package/dist/components/SignIn/MobileNumberSignIn.js +2 -1
  39. package/dist/components/SignIn/SignIn.lazy.d.ts +1 -0
  40. package/dist/components/SignIn/utils.d.ts +8 -0
  41. package/dist/components/SignIn/utils.js +26 -0
  42. package/dist/constants/Branches.d.ts +2 -0
  43. package/dist/constants/Branches.js +42 -0
  44. package/dist/icons/StarIcon.d.ts +3 -2
  45. package/dist/icons/StarIcon.js +6 -3
  46. package/dist/images/close-chest-bstar.png +0 -0
  47. package/dist/images/open-chest-bstar.png +0 -0
  48. package/dist/images/responsible-gaming-yellow.png +0 -0
  49. package/dist/services/account.d.ts +14 -0
  50. package/dist/services/account.js +8 -1
  51. package/dist/services/queries.d.ts +3 -1
  52. package/dist/services/queries.js +11 -0
  53. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +4 -0
  54. package/dist/third-parties/FacebookPixel/FacebookPixel.js +4 -0
  55. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  56. package/dist/third-parties/FacebookPixel/api.js +1 -0
  57. package/dist/third-parties/FacebookPixel/index.d.ts +1 -0
  58. package/dist/third-parties/FacebookPixel/index.js +1 -0
  59. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +4 -0
  60. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +4 -0
  61. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  62. package/dist/third-parties/GoogleRecaptcha/api.js +1 -0
  63. package/dist/third-parties/GoogleRecaptcha/index.d.ts +1 -0
  64. package/dist/third-parties/GoogleRecaptcha/index.js +1 -0
  65. package/dist/third-parties/index.d.ts +2 -0
  66. package/dist/third-parties/index.js +2 -0
  67. package/dist/types/index.d.ts +1 -0
  68. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  69. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  70. package/dist/utils/mutationKeys.d.ts +1 -0
  71. package/dist/utils/mutationKeys.js +4 -0
  72. package/dist/utils/queryKeys.d.ts +1 -0
  73. package/dist/utils/queryKeys.js +1 -0
  74. package/package.json +2 -1
@@ -0,0 +1,42 @@
1
+ export const BRANCHES = [
2
+ {
3
+ code: 'BRCAL',
4
+ name: 'Bingo Republic 2nd floor Primark Center Deparo St., Caloocan City',
5
+ },
6
+ {
7
+ code: 'BRNAG',
8
+ name: 'Bingo Republic 3rd floor Robinsons Mall, Naga City, Camarines Sur',
9
+ },
10
+ {
11
+ code: 'BRANT',
12
+ name: 'Bingo Republic 2nd floor Robinsons Mall, San Vicente,Antique',
13
+ },
14
+ {
15
+ code: 'BRCLA',
16
+ name: 'Clark',
17
+ },
18
+ {
19
+ code: 'BRLAG',
20
+ name: 'Laguna',
21
+ },
22
+ {
23
+ code: 'BREAS',
24
+ name: 'Eastwood City, Quezon City',
25
+ },
26
+ {
27
+ code: 'BRMAR',
28
+ name: 'Bingo ng Bayan 4th floor Marikina Public Market, Marikina City',
29
+ },
30
+ {
31
+ code: 'BRILO',
32
+ name: 'Iloilo',
33
+ },
34
+ {
35
+ code: 'BRFIM',
36
+ name: 'Fisher Mall,Quezon City',
37
+ },
38
+ {
39
+ code: 'BRCAC',
40
+ name: 'Villa Caceres Hotel, Naga City,Camsur',
41
+ },
42
+ ];
@@ -1,2 +1,3 @@
1
- import type { ComponentPropsWithRef } from 'react';
2
- export declare function StarIcon(props: ComponentPropsWithRef<'svg'>): import("react/jsx-runtime").JSX.Element;
1
+ export declare function StarIcon({ className }: {
2
+ className?: string;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,7 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export function StarIcon(props) {
3
- return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "currentColor", viewBox: "0 0 24 24", ...props, children: _jsx("path", { d: "M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z" }) }));
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useId } from 'react';
4
+ export function StarIcon({ className }) {
5
+ const gradientId = useId();
6
+ return (_jsxs("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", width: "75", height: "72", fill: "none", viewBox: "0 0 75 72", children: [_jsx("path", { fill: "#F7D323", stroke: `url(#${gradientId})`, strokeWidth: "3", strokeLinejoin: "round", d: "M34.139 3.597c1.331-2.704 5.1-2.79 6.586-.252l.136.254 8.744 17.753.348.708.781.113 19.55 2.848c3.071.447 4.307 4.237 2.076 6.417L58.214 45.255l-.564.551.133.776 3.34 19.512c.51 2.984-2.498 5.266-5.18 4.091l-.26-.125-17.485-9.212-.699-.369-.7.37-17.484 9.211c-2.743 1.446-5.966-.886-5.439-3.966l3.34-19.512.133-.776-.564-.55L2.64 31.436c-2.231-2.179-.995-5.97 2.077-6.417l19.549-2.848.78-.113.35-.708 8.743-17.753Z" }), _jsx("defs", { children: _jsxs("linearGradient", { id: gradientId, x1: "37.5", x2: "37.5", y1: "0.003", y2: "72.003", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#fac515" }), _jsx("stop", { offset: "1", stopColor: "#fac515" })] }) })] }));
4
7
  }
Binary file
@@ -364,7 +364,11 @@ export declare const getPointsClubSettings: (options?: GraphQLRequestOptions) =>
364
364
  export interface GoogleClientIdQuery {
365
365
  googleClientId?: string | null;
366
366
  }
367
+ export interface FacebookClientIdQuery {
368
+ facebookClientId?: string | null;
369
+ }
367
370
  export declare const getGoogleClientId: (options?: GraphQLRequestOptions) => Promise<string | null>;
371
+ export declare const getFacebookClientId: (options?: GraphQLRequestOptions) => Promise<string | null>;
368
372
  export interface UnlinkGoogleMutation {
369
373
  unlinkGoogle: boolean;
370
374
  }
@@ -375,6 +379,16 @@ export interface UnlinkGoogleMutationVariables {
375
379
  input: UnlinkGoogleInput;
376
380
  }
377
381
  export declare const unlinkGoogle: (id: string, options?: GraphQLRequestOptions) => Promise<void>;
382
+ export interface UnlinkFacebookMutation {
383
+ unlinkFacebook: boolean;
384
+ }
385
+ export interface UnlinkFacebookInput {
386
+ id: string;
387
+ }
388
+ export interface UnlinkFacebookMutationVariables {
389
+ input: UnlinkFacebookInput;
390
+ }
391
+ export declare const unlinkFacebook: (id: string, options?: GraphQLRequestOptions) => Promise<void>;
378
392
  export interface GenerateSumsubVerificationTokenMutation {
379
393
  generateSumsubVerificationToken: string;
380
394
  }
@@ -1,7 +1,7 @@
1
1
  import { cache } from 'react';
2
2
  import { ACCOUNT_GRAPHQL_ENDPOINT } from '../constants/index.js';
3
3
  import { graphqlRequest } from './graphqlRequest.js';
4
- import { ANNOUNCEMENTS, APPROVE_MEMBER_VERIFICATION__NEXT, CREATE_MEMBER_VERIFICATION, CREATE_MEMBER_VERIFICATION__NEXT, DELETE_MEMBER_ACCOUNT, GENERATE_SUMSUB_VERIFICATION_TOKEN, GOOGLE_CLIENT_ID, MEMBER_ACCOUNT, MEMBER_VERIFICATION, PAYMENT_SETTINGS, POINTS_CLUB_SETTINGS, PROFILE_COMPLETION, REFERRAL_CODE, REGISTER_MAYA_MEMBER_ACCOUNT, REGISTER_MEMBER_ACCOUNT, REGISTER_MEMBER_ACCOUNT__NEXT, REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER, REGISTER_MEMBER_ACCOUNT_BY_NAME, REGISTER_MEMBER_ACCOUNT_VIA_MOBILE, RESET_PASSWORD, UNLINK_GOOGLE, UPDATE_MEMBER_ACCOUNT, UPDATE_MEMBER_VERIFICATION, UPDATE_MEMBER_VERIFICATION__NEXT, UPDATE_REFERRAL_CODE, VERIFY_MOBILE_NUMBER, } from './queries.js';
4
+ import { ANNOUNCEMENTS, APPROVE_MEMBER_VERIFICATION__NEXT, CREATE_MEMBER_VERIFICATION, CREATE_MEMBER_VERIFICATION__NEXT, DELETE_MEMBER_ACCOUNT, FACEBOOK_CLIENT_ID, GENERATE_SUMSUB_VERIFICATION_TOKEN, GOOGLE_CLIENT_ID, MEMBER_ACCOUNT, MEMBER_VERIFICATION, PAYMENT_SETTINGS, POINTS_CLUB_SETTINGS, PROFILE_COMPLETION, REFERRAL_CODE, REGISTER_MAYA_MEMBER_ACCOUNT, REGISTER_MEMBER_ACCOUNT, REGISTER_MEMBER_ACCOUNT__NEXT, REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER, REGISTER_MEMBER_ACCOUNT_BY_NAME, REGISTER_MEMBER_ACCOUNT_VIA_MOBILE, RESET_PASSWORD, UNLINK_FACEBOOK, UNLINK_GOOGLE, UPDATE_MEMBER_ACCOUNT, UPDATE_MEMBER_VERIFICATION, UPDATE_MEMBER_VERIFICATION__NEXT, UPDATE_REFERRAL_CODE, VERIFY_MOBILE_NUMBER, } from './queries.js';
5
5
  import { sha256 } from './sha256.js';
6
6
  export const getMemberAccount = cache(async (options) => {
7
7
  const res = await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, MEMBER_ACCOUNT, undefined, options);
@@ -257,9 +257,16 @@ export const getGoogleClientId = cache(async (options) => {
257
257
  const res = await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, GOOGLE_CLIENT_ID, undefined, options);
258
258
  return res.googleClientId ?? null;
259
259
  });
260
+ export const getFacebookClientId = cache(async (options) => {
261
+ const res = await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, FACEBOOK_CLIENT_ID, undefined, options);
262
+ return res.facebookClientId ?? null;
263
+ });
260
264
  export const unlinkGoogle = async (id, options) => {
261
265
  await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, UNLINK_GOOGLE, { input: { id } }, options);
262
266
  };
267
+ export const unlinkFacebook = async (id, options) => {
268
+ await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, UNLINK_FACEBOOK, { input: { id } }, options);
269
+ };
263
270
  export const generateSumsubVerificationToken = async (options) => {
264
271
  const res = await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, GENERATE_SUMSUB_VERIFICATION_TOKEN, undefined, options);
265
272
  return res.generateSumsubVerificationToken;
@@ -67,7 +67,7 @@ export declare const MEMBER = "\n query Member {\n member {\n dateTimeL
67
67
  /**
68
68
  * _aka_ `Query.self`
69
69
  */
70
- export declare const MEMBER_ACCOUNT = "\n query MemberAccount {\n memberAccount: self {\n ... on MemberAccount {\n id\n name\n status\n realName\n emailAddress\n mobileNumber\n birthDay\n verified\n verificationStatus\n nickName\n validId\n mobileNumberVerified\n mobileNumberVerificationRequired\n transactionPassword\n secretAnswerSubmitted\n dateTimeCreated\n dateTimeLastUpdated\n googleId\n }\n }\n }\n";
70
+ export declare const MEMBER_ACCOUNT = "\n query MemberAccount {\n memberAccount: self {\n ... on MemberAccount {\n id\n name\n status\n realName\n emailAddress\n mobileNumber\n birthDay\n verified\n verificationStatus\n nickName\n validId\n mobileNumberVerified\n mobileNumberVerificationRequired\n transactionPassword\n secretAnswerSubmitted\n dateTimeCreated\n dateTimeLastUpdated\n googleId\n facebookId\n }\n }\n }\n";
71
71
  export declare const MEMBER_VERIFICATION = "\n \n fragment FileFragment on File {\n id\n url\n status\n }\n\n\n query MemberVerification {\n memberAccount: self {\n ... on MemberAccount {\n verification {\n id\n status\n address\n permanentAddress\n sourceOfIncome\n natureOfWork\n nationality\n placeOfBirth\n idFrontImage {\n ...FileFragment\n }\n selfieImage {\n ...FileFragment\n }\n }\n }\n }\n }\n";
72
72
  export declare const REGISTER_MEMBER_ACCOUNT = "\n mutation RegisterMemberAccount(\n $input: RegisterMemberAccountInput!\n $referralCode: String\n $verificationCode: String\n $reCAPTCHAResponse: String\n ) {\n registerMemberAccount(\n input: $input\n referralCode: $referralCode\n verificationCode: $verificationCode\n reCAPTCHAResponse: $reCAPTCHAResponse\n ) {\n ... on AccountNameNotAvailableError {\n name: __typename\n message\n }\n ... on InvalidPlatformError {\n name: __typename\n message\n }\n ... on InvalidPlatformError {\n name: __typename\n message\n }\n ... on InvalidReCAPTCHAResponseError {\n name: __typename\n message\n }\n ... on InvalidSMSVerificationCodeError {\n name: __typename\n message\n }\n ... on MinimumAgeRequirementError {\n name: __typename\n message\n }\n ... on MobileNumberNotAvailableError {\n name: __typename\n message\n }\n ... on ReCAPTCHAVerificationFailedError {\n name: __typename\n message\n }\n }\n }\n";
73
73
  export declare const REGISTER_MEMBER_ACCOUNT_BY_NAME = "\n mutation RegisterMemberAccountByName(\n $input: RegisterMemberAccountByNameInput!\n $reCAPTCHAResponse: String!\n ) {\n registerMemberAccountByName(\n input: $input\n reCAPTCHAResponse: $reCAPTCHAResponse\n ) {\n ... on AccountNameNotAvailableError {\n name: __typename\n message\n }\n ... on InvalidPlatformError {\n name: __typename\n message\n }\n ... on InvalidReCAPTCHAResponseError {\n name: __typename\n message\n }\n }\n }\n";
@@ -125,7 +125,9 @@ export declare const MARK_GAME_AS_FAVORITE = "\n mutation MarkGameAsFavorite($i
125
125
  export declare const UNMARK_GAME_AS_FAVORITE = "\n mutation UnmarkGameAsFavorite($input: UnmarkGameAsFavoriteInput!) {\n unmarkGameAsFavorite(input: $input)\n }\n";
126
126
  export declare const FAVORITE_GAMES = "\n query FavoriteGames {\n favoriteGames {\n ... on Game {\n id\n name\n type\n provider\n }\n }\n }\n";
127
127
  export declare const GOOGLE_CLIENT_ID = "\n query GoogleClientId {\n googleClientId\n }\n";
128
+ export declare const FACEBOOK_CLIENT_ID = "\n query FacebookClientId {\n facebookClientId\n }\n";
128
129
  export declare const UNLINK_GOOGLE = "\n mutation UnlinkGoogle($input: UnlinkGoogleInput!) {\n unlinkGoogle(input: $input)\n }\n";
130
+ export declare const UNLINK_FACEBOOK = "\n mutation UnlinkFacebook($input: UnlinkFacebookInput!) {\n unlinkFacebook(input: $input)\n }\n";
129
131
  export declare const TOURNAMENTS = "\n query Tournaments(\n $first: Int\n $after: Cursor\n $filter: TournamentFilterInput\n ) {\n tournaments(first: $first, after: $after, filter: $filter) {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n ... on MultiplierTournament {\n id\n type\n name\n winnersCount\n status\n description\n activationStartDateTime\n activationEndDateTime\n topPayouts {\n id\n multiplier\n amount\n member {\n id\n name\n }\n }\n currentLeaderboard {\n totalCount\n edges {\n node {\n ... on TournamentLeaderboard {\n id\n username\n multiplier\n dateTimeCreated\n }\n }\n }\n }\n previousLeaderboard {\n totalCount\n edges {\n node {\n ... on TournamentLeaderboard {\n id\n username\n multiplier\n dateTimeCreated\n }\n }\n }\n }\n enabledGameProviders\n frequency\n mode\n mobileBanner {\n id\n url\n mimeType\n }\n webBanner {\n id\n url\n mimeType\n }\n rewardSettings\n }\n }\n }\n }\n }\n";
130
132
  export declare const TOURNAMENTS_COUNT = "\n query TournamentsCount($filter: TournamentFilterInput) {\n tournaments(filter: $filter) {\n totalCount\n }\n }\n";
131
133
  export declare const GENERATE_SUMSUB_VERIFICATION_TOKEN = "\n mutation GenerateSumsubVerificationToken {\n generateSumsubVerificationToken\n }\n";
@@ -1531,6 +1531,7 @@ export const MEMBER_ACCOUNT = /* GraphQL */ `
1531
1531
  dateTimeCreated
1532
1532
  dateTimeLastUpdated
1533
1533
  googleId
1534
+ facebookId
1534
1535
  }
1535
1536
  }
1536
1537
  }
@@ -2559,11 +2560,21 @@ export const GOOGLE_CLIENT_ID = /* GraphQL */ `
2559
2560
  googleClientId
2560
2561
  }
2561
2562
  `;
2563
+ export const FACEBOOK_CLIENT_ID = /* GraphQL */ `
2564
+ query FacebookClientId {
2565
+ facebookClientId
2566
+ }
2567
+ `;
2562
2568
  export const UNLINK_GOOGLE = /* GraphQL */ `
2563
2569
  mutation UnlinkGoogle($input: UnlinkGoogleInput!) {
2564
2570
  unlinkGoogle(input: $input)
2565
2571
  }
2566
2572
  `;
2573
+ export const UNLINK_FACEBOOK = /* GraphQL */ `
2574
+ mutation UnlinkFacebook($input: UnlinkFacebookInput!) {
2575
+ unlinkFacebook(input: $input)
2576
+ }
2577
+ `;
2567
2578
  export const TOURNAMENTS = /* GraphQL */ `
2568
2579
  query Tournaments(
2569
2580
  $first: Int
@@ -0,0 +1,4 @@
1
+ export interface FacebookPixelProps {
2
+ fbId: string;
3
+ }
4
+ export declare function FacebookPixel(props: FacebookPixelProps): null;
@@ -0,0 +1,4 @@
1
+ export function FacebookPixel(props) {
2
+ console.log(props);
3
+ return null;
4
+ }
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+ export * from './FacebookPixel';
@@ -0,0 +1 @@
1
+ export * from './FacebookPixel.js';
@@ -0,0 +1,4 @@
1
+ export interface GoogleRecaptchaProps {
2
+ siteKey: string;
3
+ }
4
+ export declare function GoogleRecaptcha(props: GoogleRecaptchaProps): null;
@@ -0,0 +1,4 @@
1
+ export function GoogleRecaptcha(props) {
2
+ console.log(props);
3
+ return null;
4
+ }
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+ export * from './GoogleRecaptcha';
@@ -0,0 +1 @@
1
+ export * from './GoogleRecaptcha.js';
@@ -0,0 +1,2 @@
1
+ export * from './FacebookPixel';
2
+ export * from './GoogleRecaptcha';
@@ -0,0 +1,2 @@
1
+ export * from './FacebookPixel/index.js';
2
+ export * from './GoogleRecaptcha/index.js';
@@ -460,6 +460,7 @@ export interface MemberAccount {
460
460
  dateTimeCreated: string;
461
461
  dateTimeLastUpdated: string;
462
462
  googleId?: string | null;
463
+ facebookId?: string | null;
463
464
  }
464
465
  export interface MemberVerification {
465
466
  id: string;
@@ -4,8 +4,8 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
4
4
  [key: string]: import("tailwind-variants").ClassValue | {
5
5
  pattern?: import("tailwind-variants").ClassValue;
6
6
  root?: import("tailwind-variants").ClassValue;
7
- frame?: import("tailwind-variants").ClassValue;
8
7
  overlay?: import("tailwind-variants").ClassValue;
8
+ frame?: import("tailwind-variants").ClassValue;
9
9
  downloadTrigger?: import("tailwind-variants").ClassValue;
10
10
  };
11
11
  };
@@ -14,29 +14,29 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
14
14
  [x: string]: import("tailwind-variants").ClassValue | {
15
15
  pattern?: import("tailwind-variants").ClassValue;
16
16
  root?: import("tailwind-variants").ClassValue;
17
- frame?: import("tailwind-variants").ClassValue;
18
17
  overlay?: import("tailwind-variants").ClassValue;
18
+ frame?: import("tailwind-variants").ClassValue;
19
19
  downloadTrigger?: import("tailwind-variants").ClassValue;
20
20
  };
21
21
  };
22
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
22
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
23
23
  [key: string]: {
24
24
  [key: string]: import("tailwind-variants").ClassValue | {
25
25
  pattern?: import("tailwind-variants").ClassValue;
26
26
  root?: import("tailwind-variants").ClassValue;
27
- frame?: import("tailwind-variants").ClassValue;
28
27
  overlay?: import("tailwind-variants").ClassValue;
28
+ frame?: import("tailwind-variants").ClassValue;
29
29
  downloadTrigger?: import("tailwind-variants").ClassValue;
30
30
  };
31
31
  };
32
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
32
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
33
33
  export declare const DownloadTrigger: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.DownloadTriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
34
34
  [key: string]: {
35
35
  [key: string]: import("tailwind-variants").ClassValue | {
36
36
  pattern?: import("tailwind-variants").ClassValue;
37
37
  root?: import("tailwind-variants").ClassValue;
38
- frame?: import("tailwind-variants").ClassValue;
39
38
  overlay?: import("tailwind-variants").ClassValue;
39
+ frame?: import("tailwind-variants").ClassValue;
40
40
  downloadTrigger?: import("tailwind-variants").ClassValue;
41
41
  };
42
42
  };
@@ -45,29 +45,29 @@ export declare const DownloadTrigger: import("react").ComponentType<import("@ark
45
45
  [x: string]: import("tailwind-variants").ClassValue | {
46
46
  pattern?: import("tailwind-variants").ClassValue;
47
47
  root?: import("tailwind-variants").ClassValue;
48
- frame?: import("tailwind-variants").ClassValue;
49
48
  overlay?: import("tailwind-variants").ClassValue;
49
+ frame?: import("tailwind-variants").ClassValue;
50
50
  downloadTrigger?: import("tailwind-variants").ClassValue;
51
51
  };
52
52
  };
53
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
53
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
54
54
  [key: string]: {
55
55
  [key: string]: import("tailwind-variants").ClassValue | {
56
56
  pattern?: import("tailwind-variants").ClassValue;
57
57
  root?: import("tailwind-variants").ClassValue;
58
- frame?: import("tailwind-variants").ClassValue;
59
58
  overlay?: import("tailwind-variants").ClassValue;
59
+ frame?: import("tailwind-variants").ClassValue;
60
60
  downloadTrigger?: import("tailwind-variants").ClassValue;
61
61
  };
62
62
  };
63
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
63
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
64
64
  export declare const Frame: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.FrameProps & import("react").RefAttributes<SVGSVGElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
65
65
  [key: string]: {
66
66
  [key: string]: import("tailwind-variants").ClassValue | {
67
67
  pattern?: import("tailwind-variants").ClassValue;
68
68
  root?: import("tailwind-variants").ClassValue;
69
- frame?: import("tailwind-variants").ClassValue;
70
69
  overlay?: import("tailwind-variants").ClassValue;
70
+ frame?: import("tailwind-variants").ClassValue;
71
71
  downloadTrigger?: import("tailwind-variants").ClassValue;
72
72
  };
73
73
  };
@@ -76,29 +76,29 @@ export declare const Frame: import("react").ComponentType<import("@ark-ui/react"
76
76
  [x: string]: import("tailwind-variants").ClassValue | {
77
77
  pattern?: import("tailwind-variants").ClassValue;
78
78
  root?: import("tailwind-variants").ClassValue;
79
- frame?: import("tailwind-variants").ClassValue;
80
79
  overlay?: import("tailwind-variants").ClassValue;
80
+ frame?: import("tailwind-variants").ClassValue;
81
81
  downloadTrigger?: import("tailwind-variants").ClassValue;
82
82
  };
83
83
  };
84
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
84
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
85
85
  [key: string]: {
86
86
  [key: string]: import("tailwind-variants").ClassValue | {
87
87
  pattern?: import("tailwind-variants").ClassValue;
88
88
  root?: import("tailwind-variants").ClassValue;
89
- frame?: import("tailwind-variants").ClassValue;
90
89
  overlay?: import("tailwind-variants").ClassValue;
90
+ frame?: import("tailwind-variants").ClassValue;
91
91
  downloadTrigger?: import("tailwind-variants").ClassValue;
92
92
  };
93
93
  };
94
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
94
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
95
95
  export declare const Overlay: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.OverlayProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
96
96
  [key: string]: {
97
97
  [key: string]: import("tailwind-variants").ClassValue | {
98
98
  pattern?: import("tailwind-variants").ClassValue;
99
99
  root?: import("tailwind-variants").ClassValue;
100
- frame?: import("tailwind-variants").ClassValue;
101
100
  overlay?: import("tailwind-variants").ClassValue;
101
+ frame?: import("tailwind-variants").ClassValue;
102
102
  downloadTrigger?: import("tailwind-variants").ClassValue;
103
103
  };
104
104
  };
@@ -107,29 +107,29 @@ export declare const Overlay: import("react").ComponentType<import("@ark-ui/reac
107
107
  [x: string]: import("tailwind-variants").ClassValue | {
108
108
  pattern?: import("tailwind-variants").ClassValue;
109
109
  root?: import("tailwind-variants").ClassValue;
110
- frame?: import("tailwind-variants").ClassValue;
111
110
  overlay?: import("tailwind-variants").ClassValue;
111
+ frame?: import("tailwind-variants").ClassValue;
112
112
  downloadTrigger?: import("tailwind-variants").ClassValue;
113
113
  };
114
114
  };
115
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
115
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
116
116
  [key: string]: {
117
117
  [key: string]: import("tailwind-variants").ClassValue | {
118
118
  pattern?: import("tailwind-variants").ClassValue;
119
119
  root?: import("tailwind-variants").ClassValue;
120
- frame?: import("tailwind-variants").ClassValue;
121
120
  overlay?: import("tailwind-variants").ClassValue;
121
+ frame?: import("tailwind-variants").ClassValue;
122
122
  downloadTrigger?: import("tailwind-variants").ClassValue;
123
123
  };
124
124
  };
125
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
125
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
126
126
  export declare const Pattern: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.PatternProps & import("react").RefAttributes<SVGPathElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
127
127
  [key: string]: {
128
128
  [key: string]: import("tailwind-variants").ClassValue | {
129
129
  pattern?: import("tailwind-variants").ClassValue;
130
130
  root?: import("tailwind-variants").ClassValue;
131
- frame?: import("tailwind-variants").ClassValue;
132
131
  overlay?: import("tailwind-variants").ClassValue;
132
+ frame?: import("tailwind-variants").ClassValue;
133
133
  downloadTrigger?: import("tailwind-variants").ClassValue;
134
134
  };
135
135
  };
@@ -138,20 +138,20 @@ export declare const Pattern: import("react").ComponentType<import("@ark-ui/reac
138
138
  [x: string]: import("tailwind-variants").ClassValue | {
139
139
  pattern?: import("tailwind-variants").ClassValue;
140
140
  root?: import("tailwind-variants").ClassValue;
141
- frame?: import("tailwind-variants").ClassValue;
142
141
  overlay?: import("tailwind-variants").ClassValue;
142
+ frame?: import("tailwind-variants").ClassValue;
143
143
  downloadTrigger?: import("tailwind-variants").ClassValue;
144
144
  };
145
145
  };
146
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
146
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
147
147
  [key: string]: {
148
148
  [key: string]: import("tailwind-variants").ClassValue | {
149
149
  pattern?: import("tailwind-variants").ClassValue;
150
150
  root?: import("tailwind-variants").ClassValue;
151
- frame?: import("tailwind-variants").ClassValue;
152
151
  overlay?: import("tailwind-variants").ClassValue;
152
+ frame?: import("tailwind-variants").ClassValue;
153
153
  downloadTrigger?: import("tailwind-variants").ClassValue;
154
154
  };
155
155
  };
156
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
156
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
157
157
  export declare const Context: (props: QrCode.ContextProps) => import("react").ReactNode;
@@ -3,8 +3,8 @@ export declare const qrCodeRecipe: import("tailwind-variants").TVReturnType<{
3
3
  [key: string]: import("tailwind-variants").ClassValue | {
4
4
  pattern?: import("tailwind-variants").ClassValue;
5
5
  root?: import("tailwind-variants").ClassValue;
6
- frame?: import("tailwind-variants").ClassValue;
7
6
  overlay?: import("tailwind-variants").ClassValue;
7
+ frame?: import("tailwind-variants").ClassValue;
8
8
  downloadTrigger?: import("tailwind-variants").ClassValue;
9
9
  };
10
10
  };
@@ -13,19 +13,19 @@ export declare const qrCodeRecipe: import("tailwind-variants").TVReturnType<{
13
13
  [x: string]: import("tailwind-variants").ClassValue | {
14
14
  pattern?: import("tailwind-variants").ClassValue;
15
15
  root?: import("tailwind-variants").ClassValue;
16
- frame?: import("tailwind-variants").ClassValue;
17
16
  overlay?: import("tailwind-variants").ClassValue;
17
+ frame?: import("tailwind-variants").ClassValue;
18
18
  downloadTrigger?: import("tailwind-variants").ClassValue;
19
19
  };
20
20
  };
21
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
21
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
22
22
  [key: string]: {
23
23
  [key: string]: import("tailwind-variants").ClassValue | {
24
24
  pattern?: import("tailwind-variants").ClassValue;
25
25
  root?: import("tailwind-variants").ClassValue;
26
- frame?: import("tailwind-variants").ClassValue;
27
26
  overlay?: import("tailwind-variants").ClassValue;
27
+ frame?: import("tailwind-variants").ClassValue;
28
28
  downloadTrigger?: import("tailwind-variants").ClassValue;
29
29
  };
30
30
  };
31
- } | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>;
31
+ } | {}, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -40,3 +40,4 @@ export declare const getResetPasswordMutationKey: () => MutationKey;
40
40
  export declare const getUpdateSessionMutationKey: () => MutationKey;
41
41
  export declare const getUnlinkGoogleMutationKey: () => MutationKey;
42
42
  export declare const getGenerateSumsubVerificationTokenMutationKey: () => MutationKey;
43
+ export declare const getUnlinkFacebookMutationKey: () => MutationKey;
@@ -148,3 +148,7 @@ export const getUnlinkGoogleMutationKey = () => [
148
148
  'unlinkGoogle',
149
149
  ];
150
150
  export const getGenerateSumsubVerificationTokenMutationKey = () => [PARENT_KEY, 'generateSumsubVerificationToken'];
151
+ export const getUnlinkFacebookMutationKey = () => [
152
+ PARENT_KEY,
153
+ 'unlinkFacebook',
154
+ ];
@@ -47,3 +47,4 @@ export declare const getFileQueryKey: (id: string) => QueryKey;
47
47
  export declare const getSiteQueryKey: () => QueryKey;
48
48
  export declare const getSessionHealthQueryKey: () => QueryKey;
49
49
  export declare const getGoogleClientIdQueryKey: () => QueryKey;
50
+ export declare const getFacebookClientIdQueryKey: () => QueryKey;
@@ -44,3 +44,4 @@ export const getFileQueryKey = (id) => [PARENT_KEY, 'file', id].filter(Boolean);
44
44
  export const getSiteQueryKey = () => [PARENT_KEY, 'site', SITE_ID].filter(Boolean);
45
45
  export const getSessionHealthQueryKey = () => [PARENT_KEY, 'sessionHealth'].filter(Boolean);
46
46
  export const getGoogleClientIdQueryKey = () => [PARENT_KEY, 'googleClientId'].filter(Boolean);
47
+ export const getFacebookClientIdQueryKey = () => [PARENT_KEY, 'facebookClientId'].filter(Boolean);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.360",
3
+ "version": "0.0.362",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",
@@ -78,6 +78,7 @@
78
78
  "dependencies": {
79
79
  "@ark-ui/react": "^5.16.0",
80
80
  "@date-fns/tz": "^1.2.0",
81
+ "@greatsumini/react-facebook-login": "^3.4.0",
81
82
  "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
82
83
  "@next/third-parties": "^15.4.1",
83
84
  "@react-oauth/google": "^0.12.2",