@opexa/portal-components 0.0.243 → 0.0.245
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/client/hooks/useCamera.js +13 -4
- package/dist/client/hooks/useFeatureFlag.d.ts +2 -5
- package/dist/client/hooks/useFeatureFlag.js +29 -36
- package/dist/client/hooks/useInfiniteQueryHelper.js +1 -1
- package/dist/components/Account/Account.lazy.js +6 -3
- package/dist/components/AccountInfo/AccountInfo.js +1 -1
- package/dist/components/AccountVerification/AccountVerification.js +5 -2
- package/dist/components/Banner/Banner.js +2 -1
- package/dist/components/BetRecords/BetRecords.client.d.ts +4 -0
- package/dist/components/BetRecords/BetRecords.client.js +2 -2
- package/dist/components/Bonuses/Bonuses.client.js +13 -8
- package/dist/components/GameLaunch/GameLaunchTrigger.js +7 -0
- package/dist/components/GameProviders/GameProvidersCarousel.js +2 -2
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/KYC/utils.js +18 -18
- package/dist/components/PortalProvider/FeatureFlag.js +14 -6
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- 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 +1 -24
- package/dist/components/shared/IdDocumentField.js +7 -201
- 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 +1 -20
- package/dist/components/shared/SelfieField.js +7 -315
- package/dist/services/queries.d.ts +1 -1
- package/dist/services/queries.js +2528 -2527
- package/dist/styles/theme.css +694 -694
- package/dist/types/index.d.ts +6 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
- package/dist/ui/Combobox/Combobox.d.ts +42 -42
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
- package/dist/ui/Dialog/Dialog.d.ts +88 -88
- package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Field/Field.d.ts +21 -21
- package/dist/ui/Field/field.recipe.d.ts +3 -3
- package/dist/ui/Popover/Popover.d.ts +55 -55
- package/dist/ui/Popover/popover.recipe.d.ts +5 -5
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/utils/gamesAvailable3pmTo3am.d.ts +1 -0
- package/dist/utils/gamesAvailable3pmTo3am.js +1 -0
- package/dist/utils/getGameImageUrl.js +4 -6
- package/dist/utils/isBetween3amAnd3pm.d.ts +1 -0
- package/dist/utils/isBetween3amAnd3pm.js +5 -0
- package/package.json +165 -165
- package/dist/components/FeatureFlag/FeatureFlag.d.ts +0 -1
- package/dist/components/FeatureFlag/FeatureFlag.js +0 -29
- package/dist/components/FeatureFlag/index.d.ts +0 -1
- package/dist/components/FeatureFlag/index.js +0 -1
- package/dist/components/KYC/AutoOpen.d.ts +0 -1
- package/dist/components/KYC/AutoOpen.js +0 -40
- package/dist/components/KYC/backup/Header.d.ts +0 -1
- package/dist/components/KYC/backup/Header.js +0 -8
- package/dist/components/KYC/backup/Indicator.d.ts +0 -1
- package/dist/components/KYC/backup/Indicator.js +0 -9
- package/dist/components/KYC/backup/KYC.d.ts +0 -1
- package/dist/components/KYC/backup/KYC.js +0 -14
- package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
- package/dist/components/KYC/backup/KYC.lazy.js +0 -26
- package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
- package/dist/components/KYC/backup/KYCContext.js +0 -2
- package/dist/components/KYC/backup/Step1.d.ts +0 -1
- package/dist/components/KYC/backup/Step1.js +0 -13
- package/dist/components/KYC/backup/Step2.d.ts +0 -1
- package/dist/components/KYC/backup/Step2.js +0 -13
- package/dist/components/KYC/backup/Step3.d.ts +0 -1
- package/dist/components/KYC/backup/Step3.js +0 -13
- package/dist/components/KYC/backup/Step4.d.ts +0 -1
- package/dist/components/KYC/backup/Step4.js +0 -7
- package/dist/components/KYC/backup/useKYC.d.ts +0 -10
- package/dist/components/KYC/backup/useKYC.js +0 -8
- package/dist/components/KYC/loadModels.d.ts +0 -1
- package/dist/components/KYC/loadModels.js +0 -9
- package/dist/components/Messages/Message.d.ts +0 -1
- package/dist/components/Messages/Message.js +0 -35
- package/dist/components/Messages/MessageContext.d.ts +0 -6
- package/dist/components/Messages/MessageContext.js +0 -2
- package/dist/components/Messages/MessagePopup.d.ts +0 -1
- package/dist/components/Messages/MessagePopup.js +0 -20
- package/dist/components/Messages/MessageTrigger.d.ts +0 -8
- package/dist/components/Messages/MessageTrigger.js +0 -19
- package/dist/components/Quests/CountdownTimer.d.ts +0 -15
- package/dist/components/Quests/CountdownTimer.js +0 -33
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
- package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
- package/dist/components/SignUp/SignUp.lazy.d.ts +0 -12
- package/dist/components/SignUp/SignUp.lazy.js +0 -18
- package/dist/components/SignUp/SignUpContext.d.ts +0 -6
- package/dist/components/SignUp/SignUpContext.js +0 -2
- package/dist/components/SignUp/SignUpForm.d.ts +0 -1
- package/dist/components/SignUp/SignUpForm.js +0 -284
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +0 -198
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +0 -251
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +0 -10
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +0 -41
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +0 -429
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +0 -13
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +0 -26
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +0 -7
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +0 -2
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +0 -11
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +0 -20
- package/dist/constants/BranchCode.d.ts +0 -4
- package/dist/constants/BranchCode.js +0 -42
- package/dist/icons/BellRingIcon.d.ts +0 -2
- package/dist/icons/BellRingIcon.js +0 -4
- package/dist/utils/dataUrlToBlob.d.ts +0 -1
- package/dist/utils/dataUrlToBlob.js +0 -11
- package/dist/utils/resizeImageSize.d.ts +0 -2
- package/dist/utils/resizeImageSize.js +0 -11
package/package.json
CHANGED
|
@@ -1,165 +1,165 @@
|
|
|
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.d.ts",
|
|
19
|
-
"default": "./dist/handlers.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
|
-
"lint": "next lint",
|
|
77
|
-
"release": "release-it"
|
|
78
|
-
},
|
|
79
|
-
"dependencies": {
|
|
80
|
-
"@ark-ui/react": "^5.
|
|
81
|
-
"@date-fns/tz": "^1.2.0",
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"date-fns": "^4.1.0",
|
|
86
|
-
"embla-carousel-autoplay": "^8.6.0",
|
|
87
|
-
"embla-carousel-react": "^8.6.0",
|
|
88
|
-
"face-api.js": "^0.22.2",
|
|
89
|
-
"is-mobile": "^5.0.0",
|
|
90
|
-
"lodash-es": "^4.17.21",
|
|
91
|
-
"react-image-file-resizer": "^0.4.8",
|
|
92
|
-
"tailwind-merge": "^3.3.1",
|
|
93
|
-
"tailwind-variants": "^1.0.0",
|
|
94
|
-
"tailwind-zag": "^1.0.2",
|
|
95
|
-
"tiny-invariant": "^1.3.3",
|
|
96
|
-
"type-fest": "^4.41.0",
|
|
97
|
-
"usehooks-ts": "^3.1.1",
|
|
98
|
-
"zustand": "^5.0.
|
|
99
|
-
},
|
|
100
|
-
"devDependencies": {
|
|
101
|
-
"@eslint/eslintrc": "3",
|
|
102
|
-
"@hookform/resolvers": "5.1.1",
|
|
103
|
-
"@opexa/object-id": "0.1.6",
|
|
104
|
-
"@tailwindcss/postcss": "4",
|
|
105
|
-
"@tanstack/react-query": "5.81.
|
|
106
|
-
"@tanstack/react-query-devtools": "5.81.
|
|
107
|
-
"@total-typescript/ts-reset": "0.6.1",
|
|
108
|
-
"@types/lodash-es": "4.17.12",
|
|
109
|
-
"@types/node": "24",
|
|
110
|
-
"@types/react": "19",
|
|
111
|
-
"@types/react-dom": "19",
|
|
112
|
-
"copy-files-from-to": "3.12.1",
|
|
113
|
-
"eslint": "9",
|
|
114
|
-
"eslint-config-next": "15.3.4",
|
|
115
|
-
"next": "15.4.0-canary.61",
|
|
116
|
-
"react": "19.1.0",
|
|
117
|
-
"react-dom": "19.1.0",
|
|
118
|
-
"react-hook-form": "7.
|
|
119
|
-
"release-it": "19.0.3",
|
|
120
|
-
"tailwindcss": "4.1.
|
|
121
|
-
"tsc-alias": "1.8.16",
|
|
122
|
-
"typescript": "5",
|
|
123
|
-
"zod": "3.25.
|
|
124
|
-
},
|
|
125
|
-
"peerDependencies": {
|
|
126
|
-
"@hookform/resolvers": "^4.0.0 || ^5.0.0",
|
|
127
|
-
"@opexa/object-id": "^0.1.0",
|
|
128
|
-
"@tanstack/react-query": "^5.0.0",
|
|
129
|
-
"next": "^15.4.0-canary.1",
|
|
130
|
-
"react": "^19.0.0",
|
|
131
|
-
"react-dom": "^19.0.0",
|
|
132
|
-
"react-hook-form": "^7.0.0",
|
|
133
|
-
"tailwindcss": "^4.0.0",
|
|
134
|
-
"zod": "^3.0.0"
|
|
135
|
-
},
|
|
136
|
-
"release-it": {
|
|
137
|
-
"git": {
|
|
138
|
-
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
139
|
-
"tagName": "${npm.name}@${version}"
|
|
140
|
-
},
|
|
141
|
-
"github": {
|
|
142
|
-
"release": false
|
|
143
|
-
},
|
|
144
|
-
"hooks": {
|
|
145
|
-
"before:bump": [
|
|
146
|
-
"pnpm lint"
|
|
147
|
-
],
|
|
148
|
-
"after:bump": [
|
|
149
|
-
"pnpm build"
|
|
150
|
-
]
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"copyFiles": [
|
|
154
|
-
{
|
|
155
|
-
"from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
|
|
156
|
-
"to": "dist/",
|
|
157
|
-
"toFlat": false
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
"copyFilesSettings": {
|
|
161
|
-
"whenFileExists": "overwrite",
|
|
162
|
-
"removeSourceMappingURL": true,
|
|
163
|
-
"ignoreDotFilesAndFolders": false
|
|
164
|
-
}
|
|
165
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@opexa/portal-components",
|
|
3
|
+
"version": "0.0.245",
|
|
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.d.ts",
|
|
19
|
+
"default": "./dist/handlers.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
|
+
"lint": "next lint",
|
|
77
|
+
"release": "release-it"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@ark-ui/react": "^5.16.0",
|
|
81
|
+
"@date-fns/tz": "^1.2.0",
|
|
82
|
+
"@mediapipe/tasks-vision": "0.10.22-rc.20250304",
|
|
83
|
+
"@next/third-parties": "^15.3.4",
|
|
84
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
85
|
+
"date-fns": "^4.1.0",
|
|
86
|
+
"embla-carousel-autoplay": "^8.6.0",
|
|
87
|
+
"embla-carousel-react": "^8.6.0",
|
|
88
|
+
"face-api.js": "^0.22.2",
|
|
89
|
+
"is-mobile": "^5.0.0",
|
|
90
|
+
"lodash-es": "^4.17.21",
|
|
91
|
+
"react-image-file-resizer": "^0.4.8",
|
|
92
|
+
"tailwind-merge": "^3.3.1",
|
|
93
|
+
"tailwind-variants": "^1.0.0",
|
|
94
|
+
"tailwind-zag": "^1.0.2",
|
|
95
|
+
"tiny-invariant": "^1.3.3",
|
|
96
|
+
"type-fest": "^4.41.0",
|
|
97
|
+
"usehooks-ts": "^3.1.1",
|
|
98
|
+
"zustand": "^5.0.6"
|
|
99
|
+
},
|
|
100
|
+
"devDependencies": {
|
|
101
|
+
"@eslint/eslintrc": "3",
|
|
102
|
+
"@hookform/resolvers": "5.1.1",
|
|
103
|
+
"@opexa/object-id": "0.1.6",
|
|
104
|
+
"@tailwindcss/postcss": "4",
|
|
105
|
+
"@tanstack/react-query": "5.81.5",
|
|
106
|
+
"@tanstack/react-query-devtools": "5.81.5",
|
|
107
|
+
"@total-typescript/ts-reset": "0.6.1",
|
|
108
|
+
"@types/lodash-es": "4.17.12",
|
|
109
|
+
"@types/node": "24",
|
|
110
|
+
"@types/react": "19",
|
|
111
|
+
"@types/react-dom": "19",
|
|
112
|
+
"copy-files-from-to": "3.12.1",
|
|
113
|
+
"eslint": "9",
|
|
114
|
+
"eslint-config-next": "15.3.4",
|
|
115
|
+
"next": "15.4.0-canary.61",
|
|
116
|
+
"react": "19.1.0",
|
|
117
|
+
"react-dom": "19.1.0",
|
|
118
|
+
"react-hook-form": "7.59.0",
|
|
119
|
+
"release-it": "19.0.3",
|
|
120
|
+
"tailwindcss": "4.1.11",
|
|
121
|
+
"tsc-alias": "1.8.16",
|
|
122
|
+
"typescript": "5",
|
|
123
|
+
"zod": "3.25.71"
|
|
124
|
+
},
|
|
125
|
+
"peerDependencies": {
|
|
126
|
+
"@hookform/resolvers": "^4.0.0 || ^5.0.0",
|
|
127
|
+
"@opexa/object-id": "^0.1.0",
|
|
128
|
+
"@tanstack/react-query": "^5.0.0",
|
|
129
|
+
"next": "^15.4.0-canary.1",
|
|
130
|
+
"react": "^19.0.0",
|
|
131
|
+
"react-dom": "^19.0.0",
|
|
132
|
+
"react-hook-form": "^7.0.0",
|
|
133
|
+
"tailwindcss": "^4.0.0",
|
|
134
|
+
"zod": "^3.0.0"
|
|
135
|
+
},
|
|
136
|
+
"release-it": {
|
|
137
|
+
"git": {
|
|
138
|
+
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
139
|
+
"tagName": "${npm.name}@${version}"
|
|
140
|
+
},
|
|
141
|
+
"github": {
|
|
142
|
+
"release": false
|
|
143
|
+
},
|
|
144
|
+
"hooks": {
|
|
145
|
+
"before:bump": [
|
|
146
|
+
"pnpm lint"
|
|
147
|
+
],
|
|
148
|
+
"after:bump": [
|
|
149
|
+
"pnpm build"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"copyFiles": [
|
|
154
|
+
{
|
|
155
|
+
"from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
|
|
156
|
+
"to": "dist/",
|
|
157
|
+
"toFlat": false
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"copyFilesSettings": {
|
|
161
|
+
"whenFileExists": "overwrite",
|
|
162
|
+
"removeSourceMappingURL": true,
|
|
163
|
+
"ignoreDotFilesAndFolders": false
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function FeatureFlag(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useRouter, useSearchParams } from 'next/navigation';
|
|
4
|
-
import { useEffect } from 'react';
|
|
5
|
-
import { FEATURE_FLAG_KEY, useFeatureFlag, } from '../../client/hooks/useFeatureFlag.js';
|
|
6
|
-
export function FeatureFlag() {
|
|
7
|
-
const { featureFlagEnabled, setFeatureFlagEnabled } = useFeatureFlag();
|
|
8
|
-
const searchParams = useSearchParams();
|
|
9
|
-
const router = useRouter();
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
const futureFlagParam = searchParams.get('future');
|
|
12
|
-
if (futureFlagParam !== null) {
|
|
13
|
-
const isEnabled = futureFlagParam === 'true';
|
|
14
|
-
setFeatureFlagEnabled(isEnabled);
|
|
15
|
-
localStorage.setItem(FEATURE_FLAG_KEY, isEnabled.toString());
|
|
16
|
-
}
|
|
17
|
-
}, [searchParams, setFeatureFlagEnabled]);
|
|
18
|
-
function disableFeatureFlag() {
|
|
19
|
-
setFeatureFlagEnabled(false);
|
|
20
|
-
localStorage.removeItem(FEATURE_FLAG_KEY);
|
|
21
|
-
const params = new URLSearchParams(searchParams.toString());
|
|
22
|
-
params.delete('future');
|
|
23
|
-
router.replace(`?${params.toString()}`, { scroll: false });
|
|
24
|
-
}
|
|
25
|
-
if (!featureFlagEnabled) {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
return (_jsx("div", { className: "fixed bottom-3 flex w-full flex-col items-center justify-center", children: _jsxs("div", { className: "bg-black/70 p-1", children: ["Experimental features are enabled.", ' ', _jsxs("button", { onClick: () => disableFeatureFlag(), className: "cursor-pointer underline", children: [' ', "Disable"] })] }) }));
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FeatureFlag';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FeatureFlag.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function AutoOpen(): null;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
|
-
import { useShallow } from 'zustand/shallow';
|
|
3
|
-
import { useAccountQuery } from '../../client/hooks/useAccountQuery.js';
|
|
4
|
-
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
5
|
-
import { useMemberVerificationQuery } from '../../client/hooks/useMemberVerificationQuery.js';
|
|
6
|
-
import { useSessionQuery } from '../../client/hooks/useSessionQuery.js';
|
|
7
|
-
import { KYC_PROMPT_LOCALSTORAGE_KEY } from '../../constants/index.js';
|
|
8
|
-
export function AutoOpen() {
|
|
9
|
-
const kycStore = useGlobalStore(useShallow((ctx) => ctx.kyc));
|
|
10
|
-
const { data: session } = useSessionQuery();
|
|
11
|
-
const { data: account } = useAccountQuery();
|
|
12
|
-
const { data: verification } = useMemberVerificationQuery();
|
|
13
|
-
const isBasicInfoCompleted = account?.realName !== null && account?.birthDay !== null;
|
|
14
|
-
const isUploadCompleted = verification &&
|
|
15
|
-
verification.idFrontImage !== null &&
|
|
16
|
-
verification.selfieImage !== null;
|
|
17
|
-
const isRejected = Boolean(verification?.status === 'REJECTED');
|
|
18
|
-
const step = !isBasicInfoCompleted
|
|
19
|
-
? 1
|
|
20
|
-
: isRejected
|
|
21
|
-
? 2
|
|
22
|
-
: isUploadCompleted
|
|
23
|
-
? 3
|
|
24
|
-
: 2;
|
|
25
|
-
const shouldOpen = !isBasicInfoCompleted || !isUploadCompleted || isRejected;
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
if (session?.status == 'authenticated' &&
|
|
28
|
-
shouldOpen &&
|
|
29
|
-
localStorage.getItem(KYC_PROMPT_LOCALSTORAGE_KEY) === null) {
|
|
30
|
-
kycStore.setKycReminder(true);
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
}, [kycStore, session?.status, shouldOpen]);
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
if (step) {
|
|
36
|
-
kycStore.setStep(step);
|
|
37
|
-
}
|
|
38
|
-
}, [kycStore, step]);
|
|
39
|
-
return null;
|
|
40
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Header(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ChevronLeftIcon } from '../../../icons/ChevronLeftIcon.js';
|
|
3
|
-
import { XIcon } from '../../../icons/XIcon.js';
|
|
4
|
-
import { Dialog } from '../../../ui/Dialog/index.js';
|
|
5
|
-
import { IconButton } from '../../../ui/IconButton/index.js';
|
|
6
|
-
export function Header() {
|
|
7
|
-
return (_jsx(Dialog.Context, { children: (api) => (_jsxs("div", { className: "bg-bg-primary-alt relative flex items-center gap-xl px-xl py-md lg:justify-center lg:bg-transparent lg:p-0", children: [_jsx(IconButton, { size: "2xs", variant: "outline", colorScheme: "gray", className: "lg:hidden", onClick: () => api.setOpen(false), children: _jsx(ChevronLeftIcon, {}) }), _jsx(Dialog.Title, { className: "text-lg font-semibold", children: "Personal Verification" }), _jsx("button", { type: "button", className: "text-text-quinary absolute right-0 top-1/2 hidden -translate-y-1/2 lg:block", onClick: () => api.setOpen(false), children: _jsx(XIcon, { className: "size-6" }) })] })) }));
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Indicator(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { noop } from 'lodash-es';
|
|
3
|
-
import { ArrowLeftIcon } from '../../../icons/ArrowLeftIcon.js';
|
|
4
|
-
import { Progress } from '../../../ui/Progress/index.js';
|
|
5
|
-
import { useKYCContext } from './KYCContext.js';
|
|
6
|
-
export function Indicator() {
|
|
7
|
-
const context = useKYCContext();
|
|
8
|
-
return (_jsxs("div", { className: "mt-xl grid grid-cols-[max-content_auto_auto] items-center px-xl lg:mt-md lg:px-0", children: [_jsxs("button", { className: "text-text-tertiary-600 flex items-center gap-sm text-sm font-semibold", children: [_jsx(ArrowLeftIcon, { className: "size-5" }), "Back"] }), _jsxs("div", { className: "flex justify-center gap-2", children: [_jsx(Progress.Root, { className: "w-[5.625rem] shrink-0", value: context.step >= 2 ? 100 : 50, onValueChange: noop, children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx(Progress.Root, { className: "w-[5.625rem] shrink-0", value: context.step >= 3 ? 50 : 0, onValueChange: noop, children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) })] })] }));
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function KYC(): import("react/jsx-runtime").JSX.Element | undefined;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import dynamic from 'next/dynamic';
|
|
4
|
-
import { useShallow } from 'zustand/shallow';
|
|
5
|
-
import { useGlobalStore } from '../../../client/hooks/useGlobalStore.js';
|
|
6
|
-
const Component = dynamic(() => import('./KYC.lazy.js').then((m) => m.KYC), {
|
|
7
|
-
ssr: false,
|
|
8
|
-
loading: () => null,
|
|
9
|
-
});
|
|
10
|
-
export function KYC() {
|
|
11
|
-
const touched = useGlobalStore(useShallow((ctx) => ctx.kyc['~touched']));
|
|
12
|
-
if (touched)
|
|
13
|
-
return _jsx(Component, {});
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function KYC(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { twMerge } from 'tailwind-merge';
|
|
4
|
-
import { useShallow } from 'zustand/shallow';
|
|
5
|
-
import { useGlobalStore } from '../../../client/hooks/useGlobalStore.js';
|
|
6
|
-
import { Dialog } from '../../../ui/Dialog/index.js';
|
|
7
|
-
import { Portal } from '../../../ui/Portal/index.js';
|
|
8
|
-
import { Header } from './Header.js';
|
|
9
|
-
import { Indicator } from './Indicator.js';
|
|
10
|
-
import { KYCContext } from './KYCContext.js';
|
|
11
|
-
import { Step1 } from './Step1.js';
|
|
12
|
-
import { Step2 } from './Step2.js';
|
|
13
|
-
import { Step3 } from './Step3.js';
|
|
14
|
-
import { Step4 } from './Step4.js';
|
|
15
|
-
import { useKYC } from './useKYC.js';
|
|
16
|
-
export function KYC() {
|
|
17
|
-
const globalStore = useGlobalStore(useShallow((ctx) => ({
|
|
18
|
-
kyc: ctx.kyc,
|
|
19
|
-
})));
|
|
20
|
-
const context = useKYC();
|
|
21
|
-
return (_jsx(KYCContext, { value: context, children: _jsx(Dialog.Root, { open: globalStore.kyc.open, onOpenChange: (details) => {
|
|
22
|
-
globalStore.kyc.setOpen(details.open);
|
|
23
|
-
}, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { className: twMerge(context.step === 4 && 'flex items-center'), children: _jsxs(Dialog.Content, { className: twMerge(context.step < 4
|
|
24
|
-
? 'bg-bg-primary lg:bg-bg-primary-alt mx-auto h-full w-full lg:h-auto lg:w-[400px] lg:p-3xl'
|
|
25
|
-
: 'mx-auto w-[25rem] max-w-[calc(100%-2rem)] p-3xl'), children: [context.step < 4 && _jsx(Header, {}), context.step < 4 && _jsx(Indicator, {}), context.step === 1 && _jsx(Step1, {}), context.step === 2 && _jsx(Step2, {}), context.step === 3 && _jsx(Step3, {}), context.step === 4 && _jsx(Step4, {})] }) })] }) }) }));
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Step1(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import Image from 'next/image';
|
|
3
|
-
import { CheckIcon } from '../../../icons/CheckIcon.js';
|
|
4
|
-
import { XIcon } from '../../../icons/XIcon.js';
|
|
5
|
-
import uploadId from '../../../images/capture-id-banner.png';
|
|
6
|
-
import { Button } from '../../../ui/Button/index.js';
|
|
7
|
-
import { useKYCContext } from './KYCContext.js';
|
|
8
|
-
export function Step1() {
|
|
9
|
-
const context = useKYCContext();
|
|
10
|
-
return (_jsxs("div", { className: "mt-2xl px-xl lg:mt-3xl lg:px-0", children: [_jsx("p", { className: "lg:text-text-secondary-700 text-center text-2xl font-semibold lg:text-base", children: "Prepare to upload your ID" }), _jsxs("div", { className: "border-border-secondary bg-bg-primary-alt mt-6 rounded-xl border p-4 lg:mt-2xl lg:border-0 lg:bg-transparent lg:p-0", children: [_jsx(Image, { src: uploadId, alt: "", className: "h-auto w-full", width: 600, height: 352 }), _jsxs("ul", { className: "mt-2xl space-y-3", children: [_jsxs("li", { className: "text-text-secondary-700 flex items-center gap-lg", children: [_jsx(CheckIcon, { className: "text-text-featured-icon-light-success size-6" }), "Upload front side of your ID"] }), _jsxs("li", { className: "text-text-secondary-700 flex items-center gap-lg", children: [_jsx(CheckIcon, { className: "text-text-featured-icon-light-success size-6" }), "Take a photo in a well lit room"] }), _jsxs("li", { className: "text-text-secondary-700 flex items-center gap-lg", children: [_jsx(XIcon, { className: "text-text-featured-icon-light-error size-6" }), "Don't edit image of your ID"] })] }), _jsxs("div", { className: "mt-4xl space-y-lg", children: [_jsx(Button, { onClick: () => {
|
|
11
|
-
context.setStep(2);
|
|
12
|
-
}, children: "Continue" }), _jsx(Button, { variant: "outline", children: "Continue on phone" })] })] })] }));
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Step2(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import Image from 'next/image';
|
|
3
|
-
import { CheckIcon } from '../../../icons/CheckIcon.js';
|
|
4
|
-
import { XIcon } from '../../../icons/XIcon.js';
|
|
5
|
-
import selfie from '../../../images/capture-selfie-banner.png';
|
|
6
|
-
import { Button } from '../../../ui/Button/index.js';
|
|
7
|
-
import { useKYCContext } from './KYCContext.js';
|
|
8
|
-
export function Step2() {
|
|
9
|
-
const context = useKYCContext();
|
|
10
|
-
return (_jsxs("div", { className: "mt-2xl px-xl lg:mt-3xl lg:px-0", children: [_jsx("p", { className: "lg:text-text-secondary-700 text-center text-2xl font-semibold lg:text-base", children: "Take a selfie holding your ID" }), _jsxs("div", { className: "border-border-secondary bg-bg-primary-alt mt-6 rounded-xl border p-4 lg:mt-2xl lg:border-0 lg:bg-transparent lg:p-0", children: [_jsx(Image, { src: selfie, alt: "", className: "h-auto w-full", width: 600, height: 352 }), _jsxs("ul", { className: "mt-2xl space-y-3", children: [_jsxs("li", { className: "text-text-secondary-700 flex items-center gap-lg", children: [_jsx(CheckIcon, { className: "text-text-featured-icon-light-success size-6" }), "Face and ID must be clearly visible"] }), _jsxs("li", { className: "text-text-secondary-700 flex items-center gap-lg", children: [_jsx(CheckIcon, { className: "text-text-featured-icon-light-success size-6" }), "Take a photo in a well lit room"] }), _jsxs("li", { className: "text-text-secondary-700 flex items-center gap-lg", children: [_jsx(XIcon, { className: "text-text-featured-icon-light-error size-6" }), "No hats, sunglasses, or masks"] })] }), _jsxs("div", { className: "mt-4xl space-y-lg", children: [_jsx(Button, { size: "sm", onClick: () => {
|
|
11
|
-
context.setStep(3);
|
|
12
|
-
}, children: "Continue" }), _jsx(Button, { variant: "outline", children: "Continue on phone" })] })] })] }));
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Step3(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CheckIcon } from '../../../icons/CheckIcon.js';
|
|
3
|
-
import { Button } from '../../../ui/Button/index.js';
|
|
4
|
-
import { Checkbox } from '../../../ui/Checkbox/index.js';
|
|
5
|
-
import { Field } from '../../../ui/Field/index.js';
|
|
6
|
-
import { useKYCContext } from './KYCContext.js';
|
|
7
|
-
export function Step3() {
|
|
8
|
-
const context = useKYCContext();
|
|
9
|
-
return (_jsxs("div", { className: "mt-2xl px-xl lg:mt-3xl lg:px-0", children: [_jsx("p", { className: "lg:text-text-secondary-700 text-center text-2xl font-semibold lg:text-base", children: "Enter your basic and work-related information" }), _jsxs("form", { className: "border-border-secondary bg-bg-primary-alt mt-6 rounded-xl border p-4 lg:mt-2xl lg:border-0 lg:bg-transparent lg:p-0", onSubmit: (e) => {
|
|
10
|
-
e.preventDefault();
|
|
11
|
-
context.setStep(4);
|
|
12
|
-
}, children: [_jsxs(Field.Root, { children: [_jsx(Field.Label, { children: "Permanent address" }), _jsx(Field.Input, { placeholder: "Enter your permanent address" })] }), _jsxs(Checkbox.Root, { className: "mt-2xl", children: [_jsx(Checkbox.Control, { children: _jsx(Checkbox.Indicator, { asChild: true, children: _jsx(CheckIcon, {}) }) }), _jsx(Checkbox.Label, { children: "Same as permanent address" }), _jsx(Checkbox.HiddenInput, {})] }), _jsxs(Field.Root, { className: "mt-sm", children: [_jsx(Field.Label, { children: "Current address" }), _jsx(Field.Input, { placeholder: "Enter your current address" })] }), _jsxs(Field.Root, { className: "mt-2xl", children: [_jsx(Field.Label, { children: "Source of income" }), _jsx(Field.Input, { placeholder: "Enter your source of income" })] }), _jsxs(Field.Root, { className: "mt-2xl", children: [_jsx(Field.Label, { children: "Work Description" }), _jsx(Field.Input, { placeholder: "Enter your work description" })] }), _jsxs(Field.Root, { className: "mt-2xl", children: [_jsx(Field.Label, { children: "Place of birth" }), _jsx(Field.Input, { placeholder: "Enter your place of birth" })] }), _jsxs(Field.Root, { className: "mt-2xl", children: [_jsx(Field.Label, { children: "Nationality" }), _jsx(Field.Input, { placeholder: "Enter your nationality" })] }), _jsx(Button, { type: "submit", className: "mt-4xl", children: "Submit" })] })] }));
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Step4(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CheckCircleIcon } from '../../../icons/CheckCircleIcon.js';
|
|
3
|
-
import { Button } from '../../../ui/Button/index.js';
|
|
4
|
-
import { Dialog } from '../../../ui/Dialog/index.js';
|
|
5
|
-
export function Step4() {
|
|
6
|
-
return (_jsxs("div", { children: [_jsx("div", { className: "bg-bg-success-secondary text-text-featured-icon-light-success mx-auto flex size-12 items-center justify-center rounded-full", children: _jsx(CheckCircleIcon, {}) }), _jsx("h2", { className: "mt-3 text-center", children: "Submission Successful" }), _jsx("p", { className: "text-text-tertiary-600 text-center", children: "Your documents have been submitted successfully. They\u2019re now under review, and you\u2019ll receive a notification as soon as your account is verified." }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { className: "mt-3xl", onClick: () => api.setOpen(false), children: "Ok" })) })] }));
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function loadFaceApiModels(): Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as faceapi from 'face-api.js';
|
|
2
|
-
export async function loadFaceApiModels() {
|
|
3
|
-
const MODEL_URL = '/models';
|
|
4
|
-
await Promise.all([
|
|
5
|
-
faceapi.nets.tinyFaceDetector.loadFromUri(MODEL_URL),
|
|
6
|
-
faceapi.nets.faceLandmark68Net.loadFromUri(MODEL_URL),
|
|
7
|
-
faceapi.nets.faceRecognitionNet.loadFromUri(MODEL_URL),
|
|
8
|
-
]);
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Message(): import("react/jsx-runtime").JSX.Element;
|