@opexa/portal-components 0.0.721 → 0.0.723

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 (88) hide show
  1. package/dist/components/Banner/Banner.client.d.ts +12 -0
  2. package/dist/components/Banner/Banner.client.js +49 -0
  3. package/dist/components/DepositWithdrawal/Deposit/AiOGCashDeposit/AiOGCashDeposit.js +1 -0
  4. package/dist/components/DepositWithdrawal/Deposit/AiOGrabPayDeposit/AiOGrabPayDeposit.js +1 -0
  5. package/dist/components/DepositWithdrawal/Deposit/AiOPalawanPayDeposit/AiOPalawanPayDeposit.js +1 -0
  6. package/dist/components/DepositWithdrawal/Deposit/AiOPayMayaDeposit/AiOPayMayaDeposit.js +4 -1
  7. package/dist/components/DigitainLauncher/Loading.d.ts +1 -0
  8. package/dist/components/DigitainLauncher/Loading.js +5 -0
  9. package/dist/components/KYC/BasicInformation.d.ts +1 -0
  10. package/dist/components/KYC/BasicInformation.js +101 -0
  11. package/dist/components/KYC/IdentityVerification.d.ts +1 -0
  12. package/dist/components/KYC/IdentityVerification.js +120 -0
  13. package/dist/components/KYC/Indicator.d.ts +1 -0
  14. package/dist/components/KYC/Indicator.js +8 -0
  15. package/dist/components/KYC/KYC.lazy.d.ts +6 -0
  16. package/dist/components/KYC/KYC.lazy.js +45 -0
  17. package/dist/components/KYC/KYCContext.d.ts +6 -0
  18. package/dist/components/KYC/KYCContext.js +2 -0
  19. package/dist/components/KYC/KYCVerificationStatus.lazy.js +7 -4
  20. package/dist/components/KYC/PersonalInformation.d.ts +1 -0
  21. package/dist/components/KYC/PersonalInformation.js +122 -0
  22. package/dist/components/KYC/useKYC.d.ts +25 -0
  23. package/dist/components/KYC/useKYC.js +38 -0
  24. package/dist/components/PortalProvider/AndroidOnlyComponents.d.ts +1 -0
  25. package/dist/components/PortalProvider/AndroidOnlyComponents.js +12 -0
  26. package/dist/components/PortalProvider/CXDTokenObserver.d.ts +1 -0
  27. package/dist/components/PortalProvider/CXDTokenObserver.js +30 -0
  28. package/dist/components/PortalProvider/PushNotifications.js +10 -2
  29. package/dist/components/SignIn/MobileNumberSignIn.js +23 -8
  30. package/dist/components/SignIn/NameAndPasswordSignIn.js +43 -16
  31. package/dist/components/SignIn/utils.d.ts +8 -0
  32. package/dist/components/SignIn/utils.js +26 -0
  33. package/dist/constants/Branches.d.ts +2 -0
  34. package/dist/constants/Branches.js +42 -0
  35. package/dist/images/responsible-gaming-yellow.png +0 -0
  36. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +4 -0
  37. package/dist/third-parties/FacebookPixel/FacebookPixel.js +4 -0
  38. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  39. package/dist/third-parties/FacebookPixel/api.js +1 -0
  40. package/dist/third-parties/FacebookPixel/index.d.ts +1 -0
  41. package/dist/third-parties/FacebookPixel/index.js +1 -0
  42. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +4 -0
  43. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +4 -0
  44. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  45. package/dist/third-parties/GoogleRecaptcha/api.js +1 -0
  46. package/dist/third-parties/GoogleRecaptcha/index.d.ts +1 -0
  47. package/dist/third-parties/GoogleRecaptcha/index.js +1 -0
  48. package/dist/third-parties/index.d.ts +2 -0
  49. package/dist/third-parties/index.js +2 -0
  50. package/dist/ui/Badge/Badge.d.ts +12 -12
  51. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  52. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  53. package/dist/ui/Carousel/Carousel.d.ts +72 -72
  54. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  55. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  56. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  57. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  58. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  59. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  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/Field/Field.d.ts +21 -21
  66. package/dist/ui/Field/field.recipe.d.ts +3 -3
  67. package/dist/ui/Menu/Menu.d.ts +144 -144
  68. package/dist/ui/Menu/menu.recipe.d.ts +8 -8
  69. package/dist/ui/NumberInput/NumberInput.d.ts +24 -24
  70. package/dist/ui/NumberInput/numberInput.recipe.d.ts +3 -3
  71. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  72. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  73. package/dist/ui/PinInput/PinInput.d.ts +12 -12
  74. package/dist/ui/PinInput/pinInput.recipe.d.ts +3 -3
  75. package/dist/ui/Progress/Progress.d.ts +27 -27
  76. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  77. package/dist/ui/QrCode/QrCode.d.ts +40 -40
  78. package/dist/ui/QrCode/qrCode.recipe.d.ts +8 -8
  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/package.json +1 -1
