identity-admin-ui 1.12.0 → 1.12.1
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/lib/cjs/index.css +18 -38
- package/lib/cjs/index.js +13 -13
- package/lib/cjs/types/components/Image.d.ts +12 -0
- package/lib/cjs/types/components/Logo.d.ts +6 -0
- package/lib/cjs/types/components/MotionLazyContainer.d.ts +6 -0
- package/lib/cjs/types/components/SearchNotFound.d.ts +6 -0
- package/lib/cjs/types/components/hook-form/RHFDatePicker.d.ts +2 -1
- package/lib/cjs/types/components/hook-form/RHFTagsField.d.ts +21 -0
- package/lib/cjs/types/components/hook-form/RHFUpload.d.ts +15 -2
- package/lib/cjs/types/components/hook-form/index.d.ts +2 -0
- package/lib/cjs/types/components/index.d.ts +2 -0
- package/lib/cjs/types/components/nav-section/horizontal/NavItem.d.ts +4 -0
- package/lib/cjs/types/components/nav-section/horizontal/NavList.d.ts +6 -0
- package/lib/cjs/types/components/nav-section/horizontal/index.d.ts +5 -1
- package/lib/cjs/types/components/nav-section/horizontal/style.d.ts +47 -0
- package/lib/cjs/types/components/nav-section/index.d.ts +4 -0
- package/lib/cjs/types/components/nav-section/type.d.ts +35 -0
- package/lib/cjs/types/components/nav-section/vertical/NavItem.d.ts +13 -0
- package/lib/cjs/types/components/nav-section/vertical/NavList.d.ts +7 -0
- package/lib/cjs/types/components/nav-section/vertical/index.d.ts +16 -1
- package/lib/cjs/types/components/nav-section/vertical/style.d.ts +36 -0
- package/lib/cjs/types/components/settings/SettingsContext.d.ts +8 -0
- package/lib/cjs/types/components/settings/ThemeColorPresets.d.ts +6 -0
- package/lib/cjs/types/components/settings/ThemeContrast.d.ts +6 -0
- package/lib/cjs/types/components/settings/ThemeLocalization.d.ts +6 -0
- package/lib/cjs/types/components/settings/ThemeRtlLayout.d.ts +6 -0
- package/lib/cjs/types/components/settings/config-setting.d.ts +2 -0
- package/lib/cjs/types/components/settings/drawer/BoxMask.d.ts +5 -0
- package/lib/cjs/types/components/settings/drawer/SettingColorPresets.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingContrast.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingDirection.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingFullscreen.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingLayout.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingMode.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingStretch.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/ToggleButton.d.ts +7 -0
- package/lib/cjs/types/components/settings/drawer/index.d.ts +1 -0
- package/lib/cjs/types/components/settings/index.d.ts +6 -0
- package/lib/cjs/types/components/settings/presets.d.ts +1941 -0
- package/lib/cjs/types/components/settings/type.d.ts +56 -0
- package/lib/cjs/types/components/upload/UploadImage.d.ts +2 -0
- package/lib/cjs/types/components/upload/UploadSingleFile.d.ts +1 -1
- package/lib/cjs/types/components/upload/index.d.ts +1 -0
- package/lib/cjs/types/components/upload/type.d.ts +2 -0
- package/lib/cjs/types/context/AppConfigurationsContext.d.ts +8 -2
- package/lib/cjs/types/context/CollapseDrawerContext.d.ts +15 -0
- package/lib/cjs/types/context/SettingsContext.d.ts +8 -0
- package/lib/cjs/types/context/auth/AuthContext.d.ts +14 -0
- package/lib/cjs/types/context/auth/AuthReducer.d.ts +18 -0
- package/lib/cjs/types/context/auth/index.d.ts +2 -0
- package/lib/cjs/types/context/auth/types.d.ts +9 -0
- package/lib/cjs/types/context/index.d.ts +3 -0
- package/lib/cjs/types/hooks/RequetState.d.ts +8 -1
- package/lib/cjs/types/hooks/index.d.ts +2 -0
- package/lib/cjs/types/hooks/useApi.d.ts +2 -1
- package/lib/cjs/types/hooks/useAppConfigurations.d.ts +5 -0
- package/lib/cjs/types/hooks/useAuth.d.ts +6 -0
- package/lib/cjs/types/hooks/useCollapseDrawer.d.ts +2 -0
- package/lib/cjs/types/hooks/useLocalStorage.d.ts +1 -0
- package/lib/cjs/types/hooks/useLocales.d.ts +16 -0
- package/lib/cjs/types/hooks/useSettings.d.ts +2 -0
- package/lib/cjs/types/index.d.ts +5 -1
- package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/cjs/types/layouts/LogoOnlyLayout.d.ts +1 -0
- package/lib/cjs/types/layouts/config.d.ts +34 -0
- package/lib/cjs/types/layouts/dashboard/header/AccountPopover.d.ts +1 -0
- package/lib/cjs/types/layouts/dashboard/header/LanguagePopover.d.ts +1 -0
- package/lib/cjs/types/layouts/dashboard/header/NotificationsPopover.d.ts +13 -0
- package/lib/cjs/types/layouts/dashboard/header/Searchbar.d.ts +4 -0
- package/lib/cjs/types/layouts/dashboard/header/index.d.ts +7 -0
- package/lib/cjs/types/layouts/dashboard/index.d.ts +1 -0
- package/lib/cjs/types/layouts/dashboard/navbar/CollapseButton.d.ts +6 -0
- package/lib/cjs/types/layouts/dashboard/navbar/NavbarAccount.d.ts +5 -0
- package/lib/cjs/types/layouts/dashboard/navbar/NavbarVertical.d.ts +8 -0
- package/lib/cjs/types/layouts/dashboard/navbar/UserNavBar.d.ts +4 -0
- package/lib/cjs/types/pages/Page404.d.ts +1 -0
- package/lib/cjs/types/pages/auth/Login.d.ts +6 -0
- package/lib/cjs/types/pages/auth/LoginForm.d.ts +1 -0
- package/lib/cjs/types/pages/index.d.ts +2 -0
- package/lib/cjs/types/permissions/checker.d.ts +2 -0
- package/lib/cjs/types/permissions/index.d.ts +2 -0
- package/lib/cjs/types/permissions/keys.d.ts +6 -0
- package/lib/cjs/types/routes/AdminRouter.d.ts +10 -10
- package/lib/cjs/types/routes/DashBoardRouter.d.ts +11 -8
- package/lib/cjs/types/routes/paths.d.ts +5 -5
- package/lib/cjs/types/sections/dashboard/CreateNewDialog.d.ts +0 -1
- package/lib/cjs/types/theme/breakpoints.d.ts +10 -0
- package/lib/cjs/types/theme/index.d.ts +6 -14
- package/lib/cjs/types/theme/overrides/Accordion.d.ts +34 -0
- package/lib/cjs/types/theme/overrides/Alert.d.ts +97 -0
- package/lib/cjs/types/theme/overrides/Autocomplete.d.ts +18 -0
- package/lib/cjs/types/theme/overrides/Avatar.d.ts +24 -0
- package/lib/cjs/types/theme/overrides/Backdrop.d.ts +13 -0
- package/lib/cjs/types/theme/overrides/Badge.d.ts +12 -0
- package/lib/cjs/types/theme/overrides/Breadcrumbs.d.ts +11 -0
- package/lib/cjs/types/theme/overrides/Button.d.ts +51 -0
- package/lib/cjs/types/theme/overrides/ButtonGroup.d.ts +39 -0
- package/lib/cjs/types/theme/overrides/Card.d.ts +36 -0
- package/lib/cjs/types/theme/overrides/Checkbox.d.ts +32 -0
- package/lib/cjs/types/theme/overrides/Chip.d.ts +40 -0
- package/lib/cjs/types/theme/overrides/ControlLabel.d.ts +833 -0
- package/lib/cjs/types/theme/overrides/CssBaseline.d.ts +42 -0
- package/lib/cjs/types/theme/overrides/CustomIcons.d.ts +14 -0
- package/lib/cjs/types/theme/overrides/DataGrid.d.ts +1710 -0
- package/lib/cjs/types/theme/overrides/Dialog.d.ts +55 -0
- package/lib/cjs/types/theme/overrides/Drawer.d.ts +17 -0
- package/lib/cjs/types/theme/overrides/Fab.d.ts +34 -0
- package/lib/cjs/types/theme/overrides/Input.d.ts +64 -0
- package/lib/cjs/types/theme/overrides/Link.d.ts +8 -0
- package/lib/cjs/types/theme/overrides/List.d.ts +32 -0
- package/lib/cjs/types/theme/overrides/LoadingButton.d.ts +17 -0
- package/lib/cjs/types/theme/overrides/Menu.d.ts +15 -0
- package/lib/cjs/types/theme/overrides/Pagination.d.ts +30 -0
- package/lib/cjs/types/theme/overrides/Paper.d.ts +21 -0
- package/lib/cjs/types/theme/overrides/Popover.d.ts +11 -0
- package/lib/cjs/types/theme/overrides/Progress.d.ts +20 -0
- package/lib/cjs/types/theme/overrides/Radio.d.ts +16 -0
- package/lib/cjs/types/theme/overrides/Rating.d.ts +31 -0
- package/lib/cjs/types/theme/overrides/Select.d.ts +9 -0
- package/lib/cjs/types/theme/overrides/Skeleton.d.ts +13 -0
- package/lib/cjs/types/theme/overrides/Slider.d.ts +23 -0
- package/lib/cjs/types/theme/overrides/Stepper.d.ts +10 -0
- package/lib/cjs/types/theme/overrides/SvgIcon.d.ts +17 -0
- package/lib/cjs/types/theme/overrides/Switch.d.ts +28 -0
- package/lib/cjs/types/theme/overrides/Table.d.ts +70 -0
- package/lib/cjs/types/theme/overrides/Tabs.d.ts +53 -0
- package/lib/cjs/types/theme/overrides/Timeline.d.ts +17 -0
- package/lib/cjs/types/theme/overrides/ToggleButton.d.ts +43 -0
- package/lib/cjs/types/theme/overrides/Tooltip.d.ts +13 -0
- package/lib/cjs/types/theme/overrides/TreeView.d.ts +829 -0
- package/lib/cjs/types/theme/overrides/Typography.d.ts +13 -0
- package/lib/cjs/types/theme/overrides/index.d.ts +1 -1
- package/lib/cjs/types/theme/palette.d.ts +255 -79
- package/lib/cjs/types/theme/shadows.d.ts +67 -2
- package/lib/cjs/types/theme/typography.d.ts +8 -30
- package/lib/cjs/types/utils/AwsConfig.d.ts +1 -1
- package/lib/cjs/types/utils/StorageManager.d.ts +4 -0
- package/lib/cjs/types/utils/UUIDGenerator.d.ts +2 -0
- package/lib/cjs/types/utils/cssStyles.d.ts +78 -0
- package/lib/cjs/types/utils/getColorPresets.d.ts +73 -0
- package/lib/cjs/types/utils/getFontValue.d.ts +24 -0
- package/lib/cjs/types/utils/index.d.ts +1 -0
- package/lib/esm/index.css +18 -38
- package/lib/esm/index.js +13 -13
- package/lib/esm/types/components/Image.d.ts +12 -0
- package/lib/esm/types/components/Logo.d.ts +6 -0
- package/lib/esm/types/components/MotionLazyContainer.d.ts +6 -0
- package/lib/esm/types/components/SearchNotFound.d.ts +6 -0
- package/lib/esm/types/components/hook-form/RHFDatePicker.d.ts +2 -1
- package/lib/esm/types/components/hook-form/RHFTagsField.d.ts +21 -0
- package/lib/esm/types/components/hook-form/RHFUpload.d.ts +15 -2
- package/lib/esm/types/components/hook-form/index.d.ts +2 -0
- package/lib/esm/types/components/index.d.ts +2 -0
- package/lib/esm/types/components/nav-section/horizontal/NavItem.d.ts +4 -0
- package/lib/esm/types/components/nav-section/horizontal/NavList.d.ts +6 -0
- package/lib/esm/types/components/nav-section/horizontal/index.d.ts +5 -1
- package/lib/esm/types/components/nav-section/horizontal/style.d.ts +47 -0
- package/lib/esm/types/components/nav-section/index.d.ts +4 -0
- package/lib/esm/types/components/nav-section/type.d.ts +35 -0
- package/lib/esm/types/components/nav-section/vertical/NavItem.d.ts +13 -0
- package/lib/esm/types/components/nav-section/vertical/NavList.d.ts +7 -0
- package/lib/esm/types/components/nav-section/vertical/index.d.ts +16 -1
- package/lib/esm/types/components/nav-section/vertical/style.d.ts +36 -0
- package/lib/esm/types/components/settings/SettingsContext.d.ts +8 -0
- package/lib/esm/types/components/settings/ThemeColorPresets.d.ts +6 -0
- package/lib/esm/types/components/settings/ThemeContrast.d.ts +6 -0
- package/lib/esm/types/components/settings/ThemeLocalization.d.ts +6 -0
- package/lib/esm/types/components/settings/ThemeRtlLayout.d.ts +6 -0
- package/lib/esm/types/components/settings/config-setting.d.ts +2 -0
- package/lib/esm/types/components/settings/drawer/BoxMask.d.ts +5 -0
- package/lib/esm/types/components/settings/drawer/SettingColorPresets.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingContrast.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingDirection.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingFullscreen.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingLayout.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingMode.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingStretch.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/ToggleButton.d.ts +7 -0
- package/lib/esm/types/components/settings/drawer/index.d.ts +1 -0
- package/lib/esm/types/components/settings/index.d.ts +6 -0
- package/lib/esm/types/components/settings/presets.d.ts +1941 -0
- package/lib/esm/types/components/settings/type.d.ts +56 -0
- package/lib/esm/types/components/upload/UploadImage.d.ts +2 -0
- package/lib/esm/types/components/upload/UploadSingleFile.d.ts +1 -1
- package/lib/esm/types/components/upload/index.d.ts +1 -0
- package/lib/esm/types/components/upload/type.d.ts +2 -0
- package/lib/esm/types/context/AppConfigurationsContext.d.ts +8 -2
- package/lib/esm/types/context/CollapseDrawerContext.d.ts +15 -0
- package/lib/esm/types/context/SettingsContext.d.ts +8 -0
- package/lib/esm/types/context/auth/AuthContext.d.ts +14 -0
- package/lib/esm/types/context/auth/AuthReducer.d.ts +18 -0
- package/lib/esm/types/context/auth/index.d.ts +2 -0
- package/lib/esm/types/context/auth/types.d.ts +9 -0
- package/lib/esm/types/context/index.d.ts +3 -0
- package/lib/esm/types/hooks/RequetState.d.ts +8 -1
- package/lib/esm/types/hooks/index.d.ts +2 -0
- package/lib/esm/types/hooks/useApi.d.ts +2 -1
- package/lib/esm/types/hooks/useAppConfigurations.d.ts +5 -0
- package/lib/esm/types/hooks/useAuth.d.ts +6 -0
- package/lib/esm/types/hooks/useCollapseDrawer.d.ts +2 -0
- package/lib/esm/types/hooks/useLocalStorage.d.ts +1 -0
- package/lib/esm/types/hooks/useLocales.d.ts +16 -0
- package/lib/esm/types/hooks/useSettings.d.ts +2 -0
- package/lib/esm/types/index.d.ts +5 -1
- package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/esm/types/layouts/LogoOnlyLayout.d.ts +1 -0
- package/lib/esm/types/layouts/config.d.ts +34 -0
- package/lib/esm/types/layouts/dashboard/header/AccountPopover.d.ts +1 -0
- package/lib/esm/types/layouts/dashboard/header/LanguagePopover.d.ts +1 -0
- package/lib/esm/types/layouts/dashboard/header/NotificationsPopover.d.ts +13 -0
- package/lib/esm/types/layouts/dashboard/header/Searchbar.d.ts +4 -0
- package/lib/esm/types/layouts/dashboard/header/index.d.ts +7 -0
- package/lib/esm/types/layouts/dashboard/index.d.ts +1 -0
- package/lib/esm/types/layouts/dashboard/navbar/CollapseButton.d.ts +6 -0
- package/lib/esm/types/layouts/dashboard/navbar/NavbarAccount.d.ts +5 -0
- package/lib/esm/types/layouts/dashboard/navbar/NavbarVertical.d.ts +8 -0
- package/lib/esm/types/layouts/dashboard/navbar/UserNavBar.d.ts +4 -0
- package/lib/esm/types/pages/Page404.d.ts +1 -0
- package/lib/esm/types/pages/auth/Login.d.ts +6 -0
- package/lib/esm/types/pages/auth/LoginForm.d.ts +1 -0
- package/lib/esm/types/pages/index.d.ts +2 -0
- package/lib/esm/types/permissions/checker.d.ts +2 -0
- package/lib/esm/types/permissions/index.d.ts +2 -0
- package/lib/esm/types/permissions/keys.d.ts +6 -0
- package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
- package/lib/esm/types/routes/DashBoardRouter.d.ts +11 -8
- package/lib/esm/types/routes/paths.d.ts +5 -5
- package/lib/esm/types/sections/dashboard/CreateNewDialog.d.ts +0 -1
- package/lib/esm/types/theme/breakpoints.d.ts +10 -0
- package/lib/esm/types/theme/index.d.ts +6 -14
- package/lib/esm/types/theme/overrides/Accordion.d.ts +34 -0
- package/lib/esm/types/theme/overrides/Alert.d.ts +97 -0
- package/lib/esm/types/theme/overrides/Autocomplete.d.ts +18 -0
- package/lib/esm/types/theme/overrides/Avatar.d.ts +24 -0
- package/lib/esm/types/theme/overrides/Backdrop.d.ts +13 -0
- package/lib/esm/types/theme/overrides/Badge.d.ts +12 -0
- package/lib/esm/types/theme/overrides/Breadcrumbs.d.ts +11 -0
- package/lib/esm/types/theme/overrides/Button.d.ts +51 -0
- package/lib/esm/types/theme/overrides/ButtonGroup.d.ts +39 -0
- package/lib/esm/types/theme/overrides/Card.d.ts +36 -0
- package/lib/esm/types/theme/overrides/Checkbox.d.ts +32 -0
- package/lib/esm/types/theme/overrides/Chip.d.ts +40 -0
- package/lib/esm/types/theme/overrides/ControlLabel.d.ts +833 -0
- package/lib/esm/types/theme/overrides/CssBaseline.d.ts +42 -0
- package/lib/esm/types/theme/overrides/CustomIcons.d.ts +14 -0
- package/lib/esm/types/theme/overrides/DataGrid.d.ts +1710 -0
- package/lib/esm/types/theme/overrides/Dialog.d.ts +55 -0
- package/lib/esm/types/theme/overrides/Drawer.d.ts +17 -0
- package/lib/esm/types/theme/overrides/Fab.d.ts +34 -0
- package/lib/esm/types/theme/overrides/Input.d.ts +64 -0
- package/lib/esm/types/theme/overrides/Link.d.ts +8 -0
- package/lib/esm/types/theme/overrides/List.d.ts +32 -0
- package/lib/esm/types/theme/overrides/LoadingButton.d.ts +17 -0
- package/lib/esm/types/theme/overrides/Menu.d.ts +15 -0
- package/lib/esm/types/theme/overrides/Pagination.d.ts +30 -0
- package/lib/esm/types/theme/overrides/Paper.d.ts +21 -0
- package/lib/esm/types/theme/overrides/Popover.d.ts +11 -0
- package/lib/esm/types/theme/overrides/Progress.d.ts +20 -0
- package/lib/esm/types/theme/overrides/Radio.d.ts +16 -0
- package/lib/esm/types/theme/overrides/Rating.d.ts +31 -0
- package/lib/esm/types/theme/overrides/Select.d.ts +9 -0
- package/lib/esm/types/theme/overrides/Skeleton.d.ts +13 -0
- package/lib/esm/types/theme/overrides/Slider.d.ts +23 -0
- package/lib/esm/types/theme/overrides/Stepper.d.ts +10 -0
- package/lib/esm/types/theme/overrides/SvgIcon.d.ts +17 -0
- package/lib/esm/types/theme/overrides/Switch.d.ts +28 -0
- package/lib/esm/types/theme/overrides/Table.d.ts +70 -0
- package/lib/esm/types/theme/overrides/Tabs.d.ts +53 -0
- package/lib/esm/types/theme/overrides/Timeline.d.ts +17 -0
- package/lib/esm/types/theme/overrides/ToggleButton.d.ts +43 -0
- package/lib/esm/types/theme/overrides/Tooltip.d.ts +13 -0
- package/lib/esm/types/theme/overrides/TreeView.d.ts +829 -0
- package/lib/esm/types/theme/overrides/Typography.d.ts +13 -0
- package/lib/esm/types/theme/overrides/index.d.ts +1 -1
- package/lib/esm/types/theme/palette.d.ts +255 -79
- package/lib/esm/types/theme/shadows.d.ts +67 -2
- package/lib/esm/types/theme/typography.d.ts +8 -30
- package/lib/esm/types/utils/AwsConfig.d.ts +1 -1
- package/lib/esm/types/utils/StorageManager.d.ts +4 -0
- package/lib/esm/types/utils/UUIDGenerator.d.ts +2 -0
- package/lib/esm/types/utils/cssStyles.d.ts +78 -0
- package/lib/esm/types/utils/getColorPresets.d.ts +73 -0
- package/lib/esm/types/utils/getFontValue.d.ts +24 -0
- package/lib/esm/types/utils/index.d.ts +1 -0
- package/lib/index.d.ts +594 -42
- package/package.json +91 -89
package/lib/index.d.ts
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import { ReactElement, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
4
|
+
import react__default, { ReactElement, ReactNode, Reducer, Dispatch, SetStateAction } from 'react';
|
|
5
5
|
import { GridCellParams, GridRenderCellParams, GridDensity, GridSortDirection, GridRowSelectionModel } from '@mui/x-data-grid';
|
|
6
|
+
import * as _mui_material from '@mui/material';
|
|
7
|
+
import { SxProps, PaletteOptions, AlertColor as AlertColor$1, BoxProps, FormControlLabelProps, TextFieldProps, RadioGroupProps } from '@mui/material';
|
|
6
8
|
import * as axios from 'axios';
|
|
7
9
|
import { AxiosRequestConfig } from 'axios';
|
|
8
10
|
import * as _mui_system from '@mui/system';
|
|
9
|
-
import * as _mui_material from '@mui/material';
|
|
10
|
-
import { SxProps, AlertColor as AlertColor$1 } from '@mui/material';
|
|
11
11
|
import * as notistack from 'notistack';
|
|
12
12
|
import { SnackbarOrigin } from 'notistack';
|
|
13
|
+
import { DropzoneOptions } from 'react-dropzone';
|
|
14
|
+
import { Theme } from '@mui/material/styles';
|
|
15
|
+
import { UseFormReturn, Control, FieldValues } from 'react-hook-form';
|
|
16
|
+
import { ReactQuillProps } from 'react-quill';
|
|
17
|
+
import { DatePickerProps } from '@mui/lab';
|
|
18
|
+
import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
|
|
13
19
|
|
|
14
20
|
type TLink = {
|
|
15
21
|
href?: string;
|
|
@@ -61,22 +67,29 @@ declare enum RequestState {
|
|
|
61
67
|
IDLE = "idle",
|
|
62
68
|
LOADING = "loading",
|
|
63
69
|
SUCCEEDED = "succeeded",
|
|
64
|
-
FAILED = "failed"
|
|
70
|
+
FAILED = "failed",
|
|
71
|
+
UPLOADED = "uploaded"
|
|
65
72
|
}
|
|
73
|
+
type UploadRsult = {
|
|
74
|
+
[key: string]: string | string[];
|
|
75
|
+
};
|
|
66
76
|
interface IState<T> {
|
|
67
77
|
data: T | undefined;
|
|
68
78
|
state: RequestState;
|
|
69
79
|
error?: any | null;
|
|
80
|
+
uploadResult?: UploadRsult;
|
|
70
81
|
}
|
|
71
|
-
declare class State<T> {
|
|
82
|
+
declare class State$1<T> {
|
|
72
83
|
data: T | undefined;
|
|
73
84
|
state: RequestState;
|
|
74
85
|
error?: any;
|
|
86
|
+
uploadResult?: UploadRsult | undefined;
|
|
75
87
|
private constructor();
|
|
76
88
|
static idle<T>(data?: T): IState<T>;
|
|
77
89
|
static loading<T>(data?: T): IState<T>;
|
|
78
90
|
static succeeded<T>(data: T): IState<T>;
|
|
79
91
|
static error<T>(error: any, data?: T): IState<T>;
|
|
92
|
+
static uploaded<T>(currentState: State$1<T>, uploadResult: UploadRsult): IState<T>;
|
|
80
93
|
}
|
|
81
94
|
|
|
82
95
|
declare enum ActionNames {
|
|
@@ -85,7 +98,7 @@ declare enum ActionNames {
|
|
|
85
98
|
NEW = "NEW",
|
|
86
99
|
EDIT = "EDIT"
|
|
87
100
|
}
|
|
88
|
-
declare enum ActionTypes {
|
|
101
|
+
declare enum ActionTypes$1 {
|
|
89
102
|
RECORD = "RECORD",
|
|
90
103
|
Resource = "RESOUCRE"
|
|
91
104
|
}
|
|
@@ -244,7 +257,7 @@ interface IExtras {
|
|
|
244
257
|
};
|
|
245
258
|
}
|
|
246
259
|
interface IExtarAction {
|
|
247
|
-
actionType: ActionTypes;
|
|
260
|
+
actionType: ActionTypes$1;
|
|
248
261
|
guard?: string;
|
|
249
262
|
icon: string;
|
|
250
263
|
key: string;
|
|
@@ -336,6 +349,7 @@ declare const PathsContextProvider: (props: PathsContextConfig) => react_jsx_run
|
|
|
336
349
|
declare function path(root: string, sublink: string): string;
|
|
337
350
|
|
|
338
351
|
type AppConfigurations = {
|
|
352
|
+
children?: ReactNode;
|
|
339
353
|
textFieldSize: SizeType;
|
|
340
354
|
themeLayout?: 'vertical' | 'horizontal' | 'mini';
|
|
341
355
|
defaultRowsPerPage: number;
|
|
@@ -344,9 +358,13 @@ type AppConfigurations = {
|
|
|
344
358
|
loadingLoago?: string;
|
|
345
359
|
navBarLogo?: string;
|
|
346
360
|
miniNavBarLogo?: string;
|
|
361
|
+
loginWeclomeImage?: string;
|
|
362
|
+
loginLogo?: string;
|
|
363
|
+
loginLoginMessage?: string;
|
|
364
|
+
palette?: PaletteOptions;
|
|
347
365
|
};
|
|
348
366
|
declare const AppConfigurationsContext: react.Context<AppConfigurations>;
|
|
349
|
-
declare const AppConfigurationsContextProvider: (props:
|
|
367
|
+
declare const AppConfigurationsContextProvider: (props: AppConfigurations) => react_jsx_runtime.JSX.Element;
|
|
350
368
|
|
|
351
369
|
interface CredentialKeys {
|
|
352
370
|
identityPoolId: string;
|
|
@@ -427,6 +445,52 @@ interface NotificationsContextConfig {
|
|
|
427
445
|
}
|
|
428
446
|
declare const NotificationsContextProvider: (props: NotificationsContextConfig) => react_jsx_runtime.JSX.Element;
|
|
429
447
|
|
|
448
|
+
interface User {
|
|
449
|
+
_id?: string;
|
|
450
|
+
name?: string;
|
|
451
|
+
email?: string;
|
|
452
|
+
firstName?: string;
|
|
453
|
+
lastName?: string;
|
|
454
|
+
username?: string;
|
|
455
|
+
photo?: string;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
declare enum ActionTypes {
|
|
459
|
+
LOGIN = "LOGIN",
|
|
460
|
+
LOGOUT = "LOGOUT"
|
|
461
|
+
}
|
|
462
|
+
interface State {
|
|
463
|
+
user: User | null;
|
|
464
|
+
isAuthenticated: boolean;
|
|
465
|
+
}
|
|
466
|
+
type Action = {
|
|
467
|
+
type: ActionTypes.LOGIN;
|
|
468
|
+
payload: User;
|
|
469
|
+
} | {
|
|
470
|
+
type: ActionTypes.LOGOUT;
|
|
471
|
+
};
|
|
472
|
+
declare const AuthReducer: Reducer<State, Action>;
|
|
473
|
+
|
|
474
|
+
interface Props$g {
|
|
475
|
+
storageKey: string;
|
|
476
|
+
children: ReactNode;
|
|
477
|
+
}
|
|
478
|
+
declare const AuthProvider: react__default.FC<Props$g>;
|
|
479
|
+
|
|
480
|
+
type CollapseDrawerContextProps = {
|
|
481
|
+
isCollapse?: boolean;
|
|
482
|
+
collapseClick: boolean;
|
|
483
|
+
collapseHover: boolean;
|
|
484
|
+
onToggleCollapse: VoidFunction;
|
|
485
|
+
onHoverEnter: VoidFunction;
|
|
486
|
+
onHoverLeave: VoidFunction;
|
|
487
|
+
};
|
|
488
|
+
declare const CollapseDrawerContext: react.Context<CollapseDrawerContextProps>;
|
|
489
|
+
type CollapseDrawerProviderProps = {
|
|
490
|
+
children: ReactNode;
|
|
491
|
+
};
|
|
492
|
+
declare function CollapseDrawerProvider({ children }: CollapseDrawerProviderProps): react_jsx_runtime.JSX.Element;
|
|
493
|
+
|
|
430
494
|
interface IGridExtras {
|
|
431
495
|
noRowsText?: string;
|
|
432
496
|
bulkDeleteText?: string;
|
|
@@ -660,8 +724,18 @@ declare function Permissions({ isEdit }: {
|
|
|
660
724
|
|
|
661
725
|
declare function ShowMailLog(props: any): react_jsx_runtime.JSX.Element;
|
|
662
726
|
|
|
727
|
+
type Props$f = {
|
|
728
|
+
isDashboard?: boolean;
|
|
729
|
+
sx?: SxProps;
|
|
730
|
+
loadingLogo?: string;
|
|
731
|
+
logoSxProps?: SxProps;
|
|
732
|
+
};
|
|
733
|
+
declare function LoadingScreen({ isDashboard, loadingLogo, logoSxProps, ...other }: Props$f): react_jsx_runtime.JSX.Element;
|
|
734
|
+
|
|
735
|
+
declare function Page404(): react_jsx_runtime.JSX.Element;
|
|
736
|
+
|
|
663
737
|
interface RequestConfig {
|
|
664
|
-
url
|
|
738
|
+
url?: string;
|
|
665
739
|
body?: any;
|
|
666
740
|
axiosRequestConfig?: AxiosRequestConfig;
|
|
667
741
|
query?: any;
|
|
@@ -677,6 +751,7 @@ declare function useApi<T>(initialValue?: IState<any>): {
|
|
|
677
751
|
remove: (requstConfig: RequestConfig) => void;
|
|
678
752
|
revertToIdle: () => void;
|
|
679
753
|
revertToInitialState: () => void;
|
|
754
|
+
uploadToS3: (requstConfig: RequestConfig) => void;
|
|
680
755
|
};
|
|
681
756
|
|
|
682
757
|
declare function useNavData(): {
|
|
@@ -685,6 +760,7 @@ declare function useNavData(): {
|
|
|
685
760
|
}[];
|
|
686
761
|
|
|
687
762
|
declare const useAppConfigurations: () => {
|
|
763
|
+
children?: react.ReactNode;
|
|
688
764
|
textFieldSize: SizeType;
|
|
689
765
|
themeLayout?: "horizontal" | "vertical" | "mini" | undefined;
|
|
690
766
|
defaultRowsPerPage: number;
|
|
@@ -693,6 +769,10 @@ declare const useAppConfigurations: () => {
|
|
|
693
769
|
loadingLoago?: string | undefined;
|
|
694
770
|
navBarLogo?: string | undefined;
|
|
695
771
|
miniNavBarLogo?: string | undefined;
|
|
772
|
+
loginWeclomeImage?: string | undefined;
|
|
773
|
+
loginLogo?: string | undefined;
|
|
774
|
+
loginLoginMessage?: string | undefined;
|
|
775
|
+
palette?: _mui_material.PaletteOptions | undefined;
|
|
696
776
|
};
|
|
697
777
|
|
|
698
778
|
declare const useResources: () => {
|
|
@@ -731,6 +811,13 @@ declare const useNotifications: () => {
|
|
|
731
811
|
clearNotifications: () => void;
|
|
732
812
|
};
|
|
733
813
|
|
|
814
|
+
declare const useAuth: () => {
|
|
815
|
+
user: User | null;
|
|
816
|
+
isAuthenticated: boolean;
|
|
817
|
+
login: (user: User) => void;
|
|
818
|
+
logout: () => void;
|
|
819
|
+
};
|
|
820
|
+
|
|
734
821
|
declare const IdentityClient: axios.AxiosInstance;
|
|
735
822
|
declare module 'axios' {
|
|
736
823
|
interface AxiosRequestConfig {
|
|
@@ -739,44 +826,31 @@ declare module 'axios' {
|
|
|
739
826
|
}
|
|
740
827
|
}
|
|
741
828
|
|
|
742
|
-
type Props = {
|
|
743
|
-
children:
|
|
744
|
-
Logo?: (props: any) => JSX.Element;
|
|
829
|
+
type Props$e = {
|
|
830
|
+
children: ReactNode;
|
|
745
831
|
};
|
|
746
|
-
declare function
|
|
832
|
+
declare function ThemeProvider({ children }: Props$e): react_jsx_runtime.JSX.Element;
|
|
747
833
|
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
}
|
|
834
|
+
type Props$d = {
|
|
835
|
+
pathsObject: {
|
|
836
|
+
[key: string]: ResourcePaths;
|
|
837
|
+
};
|
|
838
|
+
HomePage: () => JSX.Element;
|
|
839
|
+
customs: ReactElement[];
|
|
840
|
+
};
|
|
841
|
+
declare function AdminRouter({ pathsObject, HomePage, customs }: Props$d): react_jsx_runtime.JSX.Element;
|
|
756
842
|
|
|
757
|
-
|
|
758
|
-
themeStretch?: boolean;
|
|
759
|
-
themeMode?: 'light' | 'dark';
|
|
760
|
-
themeDirection?: 'rtl' | 'ltr';
|
|
761
|
-
themeContrast?: 'default' | 'bold';
|
|
762
|
-
themeColorPresets?: 'default' | 'cyan' | 'purple' | 'blue' | 'orange' | 'red';
|
|
763
|
-
customColorPresets?: PresetsColor;
|
|
764
|
-
}
|
|
765
|
-
interface ThemeProps extends SettingsValueProps {
|
|
766
|
-
children: React.ReactNode;
|
|
767
|
-
}
|
|
768
|
-
declare function ThemeProvider({ children, themeColorPresets, themeContrast, themeDirection, themeMode, customColorPresets }: ThemeProps): react_jsx_runtime.JSX.Element;
|
|
843
|
+
declare function NotificationsPopover(): react_jsx_runtime.JSX.Element;
|
|
769
844
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
children: {
|
|
773
|
-
path: string;
|
|
774
|
-
element: react_jsx_runtime.JSX.Element;
|
|
775
|
-
children: any[];
|
|
776
|
-
}[];
|
|
845
|
+
type Props$c = {
|
|
846
|
+
children: ReactNode;
|
|
777
847
|
};
|
|
848
|
+
declare function MotionLazyContainer({ children }: Props$c): react_jsx_runtime.JSX.Element;
|
|
778
849
|
|
|
779
|
-
|
|
850
|
+
interface Props$b extends BoxProps {
|
|
851
|
+
src: string;
|
|
852
|
+
}
|
|
853
|
+
declare function SvgIconStyle({ src, sx }: Props$b): react_jsx_runtime.JSX.Element;
|
|
780
854
|
|
|
781
855
|
interface ActionDialogProps {
|
|
782
856
|
open: boolean;
|
|
@@ -877,4 +951,482 @@ declare function getFilterValues(fieldObject: any, field: string, defaultValuesO
|
|
|
877
951
|
[key: string]: ISchemaObject;
|
|
878
952
|
}): void;
|
|
879
953
|
|
|
880
|
-
|
|
954
|
+
declare function DashboardLayout(): react_jsx_runtime.JSX.Element;
|
|
955
|
+
|
|
956
|
+
declare function checkPermission(resource: IResource, permissionPrefixKey: string): boolean;
|
|
957
|
+
|
|
958
|
+
declare enum PermissionDefaultKeys {
|
|
959
|
+
VIEW = "view",
|
|
960
|
+
CREATE = "create",
|
|
961
|
+
EDIT = "edit",
|
|
962
|
+
DELETE = "delete"
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
interface RHFCheckboxProps extends Omit<FormControlLabelProps, 'control'> {
|
|
966
|
+
name: string;
|
|
967
|
+
}
|
|
968
|
+
declare function RHFCheckbox({ name, ...other }: RHFCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
969
|
+
interface RHFMultiCheckboxProps extends Omit<FormControlLabelProps, 'control' | 'label'> {
|
|
970
|
+
name: string;
|
|
971
|
+
options: {
|
|
972
|
+
label: string;
|
|
973
|
+
value: any;
|
|
974
|
+
}[];
|
|
975
|
+
}
|
|
976
|
+
declare function RHFMultiCheckbox({ name, options, ...other }: RHFMultiCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
977
|
+
|
|
978
|
+
interface CustomFile extends File {
|
|
979
|
+
path?: string;
|
|
980
|
+
preview?: string;
|
|
981
|
+
lastModifiedDate?: Date;
|
|
982
|
+
}
|
|
983
|
+
interface UploadProps extends DropzoneOptions {
|
|
984
|
+
error?: boolean;
|
|
985
|
+
file: CustomFile | string | null;
|
|
986
|
+
helperText?: ReactNode;
|
|
987
|
+
label?: string;
|
|
988
|
+
sx?: SxProps<Theme>;
|
|
989
|
+
Content?: ReactNode;
|
|
990
|
+
size?: string;
|
|
991
|
+
}
|
|
992
|
+
interface UploadMultiFileProps extends DropzoneOptions {
|
|
993
|
+
files: (File | string)[];
|
|
994
|
+
error?: boolean;
|
|
995
|
+
showPreview?: boolean;
|
|
996
|
+
sx?: SxProps<Theme>;
|
|
997
|
+
helperText?: ReactNode;
|
|
998
|
+
onUpload?: VoidFunction;
|
|
999
|
+
onRemove?: (file: File | string) => void;
|
|
1000
|
+
onRemoveAll?: VoidFunction;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
interface Props$a extends Omit<UploadProps, 'file'> {
|
|
1004
|
+
name: string;
|
|
1005
|
+
contentText?: string;
|
|
1006
|
+
}
|
|
1007
|
+
declare function RHFUploadAvatar({ name, ...other }: Props$a): react_jsx_runtime.JSX.Element;
|
|
1008
|
+
declare function RHFUploadImage({ name, ...other }: Props$a): react_jsx_runtime.JSX.Element;
|
|
1009
|
+
declare function RHFUploadSingleFile({ name, contentText, ...other }: Props$a): react_jsx_runtime.JSX.Element;
|
|
1010
|
+
interface RHFUploadMultiFileProps extends Omit<UploadMultiFileProps, 'files'> {
|
|
1011
|
+
name: string;
|
|
1012
|
+
}
|
|
1013
|
+
declare function RHFUploadMultiFile({ name, ...other }: RHFUploadMultiFileProps): react_jsx_runtime.JSX.Element;
|
|
1014
|
+
interface RHFUploadFileButtonProps2 extends Omit<UploadMultiFileProps, 'files'> {
|
|
1015
|
+
name: string;
|
|
1016
|
+
loading?: boolean;
|
|
1017
|
+
}
|
|
1018
|
+
declare function RHFUploadFileButton2({ name, helperText, loading, ...other }: RHFUploadFileButtonProps2): react_jsx_runtime.JSX.Element;
|
|
1019
|
+
interface RHFUploadFileButtonProps extends Omit<UploadMultiFileProps, 'files'> {
|
|
1020
|
+
name: string;
|
|
1021
|
+
buttonSx: SxProps;
|
|
1022
|
+
loading?: boolean;
|
|
1023
|
+
}
|
|
1024
|
+
declare function RHFUploadFileButton({ name, buttonSx, loading, ...other }: RHFUploadFileButtonProps): react_jsx_runtime.JSX.Element;
|
|
1025
|
+
|
|
1026
|
+
type Props$9 = {
|
|
1027
|
+
children: ReactNode;
|
|
1028
|
+
methods: UseFormReturn<any>;
|
|
1029
|
+
onSubmit?: VoidFunction;
|
|
1030
|
+
};
|
|
1031
|
+
declare function FormProvider({ children, onSubmit, methods }: Props$9): react_jsx_runtime.JSX.Element;
|
|
1032
|
+
|
|
1033
|
+
interface EditorProps extends ReactQuillProps {
|
|
1034
|
+
id?: string;
|
|
1035
|
+
error?: boolean;
|
|
1036
|
+
simple?: boolean;
|
|
1037
|
+
helperText?: React.ReactNode;
|
|
1038
|
+
sx?: SxProps<Theme>;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
declare global {
|
|
1042
|
+
interface Window {
|
|
1043
|
+
hljs: any;
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
interface Props$8 extends EditorProps {
|
|
1048
|
+
name: string;
|
|
1049
|
+
}
|
|
1050
|
+
declare function RHFEditor({ name, helperText, ...other }: Props$8): react_jsx_runtime.JSX.Element;
|
|
1051
|
+
|
|
1052
|
+
type IProps$7 = {
|
|
1053
|
+
name: string;
|
|
1054
|
+
};
|
|
1055
|
+
type Props$7 = IProps$7 & TextFieldProps;
|
|
1056
|
+
declare function RHFTextField({ name, ...other }: Props$7): react_jsx_runtime.JSX.Element;
|
|
1057
|
+
|
|
1058
|
+
type IProps$6 = {
|
|
1059
|
+
name: string;
|
|
1060
|
+
children: any;
|
|
1061
|
+
};
|
|
1062
|
+
type Props$6 = IProps$6 & TextFieldProps;
|
|
1063
|
+
declare function RHFSelect({ name, children, ...other }: Props$6): react_jsx_runtime.JSX.Element;
|
|
1064
|
+
|
|
1065
|
+
type IProps$5 = {
|
|
1066
|
+
name: string;
|
|
1067
|
+
options?: Option[];
|
|
1068
|
+
loading: boolean;
|
|
1069
|
+
multiple?: boolean;
|
|
1070
|
+
onOptionChange?: (value: Option | Option[] | null) => void;
|
|
1071
|
+
onOpenChanged: (isOpend: boolean) => void;
|
|
1072
|
+
control?: Control<FieldValues, any>;
|
|
1073
|
+
};
|
|
1074
|
+
type Props$5 = IProps$5 & TextFieldProps;
|
|
1075
|
+
interface Option {
|
|
1076
|
+
_id: string;
|
|
1077
|
+
title?: string;
|
|
1078
|
+
name?: string;
|
|
1079
|
+
image?: string;
|
|
1080
|
+
}
|
|
1081
|
+
declare function RHFLazySelect({ name, options, loading, multiple, onOptionChange, onOpenChanged, ...other }: Props$5): react_jsx_runtime.JSX.Element;
|
|
1082
|
+
|
|
1083
|
+
type IProps$4 = {
|
|
1084
|
+
name: string;
|
|
1085
|
+
minDate?: Date;
|
|
1086
|
+
maxDate?: Date;
|
|
1087
|
+
};
|
|
1088
|
+
type Props$4 = IProps$4 & TextFieldProps & Partial<DatePickerProps<Date>>;
|
|
1089
|
+
declare function RHFDatePicker({ name, minDate, maxDate, ...others }: Props$4): react_jsx_runtime.JSX.Element;
|
|
1090
|
+
|
|
1091
|
+
interface LocationOption {
|
|
1092
|
+
placeId?: string;
|
|
1093
|
+
description?: string;
|
|
1094
|
+
location: {
|
|
1095
|
+
type: 'Point';
|
|
1096
|
+
coordinates: [longitude: number, latitude: number];
|
|
1097
|
+
};
|
|
1098
|
+
}
|
|
1099
|
+
type PlaceState = react.Dispatch<react.SetStateAction<LocationOption | null>>;
|
|
1100
|
+
type IProps$3 = {
|
|
1101
|
+
name: string;
|
|
1102
|
+
placeholder?: string;
|
|
1103
|
+
address?: string;
|
|
1104
|
+
setLocation?: PlaceState;
|
|
1105
|
+
selectLocation?: (name: any, value: LocationOption | null, options?: Partial<{
|
|
1106
|
+
shouldValidate: boolean;
|
|
1107
|
+
shouldDirty: boolean;
|
|
1108
|
+
shouldTouch: boolean;
|
|
1109
|
+
}> | undefined) => void;
|
|
1110
|
+
};
|
|
1111
|
+
type Props$3 = IProps$3 & TextFieldProps$1;
|
|
1112
|
+
declare function RHFGooglePlaces({ name, address, placeholder, setLocation, selectLocation, ...other }: Props$3): react_jsx_runtime.JSX.Element;
|
|
1113
|
+
|
|
1114
|
+
declare function RHFCreatableSelect(): react_jsx_runtime.JSX.Element;
|
|
1115
|
+
|
|
1116
|
+
type IProps$2 = {
|
|
1117
|
+
name: string;
|
|
1118
|
+
options: {
|
|
1119
|
+
label: string;
|
|
1120
|
+
value: any;
|
|
1121
|
+
}[];
|
|
1122
|
+
};
|
|
1123
|
+
type Props$2 = IProps$2 & RadioGroupProps;
|
|
1124
|
+
declare function RHFRadioGroup({ name, options, ...other }: Props$2): react_jsx_runtime.JSX.Element;
|
|
1125
|
+
|
|
1126
|
+
interface Field {
|
|
1127
|
+
_id: string;
|
|
1128
|
+
name: string;
|
|
1129
|
+
label: string;
|
|
1130
|
+
}
|
|
1131
|
+
type IProps$1 = {
|
|
1132
|
+
title?: string;
|
|
1133
|
+
applyAllMessage: string;
|
|
1134
|
+
fields: Field[];
|
|
1135
|
+
errorMessage?: string;
|
|
1136
|
+
};
|
|
1137
|
+
type Props$1 = IProps$1 & TextFieldProps;
|
|
1138
|
+
declare function RHFGroupedTextFields({ title, applyAllMessage, fields, errorMessage, ...other }: Props$1): react_jsx_runtime.JSX.Element;
|
|
1139
|
+
|
|
1140
|
+
type IProps = {
|
|
1141
|
+
name: string;
|
|
1142
|
+
options?: string[];
|
|
1143
|
+
loading?: boolean;
|
|
1144
|
+
multiple?: boolean;
|
|
1145
|
+
onOptionChange?: (value: string) => void;
|
|
1146
|
+
onOpenChanged?: (isOpend: boolean) => void;
|
|
1147
|
+
onInputChange?: (value: string) => void;
|
|
1148
|
+
control?: Control<FieldValues, any>;
|
|
1149
|
+
isList?: boolean;
|
|
1150
|
+
};
|
|
1151
|
+
type Props = IProps & TextFieldProps;
|
|
1152
|
+
declare function RHFTagsField({ name, multiple, size, isList, ...other }: Props): react_jsx_runtime.JSX.Element;
|
|
1153
|
+
|
|
1154
|
+
type InputValue = string | number | null;
|
|
1155
|
+
declare function fNumber(number: InputValue): string;
|
|
1156
|
+
declare function fCurrency(number: InputValue): string;
|
|
1157
|
+
declare function fPercent(number: InputValue): string;
|
|
1158
|
+
declare function fShortenNumber(number: InputValue): string;
|
|
1159
|
+
declare function fData(number: InputValue): string;
|
|
1160
|
+
|
|
1161
|
+
interface GradientsPaletteOptions {
|
|
1162
|
+
primary: string;
|
|
1163
|
+
info: string;
|
|
1164
|
+
success: string;
|
|
1165
|
+
warning: string;
|
|
1166
|
+
error: string;
|
|
1167
|
+
}
|
|
1168
|
+
interface ChartPaletteOptions {
|
|
1169
|
+
violet: string[];
|
|
1170
|
+
blue: string[];
|
|
1171
|
+
green: string[];
|
|
1172
|
+
yellow: string[];
|
|
1173
|
+
red: string[];
|
|
1174
|
+
}
|
|
1175
|
+
declare module '@mui/material/styles/createPalette' {
|
|
1176
|
+
interface TypeBackground {
|
|
1177
|
+
neutral: string;
|
|
1178
|
+
}
|
|
1179
|
+
interface SimplePaletteColorOptions {
|
|
1180
|
+
lighter: string;
|
|
1181
|
+
darker: string;
|
|
1182
|
+
}
|
|
1183
|
+
interface PaletteColor {
|
|
1184
|
+
lighter: string;
|
|
1185
|
+
darker: string;
|
|
1186
|
+
}
|
|
1187
|
+
interface Palette {
|
|
1188
|
+
gradients: GradientsPaletteOptions;
|
|
1189
|
+
chart: ChartPaletteOptions;
|
|
1190
|
+
}
|
|
1191
|
+
interface PaletteOptions {
|
|
1192
|
+
gradients: GradientsPaletteOptions;
|
|
1193
|
+
chart: ChartPaletteOptions;
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
declare module '@mui/material' {
|
|
1197
|
+
interface Color {
|
|
1198
|
+
0: string;
|
|
1199
|
+
5008: string;
|
|
1200
|
+
50012: string;
|
|
1201
|
+
50016: string;
|
|
1202
|
+
50024: string;
|
|
1203
|
+
50032: string;
|
|
1204
|
+
50048: string;
|
|
1205
|
+
50056: string;
|
|
1206
|
+
50080: string;
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
declare const palette: {
|
|
1210
|
+
readonly light: {
|
|
1211
|
+
readonly mode: "light";
|
|
1212
|
+
readonly text: {
|
|
1213
|
+
readonly primary: string;
|
|
1214
|
+
readonly secondary: string;
|
|
1215
|
+
readonly disabled: string;
|
|
1216
|
+
};
|
|
1217
|
+
readonly background: {
|
|
1218
|
+
readonly paper: "#fff";
|
|
1219
|
+
readonly default: "#fff";
|
|
1220
|
+
readonly neutral: string;
|
|
1221
|
+
};
|
|
1222
|
+
readonly action: {
|
|
1223
|
+
readonly hover: string;
|
|
1224
|
+
readonly selected: string;
|
|
1225
|
+
readonly disabled: string;
|
|
1226
|
+
readonly disabledBackground: string;
|
|
1227
|
+
readonly focus: string;
|
|
1228
|
+
readonly hoverOpacity: number;
|
|
1229
|
+
readonly disabledOpacity: number;
|
|
1230
|
+
readonly active: string;
|
|
1231
|
+
};
|
|
1232
|
+
readonly common: {
|
|
1233
|
+
black: string;
|
|
1234
|
+
white: string;
|
|
1235
|
+
};
|
|
1236
|
+
readonly primary: {
|
|
1237
|
+
contrastText: string;
|
|
1238
|
+
lighter: string;
|
|
1239
|
+
light: string;
|
|
1240
|
+
main: string;
|
|
1241
|
+
dark: string;
|
|
1242
|
+
darker: string;
|
|
1243
|
+
};
|
|
1244
|
+
readonly secondary: {
|
|
1245
|
+
contrastText: string;
|
|
1246
|
+
lighter: string;
|
|
1247
|
+
light: string;
|
|
1248
|
+
main: string;
|
|
1249
|
+
dark: string;
|
|
1250
|
+
darker: string;
|
|
1251
|
+
};
|
|
1252
|
+
readonly info: {
|
|
1253
|
+
contrastText: string;
|
|
1254
|
+
lighter: string;
|
|
1255
|
+
light: string;
|
|
1256
|
+
main: string;
|
|
1257
|
+
dark: string;
|
|
1258
|
+
darker: string;
|
|
1259
|
+
};
|
|
1260
|
+
readonly success: {
|
|
1261
|
+
contrastText: string;
|
|
1262
|
+
lighter: string;
|
|
1263
|
+
light: string;
|
|
1264
|
+
main: string;
|
|
1265
|
+
dark: string;
|
|
1266
|
+
darker: string;
|
|
1267
|
+
};
|
|
1268
|
+
readonly warning: {
|
|
1269
|
+
contrastText: string;
|
|
1270
|
+
lighter: string;
|
|
1271
|
+
light: string;
|
|
1272
|
+
main: string;
|
|
1273
|
+
dark: string;
|
|
1274
|
+
darker: string;
|
|
1275
|
+
};
|
|
1276
|
+
readonly error: {
|
|
1277
|
+
contrastText: string;
|
|
1278
|
+
lighter: string;
|
|
1279
|
+
light: string;
|
|
1280
|
+
main: string;
|
|
1281
|
+
dark: string;
|
|
1282
|
+
darker: string;
|
|
1283
|
+
};
|
|
1284
|
+
readonly grey: {
|
|
1285
|
+
0: string;
|
|
1286
|
+
100: string;
|
|
1287
|
+
200: string;
|
|
1288
|
+
300: string;
|
|
1289
|
+
400: string;
|
|
1290
|
+
500: string;
|
|
1291
|
+
600: string;
|
|
1292
|
+
700: string;
|
|
1293
|
+
800: string;
|
|
1294
|
+
900: string;
|
|
1295
|
+
5008: string;
|
|
1296
|
+
50012: string;
|
|
1297
|
+
50016: string;
|
|
1298
|
+
50024: string;
|
|
1299
|
+
50032: string;
|
|
1300
|
+
50048: string;
|
|
1301
|
+
50056: string;
|
|
1302
|
+
50080: string;
|
|
1303
|
+
};
|
|
1304
|
+
readonly gradients: {
|
|
1305
|
+
primary: string;
|
|
1306
|
+
info: string;
|
|
1307
|
+
success: string;
|
|
1308
|
+
warning: string;
|
|
1309
|
+
error: string;
|
|
1310
|
+
};
|
|
1311
|
+
readonly chart: {
|
|
1312
|
+
violet: string[];
|
|
1313
|
+
blue: string[];
|
|
1314
|
+
green: string[];
|
|
1315
|
+
yellow: string[];
|
|
1316
|
+
red: string[];
|
|
1317
|
+
};
|
|
1318
|
+
readonly divider: string;
|
|
1319
|
+
};
|
|
1320
|
+
readonly dark: {
|
|
1321
|
+
readonly mode: "dark";
|
|
1322
|
+
readonly text: {
|
|
1323
|
+
readonly primary: "#fff";
|
|
1324
|
+
readonly secondary: string;
|
|
1325
|
+
readonly disabled: string;
|
|
1326
|
+
};
|
|
1327
|
+
readonly background: {
|
|
1328
|
+
readonly paper: string;
|
|
1329
|
+
readonly default: string;
|
|
1330
|
+
readonly neutral: string;
|
|
1331
|
+
};
|
|
1332
|
+
readonly action: {
|
|
1333
|
+
readonly hover: string;
|
|
1334
|
+
readonly selected: string;
|
|
1335
|
+
readonly disabled: string;
|
|
1336
|
+
readonly disabledBackground: string;
|
|
1337
|
+
readonly focus: string;
|
|
1338
|
+
readonly hoverOpacity: number;
|
|
1339
|
+
readonly disabledOpacity: number;
|
|
1340
|
+
readonly active: string;
|
|
1341
|
+
};
|
|
1342
|
+
readonly common: {
|
|
1343
|
+
black: string;
|
|
1344
|
+
white: string;
|
|
1345
|
+
};
|
|
1346
|
+
readonly primary: {
|
|
1347
|
+
contrastText: string;
|
|
1348
|
+
lighter: string;
|
|
1349
|
+
light: string;
|
|
1350
|
+
main: string;
|
|
1351
|
+
dark: string;
|
|
1352
|
+
darker: string;
|
|
1353
|
+
};
|
|
1354
|
+
readonly secondary: {
|
|
1355
|
+
contrastText: string;
|
|
1356
|
+
lighter: string;
|
|
1357
|
+
light: string;
|
|
1358
|
+
main: string;
|
|
1359
|
+
dark: string;
|
|
1360
|
+
darker: string;
|
|
1361
|
+
};
|
|
1362
|
+
readonly info: {
|
|
1363
|
+
contrastText: string;
|
|
1364
|
+
lighter: string;
|
|
1365
|
+
light: string;
|
|
1366
|
+
main: string;
|
|
1367
|
+
dark: string;
|
|
1368
|
+
darker: string;
|
|
1369
|
+
};
|
|
1370
|
+
readonly success: {
|
|
1371
|
+
contrastText: string;
|
|
1372
|
+
lighter: string;
|
|
1373
|
+
light: string;
|
|
1374
|
+
main: string;
|
|
1375
|
+
dark: string;
|
|
1376
|
+
darker: string;
|
|
1377
|
+
};
|
|
1378
|
+
readonly warning: {
|
|
1379
|
+
contrastText: string;
|
|
1380
|
+
lighter: string;
|
|
1381
|
+
light: string;
|
|
1382
|
+
main: string;
|
|
1383
|
+
dark: string;
|
|
1384
|
+
darker: string;
|
|
1385
|
+
};
|
|
1386
|
+
readonly error: {
|
|
1387
|
+
contrastText: string;
|
|
1388
|
+
lighter: string;
|
|
1389
|
+
light: string;
|
|
1390
|
+
main: string;
|
|
1391
|
+
dark: string;
|
|
1392
|
+
darker: string;
|
|
1393
|
+
};
|
|
1394
|
+
readonly grey: {
|
|
1395
|
+
0: string;
|
|
1396
|
+
100: string;
|
|
1397
|
+
200: string;
|
|
1398
|
+
300: string;
|
|
1399
|
+
400: string;
|
|
1400
|
+
500: string;
|
|
1401
|
+
600: string;
|
|
1402
|
+
700: string;
|
|
1403
|
+
800: string;
|
|
1404
|
+
900: string;
|
|
1405
|
+
5008: string;
|
|
1406
|
+
50012: string;
|
|
1407
|
+
50016: string;
|
|
1408
|
+
50024: string;
|
|
1409
|
+
50032: string;
|
|
1410
|
+
50048: string;
|
|
1411
|
+
50056: string;
|
|
1412
|
+
50080: string;
|
|
1413
|
+
};
|
|
1414
|
+
readonly gradients: {
|
|
1415
|
+
primary: string;
|
|
1416
|
+
info: string;
|
|
1417
|
+
success: string;
|
|
1418
|
+
warning: string;
|
|
1419
|
+
error: string;
|
|
1420
|
+
};
|
|
1421
|
+
readonly chart: {
|
|
1422
|
+
violet: string[];
|
|
1423
|
+
blue: string[];
|
|
1424
|
+
green: string[];
|
|
1425
|
+
yellow: string[];
|
|
1426
|
+
red: string[];
|
|
1427
|
+
};
|
|
1428
|
+
readonly divider: string;
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
export { ActionDialog, ActionDialogProps, ActionNames, ActionTypes$1 as ActionTypes, ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, AuthProvider as AuthContextProvider, AuthReducer, CollapseDrawerContext, CollapseDrawerContextProps, CollapseDrawerProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, FieldTypes, FileTypes, FormProvider, HandlerStrategy, IAction, IActionMin, IActionsProps, IDialogProps, IExtarAction, IExtras, IFilter, IListProps, IListRecordsProps, IMainProperty, IOptionalResource, IParent, IProperty, IResource as IResouce, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, Page404 as Identity404, IdentityClient, DumpServiceAction as IdentityDumpServiceAction, CreateEdit as IdentityEdit, DataGridd as IdentityGrid, ListRecords as IdentityList, LoadingScreen as IdentityLoadingScreen, IdentityPage, IdentityPageProps, palette as IdentityPalette, Permissions as IdentityPermissionPage, AdminRouter as IdentityRouter, ShowRecord as IdentityShow, ShowMailLog as IdentityShowMailLog, ImageOptimizingCategories, MotionLazyContainer, NextPreviousButtons, NotificationContext, NotificationsPopover as NotificationPopover, NotificationsContextConfig, NotificationsContextProvider, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, PermissionDefaultKeys, RHFCheckbox, RHFCreatableSelect, RHFDatePicker, RHFEditor, RHFGooglePlaces, RHFGroupedTextFields, RHFLazySelect, RHFMultiCheckbox, RHFRadioGroup, RHFSelect, RHFTagsField, RHFTextField, RHFUploadAvatar, RHFUploadFileButton, RHFUploadFileButton2, RHFUploadImage, RHFUploadMultiFile, RHFUploadSingleFile, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, Severity, IdentityShow as ShowRecord, SizeType, SnackAlertContext, SnackAlertProvider, State$1 as State, SvgIconStyle, ThemeProvider, UniqueFieldHelper, UploadRsult, checkPermission, fCurrency, fData, fNumber, fPercent, fShortenNumber, getFilterValues, getUrlFilters, orderTypes, path, useApi, useAppConfigurations, useAuth, useCredentials, useDialogs, useNavData, useNotifications, usePaths, useResources, useSnackAlert };
|