@guillotinaweb/react-gmi 0.26.0 → 0.28.0

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 (126) hide show
  1. package/dist/actions/add_item.d.ts +5 -1
  2. package/dist/actions/change_pass.d.ts +1 -1
  3. package/dist/actions/copy_item.d.ts +6 -1
  4. package/dist/actions/copy_items.d.ts +6 -1
  5. package/dist/actions/index.d.ts +2 -2
  6. package/dist/actions/move_item.d.ts +6 -1
  7. package/dist/actions/move_items.d.ts +6 -1
  8. package/dist/actions/remove_item.d.ts +6 -1
  9. package/dist/actions/remove_items.d.ts +6 -1
  10. package/dist/components/Link.d.ts +10 -6
  11. package/dist/components/TdLink.d.ts +10 -5
  12. package/dist/components/behavior_view.d.ts +8 -5
  13. package/dist/components/behaviors/iattachment.d.ts +9 -4
  14. package/dist/components/behaviors/idublincore.d.ts +10 -4
  15. package/dist/components/behaviors/iimageattachment.d.ts +9 -4
  16. package/dist/components/behaviors/imultiattachment.d.ts +11 -4
  17. package/dist/components/behaviors/imultiimageattachment.d.ts +11 -4
  18. package/dist/components/behaviors/imultiimageorderedattachment.d.ts +9 -4
  19. package/dist/components/behaviors/iworkflow.d.ts +1 -1
  20. package/dist/components/context_toolbar.d.ts +7 -5
  21. package/dist/components/error_boundary.d.ts +6 -4
  22. package/dist/components/error_zone.d.ts +16 -13
  23. package/dist/components/fields/downloadField.d.ts +11 -4
  24. package/dist/components/fields/editComponent.d.ts +14 -2
  25. package/dist/components/fields/editableField.d.ts +10 -8
  26. package/dist/components/fields/renderField.d.ts +31 -21
  27. package/dist/components/flash.d.ts +1 -1
  28. package/dist/components/guillotina.d.ts +12 -5
  29. package/dist/components/index.d.ts +54 -54
  30. package/dist/components/input/button.d.ts +12 -10
  31. package/dist/components/input/checkbox.d.ts +18 -17
  32. package/dist/components/input/dropdown.d.ts +15 -10
  33. package/dist/components/input/email.d.ts +9 -5
  34. package/dist/components/input/form.d.ts +13 -20
  35. package/dist/components/input/form_builder.d.ts +15 -12
  36. package/dist/components/input/index.d.ts +11 -1
  37. package/dist/components/input/input.d.ts +26 -1
  38. package/dist/components/input/input_list.d.ts +9 -2
  39. package/dist/components/input/password.d.ts +8 -4
  40. package/dist/components/input/search_input.d.ts +21 -36
  41. package/dist/components/input/search_input_list.d.ts +21 -35
  42. package/dist/components/input/select.d.ts +25 -1
  43. package/dist/components/input/select_vocabulary.d.ts +15 -1
  44. package/dist/components/input/textarea.d.ts +15 -1
  45. package/dist/components/input/upload.d.ts +9 -5
  46. package/dist/components/item.d.ts +23 -13
  47. package/dist/components/layout.d.ts +9 -5
  48. package/dist/components/login.d.ts +10 -7
  49. package/dist/components/modal.d.ts +24 -14
  50. package/dist/components/notallowed.d.ts +1 -1
  51. package/dist/components/notfound.d.ts +1 -1
  52. package/dist/components/pagination.d.ts +8 -6
  53. package/dist/components/panel/actions.d.ts +1 -1
  54. package/dist/components/panel/addons.d.ts +1 -1
  55. package/dist/components/panel/behaviors.d.ts +1 -1
  56. package/dist/components/panel/index.d.ts +4 -1
  57. package/dist/components/panel/items.d.ts +1 -1
  58. package/dist/components/panel/permissions.d.ts +7 -5
  59. package/dist/components/panel/permissions_prinperm.d.ts +17 -6
  60. package/dist/components/panel/permissions_prinrole.d.ts +17 -6
  61. package/dist/components/panel/permissions_roleperm.d.ts +17 -6
  62. package/dist/components/panel/properties.d.ts +1 -1
  63. package/dist/components/path.d.ts +1 -1
  64. package/dist/components/properties_view.d.ts +7 -2
  65. package/dist/components/search_labels.d.ts +5 -1
  66. package/dist/components/search_options_labels.d.ts +9 -1
  67. package/dist/components/search_vocabulary_labels.d.ts +6 -1
  68. package/dist/components/selected_items_actions.d.ts +17 -12
  69. package/dist/components/tabs.d.ts +10 -11
  70. package/dist/components/ui/delete.d.ts +8 -5
  71. package/dist/components/ui/icon.d.ts +7 -5
  72. package/dist/components/ui/index.d.ts +6 -6
  73. package/dist/components/ui/loading.d.ts +6 -3
  74. package/dist/components/ui/notification.d.ts +7 -4
  75. package/dist/components/ui/table.d.ts +8 -5
  76. package/dist/components/ui/tag.d.ts +9 -7
  77. package/dist/components/widgets/index.d.ts +1 -1
  78. package/dist/components/widgets/tags.d.ts +10 -8
  79. package/dist/contexts/index.d.ts +54 -13
  80. package/dist/forms/base.d.ts +12 -7
  81. package/dist/forms/required_fields.d.ts +12 -8
  82. package/dist/forms/users.d.ts +13 -5
  83. package/dist/hooks/useClickAway.d.ts +1 -1
  84. package/dist/hooks/useConfig.d.ts +17 -17
  85. package/dist/hooks/useCrudContext.d.ts +20 -1
  86. package/dist/hooks/useInput.d.ts +10 -7
  87. package/dist/hooks/useLocation.d.ts +2 -1
  88. package/dist/hooks/useMountedState.d.ts +1 -1
  89. package/dist/hooks/useRegistry.d.ts +61 -106
  90. package/dist/hooks/useRemoteField.d.ts +2 -1
  91. package/dist/hooks/useSetState.d.ts +1 -1
  92. package/dist/hooks/useVocabulary.d.ts +8 -1
  93. package/dist/index.d.ts +29 -29
  94. package/dist/lib/auth.d.ts +31 -31
  95. package/dist/lib/client.d.ts +59 -57
  96. package/dist/lib/helpers.d.ts +24 -24
  97. package/dist/lib/rest.d.ts +23 -22
  98. package/dist/lib/search.d.ts +2 -2
  99. package/dist/lib/search.test.d.ts +1 -1
  100. package/dist/lib/utils.d.ts +4 -3
  101. package/dist/lib/validators.d.ts +12 -12
  102. package/dist/locales/generic_messages.d.ts +370 -370
  103. package/dist/models/index.d.ts +17 -17
  104. package/dist/models/sharing.d.ts +12 -9
  105. package/dist/react-gmi.esm.js +3855 -3280
  106. package/dist/react-gmi.esm.js.map +1 -1
  107. package/dist/react-gmi.js +3854 -3278
  108. package/dist/react-gmi.js.map +1 -1
  109. package/dist/react-gmi.modern.js +3622 -3132
  110. package/dist/react-gmi.modern.js.map +1 -1
  111. package/dist/react-gmi.umd.js +3857 -3282
  112. package/dist/react-gmi.umd.js.map +1 -1
  113. package/dist/reducers/guillotina.d.ts +29 -19
  114. package/dist/setupTests.d.ts +1 -1
  115. package/dist/types/global.d.ts +8 -0
  116. package/dist/types/guillotina.d.ts +121 -0
  117. package/dist/views/application.d.ts +13 -17
  118. package/dist/views/base.d.ts +5 -1
  119. package/dist/views/container.d.ts +1 -1
  120. package/dist/views/folder.d.ts +1 -1
  121. package/dist/views/groups.d.ts +3 -3
  122. package/dist/views/item.d.ts +1 -1
  123. package/dist/views/users.d.ts +3 -3
  124. package/package.json +13 -6
  125. package/dist/hooks/useAsync.d.ts +0 -3
  126. package/dist/hooks/useAsyncFn.d.ts +0 -5
