identity-admin-ui 1.11.47 → 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/dataGrid/ExpandableCell.d.ts +3 -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/helpers/textUtils.d.ts +1 -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/dataGrid/ExpandableCell.d.ts +3 -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/helpers/textUtils.d.ts +1 -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,56 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ColorVariants = {
|
|
3
|
+
name: string;
|
|
4
|
+
lighter: string;
|
|
5
|
+
light: string;
|
|
6
|
+
main: string;
|
|
7
|
+
dark: string;
|
|
8
|
+
darker: string;
|
|
9
|
+
contrastText: string;
|
|
10
|
+
};
|
|
11
|
+
export type ThemeMode = 'light' | 'dark';
|
|
12
|
+
export type ThemeDirection = 'rtl' | 'ltr';
|
|
13
|
+
export type ThemeContrast = 'default' | 'bold';
|
|
14
|
+
export type ThemeLayout = 'vertical' | 'horizontal';
|
|
15
|
+
export type ThemeColorPresets = 'default' | 'purple' | 'cyan' | 'blue' | 'orange' | 'red';
|
|
16
|
+
export type ThemeStretch = boolean;
|
|
17
|
+
export type SettingsValueProps = {
|
|
18
|
+
themeMode: ThemeMode;
|
|
19
|
+
themeLayout: ThemeLayout;
|
|
20
|
+
themeStretch: ThemeStretch;
|
|
21
|
+
themeContrast: ThemeContrast;
|
|
22
|
+
themeDirection: ThemeDirection;
|
|
23
|
+
themeColorPresets: ThemeColorPresets;
|
|
24
|
+
};
|
|
25
|
+
export type SettingsContextProps = {
|
|
26
|
+
themeMode: ThemeMode;
|
|
27
|
+
themeLayout: ThemeLayout;
|
|
28
|
+
themeContrast: ThemeContrast;
|
|
29
|
+
themeDirection: ThemeDirection;
|
|
30
|
+
themeColorPresets: ThemeColorPresets;
|
|
31
|
+
themeStretch: boolean;
|
|
32
|
+
setColor: ColorVariants;
|
|
33
|
+
colorOption: {
|
|
34
|
+
name: string;
|
|
35
|
+
value: string;
|
|
36
|
+
}[];
|
|
37
|
+
presetsColor?: ColorVariants;
|
|
38
|
+
presetsOption: {
|
|
39
|
+
name: string;
|
|
40
|
+
value: string;
|
|
41
|
+
}[];
|
|
42
|
+
onToggleMode: VoidFunction;
|
|
43
|
+
onChangeMode: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
44
|
+
onToggleDirection: VoidFunction;
|
|
45
|
+
onChangeDirection: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
46
|
+
onChangeDirectionByLang: (lang: string) => void;
|
|
47
|
+
onToggleLayout: VoidFunction;
|
|
48
|
+
onChangeLayout: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
49
|
+
onToggleContrast: VoidFunction;
|
|
50
|
+
onChangeContrast: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
51
|
+
onChangeColor: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
52
|
+
onChangeColorPresets: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
53
|
+
onToggleStretch: VoidFunction;
|
|
54
|
+
onResetSetting: VoidFunction;
|
|
55
|
+
};
|
|
56
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { UploadProps } from './type';
|
|
2
|
-
export default function UploadSingleFile({ error, file, helperText, sx, ...other }: UploadProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default function UploadSingleFile({ error, file, helperText, sx, Content, ...other }: UploadProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,3 +5,4 @@ export { default as MultiFilePreview } from './MultiFilePreview';
|
|
|
5
5
|
export { default as UploadAvatar } from './UploadAvatar';
|
|
6
6
|
export { default as UploadMultiFile } from './UploadMultiFile';
|
|
7
7
|
export { default as UploadSingleFile } from './UploadSingleFile';
|
|
8
|
+
export { default as UploadImage } from './UploadImage';
|
|
@@ -16,6 +16,8 @@ export interface UploadProps extends DropzoneOptions {
|
|
|
16
16
|
helperText?: ReactNode;
|
|
17
17
|
label?: string;
|
|
18
18
|
sx?: SxProps<Theme>;
|
|
19
|
+
Content?: ReactNode;
|
|
20
|
+
size?: string;
|
|
19
21
|
}
|
|
20
22
|
export interface UploadMultiFileProps extends DropzoneOptions {
|
|
21
23
|
files: (File | string)[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { SizeType } from '../helpers/Types';
|
|
3
|
+
import { PaletteOptions } from '@mui/material';
|
|
3
4
|
type AppConfigurations = {
|
|
5
|
+
children?: ReactNode;
|
|
4
6
|
textFieldSize: SizeType;
|
|
5
7
|
themeLayout?: 'vertical' | 'horizontal' | 'mini';
|
|
6
8
|
defaultRowsPerPage: number;
|
|
@@ -9,7 +11,11 @@ type AppConfigurations = {
|
|
|
9
11
|
loadingLoago?: string;
|
|
10
12
|
navBarLogo?: string;
|
|
11
13
|
miniNavBarLogo?: string;
|
|
14
|
+
loginWeclomeImage?: string;
|
|
15
|
+
loginLogo?: string;
|
|
16
|
+
loginLoginMessage?: string;
|
|
17
|
+
palette?: PaletteOptions;
|
|
12
18
|
};
|
|
13
19
|
declare const AppConfigurationsContext: import("react").Context<AppConfigurations>;
|
|
14
|
-
declare const AppConfigurationsContextProvider: (props:
|
|
20
|
+
declare const AppConfigurationsContextProvider: (props: AppConfigurations) => import("react/jsx-runtime").JSX.Element;
|
|
15
21
|
export { AppConfigurationsContext, AppConfigurationsContextProvider };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type CollapseDrawerContextProps = {
|
|
3
|
+
isCollapse?: boolean;
|
|
4
|
+
collapseClick: boolean;
|
|
5
|
+
collapseHover: boolean;
|
|
6
|
+
onToggleCollapse: VoidFunction;
|
|
7
|
+
onHoverEnter: VoidFunction;
|
|
8
|
+
onHoverLeave: VoidFunction;
|
|
9
|
+
};
|
|
10
|
+
declare const CollapseDrawerContext: import("react").Context<CollapseDrawerContextProps>;
|
|
11
|
+
type CollapseDrawerProviderProps = {
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
};
|
|
14
|
+
declare function CollapseDrawerProvider({ children }: CollapseDrawerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export { CollapseDrawerProvider, CollapseDrawerContext };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SettingsContextProps } from '../components/settings/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,14 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { User } from './types';
|
|
3
|
+
interface Props {
|
|
4
|
+
storageKey: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const AuthContext: React.Context<{
|
|
8
|
+
user: User | null;
|
|
9
|
+
isAuthenticated: boolean;
|
|
10
|
+
login: (user: User) => void;
|
|
11
|
+
logout: () => void;
|
|
12
|
+
}>;
|
|
13
|
+
declare const AuthProvider: React.FC<Props>;
|
|
14
|
+
export default AuthProvider;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Reducer } from 'react';
|
|
2
|
+
import { User } from './types';
|
|
3
|
+
export declare enum ActionTypes {
|
|
4
|
+
LOGIN = "LOGIN",
|
|
5
|
+
LOGOUT = "LOGOUT"
|
|
6
|
+
}
|
|
7
|
+
export interface State {
|
|
8
|
+
user: User | null;
|
|
9
|
+
isAuthenticated: boolean;
|
|
10
|
+
}
|
|
11
|
+
export type Action = {
|
|
12
|
+
type: ActionTypes.LOGIN;
|
|
13
|
+
payload: User;
|
|
14
|
+
} | {
|
|
15
|
+
type: ActionTypes.LOGOUT;
|
|
16
|
+
};
|
|
17
|
+
declare const AuthReducer: Reducer<State, Action>;
|
|
18
|
+
export default AuthReducer;
|
|
@@ -7,3 +7,6 @@ export * from './CredentialsContext';
|
|
|
7
7
|
export * from './SnackAlertContext';
|
|
8
8
|
export * from './DialogContext';
|
|
9
9
|
export * from './NotificationsContext';
|
|
10
|
+
export * from './auth';
|
|
11
|
+
export * from './CollapseDrawerContext';
|
|
12
|
+
export { default as IResouce } from './Resource';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isLongUnbreakableText: (value: any) => boolean;
|
|
@@ -2,21 +2,28 @@ export declare enum RequestState {
|
|
|
2
2
|
IDLE = "idle",
|
|
3
3
|
LOADING = "loading",
|
|
4
4
|
SUCCEEDED = "succeeded",
|
|
5
|
-
FAILED = "failed"
|
|
5
|
+
FAILED = "failed",
|
|
6
|
+
UPLOADED = "uploaded"
|
|
6
7
|
}
|
|
8
|
+
export type UploadRsult = {
|
|
9
|
+
[key: string]: string | string[];
|
|
10
|
+
};
|
|
7
11
|
export interface IState<T> {
|
|
8
12
|
data: T | undefined;
|
|
9
13
|
state: RequestState;
|
|
10
14
|
error?: any | null;
|
|
15
|
+
uploadResult?: UploadRsult;
|
|
11
16
|
}
|
|
12
17
|
export declare class State<T> {
|
|
13
18
|
data: T | undefined;
|
|
14
19
|
state: RequestState;
|
|
15
20
|
error?: any;
|
|
21
|
+
uploadResult?: UploadRsult | undefined;
|
|
16
22
|
private constructor();
|
|
17
23
|
static idle<T>(data?: T): IState<T>;
|
|
18
24
|
static loading<T>(data?: T): IState<T>;
|
|
19
25
|
static succeeded<T>(data: T): IState<T>;
|
|
20
26
|
static error<T>(error: any, data?: T): IState<T>;
|
|
27
|
+
static uploaded<T>(currentState: State<T>, uploadResult: UploadRsult): IState<T>;
|
|
21
28
|
}
|
|
22
29
|
export default RequestState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IState } from './RequetState';
|
|
2
2
|
import { AxiosRequestConfig } from 'axios';
|
|
3
3
|
export interface RequestConfig {
|
|
4
|
-
url
|
|
4
|
+
url?: string;
|
|
5
5
|
body?: any;
|
|
6
6
|
axiosRequestConfig?: AxiosRequestConfig;
|
|
7
7
|
query?: any;
|
|
@@ -17,5 +17,6 @@ declare function useApi<T>(initialValue?: IState<any>): {
|
|
|
17
17
|
remove: (requstConfig: RequestConfig) => void;
|
|
18
18
|
revertToIdle: () => void;
|
|
19
19
|
revertToInitialState: () => void;
|
|
20
|
+
uploadToS3: (requstConfig: RequestConfig) => void;
|
|
20
21
|
};
|
|
21
22
|
export { useApi };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const useAppConfigurations: () => {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
3
4
|
textFieldSize: import("..").SizeType;
|
|
4
5
|
themeLayout?: "horizontal" | "vertical" | "mini" | undefined;
|
|
5
6
|
defaultRowsPerPage: number;
|
|
@@ -8,4 +9,8 @@ export declare const useAppConfigurations: () => {
|
|
|
8
9
|
loadingLoago?: string | undefined;
|
|
9
10
|
navBarLogo?: string | undefined;
|
|
10
11
|
miniNavBarLogo?: string | undefined;
|
|
12
|
+
loginWeclomeImage?: string | undefined;
|
|
13
|
+
loginLogo?: string | undefined;
|
|
14
|
+
loginLoginMessage?: string | undefined;
|
|
15
|
+
palette?: import("@mui/material").PaletteOptions | undefined;
|
|
11
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useLocalStorage<ValueType>(key: string, defaultValue: ValueType): any[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default function useLocales(): {
|
|
2
|
+
onChangeLang: (newlang: string) => void;
|
|
3
|
+
translate: (text: any, options?: any) => string;
|
|
4
|
+
currentLang: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: import("../helpers/Localization/LocalesEnums").Languages;
|
|
7
|
+
systemValue: import("@mui/material/locale").Localization;
|
|
8
|
+
icon: import("../helpers/Contsants").Flags;
|
|
9
|
+
};
|
|
10
|
+
allLangs: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: import("../helpers/Localization/LocalesEnums").Languages;
|
|
13
|
+
systemValue: import("@mui/material/locale").Localization;
|
|
14
|
+
icon: import("../helpers/Contsants").Flags;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
package/lib/cjs/types/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './pages';
|
|
|
2
2
|
export * from './hooks';
|
|
3
3
|
export * from './context';
|
|
4
4
|
export * from './ApiClient';
|
|
5
|
-
export * from './layout/dashboard';
|
|
6
5
|
export * from './theme';
|
|
7
6
|
export { default as ThemeProvider } from './theme';
|
|
8
7
|
export * from './routes';
|
|
@@ -11,3 +10,8 @@ export * from './components';
|
|
|
11
10
|
export * from './sections/dashboard';
|
|
12
11
|
export * from './actions';
|
|
13
12
|
export * from './helpers';
|
|
13
|
+
export { default as DashboardLayout } from './layouts/dashboard';
|
|
14
|
+
export * from './permissions';
|
|
15
|
+
export * from './components/hook-form';
|
|
16
|
+
export * from './utils';
|
|
17
|
+
export { default as IdentityPalette } from './theme/palette';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function useNavData(): {
|
|
2
|
-
subheader: string;
|
|
3
|
-
items: any;
|
|
4
|
-
}[];
|
|
1
|
+
export declare function useNavData(): {
|
|
2
|
+
subheader: string;
|
|
3
|
+
items: any;
|
|
4
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function LogoOnlyLayout(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Languages } from '../helpers/Localization/LocalesEnums';
|
|
2
|
+
import { Flags } from '../helpers/Contsants';
|
|
3
|
+
import { SettingsValueProps } from '../components/settings/type';
|
|
4
|
+
export declare const HEADER: {
|
|
5
|
+
MOBILE_HEIGHT: number;
|
|
6
|
+
MAIN_DESKTOP_HEIGHT: number;
|
|
7
|
+
DASHBOARD_DESKTOP_HEIGHT: number;
|
|
8
|
+
DASHBOARD_DESKTOP_OFFSET_HEIGHT: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const NAVBAR: {
|
|
11
|
+
BASE_WIDTH: number;
|
|
12
|
+
DASHBOARD_WIDTH: number;
|
|
13
|
+
DASHBOARD_COLLAPSE_WIDTH: number;
|
|
14
|
+
DASHBOARD_ITEM_ROOT_HEIGHT: number;
|
|
15
|
+
DASHBOARD_ITEM_SUB_HEIGHT: number;
|
|
16
|
+
DASHBOARD_ITEM_HORIZONTAL_HEIGHT: number;
|
|
17
|
+
};
|
|
18
|
+
export declare const ICON: {
|
|
19
|
+
NAVBAR_ITEM: number;
|
|
20
|
+
NAVBAR_ITEM_HORIZONTAL: number;
|
|
21
|
+
};
|
|
22
|
+
export declare const defaultSettings: SettingsValueProps;
|
|
23
|
+
export declare const allLangs: {
|
|
24
|
+
label: string;
|
|
25
|
+
value: Languages;
|
|
26
|
+
systemValue: import("@mui/material/locale").Localization;
|
|
27
|
+
icon: Flags;
|
|
28
|
+
}[];
|
|
29
|
+
export declare const defaultLang: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: Languages;
|
|
32
|
+
systemValue: import("@mui/material/locale").Localization;
|
|
33
|
+
icon: Flags;
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function AccountPopover(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function LanguagePopover(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IDashboardNotifications {
|
|
2
|
+
id: string;
|
|
3
|
+
text: string;
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
clickable: boolean;
|
|
6
|
+
redirectUrl?: string;
|
|
7
|
+
redirectUrlType: any;
|
|
8
|
+
isRead: boolean;
|
|
9
|
+
priority: any;
|
|
10
|
+
type?: string;
|
|
11
|
+
data?: string;
|
|
12
|
+
}
|
|
13
|
+
export default function NotificationsPopover(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function DashboardLayout(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const getIconByName: (name: string) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
type Props = {
|
|
3
|
+
isOpenSidebar: boolean;
|
|
4
|
+
onCloseSidebar: VoidFunction;
|
|
5
|
+
};
|
|
6
|
+
export declare var navConfig: any;
|
|
7
|
+
export default function NavbarVertical({ isOpenSidebar, onCloseSidebar }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Page404(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function LoginForm(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,3 +6,5 @@ export { default as IdentityEdit } from './IdentityEditPage';
|
|
|
6
6
|
export { default as IdenityModelConfiguration } from './IdentityModelConfigurationPage';
|
|
7
7
|
export { default as IdentityPermissionPage } from './permissions';
|
|
8
8
|
export { default as IdentityShowMailLog } from './maillog/ShowMailLog';
|
|
9
|
+
export { default as IdentityLoadingScreen } from './LoadingScreen';
|
|
10
|
+
export { default as Identity404 } from './Page404';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SizeType } from '../helpers/Types';
|
|
2
|
-
export declare var SIZE: SizeType;
|
|
3
|
-
export default function AdminRouter(): {
|
|
4
|
-
path: any;
|
|
5
|
-
children: {
|
|
6
|
-
path: string;
|
|
7
|
-
element: import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
children: any[];
|
|
9
|
-
}[];
|
|
10
|
-
};
|
|
1
|
+
import { SizeType } from '../helpers/Types';
|
|
2
|
+
export declare var SIZE: SizeType;
|
|
3
|
+
export default function AdminRouter(): {
|
|
4
|
+
path: any;
|
|
5
|
+
children: {
|
|
6
|
+
path: string;
|
|
7
|
+
element: import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
children: any[];
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { ResourcePaths } from '../context';
|
|
3
|
+
type Props = {
|
|
4
|
+
pathsObject: {
|
|
5
|
+
[key: string]: ResourcePaths;
|
|
6
|
+
};
|
|
7
|
+
HomePage: () => JSX.Element;
|
|
8
|
+
customs: ReactElement[];
|
|
9
|
+
};
|
|
1
10
|
export type sizeType = 'small' | 'medium' | undefined;
|
|
2
11
|
export declare var SIZE: sizeType;
|
|
3
|
-
export default function
|
|
4
|
-
|
|
5
|
-
children: {
|
|
6
|
-
path: string;
|
|
7
|
-
element: import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
children: any[];
|
|
9
|
-
}[];
|
|
10
|
-
};
|
|
12
|
+
export default function AdminRouter({ pathsObject, HomePage, customs }: Props): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare function path(root: string, sublink: string): string;
|
|
2
|
-
export declare const ADMIN_ROOT = "/admin";
|
|
3
|
-
export declare var ADMIN_PATH: {
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
};
|
|
1
|
+
export declare function path(root: string, sublink: string): string;
|
|
2
|
+
export declare const ADMIN_ROOT = "/admin";
|
|
3
|
+
export declare var ADMIN_PATH: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
themeContrast?: 'default' | 'bold';
|
|
8
|
-
themeColorPresets?: 'default' | 'cyan' | 'purple' | 'blue' | 'orange' | 'red';
|
|
9
|
-
customColorPresets?: PresetsColor;
|
|
10
|
-
}
|
|
11
|
-
export interface ThemeProps extends SettingsValueProps {
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export default function ThemeProvider({ children, themeColorPresets, themeContrast, themeDirection, themeMode, customColorPresets }: ThemeProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
};
|
|
5
|
+
export default function ThemeProvider({ children }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
export default function Accordion(theme: Theme): {
|
|
3
|
+
MuiAccordion: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: {
|
|
6
|
+
'&.Mui-expanded': {
|
|
7
|
+
boxShadow: string;
|
|
8
|
+
borderRadius: number;
|
|
9
|
+
};
|
|
10
|
+
'&.Mui-disabled': {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
MuiAccordionSummary: {
|
|
17
|
+
styleOverrides: {
|
|
18
|
+
root: {
|
|
19
|
+
paddingLeft: string;
|
|
20
|
+
paddingRight: string;
|
|
21
|
+
'&.Mui-disabled': {
|
|
22
|
+
opacity: number;
|
|
23
|
+
color: string;
|
|
24
|
+
'& .MuiTypography-root': {
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
expandIconWrapper: {
|
|
30
|
+
color: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|