identity-admin-ui 1.12.20 → 1.12.22

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.
Files changed (28) hide show
  1. package/lib/cjs/index.css +20 -18
  2. package/lib/cjs/index.js +6 -6
  3. package/lib/cjs/types/components/DashboardFormFields/RichTextField.d.ts +2 -1
  4. package/lib/cjs/types/components/DashboardShowFields/Fields/JSONRichText.d.ts +2 -0
  5. package/lib/cjs/types/components/DashboardShowFields/Sections/RichText/JSONRichTextShow.d.ts +4 -0
  6. package/lib/cjs/types/components/hook-form/RHFRichText/JSONRichText.d.ts +4 -0
  7. package/lib/cjs/types/components/index.d.ts +1 -0
  8. package/lib/cjs/types/context/index.d.ts +1 -0
  9. package/lib/cjs/types/helpers/EnumHelper.d.ts +1 -0
  10. package/lib/cjs/types/hooks/index.d.ts +2 -0
  11. package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
  12. package/lib/cjs/types/routes/AdminRouter.d.ts +10 -10
  13. package/lib/cjs/types/routes/paths.d.ts +5 -5
  14. package/lib/esm/index.css +20 -18
  15. package/lib/esm/index.js +13 -13
  16. package/lib/esm/types/components/DashboardFormFields/RichTextField.d.ts +2 -1
  17. package/lib/esm/types/components/DashboardShowFields/Fields/JSONRichText.d.ts +2 -0
  18. package/lib/esm/types/components/DashboardShowFields/Sections/RichText/JSONRichTextShow.d.ts +4 -0
  19. package/lib/esm/types/components/hook-form/RHFRichText/JSONRichText.d.ts +4 -0
  20. package/lib/esm/types/components/index.d.ts +1 -0
  21. package/lib/esm/types/context/index.d.ts +1 -0
  22. package/lib/esm/types/helpers/EnumHelper.d.ts +1 -0
  23. package/lib/esm/types/hooks/index.d.ts +2 -0
  24. package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
  25. package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
  26. package/lib/esm/types/routes/paths.d.ts +5 -5
  27. package/lib/index.d.ts +130 -16
  28. package/package.json +95 -95
@@ -1,7 +1,8 @@
1
1
  import { IInputFieldProps } from './IFieldProps';
2
2
  export declare enum RichTextType {
3
3
  TYPE_ONE = 0,
4
- TYPE_TWO = 1
4
+ TYPE_TWO = 1,
5
+ JSON_TYPE = 2
5
6
  }
6
7
  interface IRichTextProps extends IInputFieldProps {
7
8
  type: RichTextType;
@@ -0,0 +1,2 @@
1
+ import { IShowField } from '../IShowField';
2
+ export declare function JSONRichTextField(props: IShowField): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
2
+ export declare function JSONRichTextShow({ stringifiedJson }: {
3
+ stringifiedJson: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
2
+ import './styles.css';
3
+ import { IRichText } from './RHFRichText';
4
+ export default function RHFJSONRichText({ name, disabled }: IRichText): import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,5 @@ export { default as NotificationPopover } from './Notifications/NotificationsPop
3
3
  export { default as MotionLazyContainer } from './MotionLazyContainer';
4
4
  export { default as SvgIconStyle } from './SvgIconStyle';
5
5
  export { default as ThemeSettings } from './settings/index';
6
+ export { default as LocalizationStringForm } from './LocalizedStringForm';
6
7
  export * from './Dialog/ActionDialog';
@@ -10,3 +10,4 @@ export * from './NotificationsContext';
10
10
  export * from './auth';
11
11
  export * from './CollapseDrawerContext';
12
12
  export { default as IResouce } from './Resource';
13
+ export * from './SettingsContext';
@@ -28,6 +28,7 @@ export declare enum FieldTypes {
28
28
  LOCATION = "LOCATION",
29
29
  RICH_TEXT_I = "RICH_TEXT_I",
30
30
  RICH_TEXT_II = "RICH_TEXT_II",
31
+ JSON_RICH_TEXT = "JSON_RICH_TEXT",
31
32
  EXTERNAL_LINK = "EXTERNAL_LINK",
32
33
  MULTIPLE_TEXT = "MULTIPLE_TEXT"
33
34
  }
@@ -10,3 +10,5 @@ export * from './useDialog';
10
10
  export * from './useNotifications';
11
11
  export * from './useAuth';
12
12
  export * from './useCollapseDrawer';
13
+ export { default as useLocales } from './useLocales';
14
+ export { default as useSettings } from './useSettings';
@@ -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,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
+ };
package/lib/esm/index.css CHANGED
@@ -1,3 +1,23 @@
1
+ .editor {
2
+ padding-left: 20px;
3
+ padding-right: 20px;
4
+ min-height: 120px;
5
+ max-height: 350px;
6
+ overflow: auto;
7
+ }
8
+ .toolBar {
9
+ border-style: solid;
10
+ border-width: 0.1px;
11
+ border-radius: 10px;
12
+ border-color: lightgray;
13
+ }
14
+ .wrapper {
15
+ border-style: solid;
16
+ border-width: 0.1px;
17
+ border-radius: 10px;
18
+ border-color: lightgray;
19
+ }
20
+
1
21
  /*!
2
22
  Theme: Tomorrow Night
3
23
  Author: Chris Kempson (http://chriskempson.com)
@@ -5,24 +25,6 @@
5
25
  Maintainer: @highlightjs/core-team
6
26
  Version: 2021.09.0
7
27
  */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
28
  /*!
27
29
  * Quill Editor v1.3.7
28
30
  * https://quilljs.com/