@@ -1,20 +1,13 @@
1
- export function Form({ children, className, onSubmit, onReset, autoComplete, title, error, dataTest, ...rest }: {
2
- [x: string]: any;
3
- children: any;
4
- className?: string;
5
- onSubmit?: () => void;
6
- onReset?: () => void;
7
- autoComplete?: string;
8
- title: any;
9
- error: any;
10
- dataTest: any;
11
- }): JSX.Element;
12
- export namespace Form {
13
- namespace propTypes {
14
- const children: any;
15
- const className: any;
16
- const onSubmit: any;
17
- const onReset: any;
18
- const autoComplete: any;
19
- }
20
- }
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ onSubmit?: (event: React.FormEvent<HTMLFormElement>) => void;
6
+ onReset?: (event: React.FormEvent<HTMLFormElement>) => void;
7
+ autoComplete?: string;
8
+ title?: string;
9
+ error?: string;
10
+ dataTest?: string;
11
+ }
12
+ export declare const Form: ({ children, className, onSubmit, onReset, autoComplete, title, error, dataTest, }: Props) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -1,12 +1,15 @@
1
- export function FormBuilder({ schema, formData, title, onSubmit, actionName, children, exclude, remotes, submitButton, ...rest }: {
2
- [x: string]: any;
3
- schema: any;
4
- formData: any;
5
- title: any;
6
- onSubmit: any;
7
- actionName: any;
8
- children: any;
9
- exclude?: any[];
10
- remotes?: any[];
11
- submitButton?: boolean;
12
- }): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { IndexSignature } from '../../types/global';
3
+ import { GuillotinaSchema } from '../../types/guillotina';
4
+ interface Props {
5
+ schema: GuillotinaSchema;
6
+ formData?: any;
7
+ onSubmit: (formData: any, initialData: any) => void;
8
+ actionName: string;
9
+ children?: React.ReactNode;
10
+ exclude?: string[];
11
+ remotes?: IndexSignature;
12
+ submitButton?: boolean;
13
+ }
14
+ export declare function FormBuilder({ schema, formData, onSubmit, actionName, children, exclude, remotes, submitButton, }: Props): import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -1 +1,11 @@
1
- export {};
1
+ export * from './button';
2
+ export * from './checkbox';
3
+ export * from './email';
4
+ export * from './form';
5
+ export * from './form_builder';
6
+ export * from './input';
7
+ export * from './password';
8
+ export * from './select';
9
+ export * from './select_vocabulary';
10
+ export * from './search_input';
11
+ export * from './input_list';
@@ -1 +1,26 @@
1
- export const Input: any;
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ name?: string;
4
+ icon?: JSX.Element;
5
+ iconPosition?: 'has-icons-left' | 'has-icons-right';
6
+ error?: string;
7
+ errorZoneClassName?: string;
8
+ autoComplete?: string;
9
+ className?: string;
10
+ widget?: string;
11
+ loading?: boolean;
12
+ validator?: ((value: string) => boolean) | ((value: string) => boolean)[];
13
+ errorMessage?: string;
14
+ dataTest?: string;
15
+ autofocus?: boolean;
16
+ onChange?: (value: string) => void;
17
+ type?: string;
18
+ value?: string;
19
+ required?: boolean;
20
+ id?: string;
21
+ placeholder?: string;
22
+ disabled?: boolean;
23
+ onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
24
+ }
25
+ export declare const Input: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
26
+ export default Input;
@@ -1,2 +1,9 @@
1
- export const InputList: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import * as React from "react";
1
+ import { InputHTMLAttributes } from 'react';
2
+ interface Props {
3
+ value: string[];
4
+ onChange: (value: string[]) => void;
5
+ dataTest?: string;
6
+ id?: string;
7
+ }
8
+ export declare const InputList: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & Props & import("react").RefAttributes<HTMLInputElement>>;
9
+ export default InputList;
@@ -1,4 +1,8 @@
1
- export function PasswordInput({ value, ...rest }: {
2
- [x: string]: any;
3
- value?: string;
4
- }): JSX.Element;
1
+ import { InputHTMLAttributes } from 'react';
2
+ interface Props {
3
+ value: string;
4
+ dataTest: string;
5
+ onChange: (value: string) => void;
6
+ }
7
+ export declare const PasswordInput: ({ value, dataTest, onChange, }: Props & InputHTMLAttributes<HTMLInputElement>) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,36 +1,21 @@
1
- export function SearchInput({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: {
2
- onChange: any;
3
- error: any;
4
- errorZoneClassName: any;
5
- traversal?: any;
6
- path?: any;
7
- qs?: any[];
8
- queryCondition?: string;
9
- value: any;
10
- btnClass?: string;
11
- dataTestWrapper?: string;
12
- dataTestSearchInput?: string;
13
- dataTestItem?: string;
14
- renderTextItemOption?: any;
15
- typeNameQuery?: any;
16
- labelProperty?: string;
17
- }): JSX.Element;
18
- export namespace SearchInput {
19
- namespace propTypes {
20
- const onChange: any;
21
- const value: any;
22
- const path: any;
23
- const btnClass: any;
24
- const error: any;
25
- const errorZoneClassName: any;
26
- const traversal: any;
27
- const qs: any;
28
- const queryCondition: any;
29
- const dataTestWrapper: any;
30
- const dataTestSearchInput: any;
31
- const dataTestItem: any;
32
- const renderTextItemOption: any;
33
- const typeNameQuery: any;
34
- const labelProperty: any;
35
- }
36
- }
1
+ import { SearchItem } from '../../types/guillotina';
2
+ import { Traversal } from '../../contexts';
3
+ interface Props {
4
+ onChange?: (value: string) => void;
5
+ error?: string;
6
+ errorZoneClassName?: string;
7
+ traversal?: Traversal;
8
+ path?: string;
9
+ qs?: string[][];
10
+ queryCondition?: string;
11
+ value?: string;
12
+ btnClass?: string;
13
+ dataTestWrapper?: string;
14
+ dataTestSearchInput?: string;
15
+ dataTestItem?: string;
16
+ renderTextItemOption?: (item: SearchItem) => string;
17
+ typeNameQuery?: string;
18
+ labelProperty?: string;
19
+ }
20
+ export declare const SearchInput: ({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: Props) => import("react/jsx-runtime").JSX.Element;
21
+ export {};
@@ -1,35 +1,21 @@
1
- export function SearchInputList({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: {
2
- onChange: any;
3
- error: any;
4
- errorZoneClassName: any;
5
- traversal?: any;
6
- path?: any;
7
- qs?: any[];
8
- queryCondition?: string;
9
- value: any;
10
- btnClass?: string;
11
- dataTestWrapper?: string;
12
- dataTestSearchInput?: string;
13
- dataTestItem?: string;
14
- renderTextItemOption?: any;
15
- typeNameQuery?: any;
16
- labelProperty?: string;
17
- }): JSX.Element;
18
- export namespace SearchInputList {
19
- namespace propTypes {
20
- const onChange: any;
21
- const path: any;
22
- const btnClass: any;
23
- const dataTestWrapper: any;
24
- const dataTestSearchInput: any;
25
- const dataTestItem: any;
26
- const renderTextItemOption: any;
27
- const typeNameQuery: any;
28
- const labelProperty: any;
29
- const error: any;
30
- const errorZoneClassName: any;
31
- const traversal: any;
32
- const qs: any;
33
- const queryCondition: any;
34
- }
35
- }
1
+ import { SearchItem } from '../../types/guillotina';
2
+ import { Traversal } from '../../contexts';
3
+ interface Props {
4
+ onChange: (value: string[]) => void;
5
+ error?: string;
6
+ errorZoneClassName?: string;
7
+ traversal?: Traversal;
8
+ path?: string;
9
+ qs?: string[];
10
+ queryCondition?: string;
11
+ value: string[];
12
+ btnClass?: string;
13
+ dataTestWrapper?: string;
14
+ dataTestSearchInput?: string;
15
+ dataTestItem?: string;
16
+ renderTextItemOption?: (item: SearchItem) => string;
17
+ typeNameQuery?: string;
18
+ labelProperty?: string;
19
+ }
20
+ export declare const SearchInputList: ({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: Props) => import("react/jsx-runtime").JSX.Element;
21
+ export {};
@@ -1 +1,25 @@
1
- export const Select: any;
1
+ /// <reference types="react" />
2
+ import { IndexSignature } from '../../types/global';
3
+ interface Props {
4
+ error?: string;
5
+ errorZoneClassName?: string;
6
+ size?: number;
7
+ placeholder?: string;
8
+ id?: string;
9
+ className?: string;
10
+ classWrap?: string;
11
+ disabled?: boolean;
12
+ multiple?: boolean;
13
+ loading?: boolean;
14
+ onChange?: (value: string | string[]) => void;
15
+ options: {
16
+ text: string;
17
+ value: string;
18
+ }[];
19
+ appendDefault?: boolean;
20
+ style?: IndexSignature;
21
+ dataTest?: string;
22
+ value?: string | string[];
23
+ }
24
+ export declare const Select: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLSelectElement>>;
25
+ export default Select;
@@ -1 +1,15 @@
1
- export const SelectVocabulary: any;
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ vocabularyName: string;
4
+ className?: string;
5
+ classWrap?: string;
6
+ val?: string;
7
+ dataTest?: string;
8
+ multiple?: boolean;
9
+ onChange?: (value: string) => void;
10
+ appendDefault?: boolean;
11
+ id?: string;
12
+ placeholder?: string;
13
+ }
14
+ export declare const SelectVocabulary: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLSelectElement>>;
15
+ export {};
@@ -1 +1,15 @@
1
- export const Textarea: any;
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ value: string;
4
+ classWrap?: string;
5
+ rows?: number;
6
+ className?: string;
7
+ onChange?: (value: string) => void;
8
+ dataTest?: string;
9
+ error?: string;
10
+ errorZoneClassName?: string;
11
+ placeholder?: string;
12
+ id?: string;
13
+ }
14
+ export declare const Textarea: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLTextAreaElement>>;
15
+ export default Textarea;
@@ -1,5 +1,9 @@
1
- export function FileUpload({ label, onChange, ...props }: {
2
- [x: string]: any;
3
- label: any;
4
- onChange: any;
5
- }): JSX.Element;
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { LightFile } from '../../types/global';
3
+ interface Props {
4
+ label?: string;
5
+ dataTest?: string;
6
+ onChange: (file: LightFile) => void;
7
+ }
8
+ export declare function FileUpload({ label, onChange, dataTest, }: Props & InputHTMLAttributes<HTMLInputElement>): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -1,13 +1,23 @@
1
- export function Item({ item, icon }: {
2
- item: any;
3
- icon: any;
4
- }): JSX.Element;
5
- export function RItem({ item, search, columns }: {
6
- item: any;
7
- search: any;
8
- columns: any;
9
- }): JSX.Element;
10
- export function ItemTitle({ title, actions }: {
11
- title: any;
12
- actions: any;
13
- }): JSX.Element;
1
+ import React from 'react';
2
+ import { IColumn } from '../reducers/guillotina';
3
+ import { SearchItem } from '../types/guillotina';
4
+ interface ItemProps {
5
+ item: {
6
+ id: string;
7
+ path: string;
8
+ };
9
+ icon?: string;
10
+ }
11
+ export declare function Item({ item, icon }: ItemProps): import("react/jsx-runtime").JSX.Element;
12
+ interface RItemProps {
13
+ item: SearchItem;
14
+ search: string;
15
+ columns: IColumn[];
16
+ }
17
+ export declare function RItem({ item, search, columns }: RItemProps): import("react/jsx-runtime").JSX.Element;
18
+ interface ItemTitleProps {
19
+ title: string;
20
+ actions?: React.ReactNode;
21
+ }
22
+ export declare function ItemTitle({ title, actions }: ItemTitleProps): import("react/jsx-runtime").JSX.Element;
23
+ export {};
@@ -1,5 +1,9 @@
1
- export function Layout({ children, onLogout, auth }: {
2
- children: any;
3
- onLogout: any;
4
- auth: any;
5
- }): JSX.Element;
1
+ /// <reference types="react" />
2
+ import { Auth } from '../lib/auth';
3
+ interface Props {
4
+ children: React.ReactNode;
5
+ onLogout: () => void;
6
+ auth: Auth;
7
+ }
8
+ export declare function Layout({ children, onLogout, auth }: Props): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -1,7 +1,10 @@
1
- export function Login({ currentSchema, setCurrentSchema, schemas, auth, onLogin, }: {
2
- currentSchema: any;
3
- setCurrentSchema: any;
4
- schemas: any;
5
- auth: any;
6
- onLogin: any;
7
- }): JSX.Element;
1
+ import { Auth } from '../lib/auth';
2
+ interface Props {
3
+ currentSchema: string;
4
+ setCurrentSchema: (schema: string) => void;
5
+ schemas: string[];
6
+ auth: Auth;
7
+ onLogin?: () => void;
8
+ }
9
+ export declare const Login: ({ currentSchema, setCurrentSchema, schemas, auth, onLogin, }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -1,14 +1,24 @@
1
- export function Modal(props: any): JSX.Element;
2
- export function Confirm({ message, onCancel, onConfirm, loading }: {
3
- message: any;
4
- onCancel: any;
5
- onConfirm: any;
6
- loading: any;
7
- }): JSX.Element;
8
- export function PathTree({ title, defaultPath, children, onConfirm, onCancel, }: {
9
- title: any;
10
- defaultPath: any;
11
- children: any;
12
- onConfirm: any;
13
- onCancel: any;
14
- }): JSX.Element;
1
+ /// <reference types="react" />
2
+ interface ModalProps {
3
+ isActive: boolean;
4
+ setActive: (value: boolean) => void;
5
+ children: React.ReactNode;
6
+ className?: string;
7
+ }
8
+ export declare function Modal(props: ModalProps): import("react/jsx-runtime").JSX.Element;
9
+ interface ConfirmProps {
10
+ message?: string;
11
+ onCancel: () => void;
12
+ onConfirm: () => void;
13
+ loading?: boolean;
14
+ }
15
+ export declare function Confirm({ message, onCancel, onConfirm, loading, }: ConfirmProps): import("react/jsx-runtime").JSX.Element;
16
+ interface PathTreeProps {
17
+ title: string;
18
+ defaultPath?: string;
19
+ children?: React.ReactNode;
20
+ onConfirm: (path: string, target: EventTarget) => void;
21
+ onCancel: () => void;
22
+ }
23
+ export declare function PathTree({ title, defaultPath, children, onConfirm, onCancel, }: PathTreeProps): import("react/jsx-runtime").JSX.Element;
24
+ export {};
@@ -1 +1 @@
1
- export function NotAllowed(): JSX.Element;
1
+ export declare function NotAllowed(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export function NotFound(): JSX.Element;
1
+ export declare function NotFound(): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,8 @@
1
- export function Pagination({ current, total, doPaginate, pager }: {
2
- current: any;
3
- total: any;
4
- doPaginate: any;
5
- pager: any;
6
- }): JSX.Element;
1
+ interface Props {
2
+ current: number;
3
+ total: number;
4
+ doPaginate: (page: number) => void;
5
+ pager: number;
6
+ }
7
+ export declare function Pagination({ current, total, doPaginate, pager }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1 +1 @@
1
- export function PanelActions(): JSX.Element;
1
+ export declare function PanelActions(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export function PanelAddons(props: any): JSX.Element;
1
+ export declare function PanelAddons(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export function PanelBehaviors(): JSX.Element;
1
+ export declare function PanelBehaviors(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1,4 @@
1
- export {};
1
+ export * from './addons';
2
+ export * from './actions';
3
+ export * from './items';
4
+ export * from './properties';
@@ -1 +1 @@
1
- export function PanelItems(): JSX.Element;
1
+ export declare function PanelItems(): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,7 @@
1
- export function PanelPermissions(): JSX.Element;
2
- export function AddPermission({ refresh, reset }: {
3
- refresh: any;
4
- reset: any;
5
- }): JSX.Element;
1
+ export declare function PanelPermissions(): import("react/jsx-runtime").JSX.Element;
2
+ interface AddPermissionProps {
3
+ refresh: (state: number) => void;
4
+ reset: number;
5
+ }
6
+ export declare function AddPermission({ refresh, reset }: AddPermissionProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -1,6 +1,17 @@
1
- export function PermissionPrinperm({ principals, permissions, operations, refresh, }: {
2
- principals: any;
3
- permissions: any;
4
- operations: any;
5
- refresh: any;
6
- }): JSX.Element;
1
+ interface Props {
2
+ principals: {
3
+ text: string;
4
+ value: string;
5
+ }[];
6
+ permissions: {
7
+ text: string;
8
+ value: string;
9
+ }[];
10
+ operations: {
11
+ text: string;
12
+ value: string;
13
+ }[];
14
+ refresh: (value: number) => void;
15
+ }
16
+ export declare function PermissionPrinperm({ principals, permissions, operations, refresh, }: Props): import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -1,6 +1,17 @@
1
- export function PermissionPrinrole({ principals, roles, operations, refresh }: {
2
- principals: any;
3
- roles: any;
4
- operations: any;
5
- refresh: any;
6
- }): JSX.Element;
1
+ interface Props {
2
+ principals: {
3
+ text: string;
4
+ value: string;
5
+ }[];
6
+ roles: {
7
+ text: string;
8
+ value: string;
9
+ }[];
10
+ operations: {
11
+ text: string;
12
+ value: string;
13
+ }[];
14
+ refresh: (value: number) => void;
15
+ }
16
+ export declare function PermissionPrinrole({ principals, roles, operations, refresh, }: Props): import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -1,6 +1,17 @@
1
- export function PermissionRoleperm({ roles, permissions, operations, refresh, }: {
2
- roles: any;
3
- permissions: any;
4
- operations: any;
5
- refresh: any;
6
- }): JSX.Element;
1
+ interface Props {
2
+ roles: {
3
+ text: string;
4
+ value: string;
5
+ }[];
6
+ permissions: {
7
+ text: string;
8
+ value: string;
9
+ }[];
10
+ operations: {
11
+ text: string;
12
+ value: string;
13
+ }[];
14
+ refresh: (value: number) => void;
15
+ }
16
+ export declare function PermissionRoleperm({ roles, permissions, operations, refresh, }: Props): import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -1 +1 @@
1
- export function PanelProperties(): JSX.Element;
1
+ export declare function PanelProperties(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export function Path(): false | JSX.Element;
1
+ export declare function Path(): false | import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,7 @@
1
- export function PropertiesButtonView(): any;
2
- export function PropertiesView(): any;
1
+ import React from 'react';
2
+ export declare function PropertiesButtonView(): React.FunctionComponentElement<{
3
+ Ctx: import("../contexts").Traversal;
4
+ }>;
5
+ export declare function PropertiesView(): React.FunctionComponentElement<{
6
+ Ctx: import("../contexts").Traversal;
7
+ }>;
@@ -1 +1,5 @@
1
- export function SearchLabels(props: any): JSX.Element;
1
+ interface Props {
2
+ query?: string;
3
+ }
4
+ export declare function SearchLabels({ query }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -1 +1,9 @@
1
- export function SearchOptionsLabels(props: any): JSX.Element;
1
+ interface Props {
2
+ query?: string;
3
+ options?: {
4
+ value: string;
5
+ text: string;
6
+ }[];
7
+ }
8
+ export declare function SearchOptionsLabels({ query, options }: Props): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -1 +1,6 @@
1
- export function SearchVocabularyLabels(props: any): JSX.Element;
1
+ interface Props {
2
+ query?: string;
3
+ vocabularyName?: string;
4
+ }
5
+ export declare function SearchVocabularyLabels({ query, vocabularyName }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};