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
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LazyLoadImageProps } from 'react-lazy-load-image-component';
|
|
2
|
+
import { Theme } from '@mui/material/styles';
|
|
3
|
+
import { BoxProps, SxProps } from '@mui/material';
|
|
4
|
+
export type ImageRato = '4/3' | '3/4' | '6/4' | '4/6' | '16/9' | '9/16' | '21/9' | '9/21' | '1/1';
|
|
5
|
+
type IProps = BoxProps & LazyLoadImageProps;
|
|
6
|
+
interface Props extends IProps {
|
|
7
|
+
sx?: SxProps<Theme>;
|
|
8
|
+
ratio?: ImageRato;
|
|
9
|
+
disabledEffect?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export default function Image({ ratio, disabledEffect, effect, sx, ...other }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { TextFieldProps } from '@mui/material';
|
|
2
|
+
import { DatePickerProps } from '@mui/lab';
|
|
2
3
|
type IProps = {
|
|
3
4
|
name: string;
|
|
4
5
|
minDate?: Date;
|
|
5
6
|
maxDate?: Date;
|
|
6
7
|
};
|
|
7
|
-
type Props = IProps & TextFieldProps
|
|
8
|
+
type Props = IProps & TextFieldProps & Partial<DatePickerProps<Date>>;
|
|
8
9
|
export default function RHFDatePicker({ name, minDate, maxDate, ...others }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Control, type FieldValues } from 'react-hook-form';
|
|
2
|
+
import { type TextFieldProps } from '@mui/material';
|
|
3
|
+
type IProps = {
|
|
4
|
+
name: string;
|
|
5
|
+
options?: string[];
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
onOptionChange?: (value: string) => void;
|
|
9
|
+
onOpenChanged?: (isOpend: boolean) => void;
|
|
10
|
+
onInputChange?: (value: string) => void;
|
|
11
|
+
control?: Control<FieldValues, any>;
|
|
12
|
+
isList?: boolean;
|
|
13
|
+
};
|
|
14
|
+
type Props = IProps & TextFieldProps;
|
|
15
|
+
export interface Option {
|
|
16
|
+
_id: string;
|
|
17
|
+
title?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
}
|
|
20
|
+
export default function RHFTagsField({ name, multiple, size, isList, ...other }: Props): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export {};
|
|
@@ -1,12 +1,25 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
1
2
|
import { UploadProps, UploadMultiFileProps } from '../upload';
|
|
2
3
|
interface Props extends Omit<UploadProps, 'file'> {
|
|
3
4
|
name: string;
|
|
4
|
-
|
|
5
|
+
contentText?: string;
|
|
5
6
|
}
|
|
6
7
|
export declare function RHFUploadAvatar({ name, ...other }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare function
|
|
8
|
+
export declare function RHFUploadImage({ name, ...other }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function RHFUploadSingleFile({ name, contentText, ...other }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
interface RHFUploadMultiFileProps extends Omit<UploadMultiFileProps, 'files'> {
|
|
9
11
|
name: string;
|
|
10
12
|
}
|
|
11
13
|
export declare function RHFUploadMultiFile({ name, ...other }: RHFUploadMultiFileProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
interface RHFUploadFileButtonProps2 extends Omit<UploadMultiFileProps, 'files'> {
|
|
15
|
+
name: string;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function RHFUploadFileButton2({ name, helperText, loading, ...other }: RHFUploadFileButtonProps2): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
interface RHFUploadFileButtonProps extends Omit<UploadMultiFileProps, 'files'> {
|
|
20
|
+
name: string;
|
|
21
|
+
buttonSx: SxProps;
|
|
22
|
+
loading?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare function RHFUploadFileButton({ name, buttonSx, loading, ...other }: RHFUploadFileButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
12
25
|
export {};
|
|
@@ -10,3 +10,5 @@ export { default as RHFGooglePlaces } from './RHFGooglePlaces';
|
|
|
10
10
|
export { default as RHFCreatableSelect } from './RHFCreatableSelect';
|
|
11
11
|
export { default as RHFRadioGroup } from './RHFRadioGroup';
|
|
12
12
|
export { default as RHFGroupedTextFields } from './RHFGroupedTextFields';
|
|
13
|
+
export { default as RHFTagsField } from './RHFTagsField';
|
|
14
|
+
export * from './RHFUpload';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { default as IdentityGrid } from './dataGrid/DataGridd';
|
|
2
2
|
export { default as NotificationPopover } from './Notifications/NotificationsPopover';
|
|
3
|
+
export { default as MotionLazyContainer } from './MotionLazyContainer';
|
|
4
|
+
export { default as SvgIconStyle } from './SvgIconStyle';
|
|
3
5
|
export * from './Dialog/ActionDialog';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { NavItemProps } from '../type';
|
|
3
|
+
export declare const NavItemRoot: import("react").ForwardRefExoticComponent<NavItemProps & import("react").RefAttributes<HTMLButtonElement & HTMLAnchorElement>>;
|
|
4
|
+
export declare const NavItemSub: import("react").ForwardRefExoticComponent<NavItemProps & import("react").RefAttributes<HTMLButtonElement & HTMLAnchorElement>>;
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { NavSectionProps } from '../type';
|
|
3
|
+
declare function NavSectionHorizontal({ navConfig }: NavSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const _default: import("react").MemoExoticComponent<typeof NavSectionHorizontal>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps, LinkProps } from '@mui/material';
|
|
3
|
+
type IProps = LinkProps & ButtonProps & any;
|
|
4
|
+
export interface ListItemStyleProps extends IProps {
|
|
5
|
+
component?: ReactNode;
|
|
6
|
+
to?: string;
|
|
7
|
+
activeRoot?: boolean;
|
|
8
|
+
activeSub?: boolean;
|
|
9
|
+
subItem?: boolean;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
roles?: string[];
|
|
12
|
+
}
|
|
13
|
+
export declare const ListItemStyle: import("@emotion/styled").StyledComponent<{
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
16
|
+
color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
18
|
+
disableElevation?: boolean | undefined;
|
|
19
|
+
disableFocusRipple?: boolean | undefined;
|
|
20
|
+
endIcon?: ReactNode;
|
|
21
|
+
fullWidth?: boolean | undefined;
|
|
22
|
+
href?: string | undefined;
|
|
23
|
+
size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
|
|
24
|
+
startIcon?: ReactNode;
|
|
25
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
26
|
+
variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
|
|
27
|
+
} & Omit<{
|
|
28
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
29
|
+
centerRipple?: boolean | undefined;
|
|
30
|
+
children?: ReactNode;
|
|
31
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
32
|
+
disabled?: boolean | undefined;
|
|
33
|
+
disableRipple?: boolean | undefined;
|
|
34
|
+
disableTouchRipple?: boolean | undefined;
|
|
35
|
+
focusRipple?: boolean | undefined;
|
|
36
|
+
focusVisibleClassName?: string | undefined;
|
|
37
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
38
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
39
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
40
|
+
tabIndex?: number | undefined;
|
|
41
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
42
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
43
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
44
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
45
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "children" | "sx" | "tabIndex" | "href" | "disabled" | "action" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ListItemStyleProps, {}, {}>;
|
|
46
|
+
export declare const PaperStyle: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { BoxProps } from '@mui/material';
|
|
3
|
+
export type NavListProps = {
|
|
4
|
+
title: string;
|
|
5
|
+
path: string;
|
|
6
|
+
icon?: ReactElement;
|
|
7
|
+
info?: ReactElement;
|
|
8
|
+
caption?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
roles?: string[];
|
|
11
|
+
children?: {
|
|
12
|
+
title: string;
|
|
13
|
+
path: string;
|
|
14
|
+
children?: {
|
|
15
|
+
title: string;
|
|
16
|
+
path: string;
|
|
17
|
+
}[];
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
export type NavItemProps = {
|
|
21
|
+
item: NavListProps;
|
|
22
|
+
isCollapse?: boolean;
|
|
23
|
+
active?: boolean | undefined;
|
|
24
|
+
open?: boolean;
|
|
25
|
+
onOpen?: VoidFunction;
|
|
26
|
+
onMouseEnter?: VoidFunction;
|
|
27
|
+
onMouseLeave?: VoidFunction;
|
|
28
|
+
};
|
|
29
|
+
export interface NavSectionProps extends BoxProps {
|
|
30
|
+
isCollapse?: boolean;
|
|
31
|
+
navConfig: {
|
|
32
|
+
subheader: string;
|
|
33
|
+
items: NavListProps[];
|
|
34
|
+
}[];
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NavItemProps } from '../type';
|
|
2
|
+
export declare function NavItemRoot({ item, isCollapse, open, active, onOpen }: NavItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
type NavItemSubProps = Omit<NavItemProps, 'isCollapse'>;
|
|
4
|
+
export declare function NavItemSub({ item, open, active, onOpen }: NavItemSubProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
type DotIconProps = {
|
|
6
|
+
active: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare function DotIcon({ active }: DotIconProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
type ArrowIconProps = {
|
|
10
|
+
open: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare function ArrowIcon({ open }: ArrowIconProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { NavSectionProps } from '../type';
|
|
3
|
+
export declare const ListSubheaderStyle: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
classes?: Partial<import("@mui/material").ListSubheaderClasses> | undefined;
|
|
6
|
+
color?: "inherit" | "default" | "primary" | undefined;
|
|
7
|
+
disableGutters?: boolean | undefined;
|
|
8
|
+
disableSticky?: boolean | undefined;
|
|
9
|
+
inset?: boolean | undefined;
|
|
10
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
13
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "inset" | "children" | "sx" | "disableGutters" | "disableSticky"> & {
|
|
14
|
+
component?: import("react").ElementType<any> | undefined;
|
|
15
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
16
|
+
export default function NavSectionVertical({ navConfig, isCollapse, ...other }: NavSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { LinkProps, ListItemButtonProps } from '@mui/material';
|
|
3
|
+
type IProps = LinkProps & ListItemButtonProps & any;
|
|
4
|
+
export interface ListItemStyleProps extends IProps {
|
|
5
|
+
component?: ReactNode;
|
|
6
|
+
to?: string;
|
|
7
|
+
activeRoot?: boolean;
|
|
8
|
+
activeSub?: boolean;
|
|
9
|
+
subItem?: boolean;
|
|
10
|
+
roles?: string[];
|
|
11
|
+
}
|
|
12
|
+
export declare const ListItemStyle: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
13
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
14
|
+
centerRipple?: boolean | undefined;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
18
|
+
disableRipple?: boolean | undefined;
|
|
19
|
+
disableTouchRipple?: boolean | undefined;
|
|
20
|
+
focusRipple?: boolean | undefined;
|
|
21
|
+
focusVisibleClassName?: string | undefined;
|
|
22
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
23
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
24
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
25
|
+
tabIndex?: number | undefined;
|
|
26
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
27
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
28
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
30
|
+
}, "className" | "style" | "classes" | "alignItems" | "children" | "sx" | "autoFocus" | "tabIndex" | "dense" | "disabled" | "action" | "selected" | "disableGutters" | "divider" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ListItemStyleProps, {}, {}>;
|
|
31
|
+
interface ListItemTextStyleProps extends ListItemButtonProps {
|
|
32
|
+
isCollapse?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare const ListItemTextStyle: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemTextProps<import("react").ElementType<any>, import("react").ElementType<any>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ListItemTextStyleProps, {}, {}>;
|
|
35
|
+
export declare const ListItemIconStyle: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SettingsContextProps } from './type';
|
|
3
|
+
declare const SettingsContext: import("react").Context<SettingsContextProps>;
|
|
4
|
+
type SettingsProviderProps = {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare function SettingsProvider({ children }: SettingsProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { SettingsProvider, SettingsContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SettingColorPresets(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SettingContrast(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SettingDirection(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SettingFullscreen(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SettingLayout(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SettingMode(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SettingStretch(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SettingsDrawer(): import("react/jsx-runtime").JSX.Element;
|