@mesob/auth-react 0.5.0 → 0.5.3
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/{chunk-DG6GRTPG.js → chunk-4LHFPVAY.js} +2 -2
- package/dist/{chunk-H5PUZDNU.js → chunk-57L345IN.js} +4 -4
- package/dist/{chunk-CP4TTRV4.js → chunk-5B6GREDA.js} +2 -2
- package/dist/{chunk-TEHMLZFI.js → chunk-5XCUGCW7.js} +4 -4
- package/dist/{chunk-5AEV7RAN.js → chunk-6AV6I5B4.js} +3 -3
- package/dist/{chunk-SGDXNT7M.js → chunk-7VWWIN6Q.js} +3 -3
- package/dist/{chunk-AWSAC7RT.js → chunk-A5ON3RKH.js} +6 -3
- package/dist/chunk-A5ON3RKH.js.map +1 -0
- package/dist/{chunk-V6ZHX4LT.js → chunk-BM3YKYGC.js} +2 -2
- package/dist/{chunk-TLQMK2QF.js → chunk-BX75EFF3.js} +4 -4
- package/dist/{chunk-OXUOGOG3.js → chunk-DCWKYK3D.js} +88 -21
- package/dist/chunk-DCWKYK3D.js.map +1 -0
- package/dist/{chunk-W3D4HG5W.js → chunk-DRM44QBR.js} +3 -3
- package/dist/{chunk-Z34NJZRL.js → chunk-EIJFTUTM.js} +3 -3
- package/dist/{chunk-5E3XN6SW.js → chunk-FCPN2FD7.js} +5 -5
- package/dist/{chunk-VVKXFEAN.js → chunk-FLGP4ROM.js} +5 -5
- package/dist/{chunk-5SDS2E3F.js → chunk-FU4K62DS.js} +2 -2
- package/dist/chunk-G2XRGSQE.js +22 -0
- package/dist/chunk-G2XRGSQE.js.map +1 -0
- package/dist/{chunk-X2BHF4KC.js → chunk-G4VPR4UC.js} +2 -2
- package/dist/{chunk-MQI6Q2S4.js → chunk-GGBS64Z5.js} +147 -4
- package/dist/chunk-GGBS64Z5.js.map +1 -0
- package/dist/{chunk-2PV7RYNK.js → chunk-GQFTH5DQ.js} +95 -20
- package/dist/chunk-GQFTH5DQ.js.map +1 -0
- package/dist/{chunk-UY55LEIG.js → chunk-H2W42KYL.js} +2 -2
- package/dist/{chunk-EPEXIGKB.js → chunk-HBQK5PAH.js} +2 -2
- package/dist/{chunk-4ABXALRN.js → chunk-IBRB7ABJ.js} +2 -2
- package/dist/{chunk-RMJNENJB.js → chunk-IFFWIROT.js} +2 -2
- package/dist/{chunk-WY2JJNZW.js → chunk-IK7V3PT3.js} +2 -2
- package/dist/{chunk-N4JFMKGK.js → chunk-JKUKCVY7.js} +5 -5
- package/dist/{chunk-MWMSZVH3.js → chunk-K6ACPILA.js} +4 -4
- package/dist/{chunk-5BFG47VF.js → chunk-PUOQX6DR.js} +4 -4
- package/dist/{chunk-EQWOGD4F.js → chunk-SA6HTWCL.js} +2 -2
- package/dist/{chunk-73ZNGEWU.js → chunk-SX6WAVQS.js} +5 -5
- package/dist/{chunk-5HAABEAS.js → chunk-TAJQ7O3U.js} +2 -2
- package/dist/{chunk-MVVAPYUD.js → chunk-TPG4RW7H.js} +2 -2
- package/dist/{chunk-ECF6S2Y2.js → chunk-USVJBAWJ.js} +2 -2
- package/dist/{chunk-T34HJRUW.js → chunk-VMAGFUOK.js} +3 -3
- package/dist/{chunk-ZZ6D4KE4.js → chunk-VS5FEGMX.js} +2 -2
- package/dist/{chunk-IQNQGPIT.js → chunk-VWYJI2FU.js} +4 -4
- package/dist/{chunk-H7JRQFFI.js → chunk-W2HMARW4.js} +4 -4
- package/dist/{chunk-RRLFPSSM.js → chunk-W7UHDTBI.js} +33 -2
- package/dist/chunk-W7UHDTBI.js.map +1 -0
- package/dist/{chunk-4X3CJHKR.js → chunk-XLPPZKU2.js} +4 -4
- package/dist/{chunk-YFQNNSSC.js → chunk-XO5LLEGV.js} +2 -2
- package/dist/{chunk-4NUO6F3J.js → chunk-XZAYLXLS.js} +2 -2
- package/dist/{chunk-7CLKBH5Z.js → chunk-YCVDEX5U.js} +3 -3
- package/dist/{chunk-6THPM5LB.js → chunk-YQU3KG74.js} +4 -4
- package/dist/{chunk-GVEBIL3O.js → chunk-YVHMCTLM.js} +2 -2
- package/dist/{chunk-6IEX2RLA.js → chunk-Z4FXOZEJ.js} +3 -3
- package/dist/{chunk-UGQP733V.js → chunk-ZOKBN5H4.js} +2 -2
- package/dist/components/auth/countdown.js +3 -3
- package/dist/components/auth/forgot-password.js +4 -4
- package/dist/components/auth/reset-password-form.js +4 -4
- package/dist/components/auth/set-password.js +4 -4
- package/dist/components/auth/sign-in.js +4 -4
- package/dist/components/auth/sign-up.js +4 -4
- package/dist/components/auth/verification-form.js +4 -4
- package/dist/components/auth/verify-email.js +6 -6
- package/dist/components/auth/verify-phone.js +6 -6
- package/dist/components/authorization/deny.js +2 -2
- package/dist/components/authorization/grant.js +2 -2
- package/dist/components/error-boundary.d.ts +1 -1
- package/dist/components/iam/domains-page.js +6 -6
- package/dist/components/iam/iam-guard.js +3 -3
- package/dist/components/iam/permission-selector.js +2 -2
- package/dist/components/iam/permissions-page.js +4 -4
- package/dist/components/iam/permissions.js +2 -2
- package/dist/components/iam/role-detail-layout.js +2 -2
- package/dist/components/iam/role-detail-page.js +4 -4
- package/dist/components/iam/role-permissions-page.js +5 -5
- package/dist/components/iam/roles-page.js +6 -7
- package/dist/components/iam/roles.js +2 -2
- package/dist/components/iam/sessions-page.js +6 -6
- package/dist/components/iam/sessions.js +2 -2
- package/dist/components/iam/tenants-page.js +6 -6
- package/dist/components/iam/tenants.js +2 -2
- package/dist/components/iam/users-page.js +7 -7
- package/dist/components/iam/users.js +2 -2
- package/dist/components/profile/account.js +2 -2
- package/dist/components/profile/change-email-form.js +8 -8
- package/dist/components/profile/change-password-form.js +2 -2
- package/dist/components/profile/change-phone-form.js +8 -8
- package/dist/components/profile/otp-verification-modal.js +5 -5
- package/dist/components/profile/profile-layout.js +3 -3
- package/dist/components/profile/request-change-email-form.js +2 -2
- package/dist/components/profile/request-change-phone-form.js +2 -2
- package/dist/components/profile/security.js +13 -13
- package/dist/components/profile/verify-change-email-form.js +6 -6
- package/dist/components/profile/verify-change-phone-form.js +6 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.js +976 -64
- package/dist/index.js.map +1 -1
- package/dist/pages/__import_guard_probe.d.ts +4 -0
- package/dist/pages/auth/forgot-password.js +1 -8
- package/dist/pages/auth/forgot-password.js.map +1 -1
- package/dist/pages/auth/layout.js +6 -4
- package/dist/pages/auth/layout.js.map +1 -1
- package/dist/pages/auth/reset-password.js +1 -8
- package/dist/pages/auth/reset-password.js.map +1 -1
- package/dist/pages/auth/set-password.js +1 -9
- package/dist/pages/auth/set-password.js.map +1 -1
- package/dist/pages/auth/sign-in.js +1 -9
- package/dist/pages/auth/sign-in.js.map +1 -1
- package/dist/pages/auth/sign-up.js +1 -8
- package/dist/pages/auth/sign-up.js.map +1 -1
- package/dist/pages/auth/verify-email.js +1 -10
- package/dist/pages/auth/verify-email.js.map +1 -1
- package/dist/pages/auth/verify-phone.js +1 -10
- package/dist/pages/auth/verify-phone.js.map +1 -1
- package/dist/pages/iam/domains.d.ts +1 -1
- package/dist/pages/iam/permissions.d.ts +1 -1
- package/dist/pages/iam/permissions.js +3 -7
- package/dist/pages/iam/permissions.js.map +1 -1
- package/dist/pages/iam/role-detail-layout.js +1 -5
- package/dist/pages/iam/role-detail-layout.js.map +1 -1
- package/dist/pages/iam/role-detail.js +1 -7
- package/dist/pages/iam/role-detail.js.map +1 -1
- package/dist/pages/iam/role-permissions.js +1 -8
- package/dist/pages/iam/role-permissions.js.map +1 -1
- package/dist/pages/iam/role-users.js +1 -13
- package/dist/pages/iam/role-users.js.map +1 -1
- package/dist/pages/iam/roles.d.ts +1 -1
- package/dist/pages/iam/roles.js +3 -11
- package/dist/pages/iam/roles.js.map +1 -1
- package/dist/pages/iam/sessions.d.ts +1 -1
- package/dist/pages/iam/sessions.js +3 -9
- package/dist/pages/iam/sessions.js.map +1 -1
- package/dist/pages/iam/tenant-detail.js +1 -8
- package/dist/pages/iam/tenant-detail.js.map +1 -1
- package/dist/pages/iam/tenants/tenant-selector.js +3 -3
- package/dist/pages/iam/tenants.d.ts +1 -1
- package/dist/pages/iam/tenants.js +3 -10
- package/dist/pages/iam/tenants.js.map +1 -1
- package/dist/pages/iam/user-activity.js +1 -12
- package/dist/pages/iam/user-activity.js.map +1 -1
- package/dist/pages/iam/user-detail-layout.js +1 -7
- package/dist/pages/iam/user-detail-layout.js.map +1 -1
- package/dist/pages/iam/user-detail.js +1 -7
- package/dist/pages/iam/user-detail.js.map +1 -1
- package/dist/pages/iam/users/user-selector.js +149 -7
- package/dist/pages/iam/users/user-selector.js.map +1 -1
- package/dist/pages/iam/users.d.ts +1 -1
- package/dist/pages/iam/users.js +3 -11
- package/dist/pages/iam/users.js.map +1 -1
- package/dist/pages/profile/account.js +2 -5
- package/dist/pages/profile/account.js.map +1 -1
- package/dist/pages/profile/layout.d.ts +1 -1
- package/dist/pages/profile/layout.js +3 -5
- package/dist/pages/profile/layout.js.map +1 -1
- package/dist/pages/profile/security.js +2 -16
- package/dist/pages/profile/security.js.map +1 -1
- package/dist/types.d.ts +11 -2
- package/dist/utils/handle-error.d.ts +3 -1
- package/dist/utils/safe-redirect.d.ts +2 -0
- package/package.json +3 -3
- package/dist/chunk-2PV7RYNK.js.map +0 -1
- package/dist/chunk-AWSAC7RT.js.map +0 -1
- package/dist/chunk-GBDNBY6K.js +0 -153
- package/dist/chunk-GBDNBY6K.js.map +0 -1
- package/dist/chunk-MQI6Q2S4.js.map +0 -1
- package/dist/chunk-NFGFJPCX.js +0 -313
- package/dist/chunk-NFGFJPCX.js.map +0 -1
- package/dist/chunk-NJMNRSJH.js +0 -83
- package/dist/chunk-NJMNRSJH.js.map +0 -1
- package/dist/chunk-OXUOGOG3.js.map +0 -1
- package/dist/chunk-QPEUVMSP.js +0 -149
- package/dist/chunk-QPEUVMSP.js.map +0 -1
- package/dist/chunk-RCQTWNAG.js +0 -150
- package/dist/chunk-RCQTWNAG.js.map +0 -1
- package/dist/chunk-RRLFPSSM.js.map +0 -1
- package/dist/chunk-SGUROG23.js +0 -356
- package/dist/chunk-SGUROG23.js.map +0 -1
- package/dist/chunk-X6EUQZSZ.js +0 -81
- package/dist/chunk-X6EUQZSZ.js.map +0 -1
- /package/dist/{chunk-DG6GRTPG.js.map → chunk-4LHFPVAY.js.map} +0 -0
- /package/dist/{chunk-H5PUZDNU.js.map → chunk-57L345IN.js.map} +0 -0
- /package/dist/{chunk-CP4TTRV4.js.map → chunk-5B6GREDA.js.map} +0 -0
- /package/dist/{chunk-TEHMLZFI.js.map → chunk-5XCUGCW7.js.map} +0 -0
- /package/dist/{chunk-5AEV7RAN.js.map → chunk-6AV6I5B4.js.map} +0 -0
- /package/dist/{chunk-SGDXNT7M.js.map → chunk-7VWWIN6Q.js.map} +0 -0
- /package/dist/{chunk-V6ZHX4LT.js.map → chunk-BM3YKYGC.js.map} +0 -0
- /package/dist/{chunk-TLQMK2QF.js.map → chunk-BX75EFF3.js.map} +0 -0
- /package/dist/{chunk-W3D4HG5W.js.map → chunk-DRM44QBR.js.map} +0 -0
- /package/dist/{chunk-Z34NJZRL.js.map → chunk-EIJFTUTM.js.map} +0 -0
- /package/dist/{chunk-5E3XN6SW.js.map → chunk-FCPN2FD7.js.map} +0 -0
- /package/dist/{chunk-VVKXFEAN.js.map → chunk-FLGP4ROM.js.map} +0 -0
- /package/dist/{chunk-5SDS2E3F.js.map → chunk-FU4K62DS.js.map} +0 -0
- /package/dist/{chunk-X2BHF4KC.js.map → chunk-G4VPR4UC.js.map} +0 -0
- /package/dist/{chunk-UY55LEIG.js.map → chunk-H2W42KYL.js.map} +0 -0
- /package/dist/{chunk-EPEXIGKB.js.map → chunk-HBQK5PAH.js.map} +0 -0
- /package/dist/{chunk-4ABXALRN.js.map → chunk-IBRB7ABJ.js.map} +0 -0
- /package/dist/{chunk-RMJNENJB.js.map → chunk-IFFWIROT.js.map} +0 -0
- /package/dist/{chunk-WY2JJNZW.js.map → chunk-IK7V3PT3.js.map} +0 -0
- /package/dist/{chunk-N4JFMKGK.js.map → chunk-JKUKCVY7.js.map} +0 -0
- /package/dist/{chunk-MWMSZVH3.js.map → chunk-K6ACPILA.js.map} +0 -0
- /package/dist/{chunk-5BFG47VF.js.map → chunk-PUOQX6DR.js.map} +0 -0
- /package/dist/{chunk-EQWOGD4F.js.map → chunk-SA6HTWCL.js.map} +0 -0
- /package/dist/{chunk-73ZNGEWU.js.map → chunk-SX6WAVQS.js.map} +0 -0
- /package/dist/{chunk-5HAABEAS.js.map → chunk-TAJQ7O3U.js.map} +0 -0
- /package/dist/{chunk-MVVAPYUD.js.map → chunk-TPG4RW7H.js.map} +0 -0
- /package/dist/{chunk-ECF6S2Y2.js.map → chunk-USVJBAWJ.js.map} +0 -0
- /package/dist/{chunk-T34HJRUW.js.map → chunk-VMAGFUOK.js.map} +0 -0
- /package/dist/{chunk-ZZ6D4KE4.js.map → chunk-VS5FEGMX.js.map} +0 -0
- /package/dist/{chunk-IQNQGPIT.js.map → chunk-VWYJI2FU.js.map} +0 -0
- /package/dist/{chunk-H7JRQFFI.js.map → chunk-W2HMARW4.js.map} +0 -0
- /package/dist/{chunk-4X3CJHKR.js.map → chunk-XLPPZKU2.js.map} +0 -0
- /package/dist/{chunk-YFQNNSSC.js.map → chunk-XO5LLEGV.js.map} +0 -0
- /package/dist/{chunk-4NUO6F3J.js.map → chunk-XZAYLXLS.js.map} +0 -0
- /package/dist/{chunk-7CLKBH5Z.js.map → chunk-YCVDEX5U.js.map} +0 -0
- /package/dist/{chunk-6THPM5LB.js.map → chunk-YQU3KG74.js.map} +0 -0
- /package/dist/{chunk-GVEBIL3O.js.map → chunk-YVHMCTLM.js.map} +0 -0
- /package/dist/{chunk-6IEX2RLA.js.map → chunk-Z4FXOZEJ.js.map} +0 -0
- /package/dist/{chunk-UGQP733V.js.map → chunk-ZOKBN5H4.js.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VerifyChangeEmailForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6AV6I5B4.js";
|
|
4
4
|
import {
|
|
5
5
|
RequestChangeEmailForm
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G4VPR4UC.js";
|
|
7
7
|
import {
|
|
8
8
|
useSession
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A5ON3RKH.js";
|
|
10
10
|
|
|
11
11
|
// src/components/profile/change-email-form.tsx
|
|
12
12
|
import {
|
|
@@ -91,4 +91,4 @@ function ChangeEmailForm() {
|
|
|
91
91
|
export {
|
|
92
92
|
ChangeEmailForm
|
|
93
93
|
};
|
|
94
|
-
//# sourceMappingURL=chunk-
|
|
94
|
+
//# sourceMappingURL=chunk-PUOQX6DR.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useApi,
|
|
3
3
|
useConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A5ON3RKH.js";
|
|
5
5
|
|
|
6
6
|
// src/components/iam/role-detail-layout.tsx
|
|
7
7
|
import {
|
|
@@ -100,4 +100,4 @@ function RoleDetailLayout({
|
|
|
100
100
|
export {
|
|
101
101
|
RoleDetailLayout
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=chunk-
|
|
103
|
+
//# sourceMappingURL=chunk-SA6HTWCL.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChangeEmailForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PUOQX6DR.js";
|
|
4
4
|
import {
|
|
5
5
|
ChangePasswordForm
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VS5FEGMX.js";
|
|
7
7
|
import {
|
|
8
8
|
ChangePhoneForm
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BX75EFF3.js";
|
|
10
10
|
import {
|
|
11
11
|
useSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-A5ON3RKH.js";
|
|
13
13
|
|
|
14
14
|
// src/components/profile/security.tsx
|
|
15
15
|
import { Badge, Card, CardContent, Separator } from "@mesob/ui/components";
|
|
@@ -62,4 +62,4 @@ function Security() {
|
|
|
62
62
|
export {
|
|
63
63
|
Security
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-SX6WAVQS.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TFVBER3Y.js";
|
|
4
4
|
import {
|
|
5
5
|
useApi
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A5ON3RKH.js";
|
|
7
7
|
|
|
8
8
|
// src/components/iam/users.tsx
|
|
9
9
|
import { Badge, Button } from "@mesob/ui/components";
|
|
@@ -104,4 +104,4 @@ function Users() {
|
|
|
104
104
|
export {
|
|
105
105
|
Users
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=chunk-
|
|
107
|
+
//# sourceMappingURL=chunk-TAJQ7O3U.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TFVBER3Y.js";
|
|
4
4
|
import {
|
|
5
5
|
useApi
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A5ON3RKH.js";
|
|
7
7
|
|
|
8
8
|
// src/components/iam/permissions.tsx
|
|
9
9
|
import { Badge, Button } from "@mesob/ui/components";
|
|
@@ -95,4 +95,4 @@ function Permissions() {
|
|
|
95
95
|
export {
|
|
96
96
|
Permissions
|
|
97
97
|
};
|
|
98
|
-
//# sourceMappingURL=chunk-
|
|
98
|
+
//# sourceMappingURL=chunk-TPG4RW7H.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Link,
|
|
6
6
|
authApi$
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DRM44QBR.js";
|
|
8
8
|
|
|
9
9
|
// src/pages/iam/users/_components/user-card.tsx
|
|
10
10
|
import {
|
|
@@ -482,4 +482,4 @@ export {
|
|
|
482
482
|
UserForm,
|
|
483
483
|
UserCard
|
|
484
484
|
};
|
|
485
|
-
//# sourceMappingURL=chunk-
|
|
485
|
+
//# sourceMappingURL=chunk-USVJBAWJ.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-NPW7D2HZ.js";
|
|
4
4
|
import {
|
|
5
5
|
IAMGuard
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BM3YKYGC.js";
|
|
7
7
|
import {
|
|
8
8
|
useApi,
|
|
9
9
|
useConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A5ON3RKH.js";
|
|
11
11
|
|
|
12
12
|
// src/components/iam/permissions-page.tsx
|
|
13
13
|
import {
|
|
@@ -278,4 +278,4 @@ function PermissionsPageContent() {
|
|
|
278
278
|
export {
|
|
279
279
|
PermissionsPage
|
|
280
280
|
};
|
|
281
|
-
//# sourceMappingURL=chunk-
|
|
281
|
+
//# sourceMappingURL=chunk-VMAGFUOK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A5ON3RKH.js";
|
|
4
4
|
|
|
5
5
|
// src/components/profile/change-password-form.tsx
|
|
6
6
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -236,4 +236,4 @@ function ChangePasswordForm() {
|
|
|
236
236
|
export {
|
|
237
237
|
ChangePasswordForm
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=chunk-
|
|
239
|
+
//# sourceMappingURL=chunk-VS5FEGMX.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PermissionSelector
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YVHMCTLM.js";
|
|
4
4
|
import {
|
|
5
5
|
IAMGuard
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BM3YKYGC.js";
|
|
7
7
|
import {
|
|
8
8
|
useApi
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A5ON3RKH.js";
|
|
10
10
|
|
|
11
11
|
// src/components/iam/role-permissions-page.tsx
|
|
12
12
|
import {
|
|
@@ -289,4 +289,4 @@ function RolePermissionsPageContent({ roleId }) {
|
|
|
289
289
|
export {
|
|
290
290
|
RolePermissionsPage
|
|
291
291
|
};
|
|
292
|
-
//# sourceMappingURL=chunk-
|
|
292
|
+
//# sourceMappingURL=chunk-VWYJI2FU.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W7UHDTBI.js";
|
|
4
4
|
import {
|
|
5
5
|
AuthLayout
|
|
6
6
|
} from "./chunk-DPH2PHK3.js";
|
|
7
7
|
import {
|
|
8
8
|
useTranslator
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HBQK5PAH.js";
|
|
10
10
|
import {
|
|
11
11
|
useApi,
|
|
12
12
|
useConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A5ON3RKH.js";
|
|
14
14
|
|
|
15
15
|
// src/components/auth/reset-password-form.tsx
|
|
16
16
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -283,4 +283,4 @@ var ResetPasswordForm = ({
|
|
|
283
283
|
export {
|
|
284
284
|
ResetPasswordForm
|
|
285
285
|
};
|
|
286
|
-
//# sourceMappingURL=chunk-
|
|
286
|
+
//# sourceMappingURL=chunk-W2HMARW4.js.map
|
|
@@ -28,6 +28,10 @@ var AUTH_ERROR_MAPPING = {
|
|
|
28
28
|
title: "Too Many Attempts",
|
|
29
29
|
description: "You have made too many requests recently. Please wait a moment before trying again."
|
|
30
30
|
},
|
|
31
|
+
RATE_LIMITED: {
|
|
32
|
+
title: "Too Many Requests",
|
|
33
|
+
description: "You have made too many requests recently. Please wait a moment before trying again."
|
|
34
|
+
},
|
|
31
35
|
REQUIRES_VERIFICATION: {
|
|
32
36
|
title: "Verification Required",
|
|
33
37
|
description: "You need to verify your account before you can continue. Please check your email or phone."
|
|
@@ -73,7 +77,20 @@ function sanitizeErrorMessage(message) {
|
|
|
73
77
|
const isUnsafe = lowerMessage.includes("failed query") || lowerMessage.includes("select") || lowerMessage.includes("insert") || lowerMessage.includes("update") || lowerMessage.includes("delete") || lowerMessage.includes("from") || lowerMessage.includes("where") || lowerMessage.includes("limit") || lowerMessage.includes("params:") || lowerMessage.includes("query") || message.includes('"iam".') || message.includes('"tenants"') || message.includes('"users"') || message.includes('"sessions"') || message.includes('"accounts"') || lowerMessage.includes("relation") || lowerMessage.includes("column") || lowerMessage.includes("syntax error") || lowerMessage.includes("database") || lowerMessage.includes("postgres") || lowerMessage.includes("sql") || lowerMessage.includes(" at ") || lowerMessage.includes("exception") || /\bstack\b/.test(lowerMessage) || /\.(ts|js|mjs|cjs):\d+/.test(message);
|
|
74
78
|
return isUnsafe ? GENERIC_ERROR : message;
|
|
75
79
|
}
|
|
76
|
-
var SIGNIN_SAFE_CODES = ["TOO_MANY_ATTEMPTS"];
|
|
80
|
+
var SIGNIN_SAFE_CODES = ["TOO_MANY_ATTEMPTS", "RATE_LIMITED"];
|
|
81
|
+
function normalizeOpenapiErrorBody(err) {
|
|
82
|
+
if (typeof err !== "object" || err === null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
const o = err;
|
|
86
|
+
if (typeof o.error === "string") {
|
|
87
|
+
return {
|
|
88
|
+
message: o.error,
|
|
89
|
+
code: typeof o.code === "string" ? o.code : void 0
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
77
94
|
function handleAuthError(err, setError, t, options) {
|
|
78
95
|
const errorCode = extractErrorCode(err);
|
|
79
96
|
const isCredentialFailure = options?.signIn && !(errorCode && SIGNIN_SAFE_CODES.includes(errorCode));
|
|
@@ -84,6 +101,14 @@ function handleAuthError(err, setError, t, options) {
|
|
|
84
101
|
});
|
|
85
102
|
return;
|
|
86
103
|
}
|
|
104
|
+
if (errorCode === "RATE_LIMITED" && err.message) {
|
|
105
|
+
const mapping = AUTH_ERROR_MAPPING.RATE_LIMITED;
|
|
106
|
+
setError({
|
|
107
|
+
title: mapping.title,
|
|
108
|
+
description: sanitizeErrorMessage(err.message)
|
|
109
|
+
});
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
87
112
|
if (errorCode && AUTH_ERROR_MAPPING[errorCode]) {
|
|
88
113
|
const mapping = AUTH_ERROR_MAPPING[errorCode];
|
|
89
114
|
setError({
|
|
@@ -116,6 +141,11 @@ function handleGenericError(err, setError, t, options) {
|
|
|
116
141
|
});
|
|
117
142
|
}
|
|
118
143
|
var handleError = (err, setError, t, options) => {
|
|
144
|
+
const fromBody = normalizeOpenapiErrorBody(err);
|
|
145
|
+
if (fromBody) {
|
|
146
|
+
handleAuthError(fromBody, setError, t, options);
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
119
149
|
if (isAuthError(err)) {
|
|
120
150
|
handleAuthError(err, setError, t, options);
|
|
121
151
|
} else {
|
|
@@ -124,6 +154,7 @@ var handleError = (err, setError, t, options) => {
|
|
|
124
154
|
};
|
|
125
155
|
|
|
126
156
|
export {
|
|
157
|
+
normalizeOpenapiErrorBody,
|
|
127
158
|
handleError
|
|
128
159
|
};
|
|
129
|
-
//# sourceMappingURL=chunk-
|
|
160
|
+
//# sourceMappingURL=chunk-W7UHDTBI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/constants/auth.error.codes.ts","../src/utils/handle-error.ts"],"sourcesContent":["export const AUTH_ERROR_MAPPING: Record<\n string,\n { title: string; description: string }\n> = {\n USER_NOT_FOUND: {\n title: 'Account Not Found',\n description:\n 'We could not find an account with that identifier. Please check your spelling or sign up.',\n },\n INVALID_PASSWORD: {\n title: 'Invalid Password',\n description: 'The password you entered is incorrect. Please try again.',\n },\n USER_EXISTS: {\n title: 'Account Already Exists',\n description:\n 'An account with this identifier already exists. Please sign in instead.',\n },\n VERIFICATION_EXPIRED: {\n title: 'Verification Expired',\n description:\n 'The verification code or link has expired. Please request a new one.',\n },\n VERIFICATION_MISMATCH: {\n title: 'Invalid Code',\n description:\n 'The verification code you entered is invalid. Please double-check and try again.',\n },\n VERIFICATION_NOT_FOUND: {\n title: 'Verification Not Found',\n description:\n 'We could not find a pending verification request. Please restart the process.',\n },\n TOO_MANY_ATTEMPTS: {\n title: 'Too Many Attempts',\n description:\n 'You have made too many requests recently. Please wait a moment before trying again.',\n },\n RATE_LIMITED: {\n title: 'Too Many Requests',\n description:\n 'You have made too many requests recently. Please wait a moment before trying again.',\n },\n REQUIRES_VERIFICATION: {\n title: 'Verification Required',\n description:\n 'You need to verify your account before you can continue. Please check your email or phone.',\n },\n UNAUTHORIZED: {\n title: 'Unauthorized',\n description:\n 'You are not authorized to perform this action. Please sign in again.',\n },\n ACCESS_DENIED: {\n title: 'Access Denied',\n description:\n 'You do not have permission to access this resource. Please contact support if you believe this is an error.',\n },\n HAS_NO_PASSWORD: {\n title: 'No Password Set',\n description:\n 'Your account does not have a password yet. Continue to set a password before signing in.',\n },\n PASSWORD_ALREADY_SET: {\n title: 'Password Already Set',\n description:\n 'This account already has a password. Use the normal sign-in form instead.',\n },\n};\n\nexport const validCodes = Object.keys(AUTH_ERROR_MAPPING);\n","import { AUTH_ERROR_MAPPING, validCodes } from '../constants/auth.error.codes';\nimport type { AuthError } from '../types';\n\nexport type AuthErrorContent = {\n title: string;\n description: string;\n};\n\ntype TranslatorFunction = (\n key: string,\n params?: Record<string, string | number>,\n) => string;\n\n// Type guard to check if error is an AuthError\nfunction isAuthError(err: unknown): err is AuthError {\n return (\n typeof err === 'object' &&\n err !== null &&\n 'message' in err &&\n typeof (err as { message: unknown }).message === 'string'\n );\n}\n\nfunction extractErrorCode(err: AuthError): string {\n if (err.code && validCodes.includes(err.code)) {\n return err.code;\n }\n if (err.message) {\n const messageUpper = err.message.toUpperCase().trim();\n if (validCodes.includes(messageUpper)) {\n return messageUpper;\n }\n }\n return '';\n}\n\nconst GENERIC_ERROR = 'An error occurred while processing your request';\n\nfunction sanitizeErrorMessage(message: string): string {\n const lowerMessage = message.toLowerCase();\n const isUnsafe =\n lowerMessage.includes('failed query') ||\n lowerMessage.includes('select') ||\n lowerMessage.includes('insert') ||\n lowerMessage.includes('update') ||\n lowerMessage.includes('delete') ||\n lowerMessage.includes('from') ||\n lowerMessage.includes('where') ||\n lowerMessage.includes('limit') ||\n lowerMessage.includes('params:') ||\n lowerMessage.includes('query') ||\n message.includes('\"iam\".') ||\n message.includes('\"tenants\"') ||\n message.includes('\"users\"') ||\n message.includes('\"sessions\"') ||\n message.includes('\"accounts\"') ||\n lowerMessage.includes('relation') ||\n lowerMessage.includes('column') ||\n lowerMessage.includes('syntax error') ||\n lowerMessage.includes('database') ||\n lowerMessage.includes('postgres') ||\n lowerMessage.includes('sql') ||\n lowerMessage.includes(' at ') ||\n lowerMessage.includes('exception') ||\n /\\bstack\\b/.test(lowerMessage) ||\n /\\.(ts|js|mjs|cjs):\\d+/.test(message);\n\n return isUnsafe ? GENERIC_ERROR : message;\n}\n\n// On sign-in, only these codes get a specific message; all others → generic (no enumeration)\nconst SIGNIN_SAFE_CODES = ['TOO_MANY_ATTEMPTS', 'RATE_LIMITED'];\n\nfunction normalizeOpenapiErrorBody(err: unknown): AuthError | null {\n if (typeof err !== 'object' || err === null) {\n return null;\n }\n const o = err as Record<string, unknown>;\n if (typeof o.error === 'string') {\n return {\n message: o.error,\n code:\n typeof o.code === 'string' ? (o.code as AuthError['code']) : undefined,\n };\n }\n return null;\n}\n\nexport { normalizeOpenapiErrorBody };\n\nfunction handleAuthError(\n err: AuthError,\n setError: (error: AuthErrorContent | null) => void,\n t: TranslatorFunction,\n options?: { signIn?: boolean },\n) {\n const errorCode = extractErrorCode(err);\n const isCredentialFailure =\n options?.signIn && !(errorCode && SIGNIN_SAFE_CODES.includes(errorCode));\n\n if (isCredentialFailure) {\n setError({\n title: t('errors.error'),\n description: t('errors.invalidCredentials'),\n });\n return;\n }\n\n if (errorCode === 'RATE_LIMITED' && err.message) {\n const mapping = AUTH_ERROR_MAPPING.RATE_LIMITED;\n setError({\n title: mapping.title,\n description: sanitizeErrorMessage(err.message),\n });\n return;\n }\n\n if (errorCode && AUTH_ERROR_MAPPING[errorCode]) {\n const mapping = AUTH_ERROR_MAPPING[errorCode];\n setError({\n title: mapping.title,\n description: mapping.description,\n });\n return;\n }\n\n const sanitizedMessage = sanitizeErrorMessage(\n err.message || t('errors.fallback'),\n );\n setError({\n title: t('errors.fallback'),\n description: sanitizedMessage,\n });\n}\n\nfunction handleGenericError(\n err: unknown,\n setError: (error: AuthErrorContent | null) => void,\n t: TranslatorFunction,\n options?: { signIn?: boolean },\n) {\n if (options?.signIn) {\n setError({\n title: t('errors.error'),\n description: t('errors.invalidCredentials'),\n });\n return;\n }\n const rawMessage = err instanceof Error ? err.message : t('errors.fallback');\n const sanitizedMessage = sanitizeErrorMessage(rawMessage);\n setError({\n title: 'Error',\n description: sanitizedMessage,\n });\n}\n\nexport type HandleErrorOptions = { signIn?: boolean };\n\nexport const handleError = (\n err: unknown,\n setError: (error: AuthErrorContent | null) => void,\n t: TranslatorFunction,\n options?: HandleErrorOptions,\n) => {\n const fromBody = normalizeOpenapiErrorBody(err);\n if (fromBody) {\n handleAuthError(fromBody, setError, t, options);\n return;\n }\n if (isAuthError(err)) {\n handleAuthError(err, setError, t, options);\n } else {\n handleGenericError(err, setError, t, options);\n }\n};\n"],"mappings":";AAAO,IAAM,qBAGT;AAAA,EACF,gBAAgB;AAAA,IACd,OAAO;AAAA,IACP,aACE;AAAA,EACJ;AAAA,EACA,kBAAkB;AAAA,IAChB,OAAO;AAAA,IACP,aAAa;AAAA,EACf;AAAA,EACA,aAAa;AAAA,IACX,OAAO;AAAA,IACP,aACE;AAAA,EACJ;A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from "./chunk-DPH2PHK3.js";
|
|
7
7
|
import {
|
|
8
8
|
useTranslator
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HBQK5PAH.js";
|
|
10
10
|
import {
|
|
11
11
|
useApi,
|
|
12
12
|
useConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A5ON3RKH.js";
|
|
14
14
|
|
|
15
15
|
// src/components/auth/forgot-password.tsx
|
|
16
16
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -161,4 +161,4 @@ var ForgotPassword = () => {
|
|
|
161
161
|
export {
|
|
162
162
|
ForgotPassword
|
|
163
163
|
};
|
|
164
|
-
//# sourceMappingURL=chunk-
|
|
164
|
+
//# sourceMappingURL=chunk-XLPPZKU2.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TFVBER3Y.js";
|
|
4
4
|
import {
|
|
5
5
|
useApi
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A5ON3RKH.js";
|
|
7
7
|
|
|
8
8
|
// src/components/iam/sessions.tsx
|
|
9
9
|
import { Button } from "@mesob/ui/components";
|
|
@@ -95,4 +95,4 @@ function Sessions() {
|
|
|
95
95
|
export {
|
|
96
96
|
Sessions
|
|
97
97
|
};
|
|
98
|
-
//# sourceMappingURL=chunk-
|
|
98
|
+
//# sourceMappingURL=chunk-XO5LLEGV.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TFVBER3Y.js";
|
|
4
4
|
import {
|
|
5
5
|
useApi
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A5ON3RKH.js";
|
|
7
7
|
|
|
8
8
|
// src/components/iam/roles.tsx
|
|
9
9
|
import { Badge, Button } from "@mesob/ui/components";
|
|
@@ -115,4 +115,4 @@ function Roles() {
|
|
|
115
115
|
export {
|
|
116
116
|
Roles
|
|
117
117
|
};
|
|
118
|
-
//# sourceMappingURL=chunk-
|
|
118
|
+
//# sourceMappingURL=chunk-XZAYLXLS.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IAMGuard
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BM3YKYGC.js";
|
|
4
4
|
import {
|
|
5
5
|
useApi,
|
|
6
6
|
useConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-A5ON3RKH.js";
|
|
8
8
|
|
|
9
9
|
// src/components/iam/role-detail-page.tsx
|
|
10
10
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -200,4 +200,4 @@ function RoleDetailSkeleton() {
|
|
|
200
200
|
export {
|
|
201
201
|
RoleDetailPage
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-YCVDEX5U.js.map
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Link,
|
|
6
6
|
authApi$
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DRM44QBR.js";
|
|
8
8
|
import {
|
|
9
9
|
defaultEntityQueryOptions
|
|
10
10
|
} from "./chunk-NPW7D2HZ.js";
|
|
11
11
|
import {
|
|
12
12
|
IAMGuard
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BM3YKYGC.js";
|
|
14
14
|
import {
|
|
15
15
|
useApi,
|
|
16
16
|
useConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-A5ON3RKH.js";
|
|
18
18
|
|
|
19
19
|
// src/components/iam/tenants-page.tsx
|
|
20
20
|
import {
|
|
@@ -541,4 +541,4 @@ function TenantsPageContent() {
|
|
|
541
541
|
export {
|
|
542
542
|
TenantsPage
|
|
543
543
|
};
|
|
544
|
-
//# sourceMappingURL=chunk-
|
|
544
|
+
//# sourceMappingURL=chunk-YQU3KG74.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useApi
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A5ON3RKH.js";
|
|
4
4
|
|
|
5
5
|
// src/components/iam/permission-selector.tsx
|
|
6
6
|
import {
|
|
@@ -90,4 +90,4 @@ function PermissionSelector({
|
|
|
90
90
|
export {
|
|
91
91
|
PermissionSelector
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-YVHMCTLM.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OtpVerificationModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZOKBN5H4.js";
|
|
4
4
|
import {
|
|
5
5
|
useApi,
|
|
6
6
|
useSession
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-A5ON3RKH.js";
|
|
8
8
|
|
|
9
9
|
// src/components/profile/verify-change-phone-form.tsx
|
|
10
10
|
import { useState } from "react";
|
|
@@ -140,4 +140,4 @@ function VerifyChangePhoneForm({
|
|
|
140
140
|
export {
|
|
141
141
|
VerifyChangePhoneForm
|
|
142
142
|
};
|
|
143
|
-
//# sourceMappingURL=chunk-
|
|
143
|
+
//# sourceMappingURL=chunk-Z4FXOZEJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VerificationForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EIJFTUTM.js";
|
|
4
4
|
|
|
5
5
|
// src/components/profile/otp-verification-modal.tsx
|
|
6
6
|
import {
|
|
@@ -52,4 +52,4 @@ function OtpVerificationModal({
|
|
|
52
52
|
export {
|
|
53
53
|
OtpVerificationModal
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=chunk-
|
|
55
|
+
//# sourceMappingURL=chunk-ZOKBN5H4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Countdown
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-IFFWIROT.js";
|
|
5
|
+
import "../../chunk-HBQK5PAH.js";
|
|
6
|
+
import "../../chunk-A5ON3RKH.js";
|
|
7
7
|
export {
|
|
8
8
|
Countdown
|
|
9
9
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ForgotPassword
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-XLPPZKU2.js";
|
|
5
|
+
import "../../chunk-W7UHDTBI.js";
|
|
6
6
|
import "../../chunk-DPH2PHK3.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-HBQK5PAH.js";
|
|
8
|
+
import "../../chunk-A5ON3RKH.js";
|
|
9
9
|
export {
|
|
10
10
|
ForgotPassword
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ResetPasswordForm
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-W2HMARW4.js";
|
|
5
|
+
import "../../chunk-W7UHDTBI.js";
|
|
6
6
|
import "../../chunk-DPH2PHK3.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-HBQK5PAH.js";
|
|
8
|
+
import "../../chunk-A5ON3RKH.js";
|
|
9
9
|
export {
|
|
10
10
|
ResetPasswordForm
|
|
11
11
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SetPassword
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-5XCUGCW7.js";
|
|
5
5
|
import "../../chunk-V2W3WPCZ.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-W7UHDTBI.js";
|
|
7
7
|
import "../../chunk-DPH2PHK3.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-HBQK5PAH.js";
|
|
9
|
+
import "../../chunk-A5ON3RKH.js";
|
|
10
10
|
export {
|
|
11
11
|
SetPassword
|
|
12
12
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SignIn
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-GQFTH5DQ.js";
|
|
5
5
|
import "../../chunk-V2W3WPCZ.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-W7UHDTBI.js";
|
|
7
7
|
import "../../chunk-DPH2PHK3.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-HBQK5PAH.js";
|
|
9
|
+
import "../../chunk-A5ON3RKH.js";
|
|
10
10
|
export {
|
|
11
11
|
SignIn
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SignUp
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-DCWKYK3D.js";
|
|
5
|
+
import "../../chunk-W7UHDTBI.js";
|
|
6
6
|
import "../../chunk-DPH2PHK3.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-HBQK5PAH.js";
|
|
8
|
+
import "../../chunk-A5ON3RKH.js";
|
|
9
9
|
export {
|
|
10
10
|
SignUp
|
|
11
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
VerificationForm
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-EIJFTUTM.js";
|
|
5
|
+
import "../../chunk-IFFWIROT.js";
|
|
6
|
+
import "../../chunk-HBQK5PAH.js";
|
|
7
|
+
import "../../chunk-A5ON3RKH.js";
|
|
8
8
|
export {
|
|
9
9
|
VerificationForm
|
|
10
10
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
VerifyEmail
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-FLGP4ROM.js";
|
|
5
|
+
import "../../chunk-EIJFTUTM.js";
|
|
6
|
+
import "../../chunk-IFFWIROT.js";
|
|
7
|
+
import "../../chunk-W7UHDTBI.js";
|
|
8
8
|
import "../../chunk-DPH2PHK3.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-HBQK5PAH.js";
|
|
10
|
+
import "../../chunk-A5ON3RKH.js";
|
|
11
11
|
export {
|
|
12
12
|
VerifyEmail
|
|
13
13
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
VerifyPhone
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-FCPN2FD7.js";
|
|
5
|
+
import "../../chunk-EIJFTUTM.js";
|
|
6
|
+
import "../../chunk-IFFWIROT.js";
|
|
7
|
+
import "../../chunk-W7UHDTBI.js";
|
|
8
8
|
import "../../chunk-DPH2PHK3.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-HBQK5PAH.js";
|
|
10
|
+
import "../../chunk-A5ON3RKH.js";
|
|
11
11
|
export {
|
|
12
12
|
VerifyPhone
|
|
13
13
|
};
|
|
@@ -15,7 +15,7 @@ export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBo
|
|
|
15
15
|
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
16
16
|
componentDidCatch(_error: Error, _errorInfo: ErrorInfo): void;
|
|
17
17
|
reset: () => void;
|
|
18
|
-
render(): string | number | bigint | boolean |
|
|
18
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
19
19
|
}
|
|
20
20
|
export declare function AuthErrorBoundary({ children }: {
|
|
21
21
|
children: ReactNode;
|