@opexa/portal-components 0.0.927 → 0.0.929
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/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Confirmed.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Confirmed.js +11 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Failed.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Failed.js +11 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Form.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Form.js +126 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/GeneratingQrCode.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/GeneratingQrCode.js +10 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDeposit.js +12 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDepositContext.d.ts +17 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDepositContext.js +2 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QrCodeGenerated.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QrCodeGenerated.js +41 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/useQRPHDeposit.d.ts +13 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/useQRPHDeposit.js +91 -0
- package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
- package/dist/components/DigitainLauncher/Loading.js +1 -1
- package/dist/components/Disclaimer/DisclaimerV2.js +4 -9
- package/dist/components/Disclaimer/ResponsibleGaming.d.ts +10 -0
- package/dist/components/Disclaimer/ResponsibleGaming.js +13 -0
- package/dist/components/Disclaimer/TermsOfUse.d.ts +11 -0
- package/dist/components/Disclaimer/TermsOfUse.js +13 -0
- package/dist/components/FeatureFlag/FeatureFlag.d.ts +1 -0
- package/dist/components/FeatureFlag/FeatureFlag.js +29 -0
- package/dist/components/FeatureFlag/index.d.ts +1 -0
- package/dist/components/FeatureFlag/index.js +1 -0
- package/dist/components/ForgotPassword/Crazywin/ForgotPassword.module.css +42 -42
- package/dist/components/Jackpots/Jackpots.module.css +288 -288
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/KYC/AutoOpen.d.ts +1 -0
- package/dist/components/KYC/AutoOpen.js +40 -0
- package/dist/components/KYC/BasicInformation.js +1 -1
- package/dist/components/KYC/CaptureIdDocument.d.ts +1 -0
- package/dist/components/KYC/CaptureIdDocument.js +219 -0
- package/dist/components/KYC/CaptureSelfie.d.ts +1 -0
- package/dist/components/KYC/CaptureSelfie.js +285 -0
- package/dist/components/KYC/DisplayImage.d.ts +5 -0
- package/dist/components/KYC/DisplayImage.js +8 -0
- package/dist/components/KYC/FileUpload.d.ts +10 -0
- package/dist/components/KYC/FileUpload.js +72 -0
- package/dist/components/KYC/IdentityVerification.js +1 -1
- package/dist/components/KYC/KYC.lazy.js +1 -1
- package/dist/components/KYC/KYCDefault/KYCVerificationStatus.lazy.js +2 -2
- package/dist/components/KYC/KYCNonPagCor/KYCVerificationStatus.lazy.js +2 -2
- package/dist/components/KYC/KYCVerificationStatus.lazy.js +8 -5
- package/dist/components/KYC/NoCameraError.d.ts +7 -0
- package/dist/components/KYC/NoCameraError.js +6 -0
- package/dist/components/KYC/PersonOverlayDesktop.d.ts +7 -0
- package/dist/components/KYC/PersonOverlayDesktop.js +9 -0
- package/dist/components/KYC/PersonalInformation.js +1 -1
- package/dist/components/KYC/backup/Header.d.ts +1 -0
- package/dist/components/KYC/backup/Header.js +8 -0
- package/dist/components/KYC/backup/Indicator.d.ts +1 -0
- package/dist/components/KYC/backup/Indicator.js +9 -0
- package/dist/components/KYC/backup/KYC.d.ts +1 -0
- package/dist/components/KYC/backup/KYC.js +14 -0
- package/dist/components/KYC/backup/KYC.lazy.d.ts +1 -0
- package/dist/components/KYC/backup/KYC.lazy.js +26 -0
- package/dist/components/KYC/backup/KYCContext.d.ts +6 -0
- package/dist/components/KYC/backup/KYCContext.js +2 -0
- package/dist/components/KYC/backup/Step1.d.ts +1 -0
- package/dist/components/KYC/backup/Step1.js +13 -0
- package/dist/components/KYC/backup/Step2.d.ts +1 -0
- package/dist/components/KYC/backup/Step2.js +13 -0
- package/dist/components/KYC/backup/Step3.d.ts +1 -0
- package/dist/components/KYC/backup/Step3.js +13 -0
- package/dist/components/KYC/backup/Step4.d.ts +1 -0
- package/dist/components/KYC/backup/Step4.js +7 -0
- package/dist/components/KYC/backup/useKYC.d.ts +10 -0
- package/dist/components/KYC/backup/useKYC.js +8 -0
- package/dist/components/KYC/loadModels.d.ts +1 -0
- package/dist/components/KYC/loadModels.js +9 -0
- package/dist/components/KYC/utils.d.ts +9 -0
- package/dist/components/KYC/utils.js +79 -0
- package/dist/components/Messages/Message.d.ts +1 -0
- package/dist/components/Messages/Message.js +35 -0
- package/dist/components/Messages/MessageContext.d.ts +6 -0
- package/dist/components/Messages/MessageContext.js +2 -0
- package/dist/components/Messages/MessagePopup.d.ts +1 -0
- package/dist/components/Messages/MessagePopup.js +20 -0
- package/dist/components/Messages/MessageTrigger.d.ts +8 -0
- package/dist/components/Messages/MessageTrigger.js +19 -0
- package/dist/components/PortalProvider/CXDTokenObserver.js +11 -11
- package/dist/components/Quests/CountdownTimer.d.ts +15 -0
- package/dist/components/Quests/CountdownTimer.js +33 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +4 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +78 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +9 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +4 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +4 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +4 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.js +20 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +9 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +9 -0
- package/dist/components/SignUp/SignUp.lazy.d.ts +12 -0
- package/dist/components/SignUp/SignUp.lazy.js +18 -0
- package/dist/components/SignUp/SignUpContext.d.ts +6 -0
- package/dist/components/SignUp/SignUpContext.js +2 -0
- package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +17 -0
- package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +18 -0
- package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +6 -0
- package/dist/components/SignUp/SignUpDefault/SignUpContext.js +2 -0
- package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +1 -0
- package/dist/components/SignUp/SignUpDefault/SignUpForm.js +310 -0
- package/dist/components/SignUp/SignUpForm.d.ts +1 -0
- package/dist/components/SignUp/SignUpForm.js +284 -0
- package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +198 -0
- package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +251 -0
- package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +10 -0
- package/dist/components/SignUp/SignUpKYC/ImageUploader.js +42 -0
- package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +7 -0
- package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +9 -0
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +464 -0
- package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +11 -0
- package/dist/components/SignUp/SignUpKYC/useImageUploader.js +20 -0
- package/dist/components/SignUp/SignUpKYC/utils.d.ts +9 -0
- package/dist/components/SignUp/SignUpKYC/utils.js +79 -0
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/components/shared/IdDocumentField.client.d.ts +25 -0
- package/dist/components/shared/IdDocumentField.client.js +204 -0
- package/dist/components/shared/IdDocumentField.d.ts +2 -0
- package/dist/components/shared/IdDocumentField.js +11 -0
- package/dist/components/shared/SelfieField.client.d.ts +20 -0
- package/dist/components/shared/SelfieField.client.js +327 -0
- package/dist/components/shared/SelfieField.d.ts +2 -0
- package/dist/components/shared/SelfieField.js +11 -0
- package/dist/constants/BranchCode.d.ts +4 -0
- package/dist/constants/BranchCode.js +42 -0
- package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
- package/dist/handlers/postTransformIdFrontImage.js +67 -0
- package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
- package/dist/handlers/postTransformSelfieImage.js +71 -0
- package/dist/handlers.d.ts +43 -0
- package/dist/handlers.js +297 -0
- package/dist/icons/BellRingIcon.d.ts +2 -0
- package/dist/icons/BellRingIcon.js +4 -0
- package/dist/images/phone-icon.svg +10 -10
- package/dist/services/queries.js +3369 -3369
- package/dist/styles/theme.css +776 -776
- 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 +1 -1
- package/dist/utils/dataUrlToBlob.d.ts +1 -0
- package/dist/utils/dataUrlToBlob.js +11 -0
- package/dist/utils/gamesAvailable3pmTo3am.d.ts +1 -0
- package/dist/utils/gamesAvailable3pmTo3am.js +1 -0
- package/dist/utils/getGameName.d.ts +1 -0
- package/dist/utils/getGameName.js +6 -0
- package/dist/utils/isBetween3amAnd3pm.d.ts +1 -0
- package/dist/utils/isBetween3amAnd3pm.js +5 -0
- package/dist/utils/resizeImageSize.d.ts +2 -0
- package/dist/utils/resizeImageSize.js +11 -0
- package/package.json +179 -179
- package/dist/components/Banner/Banner.client.d.ts +0 -12
- package/dist/components/Banner/Banner.client.js +0 -49
- package/dist/components/PortalProvider/AndroidOnlyComponents.d.ts +0 -1
- package/dist/components/PortalProvider/AndroidOnlyComponents.js +0 -12
package/package.json
CHANGED
|
@@ -1,179 +1,179 @@
|
|
|
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/index.d.ts",
|
|
19
|
-
"default": "./dist/handlers/index.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",
|
|
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
|
-
"release": "release-it"
|
|
77
|
-
},
|
|
78
|
-
"dependencies": {
|
|
79
|
-
"@ark-ui/react": "^5.16.0",
|
|
80
|
-
"@capacitor/android": "^7.4.3",
|
|
81
|
-
"@capacitor/app": "^7.0.2",
|
|
82
|
-
"@capacitor/camera": "^7.0.2",
|
|
83
|
-
"@capacitor/cli": "^7.4.3",
|
|
84
|
-
"@capacitor/core": "^7.4.3",
|
|
85
|
-
"@capacitor/file-transfer": "^1.0.5",
|
|
86
|
-
"@capacitor/filesystem": "^7.1.4",
|
|
87
|
-
"@capacitor/push-notifications": "^7.0.2",
|
|
88
|
-
"@capacitor/splash-screen": "^7.0.2",
|
|
89
|
-
"@date-fns/tz": "^1.2.0",
|
|
90
|
-
"@greatsumini/react-facebook-login": "^3.4.0",
|
|
91
|
-
"@mediapipe/tasks-vision": "0.10.22-rc.20250304",
|
|
92
|
-
"@next/bundle-analyzer": "^16.0.10",
|
|
93
|
-
"@next/third-parties": "^15.4.1",
|
|
94
|
-
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
95
|
-
"@react-oauth/google": "^0.12.2",
|
|
96
|
-
"@sumsub/websdk": "^2.3.18",
|
|
97
|
-
"@sumsub/websdk-react": "^2.3.18",
|
|
98
|
-
"@tailwindcss/typography": "^0.5.16",
|
|
99
|
-
"capacitor-native-biometric": "^4.2.2",
|
|
100
|
-
"capacitor-plugin-safe-area": "^4.0.0",
|
|
101
|
-
"date-fns": "^4.1.0",
|
|
102
|
-
"debug": "^4.4.3",
|
|
103
|
-
"embla-carousel-autoplay": "^8.6.0",
|
|
104
|
-
"embla-carousel-react": "^8.6.0",
|
|
105
|
-
"is-mobile": "^5.0.0",
|
|
106
|
-
"latest": "^0.2.0",
|
|
107
|
-
"lodash-es": "^4.17.21",
|
|
108
|
-
"mixpanel-browser": "^2.71.0",
|
|
109
|
-
"next-recaptcha-v3": "^1.5.2",
|
|
110
|
-
"qrcode": "^1.5.4",
|
|
111
|
-
"tailwind-merge": "^3.3.1",
|
|
112
|
-
"tailwind-variants": "^1.0.0",
|
|
113
|
-
"tailwind-zag": "^1.0.2",
|
|
114
|
-
"tiny-invariant": "^1.3.3",
|
|
115
|
-
"type-fest": "^4.41.0",
|
|
116
|
-
"usehooks-ts": "^3.1.1",
|
|
117
|
-
"zustand": "^5.0.6"
|
|
118
|
-
},
|
|
119
|
-
"devDependencies": {
|
|
120
|
-
"@hookform/resolvers": "5.1.1",
|
|
121
|
-
"@opexa/object-id": "0.1.6",
|
|
122
|
-
"@tailwindcss/postcss": "4",
|
|
123
|
-
"@tanstack/react-query": "5.83.0",
|
|
124
|
-
"@tanstack/react-query-devtools": "5.83.0",
|
|
125
|
-
"@total-typescript/ts-reset": "0.6.1",
|
|
126
|
-
"@types/lodash-es": "4.17.12",
|
|
127
|
-
"@types/node": "24",
|
|
128
|
-
"@types/qrcode": "^1.5.5",
|
|
129
|
-
"@types/react": "19.1.8",
|
|
130
|
-
"@types/react-dom": "19.1.6",
|
|
131
|
-
"copy-files-from-to": "3.12.1",
|
|
132
|
-
"next": "15.4.2-canary.0",
|
|
133
|
-
"react": "19.1.0",
|
|
134
|
-
"react-dom": "19.1.0",
|
|
135
|
-
"react-hook-form": "7.60.0",
|
|
136
|
-
"release-it": "19.1.0",
|
|
137
|
-
"tailwindcss": "4.1.11",
|
|
138
|
-
"tsc-alias": "1.8.16",
|
|
139
|
-
"typescript": "5",
|
|
140
|
-
"zod": "4.0.5"
|
|
141
|
-
},
|
|
142
|
-
"peerDependencies": {
|
|
143
|
-
"@hookform/resolvers": "^4.0.0 || ^5.0.0",
|
|
144
|
-
"@opexa/object-id": "^0.1.0",
|
|
145
|
-
"@tanstack/react-query": "^5.0.0",
|
|
146
|
-
"next": "^15.4.0-canary.1",
|
|
147
|
-
"react": "^19.0.0",
|
|
148
|
-
"react-dom": "^19.0.0",
|
|
149
|
-
"react-hook-form": "^7.0.0",
|
|
150
|
-
"tailwindcss": "^4.0.0",
|
|
151
|
-
"zod": "^3.0.0"
|
|
152
|
-
},
|
|
153
|
-
"release-it": {
|
|
154
|
-
"git": {
|
|
155
|
-
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
156
|
-
"tagName": "${npm.name}@${version}"
|
|
157
|
-
},
|
|
158
|
-
"github": {
|
|
159
|
-
"release": false
|
|
160
|
-
},
|
|
161
|
-
"hooks": {
|
|
162
|
-
"after:bump": [
|
|
163
|
-
"pnpm build"
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"copyFiles": [
|
|
168
|
-
{
|
|
169
|
-
"from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json,webp}",
|
|
170
|
-
"to": "dist/",
|
|
171
|
-
"toFlat": false
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"copyFilesSettings": {
|
|
175
|
-
"whenFileExists": "overwrite",
|
|
176
|
-
"removeSourceMappingURL": true,
|
|
177
|
-
"ignoreDotFilesAndFolders": false
|
|
178
|
-
}
|
|
179
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@opexa/portal-components",
|
|
3
|
+
"version": "0.0.929",
|
|
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/index.d.ts",
|
|
19
|
+
"default": "./dist/handlers/index.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",
|
|
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
|
+
"release": "release-it"
|
|
77
|
+
},
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"@ark-ui/react": "^5.16.0",
|
|
80
|
+
"@capacitor/android": "^7.4.3",
|
|
81
|
+
"@capacitor/app": "^7.0.2",
|
|
82
|
+
"@capacitor/camera": "^7.0.2",
|
|
83
|
+
"@capacitor/cli": "^7.4.3",
|
|
84
|
+
"@capacitor/core": "^7.4.3",
|
|
85
|
+
"@capacitor/file-transfer": "^1.0.5",
|
|
86
|
+
"@capacitor/filesystem": "^7.1.4",
|
|
87
|
+
"@capacitor/push-notifications": "^7.0.2",
|
|
88
|
+
"@capacitor/splash-screen": "^7.0.2",
|
|
89
|
+
"@date-fns/tz": "^1.2.0",
|
|
90
|
+
"@greatsumini/react-facebook-login": "^3.4.0",
|
|
91
|
+
"@mediapipe/tasks-vision": "0.10.22-rc.20250304",
|
|
92
|
+
"@next/bundle-analyzer": "^16.0.10",
|
|
93
|
+
"@next/third-parties": "^15.4.1",
|
|
94
|
+
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
95
|
+
"@react-oauth/google": "^0.12.2",
|
|
96
|
+
"@sumsub/websdk": "^2.3.18",
|
|
97
|
+
"@sumsub/websdk-react": "^2.3.18",
|
|
98
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
99
|
+
"capacitor-native-biometric": "^4.2.2",
|
|
100
|
+
"capacitor-plugin-safe-area": "^4.0.0",
|
|
101
|
+
"date-fns": "^4.1.0",
|
|
102
|
+
"debug": "^4.4.3",
|
|
103
|
+
"embla-carousel-autoplay": "^8.6.0",
|
|
104
|
+
"embla-carousel-react": "^8.6.0",
|
|
105
|
+
"is-mobile": "^5.0.0",
|
|
106
|
+
"latest": "^0.2.0",
|
|
107
|
+
"lodash-es": "^4.17.21",
|
|
108
|
+
"mixpanel-browser": "^2.71.0",
|
|
109
|
+
"next-recaptcha-v3": "^1.5.2",
|
|
110
|
+
"qrcode": "^1.5.4",
|
|
111
|
+
"tailwind-merge": "^3.3.1",
|
|
112
|
+
"tailwind-variants": "^1.0.0",
|
|
113
|
+
"tailwind-zag": "^1.0.2",
|
|
114
|
+
"tiny-invariant": "^1.3.3",
|
|
115
|
+
"type-fest": "^4.41.0",
|
|
116
|
+
"usehooks-ts": "^3.1.1",
|
|
117
|
+
"zustand": "^5.0.6"
|
|
118
|
+
},
|
|
119
|
+
"devDependencies": {
|
|
120
|
+
"@hookform/resolvers": "5.1.1",
|
|
121
|
+
"@opexa/object-id": "0.1.6",
|
|
122
|
+
"@tailwindcss/postcss": "4",
|
|
123
|
+
"@tanstack/react-query": "5.83.0",
|
|
124
|
+
"@tanstack/react-query-devtools": "5.83.0",
|
|
125
|
+
"@total-typescript/ts-reset": "0.6.1",
|
|
126
|
+
"@types/lodash-es": "4.17.12",
|
|
127
|
+
"@types/node": "24",
|
|
128
|
+
"@types/qrcode": "^1.5.5",
|
|
129
|
+
"@types/react": "19.1.8",
|
|
130
|
+
"@types/react-dom": "19.1.6",
|
|
131
|
+
"copy-files-from-to": "3.12.1",
|
|
132
|
+
"next": "15.4.2-canary.0",
|
|
133
|
+
"react": "19.1.0",
|
|
134
|
+
"react-dom": "19.1.0",
|
|
135
|
+
"react-hook-form": "7.60.0",
|
|
136
|
+
"release-it": "19.1.0",
|
|
137
|
+
"tailwindcss": "4.1.11",
|
|
138
|
+
"tsc-alias": "1.8.16",
|
|
139
|
+
"typescript": "5",
|
|
140
|
+
"zod": "4.0.5"
|
|
141
|
+
},
|
|
142
|
+
"peerDependencies": {
|
|
143
|
+
"@hookform/resolvers": "^4.0.0 || ^5.0.0",
|
|
144
|
+
"@opexa/object-id": "^0.1.0",
|
|
145
|
+
"@tanstack/react-query": "^5.0.0",
|
|
146
|
+
"next": "^15.4.0-canary.1",
|
|
147
|
+
"react": "^19.0.0",
|
|
148
|
+
"react-dom": "^19.0.0",
|
|
149
|
+
"react-hook-form": "^7.0.0",
|
|
150
|
+
"tailwindcss": "^4.0.0",
|
|
151
|
+
"zod": "^3.0.0"
|
|
152
|
+
},
|
|
153
|
+
"release-it": {
|
|
154
|
+
"git": {
|
|
155
|
+
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
156
|
+
"tagName": "${npm.name}@${version}"
|
|
157
|
+
},
|
|
158
|
+
"github": {
|
|
159
|
+
"release": false
|
|
160
|
+
},
|
|
161
|
+
"hooks": {
|
|
162
|
+
"after:bump": [
|
|
163
|
+
"pnpm build"
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"copyFiles": [
|
|
168
|
+
{
|
|
169
|
+
"from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json,webp}",
|
|
170
|
+
"to": "dist/",
|
|
171
|
+
"toFlat": false
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"copyFilesSettings": {
|
|
175
|
+
"whenFileExists": "overwrite",
|
|
176
|
+
"removeSourceMappingURL": true,
|
|
177
|
+
"ignoreDotFilesAndFolders": false
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ImageProps } from 'next/image';
|
|
2
|
-
export interface BannerEntry {
|
|
3
|
-
src: ImageProps['src'];
|
|
4
|
-
redirectUrl?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface BannerProps {
|
|
7
|
-
banners: BannerEntry[];
|
|
8
|
-
imageWidth?: number | [mobile: number, desktop: number];
|
|
9
|
-
imageHeight?: number | [mobile: number, desktop: number];
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function Banner__client(props: BannerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import emblaCarouselAutoplay from 'embla-carousel-autoplay';
|
|
4
|
-
import useEmblaCarousel, {} from 'embla-carousel-react';
|
|
5
|
-
import isMobile from 'is-mobile';
|
|
6
|
-
import Image from 'next/image';
|
|
7
|
-
import Link from 'next/link';
|
|
8
|
-
import { Fragment, useEffect, useState } from 'react';
|
|
9
|
-
import { twMerge } from 'tailwind-merge';
|
|
10
|
-
import { dataAttr } from '../../utils/dataAttr.js';
|
|
11
|
-
export function Banner__client(props) {
|
|
12
|
-
const [emblaRef, emblaApi] = useEmblaCarousel({
|
|
13
|
-
loop: true,
|
|
14
|
-
align: 'start',
|
|
15
|
-
}, [
|
|
16
|
-
emblaCarouselAutoplay({
|
|
17
|
-
playOnInit: true,
|
|
18
|
-
delay: 5000,
|
|
19
|
-
}),
|
|
20
|
-
]);
|
|
21
|
-
const [currentIndex, setCurrentIndex] = useState(0);
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
function handler(detail) {
|
|
24
|
-
setCurrentIndex(detail?.selectedScrollSnap() ?? 0);
|
|
25
|
-
}
|
|
26
|
-
emblaApi?.on('scroll', handler);
|
|
27
|
-
emblaApi?.on('init', handler);
|
|
28
|
-
return () => {
|
|
29
|
-
emblaApi?.on('init', handler);
|
|
30
|
-
emblaApi?.off('scroll', handler);
|
|
31
|
-
};
|
|
32
|
-
}, [emblaApi]);
|
|
33
|
-
const imageWidth = !props.imageWidth
|
|
34
|
-
? [400, 1200]
|
|
35
|
-
: Array.isArray(props.imageWidth)
|
|
36
|
-
? props.imageWidth
|
|
37
|
-
: [props.imageWidth, props.imageWidth];
|
|
38
|
-
const imageHeight = !props.imageHeight
|
|
39
|
-
? [225, 300]
|
|
40
|
-
: Array.isArray(props.imageHeight)
|
|
41
|
-
? props.imageHeight
|
|
42
|
-
: [props.imageHeight, props.imageHeight];
|
|
43
|
-
return (_jsxs("div", { className: twMerge('relative', props.className), children: [_jsx("div", { ref: emblaRef, className: "overflow-hidden", children: _jsx("div", { className: "flex gap-2", children: props.banners.map((banner, index) => {
|
|
44
|
-
const img = (_jsx(Image, { src: banner.src, alt: "", width: isMobile() ? imageWidth[0] : imageWidth[1], height: isMobile() ? imageHeight[0] : imageHeight[1], className: "block h-auto w-full", priority: index === 0 }));
|
|
45
|
-
return (_jsx(Fragment, { children: !banner.redirectUrl ? (_jsx("div", { className: "w-full shrink-0", children: img })) : (_jsx(Link, { href: banner.redirectUrl, className: "block w-full shrink-0", "aria-label": `Open ${banner.redirectUrl}`, children: img })) }, index));
|
|
46
|
-
}) }) }), _jsx("div", { className: "absolute bottom-lg left-1/2 flex w-fit -translate-x-1/2 gap-2", children: props.banners.map((_, index) => (_jsx("button", { type: "button", className: "ui-active:bg-brand-500 bg-gray-300 size-3 shrink-0 rounded-full border border-white transition-all duration-300 ui-active:w-9", onClick: () => {
|
|
47
|
-
emblaApi?.scrollTo(index);
|
|
48
|
-
}, "aria-label": `Go to slide ${index + 1}`, "data-active": dataAttr(index === currentIndex) }, index))) })] }));
|
|
49
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function AndroidOnlyComponents(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|