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,141 @@
|
|
|
1
|
+
export interface SearchBoxTheme {
|
|
2
|
+
container: {
|
|
3
|
+
base: string;
|
|
4
|
+
spacing: string;
|
|
5
|
+
};
|
|
6
|
+
wrapper: {
|
|
7
|
+
base: string;
|
|
8
|
+
border: {
|
|
9
|
+
base: string;
|
|
10
|
+
focused: string;
|
|
11
|
+
error: string;
|
|
12
|
+
disabled: string;
|
|
13
|
+
};
|
|
14
|
+
background: {
|
|
15
|
+
light: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
};
|
|
18
|
+
padding: {
|
|
19
|
+
sm: string;
|
|
20
|
+
md: string;
|
|
21
|
+
lg: string;
|
|
22
|
+
};
|
|
23
|
+
rounded: string;
|
|
24
|
+
shadow: string;
|
|
25
|
+
transition: string;
|
|
26
|
+
};
|
|
27
|
+
input: {
|
|
28
|
+
base: string;
|
|
29
|
+
text: {
|
|
30
|
+
size: string;
|
|
31
|
+
color: {
|
|
32
|
+
light: string;
|
|
33
|
+
dark: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
placeholder: {
|
|
37
|
+
light: string;
|
|
38
|
+
dark: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
label: {
|
|
42
|
+
base: string;
|
|
43
|
+
text: {
|
|
44
|
+
size: string;
|
|
45
|
+
color: {
|
|
46
|
+
light: string;
|
|
47
|
+
dark: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
spacing: string;
|
|
51
|
+
};
|
|
52
|
+
icon: {
|
|
53
|
+
base: string;
|
|
54
|
+
size: {
|
|
55
|
+
sm: string;
|
|
56
|
+
md: string;
|
|
57
|
+
lg: string;
|
|
58
|
+
};
|
|
59
|
+
color: {
|
|
60
|
+
light: string;
|
|
61
|
+
dark: string;
|
|
62
|
+
focused: string;
|
|
63
|
+
};
|
|
64
|
+
spacing: {
|
|
65
|
+
left: string;
|
|
66
|
+
right: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
clearButton: {
|
|
70
|
+
base: string;
|
|
71
|
+
size: string;
|
|
72
|
+
color: {
|
|
73
|
+
light: string;
|
|
74
|
+
dark: string;
|
|
75
|
+
hover: string;
|
|
76
|
+
};
|
|
77
|
+
transition: string;
|
|
78
|
+
};
|
|
79
|
+
dropdown: {
|
|
80
|
+
base: string;
|
|
81
|
+
background: {
|
|
82
|
+
light: string;
|
|
83
|
+
dark: string;
|
|
84
|
+
};
|
|
85
|
+
border: {
|
|
86
|
+
light: string;
|
|
87
|
+
dark: string;
|
|
88
|
+
};
|
|
89
|
+
rounded: string;
|
|
90
|
+
shadow: string;
|
|
91
|
+
maxHeight: string;
|
|
92
|
+
spacing: {
|
|
93
|
+
top: string;
|
|
94
|
+
bottom: string;
|
|
95
|
+
};
|
|
96
|
+
position: {
|
|
97
|
+
top: string;
|
|
98
|
+
bottom: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
item: {
|
|
102
|
+
base: string;
|
|
103
|
+
padding: string;
|
|
104
|
+
text: {
|
|
105
|
+
size: string;
|
|
106
|
+
color: {
|
|
107
|
+
light: string;
|
|
108
|
+
dark: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
hover: {
|
|
112
|
+
light: string;
|
|
113
|
+
dark: string;
|
|
114
|
+
};
|
|
115
|
+
active: {
|
|
116
|
+
light: string;
|
|
117
|
+
dark: string;
|
|
118
|
+
};
|
|
119
|
+
transition: string;
|
|
120
|
+
rounded: string;
|
|
121
|
+
};
|
|
122
|
+
loading: {
|
|
123
|
+
base: string;
|
|
124
|
+
size: string;
|
|
125
|
+
color: string;
|
|
126
|
+
};
|
|
127
|
+
empty: {
|
|
128
|
+
base: string;
|
|
129
|
+
text: {
|
|
130
|
+
size: string;
|
|
131
|
+
color: {
|
|
132
|
+
light: string;
|
|
133
|
+
dark: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
padding: string;
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
export declare const searchBoxTheme: SearchBoxTheme;
|
|
140
|
+
export declare function extendSearchBoxTheme(overrides: Partial<SearchBoxTheme>): SearchBoxTheme;
|
|
141
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface SearchBoxItem<T = unknown> {
|
|
3
|
+
id: string | number;
|
|
4
|
+
data: T;
|
|
5
|
+
}
|
|
6
|
+
export interface SearchBoxProps<T> {
|
|
7
|
+
value: string;
|
|
8
|
+
onChange: (value: string) => void;
|
|
9
|
+
onSearch: (query: string) => void;
|
|
10
|
+
results?: SearchBoxItem<T>[] | undefined;
|
|
11
|
+
renderItem?: (item: SearchBoxItem<T>, index: number) => ReactNode;
|
|
12
|
+
onSelect?: (item: SearchBoxItem<T>) => void;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
label?: string;
|
|
15
|
+
debounceMs?: number;
|
|
16
|
+
minSearchLength?: number;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
emptyMessage?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
inputClassName?: string;
|
|
22
|
+
dropdownClassName?: string;
|
|
23
|
+
itemClassName?: string;
|
|
24
|
+
showClearButton?: boolean;
|
|
25
|
+
leftIcon?: ReactNode;
|
|
26
|
+
rightIcon?: ReactNode;
|
|
27
|
+
disableDropdown?: boolean;
|
|
28
|
+
showSearchIcon?: boolean;
|
|
29
|
+
maxLength?: number;
|
|
30
|
+
sanitize?: boolean;
|
|
31
|
+
trimOnSearch?: boolean;
|
|
32
|
+
preventXSS?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface SearchBoxDropdownProps<T> {
|
|
35
|
+
results: SearchBoxItem<T>[];
|
|
36
|
+
renderItem?: (item: SearchBoxItem<T>, index: number) => ReactNode;
|
|
37
|
+
onSelect?: (item: SearchBoxItem<T>) => void;
|
|
38
|
+
loading?: boolean;
|
|
39
|
+
emptyMessage?: string;
|
|
40
|
+
className?: string;
|
|
41
|
+
itemClassName?: string;
|
|
42
|
+
position: "top" | "bottom";
|
|
43
|
+
activeIndex: number;
|
|
44
|
+
onActiveIndexChange: (index: number) => void;
|
|
45
|
+
}
|
|
46
|
+
export type DropdownPosition = "top" | "bottom";
|
|
47
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function sanitizeInput(input: string): string;
|
|
2
|
+
export declare function escapeHtml(input: string): string;
|
|
3
|
+
export declare function sanitizeSearchQuery(query: string, options?: {
|
|
4
|
+
trim?: boolean;
|
|
5
|
+
escapeHtml?: boolean;
|
|
6
|
+
maxLength?: number;
|
|
7
|
+
removeScripts?: boolean;
|
|
8
|
+
}): string;
|
|
9
|
+
//# sourceMappingURL=sanitize.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { SelectBoxProps } from "../types";
|
|
2
|
+
export declare function SelectBox<T = string>({ options, value: controlledValue, defaultValue, placeholder, disabled, readOnly, loading, clearable, searchable, size, variant, position, maxHeight, emptyText, loadingText, searchPlaceholder, onChange, onSearch, onOpen, onClose, renderOption, renderValue, label, error, helperText, required, name, ariaLabel, className, ...props }: SelectBoxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=SelectBox.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SelectDropdownProps } from "../types";
|
|
2
|
+
export declare const SelectDropdown: import("react").ForwardRefExoticComponent<SelectDropdownProps & {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
triggerRef?: React.RefObject<HTMLButtonElement | null>;
|
|
5
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
//# sourceMappingURL=SelectDropdown.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { SelectOptionItemProps } from "../types";
|
|
2
|
+
export declare function SelectOptionItem<T>({ option, isSelected, isHighlighted, size, onClick, onMouseEnter, }: SelectOptionItemProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=SelectOptionItem.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SelectTriggerProps } from "../types";
|
|
2
|
+
export declare const SelectTrigger: import("react").ForwardRefExoticComponent<SelectTriggerProps & {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
//# sourceMappingURL=SelectTrigger.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { SelectBox } from "./components/SelectBox";
|
|
2
|
+
export { SelectDropdown } from "./components/SelectDropdown";
|
|
3
|
+
export { SelectOptionItem } from "./components/SelectOptionItem";
|
|
4
|
+
export { SelectTrigger } from "./components/SelectTrigger";
|
|
5
|
+
export type { SelectBoxTheme } from "./theme";
|
|
6
|
+
export { selectBoxTheme } from "./theme";
|
|
7
|
+
export type { DropdownPosition, SelectBoxProps, SelectBoxSize, SelectBoxVariant, SelectDropdownProps, SelectOption, SelectOptionItemProps, SelectTriggerProps, } from "./types";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export interface SelectBoxTheme {
|
|
2
|
+
container: {
|
|
3
|
+
base: string;
|
|
4
|
+
};
|
|
5
|
+
label: {
|
|
6
|
+
base: string;
|
|
7
|
+
size: {
|
|
8
|
+
sm: string;
|
|
9
|
+
md: string;
|
|
10
|
+
lg: string;
|
|
11
|
+
};
|
|
12
|
+
required: string;
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
trigger: {
|
|
16
|
+
base: string;
|
|
17
|
+
size: {
|
|
18
|
+
sm: string;
|
|
19
|
+
md: string;
|
|
20
|
+
lg: string;
|
|
21
|
+
};
|
|
22
|
+
variant: {
|
|
23
|
+
default: string;
|
|
24
|
+
filled: string;
|
|
25
|
+
ghost: string;
|
|
26
|
+
};
|
|
27
|
+
states: {
|
|
28
|
+
hover: string;
|
|
29
|
+
focus: string;
|
|
30
|
+
disabled: string;
|
|
31
|
+
error: string;
|
|
32
|
+
open: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
placeholder: {
|
|
36
|
+
base: string;
|
|
37
|
+
};
|
|
38
|
+
value: {
|
|
39
|
+
base: string;
|
|
40
|
+
};
|
|
41
|
+
icon: {
|
|
42
|
+
base: string;
|
|
43
|
+
size: {
|
|
44
|
+
sm: string;
|
|
45
|
+
md: string;
|
|
46
|
+
lg: string;
|
|
47
|
+
};
|
|
48
|
+
open: string;
|
|
49
|
+
};
|
|
50
|
+
clearButton: {
|
|
51
|
+
base: string;
|
|
52
|
+
hover: string;
|
|
53
|
+
};
|
|
54
|
+
dropdown: {
|
|
55
|
+
base: string;
|
|
56
|
+
position: {
|
|
57
|
+
top: string;
|
|
58
|
+
bottom: string;
|
|
59
|
+
};
|
|
60
|
+
size: {
|
|
61
|
+
sm: string;
|
|
62
|
+
md: string;
|
|
63
|
+
lg: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
search: {
|
|
67
|
+
container: string;
|
|
68
|
+
input: string;
|
|
69
|
+
icon: string;
|
|
70
|
+
};
|
|
71
|
+
option: {
|
|
72
|
+
base: string;
|
|
73
|
+
size: {
|
|
74
|
+
sm: string;
|
|
75
|
+
md: string;
|
|
76
|
+
lg: string;
|
|
77
|
+
};
|
|
78
|
+
states: {
|
|
79
|
+
hover: string;
|
|
80
|
+
selected: string;
|
|
81
|
+
highlighted: string;
|
|
82
|
+
disabled: string;
|
|
83
|
+
};
|
|
84
|
+
icon: string;
|
|
85
|
+
checkmark: string;
|
|
86
|
+
};
|
|
87
|
+
empty: {
|
|
88
|
+
base: string;
|
|
89
|
+
};
|
|
90
|
+
loading: {
|
|
91
|
+
base: string;
|
|
92
|
+
spinner: string;
|
|
93
|
+
};
|
|
94
|
+
helper: {
|
|
95
|
+
base: string;
|
|
96
|
+
error: string;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
export declare const selectBoxTheme: SelectBoxTheme;
|
|
100
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export type SelectBoxSize = "sm" | "md" | "lg";
|
|
3
|
+
export type SelectBoxVariant = "default" | "filled" | "ghost";
|
|
4
|
+
export type DropdownPosition = "top" | "bottom" | "auto";
|
|
5
|
+
export interface SelectOption<T = string> {
|
|
6
|
+
value: T;
|
|
7
|
+
label: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export interface SelectBoxProps<T = string> extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
12
|
+
options: SelectOption<T>[];
|
|
13
|
+
value?: T;
|
|
14
|
+
defaultValue?: T;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
readOnly?: boolean;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
clearable?: boolean;
|
|
20
|
+
searchable?: boolean;
|
|
21
|
+
size?: SelectBoxSize;
|
|
22
|
+
variant?: SelectBoxVariant;
|
|
23
|
+
position?: DropdownPosition;
|
|
24
|
+
maxHeight?: number;
|
|
25
|
+
emptyText?: string;
|
|
26
|
+
loadingText?: string;
|
|
27
|
+
searchPlaceholder?: string;
|
|
28
|
+
onChange?: (value: T | undefined) => void;
|
|
29
|
+
onSearch?: (query: string) => void;
|
|
30
|
+
onOpen?: () => void;
|
|
31
|
+
onClose?: () => void;
|
|
32
|
+
renderOption?: (option: SelectOption<T>, isSelected: boolean) => ReactNode;
|
|
33
|
+
renderValue?: (option: SelectOption<T>) => ReactNode;
|
|
34
|
+
label?: string;
|
|
35
|
+
error?: string;
|
|
36
|
+
helperText?: string;
|
|
37
|
+
required?: boolean;
|
|
38
|
+
name?: string;
|
|
39
|
+
ariaLabel?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface SelectTriggerProps {
|
|
42
|
+
isOpen: boolean;
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
loading: boolean;
|
|
45
|
+
size: SelectBoxSize;
|
|
46
|
+
variant: SelectBoxVariant;
|
|
47
|
+
hasValue: boolean;
|
|
48
|
+
hasError: boolean;
|
|
49
|
+
onClick: () => void;
|
|
50
|
+
onKeyDown: (e: React.KeyboardEvent) => void;
|
|
51
|
+
}
|
|
52
|
+
export interface SelectDropdownProps {
|
|
53
|
+
isOpen: boolean;
|
|
54
|
+
position: "top" | "bottom";
|
|
55
|
+
size: SelectBoxSize;
|
|
56
|
+
maxHeight: number;
|
|
57
|
+
}
|
|
58
|
+
export interface SelectOptionItemProps<T = string> {
|
|
59
|
+
option: SelectOption<T>;
|
|
60
|
+
isSelected: boolean;
|
|
61
|
+
isHighlighted: boolean;
|
|
62
|
+
size: SelectBoxSize;
|
|
63
|
+
onClick: () => void;
|
|
64
|
+
onMouseEnter: () => void;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { PasswordStrength } from "../types";
|
|
3
|
+
type PasswordStrengthIndicatorProps = {
|
|
4
|
+
strength: PasswordStrength;
|
|
5
|
+
showRequirements?: boolean;
|
|
6
|
+
passwordMinLength?: number;
|
|
7
|
+
requireUppercase?: boolean;
|
|
8
|
+
requireLowercase?: boolean;
|
|
9
|
+
requireNumber?: boolean;
|
|
10
|
+
requireSpecialChar?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare function PasswordStrengthIndicator({ strength, showRequirements, passwordMinLength, requireUppercase, requireLowercase, requireNumber, requireSpecialChar, }: PasswordStrengthIndicatorProps): ReactElement;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=PasswordStrengthIndicator.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import { type SetPasswordFormProps } from "../types";
|
|
3
|
+
export declare function SetPasswordForm({ passwordChangeAction, passwordSetAction, isInvite, onSuccess, onBackToLogin, backToLoginHref, passwordPolicy, }: SetPasswordFormProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=SetPasswordForm.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { SetPasswordPageConfig } from "../types";
|
|
3
|
+
export declare function SetPasswordPage({ logo, title, subtitle, inviteTitle, inviteSubtitle, token, isInvite, magicLinkVerifyAction, passwordChangeAction, passwordSetAction, onBackToLogin, onSuccess, backToLoginHref, showBackground, className, passwordPolicy, }: SetPasswordPageConfig): ReactElement;
|
|
4
|
+
//# sourceMappingURL=SetPasswordPage.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { PasswordStrengthIndicator } from "./components/PasswordStrengthIndicator";
|
|
2
|
+
export { SetPasswordForm } from "./components/SetPasswordForm";
|
|
3
|
+
export { SetPasswordHeader } from "./components/SetPasswordHeader";
|
|
4
|
+
export { SetPasswordPage } from "./components/SetPasswordPage";
|
|
5
|
+
export { useSetPasswordStore } from "./store";
|
|
6
|
+
export { extendSetPasswordPageTheme, type SetPasswordPageTheme, setPasswordPageTheme, } from "./theme";
|
|
7
|
+
export type { MagicLinkVerifyAction, MagicLinkVerifyError, MagicLinkVerifyResponse, PasswordChangeAction, PasswordChangeError, PasswordChangeResponse, PasswordPolicy, PasswordSetAction, PasswordStrength, SetPasswordFormProps, SetPasswordHeaderProps, SetPasswordPageConfig, SetPasswordStep, } from "./types";
|
|
8
|
+
export { DEFAULT_PASSWORD_POLICY } from "./types";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SetPasswordState, SetPasswordStep } from "../types";
|
|
2
|
+
type SetPasswordMethods = {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
setNewPassword: (password: string, minLength?: number) => void;
|
|
5
|
+
setConfirmPassword: (password: string) => void;
|
|
6
|
+
setStep: (step: SetPasswordStep) => void;
|
|
7
|
+
setError: (error: string | null) => void;
|
|
8
|
+
setUserId: (userId: string) => void;
|
|
9
|
+
reset: () => void;
|
|
10
|
+
};
|
|
11
|
+
type SetPasswordStoreState = SetPasswordState & {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
export declare const useSetPasswordStore: () => import("h-state").StoreType<SetPasswordStoreState, SetPasswordMethods>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare const setPasswordPageTheme: {
|
|
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
|
+
wrapper: string;
|
|
16
|
+
logo: string;
|
|
17
|
+
title: string;
|
|
18
|
+
subtitle: string;
|
|
19
|
+
};
|
|
20
|
+
form: {
|
|
21
|
+
wrapper: string;
|
|
22
|
+
inputGroup: string;
|
|
23
|
+
label: string;
|
|
24
|
+
input: string;
|
|
25
|
+
error: string;
|
|
26
|
+
submitButton: string;
|
|
27
|
+
backLink: string;
|
|
28
|
+
backLinkText: string;
|
|
29
|
+
};
|
|
30
|
+
alert: {
|
|
31
|
+
error: string;
|
|
32
|
+
success: string;
|
|
33
|
+
};
|
|
34
|
+
states: {
|
|
35
|
+
verifying: {
|
|
36
|
+
wrapper: string;
|
|
37
|
+
iconWrapper: string;
|
|
38
|
+
spinner: string;
|
|
39
|
+
title: string;
|
|
40
|
+
subtitle: string;
|
|
41
|
+
};
|
|
42
|
+
error: {
|
|
43
|
+
iconWrapper: string;
|
|
44
|
+
icon: string;
|
|
45
|
+
title: string;
|
|
46
|
+
subtitle: string;
|
|
47
|
+
errorMessage: string;
|
|
48
|
+
helpText: string;
|
|
49
|
+
buttonPrimary: string;
|
|
50
|
+
buttonSecondary: string;
|
|
51
|
+
};
|
|
52
|
+
success: {
|
|
53
|
+
iconWrapper: string;
|
|
54
|
+
icon: string;
|
|
55
|
+
title: string;
|
|
56
|
+
subtitle: string;
|
|
57
|
+
redirectSpinner: string;
|
|
58
|
+
redirectText: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
footer: string;
|
|
62
|
+
layout: {
|
|
63
|
+
textCenter: string;
|
|
64
|
+
buttonGroup: string;
|
|
65
|
+
redirectWrapper: string;
|
|
66
|
+
};
|
|
67
|
+
passwordStrength: {
|
|
68
|
+
container: string;
|
|
69
|
+
bar: {
|
|
70
|
+
wrapper: string;
|
|
71
|
+
segment: string;
|
|
72
|
+
inactive: string;
|
|
73
|
+
active: {
|
|
74
|
+
weak: string;
|
|
75
|
+
fair: string;
|
|
76
|
+
good: string;
|
|
77
|
+
strong: string;
|
|
78
|
+
veryStrong: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
requirements: {
|
|
82
|
+
container: string;
|
|
83
|
+
item: string;
|
|
84
|
+
met: string;
|
|
85
|
+
unmet: string;
|
|
86
|
+
icon: {
|
|
87
|
+
met: string;
|
|
88
|
+
unmet: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export type SetPasswordPageTheme = typeof setPasswordPageTheme;
|
|
94
|
+
export declare function extendSetPasswordPageTheme(overrides: Partial<SetPasswordPageTheme>): SetPasswordPageTheme;
|
|
95
|
+
//# sourceMappingURL=index.d.ts.map
|