@@ -0,0 +1,38 @@
1
+ import { useRef, useState } from 'react';
2
+ export function useKYC() {
3
+ const [step, setStep] = useState(2);
4
+ const [done, setDone] = useState(false);
5
+ const [idFrontImageId, setFrontImageId] = useState(null);
6
+ const [selfieImageId, setSelfieImageId] = useState(null);
7
+ const subscribers = useRef([]);
8
+ const subscribe = (subscriber) => {
9
+ subscribers.current.push(subscriber);
10
+ return () => {
11
+ subscribers.current = subscribers.current.filter((item) => item !== subscriber);
12
+ };
13
+ };
14
+ const triggerEvent = (detail) => {
15
+ subscribers.current.forEach((subscriber) => {
16
+ subscriber(detail);
17
+ });
18
+ };
19
+ const reset = () => {
20
+ setStep(1);
21
+ setDone(false);
22
+ setFrontImageId(null);
23
+ setSelfieImageId(null);
24
+ };
25
+ return {
26
+ step,
27
+ setStep,
28
+ done,
29
+ setDone,
30
+ idFrontImageId,
31
+ setFrontImageId,
32
+ selfieImageId,
33
+ setSelfieImageId,
34
+ subscribe,
35
+ triggerEvent,
36
+ reset,
37
+ };
38
+ }
@@ -0,0 +1 @@
1
+ export declare function AndroidOnlyComponents(): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,12 @@
1
+ 'use client';
2
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Capacitor } from '@capacitor/core';
4
+ import { AndroidRoutingHandler } from './AndroidRoutingHandler.js';
5
+ import PushNotification from './PushNotifications.js';
6
+ export function AndroidOnlyComponents() {
7
+ const platform = Capacitor.getPlatform();
8
+ const isNative = platform === 'android' || platform === 'ios';
9
+ if (!isNative)
10
+ return null;
11
+ return (_jsxs(_Fragment, { children: [_jsx(PushNotification, {}), _jsx(AndroidRoutingHandler, {})] }));
12
+ }
@@ -0,0 +1 @@
1
+ export declare function CXDTokenObserver(): null;
@@ -0,0 +1,30 @@
1
+ 'use client';
2
+ import { addHours } from 'date-fns';
3
+ import { clamp } from 'lodash-es';
4
+ import { useLocalStorage, useTimeout } from 'usehooks-ts';
5
+ import { useAccountQuery } from '../../client/hooks/useAccountQuery.js';
6
+ export function CXDTokenObserver() {
7
+ const { data: account } = useAccountQuery();
8
+ const accountCxd = {
9
+ cxd: account?.cellxpertDetails?.cxd,
10
+ };
11
+ const [cxd, setCxd, removeCxd] = useLocalStorage('cxd', null);
12
+ const now = new Date();
13
+ const removeCxdUntilInMs = cxd?.timestamp
14
+ ? clamp(cxd.timestamp - now.getTime(), 0, Infinity)
15
+ : 0;
16
+ useTimeout(() => {
17
+ const isSame = cxd?.cxd === accountCxd.cxd;
18
+ if (!isSame) {
19
+ const extendedTimestamp = addHours(new Date(), 6).getTime();
20
+ setCxd({
21
+ cxd: accountCxd.cxd,
22
+ timestamp: extendedTimestamp,
23
+ });
24
+ }
25
+ }, account ? 100 : null);
26
+ useTimeout(() => {
27
+ removeCxd();
28
+ }, account ? removeCxdUntilInMs : null);
29
+ return null;
30
+ }
@@ -7,6 +7,8 @@ import { useSessionQuery } from '../../client/hooks/useSessionQuery.js';
7
7
  import { registerFCMDevice } from '../../services/trigger.js';
8
8
  export const LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY = 'push-notication-token';
