nucleus-core-ts 0.8.0
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/LICENSE +48 -0
- package/README.md +177 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1 -0
- package/dist/dist/index-0yyw12k6.d.ts +8 -0
- package/dist/dist/index-tv67j5qd.d.ts +488 -0
- package/dist/dist/index.d.ts +40 -0
- package/dist/fe/components/AbstractAnimatedBackground/index.d.ts +7 -0
- package/dist/fe/components/AuthorizationPage/components/AuthorizationPage.d.ts +3 -0
- package/dist/fe/components/AuthorizationPage/components/ClaimList.d.ts +3 -0
- package/dist/fe/components/AuthorizationPage/components/RoleClaimEditor.d.ts +3 -0
- package/dist/fe/components/AuthorizationPage/components/RoleList.d.ts +3 -0
- package/dist/fe/components/AuthorizationPage/index.d.ts +9 -0
- package/dist/fe/components/AuthorizationPage/store/index.d.ts +47 -0
- package/dist/fe/components/AuthorizationPage/theme/index.d.ts +82 -0
- package/dist/fe/components/AuthorizationPage/types/index.d.ts +64 -0
- package/dist/fe/components/Button/components/Button.d.ts +3 -0
- package/dist/fe/components/Button/components/ButtonSpinner.d.ts +3 -0
- package/dist/fe/components/Button/index.d.ts +6 -0
- package/dist/fe/components/Button/theme/index.d.ts +183 -0
- package/dist/fe/components/Button/types/index.d.ts +24 -0
- package/dist/fe/components/Button/utils/cn.d.ts +3 -0
- package/dist/fe/components/Captcha/components/Captcha.d.ts +4 -0
- package/dist/fe/components/Captcha/index.d.ts +4 -0
- package/dist/fe/components/Captcha/theme.d.ts +53 -0
- package/dist/fe/components/Captcha/types.d.ts +60 -0
- package/dist/fe/components/ChangePasswordPage/components/ChangePasswordForm.d.ts +4 -0
- package/dist/fe/components/ChangePasswordPage/components/ChangePasswordHeader.d.ts +4 -0
- package/dist/fe/components/ChangePasswordPage/components/ChangePasswordPage.d.ts +4 -0
- package/dist/fe/components/ChangePasswordPage/index.d.ts +7 -0
- package/dist/fe/components/ChangePasswordPage/store/index.d.ts +16 -0
- package/dist/fe/components/ChangePasswordPage/theme/index.d.ts +48 -0
- package/dist/fe/components/ChangePasswordPage/types/index.d.ts +56 -0
- package/dist/fe/components/Checkbox/components/Checkbox.d.ts +3 -0
- package/dist/fe/components/Checkbox/components/CheckboxIcon.d.ts +3 -0
- package/dist/fe/components/Checkbox/components/SwitchTrack.d.ts +3 -0
- package/dist/fe/components/Checkbox/index.d.ts +7 -0
- package/dist/fe/components/Checkbox/theme/index.d.ts +218 -0
- package/dist/fe/components/Checkbox/types/index.d.ts +39 -0
- package/dist/fe/components/Checkbox/utils/cn.d.ts +3 -0
- package/dist/fe/components/DataTable/DataTable.d.ts +3 -0
- package/dist/fe/components/DataTable/components/ActionCell.d.ts +10 -0
- package/dist/fe/components/DataTable/components/DataCell.d.ts +18 -0
- package/dist/fe/components/DataTable/components/EditableCell.d.ts +14 -0
- package/dist/fe/components/DataTable/components/EmptyState.d.ts +8 -0
- package/dist/fe/components/DataTable/components/HeaderCell.d.ts +16 -0
- package/dist/fe/components/DataTable/components/InfiniteScrollTrigger.d.ts +11 -0
- package/dist/fe/components/DataTable/components/LoadingSpinner.d.ts +7 -0
- package/dist/fe/components/DataTable/components/ResizeHandle.d.ts +9 -0
- package/dist/fe/components/DataTable/components/SelectionCell.d.ts +9 -0
- package/dist/fe/components/DataTable/components/SkeletonRow.d.ts +9 -0
- package/dist/fe/components/DataTable/components/SkeletonTable.d.ts +10 -0
- package/dist/fe/components/DataTable/components/SortIcon.d.ts +9 -0
- package/dist/fe/components/DataTable/components/TableHeader.d.ts +20 -0
- package/dist/fe/components/DataTable/components/TableRow.d.ts +20 -0
- package/dist/fe/components/DataTable/components/index.d.ts +15 -0
- package/dist/fe/components/DataTable/hooks/index.d.ts +3 -0
- package/dist/fe/components/DataTable/hooks/useAutoFitColumn.d.ts +8 -0
- package/dist/fe/components/DataTable/hooks/useResizeColumn.d.ts +12 -0
- package/dist/fe/components/DataTable/index.d.ts +6 -0
- package/dist/fe/components/DataTable/store/index.d.ts +52 -0
- package/dist/fe/components/DataTable/theme/index.d.ts +131 -0
- package/dist/fe/components/DataTable/types/index.d.ts +151 -0
- package/dist/fe/components/DataTable/utils/cn.d.ts +3 -0
- package/dist/fe/components/DatePicker/components/CalendarGrid.d.ts +3 -0
- package/dist/fe/components/DatePicker/components/CalendarHeader.d.ts +3 -0
- package/dist/fe/components/DatePicker/components/DatePicker.d.ts +3 -0
- package/dist/fe/components/DatePicker/components/MonthYearSelector.d.ts +10 -0
- package/dist/fe/components/DatePicker/index.d.ts +10 -0
- package/dist/fe/components/DatePicker/locales/index.d.ts +5 -0
- package/dist/fe/components/DatePicker/theme/index.d.ts +312 -0
- package/dist/fe/components/DatePicker/types/index.d.ts +88 -0
- package/dist/fe/components/DatePicker/utils/cn.d.ts +3 -0
- package/dist/fe/components/DatePicker/utils/date.d.ts +21 -0
- package/dist/fe/components/DevicesPage/components/DeviceCard.d.ts +4 -0
- package/dist/fe/components/DevicesPage/components/DevicesHeader.d.ts +4 -0
- package/dist/fe/components/DevicesPage/components/DevicesPage.d.ts +4 -0
- package/dist/fe/components/DevicesPage/index.d.ts +8 -0
- package/dist/fe/components/DevicesPage/store/index.d.ts +20 -0
- package/dist/fe/components/DevicesPage/theme/index.d.ts +92 -0
- package/dist/fe/components/DevicesPage/types/index.d.ts +147 -0
- package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordForm.d.ts +4 -0
- package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordHeader.d.ts +4 -0
- package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordPage.d.ts +4 -0
- package/dist/fe/components/ForgotPasswordPage/index.d.ts +7 -0
- package/dist/fe/components/ForgotPasswordPage/store/index.d.ts +14 -0
- package/dist/fe/components/ForgotPasswordPage/theme/index.d.ts +48 -0
- package/dist/fe/components/ForgotPasswordPage/types/index.d.ts +48 -0
- package/dist/fe/components/FormBuilder/components/FormBuilder.d.ts +3 -0
- package/dist/fe/components/FormBuilder/components/FormField.d.ts +3 -0
- package/dist/fe/components/FormBuilder/hooks/useFormBuilder.d.ts +3 -0
- package/dist/fe/components/FormBuilder/index.d.ts +6 -0
- package/dist/fe/components/FormBuilder/theme/index.d.ts +136 -0
- package/dist/fe/components/FormBuilder/types/index.d.ts +150 -0
- package/dist/fe/components/FormBuilder/utils/cn.d.ts +3 -0
- package/dist/fe/components/FormBuilder/utils/fieldMapping.d.ts +12 -0
- package/dist/fe/components/FormBuilder/utils/validation.d.ts +11 -0
- package/dist/fe/components/LoginPage/components/LoginForm.d.ts +4 -0
- package/dist/fe/components/LoginPage/components/LoginHeader.d.ts +4 -0
- package/dist/fe/components/LoginPage/components/LoginPage.d.ts +4 -0
- package/dist/fe/components/LoginPage/index.d.ts +8 -0
- package/dist/fe/components/LoginPage/store/index.d.ts +22 -0
- package/dist/fe/components/LoginPage/theme/index.d.ts +55 -0
- package/dist/fe/components/LoginPage/types/index.d.ts +129 -0
- package/dist/fe/components/MagicLinkVerifyPage/components/MagicLinkVerifyPage.d.ts +4 -0
- package/dist/fe/components/MagicLinkVerifyPage/index.d.ts +5 -0
- package/dist/fe/components/MagicLinkVerifyPage/store.d.ts +15 -0
- package/dist/fe/components/MagicLinkVerifyPage/theme.d.ts +37 -0
- package/dist/fe/components/MagicLinkVerifyPage/types.d.ts +35 -0
- package/dist/fe/components/NucleusEntityShowcase.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/components/FloatingLabel.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/components/InputIcons.d.ts +15 -0
- package/dist/fe/components/NucleusTextInput/components/NucleusTextInput.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/components/PasswordStrengthIndicator.d.ts +15 -0
- package/dist/fe/components/NucleusTextInput/components/TypewriterText.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/index.d.ts +11 -0
- package/dist/fe/components/NucleusTextInput/theme/index.d.ts +108 -0
- package/dist/fe/components/NucleusTextInput/types/index.d.ts +65 -0
- package/dist/fe/components/NucleusTextInput/utils/cn.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/utils/format.d.ts +8 -0
- package/dist/fe/components/NucleusTextInput/utils/validation.d.ts +23 -0
- package/dist/fe/components/ProfilePage/components/AddressCard.d.ts +4 -0
- package/dist/fe/components/ProfilePage/components/PhoneCard.d.ts +4 -0
- package/dist/fe/components/ProfilePage/components/ProfileHeader.d.ts +4 -0
- package/dist/fe/components/ProfilePage/components/ProfilePage.d.ts +4 -0
- package/dist/fe/components/ProfilePage/index.d.ts +10 -0
- package/dist/fe/components/ProfilePage/store/index.d.ts +37 -0
- package/dist/fe/components/ProfilePage/theme/index.d.ts +101 -0
- package/dist/fe/components/ProfilePage/types/index.d.ts +150 -0
- package/dist/fe/components/RangePicker/components/RangePicker.d.ts +3 -0
- package/dist/fe/components/RangePicker/components/RangeThumb.d.ts +3 -0
- package/dist/fe/components/RangePicker/components/RangeTooltip.d.ts +3 -0
- package/dist/fe/components/RangePicker/components/RangeTrack.d.ts +3 -0
- package/dist/fe/components/RangePicker/index.d.ts +8 -0
- package/dist/fe/components/RangePicker/theme/index.d.ts +90 -0
- package/dist/fe/components/RangePicker/types/index.d.ts +66 -0
- package/dist/fe/components/RangePicker/utils/cn.d.ts +3 -0
- package/dist/fe/components/RegisterPage/components/PasswordStrengthIndicator.d.ts +14 -0
- package/dist/fe/components/RegisterPage/components/RegisterForm.d.ts +4 -0
- package/dist/fe/components/RegisterPage/components/RegisterHeader.d.ts +4 -0
- package/dist/fe/components/RegisterPage/components/RegisterPage.d.ts +4 -0
- package/dist/fe/components/RegisterPage/index.d.ts +9 -0
- package/dist/fe/components/RegisterPage/store/index.d.ts +19 -0
- package/dist/fe/components/RegisterPage/theme/index.d.ts +81 -0
- package/dist/fe/components/RegisterPage/types/index.d.ts +141 -0
- package/dist/fe/components/ResetPasswordPage/components/ResetPasswordForm.d.ts +4 -0
- package/dist/fe/components/ResetPasswordPage/components/ResetPasswordHeader.d.ts +4 -0
- package/dist/fe/components/ResetPasswordPage/components/ResetPasswordPage.d.ts +4 -0
- package/dist/fe/components/ResetPasswordPage/index.d.ts +7 -0
- package/dist/fe/components/ResetPasswordPage/store/index.d.ts +15 -0
- package/dist/fe/components/ResetPasswordPage/theme/index.d.ts +56 -0
- package/dist/fe/components/ResetPasswordPage/types/index.d.ts +50 -0
- package/dist/fe/components/SearchBox/components/SearchBox.d.ts +3 -0
- package/dist/fe/components/SearchBox/components/SearchBoxDropdown.d.ts +3 -0
- package/dist/fe/components/SearchBox/index.d.ts +8 -0
- package/dist/fe/components/SearchBox/theme/index.d.ts +141 -0
- package/dist/fe/components/SearchBox/types/index.d.ts +47 -0
- package/dist/fe/components/SearchBox/utils/cn.d.ts +3 -0
- package/dist/fe/components/SearchBox/utils/debounce.d.ts +5 -0
- package/dist/fe/components/SearchBox/utils/sanitize.d.ts +9 -0
- package/dist/fe/components/SelectBox/components/SelectBox.d.ts +3 -0
- package/dist/fe/components/SelectBox/components/SelectDropdown.d.ts +6 -0
- package/dist/fe/components/SelectBox/components/SelectOptionItem.d.ts +3 -0
- package/dist/fe/components/SelectBox/components/SelectTrigger.d.ts +5 -0
- package/dist/fe/components/SelectBox/index.d.ts +8 -0
- package/dist/fe/components/SelectBox/theme/index.d.ts +100 -0
- package/dist/fe/components/SelectBox/types/index.d.ts +66 -0
- package/dist/fe/components/SelectBox/utils/cn.d.ts +3 -0
- package/dist/fe/components/SetPasswordPage/components/PasswordStrengthIndicator.d.ts +14 -0
- package/dist/fe/components/SetPasswordPage/components/SetPasswordForm.d.ts +4 -0
- package/dist/fe/components/SetPasswordPage/components/SetPasswordHeader.d.ts +4 -0
- package/dist/fe/components/SetPasswordPage/components/SetPasswordPage.d.ts +4 -0
- package/dist/fe/components/SetPasswordPage/index.d.ts +9 -0
- package/dist/fe/components/SetPasswordPage/store/index.d.ts +16 -0
- package/dist/fe/components/SetPasswordPage/theme/index.d.ts +95 -0
- package/dist/fe/components/SetPasswordPage/types/index.d.ts +137 -0
- package/dist/fe/components/UsersPage/components/InviteUserModal.d.ts +10 -0
- package/dist/fe/components/UsersPage/components/Pagination.d.ts +13 -0
- package/dist/fe/components/UsersPage/components/RoleAssignmentModal.d.ts +12 -0
- package/dist/fe/components/UsersPage/components/StatsCards.d.ts +10 -0
- package/dist/fe/components/UsersPage/components/UserDetailDrawer.d.ts +24 -0
- package/dist/fe/components/UsersPage/components/UserFilters.d.ts +18 -0
- package/dist/fe/components/UsersPage/components/UserListItem.d.ts +11 -0
- package/dist/fe/components/UsersPage/components/UserListSkeleton.d.ts +7 -0
- package/dist/fe/components/UsersPage/components/UsersPage.d.ts +8 -0
- package/dist/fe/components/UsersPage/index.d.ts +13 -0
- package/dist/fe/components/UsersPage/store/index.d.ts +51 -0
- package/dist/fe/components/UsersPage/theme/index.d.ts +180 -0
- package/dist/fe/components/UsersPage/types/index.d.ts +73 -0
- package/dist/fe/components/VerifyEmailPage/components/VerifyEmailPage.d.ts +4 -0
- package/dist/fe/components/VerifyEmailPage/index.d.ts +5 -0
- package/dist/fe/components/VerifyEmailPage/store/index.d.ts +18 -0
- package/dist/fe/components/VerifyEmailPage/theme/index.d.ts +49 -0
- package/dist/fe/components/VerifyEmailPage/types/index.d.ts +84 -0
- package/dist/fe/hooks/useNucleusEntity.d.ts +3 -0
- package/dist/fe/index.d.ts +42 -0
- package/dist/fe/index.js +1 -0
- package/dist/fe/types/index.d.ts +233 -0
- package/dist/fe/utils/cn.d.ts +3 -0
- package/dist/fe/utils/columnUtils.d.ts +63 -0
- package/dist/fe/utils/endpointKeys.d.ts +9 -0
- package/dist/index-0yyw12k6.js +1 -0
- package/dist/index-tv67j5qd.js +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -0
- package/dist/nucleus.config.d.ts +95 -0
- package/dist/public/components/CTA.d.ts +2 -0
- package/dist/public/components/Capabilities.d.ts +9 -0
- package/dist/public/components/Features.d.ts +9 -0
- package/dist/public/components/Footer.d.ts +2 -0
- package/dist/public/components/Hero.d.ts +2 -0
- package/dist/public/components/Managers.d.ts +7 -0
- package/dist/public/components/Nav.d.ts +2 -0
- package/dist/public/components/Stack.d.ts +7 -0
- package/dist/public/components/docs/Docs.d.ts +2 -0
- package/dist/public/components/docs/DocsContent.d.ts +19 -0
- package/dist/public/components/docs/DocsRightSidebar.d.ts +9 -0
- package/dist/public/components/docs/DocsSidebar.d.ts +8 -0
- package/dist/public/components/docs/content/authentication.d.ts +3 -0
- package/dist/public/components/docs/content/gettingStarted.d.ts +3 -0
- package/dist/public/components/docs/docsData.d.ts +18 -0
- package/dist/public/components/docs/index.d.ts +7 -0
- package/dist/public/components/index.d.ts +10 -0
- package/dist/public/index.d.ts +3 -0
- package/dist/public/store.d.ts +20 -0
- package/dist/scripts/build.d.ts +7 -0
- package/dist/scripts/generate-schema.d.ts +3 -0
- package/dist/scripts/generate-system-tables-types.d.ts +2 -0
- package/dist/scripts/generate-types-schema.d.ts +7 -0
- package/dist/scripts/publish.d.ts +7 -0
- package/dist/scripts/version.d.ts +7 -0
- package/dist/src/Client/ApiCaller/client.d.ts +5 -0
- package/dist/src/Client/ApiCaller/examples/usage.example.d.ts +8 -0
- package/dist/src/Client/ApiCaller/generator.d.ts +10 -0
- package/dist/src/Client/ApiCaller/index.d.ts +7 -0
- package/dist/src/Client/ApiCaller/server.d.ts +4 -0
- package/dist/src/Client/ApiCaller/system-tables.d.ts +1215 -0
- package/dist/src/Client/ApiCaller/types.d.ts +907 -0
- package/dist/src/Client/Proxy/httpProxy.d.ts +5 -0
- package/dist/src/Client/Proxy/index.d.ts +6 -0
- package/dist/src/Client/Proxy/index.js +1 -0
- package/dist/src/Client/Proxy/server.d.ts +5 -0
- package/dist/src/Client/Proxy/types.d.ts +69 -0
- package/dist/src/Client/Proxy/utils.d.ts +12 -0
- package/dist/src/Client/Proxy/wsProxy.d.ts +20 -0
- package/dist/src/Client/ServerFetch/index.d.ts +19 -0
- package/dist/src/Client/ServerFetch/types.d.ts +34 -0
- package/dist/src/Client/index.d.ts +4 -0
- package/dist/src/ElysiaPlugin/index.d.ts +12 -0
- package/dist/src/ElysiaPlugin/publicRoutes.d.ts +9 -0
- package/dist/src/ElysiaPlugin/routes/auth/captcha/index.d.ts +46 -0
- package/dist/src/ElysiaPlugin/routes/auth/emailVerification/index.d.ts +38 -0
- package/dist/src/ElysiaPlugin/routes/auth/index.d.ts +68 -0
- package/dist/src/ElysiaPlugin/routes/auth/invite/index.d.ts +43 -0
- package/dist/src/ElysiaPlugin/routes/auth/login/index.d.ts +68 -0
- package/dist/src/ElysiaPlugin/routes/auth/login/types.d.ts +22 -0
- package/dist/src/ElysiaPlugin/routes/auth/login/utils.d.ts +19 -0
- package/dist/src/ElysiaPlugin/routes/auth/logout/index.d.ts +33 -0
- package/dist/src/ElysiaPlugin/routes/auth/logout/types.d.ts +6 -0
- package/dist/src/ElysiaPlugin/routes/auth/logout/utils.d.ts +2 -0
- package/dist/src/ElysiaPlugin/routes/auth/magicLink/index.d.ts +41 -0
- package/dist/src/ElysiaPlugin/routes/auth/magicLink/types.d.ts +23 -0
- package/dist/src/ElysiaPlugin/routes/auth/magicLink/utils.d.ts +4 -0
- package/dist/src/ElysiaPlugin/routes/auth/me/index.d.ts +40 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordChange/index.d.ts +33 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordChange/types.d.ts +12 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordChange/utils.d.ts +2 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordReset/index.d.ts +36 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordReset/types.d.ts +16 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordReset/utils.d.ts +3 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordSet/index.d.ts +33 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordSet/types.d.ts +9 -0
- package/dist/src/ElysiaPlugin/routes/auth/refresh/index.d.ts +39 -0
- package/dist/src/ElysiaPlugin/routes/auth/refresh/types.d.ts +9 -0
- package/dist/src/ElysiaPlugin/routes/auth/refresh/utils.d.ts +2 -0
- package/dist/src/ElysiaPlugin/routes/auth/register/index.d.ts +47 -0
- package/dist/src/ElysiaPlugin/routes/auth/register/types.d.ts +18 -0
- package/dist/src/ElysiaPlugin/routes/auth/register/utils.d.ts +8 -0
- package/dist/src/ElysiaPlugin/routes/auth/sessions/index.d.ts +33 -0
- package/dist/src/ElysiaPlugin/routes/auth/sessions/types.d.ts +67 -0
- package/dist/src/ElysiaPlugin/routes/auth/sessions/utils.d.ts +36 -0
- package/dist/src/ElysiaPlugin/routes/auth/types.d.ts +153 -0
- package/dist/src/ElysiaPlugin/routes/entity/index.d.ts +5 -0
- package/dist/src/ElysiaPlugin/routes/entity/types.d.ts +50 -0
- package/dist/src/ElysiaPlugin/routes/entity/utils.d.ts +11 -0
- package/dist/src/ElysiaPlugin/routes/index.d.ts +5 -0
- package/dist/src/ElysiaPlugin/routes/monitoring/index.d.ts +58 -0
- package/dist/src/ElysiaPlugin/routes/storage/cdn.d.ts +51 -0
- package/dist/src/ElysiaPlugin/routes/storage/helpers.d.ts +53 -0
- package/dist/src/ElysiaPlugin/routes/storage/index.d.ts +3 -0
- package/dist/src/ElysiaPlugin/routes/verification/index.d.ts +39 -0
- package/dist/src/ElysiaPlugin/swagger.d.ts +28 -0
- package/dist/src/ElysiaPlugin/utils.d.ts +70 -0
- package/dist/src/Managers/Dapr/clients/binding-client.d.ts +15 -0
- package/dist/src/Managers/Dapr/clients/config-client.d.ts +27 -0
- package/dist/src/Managers/Dapr/clients/crypto-client.d.ts +27 -0
- package/dist/src/Managers/Dapr/clients/invoke-client.d.ts +32 -0
- package/dist/src/Managers/Dapr/clients/lock-client.d.ts +23 -0
- package/dist/src/Managers/Dapr/clients/pubsub-client.d.ts +23 -0
- package/dist/src/Managers/Dapr/clients/secret-client.d.ts +19 -0
- package/dist/src/Managers/Dapr/clients/state-client.d.ts +55 -0
- package/dist/src/Managers/Dapr/clients/workflow-client.d.ts +39 -0
- package/dist/src/Managers/Dapr/connection-manager.d.ts +51 -0
- package/dist/src/Managers/Dapr/constants.d.ts +49 -0
- package/dist/src/Managers/Dapr/dapr-manager.d.ts +160 -0
- package/dist/src/Managers/Dapr/error-handling.d.ts +29 -0
- package/dist/src/Managers/Dapr/index.d.ts +102 -0
- package/dist/src/Managers/Dapr/types.d.ts +121 -0
- package/dist/src/Managers/Dapr/utils.d.ts +44 -0
- package/dist/src/Managers/File/atomic.d.ts +64 -0
- package/dist/src/Managers/File/core.d.ts +188 -0
- package/dist/src/Managers/File/index.d.ts +18 -0
- package/dist/src/Managers/File/permissions.d.ts +72 -0
- package/dist/src/Managers/File/streaming.d.ts +30 -0
- package/dist/src/Managers/File/types.d.ts +146 -0
- package/dist/src/Managers/File/utils.d.ts +112 -0
- package/dist/src/Managers/Postgre/index.d.ts +25 -0
- package/dist/src/Managers/Redis/index.d.ts +33 -0
- package/dist/src/Managers/index.d.ts +5 -0
- package/dist/src/Services/Auth/Fingerprint/Generate/index.d.ts +3 -0
- package/dist/src/Services/Auth/Fingerprint/Validate/index.d.ts +3 -0
- package/dist/src/Services/Auth/Fingerprint/index.d.ts +5 -0
- package/dist/src/Services/Auth/Fingerprint/types.d.ts +20 -0
- package/dist/src/Services/Auth/Fingerprint/utils.d.ts +3 -0
- package/dist/src/Services/Auth/JWT/Decode/index.d.ts +3 -0
- package/dist/src/Services/Auth/JWT/Sign/index.d.ts +3 -0
- package/dist/src/Services/Auth/JWT/Verify/index.d.ts +3 -0
- package/dist/src/Services/Auth/JWT/index.d.ts +5 -0
- package/dist/src/Services/Auth/JWT/types.d.ts +38 -0
- package/dist/src/Services/Auth/JWT/utils.d.ts +10 -0
- package/dist/src/Services/Auth/Password/Generate/index.d.ts +3 -0
- package/dist/src/Services/Auth/Password/Validate/index.d.ts +3 -0
- package/dist/src/Services/Auth/Password/index.d.ts +2 -0
- package/dist/src/Services/Auth/Password/types.d.ts +16 -0
- package/dist/src/Services/Auth/RefreshToken/Delete/index.d.ts +3 -0
- package/dist/src/Services/Auth/RefreshToken/Generate/index.d.ts +11 -0
- package/dist/src/Services/Auth/RefreshToken/Read/index.d.ts +11 -0
- package/dist/src/Services/Auth/RefreshToken/Validate/index.d.ts +11 -0
- package/dist/src/Services/Auth/RefreshToken/index.d.ts +5 -0
- package/dist/src/Services/Auth/RefreshToken/types.d.ts +27 -0
- package/dist/src/Services/Auth/RefreshToken/utils.d.ts +6 -0
- package/dist/src/Services/Auth/Session/Issue/index.d.ts +9 -0
- package/dist/src/Services/Auth/Session/index.d.ts +2 -0
- package/dist/src/Services/Auth/Session/types.d.ts +13 -0
- package/dist/src/Services/Auth/SessionStore/Delete/index.d.ts +3 -0
- package/dist/src/Services/Auth/SessionStore/Generate/index.d.ts +11 -0
- package/dist/src/Services/Auth/SessionStore/Read/index.d.ts +3 -0
- package/dist/src/Services/Auth/SessionStore/Update/index.d.ts +24 -0
- package/dist/src/Services/Auth/SessionStore/Validate/index.d.ts +3 -0
- package/dist/src/Services/Auth/SessionStore/index.d.ts +7 -0
- package/dist/src/Services/Auth/SessionStore/types.d.ts +59 -0
- package/dist/src/Services/Auth/SessionStore/utils.d.ts +6 -0
- package/dist/src/Services/Auth/index.d.ts +7 -0
- package/dist/src/Services/Authorization/ClaimSeeder/index.d.ts +6 -0
- package/dist/src/Services/Authorization/GodminSetup/index.d.ts +10 -0
- package/dist/src/Services/Authorization/Middleware/index.d.ts +21 -0
- package/dist/src/Services/Authorization/index.d.ts +5 -0
- package/dist/src/Services/Authorization/types.d.ts +68 -0
- package/dist/src/Services/Captcha/index.d.ts +15 -0
- package/dist/src/Services/Captcha/types.d.ts +69 -0
- package/dist/src/Services/Gmail/index.d.ts +62 -0
- package/dist/src/Services/Logger/Logger.d.ts +77 -0
- package/dist/src/Services/Logger/index.d.ts +5 -0
- package/dist/src/Services/Logger/transports.d.ts +54 -0
- package/dist/src/Services/Logger/types.d.ts +88 -0
- package/dist/src/Services/Logger/utils.d.ts +8 -0
- package/dist/src/Services/Monitoring/AlertService.d.ts +29 -0
- package/dist/src/Services/Monitoring/collectors/ApplicationCollector.d.ts +30 -0
- package/dist/src/Services/Monitoring/collectors/SystemCollector.d.ts +13 -0
- package/dist/src/Services/Monitoring/collectors/index.d.ts +3 -0
- package/dist/src/Services/Monitoring/index.d.ts +109 -0
- package/dist/src/Services/Monitoring/types.d.ts +163 -0
- package/dist/src/Services/Notification/index.d.ts +31 -0
- package/dist/src/Services/Notification/types.d.ts +59 -0
- package/dist/src/Services/RateLimiter/index.d.ts +99 -0
- package/dist/src/Services/Verification/index.d.ts +23 -0
- package/dist/src/Services/Verification/types.d.ts +135 -0
- package/dist/src/Services/index.d.ts +10 -0
- package/dist/src/types.d.ts +588 -0
- package/package.json +99 -0
- package/public/components/CTA.tsx +25 -0
- package/public/components/Capabilities.tsx +69 -0
- package/public/components/Features.tsx +107 -0
- package/public/components/Footer.tsx +60 -0
- package/public/components/Hero.tsx +53 -0
- package/public/components/Managers.tsx +60 -0
- package/public/components/Nav.tsx +107 -0
- package/public/components/Stack.tsx +36 -0
- package/public/components/docs/Docs.tsx +62 -0
- package/public/components/docs/DocsContent.tsx +203 -0
- package/public/components/docs/DocsRightSidebar.tsx +53 -0
- package/public/components/docs/DocsSidebar.tsx +62 -0
- package/public/components/docs/content/authentication.ts +1670 -0
- package/public/components/docs/content/gettingStarted.ts +627 -0
- package/public/components/docs/docsData.ts +36 -0
- package/public/components/docs/index.ts +6 -0
- package/public/components/index.ts +9 -0
- package/public/docs.css +633 -0
- package/public/index.html +81 -0
- package/public/index.tsx +52 -0
- package/public/store.ts +79 -0
- package/public/styles.css +877 -0
- package/schemas/bckp/config.nucleus.json +1488 -0
- package/schemas/bckp/nucleus.tables.schema.json +24 -0
- package/schemas/bckp/table.schema.json +472 -0
- package/schemas/config.nucleus.json +1010 -0
- package/schemas/nucleus.tables.schema.json +19 -0
- package/schemas/table.schema.json +498 -0
- package/scripts/build.ts +197 -0
- package/scripts/generate-schema.ts +556 -0
- package/scripts/generate-system-tables-types.ts +18 -0
- package/scripts/generate-types-schema.ts +962 -0
- package/scripts/publish.ts +210 -0
- package/scripts/version.ts +125 -0
- package/src/system.tables.json +1590 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type DatePickerMode = "single" | "range";
|
|
3
|
+
export interface DateRange {
|
|
4
|
+
start: Date | null;
|
|
5
|
+
end: Date | null;
|
|
6
|
+
}
|
|
7
|
+
export type DateValue<TMode extends DatePickerMode> = TMode extends "range" ? DateRange : Date | null;
|
|
8
|
+
export interface DatePickerProps<TMode extends DatePickerMode = "single"> {
|
|
9
|
+
mode: TMode;
|
|
10
|
+
value: DateValue<TMode>;
|
|
11
|
+
onChange: (value: DateValue<TMode>) => void;
|
|
12
|
+
locale?: LocaleKey;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
label?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
minDate?: Date;
|
|
17
|
+
maxDate?: Date;
|
|
18
|
+
disabledDates?: Date[];
|
|
19
|
+
disabledDaysOfWeek?: number[];
|
|
20
|
+
className?: string;
|
|
21
|
+
inputClassName?: string;
|
|
22
|
+
dropdownClassName?: string;
|
|
23
|
+
calendarClassName?: string;
|
|
24
|
+
showClearButton?: boolean;
|
|
25
|
+
showTodayButton?: boolean;
|
|
26
|
+
dateFormat?: string;
|
|
27
|
+
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
28
|
+
leftIcon?: ReactNode;
|
|
29
|
+
rightIcon?: ReactNode;
|
|
30
|
+
errorMessage?: string;
|
|
31
|
+
helperText?: string;
|
|
32
|
+
required?: boolean;
|
|
33
|
+
name?: string;
|
|
34
|
+
onOpen?: () => void;
|
|
35
|
+
onClose?: () => void;
|
|
36
|
+
}
|
|
37
|
+
export interface CalendarGridProps {
|
|
38
|
+
currentMonth: Date;
|
|
39
|
+
selectedDate: Date | null;
|
|
40
|
+
selectedRange: DateRange | null;
|
|
41
|
+
mode: DatePickerMode;
|
|
42
|
+
locale: LocaleKey;
|
|
43
|
+
minDate?: Date;
|
|
44
|
+
maxDate?: Date;
|
|
45
|
+
disabledDates?: Date[];
|
|
46
|
+
disabledDaysOfWeek?: number[];
|
|
47
|
+
firstDayOfWeek: number;
|
|
48
|
+
onDateSelect: (date: Date) => void;
|
|
49
|
+
hoverDate: Date | null;
|
|
50
|
+
onHoverChange: (date: Date | null) => void;
|
|
51
|
+
}
|
|
52
|
+
export interface CalendarHeaderProps {
|
|
53
|
+
currentMonth: Date;
|
|
54
|
+
onPrevMonth: () => void;
|
|
55
|
+
onNextMonth: () => void;
|
|
56
|
+
onPrevYear: () => void;
|
|
57
|
+
onNextYear: () => void;
|
|
58
|
+
onMonthYearClick: () => void;
|
|
59
|
+
locale: LocaleKey;
|
|
60
|
+
minDate?: Date;
|
|
61
|
+
maxDate?: Date;
|
|
62
|
+
}
|
|
63
|
+
export interface MonthYearSelectorProps {
|
|
64
|
+
currentMonth: Date;
|
|
65
|
+
onMonthSelect: (month: number) => void;
|
|
66
|
+
onYearSelect: (year: number) => void;
|
|
67
|
+
locale: LocaleKey;
|
|
68
|
+
minDate?: Date;
|
|
69
|
+
maxDate?: Date;
|
|
70
|
+
}
|
|
71
|
+
export type DropdownPosition = "top" | "bottom";
|
|
72
|
+
export type LocaleKey = "tr-TR" | "en-US" | "en-GB" | "de-DE" | "fr-FR" | "es-ES" | "it-IT" | "pt-BR" | "pt-PT" | "nl-NL" | "pl-PL" | "ru-RU" | "ja-JP" | "ko-KR" | "zh-CN" | "zh-TW" | "ar-SA";
|
|
73
|
+
export interface LocaleConfig {
|
|
74
|
+
months: string[];
|
|
75
|
+
monthsShort: string[];
|
|
76
|
+
weekdays: string[];
|
|
77
|
+
weekdaysShort: string[];
|
|
78
|
+
weekdaysMin: string[];
|
|
79
|
+
today: string;
|
|
80
|
+
clear: string;
|
|
81
|
+
close: string;
|
|
82
|
+
selectDate: string;
|
|
83
|
+
selectStartDate: string;
|
|
84
|
+
selectEndDate: string;
|
|
85
|
+
dateFormat: string;
|
|
86
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { DateRange, LocaleKey } from "../types";
|
|
2
|
+
export declare function getMonthDays(year: number, month: number): Date[];
|
|
3
|
+
export declare function getCalendarDays(year: number, month: number, firstDayOfWeek: number): Date[];
|
|
4
|
+
export declare function isSameDay(date1: Date | null, date2: Date | null): boolean;
|
|
5
|
+
export declare function isSameMonth(date1: Date, date2: Date): boolean;
|
|
6
|
+
export declare function isToday(date: Date): boolean;
|
|
7
|
+
export declare function isDateInRange(date: Date, start: Date | null, end: Date | null): boolean;
|
|
8
|
+
export declare function isDateDisabled(date: Date, minDate?: Date, maxDate?: Date, disabledDates?: Date[], disabledDaysOfWeek?: number[]): boolean;
|
|
9
|
+
export declare function formatDate(date: Date | null, format: string): string;
|
|
10
|
+
export declare function formatDateRange(range: DateRange, format: string, separator?: string): string;
|
|
11
|
+
export declare function formatDateWithLocale(date: Date | null, locale: LocaleKey): string;
|
|
12
|
+
export declare function formatDateRangeWithLocale(range: DateRange, locale: LocaleKey, separator?: string): string;
|
|
13
|
+
export declare function addMonths(date: Date, months: number): Date;
|
|
14
|
+
export declare function addYears(date: Date, years: number): Date;
|
|
15
|
+
export declare function startOfMonth(date: Date): Date;
|
|
16
|
+
export declare function endOfMonth(date: Date): Date;
|
|
17
|
+
export declare function startOfDay(date: Date): Date;
|
|
18
|
+
export declare function getYearRange(centerYear: number, range?: number): number[];
|
|
19
|
+
export declare function parseDate(dateString: string, format: string): Date | null;
|
|
20
|
+
export declare function getWeekdaysForLocale(locale: LocaleKey, firstDayOfWeek: number): string[];
|
|
21
|
+
//# sourceMappingURL=date.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { DevicesHeaderProps } from "../types";
|
|
3
|
+
export declare function DevicesHeader({ title, subtitle, totalDevices, onRevokeAll, isRevokingAll, allowRevokeAll, }: DevicesHeaderProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=DevicesHeader.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { DevicesPageProps } from "../types";
|
|
3
|
+
export declare function DevicesPage({ variant: _variant, title, subtitle, sessionsAction, sessionRevokeAction, sessionRevokeAllAction, sessionsStatsAction, sessionsPendingAction, sessionApproveAction, sessionRejectAction, onDeviceRevoked, onAllDevicesRevoked, onDeviceApproved, onDeviceRejected, showBackground, showStats, showPendingDevices, allowRevokeAll, allowRevokeCurrent, className, }: DevicesPageProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=DevicesPage.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { DeviceCard } from "./components/DeviceCard";
|
|
2
|
+
export { DevicesHeader } from "./components/DevicesHeader";
|
|
3
|
+
export { DevicesPage } from "./components/DevicesPage";
|
|
4
|
+
export { useDevicesStore } from "./store";
|
|
5
|
+
export type { DevicesPageTheme } from "./theme";
|
|
6
|
+
export { devicesPageTheme, extendDevicesPageTheme } from "./theme";
|
|
7
|
+
export type { DeviceCardProps, DeviceInfo, DevicesHeaderProps, DevicesPageConfig, DevicesPageProps, DevicesPageVariant, DevicesState, DevicesStatsProps, SessionRevokeAction, SessionRevokeAllAction, SessionsAction, } from "./types";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DeviceInfo, DevicesState } from "../types";
|
|
2
|
+
type DevicesMethods = {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
setDevices: (devices: DeviceInfo[]) => void;
|
|
5
|
+
setCurrentSessionId: (sessionId: string | null) => void;
|
|
6
|
+
setLoading: (value: boolean) => void;
|
|
7
|
+
setRevoking: (sessionId: string | null) => void;
|
|
8
|
+
setRevokingAll: (value: boolean) => void;
|
|
9
|
+
setError: (error: string | null) => void;
|
|
10
|
+
setStats: (stats: DevicesState["stats"]) => void;
|
|
11
|
+
removeDevice: (sessionId: string) => void;
|
|
12
|
+
clearAllDevices: (excludeCurrent?: boolean) => void;
|
|
13
|
+
reset: () => void;
|
|
14
|
+
};
|
|
15
|
+
type DevicesStoreState = DevicesState & {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
export declare const useDevicesStore: () => import("h-state").StoreType<DevicesStoreState, DevicesMethods>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export type DevicesPageTheme = {
|
|
2
|
+
container: {
|
|
3
|
+
base: string;
|
|
4
|
+
wrapper: string;
|
|
5
|
+
};
|
|
6
|
+
card: {
|
|
7
|
+
base: string;
|
|
8
|
+
padding: string;
|
|
9
|
+
background: string;
|
|
10
|
+
border: string;
|
|
11
|
+
shadow: string;
|
|
12
|
+
rounded: string;
|
|
13
|
+
};
|
|
14
|
+
header: {
|
|
15
|
+
container: string;
|
|
16
|
+
titleWrapper: string;
|
|
17
|
+
title: string;
|
|
18
|
+
subtitle: string;
|
|
19
|
+
badge: string;
|
|
20
|
+
actions: string;
|
|
21
|
+
};
|
|
22
|
+
stats: {
|
|
23
|
+
container: string;
|
|
24
|
+
item: string;
|
|
25
|
+
value: string;
|
|
26
|
+
label: string;
|
|
27
|
+
};
|
|
28
|
+
deviceList: {
|
|
29
|
+
container: string;
|
|
30
|
+
grid: string;
|
|
31
|
+
empty: {
|
|
32
|
+
container: string;
|
|
33
|
+
icon: string;
|
|
34
|
+
text: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
deviceCard: {
|
|
38
|
+
base: string;
|
|
39
|
+
padding: string;
|
|
40
|
+
background: string;
|
|
41
|
+
backgroundCurrent: string;
|
|
42
|
+
border: string;
|
|
43
|
+
borderCurrent: string;
|
|
44
|
+
shadow: string;
|
|
45
|
+
rounded: string;
|
|
46
|
+
hover: string;
|
|
47
|
+
header: {
|
|
48
|
+
container: string;
|
|
49
|
+
icon: string;
|
|
50
|
+
iconCurrent: string;
|
|
51
|
+
info: string;
|
|
52
|
+
deviceName: string;
|
|
53
|
+
deviceType: string;
|
|
54
|
+
};
|
|
55
|
+
details: {
|
|
56
|
+
container: string;
|
|
57
|
+
row: string;
|
|
58
|
+
label: string;
|
|
59
|
+
value: string;
|
|
60
|
+
};
|
|
61
|
+
footer: {
|
|
62
|
+
container: string;
|
|
63
|
+
currentBadge: string;
|
|
64
|
+
revokeButton: string;
|
|
65
|
+
};
|
|
66
|
+
trustScore: {
|
|
67
|
+
container: string;
|
|
68
|
+
bar: string;
|
|
69
|
+
barFill: string;
|
|
70
|
+
label: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
modal: {
|
|
74
|
+
overlay: string;
|
|
75
|
+
container: string;
|
|
76
|
+
title: string;
|
|
77
|
+
message: string;
|
|
78
|
+
actions: string;
|
|
79
|
+
};
|
|
80
|
+
loading: {
|
|
81
|
+
container: string;
|
|
82
|
+
spinner: string;
|
|
83
|
+
text: string;
|
|
84
|
+
};
|
|
85
|
+
error: {
|
|
86
|
+
container: string;
|
|
87
|
+
text: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export declare const devicesPageTheme: DevicesPageTheme;
|
|
91
|
+
export declare function extendDevicesPageTheme(overrides: Partial<DevicesPageTheme>): DevicesPageTheme;
|
|
92
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import type { SessionInfo } from "../../../../src/Client/ApiCaller/types";
|
|
2
|
+
export type DevicesPageVariant = "default" | "minimal" | "compact";
|
|
3
|
+
export type DeviceInfo = SessionInfo;
|
|
4
|
+
export type SessionsAction<TData = unknown, TError = unknown> = {
|
|
5
|
+
start: (config: {
|
|
6
|
+
payload: undefined;
|
|
7
|
+
onAfterHandle?: (data: TData) => void;
|
|
8
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
9
|
+
}) => void;
|
|
10
|
+
state: {
|
|
11
|
+
isPending: boolean;
|
|
12
|
+
data: TData | null;
|
|
13
|
+
error: TError | null;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type SessionRevokeAction<TData = unknown, TError = unknown> = {
|
|
17
|
+
start: (config: {
|
|
18
|
+
payload: {
|
|
19
|
+
_sessionId: string;
|
|
20
|
+
reason?: string;
|
|
21
|
+
};
|
|
22
|
+
onAfterHandle?: (data: TData) => void;
|
|
23
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
24
|
+
}) => void;
|
|
25
|
+
state: {
|
|
26
|
+
isPending: boolean;
|
|
27
|
+
data: TData | null;
|
|
28
|
+
error: TError | null;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export type SessionRevokeAllAction<TData = unknown, TError = unknown> = {
|
|
32
|
+
start: (config: {
|
|
33
|
+
payload: {
|
|
34
|
+
excludeCurrent?: boolean;
|
|
35
|
+
reason?: string;
|
|
36
|
+
};
|
|
37
|
+
onAfterHandle?: (data: TData) => void;
|
|
38
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
39
|
+
}) => void;
|
|
40
|
+
state: {
|
|
41
|
+
isPending: boolean;
|
|
42
|
+
data: TData | null;
|
|
43
|
+
error: TError | null;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export type SessionApproveAction<TData = unknown, TError = unknown> = {
|
|
47
|
+
start: (config: {
|
|
48
|
+
payload: {
|
|
49
|
+
token: string;
|
|
50
|
+
};
|
|
51
|
+
onAfterHandle?: (data: TData) => void;
|
|
52
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
53
|
+
}) => void;
|
|
54
|
+
state: {
|
|
55
|
+
isPending: boolean;
|
|
56
|
+
data: TData | null;
|
|
57
|
+
error: TError | null;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export type SessionRejectAction<TData = unknown, TError = unknown> = {
|
|
61
|
+
start: (config: {
|
|
62
|
+
payload: {
|
|
63
|
+
token: string;
|
|
64
|
+
};
|
|
65
|
+
onAfterHandle?: (data: TData) => void;
|
|
66
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
67
|
+
}) => void;
|
|
68
|
+
state: {
|
|
69
|
+
isPending: boolean;
|
|
70
|
+
data: TData | null;
|
|
71
|
+
error: TError | null;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
export type SessionsPendingAction<TData = unknown, TError = unknown> = {
|
|
75
|
+
start: (config: {
|
|
76
|
+
payload: undefined;
|
|
77
|
+
onAfterHandle?: (data: TData) => void;
|
|
78
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
79
|
+
}) => void;
|
|
80
|
+
state: {
|
|
81
|
+
isPending: boolean;
|
|
82
|
+
data: TData | null;
|
|
83
|
+
error: TError | null;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export type PendingDeviceInfo = DeviceInfo & {
|
|
87
|
+
approvalStatus?: string;
|
|
88
|
+
approvalToken?: string;
|
|
89
|
+
approvalRequestedAt?: string;
|
|
90
|
+
};
|
|
91
|
+
export type DevicesPageConfig = {
|
|
92
|
+
variant?: DevicesPageVariant;
|
|
93
|
+
title?: string;
|
|
94
|
+
subtitle?: string;
|
|
95
|
+
sessionsAction: SessionsAction;
|
|
96
|
+
sessionRevokeAction: SessionRevokeAction;
|
|
97
|
+
sessionRevokeAllAction: SessionRevokeAllAction;
|
|
98
|
+
sessionsStatsAction?: SessionsAction;
|
|
99
|
+
sessionsPendingAction?: SessionsPendingAction;
|
|
100
|
+
sessionApproveAction?: SessionApproveAction;
|
|
101
|
+
sessionRejectAction?: SessionRejectAction;
|
|
102
|
+
onDeviceRevoked?: (sessionId: string) => void;
|
|
103
|
+
onAllDevicesRevoked?: () => void;
|
|
104
|
+
onDeviceApproved?: (sessionId: string) => void;
|
|
105
|
+
onDeviceRejected?: (sessionId: string) => void;
|
|
106
|
+
showBackground?: boolean;
|
|
107
|
+
showStats?: boolean;
|
|
108
|
+
showPendingDevices?: boolean;
|
|
109
|
+
allowRevokeAll?: boolean;
|
|
110
|
+
allowRevokeCurrent?: boolean;
|
|
111
|
+
className?: string;
|
|
112
|
+
};
|
|
113
|
+
export type DevicesPageProps = DevicesPageConfig;
|
|
114
|
+
export type DeviceCardProps = {
|
|
115
|
+
device: DeviceInfo;
|
|
116
|
+
isCurrent?: boolean;
|
|
117
|
+
onRevoke?: (sessionId: string) => void;
|
|
118
|
+
isRevoking?: boolean;
|
|
119
|
+
};
|
|
120
|
+
export type DevicesHeaderProps = {
|
|
121
|
+
title?: string;
|
|
122
|
+
subtitle?: string;
|
|
123
|
+
totalDevices?: number;
|
|
124
|
+
onRevokeAll?: () => void;
|
|
125
|
+
isRevokingAll?: boolean;
|
|
126
|
+
allowRevokeAll?: boolean;
|
|
127
|
+
};
|
|
128
|
+
export type DevicesStatsProps = {
|
|
129
|
+
activeSessions?: number;
|
|
130
|
+
uniqueDevices?: number;
|
|
131
|
+
uniqueIpAddresses?: number;
|
|
132
|
+
isLoading?: boolean;
|
|
133
|
+
};
|
|
134
|
+
export type DevicesState = {
|
|
135
|
+
devices: DeviceInfo[];
|
|
136
|
+
currentSessionId: string | null;
|
|
137
|
+
isLoading: boolean;
|
|
138
|
+
isRevoking: string | null;
|
|
139
|
+
isRevokingAll: boolean;
|
|
140
|
+
error: string | null;
|
|
141
|
+
stats: {
|
|
142
|
+
activeSessions: number;
|
|
143
|
+
uniqueDevices: number;
|
|
144
|
+
uniqueIpAddresses: number;
|
|
145
|
+
} | null;
|
|
146
|
+
};
|
|
147
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { ForgotPasswordFormProps } from "../types";
|
|
3
|
+
export declare function ForgotPasswordForm({ forgotPasswordAction, onBackToLogin, backToLoginHref, }: ForgotPasswordFormProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=ForgotPasswordForm.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { ForgotPasswordPageConfig } from "../types";
|
|
3
|
+
export declare function ForgotPasswordPage({ logo, title, subtitle, forgotPasswordAction, onBackToLogin, backToLoginHref, showBackground, className, }: ForgotPasswordPageConfig): ReactElement;
|
|
4
|
+
//# sourceMappingURL=ForgotPasswordPage.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { ForgotPasswordForm } from "./components/ForgotPasswordForm";
|
|
2
|
+
export { ForgotPasswordHeader } from "./components/ForgotPasswordHeader";
|
|
3
|
+
export { ForgotPasswordPage } from "./components/ForgotPasswordPage";
|
|
4
|
+
export { useForgotPasswordStore } from "./store";
|
|
5
|
+
export { extendForgotPasswordPageTheme, type ForgotPasswordPageTheme, forgotPasswordPageTheme, } from "./theme";
|
|
6
|
+
export type { ForgotPasswordAction, ForgotPasswordFormProps, ForgotPasswordHeaderProps, ForgotPasswordPageConfig, ForgotPasswordStep, } from "./types";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ForgotPasswordState, ForgotPasswordStep } from "../types";
|
|
2
|
+
type ForgotPasswordMethods = {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
setEmail: (email: string) => void;
|
|
5
|
+
setStep: (step: ForgotPasswordStep) => void;
|
|
6
|
+
setError: (error: string | null) => void;
|
|
7
|
+
reset: () => void;
|
|
8
|
+
};
|
|
9
|
+
type ForgotPasswordStoreState = ForgotPasswordState & {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
export declare const useForgotPasswordStore: () => import("h-state").StoreType<ForgotPasswordStoreState, ForgotPasswordMethods>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export type ForgotPasswordPageTheme = {
|
|
2
|
+
container: {
|
|
3
|
+
base: string;
|
|
4
|
+
wrapper: string;
|
|
5
|
+
};
|
|
6
|
+
card: {
|
|
7
|
+
base: string;
|
|
8
|
+
padding: string;
|
|
9
|
+
background: string;
|
|
10
|
+
border: string;
|
|
11
|
+
shadow: string;
|
|
12
|
+
rounded: string;
|
|
13
|
+
};
|
|
14
|
+
header: {
|
|
15
|
+
container: string;
|
|
16
|
+
logoWrapper: string;
|
|
17
|
+
iconWrapper: string;
|
|
18
|
+
title: string;
|
|
19
|
+
subtitle: string;
|
|
20
|
+
};
|
|
21
|
+
form: {
|
|
22
|
+
container: string;
|
|
23
|
+
spacing: string;
|
|
24
|
+
};
|
|
25
|
+
input: {
|
|
26
|
+
wrapper: string;
|
|
27
|
+
};
|
|
28
|
+
button: {
|
|
29
|
+
wrapper: string;
|
|
30
|
+
};
|
|
31
|
+
links: {
|
|
32
|
+
container: string;
|
|
33
|
+
backToLogin: string;
|
|
34
|
+
};
|
|
35
|
+
error: {
|
|
36
|
+
container: string;
|
|
37
|
+
text: string;
|
|
38
|
+
};
|
|
39
|
+
success: {
|
|
40
|
+
container: string;
|
|
41
|
+
iconWrapper: string;
|
|
42
|
+
title: string;
|
|
43
|
+
message: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const forgotPasswordPageTheme: ForgotPasswordPageTheme;
|
|
47
|
+
export declare function extendForgotPasswordPageTheme(overrides: Partial<ForgotPasswordPageTheme>): ForgotPasswordPageTheme;
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type ForgotPasswordStep = "request" | "success";
|
|
3
|
+
export type ForgotPasswordAction<TData = unknown, TError = unknown> = {
|
|
4
|
+
start: (config: {
|
|
5
|
+
payload: {
|
|
6
|
+
email: string;
|
|
7
|
+
};
|
|
8
|
+
onAfterHandle?: (data: TData) => void;
|
|
9
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
10
|
+
}) => void;
|
|
11
|
+
state: {
|
|
12
|
+
isPending: boolean;
|
|
13
|
+
data: TData | null;
|
|
14
|
+
error: TError | null;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export interface ForgotPasswordPageConfig {
|
|
18
|
+
title?: string;
|
|
19
|
+
subtitle?: string;
|
|
20
|
+
logo?: ReactNode;
|
|
21
|
+
forgotPasswordAction: ForgotPasswordAction;
|
|
22
|
+
onBackToLogin?: () => void;
|
|
23
|
+
backToLoginHref?: string;
|
|
24
|
+
showBackground?: boolean;
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ForgotPasswordFormProps {
|
|
28
|
+
forgotPasswordAction: ForgotPasswordAction;
|
|
29
|
+
onBackToLogin?: () => void;
|
|
30
|
+
backToLoginHref?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface ForgotPasswordHeaderProps {
|
|
33
|
+
logo?: ReactNode;
|
|
34
|
+
title: string;
|
|
35
|
+
subtitle: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ForgotPasswordState {
|
|
38
|
+
email: string;
|
|
39
|
+
step: ForgotPasswordStep;
|
|
40
|
+
error: string | null;
|
|
41
|
+
}
|
|
42
|
+
export interface ForgotPasswordActions {
|
|
43
|
+
setEmail: (email: string) => void;
|
|
44
|
+
setStep: (step: ForgotPasswordStep) => void;
|
|
45
|
+
setError: (error: string | null) => void;
|
|
46
|
+
reset: () => void;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FormBuilderProps } from "../types";
|
|
2
|
+
export declare function FormBuilder<T extends Record<string, unknown>>({ columns, mode, initialValues, onSubmit, onCancel, fieldConfigs, excludeFields, includeFields, layout, size, columns_grid, gap, submitText, cancelText, loading, disabled, showRequiredIndicator: _showRequiredIndicator, locale, className, formClassName, fieldsClassName, actionsClassName, renderHeader, renderFooter, renderField, }: FormBuilderProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=FormBuilder.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { UseFormBuilderOptions, UseFormBuilderReturn } from "../types";
|
|
2
|
+
export declare function useFormBuilder<T extends Record<string, unknown>>({ columns, initialValues, fieldConfigs, onSubmit, validate: customValidate, }: UseFormBuilderOptions<T>): UseFormBuilderReturn<T>;
|
|
3
|
+
//# sourceMappingURL=useFormBuilder.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { FormBuilder } from "./components/FormBuilder";
|
|
2
|
+
export { FormField } from "./components/FormField";
|
|
3
|
+
export { useFormBuilder } from "./hooks/useFormBuilder";
|
|
4
|
+
export { formBuilderTheme } from "./theme";
|
|
5
|
+
export type { ColumnEnum, ColumnReference, ColumnType, ColumnValidation, FormBuilderProps, FormFieldConfig, FormFieldProps, FormFieldRenderProps, FormFooterRenderProps, FormLayout, FormMode, FormSize, FormState, NucleusColumn, UseFormBuilderOptions, UseFormBuilderReturn, ValidationFormat, } from "./types";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|