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,15 @@
|
|
|
1
|
+
interface IconProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
}
|
|
4
|
+
export declare function MailIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function LockIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function EyeIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function EyeOffIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function HashIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function PhoneIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function LinkIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function TextIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function CheckIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function AlertCircleIcon({ className }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=InputIcons.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { NucleusTextInputProps } from "../types";
|
|
2
|
+
export declare function NucleusTextInput<T extends string = string>({ value, onChange, type, label, placeholder, helperText, errorMessage, disabled, readOnly, leftIcon, rightIcon, size, fullWidth, className, inputClassName, labelClassName, wrapperClassName, showTypewriterError, showTypeIcon, showValidationIcon, enableValidation, validateOnBlur, validateOnChange, validationConfig, customValidator, onValidationChange, unit, unitPosition, formatNumber, thousandSeparator, phoneFormat, isNewPassword, maxInputLength, confirmValue, onConfirmChange, showPasswordStrength, preventCopy, preventPaste, preventContextMenu, trimOnBlur, onFocus, onBlur, ...restProps }: NucleusTextInputProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=NucleusTextInput.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface PasswordStrengthIndicatorProps {
|
|
2
|
+
password: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
type StrengthLevel = "weak" | "fair" | "good" | "strong";
|
|
6
|
+
interface StrengthResult {
|
|
7
|
+
level: StrengthLevel;
|
|
8
|
+
score: number;
|
|
9
|
+
label: string;
|
|
10
|
+
color: string;
|
|
11
|
+
}
|
|
12
|
+
declare function calculateStrength(password: string): StrengthResult;
|
|
13
|
+
export declare function PasswordStrengthIndicator({ password, className, }: PasswordStrengthIndicatorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
export { calculateStrength, type StrengthLevel, type StrengthResult };
|
|
15
|
+
//# sourceMappingURL=PasswordStrengthIndicator.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { FloatingLabel } from "./components/FloatingLabel";
|
|
2
|
+
export { NucleusTextInput } from "./components/NucleusTextInput";
|
|
3
|
+
export type { StrengthLevel, StrengthResult, } from "./components/PasswordStrengthIndicator";
|
|
4
|
+
export { calculateStrength, PasswordStrengthIndicator, } from "./components/PasswordStrengthIndicator";
|
|
5
|
+
export { TypewriterText } from "./components/TypewriterText";
|
|
6
|
+
export type { NucleusTextInputTheme } from "./theme";
|
|
7
|
+
export { extendNucleusTextInputTheme, nucleusTextInputTheme } from "./theme";
|
|
8
|
+
export type { FloatingLabelProps, InputState, InputType, NucleusTextInputProps, PhoneFormat, TypewriterTextProps, ValidationConfig, ValidationResult, } from "./types";
|
|
9
|
+
export { formatNumberWithSeparator, formatPhoneNumber, parseFormattedNumber, unformatNumber, unformatPhone, } from "./utils/format";
|
|
10
|
+
export { defaultValidators, getAutoCompleteForType, getInputModeForType, validateWithConfig, } from "./utils/validation";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export declare const nucleusTextInputTheme: {
|
|
2
|
+
readonly container: {
|
|
3
|
+
readonly base: "relative w-full";
|
|
4
|
+
readonly spacing: "mb-1";
|
|
5
|
+
};
|
|
6
|
+
readonly wrapper: {
|
|
7
|
+
readonly base: "relative flex items-center";
|
|
8
|
+
readonly border: {
|
|
9
|
+
readonly base: "border rounded-lg";
|
|
10
|
+
readonly width: "border";
|
|
11
|
+
readonly radius: "rounded-lg";
|
|
12
|
+
};
|
|
13
|
+
readonly padding: "px-4 py-3";
|
|
14
|
+
readonly transition: "transition-all duration-200 ease-out";
|
|
15
|
+
readonly states: {
|
|
16
|
+
readonly inactive: "border-gray-300 dark:border-gray-600";
|
|
17
|
+
readonly hover: "border-gray-400 dark:border-gray-500";
|
|
18
|
+
readonly focused: "border-blue-600 dark:border-blue-500";
|
|
19
|
+
readonly error: "border-red-500 dark:border-red-400";
|
|
20
|
+
readonly disabled: "border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800/50";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
readonly input: {
|
|
24
|
+
readonly base: "w-full bg-transparent outline-none";
|
|
25
|
+
readonly text: "text-base";
|
|
26
|
+
readonly color: "text-gray-900 dark:text-gray-100";
|
|
27
|
+
readonly placeholder: "placeholder:text-gray-400 dark:placeholder:text-gray-500";
|
|
28
|
+
readonly disabled: "text-gray-400 dark:text-gray-500 cursor-not-allowed";
|
|
29
|
+
readonly transition: "transition-colors duration-200";
|
|
30
|
+
};
|
|
31
|
+
readonly label: {
|
|
32
|
+
readonly base: "absolute pointer-events-none select-none";
|
|
33
|
+
readonly text: "text-base";
|
|
34
|
+
readonly transition: "transition-all duration-200 ease-out";
|
|
35
|
+
readonly states: {
|
|
36
|
+
readonly inactive: {
|
|
37
|
+
readonly position: "left-3 top-1/2 -translate-y-1/2";
|
|
38
|
+
readonly text: "text-base";
|
|
39
|
+
readonly color: "text-gray-500 dark:text-gray-400";
|
|
40
|
+
readonly background: "bg-transparent px-1";
|
|
41
|
+
};
|
|
42
|
+
readonly floated: {
|
|
43
|
+
readonly position: "left-3 -top-2.5 translate-y-0";
|
|
44
|
+
readonly text: "text-xs";
|
|
45
|
+
readonly color: "text-gray-600 dark:text-gray-300";
|
|
46
|
+
readonly background: "bg-white/50 dark:bg-gray-900/50 px-1";
|
|
47
|
+
};
|
|
48
|
+
readonly focused: {
|
|
49
|
+
readonly color: "text-blue-600 dark:text-blue-500";
|
|
50
|
+
};
|
|
51
|
+
readonly error: {
|
|
52
|
+
readonly color: "text-red-500 dark:text-red-400";
|
|
53
|
+
};
|
|
54
|
+
readonly disabled: {
|
|
55
|
+
readonly color: "text-gray-400 dark:text-gray-500";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
readonly helperText: {
|
|
60
|
+
readonly base: "mt-1.5 ml-1";
|
|
61
|
+
readonly text: "text-xs";
|
|
62
|
+
readonly color: "text-gray-500 dark:text-gray-400";
|
|
63
|
+
readonly disabled: "text-gray-400 dark:text-gray-500";
|
|
64
|
+
};
|
|
65
|
+
readonly errorText: {
|
|
66
|
+
readonly base: "mt-1.5 ml-1";
|
|
67
|
+
readonly text: "text-xs";
|
|
68
|
+
readonly color: "text-red-500 dark:text-red-400";
|
|
69
|
+
readonly minHeight: "min-h-[1.25rem]";
|
|
70
|
+
};
|
|
71
|
+
readonly icon: {
|
|
72
|
+
readonly base: "flex-shrink-0";
|
|
73
|
+
readonly size: "w-5 h-5";
|
|
74
|
+
readonly color: "text-gray-400 dark:text-gray-500";
|
|
75
|
+
readonly spacing: {
|
|
76
|
+
readonly left: "mr-2";
|
|
77
|
+
readonly right: "ml-2";
|
|
78
|
+
};
|
|
79
|
+
readonly states: {
|
|
80
|
+
readonly focused: "text-blue-600 dark:text-blue-500";
|
|
81
|
+
readonly error: "text-red-500 dark:text-red-400";
|
|
82
|
+
readonly disabled: "text-gray-300 dark:text-gray-600";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly animation: {
|
|
86
|
+
readonly label: {
|
|
87
|
+
readonly duration: 0.35;
|
|
88
|
+
readonly ease: "power3.out";
|
|
89
|
+
readonly floatY: -24;
|
|
90
|
+
readonly floatScale: 0.75;
|
|
91
|
+
};
|
|
92
|
+
readonly typewriter: {
|
|
93
|
+
readonly charDelay: 0.03;
|
|
94
|
+
readonly ease: "none";
|
|
95
|
+
};
|
|
96
|
+
readonly border: {
|
|
97
|
+
readonly duration: 0.2;
|
|
98
|
+
readonly ease: "power2.out";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export type NucleusTextInputTheme = typeof nucleusTextInputTheme;
|
|
103
|
+
export declare function extendNucleusTextInputTheme(overrides: DeepPartial<NucleusTextInputTheme>): NucleusTextInputTheme;
|
|
104
|
+
type DeepPartial<T> = {
|
|
105
|
+
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
106
|
+
};
|
|
107
|
+
export {};
|
|
108
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { InputHTMLAttributes, ReactNode } from "react";
|
|
2
|
+
import type { PhoneFormat } from "../utils/format";
|
|
3
|
+
import type { InputType, ValidationConfig, ValidationResult } from "../utils/validation";
|
|
4
|
+
export type { PhoneFormat };
|
|
5
|
+
export type InputState = "inactive" | "hover" | "focused" | "error" | "disabled";
|
|
6
|
+
export type { InputType, ValidationConfig, ValidationResult };
|
|
7
|
+
export interface NucleusTextInputProps<T extends string = string> extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "size" | "type"> {
|
|
8
|
+
value?: T;
|
|
9
|
+
onChange?: (value: T) => void;
|
|
10
|
+
type?: InputType;
|
|
11
|
+
label?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
helperText?: string;
|
|
14
|
+
errorMessage?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
leftIcon?: ReactNode;
|
|
18
|
+
rightIcon?: ReactNode;
|
|
19
|
+
size?: "sm" | "md" | "lg";
|
|
20
|
+
fullWidth?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
inputClassName?: string;
|
|
23
|
+
labelClassName?: string;
|
|
24
|
+
wrapperClassName?: string;
|
|
25
|
+
showTypewriterError?: boolean;
|
|
26
|
+
showTypeIcon?: boolean;
|
|
27
|
+
showValidationIcon?: boolean;
|
|
28
|
+
enableValidation?: boolean;
|
|
29
|
+
validateOnBlur?: boolean;
|
|
30
|
+
validateOnChange?: boolean;
|
|
31
|
+
validationConfig?: ValidationConfig;
|
|
32
|
+
customValidator?: (value: string) => ValidationResult;
|
|
33
|
+
onValidationChange?: (result: ValidationResult) => void;
|
|
34
|
+
unit?: string;
|
|
35
|
+
unitPosition?: "prefix" | "suffix";
|
|
36
|
+
formatNumber?: boolean;
|
|
37
|
+
thousandSeparator?: string;
|
|
38
|
+
phoneFormat?: PhoneFormat;
|
|
39
|
+
isNewPassword?: boolean;
|
|
40
|
+
maxInputLength?: number;
|
|
41
|
+
confirmValue?: string;
|
|
42
|
+
onConfirmChange?: (value: string) => void;
|
|
43
|
+
showPasswordStrength?: boolean;
|
|
44
|
+
preventCopy?: boolean;
|
|
45
|
+
preventPaste?: boolean;
|
|
46
|
+
preventContextMenu?: boolean;
|
|
47
|
+
trimOnBlur?: boolean;
|
|
48
|
+
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
49
|
+
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
50
|
+
}
|
|
51
|
+
export interface FloatingLabelProps {
|
|
52
|
+
label: string;
|
|
53
|
+
isFloated: boolean;
|
|
54
|
+
isFocused: boolean;
|
|
55
|
+
hasError: boolean;
|
|
56
|
+
isDisabled: boolean;
|
|
57
|
+
hasLeftIcon?: boolean;
|
|
58
|
+
className?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface TypewriterTextProps {
|
|
61
|
+
text: string;
|
|
62
|
+
className?: string;
|
|
63
|
+
onComplete?: () => void;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function formatNumberWithSeparator(value: string, separator?: string): string;
|
|
2
|
+
export declare function unformatNumber(value: string): string;
|
|
3
|
+
export declare function parseFormattedNumber(value: string): number;
|
|
4
|
+
export type PhoneFormat = "tr" | "us" | "eu";
|
|
5
|
+
export declare function formatPhoneNumber(value: string, format?: PhoneFormat): string;
|
|
6
|
+
export declare function unformatPhone(value: string): string;
|
|
7
|
+
export declare function getPhoneFormatPattern(format: PhoneFormat): number[];
|
|
8
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type InputType = "text" | "email" | "password" | "number" | "tel" | "url";
|
|
2
|
+
export interface ValidationResult {
|
|
3
|
+
isValid: boolean;
|
|
4
|
+
errorMessage?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ValidationRule {
|
|
7
|
+
validate: (value: string) => boolean;
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ValidationConfig {
|
|
11
|
+
required?: boolean;
|
|
12
|
+
requiredMessage?: string;
|
|
13
|
+
minLength?: number;
|
|
14
|
+
maxLength?: number;
|
|
15
|
+
pattern?: RegExp;
|
|
16
|
+
patternMessage?: string;
|
|
17
|
+
customRules?: ValidationRule[];
|
|
18
|
+
}
|
|
19
|
+
export declare const defaultValidators: Record<InputType, (value: string) => ValidationResult>;
|
|
20
|
+
export declare function validateWithConfig(value: string, inputType: InputType, config?: ValidationConfig): ValidationResult;
|
|
21
|
+
export declare function getInputModeForType(inputType: InputType): React.HTMLAttributes<HTMLInputElement>["inputMode"];
|
|
22
|
+
export declare function getAutoCompleteForType(inputType: InputType, isNewPassword?: boolean): string;
|
|
23
|
+
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { AddressCardProps } from "../types";
|
|
3
|
+
export declare function AddressCard({ address, onEdit, onDelete, isUpdating, isDeleting, allowEdit, }: AddressCardProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=AddressCard.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { ProfileHeaderProps } from "../types";
|
|
3
|
+
export declare function ProfileHeader({ user, profile, profilePicture, fileProxyBasePath, onUploadPicture, isUploading, }: ProfileHeaderProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=ProfileHeader.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { ProfilePageProps } from "../types";
|
|
3
|
+
export declare function ProfilePage({ meAction, addProfileAction, updateProfileAction, addAddressAction, updateAddressAction, deleteAddressAction, addPhoneAction, updatePhoneAction, deletePhoneAction, uploadFileAction, updateFileAction, deleteFileAction, fileProxyBasePath, onProfileUpdated, onAddressAdded, onAddressUpdated, onAddressDeleted, onPhoneAdded, onPhoneUpdated, onPhoneDeleted, onFileUploaded, onFileUpdated, onFileDeleted, onProfilePictureChanged, showBackground, allowProfileEdit, allowAddressEdit, allowPhoneEdit, allowFileUpload, changePasswordHref, devicesHref, onChangePassword, onViewDevices, }: ProfilePageProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=ProfilePage.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type { MeResponseData } from "../../../src/Client/ApiCaller/types";
|
|
2
|
+
export { AddressCard } from "./components/AddressCard";
|
|
3
|
+
export { PhoneCard } from "./components/PhoneCard";
|
|
4
|
+
export { ProfileHeader } from "./components/ProfileHeader";
|
|
5
|
+
export { ProfilePage } from "./components/ProfilePage";
|
|
6
|
+
export { useProfileStore } from "./store";
|
|
7
|
+
export type { ProfilePageTheme } from "./theme";
|
|
8
|
+
export { extendProfilePageTheme, profilePageTheme } from "./theme";
|
|
9
|
+
export type { AddressCardProps, AddressInfo, AddressSectionProps, FileInfo, PhoneCardProps, PhoneInfo, PhoneSectionProps, ProfileHeaderProps, ProfileInfo, ProfileInfoSectionProps, ProfilePageConfig, ProfilePageProps, ProfilePageVariant, ProfileState, UserInfo, } from "./types";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { AddressInfo, FileInfo, PhoneInfo, ProfileInfo, RoleInfo, UserInfo } from "../types";
|
|
2
|
+
type ProfileStoreState = {
|
|
3
|
+
user: UserInfo | null;
|
|
4
|
+
profile: ProfileInfo | null;
|
|
5
|
+
addresses: AddressInfo[];
|
|
6
|
+
phones: PhoneInfo[];
|
|
7
|
+
files: FileInfo[];
|
|
8
|
+
roles: RoleInfo[];
|
|
9
|
+
profilePicture: FileInfo | null;
|
|
10
|
+
isEditingProfile: boolean;
|
|
11
|
+
};
|
|
12
|
+
type OptimisticEntity<T> = Partial<T> & {
|
|
13
|
+
id: string;
|
|
14
|
+
};
|
|
15
|
+
type ProfileMethods = {
|
|
16
|
+
setUser: (user: UserInfo | null) => void;
|
|
17
|
+
setProfile: (profile: Partial<ProfileInfo> | null) => void;
|
|
18
|
+
setAddresses: (addresses: AddressInfo[]) => void;
|
|
19
|
+
setPhones: (phones: PhoneInfo[]) => void;
|
|
20
|
+
setFiles: (files: FileInfo[]) => void;
|
|
21
|
+
setRoles: (roles: RoleInfo[]) => void;
|
|
22
|
+
setProfilePicture: (file: FileInfo | null) => void;
|
|
23
|
+
setEditingProfile: (value: boolean) => void;
|
|
24
|
+
addAddress: (address: OptimisticEntity<AddressInfo>) => void;
|
|
25
|
+
updateAddress: (address: OptimisticEntity<AddressInfo>) => void;
|
|
26
|
+
removeAddress: (addressId: string) => void;
|
|
27
|
+
addPhone: (phone: OptimisticEntity<PhoneInfo>) => void;
|
|
28
|
+
updatePhone: (phone: OptimisticEntity<PhoneInfo>) => void;
|
|
29
|
+
removePhone: (phoneId: string) => void;
|
|
30
|
+
addFile: (file: FileInfo) => void;
|
|
31
|
+
updateFile: (file: FileInfo) => void;
|
|
32
|
+
removeFile: (fileId: string) => void;
|
|
33
|
+
reset: () => void;
|
|
34
|
+
};
|
|
35
|
+
export declare const useProfileStore: () => import("h-state").StoreType<ProfileStoreState, ProfileMethods>;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export type ProfilePageTheme = {
|
|
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
|
+
avatar: {
|
|
17
|
+
wrapper: string;
|
|
18
|
+
image: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
uploadButton: string;
|
|
21
|
+
};
|
|
22
|
+
info: {
|
|
23
|
+
container: string;
|
|
24
|
+
name: string;
|
|
25
|
+
email: string;
|
|
26
|
+
meta: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
section: {
|
|
30
|
+
container: string;
|
|
31
|
+
title: string;
|
|
32
|
+
titleWrapper: string;
|
|
33
|
+
addButton: string;
|
|
34
|
+
content: string;
|
|
35
|
+
empty: {
|
|
36
|
+
container: string;
|
|
37
|
+
icon: string;
|
|
38
|
+
text: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
profileForm: {
|
|
42
|
+
container: string;
|
|
43
|
+
grid: string;
|
|
44
|
+
field: {
|
|
45
|
+
container: string;
|
|
46
|
+
label: string;
|
|
47
|
+
input: string;
|
|
48
|
+
error: string;
|
|
49
|
+
};
|
|
50
|
+
actions: string;
|
|
51
|
+
};
|
|
52
|
+
itemCard: {
|
|
53
|
+
base: string;
|
|
54
|
+
padding: string;
|
|
55
|
+
background: string;
|
|
56
|
+
border: string;
|
|
57
|
+
rounded: string;
|
|
58
|
+
hover: string;
|
|
59
|
+
header: {
|
|
60
|
+
container: string;
|
|
61
|
+
icon: string;
|
|
62
|
+
title: string;
|
|
63
|
+
subtitle: string;
|
|
64
|
+
actions: string;
|
|
65
|
+
};
|
|
66
|
+
details: {
|
|
67
|
+
container: string;
|
|
68
|
+
row: string;
|
|
69
|
+
label: string;
|
|
70
|
+
value: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
modal: {
|
|
74
|
+
overlay: string;
|
|
75
|
+
container: string;
|
|
76
|
+
title: string;
|
|
77
|
+
form: 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
|
+
accountSettings: {
|
|
90
|
+
container: string;
|
|
91
|
+
item: string;
|
|
92
|
+
iconWrapper: string;
|
|
93
|
+
content: string;
|
|
94
|
+
title: string;
|
|
95
|
+
description: string;
|
|
96
|
+
arrow: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export declare const profilePageTheme: ProfilePageTheme;
|
|
100
|
+
export declare function extendProfilePageTheme(overrides: Partial<ProfilePageTheme>): ProfilePageTheme;
|
|
101
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import type { BaseErrorResponse, DeleteResponse, EndpointAction, MeSuccessResponse, MutationResponse, SystemAddressEntity, SystemFileEntity, SystemPhoneEntity, SystemProfileEntity, SystemRoleEntity, SystemUserEntity } from "../../../..";
|
|
2
|
+
export type ProfilePageVariant = "default" | "minimal" | "compact";
|
|
3
|
+
export type UserInfo = SystemUserEntity;
|
|
4
|
+
export type ProfileInfo = SystemProfileEntity;
|
|
5
|
+
export type AddressInfo = SystemAddressEntity;
|
|
6
|
+
export type PhoneInfo = SystemPhoneEntity;
|
|
7
|
+
export type FileInfo = SystemFileEntity;
|
|
8
|
+
export type RoleInfo = SystemRoleEntity;
|
|
9
|
+
export type ProfilePageConfig<TProfile = ProfileInfo, TAddress = AddressInfo, TPhone = PhoneInfo, TFile = FileInfo> = {
|
|
10
|
+
variant?: ProfilePageVariant;
|
|
11
|
+
title?: string;
|
|
12
|
+
subtitle?: string;
|
|
13
|
+
meAction: EndpointAction<undefined, MeSuccessResponse, BaseErrorResponse>;
|
|
14
|
+
addProfileAction: EndpointAction<Partial<TProfile>, MutationResponse<TProfile>, BaseErrorResponse>;
|
|
15
|
+
updateProfileAction: EndpointAction<Partial<TProfile> & {
|
|
16
|
+
id: string;
|
|
17
|
+
}, MutationResponse<TProfile>, BaseErrorResponse>;
|
|
18
|
+
addAddressAction: EndpointAction<Partial<TAddress>, MutationResponse<TAddress>, BaseErrorResponse>;
|
|
19
|
+
updateAddressAction: EndpointAction<Partial<TAddress> & {
|
|
20
|
+
id: string;
|
|
21
|
+
}, MutationResponse<TAddress>, BaseErrorResponse>;
|
|
22
|
+
deleteAddressAction: EndpointAction<{
|
|
23
|
+
id: string;
|
|
24
|
+
}, DeleteResponse, BaseErrorResponse>;
|
|
25
|
+
addPhoneAction: EndpointAction<Partial<TPhone>, MutationResponse<TPhone>, BaseErrorResponse>;
|
|
26
|
+
updatePhoneAction: EndpointAction<Partial<TPhone> & {
|
|
27
|
+
id: string;
|
|
28
|
+
}, MutationResponse<TPhone>, BaseErrorResponse>;
|
|
29
|
+
deletePhoneAction: EndpointAction<{
|
|
30
|
+
id: string;
|
|
31
|
+
}, DeleteResponse, BaseErrorResponse>;
|
|
32
|
+
uploadFileAction?: {
|
|
33
|
+
start: (opts: {
|
|
34
|
+
payload: object;
|
|
35
|
+
onAfterHandle?: (response: MutationResponse<TFile>) => void;
|
|
36
|
+
onErrorHandle?: (error: BaseErrorResponse) => void;
|
|
37
|
+
}) => void;
|
|
38
|
+
state: {
|
|
39
|
+
isPending: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
updateFileAction?: EndpointAction<Partial<TFile> & {
|
|
43
|
+
id: string;
|
|
44
|
+
}, MutationResponse<TFile>, BaseErrorResponse>;
|
|
45
|
+
deleteFileAction?: EndpointAction<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, DeleteResponse, BaseErrorResponse>;
|
|
48
|
+
fileProxyBasePath?: string;
|
|
49
|
+
onProfileUpdated?: (profile: TProfile) => void;
|
|
50
|
+
onAddressAdded?: (address: TAddress) => void;
|
|
51
|
+
onAddressUpdated?: (address: TAddress) => void;
|
|
52
|
+
onAddressDeleted?: (addressId: string) => void;
|
|
53
|
+
onPhoneAdded?: (phone: TPhone) => void;
|
|
54
|
+
onPhoneUpdated?: (phone: TPhone) => void;
|
|
55
|
+
onPhoneDeleted?: (phoneId: string) => void;
|
|
56
|
+
onFileUploaded?: (file: TFile) => void;
|
|
57
|
+
onFileUpdated?: (file: TFile) => void;
|
|
58
|
+
onFileDeleted?: (fileId: string) => void;
|
|
59
|
+
onProfilePictureChanged?: (file: TFile) => void;
|
|
60
|
+
showBackground?: boolean;
|
|
61
|
+
allowProfileEdit?: boolean;
|
|
62
|
+
allowAddressEdit?: boolean;
|
|
63
|
+
allowPhoneEdit?: boolean;
|
|
64
|
+
allowFileUpload?: boolean;
|
|
65
|
+
changePasswordHref?: string;
|
|
66
|
+
devicesHref?: string;
|
|
67
|
+
onChangePassword?: () => void;
|
|
68
|
+
onViewDevices?: () => void;
|
|
69
|
+
className?: string;
|
|
70
|
+
};
|
|
71
|
+
export type ProfilePageProps<TProfile = ProfileInfo, TAddress = AddressInfo, TPhone = PhoneInfo, TFile = FileInfo> = ProfilePageConfig<TProfile, TAddress, TPhone, TFile>;
|
|
72
|
+
export type ProfileHeaderProps = {
|
|
73
|
+
title?: string;
|
|
74
|
+
subtitle?: string;
|
|
75
|
+
user?: UserInfo;
|
|
76
|
+
profile?: ProfileInfo;
|
|
77
|
+
profilePicture?: FileInfo;
|
|
78
|
+
fileProxyBasePath?: string;
|
|
79
|
+
onUploadPicture?: () => void;
|
|
80
|
+
isUploading?: boolean;
|
|
81
|
+
};
|
|
82
|
+
export type ProfileInfoSectionProps = {
|
|
83
|
+
user?: UserInfo;
|
|
84
|
+
profile?: ProfileInfo;
|
|
85
|
+
isEditing: boolean;
|
|
86
|
+
onEdit: () => void;
|
|
87
|
+
onSave: (data: Partial<ProfileInfo>) => void;
|
|
88
|
+
onCancel: () => void;
|
|
89
|
+
isSaving: boolean;
|
|
90
|
+
allowEdit?: boolean;
|
|
91
|
+
};
|
|
92
|
+
export type AddressSectionProps = {
|
|
93
|
+
addresses: AddressInfo[];
|
|
94
|
+
userId: string;
|
|
95
|
+
onAdd: (address: Omit<AddressInfo, "id">) => void;
|
|
96
|
+
onUpdate: (address: AddressInfo) => void;
|
|
97
|
+
onDelete: (addressId: string) => void;
|
|
98
|
+
isAdding: boolean;
|
|
99
|
+
isUpdating: string | null;
|
|
100
|
+
isDeleting: string | null;
|
|
101
|
+
allowEdit?: boolean;
|
|
102
|
+
};
|
|
103
|
+
export type AddressCardProps = {
|
|
104
|
+
address: AddressInfo;
|
|
105
|
+
onEdit: (address: AddressInfo) => void;
|
|
106
|
+
onDelete: (addressId: string) => void;
|
|
107
|
+
isUpdating: boolean;
|
|
108
|
+
isDeleting: boolean;
|
|
109
|
+
allowEdit?: boolean;
|
|
110
|
+
};
|
|
111
|
+
export type PhoneSectionProps = {
|
|
112
|
+
phones: PhoneInfo[];
|
|
113
|
+
userId: string;
|
|
114
|
+
onAdd: (phone: Omit<PhoneInfo, "id">) => void;
|
|
115
|
+
onUpdate: (phone: PhoneInfo) => void;
|
|
116
|
+
onDelete: (phoneId: string) => void;
|
|
117
|
+
isAdding: boolean;
|
|
118
|
+
isUpdating: string | null;
|
|
119
|
+
isDeleting: string | null;
|
|
120
|
+
allowEdit?: boolean;
|
|
121
|
+
};
|
|
122
|
+
export type PhoneCardProps = {
|
|
123
|
+
phone: PhoneInfo;
|
|
124
|
+
onEdit: (phone: PhoneInfo) => void;
|
|
125
|
+
onDelete: (phoneId: string) => void;
|
|
126
|
+
isUpdating: boolean;
|
|
127
|
+
isDeleting: boolean;
|
|
128
|
+
allowEdit?: boolean;
|
|
129
|
+
};
|
|
130
|
+
export type ProfileState = {
|
|
131
|
+
user: UserInfo | null;
|
|
132
|
+
profile: ProfileInfo | null;
|
|
133
|
+
addresses: AddressInfo[];
|
|
134
|
+
phones: PhoneInfo[];
|
|
135
|
+
files: FileInfo[];
|
|
136
|
+
profilePicture: FileInfo | null;
|
|
137
|
+
isLoading: boolean;
|
|
138
|
+
error: string | null;
|
|
139
|
+
isEditingProfile: boolean;
|
|
140
|
+
isSavingProfile: boolean;
|
|
141
|
+
isAddingAddress: boolean;
|
|
142
|
+
updatingAddressId: string | null;
|
|
143
|
+
deletingAddressId: string | null;
|
|
144
|
+
isAddingPhone: boolean;
|
|
145
|
+
updatingPhoneId: string | null;
|
|
146
|
+
deletingPhoneId: string | null;
|
|
147
|
+
isUploadingFile: boolean;
|
|
148
|
+
deletingFileId: string | null;
|
|
149
|
+
};
|
|
150
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { RangePickerProps } from "../types";
|
|
2
|
+
export declare function RangePicker({ value: controlledValue, defaultValue, min, max, step, minRange, disabled, readOnly, size, variant, orientation, showTooltip, showLabels, showTicks, tickCount, debounceMs, formatValue, onChange, onChangeCommit, label, minLabel, maxLabel, ariaLabel, ariaLabelMin, ariaLabelMax, className, ...props }: RangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=RangePicker.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { RangePicker } from "./components/RangePicker";
|
|
2
|
+
export { RangeThumb } from "./components/RangeThumb";
|
|
3
|
+
export { RangeTooltip } from "./components/RangeTooltip";
|
|
4
|
+
export { RangeTrack } from "./components/RangeTrack";
|
|
5
|
+
export type { RangePickerTheme } from "./theme";
|
|
6
|
+
export { rangePickerTheme } from "./theme";
|
|
7
|
+
export type { RangePickerOrientation, RangePickerProps, RangePickerSize, RangePickerVariant, RangeThumbProps, RangeTooltipProps, RangeTrackProps, RangeValue, } from "./types";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|