9
9
  export const PushNotification = () => {
10
+ console.log('remove listeners on each render to avoid duplicates');
11
+ PushNotifications.removeAllListeners();
10
12
  const session = useSessionQuery();
11
13
  useEffect(() => {
12
14
  const platform = Capacitor.getPlatform();
@@ -29,8 +31,11 @@ export const PushNotification = () => {
29
31
  console.log('App resumed - checking push notification permissions');
30
32
  });
31
33
  PushNotifications.addListener('registration', async ({ value }) => {
32
- console.info('✅ Push registration success');
33
- console.info('Token:', value);
34
+ const pushToken = localStorage.getItem(LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY);
35
+ if (pushToken === value) {
36
+ console.log('Push token already registered, skipping re-registration.');
37
+ return;
38
+ }
34
39
  localStorage.setItem(LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY, value);
35
40
  if (session.data?.status === 'authenticated') {
36
41
  await registerFCMDevice({
@@ -55,6 +60,9 @@ export const PushNotification = () => {
55
60
  console.info('🚀 Push action performed');
56
61
  console.info(JSON.stringify(notification));
57
62
  });
63
+ return () => {
64
+ PushNotifications.removeAllListeners();
65
+ };
58
66
  }, [session.data?.status, session.data?.token]);
59
67
  return null;
60
68
  };
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Capacitor } from '@capacitor/core';
2
3
  import { zodResolver } from '@hookform/resolvers/zod';
3
4
  import dynamic from 'next/dynamic';
4
5
  import Image from 'next/image';
@@ -22,11 +23,12 @@ import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.js';
22
23
  import { CheckIcon } from '../../icons/CheckIcon.js';
23
24
  import pagcorLogo from '../../images/pagcor-round-icon.png';
24
25
  import responsibleGamingLogo from '../../images/responsible-gaming-gold.png';
25
- import { unregisterFCMDevice } from '../../services/trigger.js';
26
+ import { registerFCMDevice, unregisterFCMDevice } from '../../services/trigger.js';
26
27
  import { Button } from '../../ui/Button/index.js';
27
28
  import { Checkbox } from '../../ui/Checkbox/index.js';
28
29
  import { Field } from '../../ui/Field/index.js';
29
30
  import { PinInput } from '../../ui/PinInput/index.js';
31
+ import { LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY } from '../PortalProvider/PushNotifications.js';
30
32
  import { FacebookSignInTrigger } from './FacebookSignInTrigger.js';
31
33
  import { useSignInContext, useSignInPropsContext } from './SignInContext.js';
32
34
  const GoogleSignInButton = dynamic(() => import('./GoogleSignInTrigger.js').then((m) => m.GoogleSignInTrigger), {
@@ -56,13 +58,26 @@ export function MobileNumberSignIn() {
56
58
  globalStore.signIn.setOpen(false);
57
59
  const session = await getSession();
58
60
  invariant(session.status === 'authenticated');
59
- await unregisterFCMDevice({
60
- type: ['IOS', 'ANDROID'],
61
- }, {
62
- headers: {
63
- Authorization: `Bearer ${session.token}`,
64
- },
65
- });
61
+ if (Capacitor.isNativePlatform()) {
62
+ const pushToken = localStorage.getItem(LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY);
63
+ await unregisterFCMDevice({
64
+ type: ['IOS', 'ANDROID'],
65
+ }, {
66
+ headers: {
67
+ Authorization: `Bearer ${session.token}`,
68
+ },
69
+ });
70
+ if (pushToken) {
71
+ await registerFCMDevice({
72
+ type: Capacitor.getPlatform() === 'android' ? 'ANDROID' : 'IOS',
73
+ token: pushToken,
74
+ }, {
75
+ headers: {
76
+ Authorization: `Bearer ${session.token}`,
77
+ },
78
+ });
79
+ }
80
+ }
66
81
  if (signInProps.shouldShowResponsibleGamingReminder) {
67
82
  globalStore.responsibleGamingReminder.setOpen(true);
68
83
  }
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { useDialogContext } from '@ark-ui/react/dialog';
3
+ import { Capacitor } from '@capacitor/core';
3
4
  import { zodResolver } from '@hookform/resolvers/zod';
4
5
  import dynamic from 'next/dynamic';
5
6
  import Image from 'next/image';
@@ -21,11 +22,12 @@ import { EyeIcon } from '../../icons/EyeIcon.js';
21
22
  import { EyeOffIcon } from '../../icons/EyeOffIcon.js';
22
23
  import pagcorLogo from '../../images/pagcor-round-icon.png';
23
24
  import responsibleGamingLogo from '../../images/responsible-gaming-gold.png';
24
- import { unregisterFCMDevice } from '../../services/trigger.js';
25
+ import { registerFCMDevice, unregisterFCMDevice } from '../../services/trigger.js';
25
26
  import { Button } from '../../ui/Button/index.js';
26
27
  import { Checkbox } from '../../ui/Checkbox/index.js';
27
28
  import { Field } from '../../ui/Field/index.js';
28
29
  import { PasswordInput } from '../../ui/PasswordInput/index.js';
30
+ import { LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY } from '../PortalProvider/PushNotifications.js';
29
31
  import { FacebookSignInTrigger } from './FacebookSignInTrigger.js';
30
32
  import { useSignInContext, useSignInPropsContext } from './SignInContext.js';
31
33
  const GoogleSignInButton = dynamic(() => import('./GoogleSignInTrigger.js').then((m) => m.GoogleSignInTrigger), {
@@ -56,13 +58,26 @@ export function NameAndPasswordSignIn() {
56
58
  else {
57
59
  const session = await getSession();
58
60
  invariant(session.status === 'authenticated');
59
- await unregisterFCMDevice({
60
- type: ['IOS', 'ANDROID'],
61
- }, {
62
- headers: {
63
- Authorization: `Bearer ${session.token}`,
64
- },
65
- });
61
+ if (Capacitor.isNativePlatform()) {
62
+ const pushToken = localStorage.getItem(LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY);
63
+ await unregisterFCMDevice({
64
+ type: ['IOS', 'ANDROID'],
65
+ }, {
66
+ headers: {
67
+ Authorization: `Bearer ${session.token}`,
68
+ },
69
+ });
70
+ if (pushToken) {
71
+ await registerFCMDevice({
72
+ type: Capacitor.getPlatform() === 'android' ? 'ANDROID' : 'IOS',
73
+ token: pushToken,
74
+ }, {
75
+ headers: {
76
+ Authorization: `Bearer ${session.token}`,
77
+ },
78
+ });
79
+ }
80
+ }
66
81
  if (!hasSavedBiometry()) {
67
82
  globalStore.registerBiometrics.setOpen(true);
68
83
  }
@@ -95,20 +110,32 @@ export function NameAndPasswordSignIn() {
95
110
  form.reset();
96
111
  const session = await getSession();
97
112
  invariant(session.status === 'authenticated');
98
- await unregisterFCMDevice({
99
- type: ['IOS', 'ANDROID'],
100
- }, {
101
- headers: {
102
- Authorization: `Bearer ${session.token}`,
103
- },
104
- });
113
+ if (Capacitor.isNativePlatform()) {
114
+ const pushToken = localStorage.getItem(LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY);
115
+ await unregisterFCMDevice({
116
+ type: ['IOS', 'ANDROID'],
117
+ }, {
118
+ headers: {
119
+ Authorization: `Bearer ${session.token}`,
120
+ },
121
+ });
122
+ if (pushToken) {
123
+ await registerFCMDevice({
124
+ type: Capacitor.getPlatform() === 'android' ? 'ANDROID' : 'IOS',
125
+ token: pushToken,
126
+ }, {
127
+ headers: {
128
+ Authorization: `Bearer ${session.token}`,
129
+ },
130
+ });
131
+ }
132
+ }
105
133
  if (signInProps.shouldShowResponsibleGamingReminder) {
106
134
  globalStore.responsibleGamingReminder.setOpen(true);
107
135
  }
108
136
  if (signInProps.shouldShowDisclaimer) {
109
137
  globalStore.disclaimer.setOpen(true);
110
138
  }
111
- console.log('hasSavedBiometry', hasSavedBiometry());
112
139
  if (!hasSavedBiometry()) {
113
140
  globalStore.registerBiometrics.setOpen(true);
114
141
  }
@@ -0,0 +1,8 @@
1
+ type Options = {
2
+ accountName?: string;
3
+ siteName?: string;
4
+ signInOptions?: 'MOBILE_NUMBER' | 'NAME_AND_PASSWORD';
5
+ };
6
+ export type ErrorCode = 'MEMBER_ACCOUNT_BLACKLISTED' | 'MEMBER_ACCOUNT_SUSPENDED' | 'INVALID_RECAPTCHA_RESPONSE' | 'MEMBER_NOT_FOUND' | 'RATE_LIMIT_REACH' | 'NOT_READY_TO_SEND_VERIFICATION_ERROR' | 'Forbidden';
7
+ export declare function getFriendlyErrorMessage(code: ErrorCode, options?: Options): string;
8
+ export {};
@@ -0,0 +1,26 @@
1
+ export function getFriendlyErrorMessage(code, options) {
2
+ const accountName = options?.accountName ?? '';
3
+ const siteName = options?.siteName ?? '';
4
+ const signInOptions = options?.signInOptions ?? 'NAME_AND_PASSWORD';
5
+ switch (code) {
6
+ case 'MEMBER_ACCOUNT_BLACKLISTED':
7
+ return `Your account ${accountName} has been blacklisted due to a serious violation of our policies. For more information or to appeal, please contact the ${siteName} Chat Support team.`;
8
+ case 'MEMBER_ACCOUNT_SUSPENDED':
9
+ return `Your account ${accountName} has been temporarily suspended. Please reach out to the ${siteName} Chat Support team to learn more and get help with resolving the issue.`;
10
+ case 'INVALID_RECAPTCHA_RESPONSE':
11
+ return 'Invalid reCAPTCHA response';
12
+ case 'MEMBER_NOT_FOUND':
13
+ return 'Account not found. Please check your username and try again.';
14
+ case 'RATE_LIMIT_REACH':
15
+ return 'Rate limit exceeded';
16
+ case 'NOT_READY_TO_SEND_VERIFICATION_ERROR':
17
+ return 'Your account is not ready to send verification requests. Please try again later.';
18
+ case 'Forbidden':
19
+ if (signInOptions === 'MOBILE_NUMBER') {
20
+ return 'Invalid verification code. Please check the code and try again.';
21
+ }
22
+ return 'Invalid username or password, please try again.';
23
+ default:
24
+ return 'Something went wrong. Please try again later.';
25
+ }
26
+ }
@@ -0,0 +1,2 @@
1
+ import type { Branch } from '../types';
2
+ export declare const BRANCHES: Branch[];
@@ -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
+ ];
@@ -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';
@@ -37,7 +37,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
37
37
  root: string;
38
38
  };
39
39
  };
40
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
40
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, {
41
41
  size: {
42
42
  md: {
43
43
  root: string;
@@ -72,7 +72,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
72
72
  root: string;
73
73
  };
74
74
  };
75
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
75
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
76
76
  size: {
77
77
  md: {
78
78
  root: string;
@@ -107,7 +107,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
107
107
  root: string;
108
108
  };
109
109
  };
110
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
110
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
111
111
  interface BadgeLabelProps extends ComponentPropsWithRef<'span'> {
112
112
  asChild?: boolean;
113
113
  }
@@ -146,7 +146,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
146
146
  root: string;
147
147
  };
148
148
  };
149
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
149
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, {
150
150
  size: {
151
151
  md: {
152
152
  root: string;
@@ -181,7 +181,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
181
181
  root: string;
182
182
  };
183
183
  };
184
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
184
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
185
185
  size: {
186
186
  md: {
187
187
  root: string;
@@ -216,7 +216,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
216
216
  root: string;
217
217
  };
218
218
  };
219
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
219
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
220
220
  interface BadgeIndicatorProps extends ComponentPropsWithRef<'svg'> {
221
221
  asChild?: boolean;
222
222
  }
@@ -255,7 +255,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
255
255
  root: string;
256
256
  };
257
257
  };
258
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
258
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, {
259
259
  size: {
260
260
  md: {
261
261
  root: string;
@@ -290,7 +290,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
290
290
  root: string;
291
291
  };
292
292
  };
293
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
293
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
294
294
  size: {
295
295
  md: {
296
296
  root: string;
@@ -325,7 +325,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
325
325
  root: string;
326
326
  };
327
327
  };
328
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
328
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
329
329
  interface BadgeIconProps extends ComponentPropsWithRef<'svg'> {
330
330
  asChild?: boolean;
331
331
  }
@@ -364,7 +364,7 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
364
364
  root: string;
365
365
  };
366
366
  };
367
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
367
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, {
368
368
  size: {
369
369
  md: {
370
370
  root: string;
@@ -399,7 +399,7 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
399
399
  root: string;
400
400
  };
401
401
  };
402
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
402
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
403
403
  size: {
404
404
  md: {
405
405
  root: string;
@@ -434,5 +434,5 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
434
434
  root: string;
435
435
  };
436
436
  };
437
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
437
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
438
438
  export {};
@@ -1 +1 @@
1
- export declare const badgeAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"label" | "root" | "indicator" | "icon">;
1
+ export declare const badgeAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"root" | "label" | "indicator" | "icon">;
@@ -33,7 +33,7 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
33
33
  root: string;
34
34
  };
35
35
  };
36
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
36
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, {
37
37
  size: {
38
38
  md: {
39
39
  root: string;
@@ -68,7 +68,7 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
68
68
  root: string;
69
69
  };
70
70
  };
71
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
71
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
72
72
  size: {
73
73
  md: {
74
74
  root: string;
@@ -103,4 +103,4 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
103
103
  root: string;
104
104
  };
105
105
  };
106
- }, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>;
106
+ }, Record<"root" | "label" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>;