identity-admin-ui 1.12.18 → 1.12.19
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.js +13 -13
- package/lib/cjs/types/components/index.d.ts +1 -0
- package/lib/cjs/types/context/AppConfigurationsContext.d.ts +7 -1
- package/lib/cjs/types/hooks/useAppConfigurations.d.ts +6 -0
- package/lib/cjs/types/utils/i18n.d.ts +2 -0
- package/lib/cjs/types/utils/index.d.ts +1 -0
- package/lib/esm/index.js +13 -13
- package/lib/esm/types/components/index.d.ts +1 -0
- package/lib/esm/types/context/AppConfigurationsContext.d.ts +7 -1
- package/lib/esm/types/hooks/useAppConfigurations.d.ts +6 -0
- package/lib/esm/types/utils/i18n.d.ts +2 -0
- package/lib/esm/types/utils/index.d.ts +1 -0
- package/lib/index.d.ts +32 -14
- package/package.json +4 -1
|
@@ -2,4 +2,5 @@ export { default as IdentityGrid } from './dataGrid/DataGridd';
|
|
|
2
2
|
export { default as NotificationPopover } from './Notifications/NotificationsPopover';
|
|
3
3
|
export { default as MotionLazyContainer } from './MotionLazyContainer';
|
|
4
4
|
export { default as SvgIconStyle } from './SvgIconStyle';
|
|
5
|
+
export { default as ThemeSettings } from './settings/index';
|
|
5
6
|
export * from './Dialog/ActionDialog';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { SizeType } from '../helpers/Types';
|
|
3
|
-
import { PaletteOptions } from '@mui/material';
|
|
3
|
+
import { BoxProps, PaletteOptions, SxProps } from '@mui/material';
|
|
4
4
|
type AppConfigurations = {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
textFieldSize?: SizeType;
|
|
@@ -15,6 +15,12 @@ type AppConfigurations = {
|
|
|
15
15
|
loginLogo?: string;
|
|
16
16
|
loginLoginMessage?: string;
|
|
17
17
|
palette?: PaletteOptions;
|
|
18
|
+
loadingLogoSxProps?: BoxProps;
|
|
19
|
+
loginWelcomeImageSxProps?: SxProps;
|
|
20
|
+
navBarLogoSxProps?: BoxProps;
|
|
21
|
+
miniNavBarLogoSxProps?: SxProps;
|
|
22
|
+
loginLogoSxProps?: SxProps;
|
|
23
|
+
loginMessageSxProps?: SxProps;
|
|
18
24
|
};
|
|
19
25
|
declare const AppConfigurationsContext: import("react").Context<AppConfigurations>;
|
|
20
26
|
declare const AppConfigurationsContextProvider: (props: AppConfigurations) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,4 +13,10 @@ export declare const useAppConfigurations: () => {
|
|
|
13
13
|
loginLogo?: string | undefined;
|
|
14
14
|
loginLoginMessage?: string | undefined;
|
|
15
15
|
palette?: import("@mui/material").PaletteOptions | undefined;
|
|
16
|
+
loadingLogoSxProps?: import("@mui/material").BoxProps | undefined;
|
|
17
|
+
loginWelcomeImageSxProps?: import("@mui/system").SxProps | undefined;
|
|
18
|
+
navBarLogoSxProps?: import("@mui/material").BoxProps | undefined;
|
|
19
|
+
miniNavBarLogoSxProps?: import("@mui/system").SxProps | undefined;
|
|
20
|
+
loginLogoSxProps?: import("@mui/system").SxProps | undefined;
|
|
21
|
+
loginMessageSxProps?: import("@mui/system").SxProps | undefined;
|
|
16
22
|
};
|
package/lib/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as react from 'react';
|
|
|
4
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
6
|
import * as _mui_material from '@mui/material';
|
|
7
|
-
import { SxProps, PaletteOptions, AlertColor as AlertColor$1,
|
|
7
|
+
import { SxProps, PaletteOptions, BoxProps, AlertColor as AlertColor$1, FormControlLabelProps, TextFieldProps, RadioGroupProps } from '@mui/material';
|
|
8
8
|
import * as axios from 'axios';
|
|
9
9
|
import { AxiosRequestConfig } from 'axios';
|
|
10
10
|
import * as _mui_system from '@mui/system';
|
|
@@ -16,6 +16,7 @@ import { UseFormReturn, Control, FieldValues } from 'react-hook-form';
|
|
|
16
16
|
import { ReactQuillProps } from 'react-quill';
|
|
17
17
|
import { DatePickerProps } from '@mui/lab';
|
|
18
18
|
import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
|
|
19
|
+
export { default as i18ninit } from 'i18next';
|
|
19
20
|
|
|
20
21
|
type TLink = {
|
|
21
22
|
href?: string;
|
|
@@ -363,6 +364,12 @@ type AppConfigurations = {
|
|
|
363
364
|
loginLogo?: string;
|
|
364
365
|
loginLoginMessage?: string;
|
|
365
366
|
palette?: PaletteOptions;
|
|
367
|
+
loadingLogoSxProps?: BoxProps;
|
|
368
|
+
loginWelcomeImageSxProps?: SxProps;
|
|
369
|
+
navBarLogoSxProps?: BoxProps;
|
|
370
|
+
miniNavBarLogoSxProps?: SxProps;
|
|
371
|
+
loginLogoSxProps?: SxProps;
|
|
372
|
+
loginMessageSxProps?: SxProps;
|
|
366
373
|
};
|
|
367
374
|
declare const AppConfigurationsContext: react.Context<AppConfigurations>;
|
|
368
375
|
declare const AppConfigurationsContextProvider: (props: AppConfigurations) => react_jsx_runtime.JSX.Element;
|
|
@@ -477,11 +484,11 @@ type Action = {
|
|
|
477
484
|
};
|
|
478
485
|
declare const AuthReducer: Reducer<State, Action>;
|
|
479
486
|
|
|
480
|
-
interface Props$
|
|
487
|
+
interface Props$h {
|
|
481
488
|
storageKey: string;
|
|
482
489
|
children: ReactNode;
|
|
483
490
|
}
|
|
484
|
-
declare const AuthProvider: react__default.FC<Props$
|
|
491
|
+
declare const AuthProvider: react__default.FC<Props$h>;
|
|
485
492
|
|
|
486
493
|
type CollapseDrawerContextProps = {
|
|
487
494
|
isCollapse?: boolean;
|
|
@@ -735,13 +742,13 @@ declare function Permissions({ isEdit }: {
|
|
|
735
742
|
|
|
736
743
|
declare function ShowMailLog(props: any): react_jsx_runtime.JSX.Element;
|
|
737
744
|
|
|
738
|
-
type Props$
|
|
745
|
+
type Props$g = {
|
|
739
746
|
isDashboard?: boolean;
|
|
740
747
|
sx?: SxProps;
|
|
741
748
|
loadingLogo?: string;
|
|
742
749
|
logoSxProps?: SxProps;
|
|
743
750
|
};
|
|
744
|
-
declare function LoadingScreen({ isDashboard, loadingLogo, logoSxProps, ...other }: Props$
|
|
751
|
+
declare function LoadingScreen({ isDashboard, loadingLogo, logoSxProps, ...other }: Props$g): react_jsx_runtime.JSX.Element;
|
|
745
752
|
|
|
746
753
|
declare function Page404(): react_jsx_runtime.JSX.Element;
|
|
747
754
|
|
|
@@ -784,6 +791,12 @@ declare const useAppConfigurations: () => {
|
|
|
784
791
|
loginLogo?: string | undefined;
|
|
785
792
|
loginLoginMessage?: string | undefined;
|
|
786
793
|
palette?: _mui_material.PaletteOptions | undefined;
|
|
794
|
+
loadingLogoSxProps?: _mui_material.BoxProps | undefined;
|
|
795
|
+
loginWelcomeImageSxProps?: _mui_system.SxProps | undefined;
|
|
796
|
+
navBarLogoSxProps?: _mui_material.BoxProps | undefined;
|
|
797
|
+
miniNavBarLogoSxProps?: _mui_system.SxProps | undefined;
|
|
798
|
+
loginLogoSxProps?: _mui_system.SxProps | undefined;
|
|
799
|
+
loginMessageSxProps?: _mui_system.SxProps | undefined;
|
|
787
800
|
};
|
|
788
801
|
|
|
789
802
|
declare const useResources: () => {
|
|
@@ -837,31 +850,36 @@ declare module 'axios' {
|
|
|
837
850
|
}
|
|
838
851
|
}
|
|
839
852
|
|
|
840
|
-
type Props$
|
|
853
|
+
type Props$f = {
|
|
841
854
|
children: ReactNode;
|
|
842
855
|
};
|
|
843
|
-
declare function ThemeProvider({ children }: Props$
|
|
856
|
+
declare function ThemeProvider({ children }: Props$f): react_jsx_runtime.JSX.Element;
|
|
844
857
|
|
|
845
|
-
type Props$
|
|
858
|
+
type Props$e = {
|
|
846
859
|
pathsObject: {
|
|
847
860
|
[key: string]: ResourcePaths;
|
|
848
861
|
};
|
|
849
862
|
HomePage: () => JSX.Element;
|
|
850
863
|
customs: ReactElement[];
|
|
851
864
|
};
|
|
852
|
-
declare function AdminRouter({ pathsObject, HomePage, customs }: Props$
|
|
865
|
+
declare function AdminRouter({ pathsObject, HomePage, customs }: Props$e): react_jsx_runtime.JSX.Element;
|
|
853
866
|
|
|
854
867
|
declare function NotificationsPopover(): react_jsx_runtime.JSX.Element;
|
|
855
868
|
|
|
856
|
-
type Props$
|
|
869
|
+
type Props$d = {
|
|
857
870
|
children: ReactNode;
|
|
858
871
|
};
|
|
859
|
-
declare function MotionLazyContainer({ children }: Props$
|
|
872
|
+
declare function MotionLazyContainer({ children }: Props$d): react_jsx_runtime.JSX.Element;
|
|
860
873
|
|
|
861
|
-
interface Props$
|
|
874
|
+
interface Props$c extends BoxProps {
|
|
862
875
|
src: string;
|
|
863
876
|
}
|
|
864
|
-
declare function SvgIconStyle({ src, sx }: Props$
|
|
877
|
+
declare function SvgIconStyle({ src, sx }: Props$c): react_jsx_runtime.JSX.Element;
|
|
878
|
+
|
|
879
|
+
type Props$b = {
|
|
880
|
+
children: React.ReactNode;
|
|
881
|
+
};
|
|
882
|
+
declare function ThemeSettings({ children }: Props$b): react_jsx_runtime.JSX.Element;
|
|
865
883
|
|
|
866
884
|
interface ActionDialogProps {
|
|
867
885
|
open: boolean;
|
|
@@ -1442,4 +1460,4 @@ declare const palette: {
|
|
|
1442
1460
|
};
|
|
1443
1461
|
};
|
|
1444
1462
|
|
|
1445
|
-
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 };
|
|
1463
|
+
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, ThemeSettings, UniqueFieldHelper, UploadRsult, checkPermission, fCurrency, fData, fNumber, fPercent, fShortenNumber, getFilterValues, getUrlFilters, orderTypes, path, useApi, useAppConfigurations, useAuth, useCredentials, useDialogs, useNavData, useNotifications, usePaths, useResources, useSnackAlert };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "identity-admin-ui",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.19",
|
|
4
4
|
"description": "Identity solutions UI package using for identity-admin dashboard",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -51,6 +51,9 @@
|
|
|
51
51
|
"dayjs": "^1.11.9",
|
|
52
52
|
"framer-motion": "^10.15.0",
|
|
53
53
|
"highlight.js": "^11.8.0",
|
|
54
|
+
"i18next": "^23.4.4",
|
|
55
|
+
"i18next-browser-languagedetector": "^7.1.0",
|
|
56
|
+
"i18next-http-backend": "^2.2.1",
|
|
54
57
|
"material-ui-phone-number": "^3.0.0",
|
|
55
58
|
"moment": "^2.29.4",
|
|
56
59
|
"notistack": "^3.0.1",
|