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,131 @@
|
|
|
1
|
+
export declare const dataTableTheme: {
|
|
2
|
+
readonly container: {
|
|
3
|
+
readonly base: "w-full overflow-hidden";
|
|
4
|
+
readonly border: "border border-gray-200 dark:border-gray-700";
|
|
5
|
+
readonly rounded: "rounded-lg";
|
|
6
|
+
readonly shadow: "shadow-sm";
|
|
7
|
+
};
|
|
8
|
+
readonly scrollContainer: {
|
|
9
|
+
readonly base: "overflow-auto";
|
|
10
|
+
readonly maxHeight: "max-h-[70vh]";
|
|
11
|
+
readonly scrollbar: "scrollbar-thin scrollbar-thumb-gray-300 dark:scrollbar-thumb-gray-600 scrollbar-track-transparent";
|
|
12
|
+
};
|
|
13
|
+
readonly table: {
|
|
14
|
+
readonly base: "w-full border-collapse table-fixed";
|
|
15
|
+
readonly layout: "min-w-full";
|
|
16
|
+
};
|
|
17
|
+
readonly header: {
|
|
18
|
+
readonly wrapper: {
|
|
19
|
+
readonly base: "sticky top-0 z-10";
|
|
20
|
+
readonly background: "bg-gray-50 dark:bg-gray-800";
|
|
21
|
+
};
|
|
22
|
+
readonly row: {
|
|
23
|
+
readonly base: "";
|
|
24
|
+
readonly border: "border-b border-gray-200 dark:border-gray-700";
|
|
25
|
+
};
|
|
26
|
+
readonly cell: {
|
|
27
|
+
readonly base: "relative select-none bg-gray-50 dark:bg-gray-800";
|
|
28
|
+
readonly padding: "px-4 py-3";
|
|
29
|
+
readonly text: "text-left text-xs font-semibold uppercase tracking-wider";
|
|
30
|
+
readonly color: "text-gray-600 dark:text-gray-300";
|
|
31
|
+
readonly transition: "transition-colors duration-200";
|
|
32
|
+
readonly hover: "hover:bg-gray-100 dark:hover:bg-gray-750";
|
|
33
|
+
readonly sortable: "cursor-pointer";
|
|
34
|
+
readonly sorted: "bg-gray-100 dark:bg-gray-750";
|
|
35
|
+
};
|
|
36
|
+
readonly sortIcon: {
|
|
37
|
+
readonly base: "inline-flex ml-1.5 transition-transform duration-300";
|
|
38
|
+
readonly active: "text-primary-500 dark:text-primary-400";
|
|
39
|
+
readonly inactive: "text-gray-400 dark:text-gray-500";
|
|
40
|
+
};
|
|
41
|
+
readonly resizeHandle: {
|
|
42
|
+
readonly base: "absolute right-0 top-0 h-full w-1 cursor-col-resize";
|
|
43
|
+
readonly idle: "bg-transparent hover:bg-primary-400 dark:hover:bg-primary-500";
|
|
44
|
+
readonly active: "bg-primary-500 dark:bg-primary-400";
|
|
45
|
+
readonly hitArea: "before:absolute before:right-[-4px] before:top-0 before:h-full before:w-[9px] before:content-[\"\"]";
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
readonly body: {
|
|
49
|
+
readonly wrapper: {
|
|
50
|
+
readonly base: "";
|
|
51
|
+
};
|
|
52
|
+
readonly row: {
|
|
53
|
+
readonly base: "group";
|
|
54
|
+
readonly border: "border-b border-gray-100 dark:border-gray-700/50";
|
|
55
|
+
readonly transition: "transition-colors duration-150";
|
|
56
|
+
readonly hover: "hover:bg-gray-50 dark:hover:bg-gray-800/50";
|
|
57
|
+
readonly zebra: {
|
|
58
|
+
readonly even: "bg-white dark:bg-gray-900";
|
|
59
|
+
readonly odd: "bg-gray-50/50 dark:bg-gray-800/30";
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
readonly cell: {
|
|
63
|
+
readonly base: "relative";
|
|
64
|
+
readonly padding: "px-4 py-3";
|
|
65
|
+
readonly text: "text-sm";
|
|
66
|
+
readonly color: "text-gray-900 dark:text-gray-100";
|
|
67
|
+
readonly truncate: "truncate";
|
|
68
|
+
readonly transition: "transition-all duration-150";
|
|
69
|
+
readonly hover: "group-hover:bg-gray-50/50 dark:group-hover:bg-gray-800/30";
|
|
70
|
+
};
|
|
71
|
+
readonly resizeHandle: {
|
|
72
|
+
readonly base: "absolute bottom-0 left-0 w-full h-1 cursor-row-resize";
|
|
73
|
+
readonly idle: "bg-transparent hover:bg-primary-400 dark:hover:bg-primary-500";
|
|
74
|
+
readonly active: "bg-primary-500 dark:bg-primary-400";
|
|
75
|
+
readonly hitArea: "before:absolute before:bottom-[-4px] before:left-0 before:w-full before:h-[9px] before:content-[\"\"]";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
readonly loading: {
|
|
79
|
+
readonly wrapper: "flex items-center justify-center py-8";
|
|
80
|
+
readonly spinner: {
|
|
81
|
+
readonly base: "animate-spin rounded-full border-2";
|
|
82
|
+
readonly size: "h-8 w-8";
|
|
83
|
+
readonly color: "border-primary-500 border-t-transparent";
|
|
84
|
+
};
|
|
85
|
+
readonly text: "ml-3 text-sm text-gray-500 dark:text-gray-400";
|
|
86
|
+
};
|
|
87
|
+
readonly empty: {
|
|
88
|
+
readonly wrapper: "flex flex-col items-center justify-center py-12";
|
|
89
|
+
readonly icon: "h-12 w-12 text-gray-300 dark:text-gray-600 mb-4";
|
|
90
|
+
readonly text: "text-sm text-gray-500 dark:text-gray-400";
|
|
91
|
+
};
|
|
92
|
+
readonly infiniteScroll: {
|
|
93
|
+
readonly trigger: "h-1 w-full";
|
|
94
|
+
readonly loader: "flex items-center justify-center py-4";
|
|
95
|
+
};
|
|
96
|
+
readonly animation: {
|
|
97
|
+
readonly row: {
|
|
98
|
+
readonly enter: {
|
|
99
|
+
readonly opacity: 0;
|
|
100
|
+
readonly y: 10;
|
|
101
|
+
};
|
|
102
|
+
readonly visible: {
|
|
103
|
+
readonly opacity: 1;
|
|
104
|
+
readonly y: 0;
|
|
105
|
+
};
|
|
106
|
+
readonly duration: 0.3;
|
|
107
|
+
readonly stagger: 0.02;
|
|
108
|
+
};
|
|
109
|
+
readonly cell: {
|
|
110
|
+
readonly hover: {
|
|
111
|
+
readonly scale: 1.01;
|
|
112
|
+
};
|
|
113
|
+
readonly duration: 0.15;
|
|
114
|
+
};
|
|
115
|
+
readonly sort: {
|
|
116
|
+
readonly duration: 0.3;
|
|
117
|
+
readonly ease: "power2.out";
|
|
118
|
+
};
|
|
119
|
+
readonly resize: {
|
|
120
|
+
readonly duration: 0.1;
|
|
121
|
+
readonly ease: "power1.out";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
export type DataTableTheme = typeof dataTableTheme;
|
|
126
|
+
export declare function extendTheme(overrides: DeepPartial<DataTableTheme>): DataTableTheme;
|
|
127
|
+
type DeepPartial<T> = {
|
|
128
|
+
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
129
|
+
};
|
|
130
|
+
export {};
|
|
131
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type SortDirection = "asc" | "desc" | null;
|
|
3
|
+
export type EditInputType = "text" | "number" | "select" | "textarea";
|
|
4
|
+
export interface EditConfig {
|
|
5
|
+
type?: EditInputType;
|
|
6
|
+
showIconOnHover?: boolean;
|
|
7
|
+
selectOptions?: {
|
|
8
|
+
value: string;
|
|
9
|
+
label: string;
|
|
10
|
+
}[];
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface ColumnDefinition<T> {
|
|
15
|
+
key: keyof T | string;
|
|
16
|
+
header: string | ReactNode;
|
|
17
|
+
width?: number;
|
|
18
|
+
minWidth?: number;
|
|
19
|
+
maxWidth?: number;
|
|
20
|
+
sortable?: boolean;
|
|
21
|
+
resizable?: boolean;
|
|
22
|
+
editable?: boolean;
|
|
23
|
+
editConfig?: EditConfig;
|
|
24
|
+
headerClassName?: string;
|
|
25
|
+
cellClassName?: string;
|
|
26
|
+
headerRenderer?: (column: ColumnDefinition<T>) => ReactNode;
|
|
27
|
+
cellRenderer?: (params: CellRendererParams<T>) => ReactNode;
|
|
28
|
+
}
|
|
29
|
+
export interface ActionColumnDefinition<T> {
|
|
30
|
+
key: string;
|
|
31
|
+
header: string | ReactNode;
|
|
32
|
+
width?: number;
|
|
33
|
+
minWidth?: number;
|
|
34
|
+
resizable?: boolean;
|
|
35
|
+
headerClassName?: string;
|
|
36
|
+
cellClassName?: string;
|
|
37
|
+
renderer: (params: ActionRendererParams<T>) => ReactNode;
|
|
38
|
+
}
|
|
39
|
+
export interface CellRendererParams<T> {
|
|
40
|
+
value: T[keyof T];
|
|
41
|
+
row: T;
|
|
42
|
+
rowIndex: number;
|
|
43
|
+
columnKey: keyof T | string;
|
|
44
|
+
column: ColumnDefinition<T>;
|
|
45
|
+
}
|
|
46
|
+
export interface ActionRendererParams<T> {
|
|
47
|
+
row: T;
|
|
48
|
+
rowIndex: number;
|
|
49
|
+
columnKey: string;
|
|
50
|
+
}
|
|
51
|
+
export interface CellClickParams<T> {
|
|
52
|
+
value: T[keyof T] | null;
|
|
53
|
+
row: T;
|
|
54
|
+
rowIndex: number;
|
|
55
|
+
columnKey: keyof T | string;
|
|
56
|
+
isActionColumn: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface SortState<T> {
|
|
59
|
+
columnKey: keyof T | string | null;
|
|
60
|
+
direction: SortDirection;
|
|
61
|
+
}
|
|
62
|
+
export interface ColumnWidthState {
|
|
63
|
+
[key: string]: number;
|
|
64
|
+
}
|
|
65
|
+
export interface RowHeightState {
|
|
66
|
+
[key: number]: number;
|
|
67
|
+
}
|
|
68
|
+
export interface CellEditParams<T> {
|
|
69
|
+
row: T;
|
|
70
|
+
rowIndex: number;
|
|
71
|
+
columnKey: keyof T | string;
|
|
72
|
+
oldValue: T[keyof T] | null;
|
|
73
|
+
newValue: string;
|
|
74
|
+
}
|
|
75
|
+
export interface DataTableCallbacks<T> {
|
|
76
|
+
onCellClick?: (params: CellClickParams<T>) => void;
|
|
77
|
+
onCellDoubleClick?: (params: CellClickParams<T>) => void;
|
|
78
|
+
onCellEdit?: (params: CellEditParams<T>) => void;
|
|
79
|
+
onSort?: (columnKey: keyof T | string, direction: SortDirection) => void;
|
|
80
|
+
onLoadMore?: () => void;
|
|
81
|
+
onColumnResize?: (columnKey: string, width: number) => void;
|
|
82
|
+
onRowResize?: (rowIndex: number, height: number) => void;
|
|
83
|
+
}
|
|
84
|
+
export interface DataTableConfig {
|
|
85
|
+
hasClickAction?: boolean;
|
|
86
|
+
hasDoubleClickAction?: boolean;
|
|
87
|
+
isFrontendSort?: boolean;
|
|
88
|
+
enableInfiniteScroll?: boolean;
|
|
89
|
+
infiniteScrollThreshold?: number;
|
|
90
|
+
pageSize?: number;
|
|
91
|
+
autoFetchUntilScroll?: boolean;
|
|
92
|
+
defaultColumnWidth?: number;
|
|
93
|
+
defaultRowHeight?: number;
|
|
94
|
+
minColumnWidth?: number;
|
|
95
|
+
minRowHeight?: number;
|
|
96
|
+
enableSelection?: boolean;
|
|
97
|
+
selectionColumnWidth?: number;
|
|
98
|
+
}
|
|
99
|
+
export interface SelectionToolbarProps<T> {
|
|
100
|
+
selectedRows: number[];
|
|
101
|
+
selectedData: T[];
|
|
102
|
+
totalCount: number;
|
|
103
|
+
onClearSelection: () => void;
|
|
104
|
+
}
|
|
105
|
+
export interface DataTableProps<T> {
|
|
106
|
+
data: T[];
|
|
107
|
+
columns: ColumnDefinition<T>[];
|
|
108
|
+
actionColumns?: ActionColumnDefinition<T>[];
|
|
109
|
+
keyExtractor: (item: T, index: number) => string | number;
|
|
110
|
+
callbacks?: DataTableCallbacks<T>;
|
|
111
|
+
config?: DataTableConfig;
|
|
112
|
+
className?: string;
|
|
113
|
+
headerMiddleware?: <K extends keyof T>(column: ColumnDefinition<T>, key: K) => ReactNode;
|
|
114
|
+
cellMiddleware?: (params: CellRendererParams<T>) => ReactNode;
|
|
115
|
+
isLoading?: boolean;
|
|
116
|
+
isPending?: boolean;
|
|
117
|
+
isLoadingMore?: boolean;
|
|
118
|
+
hasMoreData?: boolean;
|
|
119
|
+
skeletonRowCount?: number;
|
|
120
|
+
emptyMessage?: ReactNode;
|
|
121
|
+
selectionToolbar?: (props: SelectionToolbarProps<T>) => ReactNode;
|
|
122
|
+
}
|
|
123
|
+
export interface DataTableStoreState<T> {
|
|
124
|
+
sortState: SortState<T>;
|
|
125
|
+
columnWidths: ColumnWidthState;
|
|
126
|
+
rowHeights: RowHeightState;
|
|
127
|
+
resizingColumn: string | null;
|
|
128
|
+
resizingRow: number | null;
|
|
129
|
+
hoveredRow: number | null;
|
|
130
|
+
hoveredCell: {
|
|
131
|
+
row: number;
|
|
132
|
+
column: string;
|
|
133
|
+
} | null;
|
|
134
|
+
isLoadingMore: boolean;
|
|
135
|
+
}
|
|
136
|
+
export interface DataTableStoreMethods<T> {
|
|
137
|
+
setSortState: (columnKey: keyof T | string, direction: SortDirection) => void;
|
|
138
|
+
setColumnWidth: (columnKey: string, width: number) => void;
|
|
139
|
+
setRowHeight: (rowIndex: number, height: number) => void;
|
|
140
|
+
setResizingColumn: (columnKey: string | null) => void;
|
|
141
|
+
setResizingRow: (rowIndex: number | null) => void;
|
|
142
|
+
setHoveredRow: (rowIndex: number | null) => void;
|
|
143
|
+
setHoveredCell: (cell: {
|
|
144
|
+
row: number;
|
|
145
|
+
column: string;
|
|
146
|
+
} | null) => void;
|
|
147
|
+
setIsLoadingMore: (isLoading: boolean) => void;
|
|
148
|
+
resetWidths: () => void;
|
|
149
|
+
autoFitColumn: (columnKey: string, contentWidth: number) => void;
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { CalendarGridProps } from "../types";
|
|
2
|
+
export declare function CalendarGrid({ currentMonth, selectedDate, selectedRange, mode, locale, minDate, maxDate, disabledDates, disabledDaysOfWeek, firstDayOfWeek, onDateSelect, hoverDate, onHoverChange, }: CalendarGridProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=CalendarGrid.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { CalendarHeaderProps } from "../types";
|
|
2
|
+
export declare function CalendarHeader({ currentMonth, onPrevMonth, onNextMonth, onPrevYear, onNextYear, onMonthYearClick, locale, minDate, maxDate, }: CalendarHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=CalendarHeader.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { DatePickerMode, DatePickerProps } from "../types";
|
|
2
|
+
export declare function DatePicker<TMode extends DatePickerMode = "single">({ mode, value, onChange, locale, placeholder, label, disabled, minDate, maxDate, disabledDates, disabledDaysOfWeek, className, inputClassName, dropdownClassName, showClearButton, showTodayButton, firstDayOfWeek, leftIcon, rightIcon, errorMessage, helperText, required, onOpen, onClose, }: DatePickerProps<TMode>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MonthYearSelectorProps } from "../types";
|
|
2
|
+
type SelectorView = "month" | "year";
|
|
3
|
+
interface MonthYearSelectorInternalProps extends MonthYearSelectorProps {
|
|
4
|
+
view: SelectorView;
|
|
5
|
+
onViewChange: (view: SelectorView) => void;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function MonthYearSelector({ currentMonth, onMonthSelect, onYearSelect, locale, minDate, maxDate, view, onViewChange, onClose, }: MonthYearSelectorInternalProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=MonthYearSelector.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { CalendarGrid } from "./components/CalendarGrid";
|
|
2
|
+
export { CalendarHeader } from "./components/CalendarHeader";
|
|
3
|
+
export { DatePicker } from "./components/DatePicker";
|
|
4
|
+
export { MonthYearSelector } from "./components/MonthYearSelector";
|
|
5
|
+
export { getAvailableLocales, getLocale, locales } from "./locales";
|
|
6
|
+
export type { DatePickerTheme } from "./theme";
|
|
7
|
+
export { datePickerTheme, extendDatePickerTheme } from "./theme";
|
|
8
|
+
export type { CalendarGridProps, CalendarHeaderProps, DatePickerMode, DatePickerProps, DateRange, DateValue, DropdownPosition, LocaleConfig, LocaleKey, MonthYearSelectorProps, } from "./types";
|
|
9
|
+
export { addMonths, addYears, endOfMonth, formatDate, formatDateRange, formatDateRangeWithLocale, formatDateWithLocale, getCalendarDays, getMonthDays, getWeekdaysForLocale, getYearRange, isDateDisabled, isDateInRange, isSameDay, isSameMonth, isToday, parseDate, startOfDay, startOfMonth, } from "./utils/date";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { LocaleConfig, LocaleKey } from "../types";
|
|
2
|
+
export declare const locales: Record<LocaleKey, LocaleConfig>;
|
|
3
|
+
export declare function getLocale(key: LocaleKey): LocaleConfig;
|
|
4
|
+
export declare function getAvailableLocales(): LocaleKey[];
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
export interface DatePickerTheme {
|
|
2
|
+
container: {
|
|
3
|
+
base: string;
|
|
4
|
+
spacing: string;
|
|
5
|
+
};
|
|
6
|
+
input: {
|
|
7
|
+
wrapper: {
|
|
8
|
+
base: string;
|
|
9
|
+
border: {
|
|
10
|
+
base: string;
|
|
11
|
+
focused: string;
|
|
12
|
+
error: string;
|
|
13
|
+
disabled: string;
|
|
14
|
+
};
|
|
15
|
+
background: {
|
|
16
|
+
light: string;
|
|
17
|
+
dark: string;
|
|
18
|
+
};
|
|
19
|
+
padding: string;
|
|
20
|
+
rounded: string;
|
|
21
|
+
shadow: string;
|
|
22
|
+
transition: string;
|
|
23
|
+
};
|
|
24
|
+
text: {
|
|
25
|
+
base: string;
|
|
26
|
+
size: string;
|
|
27
|
+
color: {
|
|
28
|
+
light: string;
|
|
29
|
+
dark: string;
|
|
30
|
+
};
|
|
31
|
+
placeholder: {
|
|
32
|
+
light: string;
|
|
33
|
+
dark: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
icon: {
|
|
37
|
+
base: string;
|
|
38
|
+
size: string;
|
|
39
|
+
color: {
|
|
40
|
+
light: string;
|
|
41
|
+
dark: string;
|
|
42
|
+
focused: string;
|
|
43
|
+
};
|
|
44
|
+
spacing: {
|
|
45
|
+
left: string;
|
|
46
|
+
right: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
label: {
|
|
51
|
+
base: string;
|
|
52
|
+
text: {
|
|
53
|
+
size: string;
|
|
54
|
+
color: {
|
|
55
|
+
light: string;
|
|
56
|
+
dark: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
spacing: string;
|
|
60
|
+
};
|
|
61
|
+
dropdown: {
|
|
62
|
+
base: string;
|
|
63
|
+
background: {
|
|
64
|
+
light: string;
|
|
65
|
+
dark: string;
|
|
66
|
+
};
|
|
67
|
+
border: {
|
|
68
|
+
light: string;
|
|
69
|
+
dark: string;
|
|
70
|
+
};
|
|
71
|
+
rounded: string;
|
|
72
|
+
shadow: string;
|
|
73
|
+
padding: string;
|
|
74
|
+
spacing: {
|
|
75
|
+
top: string;
|
|
76
|
+
bottom: string;
|
|
77
|
+
};
|
|
78
|
+
position: {
|
|
79
|
+
top: string;
|
|
80
|
+
bottom: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
calendar: {
|
|
84
|
+
base: string;
|
|
85
|
+
width: string;
|
|
86
|
+
};
|
|
87
|
+
header: {
|
|
88
|
+
base: string;
|
|
89
|
+
padding: string;
|
|
90
|
+
button: {
|
|
91
|
+
base: string;
|
|
92
|
+
size: string;
|
|
93
|
+
color: {
|
|
94
|
+
light: string;
|
|
95
|
+
dark: string;
|
|
96
|
+
};
|
|
97
|
+
hover: {
|
|
98
|
+
light: string;
|
|
99
|
+
dark: string;
|
|
100
|
+
};
|
|
101
|
+
rounded: string;
|
|
102
|
+
transition: string;
|
|
103
|
+
};
|
|
104
|
+
title: {
|
|
105
|
+
base: string;
|
|
106
|
+
text: {
|
|
107
|
+
size: string;
|
|
108
|
+
weight: string;
|
|
109
|
+
color: {
|
|
110
|
+
light: string;
|
|
111
|
+
dark: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
hover: {
|
|
115
|
+
light: string;
|
|
116
|
+
dark: string;
|
|
117
|
+
};
|
|
118
|
+
rounded: string;
|
|
119
|
+
padding: string;
|
|
120
|
+
transition: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
weekdays: {
|
|
124
|
+
base: string;
|
|
125
|
+
padding: string;
|
|
126
|
+
text: {
|
|
127
|
+
size: string;
|
|
128
|
+
weight: string;
|
|
129
|
+
color: {
|
|
130
|
+
light: string;
|
|
131
|
+
dark: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
grid: {
|
|
136
|
+
base: string;
|
|
137
|
+
gap: string;
|
|
138
|
+
};
|
|
139
|
+
dayWrapper: {
|
|
140
|
+
base: string;
|
|
141
|
+
inRange: {
|
|
142
|
+
light: string;
|
|
143
|
+
dark: string;
|
|
144
|
+
};
|
|
145
|
+
rangeStart: string;
|
|
146
|
+
rangeEnd: string;
|
|
147
|
+
};
|
|
148
|
+
day: {
|
|
149
|
+
base: string;
|
|
150
|
+
size: string;
|
|
151
|
+
text: {
|
|
152
|
+
size: string;
|
|
153
|
+
color: {
|
|
154
|
+
light: string;
|
|
155
|
+
dark: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
rounded: string;
|
|
159
|
+
transition: string;
|
|
160
|
+
states: {
|
|
161
|
+
hover: {
|
|
162
|
+
light: string;
|
|
163
|
+
dark: string;
|
|
164
|
+
};
|
|
165
|
+
selected: {
|
|
166
|
+
background: string;
|
|
167
|
+
text: string;
|
|
168
|
+
};
|
|
169
|
+
today: {
|
|
170
|
+
border: string;
|
|
171
|
+
text: string;
|
|
172
|
+
};
|
|
173
|
+
disabled: {
|
|
174
|
+
opacity: string;
|
|
175
|
+
cursor: string;
|
|
176
|
+
};
|
|
177
|
+
inRange: {
|
|
178
|
+
light: string;
|
|
179
|
+
dark: string;
|
|
180
|
+
};
|
|
181
|
+
rangeStart: {
|
|
182
|
+
rounded: string;
|
|
183
|
+
};
|
|
184
|
+
rangeEnd: {
|
|
185
|
+
rounded: string;
|
|
186
|
+
};
|
|
187
|
+
otherMonth: {
|
|
188
|
+
opacity: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
monthSelector: {
|
|
193
|
+
base: string;
|
|
194
|
+
grid: string;
|
|
195
|
+
item: {
|
|
196
|
+
base: string;
|
|
197
|
+
padding: string;
|
|
198
|
+
rounded: string;
|
|
199
|
+
text: {
|
|
200
|
+
size: string;
|
|
201
|
+
color: {
|
|
202
|
+
light: string;
|
|
203
|
+
dark: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
hover: {
|
|
207
|
+
light: string;
|
|
208
|
+
dark: string;
|
|
209
|
+
};
|
|
210
|
+
selected: {
|
|
211
|
+
background: string;
|
|
212
|
+
text: string;
|
|
213
|
+
};
|
|
214
|
+
transition: string;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
yearSelector: {
|
|
218
|
+
base: string;
|
|
219
|
+
grid: string;
|
|
220
|
+
item: {
|
|
221
|
+
base: string;
|
|
222
|
+
padding: string;
|
|
223
|
+
rounded: string;
|
|
224
|
+
text: {
|
|
225
|
+
size: string;
|
|
226
|
+
color: {
|
|
227
|
+
light: string;
|
|
228
|
+
dark: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
hover: {
|
|
232
|
+
light: string;
|
|
233
|
+
dark: string;
|
|
234
|
+
};
|
|
235
|
+
selected: {
|
|
236
|
+
background: string;
|
|
237
|
+
text: string;
|
|
238
|
+
};
|
|
239
|
+
transition: string;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
footer: {
|
|
243
|
+
base: string;
|
|
244
|
+
padding: string;
|
|
245
|
+
border: {
|
|
246
|
+
light: string;
|
|
247
|
+
dark: string;
|
|
248
|
+
};
|
|
249
|
+
button: {
|
|
250
|
+
base: string;
|
|
251
|
+
padding: string;
|
|
252
|
+
rounded: string;
|
|
253
|
+
text: {
|
|
254
|
+
size: string;
|
|
255
|
+
};
|
|
256
|
+
today: {
|
|
257
|
+
background: {
|
|
258
|
+
light: string;
|
|
259
|
+
dark: string;
|
|
260
|
+
};
|
|
261
|
+
text: {
|
|
262
|
+
light: string;
|
|
263
|
+
dark: string;
|
|
264
|
+
};
|
|
265
|
+
hover: {
|
|
266
|
+
light: string;
|
|
267
|
+
dark: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
clear: {
|
|
271
|
+
background: string;
|
|
272
|
+
text: {
|
|
273
|
+
light: string;
|
|
274
|
+
dark: string;
|
|
275
|
+
};
|
|
276
|
+
hover: {
|
|
277
|
+
light: string;
|
|
278
|
+
dark: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
transition: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
rangeIndicator: {
|
|
285
|
+
base: string;
|
|
286
|
+
text: {
|
|
287
|
+
size: string;
|
|
288
|
+
color: {
|
|
289
|
+
light: string;
|
|
290
|
+
dark: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
padding: string;
|
|
294
|
+
separator: string;
|
|
295
|
+
};
|
|
296
|
+
helperText: {
|
|
297
|
+
base: string;
|
|
298
|
+
text: string;
|
|
299
|
+
color: {
|
|
300
|
+
light: string;
|
|
301
|
+
dark: string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
errorText: {
|
|
305
|
+
base: string;
|
|
306
|
+
text: string;
|
|
307
|
+
color: string;
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
export declare const datePickerTheme: DatePickerTheme;
|
|
311
|
+
export declare function extendDatePickerTheme(overrides: Partial<DatePickerTheme>): DatePickerTheme;
|
|
312
|
+
//# sourceMappingURL=index.d.ts.map
|