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,64 @@
|
|
|
1
|
+
import type { BaseErrorResponse, DeleteResponse, EndpointAction, ListResponse, MutationResponse, StandardQueryParams, SystemClaimEntity, SystemRoleClaimEntity, SystemRoleEntity } from "../../../..";
|
|
2
|
+
export type RoleInfo = SystemRoleEntity;
|
|
3
|
+
export type ClaimInfo = SystemClaimEntity;
|
|
4
|
+
export type RoleClaimInfo = SystemRoleClaimEntity;
|
|
5
|
+
export type AuthorizationPageProps<TRole = RoleInfo, TClaim = ClaimInfo, TRoleClaim = RoleClaimInfo> = {
|
|
6
|
+
title?: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
defaultEntityFilter?: string;
|
|
10
|
+
defaultMethodFilter?: string;
|
|
11
|
+
defaultShowAssignedOnly?: boolean;
|
|
12
|
+
getRolesAction: EndpointAction<StandardQueryParams | undefined, ListResponse<TRole>, BaseErrorResponse>;
|
|
13
|
+
addRoleAction: EndpointAction<Partial<TRole>, MutationResponse<TRole>, BaseErrorResponse>;
|
|
14
|
+
updateRoleAction?: EndpointAction<Partial<TRole> & {
|
|
15
|
+
id: string;
|
|
16
|
+
}, MutationResponse<TRole>, BaseErrorResponse>;
|
|
17
|
+
deleteRoleAction: EndpointAction<{
|
|
18
|
+
id: string;
|
|
19
|
+
}, DeleteResponse, BaseErrorResponse>;
|
|
20
|
+
getClaimsAction: EndpointAction<StandardQueryParams | undefined, ListResponse<TClaim>, BaseErrorResponse>;
|
|
21
|
+
getRoleClaimsAction: EndpointAction<StandardQueryParams | undefined, ListResponse<TRoleClaim>, BaseErrorResponse>;
|
|
22
|
+
addRoleClaimAction: EndpointAction<Partial<TRoleClaim>, MutationResponse<TRoleClaim>, BaseErrorResponse>;
|
|
23
|
+
updateRoleClaimAction?: EndpointAction<Partial<TRoleClaim> & {
|
|
24
|
+
id: string;
|
|
25
|
+
}, MutationResponse<TRoleClaim>, BaseErrorResponse>;
|
|
26
|
+
deleteRoleClaimAction: EndpointAction<{
|
|
27
|
+
id: string;
|
|
28
|
+
}, DeleteResponse, BaseErrorResponse>;
|
|
29
|
+
onRoleCreated?: (role: TRole) => void;
|
|
30
|
+
onRoleDeleted?: (roleId: string) => void;
|
|
31
|
+
onClaimToggled?: (claim: TClaim, assigned: boolean) => void;
|
|
32
|
+
};
|
|
33
|
+
export type RoleListProps = {
|
|
34
|
+
roles: RoleInfo[];
|
|
35
|
+
selectedRole: RoleInfo | null;
|
|
36
|
+
isLoading?: boolean;
|
|
37
|
+
isCreating?: boolean;
|
|
38
|
+
isDeleting?: boolean;
|
|
39
|
+
newRoleName: string;
|
|
40
|
+
newRoleDescription: string;
|
|
41
|
+
onNewRoleNameChange: (name: string) => void;
|
|
42
|
+
onNewRoleDescriptionChange: (description: string) => void;
|
|
43
|
+
onSelectRole: (role: RoleInfo) => void;
|
|
44
|
+
onDeleteRole: (roleId: string) => void;
|
|
45
|
+
onCreateRole: () => void;
|
|
46
|
+
};
|
|
47
|
+
export type ClaimListProps = {
|
|
48
|
+
claims: ClaimInfo[];
|
|
49
|
+
isLoading?: boolean;
|
|
50
|
+
};
|
|
51
|
+
export type RoleClaimEditorProps = {
|
|
52
|
+
selectedRole: RoleInfo | null;
|
|
53
|
+
claims: ClaimInfo[];
|
|
54
|
+
roleClaims: RoleClaimInfo[];
|
|
55
|
+
isLoading?: boolean;
|
|
56
|
+
isToggling?: boolean;
|
|
57
|
+
onToggleClaim: (claim: ClaimInfo, isAssigned: boolean, scope?: string) => void;
|
|
58
|
+
onUpdateScope?: (roleClaimId: string, scope: string) => void;
|
|
59
|
+
editingScope?: string | null;
|
|
60
|
+
onEditScope?: (claimId: string | null) => void;
|
|
61
|
+
scopeValue?: string;
|
|
62
|
+
onScopeValueChange?: (value: string) => void;
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Button } from "./components/Button";
|
|
2
|
+
export { ButtonSpinner } from "./components/ButtonSpinner";
|
|
3
|
+
export type { ButtonTheme } from "./theme";
|
|
4
|
+
export { buttonTheme, extendButtonTheme } from "./theme";
|
|
5
|
+
export type { ButtonIconPosition, ButtonProps, ButtonShape, ButtonSize, ButtonSpinnerProps, ButtonVariant, } from "./types";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
export interface ButtonTheme {
|
|
2
|
+
base: string;
|
|
3
|
+
display: string;
|
|
4
|
+
alignment: string;
|
|
5
|
+
font: {
|
|
6
|
+
weight: string;
|
|
7
|
+
family: string;
|
|
8
|
+
};
|
|
9
|
+
transition: string;
|
|
10
|
+
focus: string;
|
|
11
|
+
disabled: {
|
|
12
|
+
opacity: string;
|
|
13
|
+
cursor: string;
|
|
14
|
+
};
|
|
15
|
+
fullWidth: string;
|
|
16
|
+
size: {
|
|
17
|
+
xs: {
|
|
18
|
+
padding: string;
|
|
19
|
+
text: string;
|
|
20
|
+
height: string;
|
|
21
|
+
iconSize: string;
|
|
22
|
+
gap: string;
|
|
23
|
+
};
|
|
24
|
+
sm: {
|
|
25
|
+
padding: string;
|
|
26
|
+
text: string;
|
|
27
|
+
height: string;
|
|
28
|
+
iconSize: string;
|
|
29
|
+
gap: string;
|
|
30
|
+
};
|
|
31
|
+
md: {
|
|
32
|
+
padding: string;
|
|
33
|
+
text: string;
|
|
34
|
+
height: string;
|
|
35
|
+
iconSize: string;
|
|
36
|
+
gap: string;
|
|
37
|
+
};
|
|
38
|
+
lg: {
|
|
39
|
+
padding: string;
|
|
40
|
+
text: string;
|
|
41
|
+
height: string;
|
|
42
|
+
iconSize: string;
|
|
43
|
+
gap: string;
|
|
44
|
+
};
|
|
45
|
+
xl: {
|
|
46
|
+
padding: string;
|
|
47
|
+
text: string;
|
|
48
|
+
height: string;
|
|
49
|
+
iconSize: string;
|
|
50
|
+
gap: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
shape: {
|
|
54
|
+
default: string;
|
|
55
|
+
rounded: string;
|
|
56
|
+
pill: string;
|
|
57
|
+
square: string;
|
|
58
|
+
};
|
|
59
|
+
iconOnly: {
|
|
60
|
+
xs: string;
|
|
61
|
+
sm: string;
|
|
62
|
+
md: string;
|
|
63
|
+
lg: string;
|
|
64
|
+
xl: string;
|
|
65
|
+
};
|
|
66
|
+
variant: {
|
|
67
|
+
nucleus: {
|
|
68
|
+
background: string;
|
|
69
|
+
text: string;
|
|
70
|
+
border: string;
|
|
71
|
+
shadow: string;
|
|
72
|
+
hover: string;
|
|
73
|
+
active: string;
|
|
74
|
+
};
|
|
75
|
+
"nucleus-outline": {
|
|
76
|
+
background: string;
|
|
77
|
+
text: string;
|
|
78
|
+
border: string;
|
|
79
|
+
shadow: string;
|
|
80
|
+
hover: string;
|
|
81
|
+
active: string;
|
|
82
|
+
};
|
|
83
|
+
"nucleus-ghost": {
|
|
84
|
+
background: string;
|
|
85
|
+
text: string;
|
|
86
|
+
border: string;
|
|
87
|
+
shadow: string;
|
|
88
|
+
hover: string;
|
|
89
|
+
active: string;
|
|
90
|
+
};
|
|
91
|
+
"nucleus-soft": {
|
|
92
|
+
background: string;
|
|
93
|
+
text: string;
|
|
94
|
+
border: string;
|
|
95
|
+
shadow: string;
|
|
96
|
+
hover: string;
|
|
97
|
+
active: string;
|
|
98
|
+
};
|
|
99
|
+
primary: {
|
|
100
|
+
background: string;
|
|
101
|
+
text: string;
|
|
102
|
+
border: string;
|
|
103
|
+
shadow: string;
|
|
104
|
+
hover: string;
|
|
105
|
+
active: string;
|
|
106
|
+
};
|
|
107
|
+
secondary: {
|
|
108
|
+
background: string;
|
|
109
|
+
text: string;
|
|
110
|
+
border: string;
|
|
111
|
+
shadow: string;
|
|
112
|
+
hover: string;
|
|
113
|
+
active: string;
|
|
114
|
+
};
|
|
115
|
+
success: {
|
|
116
|
+
background: string;
|
|
117
|
+
text: string;
|
|
118
|
+
border: string;
|
|
119
|
+
shadow: string;
|
|
120
|
+
hover: string;
|
|
121
|
+
active: string;
|
|
122
|
+
};
|
|
123
|
+
warning: {
|
|
124
|
+
background: string;
|
|
125
|
+
text: string;
|
|
126
|
+
border: string;
|
|
127
|
+
shadow: string;
|
|
128
|
+
hover: string;
|
|
129
|
+
active: string;
|
|
130
|
+
};
|
|
131
|
+
danger: {
|
|
132
|
+
background: string;
|
|
133
|
+
text: string;
|
|
134
|
+
border: string;
|
|
135
|
+
shadow: string;
|
|
136
|
+
hover: string;
|
|
137
|
+
active: string;
|
|
138
|
+
};
|
|
139
|
+
ghost: {
|
|
140
|
+
background: string;
|
|
141
|
+
text: string;
|
|
142
|
+
border: string;
|
|
143
|
+
shadow: string;
|
|
144
|
+
hover: string;
|
|
145
|
+
active: string;
|
|
146
|
+
};
|
|
147
|
+
outline: {
|
|
148
|
+
background: string;
|
|
149
|
+
text: string;
|
|
150
|
+
border: string;
|
|
151
|
+
shadow: string;
|
|
152
|
+
hover: string;
|
|
153
|
+
active: string;
|
|
154
|
+
};
|
|
155
|
+
link: {
|
|
156
|
+
background: string;
|
|
157
|
+
text: string;
|
|
158
|
+
border: string;
|
|
159
|
+
shadow: string;
|
|
160
|
+
hover: string;
|
|
161
|
+
active: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
spinner: {
|
|
165
|
+
base: string;
|
|
166
|
+
size: {
|
|
167
|
+
xs: string;
|
|
168
|
+
sm: string;
|
|
169
|
+
md: string;
|
|
170
|
+
lg: string;
|
|
171
|
+
xl: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
ripple: {
|
|
175
|
+
base: string;
|
|
176
|
+
};
|
|
177
|
+
pulse: {
|
|
178
|
+
animation: string;
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
export declare const buttonTheme: ButtonTheme;
|
|
182
|
+
export declare function extendButtonTheme(overrides: Partial<ButtonTheme>): ButtonTheme;
|
|
183
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ButtonHTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export type ButtonVariant = "nucleus" | "nucleus-outline" | "nucleus-ghost" | "nucleus-soft" | "primary" | "secondary" | "success" | "warning" | "danger" | "ghost" | "outline" | "link";
|
|
3
|
+
export type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
|
+
export type ButtonShape = "default" | "rounded" | "pill" | "square";
|
|
5
|
+
export type ButtonIconPosition = "left" | "right";
|
|
6
|
+
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
variant?: ButtonVariant;
|
|
9
|
+
size?: ButtonSize;
|
|
10
|
+
shape?: ButtonShape;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
fullWidth?: boolean;
|
|
14
|
+
leftIcon?: ReactNode;
|
|
15
|
+
rightIcon?: ReactNode;
|
|
16
|
+
iconOnly?: boolean;
|
|
17
|
+
ripple?: boolean;
|
|
18
|
+
pulse?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ButtonSpinnerProps {
|
|
22
|
+
size: ButtonSize;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { CaptchaProps } from "../types";
|
|
3
|
+
export declare function Captcha({ generateAction, config, onChallengeLoad, onAnswerChange, disabled, autoGenerate, className, label, errorMessage, }: CaptchaProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=Captcha.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const captchaTheme: {
|
|
2
|
+
container: {
|
|
3
|
+
base: string;
|
|
4
|
+
wrapper: string;
|
|
5
|
+
};
|
|
6
|
+
label: {
|
|
7
|
+
base: string;
|
|
8
|
+
};
|
|
9
|
+
challenge: {
|
|
10
|
+
wrapper: string;
|
|
11
|
+
math: {
|
|
12
|
+
question: string;
|
|
13
|
+
};
|
|
14
|
+
image: {
|
|
15
|
+
wrapper: string;
|
|
16
|
+
img: string;
|
|
17
|
+
};
|
|
18
|
+
text: {
|
|
19
|
+
question: string;
|
|
20
|
+
};
|
|
21
|
+
puzzle: {
|
|
22
|
+
wrapper: string;
|
|
23
|
+
instruction: string;
|
|
24
|
+
grid: string;
|
|
25
|
+
piece: string;
|
|
26
|
+
pieceSelected: string;
|
|
27
|
+
pieceOrdered: string;
|
|
28
|
+
orderDisplay: string;
|
|
29
|
+
orderBadge: string;
|
|
30
|
+
clearButton: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
input: {
|
|
34
|
+
wrapper: string;
|
|
35
|
+
base: string;
|
|
36
|
+
error: string;
|
|
37
|
+
};
|
|
38
|
+
actions: {
|
|
39
|
+
wrapper: string;
|
|
40
|
+
refresh: string;
|
|
41
|
+
timer: string;
|
|
42
|
+
timerExpired: string;
|
|
43
|
+
};
|
|
44
|
+
error: {
|
|
45
|
+
container: string;
|
|
46
|
+
text: string;
|
|
47
|
+
};
|
|
48
|
+
loading: {
|
|
49
|
+
wrapper: string;
|
|
50
|
+
spinner: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export type CaptchaType = "math" | "image" | "puzzle" | "text";
|
|
2
|
+
export type CaptchaDifficulty = "easy" | "medium" | "hard";
|
|
3
|
+
export interface CaptchaChallenge {
|
|
4
|
+
success: boolean;
|
|
5
|
+
challengeId: string;
|
|
6
|
+
type: CaptchaType;
|
|
7
|
+
question: string;
|
|
8
|
+
imageData?: string;
|
|
9
|
+
puzzleData?: {
|
|
10
|
+
pieces: Array<{
|
|
11
|
+
id: number;
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
expiresAt: number;
|
|
17
|
+
rateLimited?: boolean;
|
|
18
|
+
message?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface CaptchaConfig {
|
|
21
|
+
enabled?: boolean;
|
|
22
|
+
type?: CaptchaType;
|
|
23
|
+
difficulty?: CaptchaDifficulty;
|
|
24
|
+
}
|
|
25
|
+
export interface CaptchaGenerateActionPayload {
|
|
26
|
+
type?: CaptchaType;
|
|
27
|
+
difficulty?: CaptchaDifficulty;
|
|
28
|
+
}
|
|
29
|
+
export interface CaptchaAction<TSuccess = unknown, TError = unknown> {
|
|
30
|
+
start: (config: {
|
|
31
|
+
payload: CaptchaGenerateActionPayload;
|
|
32
|
+
onAfterHandle?: (data: TSuccess) => void;
|
|
33
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
34
|
+
}) => void;
|
|
35
|
+
state: {
|
|
36
|
+
isPending: boolean;
|
|
37
|
+
data: TSuccess | null;
|
|
38
|
+
error: TError | null;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface CaptchaProps {
|
|
42
|
+
generateAction: CaptchaAction<CaptchaChallenge>;
|
|
43
|
+
config?: CaptchaConfig;
|
|
44
|
+
onChallengeLoad?: (challenge: CaptchaChallenge) => void;
|
|
45
|
+
onAnswerChange?: (challengeId: string, answer: string) => void;
|
|
46
|
+
onValidated?: (valid: boolean) => void;
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
autoGenerate?: boolean;
|
|
49
|
+
className?: string;
|
|
50
|
+
label?: string;
|
|
51
|
+
errorMessage?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface CaptchaState {
|
|
54
|
+
challenge: CaptchaChallenge | null;
|
|
55
|
+
answer: string;
|
|
56
|
+
isLoading: boolean;
|
|
57
|
+
error: string | null;
|
|
58
|
+
isExpired: boolean;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { ChangePasswordFormProps } from "../types";
|
|
3
|
+
export declare function ChangePasswordForm({ changePasswordAction, onSuccess, onCancel, cancelHref, }: ChangePasswordFormProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=ChangePasswordForm.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { ChangePasswordPageConfig } from "../types";
|
|
3
|
+
export declare function ChangePasswordPage({ logo, title, subtitle, changePasswordAction, onSuccess, onCancel, cancelHref, showBackground, className, }: ChangePasswordPageConfig): ReactElement;
|
|
4
|
+
//# sourceMappingURL=ChangePasswordPage.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { ChangePasswordForm } from "./components/ChangePasswordForm";
|
|
2
|
+
export { ChangePasswordHeader } from "./components/ChangePasswordHeader";
|
|
3
|
+
export { ChangePasswordPage } from "./components/ChangePasswordPage";
|
|
4
|
+
export { useChangePasswordStore } from "./store";
|
|
5
|
+
export { type ChangePasswordPageTheme, changePasswordPageTheme, extendChangePasswordPageTheme, } from "./theme";
|
|
6
|
+
export type { ChangePasswordAction, ChangePasswordFormProps, ChangePasswordHeaderProps, ChangePasswordPageConfig, ChangePasswordStep, } from "./types";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ChangePasswordState, ChangePasswordStep } from "../types";
|
|
2
|
+
type ChangePasswordMethods = {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
setCurrentPassword: (password: string) => void;
|
|
5
|
+
setNewPassword: (password: string) => void;
|
|
6
|
+
setConfirmPassword: (password: string) => void;
|
|
7
|
+
setStep: (step: ChangePasswordStep) => void;
|
|
8
|
+
setError: (error: string | null) => void;
|
|
9
|
+
reset: () => void;
|
|
10
|
+
};
|
|
11
|
+
type ChangePasswordStoreState = ChangePasswordState & {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
export declare const useChangePasswordStore: () => import("h-state").StoreType<ChangePasswordStoreState, ChangePasswordMethods>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export type ChangePasswordPageTheme = {
|
|
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
|
+
cancel: 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 changePasswordPageTheme: ChangePasswordPageTheme;
|
|
47
|
+
export declare function extendChangePasswordPageTheme(overrides: Partial<ChangePasswordPageTheme>): ChangePasswordPageTheme;
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type ChangePasswordStep = "form" | "success";
|
|
3
|
+
export type ChangePasswordAction<TData = unknown, TError = unknown> = {
|
|
4
|
+
start: (config: {
|
|
5
|
+
payload: {
|
|
6
|
+
currentPassword: string;
|
|
7
|
+
newPassword: string;
|
|
8
|
+
confirmPassword: string;
|
|
9
|
+
};
|
|
10
|
+
onAfterHandle?: (data: TData) => void;
|
|
11
|
+
onErrorHandle?: (error: TError, code?: number | null) => void;
|
|
12
|
+
}) => void;
|
|
13
|
+
state: {
|
|
14
|
+
isPending: boolean;
|
|
15
|
+
data: TData | null;
|
|
16
|
+
error: TError | null;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export interface ChangePasswordPageConfig {
|
|
20
|
+
title?: string;
|
|
21
|
+
subtitle?: string;
|
|
22
|
+
logo?: ReactNode;
|
|
23
|
+
changePasswordAction: ChangePasswordAction;
|
|
24
|
+
onSuccess?: () => void;
|
|
25
|
+
onCancel?: () => void;
|
|
26
|
+
cancelHref?: string;
|
|
27
|
+
showBackground?: boolean;
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ChangePasswordFormProps {
|
|
31
|
+
changePasswordAction: ChangePasswordAction;
|
|
32
|
+
onSuccess?: () => void;
|
|
33
|
+
onCancel?: () => void;
|
|
34
|
+
cancelHref?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface ChangePasswordHeaderProps {
|
|
37
|
+
logo?: ReactNode;
|
|
38
|
+
title: string;
|
|
39
|
+
subtitle: string;
|
|
40
|
+
}
|
|
41
|
+
export interface ChangePasswordState {
|
|
42
|
+
currentPassword: string;
|
|
43
|
+
newPassword: string;
|
|
44
|
+
confirmPassword: string;
|
|
45
|
+
step: ChangePasswordStep;
|
|
46
|
+
error: string | null;
|
|
47
|
+
}
|
|
48
|
+
export interface ChangePasswordActions {
|
|
49
|
+
setCurrentPassword: (password: string) => void;
|
|
50
|
+
setNewPassword: (password: string) => void;
|
|
51
|
+
setConfirmPassword: (password: string) => void;
|
|
52
|
+
setStep: (step: ChangePasswordStep) => void;
|
|
53
|
+
setError: (error: string | null) => void;
|
|
54
|
+
reset: () => void;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { CheckboxProps } from "../types";
|
|
2
|
+
export declare function Checkbox({ checked, onChange, variant, size, color, label, labelPosition, disabled, indeterminate, name, value, id, required, errorMessage, helperText, className, labelClassName, ariaLabel, ariaDescribedBy, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Checkbox } from "./components/Checkbox";
|
|
2
|
+
export { CheckboxIcon } from "./components/CheckboxIcon";
|
|
3
|
+
export { SwitchTrack } from "./components/SwitchTrack";
|
|
4
|
+
export type { CheckboxTheme } from "./theme";
|
|
5
|
+
export { checkboxTheme, extendCheckboxTheme } from "./theme";
|
|
6
|
+
export type { CheckboxColor, CheckboxIconProps, CheckboxProps, CheckboxSize, CheckboxVariant, SwitchTrackProps, } from "./types";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|