@guillotinaweb/react-gmi 0.27.0 → 0.28.1
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/dist/actions/add_item.d.ts +5 -1
- package/dist/actions/change_pass.d.ts +1 -1
- package/dist/actions/copy_item.d.ts +6 -1
- package/dist/actions/copy_items.d.ts +6 -1
- package/dist/actions/index.d.ts +2 -2
- package/dist/actions/move_item.d.ts +6 -1
- package/dist/actions/move_items.d.ts +6 -1
- package/dist/actions/remove_item.d.ts +6 -1
- package/dist/actions/remove_items.d.ts +6 -1
- package/dist/components/Link.d.ts +10 -6
- package/dist/components/TdLink.d.ts +10 -5
- package/dist/components/behavior_view.d.ts +8 -5
- package/dist/components/behaviors/iattachment.d.ts +9 -4
- package/dist/components/behaviors/idublincore.d.ts +10 -4
- package/dist/components/behaviors/iimageattachment.d.ts +9 -4
- package/dist/components/behaviors/imultiattachment.d.ts +11 -4
- package/dist/components/behaviors/imultiimageattachment.d.ts +11 -4
- package/dist/components/behaviors/imultiimageorderedattachment.d.ts +9 -4
- package/dist/components/behaviors/iworkflow.d.ts +1 -1
- package/dist/components/context_toolbar.d.ts +7 -5
- package/dist/components/error_boundary.d.ts +6 -4
- package/dist/components/error_zone.d.ts +16 -13
- package/dist/components/fields/downloadField.d.ts +11 -4
- package/dist/components/fields/editComponent.d.ts +14 -2
- package/dist/components/fields/editableField.d.ts +10 -8
- package/dist/components/fields/renderField.d.ts +31 -21
- package/dist/components/flash.d.ts +1 -1
- package/dist/components/guillotina.d.ts +12 -5
- package/dist/components/index.d.ts +54 -54
- package/dist/components/input/button.d.ts +12 -10
- package/dist/components/input/checkbox.d.ts +18 -17
- package/dist/components/input/dropdown.d.ts +15 -10
- package/dist/components/input/email.d.ts +9 -5
- package/dist/components/input/form.d.ts +13 -20
- package/dist/components/input/form_builder.d.ts +15 -12
- package/dist/components/input/index.d.ts +11 -1
- package/dist/components/input/input.d.ts +26 -1
- package/dist/components/input/input_list.d.ts +9 -2
- package/dist/components/input/password.d.ts +8 -4
- package/dist/components/input/search_input.d.ts +21 -36
- package/dist/components/input/search_input_list.d.ts +21 -35
- package/dist/components/input/select.d.ts +25 -1
- package/dist/components/input/select_vocabulary.d.ts +15 -1
- package/dist/components/input/textarea.d.ts +15 -1
- package/dist/components/input/upload.d.ts +9 -5
- package/dist/components/item.d.ts +23 -13
- package/dist/components/layout.d.ts +9 -5
- package/dist/components/login.d.ts +10 -7
- package/dist/components/modal.d.ts +24 -14
- package/dist/components/notallowed.d.ts +1 -1
- package/dist/components/notfound.d.ts +1 -1
- package/dist/components/pagination.d.ts +8 -6
- package/dist/components/panel/actions.d.ts +1 -1
- package/dist/components/panel/addons.d.ts +1 -1
- package/dist/components/panel/behaviors.d.ts +1 -1
- package/dist/components/panel/index.d.ts +4 -1
- package/dist/components/panel/items.d.ts +1 -1
- package/dist/components/panel/permissions.d.ts +7 -5
- package/dist/components/panel/permissions_prinperm.d.ts +17 -6
- package/dist/components/panel/permissions_prinrole.d.ts +17 -6
- package/dist/components/panel/permissions_roleperm.d.ts +17 -6
- package/dist/components/panel/properties.d.ts +1 -1
- package/dist/components/path.d.ts +1 -1
- package/dist/components/properties_view.d.ts +7 -2
- package/dist/components/search_labels.d.ts +5 -1
- package/dist/components/search_options_labels.d.ts +9 -1
- package/dist/components/search_vocabulary_labels.d.ts +6 -1
- package/dist/components/selected_items_actions.d.ts +17 -12
- package/dist/components/tabs.d.ts +10 -11
- package/dist/components/ui/delete.d.ts +8 -5
- package/dist/components/ui/icon.d.ts +7 -5
- package/dist/components/ui/index.d.ts +6 -6
- package/dist/components/ui/loading.d.ts +6 -3
- package/dist/components/ui/notification.d.ts +7 -4
- package/dist/components/ui/table.d.ts +8 -5
- package/dist/components/ui/tag.d.ts +9 -7
- package/dist/components/widgets/index.d.ts +1 -1
- package/dist/components/widgets/tags.d.ts +10 -8
- package/dist/contexts/index.d.ts +54 -13
- package/dist/forms/base.d.ts +12 -7
- package/dist/forms/required_fields.d.ts +12 -8
- package/dist/forms/users.d.ts +13 -5
- package/dist/hooks/useClickAway.d.ts +1 -1
- package/dist/hooks/useConfig.d.ts +17 -17
- package/dist/hooks/useCrudContext.d.ts +20 -1
- package/dist/hooks/useInput.d.ts +10 -7
- package/dist/hooks/useLocation.d.ts +2 -1
- package/dist/hooks/useMountedState.d.ts +1 -1
- package/dist/hooks/useRegistry.d.ts +61 -106
- package/dist/hooks/useRemoteField.d.ts +2 -1
- package/dist/hooks/useSetState.d.ts +1 -1
- package/dist/hooks/useVocabulary.d.ts +8 -1
- package/dist/index.d.ts +29 -29
- package/dist/lib/auth.d.ts +31 -31
- package/dist/lib/client.d.ts +59 -57
- package/dist/lib/helpers.d.ts +24 -24
- package/dist/lib/rest.d.ts +23 -22
- package/dist/lib/search.d.ts +2 -2
- package/dist/lib/search.test.d.ts +1 -1
- package/dist/lib/utils.d.ts +4 -3
- package/dist/lib/validators.d.ts +12 -12
- package/dist/locales/generic_messages.d.ts +370 -370
- package/dist/models/index.d.ts +17 -17
- package/dist/models/sharing.d.ts +12 -9
- package/dist/react-gmi.esm.js +3865 -3278
- package/dist/react-gmi.esm.js.map +1 -1
- package/dist/react-gmi.js +3864 -3276
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +3627 -3129
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +3867 -3280
- package/dist/react-gmi.umd.js.map +1 -1
- package/dist/reducers/guillotina.d.ts +29 -19
- package/dist/setupTests.d.ts +1 -1
- package/dist/types/global.d.ts +8 -0
- package/dist/types/guillotina.d.ts +121 -0
- package/dist/views/application.d.ts +13 -17
- package/dist/views/base.d.ts +5 -1
- package/dist/views/container.d.ts +1 -1
- package/dist/views/folder.d.ts +1 -1
- package/dist/views/groups.d.ts +3 -3
- package/dist/views/item.d.ts +1 -1
- package/dist/views/users.d.ts +3 -3
- package/package.json +13 -6
- package/dist/hooks/useAsync.d.ts +0 -3
- package/dist/hooks/useAsyncFn.d.ts +0 -5
|
@@ -1,20 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
children:
|
|
4
|
-
className?: string;
|
|
5
|
-
onSubmit?: () => void;
|
|
6
|
-
onReset?: () => void;
|
|
7
|
-
autoComplete?: string;
|
|
8
|
-
title
|
|
9
|
-
error
|
|
10
|
-
dataTest
|
|
11
|
-
}
|
|
12
|
-
export
|
|
13
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
value
|
|
4
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export function
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onConfirm:
|
|
13
|
-
|
|
14
|
-
}
|
|
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
|
-
|
|
2
|
-
current:
|
|
3
|
-
total:
|
|
4
|
-
doPaginate:
|
|
5
|
-
pager:
|
|
6
|
-
}
|
|
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(
|
|
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 @@
|
|
|
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
|
-
|
|
3
|
-
refresh:
|
|
4
|
-
reset:
|
|
5
|
-
}
|
|
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
|
-
|
|
2
|
-
principals:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
2
|
-
principals:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
2
|
-
roles:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
2
|
-
export function
|
|
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,9 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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 {};
|