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.
@@ -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" | "disableGutters" | "divider" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ListItemStyleProps, {}, {}>;
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/esm/index.css CHANGED
@@ -1,21 +1,3 @@
1
- .editor {
2
- padding-left: 20px;
3
- padding-right: 20px;
4
- max-height: 350px;
5
- overflow: auto;
6
- }
7
- .toolBar {
8
- border-style: solid;
9
- border-width: 0.1px;
10
- border-radius: 10px;
11
- border-color:lightgray;
12
- }
13
- .wrapper {
14
- border-style: solid;
15
- border-width: 0.1px;
16
- border-radius: 10px;
17
- border-color:lightgray;
18
- }
19
1
  /*!
20
2
  Theme: Tomorrow Night
21
3
  Author: Chris Kempson (http://chriskempson.com)
@@ -23,6 +5,24 @@
23
5
  Maintainer: @highlightjs/core-team
24
6
  Version: 2021.09.0
25
7
  */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#ccc;background:#2d2d2d}.hljs ::selection,.hljs::selection{background-color:#515151;color:#ccc}.hljs-comment{color:#999}.hljs-tag{color:#b4b7b4}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#ccc}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#f2777a}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#f99157}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#fc6}.hljs-strong{font-weight:700;color:#fc6}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#9c9}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#6cc}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#69c}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#c9c}.hljs-emphasis{color:#c9c;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#a3685a}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}
8
+ .editor {
9
+ padding-left: 20px;
10
+ padding-right: 20px;
11
+ max-height: 350px;
12
+ overflow: auto;
13
+ }
14
+ .toolBar {
15
+ border-style: solid;
16
+ border-width: 0.1px;
17
+ border-radius: 10px;
18
+ border-color:lightgray;
19
+ }
20
+ .wrapper {
21
+ border-style: solid;
22
+ border-width: 0.1px;
23
+ border-radius: 10px;
24
+ border-color:lightgray;
25
+ }
26
26
  /*!
27
27
  * Quill Editor v1.3.7
28
28
  * https://quilljs.com/