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,218 @@
|
|
|
1
|
+
export interface CheckboxTheme {
|
|
2
|
+
container: {
|
|
3
|
+
base: string;
|
|
4
|
+
spacing: string;
|
|
5
|
+
disabled: string;
|
|
6
|
+
};
|
|
7
|
+
wrapper: {
|
|
8
|
+
base: string;
|
|
9
|
+
gap: {
|
|
10
|
+
sm: string;
|
|
11
|
+
md: string;
|
|
12
|
+
lg: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
base: string;
|
|
17
|
+
text: {
|
|
18
|
+
size: {
|
|
19
|
+
sm: string;
|
|
20
|
+
md: string;
|
|
21
|
+
lg: string;
|
|
22
|
+
};
|
|
23
|
+
color: {
|
|
24
|
+
light: string;
|
|
25
|
+
dark: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
disabled: string;
|
|
29
|
+
};
|
|
30
|
+
checkbox: {
|
|
31
|
+
base: string;
|
|
32
|
+
size: {
|
|
33
|
+
sm: string;
|
|
34
|
+
md: string;
|
|
35
|
+
lg: string;
|
|
36
|
+
};
|
|
37
|
+
border: {
|
|
38
|
+
base: string;
|
|
39
|
+
width: string;
|
|
40
|
+
color: {
|
|
41
|
+
light: string;
|
|
42
|
+
dark: string;
|
|
43
|
+
};
|
|
44
|
+
focused: string;
|
|
45
|
+
};
|
|
46
|
+
background: {
|
|
47
|
+
unchecked: {
|
|
48
|
+
light: string;
|
|
49
|
+
dark: string;
|
|
50
|
+
};
|
|
51
|
+
checked: {
|
|
52
|
+
primary: string;
|
|
53
|
+
secondary: string;
|
|
54
|
+
success: string;
|
|
55
|
+
warning: string;
|
|
56
|
+
danger: string;
|
|
57
|
+
info: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
rounded: string;
|
|
61
|
+
shadow: string;
|
|
62
|
+
transition: string;
|
|
63
|
+
disabled: {
|
|
64
|
+
opacity: string;
|
|
65
|
+
cursor: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
checkIcon: {
|
|
69
|
+
base: string;
|
|
70
|
+
size: {
|
|
71
|
+
sm: string;
|
|
72
|
+
md: string;
|
|
73
|
+
lg: string;
|
|
74
|
+
};
|
|
75
|
+
stroke: {
|
|
76
|
+
width: string;
|
|
77
|
+
color: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
indeterminateIcon: {
|
|
81
|
+
base: string;
|
|
82
|
+
size: {
|
|
83
|
+
sm: {
|
|
84
|
+
width: string;
|
|
85
|
+
height: string;
|
|
86
|
+
};
|
|
87
|
+
md: {
|
|
88
|
+
width: string;
|
|
89
|
+
height: string;
|
|
90
|
+
};
|
|
91
|
+
lg: {
|
|
92
|
+
width: string;
|
|
93
|
+
height: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
background: string;
|
|
97
|
+
rounded: string;
|
|
98
|
+
};
|
|
99
|
+
switch: {
|
|
100
|
+
track: {
|
|
101
|
+
base: string;
|
|
102
|
+
size: {
|
|
103
|
+
sm: {
|
|
104
|
+
width: string;
|
|
105
|
+
height: string;
|
|
106
|
+
};
|
|
107
|
+
md: {
|
|
108
|
+
width: string;
|
|
109
|
+
height: string;
|
|
110
|
+
};
|
|
111
|
+
lg: {
|
|
112
|
+
width: string;
|
|
113
|
+
height: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
background: {
|
|
117
|
+
unchecked: {
|
|
118
|
+
light: string;
|
|
119
|
+
dark: string;
|
|
120
|
+
};
|
|
121
|
+
checked: {
|
|
122
|
+
primary: string;
|
|
123
|
+
secondary: string;
|
|
124
|
+
success: string;
|
|
125
|
+
warning: string;
|
|
126
|
+
danger: string;
|
|
127
|
+
info: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
border: {
|
|
131
|
+
base: string;
|
|
132
|
+
color: {
|
|
133
|
+
light: string;
|
|
134
|
+
dark: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
rounded: string;
|
|
138
|
+
shadow: string;
|
|
139
|
+
transition: string;
|
|
140
|
+
disabled: {
|
|
141
|
+
opacity: string;
|
|
142
|
+
cursor: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
thumb: {
|
|
146
|
+
base: string;
|
|
147
|
+
size: {
|
|
148
|
+
sm: string;
|
|
149
|
+
md: string;
|
|
150
|
+
lg: string;
|
|
151
|
+
};
|
|
152
|
+
background: {
|
|
153
|
+
light: string;
|
|
154
|
+
dark: string;
|
|
155
|
+
};
|
|
156
|
+
shadow: string;
|
|
157
|
+
rounded: string;
|
|
158
|
+
transition: string;
|
|
159
|
+
position: {
|
|
160
|
+
sm: {
|
|
161
|
+
unchecked: string;
|
|
162
|
+
checked: string;
|
|
163
|
+
};
|
|
164
|
+
md: {
|
|
165
|
+
unchecked: string;
|
|
166
|
+
checked: string;
|
|
167
|
+
};
|
|
168
|
+
lg: {
|
|
169
|
+
unchecked: string;
|
|
170
|
+
checked: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
icon: {
|
|
175
|
+
base: string;
|
|
176
|
+
size: {
|
|
177
|
+
sm: string;
|
|
178
|
+
md: string;
|
|
179
|
+
lg: string;
|
|
180
|
+
};
|
|
181
|
+
color: {
|
|
182
|
+
unchecked: {
|
|
183
|
+
light: string;
|
|
184
|
+
dark: string;
|
|
185
|
+
};
|
|
186
|
+
checked: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
ripple: {
|
|
191
|
+
base: string;
|
|
192
|
+
size: string;
|
|
193
|
+
color: {
|
|
194
|
+
primary: string;
|
|
195
|
+
secondary: string;
|
|
196
|
+
success: string;
|
|
197
|
+
warning: string;
|
|
198
|
+
danger: string;
|
|
199
|
+
info: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
errorText: {
|
|
203
|
+
base: string;
|
|
204
|
+
text: string;
|
|
205
|
+
color: string;
|
|
206
|
+
};
|
|
207
|
+
helperText: {
|
|
208
|
+
base: string;
|
|
209
|
+
text: string;
|
|
210
|
+
color: {
|
|
211
|
+
light: string;
|
|
212
|
+
dark: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
export declare const checkboxTheme: CheckboxTheme;
|
|
217
|
+
export declare function extendCheckboxTheme(overrides: Partial<CheckboxTheme>): CheckboxTheme;
|
|
218
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type CheckboxVariant = "checkbox" | "switch";
|
|
3
|
+
export type CheckboxSize = "sm" | "md" | "lg";
|
|
4
|
+
export type CheckboxColor = "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
5
|
+
export interface CheckboxProps {
|
|
6
|
+
checked: boolean;
|
|
7
|
+
onChange: (checked: boolean) => void;
|
|
8
|
+
variant?: CheckboxVariant;
|
|
9
|
+
size?: CheckboxSize;
|
|
10
|
+
color?: CheckboxColor;
|
|
11
|
+
label?: ReactNode;
|
|
12
|
+
labelPosition?: "left" | "right";
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
indeterminate?: boolean;
|
|
15
|
+
name?: string;
|
|
16
|
+
value?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
errorMessage?: string;
|
|
20
|
+
helperText?: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
labelClassName?: string;
|
|
23
|
+
ariaLabel?: string;
|
|
24
|
+
ariaDescribedBy?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface CheckboxIconProps {
|
|
27
|
+
checked: boolean;
|
|
28
|
+
indeterminate?: boolean;
|
|
29
|
+
size: CheckboxSize;
|
|
30
|
+
color: CheckboxColor;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface SwitchTrackProps {
|
|
34
|
+
checked: boolean;
|
|
35
|
+
size: CheckboxSize;
|
|
36
|
+
color: CheckboxColor;
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { DataTableProps } from "./types";
|
|
2
|
+
export declare function DataTable<T>({ data, columns, actionColumns, keyExtractor, callbacks, config: userConfig, className, headerMiddleware, cellMiddleware, isLoading, isPending, skeletonRowCount, emptyMessage, selectionToolbar, isLoadingMore, hasMoreData, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=DataTable.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ActionColumnDefinition } from "../types";
|
|
2
|
+
interface ActionCellProps<T> {
|
|
3
|
+
column: ActionColumnDefinition<T>;
|
|
4
|
+
row: T;
|
|
5
|
+
rowIndex: number;
|
|
6
|
+
width: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function ActionCell<T>({ column, row, rowIndex, width, }: ActionCellProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ActionCell.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { CellRendererParams, ColumnDefinition } from "../types";
|
|
3
|
+
interface DataCellProps<T> {
|
|
4
|
+
column: ColumnDefinition<T>;
|
|
5
|
+
row: T;
|
|
6
|
+
rowIndex: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
isHovered: boolean;
|
|
10
|
+
hasClickAction: boolean;
|
|
11
|
+
hasDoubleClickAction: boolean;
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
onDoubleClick?: () => void;
|
|
14
|
+
cellMiddleware?: (params: CellRendererParams<T>) => ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare function DataCell<T>({ column, row, rowIndex, width, isHovered, hasClickAction, hasDoubleClickAction, onClick, onDoubleClick, cellMiddleware, }: DataCellProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=DataCell.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { CellRendererParams, ColumnDefinition } from "../types";
|
|
3
|
+
interface EditableCellProps<T> {
|
|
4
|
+
column: ColumnDefinition<T>;
|
|
5
|
+
row: T;
|
|
6
|
+
rowIndex: number;
|
|
7
|
+
width: number;
|
|
8
|
+
isHovered: boolean;
|
|
9
|
+
onSave: (newValue: string) => void;
|
|
10
|
+
cellMiddleware?: (params: CellRendererParams<T>) => ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function EditableCell<T>({ column, row, rowIndex, width, isHovered, onSave, cellMiddleware, }: EditableCellProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=EditableCell.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
interface EmptyStateProps {
|
|
3
|
+
message?: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function EmptyState({ message, className, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { ColumnDefinition, SortDirection } from "../types";
|
|
3
|
+
interface HeaderCellProps<T> {
|
|
4
|
+
column: ColumnDefinition<T>;
|
|
5
|
+
width: number;
|
|
6
|
+
sortDirection: SortDirection;
|
|
7
|
+
isResizing: boolean;
|
|
8
|
+
isSorted: boolean;
|
|
9
|
+
onSort?: () => void;
|
|
10
|
+
onResizeStart: (e: React.MouseEvent | React.TouchEvent) => void;
|
|
11
|
+
onDoubleClick: () => void;
|
|
12
|
+
headerMiddleware?: (column: ColumnDefinition<T>, key: keyof T) => ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare function HeaderCell<T>({ column, width, sortDirection, isResizing, isSorted, onSort, onResizeStart, onDoubleClick, headerMiddleware, }: HeaderCellProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=HeaderCell.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface InfiniteScrollTriggerProps {
|
|
2
|
+
isLoading: boolean;
|
|
3
|
+
hasMoreData: boolean;
|
|
4
|
+
onTrigger: () => void;
|
|
5
|
+
scrollContainerRef: React.RefObject<HTMLDivElement | null>;
|
|
6
|
+
autoFetchUntilScroll?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function InfiniteScrollTrigger({ isLoading, hasMoreData, onTrigger, scrollContainerRef, autoFetchUntilScroll, className, }: InfiniteScrollTriggerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=InfiniteScrollTrigger.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface ResizeHandleProps {
|
|
2
|
+
type: "column" | "row";
|
|
3
|
+
isActive: boolean;
|
|
4
|
+
onResizeStart: (e: React.MouseEvent | React.TouchEvent) => void;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function ResizeHandle({ type, isActive, onResizeStart, className, }: ResizeHandleProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ResizeHandle.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface SelectionCellProps {
|
|
2
|
+
rowIndex: number;
|
|
3
|
+
isHovered: boolean;
|
|
4
|
+
isHeader?: boolean;
|
|
5
|
+
totalRows?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function SelectionCell({ rowIndex, isHovered, isHeader, totalRows, }: SelectionCellProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=SelectionCell.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface SkeletonRowProps {
|
|
2
|
+
columnCount: number;
|
|
3
|
+
rowIndex: number;
|
|
4
|
+
columnWidths: number[];
|
|
5
|
+
hasActionColumn: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function SkeletonRow({ columnCount, rowIndex, columnWidths, hasActionColumn, }: SkeletonRowProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=SkeletonRow.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ActionColumnDefinition, ColumnDefinition } from "../types";
|
|
2
|
+
interface SkeletonTableProps<T> {
|
|
3
|
+
columns: ColumnDefinition<T>[];
|
|
4
|
+
actionColumns?: ActionColumnDefinition<T>[];
|
|
5
|
+
rowCount?: number;
|
|
6
|
+
defaultColumnWidth?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function SkeletonTable<T>({ columns, actionColumns, rowCount, defaultColumnWidth, }: SkeletonTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=SkeletonTable.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SortDirection } from "../types";
|
|
2
|
+
interface SortIconProps {
|
|
3
|
+
direction: SortDirection;
|
|
4
|
+
isActive: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function SortIcon({ direction, isActive, className }: SortIconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=SortIcon.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { ActionColumnDefinition, ColumnDefinition, ColumnWidthState, SortDirection } from "../types";
|
|
3
|
+
interface TableHeaderProps<T> {
|
|
4
|
+
columns: ColumnDefinition<T>[];
|
|
5
|
+
actionColumns?: ActionColumnDefinition<T>[];
|
|
6
|
+
columnWidths: ColumnWidthState;
|
|
7
|
+
sortColumnKey: keyof T | string | null;
|
|
8
|
+
sortDirection: SortDirection;
|
|
9
|
+
resizingColumn: string | null;
|
|
10
|
+
defaultColumnWidth: number;
|
|
11
|
+
onSort: (columnKey: keyof T | string) => void;
|
|
12
|
+
onResizeStart: (columnKey: string, e: React.MouseEvent | React.TouchEvent) => void;
|
|
13
|
+
onColumnDoubleClick: (columnKey: string) => void;
|
|
14
|
+
headerMiddleware?: (column: ColumnDefinition<T>, key: keyof T) => ReactNode;
|
|
15
|
+
enableSelection?: boolean;
|
|
16
|
+
totalRows?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function TableHeader<T>({ columns, actionColumns, columnWidths, sortColumnKey, sortDirection, resizingColumn, defaultColumnWidth, onSort, onResizeStart, onColumnDoubleClick, headerMiddleware, enableSelection, totalRows, }: TableHeaderProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=TableHeader.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { ActionColumnDefinition, CellClickParams, CellEditParams, CellRendererParams, ColumnDefinition } from "../types";
|
|
3
|
+
interface TableRowProps<T> {
|
|
4
|
+
row: T;
|
|
5
|
+
rowIndex: number;
|
|
6
|
+
columns: ColumnDefinition<T>[];
|
|
7
|
+
actionColumns?: ActionColumnDefinition<T>[];
|
|
8
|
+
defaultColumnWidth: number;
|
|
9
|
+
hasClickAction: boolean;
|
|
10
|
+
hasDoubleClickAction: boolean;
|
|
11
|
+
onCellClick?: (params: CellClickParams<T>) => void;
|
|
12
|
+
onCellDoubleClick?: (params: CellClickParams<T>) => void;
|
|
13
|
+
onCellEdit?: (params: CellEditParams<T>) => void;
|
|
14
|
+
cellMiddleware?: (params: CellRendererParams<T>) => ReactNode;
|
|
15
|
+
animationDelay?: number;
|
|
16
|
+
enableSelection?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function TableRow<T>({ row, rowIndex, columns, actionColumns, defaultColumnWidth, hasClickAction, hasDoubleClickAction, onCellClick, onCellDoubleClick, onCellEdit, cellMiddleware, animationDelay, enableSelection, }: TableRowProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=TableRow.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { ActionCell } from "./ActionCell";
|
|
2
|
+
export { DataCell } from "./DataCell";
|
|
3
|
+
export { EditableCell } from "./EditableCell";
|
|
4
|
+
export { EmptyState } from "./EmptyState";
|
|
5
|
+
export { HeaderCell } from "./HeaderCell";
|
|
6
|
+
export { InfiniteScrollTrigger } from "./InfiniteScrollTrigger";
|
|
7
|
+
export { LoadingSpinner } from "./LoadingSpinner";
|
|
8
|
+
export { ResizeHandle } from "./ResizeHandle";
|
|
9
|
+
export { SelectionCell } from "./SelectionCell";
|
|
10
|
+
export { SkeletonRow } from "./SkeletonRow";
|
|
11
|
+
export { SkeletonTable } from "./SkeletonTable";
|
|
12
|
+
export { SortIcon } from "./SortIcon";
|
|
13
|
+
export { TableHeader } from "./TableHeader";
|
|
14
|
+
export { TableRow } from "./TableRow";
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface UseAutoFitColumnOptions {
|
|
2
|
+
onAutoFit: (columnKey: string, contentWidth: number) => void;
|
|
3
|
+
}
|
|
4
|
+
export declare function useAutoFitColumn({ onAutoFit }: UseAutoFitColumnOptions): {
|
|
5
|
+
autoFit: (columnKey: string, tableRef: HTMLTableElement | null) => void;
|
|
6
|
+
};
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=useAutoFitColumn.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface UseResizeColumnOptions {
|
|
2
|
+
minWidth: number;
|
|
3
|
+
tableRef: React.RefObject<HTMLTableElement | null>;
|
|
4
|
+
onResizeStart: (columnKey: string) => void;
|
|
5
|
+
onResizeEnd: (columnKey: string, width: number) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function useResizeColumn({ minWidth, tableRef, onResizeStart, onResizeEnd, }: UseResizeColumnOptions): {
|
|
8
|
+
startResize: (columnKey: string, e: React.MouseEvent | React.TouchEvent) => void;
|
|
9
|
+
isJustResized: () => boolean;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=useResizeColumn.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DataTable } from "./DataTable";
|
|
2
|
+
export { useDataTableStore } from "./store";
|
|
3
|
+
export type { DataTableTheme } from "./theme";
|
|
4
|
+
export { dataTableTheme, extendTheme } from "./theme";
|
|
5
|
+
export type { ActionColumnDefinition, ActionRendererParams, CellClickParams, CellEditParams, CellRendererParams, ColumnDefinition, DataTableCallbacks, DataTableConfig, DataTableProps, EditConfig, EditInputType, SelectionToolbarProps, SortDirection, SortState, } from "./types";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { SortDirection } from "../types";
|
|
2
|
+
type DataTableState = {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
sortColumnKey: string | null;
|
|
5
|
+
sortDirection: SortDirection;
|
|
6
|
+
columnWidths: Record<string, number>;
|
|
7
|
+
rowHeights: Record<number, number>;
|
|
8
|
+
resizingColumn: string | null;
|
|
9
|
+
resizingRow: number | null;
|
|
10
|
+
hoveredRow: number | null;
|
|
11
|
+
hoveredCell: {
|
|
12
|
+
row: number;
|
|
13
|
+
column: string;
|
|
14
|
+
} | null;
|
|
15
|
+
editingCell: {
|
|
16
|
+
row: number;
|
|
17
|
+
column: string;
|
|
18
|
+
} | null;
|
|
19
|
+
editValue: string;
|
|
20
|
+
isLoadingMore: boolean;
|
|
21
|
+
selectedRows: number[];
|
|
22
|
+
};
|
|
23
|
+
type DataTableMethods = {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
setSortState: (columnKey: string, direction: SortDirection) => void;
|
|
26
|
+
setColumnWidth: (columnKey: string, width: number) => void;
|
|
27
|
+
setRowHeight: (rowIndex: number, height: number) => void;
|
|
28
|
+
setResizingColumn: (columnKey: string | null) => void;
|
|
29
|
+
setResizingRow: (rowIndex: number | null) => void;
|
|
30
|
+
setHoveredRow: (rowIndex: number | null) => void;
|
|
31
|
+
setHoveredCell: (cell: {
|
|
32
|
+
row: number;
|
|
33
|
+
column: string;
|
|
34
|
+
} | null) => void;
|
|
35
|
+
setEditingCell: (cell: {
|
|
36
|
+
row: number;
|
|
37
|
+
column: string;
|
|
38
|
+
} | null) => void;
|
|
39
|
+
setEditValue: (value: string) => void;
|
|
40
|
+
startEditing: (row: number, column: string, initialValue: string) => void;
|
|
41
|
+
cancelEditing: () => void;
|
|
42
|
+
setIsLoadingMore: (isLoading: boolean) => void;
|
|
43
|
+
resetWidths: () => void;
|
|
44
|
+
autoFitColumn: (columnKey: string, contentWidth: number) => void;
|
|
45
|
+
toggleRowSelection: (rowIndex: number) => void;
|
|
46
|
+
selectAllRows: (rowCount: number) => void;
|
|
47
|
+
clearSelection: () => void;
|
|
48
|
+
isRowSelected: (rowIndex: number) => boolean;
|
|
49
|
+
};
|
|
50
|
+
declare const useStore: () => import("h-state").StoreType<DataTableState, DataTableMethods>;
|
|
51
|
+
export { useStore as useDataTableStore };
|
|
52
|
+
//# sourceMappingURL=index.d.ts.map
|