@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 +1 @@
|
|
|
1
|
-
export function ChangePassword(
|
|
1
|
+
export declare function ChangePassword(): import("react/jsx-runtime").JSX.Element;
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './add_item';
|
|
2
|
+
export * from './remove_items';
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ItemModel } from '../models';
|
|
3
|
+
interface Props {
|
|
4
|
+
aRef?: React.Ref<HTMLAnchorElement>;
|
|
5
|
+
model: ItemModel;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function Link({ aRef, model, children, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ItemModel } from '../models';
|
|
3
|
+
import { IndexSignature } from '../types/global';
|
|
4
|
+
interface Props {
|
|
5
|
+
model: ItemModel;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
style?: IndexSignature;
|
|
8
|
+
}
|
|
9
|
+
export declare function TdLink({ model, children, style }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { GuillotinaCommonObject, GuillotinaSchema } from '../types/guillotina';
|
|
2
|
+
interface Props {
|
|
3
|
+
context: GuillotinaCommonObject;
|
|
4
|
+
schema: GuillotinaSchema;
|
|
5
|
+
}
|
|
6
|
+
export declare function BehaviorsView({ context, schema }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function BehaviorNotImplemented(): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { GuillotinaFile, GuillotinaSchemaProperties } from '../../types/guillotina';
|
|
2
|
+
interface Props {
|
|
3
|
+
properties: GuillotinaSchemaProperties;
|
|
4
|
+
values: {
|
|
5
|
+
file: GuillotinaFile;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function IAttachment({ properties, values }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
properties:
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
interface Props {
|
|
2
|
+
properties: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
values: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function IDublinCore({ properties, values }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { GuillotinaFile, GuillotinaSchemaProperties } from '../../types/guillotina';
|
|
2
|
+
interface Props {
|
|
3
|
+
properties: GuillotinaSchemaProperties;
|
|
4
|
+
values: {
|
|
5
|
+
image: GuillotinaFile;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function IImageAttachment({ properties, values }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { GuillotinaFile, GuillotinaSchemaProperties } from '../../types/guillotina';
|
|
2
|
+
interface Props {
|
|
3
|
+
properties: GuillotinaSchemaProperties;
|
|
4
|
+
values: {
|
|
5
|
+
files: {
|
|
6
|
+
[key: string]: GuillotinaFile;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function IMultiAttachment({ properties, values }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { GuillotinaFile, GuillotinaSchemaProperties } from '../../types/guillotina';
|
|
2
|
+
interface Props {
|
|
3
|
+
properties: GuillotinaSchemaProperties;
|
|
4
|
+
values: {
|
|
5
|
+
images: {
|
|
6
|
+
[key: string]: GuillotinaFile;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function IMultiImageAttachment({ properties, values }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { GuillotinaFile, GuillotinaSchemaProperties } from '../../types/guillotina';
|
|
2
|
+
interface Props {
|
|
3
|
+
properties: GuillotinaSchemaProperties;
|
|
4
|
+
values: {
|
|
5
|
+
images: GuillotinaFile[];
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function IMultiImageOrderedAttachment({ properties, values }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function IWorkflow(): JSX.Element;
|
|
1
|
+
export declare function IWorkflow(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export function
|
|
3
|
-
|
|
4
|
-
AddButton
|
|
5
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function CreateButton(): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
interface Props {
|
|
4
|
+
AddButton?: React.FC;
|
|
5
|
+
}
|
|
6
|
+
export declare function ContextToolbar({ AddButton }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
export declare const ErrorBoundary: React.ComponentType<{
|
|
4
|
+
intl: IntlShape;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}>;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
interface Props {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
id?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const ErrorZone: {
|
|
9
|
+
({ children, id, className }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
propTypes: {
|
|
11
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
12
|
+
id: PropTypes.Requireable<string>;
|
|
13
|
+
className: PropTypes.Requireable<string>;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default ErrorZone;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
value:
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
interface DownloadFieldProps {
|
|
2
|
+
value: {
|
|
3
|
+
data: {
|
|
4
|
+
filename: string;
|
|
5
|
+
content_type: string;
|
|
6
|
+
};
|
|
7
|
+
field: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const DownloadField: ({ value }: DownloadFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GuillotinaItemsProperty } from '../../types/guillotina';
|
|
3
|
+
interface Props {
|
|
4
|
+
schema: GuillotinaItemsProperty;
|
|
5
|
+
val: any;
|
|
6
|
+
setValue: (value: any) => void;
|
|
7
|
+
dataTest?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const EditComponent: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
|
|
14
|
+
export default EditComponent;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
field:
|
|
3
|
-
value: any;
|
|
4
|
-
ns
|
|
5
|
-
schema?: any;
|
|
6
|
-
modifyContent
|
|
7
|
-
required
|
|
8
|
-
}
|
|
1
|
+
interface Props {
|
|
2
|
+
field: string;
|
|
3
|
+
value: any;
|
|
4
|
+
ns?: string;
|
|
5
|
+
schema?: any;
|
|
6
|
+
modifyContent?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function EditableField({ field, value, ns, schema, modifyContent, required, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}):
|
|
12
|
-
|
|
13
|
-
schema:
|
|
14
|
-
value:
|
|
15
|
-
modifyContent:
|
|
16
|
-
}
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GuillotinaSchemaProperty } from '../../types/guillotina';
|
|
3
|
+
interface RenderFieldProps {
|
|
4
|
+
value: any;
|
|
5
|
+
Widget?: React.ComponentType<{
|
|
6
|
+
value: any;
|
|
7
|
+
schema: GuillotinaSchemaProperty;
|
|
8
|
+
}>;
|
|
9
|
+
schema?: GuillotinaSchemaProperty;
|
|
10
|
+
}
|
|
11
|
+
export declare function RenderField({ value, Widget, schema }: RenderFieldProps): any;
|
|
12
|
+
interface SearchRenderFieldProps {
|
|
13
|
+
schema: GuillotinaSchemaProperty;
|
|
14
|
+
value: string | string[];
|
|
15
|
+
modifyContent: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const SearchRenderField: ({ schema, value, modifyContent, }: SearchRenderFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
interface VocabularyRenderFieldProps {
|
|
19
|
+
schema: GuillotinaSchemaProperty;
|
|
20
|
+
value: string | string[];
|
|
21
|
+
modifyContent: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare const VocabularyRenderField: ({ schema, value, modifyContent, }: VocabularyRenderFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
interface RenderFieldComponentProps {
|
|
25
|
+
schema: GuillotinaSchemaProperty;
|
|
26
|
+
field: string;
|
|
27
|
+
val: any;
|
|
28
|
+
modifyContent?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare function RenderFieldComponent({ schema, field, val, modifyContent, }: RenderFieldComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function Flash(): JSX.Element;
|
|
1
|
+
export declare function Flash(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { IRegistry } from '../hooks/useRegistry';
|
|
2
|
+
import { Auth } from '../lib/auth';
|
|
3
|
+
import { IndexSignature } from '../types/global';
|
|
4
|
+
interface GuillotinaProps {
|
|
5
|
+
auth: Auth;
|
|
6
|
+
locale: string;
|
|
7
|
+
url: string;
|
|
8
|
+
config: IndexSignature;
|
|
9
|
+
registry: IRegistry;
|
|
10
|
+
}
|
|
11
|
+
export declare function Guillotina({ auth, locale, ...props }: GuillotinaProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export * from
|
|
42
|
-
export * from
|
|
43
|
-
export * from
|
|
44
|
-
export * from
|
|
45
|
-
export * from
|
|
46
|
-
export * from
|
|
47
|
-
export * from
|
|
48
|
-
export * from
|
|
49
|
-
export * from
|
|
50
|
-
export * from
|
|
51
|
-
export * from
|
|
52
|
-
export * from
|
|
53
|
-
export * from
|
|
54
|
-
export * from
|
|
1
|
+
export * from './input/button';
|
|
2
|
+
export * from './input/checkbox';
|
|
3
|
+
export * from './input/email';
|
|
4
|
+
export * from './input/form_builder';
|
|
5
|
+
export * from './input/form';
|
|
6
|
+
export * from './input/input';
|
|
7
|
+
export * from './input/password';
|
|
8
|
+
export * from './input/select';
|
|
9
|
+
export * from './input/upload';
|
|
10
|
+
export * from './input/textarea';
|
|
11
|
+
export * from './input/search_input';
|
|
12
|
+
export * from './input/input_list';
|
|
13
|
+
export * from './input/dropdown';
|
|
14
|
+
export * from './fields/editableField';
|
|
15
|
+
export * from './fields/renderField';
|
|
16
|
+
export * from './fields/downloadField';
|
|
17
|
+
export * from './fields/editComponent';
|
|
18
|
+
export * from './behaviors/iattachment';
|
|
19
|
+
export * from './behaviors/imultiattachment';
|
|
20
|
+
export * from './behaviors/iimageattachment';
|
|
21
|
+
export * from './behaviors/imultiimageattachment';
|
|
22
|
+
export * from './behaviors/imultiimageorderedattachment';
|
|
23
|
+
export * from './behaviors/iworkflow';
|
|
24
|
+
export * from './panel/actions';
|
|
25
|
+
export * from './panel/addons';
|
|
26
|
+
export * from './panel/behaviors';
|
|
27
|
+
export * from './panel/items';
|
|
28
|
+
export * from './panel/properties';
|
|
29
|
+
export * from './panel/permissions';
|
|
30
|
+
export * from './panel/permissions_prinperm';
|
|
31
|
+
export * from './panel/permissions_prinrole';
|
|
32
|
+
export * from './panel/permissions_roleperm';
|
|
33
|
+
export * from './ui';
|
|
34
|
+
export * from './widgets';
|
|
35
|
+
export * from './behavior_view';
|
|
36
|
+
export * from './properties_view';
|
|
37
|
+
export * from './context_toolbar';
|
|
38
|
+
export * from './error_zone';
|
|
39
|
+
export * from './flash';
|
|
40
|
+
export * from './guillotina';
|
|
41
|
+
export * from './item';
|
|
42
|
+
export * from './Link';
|
|
43
|
+
export * from './layout';
|
|
44
|
+
export * from './login';
|
|
45
|
+
export * from './modal';
|
|
46
|
+
export * from './notallowed';
|
|
47
|
+
export * from './pagination';
|
|
48
|
+
export * from './path';
|
|
49
|
+
export * from './search_labels';
|
|
50
|
+
export * from './search_options_labels';
|
|
51
|
+
export * from './search_vocabulary_labels';
|
|
52
|
+
export * from './tabs';
|
|
53
|
+
export * from './selected_items_actions';
|
|
54
|
+
export * from './TdLink';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
children:
|
|
4
|
-
className?: string;
|
|
5
|
-
onClick:
|
|
6
|
-
type?:
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
dataTest
|
|
10
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
type?: 'submit' | 'reset' | 'button';
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
dataTest?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const Button: ({ children, className, onClick, type, loading, disabled, dataTest, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
className?: string;
|
|
4
|
+
classNameInput?: string;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
backgroundColor?: string;
|
|
8
|
+
borderColor?: string;
|
|
9
|
+
dataTest?: string;
|
|
10
|
+
onChange: (value: boolean) => void;
|
|
11
|
+
id?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
checked?: boolean;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const Checkbox: ({ id, className, classNameInput, loading, disabled, indeterminate, checked, children, placeholder, onChange, dataTest, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
children:
|
|
4
|
-
disabled
|
|
5
|
-
id
|
|
6
|
-
isRight
|
|
7
|
-
onChange:
|
|
8
|
-
optionDisabledWhen: any;
|
|
9
|
-
options:
|
|
10
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
id?: string;
|
|
6
|
+
isRight?: boolean;
|
|
7
|
+
onChange: (value: string) => void;
|
|
8
|
+
optionDisabledWhen?: (option: any) => boolean;
|
|
9
|
+
options: {
|
|
10
|
+
text: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
}
|
|
14
|
+
export default function Dropdown({ children, disabled, id, isRight, onChange, optionDisabledWhen, options, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
interface Props {
|
|
2
|
+
value?: string;
|
|
3
|
+
dataTest?: string;
|
|
4
|
+
onChange?: (value: string) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const EmailInput: ({ value, dataTest, placeholder, id, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|