@guillotinaweb/react-gmi 0.18.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.
- package/CHANGELOG.md +210 -0
- package/LICENSE +23 -0
- package/README.md +126 -0
- package/dist/actions/add_item.d.ts +1 -0
- package/dist/actions/change_pass.d.ts +1 -0
- package/dist/actions/copy_item.d.ts +1 -0
- package/dist/actions/copy_items.d.ts +1 -0
- package/dist/actions/index.d.ts +2 -0
- package/dist/actions/move_item.d.ts +1 -0
- package/dist/actions/move_items.d.ts +1 -0
- package/dist/actions/remove_item.d.ts +1 -0
- package/dist/actions/remove_items.d.ts +1 -0
- package/dist/components/Link.d.ts +6 -0
- package/dist/components/TdLink.d.ts +5 -0
- package/dist/components/behavior_view.d.ts +5 -0
- package/dist/components/behaviors/iattachment.d.ts +4 -0
- package/dist/components/behaviors/idublincore.d.ts +4 -0
- package/dist/components/behaviors/imultiattachment.d.ts +4 -0
- package/dist/components/context_toolbar.d.ts +5 -0
- package/dist/components/error_boundary.d.ts +5 -0
- package/dist/components/error_zone.d.ts +13 -0
- package/dist/components/fields/downloadField.d.ts +3 -0
- package/dist/components/fields/editComponent.d.ts +2 -0
- package/dist/components/fields/editableField.d.ts +10 -0
- package/dist/components/fields/renderField.d.ts +4 -0
- package/dist/components/flash.d.ts +1 -0
- package/dist/components/guillotina.d.ts +4 -0
- package/dist/components/index.d.ts +48 -0
- package/dist/components/input/button.d.ts +10 -0
- package/dist/components/input/checkbox.d.ts +17 -0
- package/dist/components/input/dropdown.d.ts +10 -0
- package/dist/components/input/email.d.ts +5 -0
- package/dist/components/input/form.d.ts +20 -0
- package/dist/components/input/form_builder.d.ts +12 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/input.d.ts +1 -0
- package/dist/components/input/input_list.d.ts +1 -0
- package/dist/components/input/password.d.ts +4 -0
- package/dist/components/input/search_input.d.ts +25 -0
- package/dist/components/input/select.d.ts +1 -0
- package/dist/components/input/textarea.d.ts +1 -0
- package/dist/components/input/upload.d.ts +5 -0
- package/dist/components/item.d.ts +13 -0
- package/dist/components/layout.d.ts +5 -0
- package/dist/components/login.d.ts +14 -0
- package/dist/components/modal.d.ts +14 -0
- package/dist/components/notallowed.d.ts +1 -0
- package/dist/components/notfound.d.ts +1 -0
- package/dist/components/pagination.d.ts +6 -0
- package/dist/components/panel/actions.d.ts +24 -0
- package/dist/components/panel/addons.d.ts +1 -0
- package/dist/components/panel/behaviors.d.ts +1 -0
- package/dist/components/panel/index.d.ts +1 -0
- package/dist/components/panel/items.d.ts +1 -0
- package/dist/components/panel/permissions.d.ts +5 -0
- package/dist/components/panel/permissions_prinperm.d.ts +6 -0
- package/dist/components/panel/permissions_prinrole.d.ts +6 -0
- package/dist/components/panel/permissions_roleperm.d.ts +6 -0
- package/dist/components/panel/properties.d.ts +1 -0
- package/dist/components/panel/requester.d.ts +1 -0
- package/dist/components/path.d.ts +1 -0
- package/dist/components/properties_view.d.ts +2 -0
- package/dist/components/searchLabels.d.ts +1 -0
- package/dist/components/selected_items_actions.d.ts +32 -0
- package/dist/components/tabs.d.ts +11 -0
- package/dist/components/ui/delete.d.ts +5 -0
- package/dist/components/ui/icon.d.ts +5 -0
- package/dist/components/ui/index.d.ts +6 -0
- package/dist/components/ui/loading.d.ts +3 -0
- package/dist/components/ui/notification.d.ts +4 -0
- package/dist/components/ui/table.d.ts +5 -0
- package/dist/components/ui/tag.d.ts +6 -0
- package/dist/components/widgets/index.d.ts +1 -0
- package/dist/components/widgets/tags.d.ts +8 -0
- package/dist/contexts/index.d.ts +13 -0
- package/dist/css/style.css +7792 -0
- package/dist/forms/base.d.ts +7 -0
- package/dist/forms/required_fields.d.ts +8 -0
- package/dist/forms/users.d.ts +5 -0
- package/dist/hooks/useAsync.d.ts +1 -0
- package/dist/hooks/useAsyncFn.d.ts +3 -0
- package/dist/hooks/useClickAway.d.ts +1 -0
- package/dist/hooks/useConfig.d.ts +15 -0
- package/dist/hooks/useCrudContext.d.ts +1 -0
- package/dist/hooks/useInput.d.ts +7 -0
- package/dist/hooks/useLocation.d.ts +1 -0
- package/dist/hooks/useMountedState.d.ts +1 -0
- package/dist/hooks/useRegistry.d.ts +90 -0
- package/dist/hooks/useRemoteField.d.ts +1 -0
- package/dist/hooks/useSetState.d.ts +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/lib/auth.d.ts +31 -0
- package/dist/lib/client.d.ts +49 -0
- package/dist/lib/helpers.d.ts +7 -0
- package/dist/lib/rest.d.ts +21 -0
- package/dist/lib/search.d.ts +2 -0
- package/dist/lib/search.test.d.ts +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/validators.d.ts +12 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/sharing.d.ts +9 -0
- package/dist/react-gmi.esm.js +7521 -0
- package/dist/react-gmi.esm.js.map +1 -0
- package/dist/react-gmi.js +7658 -0
- package/dist/react-gmi.js.map +1 -0
- package/dist/react-gmi.modern.js +6163 -0
- package/dist/react-gmi.modern.js.map +1 -0
- package/dist/react-gmi.umd.js +7660 -0
- package/dist/react-gmi.umd.js.map +1 -0
- package/dist/reducers/guillotina.d.ts +19 -0
- package/dist/setupTests.d.ts +1 -0
- package/dist/views/application.d.ts +5 -0
- package/dist/views/base.d.ts +1 -0
- package/dist/views/container.d.ts +1 -0
- package/dist/views/folder.d.ts +1 -0
- package/dist/views/groups.d.ts +3 -0
- package/dist/views/item.d.ts +1 -0
- package/dist/views/users.d.ts +3 -0
- package/package.json +78 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function Item({ item, icon }: {
|
|
2
|
+
item: any;
|
|
3
|
+
icon: any;
|
|
4
|
+
}): any;
|
|
5
|
+
export function RItem({ item, search, columns }: {
|
|
6
|
+
item: any;
|
|
7
|
+
search: any;
|
|
8
|
+
columns: any;
|
|
9
|
+
}): any;
|
|
10
|
+
export function ItemTitle({ title, actions }: {
|
|
11
|
+
title: any;
|
|
12
|
+
actions: any;
|
|
13
|
+
}): any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class Login {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
state: {
|
|
4
|
+
username: string;
|
|
5
|
+
password: string;
|
|
6
|
+
loading: any;
|
|
7
|
+
schema: string;
|
|
8
|
+
errors: any;
|
|
9
|
+
};
|
|
10
|
+
ref: any;
|
|
11
|
+
doLogin: (ev: any) => Promise<void>;
|
|
12
|
+
componentDidMount(): void;
|
|
13
|
+
render(): any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export function Modal(props: any): any;
|
|
2
|
+
export function Confirm({ message, onCancel, onConfirm, loading }: {
|
|
3
|
+
message: any;
|
|
4
|
+
onCancel: any;
|
|
5
|
+
onConfirm: any;
|
|
6
|
+
loading: any;
|
|
7
|
+
}): any;
|
|
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
|
+
}): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function NotAllowed(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function NotFound(): any;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function PanelActions(): any;
|
|
2
|
+
export namespace ACTIONS_OBJECT {
|
|
3
|
+
namespace DELETE {
|
|
4
|
+
const text: string;
|
|
5
|
+
const perms: string[];
|
|
6
|
+
const action: string;
|
|
7
|
+
}
|
|
8
|
+
namespace MOVE {
|
|
9
|
+
const text_1: string;
|
|
10
|
+
export { text_1 as text };
|
|
11
|
+
const perms_1: string[];
|
|
12
|
+
export { perms_1 as perms };
|
|
13
|
+
const action_1: string;
|
|
14
|
+
export { action_1 as action };
|
|
15
|
+
}
|
|
16
|
+
namespace COPY {
|
|
17
|
+
const text_2: string;
|
|
18
|
+
export { text_2 as text };
|
|
19
|
+
const perms_2: string[];
|
|
20
|
+
export { perms_2 as perms };
|
|
21
|
+
const action_2: string;
|
|
22
|
+
export { action_2 as action };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function PanelAddons(props: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function PanelBehaviors(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function PanelItems(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function PanelProperties(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function PanelRequester(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function Path(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function SearchLabels(props: any): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function ItemsActionsProvider({ items, children }: {
|
|
2
|
+
items: any;
|
|
3
|
+
children: any;
|
|
4
|
+
}): any;
|
|
5
|
+
export function AllItemsCheckbox(): any;
|
|
6
|
+
export function ItemCheckbox({ item }: {
|
|
7
|
+
item: any;
|
|
8
|
+
}): any;
|
|
9
|
+
export function ItemsActionsDropdown(): any;
|
|
10
|
+
export namespace actions {
|
|
11
|
+
namespace DELETE {
|
|
12
|
+
const text: string;
|
|
13
|
+
const perms: string[];
|
|
14
|
+
const action: string;
|
|
15
|
+
}
|
|
16
|
+
namespace MOVE {
|
|
17
|
+
const text_1: string;
|
|
18
|
+
export { text_1 as text };
|
|
19
|
+
const perms_1: string[];
|
|
20
|
+
export { perms_1 as perms };
|
|
21
|
+
const action_1: string;
|
|
22
|
+
export { action_1 as action };
|
|
23
|
+
}
|
|
24
|
+
namespace COPY {
|
|
25
|
+
const text_2: string;
|
|
26
|
+
export { text_2 as text };
|
|
27
|
+
const perms_2: string[];
|
|
28
|
+
export { perms_2 as perms };
|
|
29
|
+
const action_2: string;
|
|
30
|
+
export { action_2 as action };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function TabsPanel({ tabs, currentTab, rightToolbar, fallback, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
tabs: any;
|
|
4
|
+
currentTab: any;
|
|
5
|
+
rightToolbar: any;
|
|
6
|
+
fallback?: typeof FallbackTab;
|
|
7
|
+
}): any;
|
|
8
|
+
declare function FallbackTab({ title }: {
|
|
9
|
+
title: any;
|
|
10
|
+
}): any;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./tags";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function TraversalProvider({ children, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
children: any;
|
|
4
|
+
}): any;
|
|
5
|
+
export function useTraversal(): any;
|
|
6
|
+
export function ClientProvider({ children, client }: {
|
|
7
|
+
children: any;
|
|
8
|
+
client: any;
|
|
9
|
+
}): any;
|
|
10
|
+
export function useGuillotinaClient(): any;
|
|
11
|
+
export const AuthContext: any;
|
|
12
|
+
export const ClientContext: any;
|
|
13
|
+
export const TraversalContext: any;
|