@mesob/auth-react 0.3.5 → 0.4.1
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-35TCGAW3.js +98 -0
- package/dist/chunk-35TCGAW3.js.map +1 -0
- package/dist/chunk-3BZC4VVD.js +36 -0
- package/dist/chunk-3BZC4VVD.js.map +1 -0
- package/dist/chunk-45UCLKH2.js +188 -0
- package/dist/chunk-45UCLKH2.js.map +1 -0
- package/dist/chunk-55BMNC4S.js +115 -0
- package/dist/chunk-55BMNC4S.js.map +1 -0
- package/dist/chunk-5F5FZMHE.js +94 -0
- package/dist/chunk-5F5FZMHE.js.map +1 -0
- package/dist/chunk-5M7I7WNH.js +31 -0
- package/dist/chunk-5M7I7WNH.js.map +1 -0
- package/dist/chunk-72YRO3A7.js +288 -0
- package/dist/chunk-72YRO3A7.js.map +1 -0
- package/dist/chunk-7KXTL6NT.js +48 -0
- package/dist/chunk-7KXTL6NT.js.map +1 -0
- package/dist/chunk-AIMD6R6U.js +466 -0
- package/dist/chunk-AIMD6R6U.js.map +1 -0
- package/dist/chunk-BGSHXIHI.js +953 -0
- package/dist/chunk-BGSHXIHI.js.map +1 -0
- package/dist/chunk-BZ42QPXE.js +271 -0
- package/dist/chunk-BZ42QPXE.js.map +1 -0
- package/dist/chunk-C26NPUPI.js +272 -0
- package/dist/chunk-C26NPUPI.js.map +1 -0
- package/dist/chunk-C2KFZ57H.js +194 -0
- package/dist/chunk-C2KFZ57H.js.map +1 -0
- package/dist/chunk-C5ZW7FD2.js +46 -0
- package/dist/chunk-C5ZW7FD2.js.map +1 -0
- package/dist/chunk-DPH2PHK3.js +32 -0
- package/dist/chunk-DPH2PHK3.js.map +1 -0
- package/dist/chunk-EQ4346FE.js +139 -0
- package/dist/chunk-EQ4346FE.js.map +1 -0
- package/dist/chunk-FAHN63DA.js +535 -0
- package/dist/chunk-FAHN63DA.js.map +1 -0
- package/dist/chunk-FBABIA5J.js +345 -0
- package/dist/chunk-FBABIA5J.js.map +1 -0
- package/dist/chunk-FFR5UHTS.js +99 -0
- package/dist/chunk-FFR5UHTS.js.map +1 -0
- package/dist/chunk-FHOLUOOZ.js +164 -0
- package/dist/chunk-FHOLUOOZ.js.map +1 -0
- package/dist/chunk-G2AW2H36.js +11 -0
- package/dist/chunk-G2AW2H36.js.map +1 -0
- package/dist/chunk-G7SCXCCM.js +89 -0
- package/dist/chunk-G7SCXCCM.js.map +1 -0
- package/dist/chunk-GP7GIUI3.js +64 -0
- package/dist/chunk-GP7GIUI3.js.map +1 -0
- package/dist/chunk-GRT6EBR6.js +93 -0
- package/dist/chunk-GRT6EBR6.js.map +1 -0
- package/dist/chunk-GXKBVCVS.js +102 -0
- package/dist/chunk-GXKBVCVS.js.map +1 -0
- package/dist/chunk-HOO2VLNM.js +305 -0
- package/dist/chunk-HOO2VLNM.js.map +1 -0
- package/dist/chunk-II5MLBSB.js +183 -0
- package/dist/chunk-II5MLBSB.js.map +1 -0
- package/dist/chunk-ISNNPMF7.js +95 -0
- package/dist/chunk-ISNNPMF7.js.map +1 -0
- package/dist/chunk-JB6XVST4.js +141 -0
- package/dist/chunk-JB6XVST4.js.map +1 -0
- package/dist/chunk-JUHBVG5Q.js +303 -0
- package/dist/chunk-JUHBVG5Q.js.map +1 -0
- package/dist/chunk-JZZJCBAE.js +118 -0
- package/dist/chunk-JZZJCBAE.js.map +1 -0
- package/dist/chunk-KWG4DSB5.js +55 -0
- package/dist/chunk-KWG4DSB5.js.map +1 -0
- package/dist/chunk-L4CGIO2I.js +265 -0
- package/dist/chunk-L4CGIO2I.js.map +1 -0
- package/dist/chunk-LNG736CV.js +19 -0
- package/dist/chunk-LNG736CV.js.map +1 -0
- package/dist/chunk-LSYKVFJA.js +98 -0
- package/dist/chunk-LSYKVFJA.js.map +1 -0
- package/dist/chunk-LZR4YUDV.js +107 -0
- package/dist/chunk-LZR4YUDV.js.map +1 -0
- package/dist/chunk-MELNS4QH.js +255 -0
- package/dist/chunk-MELNS4QH.js.map +1 -0
- package/dist/chunk-MS2JUZ3N.js +94 -0
- package/dist/chunk-MS2JUZ3N.js.map +1 -0
- package/dist/chunk-NEO72TMH.js +32 -0
- package/dist/chunk-NEO72TMH.js.map +1 -0
- package/dist/chunk-NJPNTAAT.js +68 -0
- package/dist/chunk-NJPNTAAT.js.map +1 -0
- package/dist/chunk-NPW7D2HZ.js +16 -0
- package/dist/chunk-NPW7D2HZ.js.map +1 -0
- package/dist/chunk-OAN4EXU4.js +310 -0
- package/dist/chunk-OAN4EXU4.js.map +1 -0
- package/dist/chunk-OFLSINVU.js +138 -0
- package/dist/chunk-OFLSINVU.js.map +1 -0
- package/dist/chunk-OHIIMUQC.js +286 -0
- package/dist/chunk-OHIIMUQC.js.map +1 -0
- package/dist/chunk-OQGJX37L.js +239 -0
- package/dist/chunk-OQGJX37L.js.map +1 -0
- package/dist/chunk-OYHH7HQG.js +65 -0
- package/dist/chunk-OYHH7HQG.js.map +1 -0
- package/dist/chunk-PSRIZMWJ.js +486 -0
- package/dist/chunk-PSRIZMWJ.js.map +1 -0
- package/dist/chunk-QNCE2B5O.js +23 -0
- package/dist/chunk-QNCE2B5O.js.map +1 -0
- package/dist/chunk-RLPZFLAS.js +23 -0
- package/dist/chunk-RLPZFLAS.js.map +1 -0
- package/dist/chunk-RT5C7IAE.js +38 -0
- package/dist/chunk-RT5C7IAE.js.map +1 -0
- package/dist/chunk-S3CXCCKL.js +272 -0
- package/dist/chunk-S3CXCCKL.js.map +1 -0
- package/dist/chunk-SOCZK4CV.js +69 -0
- package/dist/chunk-SOCZK4CV.js.map +1 -0
- package/dist/chunk-T6P7UHVP.js +34 -0
- package/dist/chunk-T6P7UHVP.js.map +1 -0
- package/dist/chunk-TFVBER3Y.js +52 -0
- package/dist/chunk-TFVBER3Y.js.map +1 -0
- package/dist/chunk-UXOZ2TME.js +104 -0
- package/dist/chunk-UXOZ2TME.js.map +1 -0
- package/dist/chunk-V2W3WPCZ.js +22 -0
- package/dist/chunk-V2W3WPCZ.js.map +1 -0
- package/dist/chunk-YZ264S2L.js +286 -0
- package/dist/chunk-YZ264S2L.js.map +1 -0
- package/dist/chunk-ZESFGO3K.js +28 -0
- package/dist/chunk-ZESFGO3K.js.map +1 -0
- package/dist/chunk-ZG6WFZHX.js +143 -0
- package/dist/chunk-ZG6WFZHX.js.map +1 -0
- package/dist/components/auth/auth-card.d.ts +3 -6
- package/dist/components/auth/auth-card.js +3 -7
- package/dist/components/auth/auth-card.js.map +1 -1
- package/dist/components/auth/auth-layout.d.ts +3 -6
- package/dist/components/auth/auth-layout.js +3 -28
- package/dist/components/auth/auth-layout.js.map +1 -1
- package/dist/components/auth/countdown.d.ts +2 -5
- package/dist/components/auth/countdown.js +5 -130
- package/dist/components/auth/countdown.js.map +1 -1
- package/dist/components/auth/forgot-password.d.ts +1 -5
- package/dist/components/auth/forgot-password.js +6 -361
- package/dist/components/auth/forgot-password.js.map +1 -1
- package/dist/components/auth/reset-password-form.d.ts +2 -5
- package/dist/components/auth/reset-password-form.js +6 -483
- package/dist/components/auth/reset-password-form.js.map +1 -1
- package/dist/components/auth/set-password.d.ts +6 -0
- package/dist/components/auth/set-password.js +13 -0
- package/dist/components/auth/set-password.js.map +1 -0
- package/dist/components/auth/sign-in.d.ts +2 -5
- package/dist/components/auth/sign-in.js +7 -540
- package/dist/components/auth/sign-in.js.map +1 -1
- package/dist/components/auth/sign-up.d.ts +2 -5
- package/dist/components/auth/sign-up.js +6 -509
- package/dist/components/auth/sign-up.js.map +1 -1
- package/dist/components/auth/verification-form.d.ts +13 -2
- package/dist/components/auth/verification-form.js +5 -217
- package/dist/components/auth/verification-form.js.map +1 -1
- package/dist/components/auth/verify-email.d.ts +2 -5
- package/dist/components/auth/verify-email.js +8 -523
- package/dist/components/auth/verify-email.js.map +1 -1
- package/dist/components/auth/verify-phone.d.ts +2 -5
- package/dist/components/auth/verify-phone.js +8 -528
- package/dist/components/auth/verify-phone.js.map +1 -1
- package/dist/components/authorization/deny.d.ts +8 -0
- package/dist/components/authorization/deny.js +9 -0
- package/dist/components/authorization/deny.js.map +1 -0
- package/dist/components/authorization/grant.d.ts +9 -0
- package/dist/components/authorization/grant.js +9 -0
- package/dist/components/authorization/grant.js.map +1 -0
- package/dist/components/error-boundary.d.ts +6 -10
- package/dist/components/error-boundary.js +4 -43
- package/dist/components/error-boundary.js.map +1 -1
- package/dist/components/iam/permission-selector.d.ts +16 -0
- package/dist/components/iam/permission-selector.js +9 -0
- package/dist/components/iam/permission-selector.js.map +1 -0
- package/dist/components/iam/permissions-page.d.ts +1 -0
- package/dist/components/iam/permissions-page.js +10 -0
- package/dist/components/iam/permissions-page.js.map +1 -0
- package/dist/components/iam/permissions.d.ts +1 -5
- package/dist/components/iam/permissions.js +5 -217
- package/dist/components/iam/permissions.js.map +1 -1
- package/dist/components/iam/role-detail-layout.d.ts +8 -0
- package/dist/components/iam/role-detail-layout.js +9 -0
- package/dist/components/iam/role-detail-layout.js.map +1 -0
- package/dist/components/iam/role-detail-page.d.ts +6 -0
- package/dist/components/iam/role-detail-page.js +9 -0
- package/dist/components/iam/role-detail-page.js.map +1 -0
- package/dist/components/iam/role-permissions-page.d.ts +5 -0
- package/dist/components/iam/role-permissions-page.js +10 -0
- package/dist/components/iam/role-permissions-page.js.map +1 -0
- package/dist/components/iam/roles-page.d.ts +1 -0
- package/dist/components/iam/roles-page.js +13 -0
- package/dist/components/iam/roles-page.js.map +1 -0
- package/dist/components/iam/roles.d.ts +1 -5
- package/dist/components/iam/roles.js +5 -215
- package/dist/components/iam/roles.js.map +1 -1
- package/dist/components/iam/sessions-page.d.ts +1 -0
- package/dist/components/iam/sessions-page.js +12 -0
- package/dist/components/iam/sessions-page.js.map +1 -0
- package/dist/components/iam/sessions.d.ts +1 -5
- package/dist/components/iam/sessions.js +5 -198
- package/dist/components/iam/sessions.js.map +1 -1
- package/dist/components/iam/tenants-page.d.ts +1 -0
- package/dist/components/iam/tenants-page.js +13 -0
- package/dist/components/iam/tenants-page.js.map +1 -0
- package/dist/components/iam/tenants.d.ts +1 -5
- package/dist/components/iam/tenants.js +5 -204
- package/dist/components/iam/tenants.js.map +1 -1
- package/dist/components/iam/users-page.d.ts +1 -0
- package/dist/components/iam/users-page.js +13 -0
- package/dist/components/iam/users-page.js.map +1 -0
- package/dist/components/iam/users.d.ts +1 -5
- package/dist/components/iam/users.js +5 -213
- package/dist/components/iam/users.js.map +1 -1
- package/dist/components/profile/account.d.ts +1 -5
- package/dist/components/profile/account.js +5 -61
- package/dist/components/profile/account.js.map +1 -1
- package/dist/components/profile/change-email-form.d.ts +1 -5
- package/dist/components/profile/change-email-form.js +9 -735
- package/dist/components/profile/change-email-form.js.map +1 -1
- package/dist/components/profile/change-password-form.d.ts +1 -5
- package/dist/components/profile/change-password-form.js +3 -262
- package/dist/components/profile/change-password-form.js.map +1 -1
- package/dist/components/profile/change-phone-form.d.ts +1 -5
- package/dist/components/profile/change-phone-form.js +10 -772
- package/dist/components/profile/change-phone-form.js.map +1 -1
- package/dist/components/profile/change-profile.d.ts +3 -6
- package/dist/components/profile/change-profile.js +2 -32
- package/dist/components/profile/change-profile.js.map +1 -1
- package/dist/components/profile/otp-verification-modal.d.ts +2 -5
- package/dist/components/profile/otp-verification-modal.js +6 -266
- package/dist/components/profile/otp-verification-modal.js.map +1 -1
- package/dist/components/profile/profile-layout.d.ts +4 -0
- package/dist/components/profile/profile-layout.js +10 -0
- package/dist/components/profile/profile-layout.js.map +1 -0
- package/dist/components/profile/request-change-email-form.d.ts +2 -5
- package/dist/components/profile/request-change-email-form.js +4 -285
- package/dist/components/profile/request-change-email-form.js.map +1 -1
- package/dist/components/profile/request-change-phone-form.d.ts +2 -5
- package/dist/components/profile/request-change-phone-form.js +5 -323
- package/dist/components/profile/request-change-phone-form.js.map +1 -1
- package/dist/components/profile/security.d.ts +1 -5
- package/dist/components/profile/security.js +15 -1474
- package/dist/components/profile/security.js.map +1 -1
- package/dist/components/profile/verify-change-email-form.d.ts +2 -5
- package/dist/components/profile/verify-change-email-form.js +7 -407
- package/dist/components/profile/verify-change-email-form.js.map +1 -1
- package/dist/components/profile/verify-change-phone-form.d.ts +2 -5
- package/dist/components/profile/verify-change-phone-form.js +7 -411
- package/dist/components/profile/verify-change-phone-form.js.map +1 -1
- package/dist/components/shared/data-table.d.ts +5 -8
- package/dist/components/shared/data-table.js +3 -79
- package/dist/components/shared/data-table.js.map +1 -1
- package/dist/components/skeletons/auth-form-skeleton.d.ts +1 -5
- package/dist/components/skeletons/auth-form-skeleton.js +3 -27
- package/dist/components/skeletons/auth-form-skeleton.js.map +1 -1
- package/dist/components/skeletons/profile-skeleton.d.ts +1 -5
- package/dist/components/skeletons/profile-skeleton.js +3 -28
- package/dist/components/skeletons/profile-skeleton.js.map +1 -1
- package/dist/components/skeletons/table-skeleton.d.ts +2 -5
- package/dist/components/skeletons/table-skeleton.js +3 -34
- package/dist/components/skeletons/table-skeleton.js.map +1 -1
- package/dist/constants/auth.error.codes.d.ts +5 -0
- package/dist/hooks/use-session-cookie-name.d.ts +1 -0
- package/dist/hooks/use-translator.d.ts +1 -0
- package/dist/index.d.ts +50 -84
- package/dist/index.js +160 -3861
- package/dist/index.js.map +1 -1
- package/dist/lib/query-options.d.ts +10 -0
- package/dist/lib/translations.d.ts +3 -0
- package/dist/pages/auth/forgot-password.d.ts +3 -0
- package/dist/pages/auth/forgot-password.js +22 -0
- package/dist/pages/auth/forgot-password.js.map +1 -0
- package/dist/pages/auth/layout.d.ts +4 -0
- package/dist/pages/auth/layout.js +39 -0
- package/dist/pages/auth/layout.js.map +1 -0
- package/dist/pages/auth/reset-password.d.ts +7 -0
- package/dist/pages/auth/reset-password.js +33 -0
- package/dist/pages/auth/reset-password.js.map +1 -0
- package/dist/pages/auth/set-password.d.ts +7 -0
- package/dist/pages/auth/set-password.js +28 -0
- package/dist/pages/auth/set-password.js.map +1 -0
- package/dist/pages/auth/sign-in.d.ts +7 -0
- package/dist/pages/auth/sign-in.js +26 -0
- package/dist/pages/auth/sign-in.js.map +1 -0
- package/dist/pages/auth/sign-up.d.ts +7 -0
- package/dist/pages/auth/sign-up.js +33 -0
- package/dist/pages/auth/sign-up.js.map +1 -0
- package/dist/pages/auth/verify-email.d.ts +7 -0
- package/dist/pages/auth/verify-email.js +38 -0
- package/dist/pages/auth/verify-email.js.map +1 -0
- package/dist/pages/auth/verify-phone.d.ts +7 -0
- package/dist/pages/auth/verify-phone.js +47 -0
- package/dist/pages/auth/verify-phone.js.map +1 -0
- package/dist/pages/iam/permissions/_components/permission-card.d.ts +6 -0
- package/dist/pages/iam/permissions/_components/permissions-data.d.ts +7 -0
- package/dist/pages/iam/permissions/_components/permissions-list.d.ts +14 -0
- package/dist/pages/iam/permissions.d.ts +1 -0
- package/dist/pages/iam/permissions.js +10 -0
- package/dist/pages/iam/permissions.js.map +1 -0
- package/dist/pages/iam/role-detail-layout.d.ts +9 -0
- package/dist/pages/iam/role-detail-layout.js +18 -0
- package/dist/pages/iam/role-detail-layout.js.map +1 -0
- package/dist/pages/iam/role-detail.d.ts +9 -0
- package/dist/pages/iam/role-detail.js +22 -0
- package/dist/pages/iam/role-detail.js.map +1 -0
- package/dist/pages/iam/role-permissions.d.ts +9 -0
- package/dist/pages/iam/role-permissions.js +23 -0
- package/dist/pages/iam/role-permissions.js.map +1 -0
- package/dist/pages/iam/role-users.d.ts +9 -0
- package/dist/pages/iam/role-users.js +26 -0
- package/dist/pages/iam/role-users.js.map +1 -0
- package/dist/pages/iam/roles/_components/role-card.d.ts +7 -0
- package/dist/pages/iam/roles/_components/role-form.d.ts +9 -0
- package/dist/pages/iam/roles/_components/role-selector.d.ts +11 -0
- package/dist/pages/iam/roles/_components/roles-data.d.ts +16 -0
- package/dist/pages/iam/roles/_components/roles-list.d.ts +15 -0
- package/dist/pages/iam/roles/users/_components/role-users-page.d.ts +5 -0
- package/dist/pages/iam/roles.d.ts +1 -0
- package/dist/pages/iam/roles.js +13 -0
- package/dist/pages/iam/roles.js.map +1 -0
- package/dist/pages/iam/sessions/_components/session-card.d.ts +6 -0
- package/dist/pages/iam/sessions/_components/sessions-data.d.ts +7 -0
- package/dist/pages/iam/sessions/_components/sessions-list.d.ts +14 -0
- package/dist/pages/iam/sessions.d.ts +1 -0
- package/dist/pages/iam/sessions.js +12 -0
- package/dist/pages/iam/sessions.js.map +1 -0
- package/dist/pages/iam/shared/navigation.d.ts +8 -0
- package/dist/pages/iam/shared/page-helpers.d.ts +12 -0
- package/dist/pages/iam/tenant-detail.d.ts +7 -0
- package/dist/pages/iam/tenant-detail.js +18 -0
- package/dist/pages/iam/tenant-detail.js.map +1 -0
- package/dist/pages/iam/tenants/_components/tenant-card.d.ts +6 -0
- package/dist/pages/iam/tenants/_components/tenant-form.d.ts +9 -0
- package/dist/pages/iam/tenants/_components/tenant-selector.d.ts +13 -0
- package/dist/pages/iam/tenants/_components/tenants-data.d.ts +12 -0
- package/dist/pages/iam/tenants/_components/tenants-list.d.ts +15 -0
- package/dist/pages/iam/tenants/tenant-detail-page-content.d.ts +5 -0
- package/dist/pages/iam/tenants.d.ts +1 -0
- package/dist/pages/iam/tenants.js +13 -0
- package/dist/pages/iam/tenants.js.map +1 -0
- package/dist/pages/iam/user-activity.d.ts +7 -0
- package/dist/pages/iam/user-activity.js +21 -0
- package/dist/pages/iam/user-activity.js.map +1 -0
- package/dist/pages/iam/user-detail-layout.d.ts +9 -0
- package/dist/pages/iam/user-detail-layout.js +18 -0
- package/dist/pages/iam/user-detail-layout.js.map +1 -0
- package/dist/pages/iam/user-detail.d.ts +7 -0
- package/dist/pages/iam/user-detail.js +15 -0
- package/dist/pages/iam/user-detail.js.map +1 -0
- package/dist/pages/iam/users/_components/bulk-invite-user-form.d.ts +6 -0
- package/dist/pages/iam/users/_components/invite-user-form.d.ts +6 -0
- package/dist/pages/iam/users/_components/invite-user-shared.d.ts +25 -0
- package/dist/pages/iam/users/_components/user-card.d.ts +6 -0
- package/dist/pages/iam/users/_components/user-detail-layout-content.d.ts +6 -0
- package/dist/pages/iam/users/_components/user-detail-page-content.d.ts +5 -0
- package/dist/pages/iam/users/_components/user-form.d.ts +9 -0
- package/dist/pages/iam/users/_components/user-selector.d.ts +12 -0
- package/dist/pages/iam/users/_components/users-data.d.ts +22 -0
- package/dist/pages/iam/users/_components/users-list.d.ts +15 -0
- package/dist/pages/iam/users/activity/_components/role-section.d.ts +3 -0
- package/dist/pages/iam/users/activity/user-activity-page-content.d.ts +5 -0
- package/dist/pages/iam/users.d.ts +1 -0
- package/dist/pages/iam/users.js +13 -0
- package/dist/pages/iam/users.js.map +1 -0
- package/dist/pages/profile/_components/profile-sidebar.d.ts +1 -0
- package/dist/pages/profile/account.d.ts +1 -0
- package/dist/pages/profile/account.js +33 -0
- package/dist/pages/profile/account.js.map +1 -0
- package/dist/pages/profile/layout.d.ts +1 -0
- package/dist/pages/profile/layout.js +10 -0
- package/dist/pages/profile/layout.js.map +1 -0
- package/dist/pages/profile/security.d.ts +1 -0
- package/dist/pages/profile/security.js +44 -0
- package/dist/pages/profile/security.js.map +1 -0
- package/dist/provider.d.ts +53 -0
- package/dist/types.d.ts +96 -0
- package/dist/utils/cookie.d.ts +2 -0
- package/dist/utils/custom-fetch.d.ts +2 -0
- package/dist/utils/handle-error.d.ts +7 -0
- package/dist/utils/normalize-phone.d.ts +1 -0
- package/package.json +103 -4
- package/dist/types-vcfvnAzQ.d.ts +0 -69
- package/dist/verification-form-ipSRTtQB.d.ts +0 -22
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Role } from './roles-data';
|
|
3
|
+
type RoleSelectorProps = {
|
|
4
|
+
trigger: ReactNode;
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
onSelect: (roles: Role[]) => void;
|
|
7
|
+
modalSize?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
8
|
+
contentClassName?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function RoleSelector({ trigger, multiple, onSelect, modalSize, contentClassName, }: RoleSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type Role = {
|
|
2
|
+
id: string;
|
|
3
|
+
tenantId: string;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
updatedAt: string;
|
|
6
|
+
name?: unknown;
|
|
7
|
+
description?: unknown;
|
|
8
|
+
code: string;
|
|
9
|
+
isSystem?: boolean;
|
|
10
|
+
isEditable?: boolean;
|
|
11
|
+
isDeletable?: boolean;
|
|
12
|
+
permissionIds?: string[];
|
|
13
|
+
permissionCount?: number;
|
|
14
|
+
userCount?: number;
|
|
15
|
+
};
|
|
16
|
+
export declare function str(v: unknown): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Role } from './roles-data';
|
|
2
|
+
type RolesListProps = {
|
|
3
|
+
data: Role[];
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
view: 'table' | 'card';
|
|
6
|
+
pageIndex: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
pageCount: number;
|
|
9
|
+
totalRows: number;
|
|
10
|
+
onPageChange: (page: number) => void;
|
|
11
|
+
onPageSizeChange: (size: number) => void;
|
|
12
|
+
onCreateNew?: () => void;
|
|
13
|
+
};
|
|
14
|
+
export declare function RolesList({ data, isLoading, view, pageIndex, pageSize, pageCount, totalRows, onPageChange, onPageSizeChange, onCreateNew, }: RolesListProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RolesPage as default } from '../../components/iam/roles-page';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
RolesPage
|
|
4
|
+
} from "../../chunk-JB6XVST4.js";
|
|
5
|
+
import "../../chunk-AIMD6R6U.js";
|
|
6
|
+
import "../../chunk-3BZC4VVD.js";
|
|
7
|
+
import "../../chunk-T6P7UHVP.js";
|
|
8
|
+
import "../../chunk-NPW7D2HZ.js";
|
|
9
|
+
import "../../chunk-72YRO3A7.js";
|
|
10
|
+
export {
|
|
11
|
+
RolesPage as default
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=roles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Session } from './sessions-data';
|
|
2
|
+
type SessionsListProps = {
|
|
3
|
+
data: Session[];
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
view: 'table' | 'card';
|
|
6
|
+
pageIndex: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
pageCount: number;
|
|
9
|
+
totalRows: number;
|
|
10
|
+
onPageChange: (page: number) => void;
|
|
11
|
+
onPageSizeChange: (size: number) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function SessionsList({ data, isLoading, view, pageIndex, pageSize, pageCount, totalRows, onPageChange, onPageSizeChange, }: SessionsListProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SessionsPage as default } from '../../components/iam/sessions-page';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
SessionsPage
|
|
4
|
+
} from "../../chunk-L4CGIO2I.js";
|
|
5
|
+
import "../../chunk-3BZC4VVD.js";
|
|
6
|
+
import "../../chunk-T6P7UHVP.js";
|
|
7
|
+
import "../../chunk-NPW7D2HZ.js";
|
|
8
|
+
import "../../chunk-72YRO3A7.js";
|
|
9
|
+
export {
|
|
10
|
+
SessionsPage as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=sessions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
type AppLinkProps = React.ComponentProps<'a'> & {
|
|
3
|
+
href: string;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare function AppLink({ href, children, ...props }: AppLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function useNavigate(): (href: string) => void;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import { AppLink } from './navigation';
|
|
3
|
+
export { defaultEntityQueryOptions } from '../../../lib/query-options';
|
|
4
|
+
type HookArgs = [string, string, ...unknown[]];
|
|
5
|
+
export declare const authApi$: {
|
|
6
|
+
useQuery(args_0: string, args_1: string, ...args: unknown[]): any;
|
|
7
|
+
useMutation(args_0: string, args_1: string, ...args: unknown[]): any;
|
|
8
|
+
};
|
|
9
|
+
export declare function Link(props: ComponentProps<typeof AppLink>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function useRouter(): {
|
|
11
|
+
push: (href: string) => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TenantDetailPageContent
|
|
3
|
+
} from "../../chunk-OFLSINVU.js";
|
|
4
|
+
import "../../chunk-LNG736CV.js";
|
|
5
|
+
import "../../chunk-72YRO3A7.js";
|
|
6
|
+
|
|
7
|
+
// src/pages/iam/tenant-detail.tsx
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
async function TenantDetailPage({
|
|
10
|
+
params
|
|
11
|
+
}) {
|
|
12
|
+
const { id } = await params;
|
|
13
|
+
return /* @__PURE__ */ jsx(TenantDetailPageContent, { tenantId: id });
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
TenantDetailPage as default
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=tenant-detail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/pages/iam/tenant-detail.tsx"],"sourcesContent":["import { TenantDetailPageContent } from './tenants/tenant-detail-page-content';\n\ntype TenantDetailPageProps = {\n params: Promise<{ id: string }>;\n};\n\nexport default async function TenantDetailPage({\n params,\n}: TenantDetailPageProps) {\n const { id } = await params;\n\n return <TenantDetailPageContent tenantId={id} />;\n}\n"],"mappings":";;;;;;;AAWS;AALT,eAAO,iBAAwC;AAAA,EAC7C;AACF,GAA0B;AACxB,QAAM,EAAE,GAAG,IAAI,MAAM;AAErB,SAAO,oBAAC,2BAAwB,UAAU,IAAI;AAChD;","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type TenantFormProps = {
|
|
2
|
+
mode: 'new' | 'edit';
|
|
3
|
+
tenantId?: string;
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare function TenantForm({ mode, tenantId, open, onClose, onSuccess, }: TenantFormProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type Tenant } from './tenants-data';
|
|
3
|
+
type TenantSelectorProps = {
|
|
4
|
+
trigger: ReactNode;
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
minSelect?: number;
|
|
7
|
+
maxSelect?: number;
|
|
8
|
+
onSelect: (tenants: Tenant[]) => void;
|
|
9
|
+
modalSize?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
10
|
+
contentClassName?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function TenantSelector({ trigger, multiple, minSelect, maxSelect, onSelect, modalSize, contentClassName, }: TenantSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type Tenant = {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
name?: unknown;
|
|
6
|
+
description?: unknown;
|
|
7
|
+
defaultLanguage: string | null;
|
|
8
|
+
defaultCurrency: string | null;
|
|
9
|
+
timezone: string | null;
|
|
10
|
+
isActive: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare function str(v: unknown): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Tenant } from './tenants-data';
|
|
2
|
+
type TenantsListProps = {
|
|
3
|
+
data: Tenant[];
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
view: 'table' | 'card';
|
|
6
|
+
pageIndex: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
pageCount: number;
|
|
9
|
+
totalRows: number;
|
|
10
|
+
onPageChange: (page: number) => void;
|
|
11
|
+
onPageSizeChange: (size: number) => void;
|
|
12
|
+
onCreateNew?: () => void;
|
|
13
|
+
};
|
|
14
|
+
export declare function TenantsList({ data, isLoading, view, pageIndex, pageSize, pageCount, totalRows, onPageChange, onPageSizeChange, onCreateNew, }: TenantsListProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TenantsPage as default } from '../../components/iam/tenants-page';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
TenantsPage
|
|
4
|
+
} from "../../chunk-FAHN63DA.js";
|
|
5
|
+
import "../../chunk-LNG736CV.js";
|
|
6
|
+
import "../../chunk-3BZC4VVD.js";
|
|
7
|
+
import "../../chunk-T6P7UHVP.js";
|
|
8
|
+
import "../../chunk-NPW7D2HZ.js";
|
|
9
|
+
import "../../chunk-72YRO3A7.js";
|
|
10
|
+
export {
|
|
11
|
+
TenantsPage as default
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=tenants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UserActivityPageContent
|
|
3
|
+
} from "../../chunk-JUHBVG5Q.js";
|
|
4
|
+
import "../../chunk-AIMD6R6U.js";
|
|
5
|
+
import "../../chunk-3BZC4VVD.js";
|
|
6
|
+
import "../../chunk-T6P7UHVP.js";
|
|
7
|
+
import "../../chunk-NPW7D2HZ.js";
|
|
8
|
+
import "../../chunk-72YRO3A7.js";
|
|
9
|
+
|
|
10
|
+
// src/pages/iam/user-activity.tsx
|
|
11
|
+
import { jsx } from "react/jsx-runtime";
|
|
12
|
+
async function UserActivityPage({
|
|
13
|
+
params
|
|
14
|
+
}) {
|
|
15
|
+
const { id } = await params;
|
|
16
|
+
return /* @__PURE__ */ jsx(UserActivityPageContent, { userId: id });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
UserActivityPage as default
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=user-activity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/pages/iam/user-activity.tsx"],"sourcesContent":["import { UserActivityPageContent } from './users/activity/user-activity-page-content';\n\ntype UserActivityPageProps = {\n params: Promise<{ id: string }>;\n};\n\nexport default async function UserActivityPage({\n params,\n}: UserActivityPageProps) {\n const { id } = await params;\n\n return <UserActivityPageContent userId={id} />;\n}\n"],"mappings":";;;;;;;;;;AAWS;AALT,eAAO,iBAAwC;AAAA,EAC7C;AACF,GAA0B;AACxB,QAAM,EAAE,GAAG,IAAI,MAAM;AAErB,SAAO,oBAAC,2BAAwB,QAAQ,IAAI;AAC9C;","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
type UserDetailLayoutPageProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
params: Promise<{
|
|
5
|
+
id: string;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
8
|
+
export default function UserDetailLayoutPage({ children, params, }: UserDetailLayoutPageProps): Promise<import("react/jsx-runtime").JSX.Element>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UserDetailLayoutContent
|
|
3
|
+
} from "../../chunk-SOCZK4CV.js";
|
|
4
|
+
import "../../chunk-72YRO3A7.js";
|
|
5
|
+
|
|
6
|
+
// src/pages/iam/user-detail-layout.tsx
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
async function UserDetailLayoutPage({
|
|
9
|
+
children,
|
|
10
|
+
params
|
|
11
|
+
}) {
|
|
12
|
+
const { id } = await params;
|
|
13
|
+
return /* @__PURE__ */ jsx(UserDetailLayoutContent, { userId: id, children });
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
UserDetailLayoutPage as default
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=user-detail-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/pages/iam/user-detail-layout.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { UserDetailLayoutContent } from './users/_components/user-detail-layout-content';\n\ntype UserDetailLayoutPageProps = {\n children: ReactNode;\n params: Promise<{ id: string }>;\n};\n\nexport default async function UserDetailLayoutPage({\n children,\n params,\n}: UserDetailLayoutPageProps) {\n const { id } = await params;\n\n return (\n <UserDetailLayoutContent userId={id}>{children}</UserDetailLayoutContent>\n );\n}\n"],"mappings":";;;;;;AAeI;AAPJ,eAAO,qBAA4C;AAAA,EACjD;AAAA,EACA;AACF,GAA8B;AAC5B,QAAM,EAAE,GAAG,IAAI,MAAM;AAErB,SACE,oBAAC,2BAAwB,QAAQ,IAAK,UAAS;AAEnD;","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UserDetailPageContent
|
|
3
|
+
} from "../../chunk-NJPNTAAT.js";
|
|
4
|
+
import "../../chunk-72YRO3A7.js";
|
|
5
|
+
|
|
6
|
+
// src/pages/iam/user-detail.tsx
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
async function UserDetailPage({ params }) {
|
|
9
|
+
const { id } = await params;
|
|
10
|
+
return /* @__PURE__ */ jsx(UserDetailPageContent, { userId: id });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
UserDetailPage as default
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=user-detail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/pages/iam/user-detail.tsx"],"sourcesContent":["import { UserDetailPageContent } from './users/_components/user-detail-page-content';\n\ntype UserDetailPageProps = {\n params: Promise<{ id: string }>;\n};\n\nexport default async function UserDetailPage({ params }: UserDetailPageProps) {\n const { id } = await params;\n\n return <UserDetailPageContent userId={id} />;\n}\n"],"mappings":";;;;;;AASS;AAHT,eAAO,eAAsC,EAAE,OAAO,GAAwB;AAC5E,QAAM,EAAE,GAAG,IAAI,MAAM;AAErB,SAAO,oBAAC,yBAAsB,QAAQ,IAAI;AAC5C;","names":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { paths } from '../../../../data/openapi';
|
|
2
|
+
type InviteUserPayload = NonNullable<NonNullable<paths['/users/invite']['post']['requestBody']>['content']['application/json']>;
|
|
3
|
+
type InviteResult = paths['/users/invite']['post']['responses'][201]['content']['application/json'];
|
|
4
|
+
type BulkInviteResponse = paths['/users/invite/bulk']['post']['responses'][200]['content']['application/json'];
|
|
5
|
+
type BulkInviteFailure = BulkInviteResponse['failed'][number];
|
|
6
|
+
declare const inviteTemplateCsv = "fullName,email,phone,emailVerified,phoneVerified,sendVia,password\nLulit Demo,lulit@example.com,,true,false,email,\nAbel Demo,,+251911223344,false,true,sms|email,TempPass123!\nMarta Demo,marta@example.com,+251922334455,true,true,email|sms,";
|
|
7
|
+
declare const defaultInviteUserValues: {
|
|
8
|
+
fullName: string;
|
|
9
|
+
email: string;
|
|
10
|
+
phone: string;
|
|
11
|
+
password: string;
|
|
12
|
+
emailVerified: boolean;
|
|
13
|
+
phoneVerified: boolean;
|
|
14
|
+
viaEmail: boolean;
|
|
15
|
+
viaSms: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare function buildInviteUserPayload(values: typeof defaultInviteUserValues): InviteUserPayload;
|
|
18
|
+
declare function parseBulkInviteCsv(text: string): InviteUserPayload[];
|
|
19
|
+
declare function downloadInviteTemplate(): void;
|
|
20
|
+
declare function InviteResultCard({ result, index, }: {
|
|
21
|
+
result: InviteResult;
|
|
22
|
+
index?: number;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export { buildInviteUserPayload, defaultInviteUserValues, downloadInviteTemplate, inviteTemplateCsv, InviteResultCard, parseBulkInviteCsv, };
|
|
25
|
+
export type { BulkInviteFailure, BulkInviteResponse, InviteResult };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type UserFormProps = {
|
|
2
|
+
mode: 'new' | 'edit';
|
|
3
|
+
userId?: string;
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare function UserForm({ mode, userId, open, onClose, onSuccess, }: UserFormProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { User } from './users-data';
|
|
3
|
+
type UserSelectorProps = {
|
|
4
|
+
trigger: ReactNode;
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
onSelect: (users: User[]) => void;
|
|
7
|
+
excludeIds?: string[];
|
|
8
|
+
modalSize?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
9
|
+
contentClassName?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function UserSelector({ trigger, multiple, onSelect, excludeIds, modalSize, contentClassName, }: UserSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type User = {
|
|
2
|
+
id: string;
|
|
3
|
+
tenantId: string;
|
|
4
|
+
fullName: string;
|
|
5
|
+
email: string | null;
|
|
6
|
+
phone: string | null;
|
|
7
|
+
handle: string;
|
|
8
|
+
image: string | null;
|
|
9
|
+
emailVerified: boolean;
|
|
10
|
+
phoneVerified: boolean;
|
|
11
|
+
lastSignInAt: string | null;
|
|
12
|
+
roles?: string[] | null;
|
|
13
|
+
roleCodes?: string[] | null;
|
|
14
|
+
permissions?: string[] | null;
|
|
15
|
+
userRoles?: {
|
|
16
|
+
id: string;
|
|
17
|
+
roleId: string;
|
|
18
|
+
code: string;
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}[] | null;
|
|
22
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { User } from './users-data';
|
|
2
|
+
type UsersListProps = {
|
|
3
|
+
data: User[];
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
view: 'table' | 'card';
|
|
6
|
+
pageIndex: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
pageCount: number;
|
|
9
|
+
totalRows: number;
|
|
10
|
+
onPageChange: (page: number) => void;
|
|
11
|
+
onPageSizeChange: (size: number) => void;
|
|
12
|
+
onCreateNew?: () => void;
|
|
13
|
+
};
|
|
14
|
+
export declare function UsersList({ data, isLoading, view, pageIndex, pageSize, pageCount, totalRows, onPageChange, onPageSizeChange, onCreateNew, }: UsersListProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UsersPage as default } from '../../components/iam/users-page';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
UsersPage
|
|
4
|
+
} from "../../chunk-BGSHXIHI.js";
|
|
5
|
+
import "../../chunk-BZ42QPXE.js";
|
|
6
|
+
import "../../chunk-3BZC4VVD.js";
|
|
7
|
+
import "../../chunk-T6P7UHVP.js";
|
|
8
|
+
import "../../chunk-NPW7D2HZ.js";
|
|
9
|
+
import "../../chunk-72YRO3A7.js";
|
|
10
|
+
export {
|
|
11
|
+
UsersPage as default
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ProfileSidebar(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ProfileAccountPage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Account
|
|
4
|
+
} from "../../chunk-G7SCXCCM.js";
|
|
5
|
+
import "../../chunk-C5ZW7FD2.js";
|
|
6
|
+
import "../../chunk-72YRO3A7.js";
|
|
7
|
+
|
|
8
|
+
// src/pages/profile/account.tsx
|
|
9
|
+
import {
|
|
10
|
+
PageBody,
|
|
11
|
+
PageContainer,
|
|
12
|
+
PageTitle,
|
|
13
|
+
useBreadcrumbs
|
|
14
|
+
} from "@mesob/ui/components";
|
|
15
|
+
import { IconUser } from "@tabler/icons-react";
|
|
16
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
function ProfileAccountPage() {
|
|
18
|
+
useBreadcrumbs({
|
|
19
|
+
items: [
|
|
20
|
+
{ label: "Home", href: "/dashboard" },
|
|
21
|
+
{ label: "Profile", href: "/profile/account" },
|
|
22
|
+
{ label: "Account" }
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
return /* @__PURE__ */ jsxs(PageContainer, { className: "flex flex-1 flex-col overflow-auto p-4 pt-0 lg:p-6 lg:pt-0", children: [
|
|
26
|
+
/* @__PURE__ */ jsx(PageTitle, { icon: /* @__PURE__ */ jsx(IconUser, { className: "size-5" }), children: "Account" }),
|
|
27
|
+
/* @__PURE__ */ jsx(PageBody, { className: "px-0 pb-6", children: /* @__PURE__ */ jsx(Account, {}) })
|
|
28
|
+
] });
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
ProfileAccountPage as default
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/pages/profile/account.tsx"],"sourcesContent":["'use client';\n\nimport {\n PageBody,\n PageContainer,\n PageTitle,\n useBreadcrumbs,\n} from '@mesob/ui/components';\nimport { IconUser } from '@tabler/icons-react';\nimport { Account } from '../../components/profile/account';\n\nexport default function ProfileAccountPage() {\n useBreadcrumbs({\n items: [\n { label: 'Home', href: '/dashboard' },\n { label: 'Profile', href: '/profile/account' },\n { label: 'Account' },\n ],\n });\n\n return (\n <PageContainer className=\"flex flex-1 flex-col overflow-auto p-4 pt-0 lg:p-6 lg:pt-0\">\n <PageTitle icon={<IconUser className=\"size-5\" />}>Account</PageTitle>\n <PageBody className=\"px-0 pb-6\">\n <Account />\n </PageBody>\n </PageContainer>\n );\n}\n"],"mappings":";;;;;;;;AAEA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,gBAAgB;AAarB,SACmB,KADnB;AAVW,SAAR,qBAAsC;AAC3C,iBAAe;AAAA,IACb,OAAO;AAAA,MACL,EAAE,OAAO,QAAQ,MAAM,aAAa;AAAA,MACpC,EAAE,OAAO,WAAW,MAAM,mBAAmB;AAAA,MAC7C,EAAE,OAAO,UAAU;AAAA,IACrB;AAAA,EACF,CAAC;AAED,SACE,qBAAC,iBAAc,WAAU,8DACvB;AAAA,wBAAC,aAAU,MAAM,oBAAC,YAAS,WAAU,UAAS,GAAI,qBAAO;AAAA,IACzD,oBAAC,YAAS,WAAU,aAClB,8BAAC,WAAQ,GACX;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProfileLayout as default } from '../../components/profile/profile-layout';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ProfileSecurityPage(): import("react/jsx-runtime").JSX.Element;
|