identity-admin-ui 1.12.9 → 1.12.11
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 -18
- package/lib/cjs/index.js +3 -3
- package/lib/cjs/types/components/HeaderBreadcrumbs.d.ts +2 -1
- package/lib/cjs/types/components/dataGrid/DataGridd.d.ts +3 -1
- package/lib/cjs/types/components/nav-section/vertical/style.d.ts +1 -1
- package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/cjs/types/pages/IdentityListPage.d.ts +3 -0
- package/lib/cjs/types/routes/AdminRouter.d.ts +10 -10
- package/lib/cjs/types/routes/paths.d.ts +5 -5
- package/lib/cjs/types/sections/dashboard/ImageCard.d.ts +2 -1
- package/lib/esm/index.css +18 -18
- package/lib/esm/index.js +7 -7
- package/lib/esm/types/components/HeaderBreadcrumbs.d.ts +2 -1
- package/lib/esm/types/components/dataGrid/DataGridd.d.ts +3 -1
- package/lib/esm/types/components/nav-section/vertical/style.d.ts +1 -1
- package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/esm/types/pages/IdentityListPage.d.ts +3 -0
- package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
- package/lib/esm/types/routes/paths.d.ts +5 -5
- package/lib/esm/types/sections/dashboard/ImageCard.d.ts +2 -1
- package/lib/index.d.ts +5 -1
- package/package.json +92 -92
|
@@ -5,6 +5,7 @@ interface Props extends BreadcrumbsProps {
|
|
|
5
5
|
heading: string;
|
|
6
6
|
moreLink?: string | string[];
|
|
7
7
|
headingView?: ReactNode;
|
|
8
|
+
paginationTitle?: string;
|
|
8
9
|
}
|
|
9
|
-
export default function HeaderBreadcrumbs({ links, action, heading, headingView, moreLink, sx, children, ...other }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default function HeaderBreadcrumbs({ links, action, heading, paginationTitle, headingView, moreLink, sx, children, ...other }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -4,6 +4,7 @@ import { ParamsState, ListProps } from './GridTypes';
|
|
|
4
4
|
import { IBulkActionsDialogState } from '../BulkActions/BulkActionDialogs';
|
|
5
5
|
import { IOptionalResource } from '../../context';
|
|
6
6
|
import IResource from '../../context/Resource';
|
|
7
|
+
import { IListPaginatedParameters } from '../../pages/IdentityListPage';
|
|
7
8
|
export interface IGridExtras {
|
|
8
9
|
noRowsText?: string;
|
|
9
10
|
bulkDeleteText?: string;
|
|
@@ -34,5 +35,6 @@ export interface GridProps {
|
|
|
34
35
|
extras?: IGridExtras;
|
|
35
36
|
setCustomActions: React.Dispatch<React.SetStateAction<JSX.Element | undefined>>;
|
|
36
37
|
hidePagination?: boolean;
|
|
38
|
+
setPaginatedParameters?: React.Dispatch<React.SetStateAction<IListPaginatedParameters>>;
|
|
37
39
|
}
|
|
38
|
-
export default function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, extras, setBulkActionsDialogState, hidePagination, }: GridProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export default function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, extras, setBulkActionsDialogState, setPaginatedParameters, hidePagination, }: GridProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -27,7 +27,7 @@ export declare const ListItemStyle: import("@emotion/styled").StyledComponent<im
|
|
|
27
27
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
28
28
|
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
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" | "
|
|
30
|
+
}, "className" | "style" | "classes" | "alignItems" | "children" | "sx" | "autoFocus" | "tabIndex" | "dense" | "disabled" | "action" | "selected" | "divider" | "disableGutters" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ListItemStyleProps, {}, {}>;
|
|
31
31
|
interface ListItemTextStyleProps extends ListItemButtonProps {
|
|
32
32
|
isCollapse?: boolean;
|
|
33
33
|
}
|
|
@@ -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
|
+
}[];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { IListRecordsProps } from '../helpers/CrudHelper/List/ListProps';
|
|
2
|
+
export interface IListPaginatedParameters {
|
|
3
|
+
totalRecords?: number;
|
|
4
|
+
}
|
|
2
5
|
export type AlertColor = 'success' | 'info' | 'warning' | 'error';
|
|
3
6
|
export default function ListRecords(props: IListRecordsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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,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
|
+
};
|
|
@@ -16,6 +16,7 @@ export interface IImageProps {
|
|
|
16
16
|
handleRemoveImage: (key: string) => void;
|
|
17
17
|
handleEditImage: (key: string) => void;
|
|
18
18
|
imageOptimizingCategory?: ImageOptimizingCategories;
|
|
19
|
+
disableImageOptimization?: boolean;
|
|
19
20
|
setImageDialogState: React.Dispatch<React.SetStateAction<{
|
|
20
21
|
[key: string]: boolean;
|
|
21
22
|
}>>;
|
|
@@ -38,4 +39,4 @@ export interface IImageProps {
|
|
|
38
39
|
shouldTouch: boolean;
|
|
39
40
|
}> | undefined) => void;
|
|
40
41
|
}
|
|
41
|
-
export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, imageOptimizingCategory, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, }: IImageProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, imageOptimizingCategory, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, disableImageOptimization }: IImageProps): import("react/jsx-runtime").JSX.Element;
|
package/lib/index.d.ts
CHANGED
|
@@ -526,8 +526,9 @@ interface GridProps {
|
|
|
526
526
|
extras?: IGridExtras;
|
|
527
527
|
setCustomActions: react.Dispatch<react.SetStateAction<JSX.Element | undefined>>;
|
|
528
528
|
hidePagination?: boolean;
|
|
529
|
+
setPaginatedParameters?: react.Dispatch<react.SetStateAction<IListPaginatedParameters>>;
|
|
529
530
|
}
|
|
530
|
-
declare function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, extras, setBulkActionsDialogState, hidePagination, }: GridProps): react_jsx_runtime.JSX.Element;
|
|
531
|
+
declare function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, extras, setBulkActionsDialogState, setPaginatedParameters, hidePagination, }: GridProps): react_jsx_runtime.JSX.Element;
|
|
531
532
|
|
|
532
533
|
interface ListProps {
|
|
533
534
|
value: string;
|
|
@@ -582,6 +583,9 @@ interface IListRecordsProps extends IListProps {
|
|
|
582
583
|
defaultFilters?: string;
|
|
583
584
|
}
|
|
584
585
|
|
|
586
|
+
interface IListPaginatedParameters {
|
|
587
|
+
totalRecords?: number;
|
|
588
|
+
}
|
|
585
589
|
type AlertColor = 'success' | 'info' | 'warning' | 'error';
|
|
586
590
|
declare function ListRecords(props: IListRecordsProps): react_jsx_runtime.JSX.Element;
|
|
587
591
|
|
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "identity-admin-ui",
|
|
3
|
-
"version": "1.12.
|
|
4
|
-
"description": "Identity solutions UI package using for identity-admin dashboard",
|
|
5
|
-
"main": "lib/cjs/index.js",
|
|
6
|
-
"module": "lib/esm/index.js",
|
|
7
|
-
"files": [
|
|
8
|
-
"lib/**/*"
|
|
9
|
-
],
|
|
10
|
-
"types": "lib/index.d.ts",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "rollup -c --bundleConfigAsCjs",
|
|
13
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
|
-
},
|
|
15
|
-
"author": "",
|
|
16
|
-
"license": "ISC",
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@emotion/cache": "^11.11.0",
|
|
19
|
-
"@emotion/react": "^11.11.1",
|
|
20
|
-
"@emotion/styled": "^11.11.0",
|
|
21
|
-
"@hookform/resolvers": "^3.2.0",
|
|
22
|
-
"@iconify/react": "^4.1.0",
|
|
23
|
-
"@mui/icons-material": "^5.14.3",
|
|
24
|
-
"@mui/lab": "^5.0.0-alpha.139",
|
|
25
|
-
"@mui/material": "^5.14.5",
|
|
26
|
-
"@mui/x-data-grid": "^6.11.1",
|
|
27
|
-
"@mui/x-date-pickers": "^6.11.1",
|
|
28
|
-
"@rollup/plugin-commonjs": "^25.0.3",
|
|
29
|
-
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
30
|
-
"@rollup/plugin-replace": "^6.0.2",
|
|
31
|
-
"@rollup/plugin-typescript": "^11.1.2",
|
|
32
|
-
"@types/autosuggest-highlight": "^3.2.0",
|
|
33
|
-
"@types/axios": "^0.14.0",
|
|
34
|
-
"@types/draftjs-to-html": "^0.8.2",
|
|
35
|
-
"@types/html-to-draftjs": "^1.4.1",
|
|
36
|
-
"@types/moment": "^2.13.0",
|
|
37
|
-
"@types/nprogress": "^0.2.0",
|
|
38
|
-
"@types/numeral": "^2.0.2",
|
|
39
|
-
"@types/react": "^18.2.20",
|
|
40
|
-
"@types/react-beautiful-dnd": "^13.1.4",
|
|
41
|
-
"@types/react-draft-wysiwyg": "^1.13.5",
|
|
42
|
-
"@types/react-helmet-async": "^1.0.3",
|
|
43
|
-
"@types/react-lazy-load-image-component": "^1.5.3",
|
|
44
|
-
"@types/react-lazyload": "^3.2.3",
|
|
45
|
-
"@types/stylis": "^4.2.0",
|
|
46
|
-
"autosuggest-highlight": "^3.3.4",
|
|
47
|
-
"aws-amplify": "^5.3.8",
|
|
48
|
-
"axios": "^1.4.0",
|
|
49
|
-
"compressorjs": "^1.2.1",
|
|
50
|
-
"date-fns": "^2.30.0",
|
|
51
|
-
"dayjs": "^1.11.9",
|
|
52
|
-
"framer-motion": "^10.15.0",
|
|
53
|
-
"highlight.js": "^11.8.0",
|
|
54
|
-
"material-ui-phone-number": "^3.0.0",
|
|
55
|
-
"moment": "^2.29.4",
|
|
56
|
-
"notistack": "^3.0.1",
|
|
57
|
-
"nprogress": "^0.2.0",
|
|
58
|
-
"numeral": "^2.0.6",
|
|
59
|
-
"pluralize": "^8.0.0",
|
|
60
|
-
"react": "^18.2.0",
|
|
61
|
-
"react-beautiful-dnd": "^13.1.1",
|
|
62
|
-
"react-dropzone": "^14.2.3",
|
|
63
|
-
"react-helmet-async": "^1.3.0",
|
|
64
|
-
"react-hook-form": "^7.45.4",
|
|
65
|
-
"react-i18next": "^11.18.6",
|
|
66
|
-
"react-lazy-load-image-component": "^1.6.0",
|
|
67
|
-
"react-router-dom": "^6.14.2",
|
|
68
|
-
"rollup": "^3.27.0",
|
|
69
|
-
"rollup-plugin-css-bundle": "^1.0.4",
|
|
70
|
-
"rollup-plugin-dts": "^5.3.1",
|
|
71
|
-
"rollup-plugin-image": "^1.0.2",
|
|
72
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
73
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
74
|
-
"rollup-plugin-postcss-modules": "^2.1.1",
|
|
75
|
-
"rollup-plugin-preserve-directives": "^0.2.0",
|
|
76
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
77
|
-
"simplebar-react": "^3.2.4",
|
|
78
|
-
"stylis": "^4.3.0",
|
|
79
|
-
"stylis-plugin-rtl": "^2.1.1",
|
|
80
|
-
"tslib": "^2.6.1",
|
|
81
|
-
"typescript": "^5.1.6",
|
|
82
|
-
"yup": "^1.2.0"
|
|
83
|
-
},
|
|
84
|
-
"dependencies": {
|
|
85
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
86
|
-
"draftjs-to-html": "^0.9.1",
|
|
87
|
-
"html-to-draftjs": "^1.5.0",
|
|
88
|
-
"react-draft-wysiwyg": "^1.15.0",
|
|
89
|
-
"react-lazyload": "^3.2.1",
|
|
90
|
-
"react-quill": "^2.0.0"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "identity-admin-ui",
|
|
3
|
+
"version": "1.12.11",
|
|
4
|
+
"description": "Identity solutions UI package using for identity-admin dashboard",
|
|
5
|
+
"main": "lib/cjs/index.js",
|
|
6
|
+
"module": "lib/esm/index.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib/**/*"
|
|
9
|
+
],
|
|
10
|
+
"types": "lib/index.d.ts",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "rollup -c --bundleConfigAsCjs",
|
|
13
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
|
+
},
|
|
15
|
+
"author": "",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@emotion/cache": "^11.11.0",
|
|
19
|
+
"@emotion/react": "^11.11.1",
|
|
20
|
+
"@emotion/styled": "^11.11.0",
|
|
21
|
+
"@hookform/resolvers": "^3.2.0",
|
|
22
|
+
"@iconify/react": "^4.1.0",
|
|
23
|
+
"@mui/icons-material": "^5.14.3",
|
|
24
|
+
"@mui/lab": "^5.0.0-alpha.139",
|
|
25
|
+
"@mui/material": "^5.14.5",
|
|
26
|
+
"@mui/x-data-grid": "^6.11.1",
|
|
27
|
+
"@mui/x-date-pickers": "^6.11.1",
|
|
28
|
+
"@rollup/plugin-commonjs": "^25.0.3",
|
|
29
|
+
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
30
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
31
|
+
"@rollup/plugin-typescript": "^11.1.2",
|
|
32
|
+
"@types/autosuggest-highlight": "^3.2.0",
|
|
33
|
+
"@types/axios": "^0.14.0",
|
|
34
|
+
"@types/draftjs-to-html": "^0.8.2",
|
|
35
|
+
"@types/html-to-draftjs": "^1.4.1",
|
|
36
|
+
"@types/moment": "^2.13.0",
|
|
37
|
+
"@types/nprogress": "^0.2.0",
|
|
38
|
+
"@types/numeral": "^2.0.2",
|
|
39
|
+
"@types/react": "^18.2.20",
|
|
40
|
+
"@types/react-beautiful-dnd": "^13.1.4",
|
|
41
|
+
"@types/react-draft-wysiwyg": "^1.13.5",
|
|
42
|
+
"@types/react-helmet-async": "^1.0.3",
|
|
43
|
+
"@types/react-lazy-load-image-component": "^1.5.3",
|
|
44
|
+
"@types/react-lazyload": "^3.2.3",
|
|
45
|
+
"@types/stylis": "^4.2.0",
|
|
46
|
+
"autosuggest-highlight": "^3.3.4",
|
|
47
|
+
"aws-amplify": "^5.3.8",
|
|
48
|
+
"axios": "^1.4.0",
|
|
49
|
+
"compressorjs": "^1.2.1",
|
|
50
|
+
"date-fns": "^2.30.0",
|
|
51
|
+
"dayjs": "^1.11.9",
|
|
52
|
+
"framer-motion": "^10.15.0",
|
|
53
|
+
"highlight.js": "^11.8.0",
|
|
54
|
+
"material-ui-phone-number": "^3.0.0",
|
|
55
|
+
"moment": "^2.29.4",
|
|
56
|
+
"notistack": "^3.0.1",
|
|
57
|
+
"nprogress": "^0.2.0",
|
|
58
|
+
"numeral": "^2.0.6",
|
|
59
|
+
"pluralize": "^8.0.0",
|
|
60
|
+
"react": "^18.2.0",
|
|
61
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
62
|
+
"react-dropzone": "^14.2.3",
|
|
63
|
+
"react-helmet-async": "^1.3.0",
|
|
64
|
+
"react-hook-form": "^7.45.4",
|
|
65
|
+
"react-i18next": "^11.18.6",
|
|
66
|
+
"react-lazy-load-image-component": "^1.6.0",
|
|
67
|
+
"react-router-dom": "^6.14.2",
|
|
68
|
+
"rollup": "^3.27.0",
|
|
69
|
+
"rollup-plugin-css-bundle": "^1.0.4",
|
|
70
|
+
"rollup-plugin-dts": "^5.3.1",
|
|
71
|
+
"rollup-plugin-image": "^1.0.2",
|
|
72
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
73
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
74
|
+
"rollup-plugin-postcss-modules": "^2.1.1",
|
|
75
|
+
"rollup-plugin-preserve-directives": "^0.2.0",
|
|
76
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
77
|
+
"simplebar-react": "^3.2.4",
|
|
78
|
+
"stylis": "^4.3.0",
|
|
79
|
+
"stylis-plugin-rtl": "^2.1.1",
|
|
80
|
+
"tslib": "^2.6.1",
|
|
81
|
+
"typescript": "^5.1.6",
|
|
82
|
+
"yup": "^1.2.0"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
86
|
+
"draftjs-to-html": "^0.9.1",
|
|
87
|
+
"html-to-draftjs": "^1.5.0",
|
|
88
|
+
"react-draft-wysiwyg": "^1.15.0",
|
|
89
|
+
"react-lazyload": "^3.2.1",
|
|
90
|
+
"react-quill": "^2.0.0"
|
|
91
|
+
}
|
|
92
|
+
}
|