ode-explorer 1.5.2 → 1.5.3-develop-rc.202412061134
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/EcritureA-Romain-Orne.woff2 +0 -0
- package/dist/KGJuneBug.ttf +0 -0
- package/dist/OpenDyslexic.woff +0 -0
- package/dist/christmas.png +0 -0
- package/dist/circus.jpg +0 -0
- package/dist/desert.jpg +0 -0
- package/dist/hills.svg +360 -0
- package/dist/illu-blog.svg +1 -0
- package/dist/illu-collaborativewall.svg +1 -0
- package/dist/illu-error.svg +60 -0
- package/dist/illu-exercizer.svg +1 -0
- package/dist/illu-mindmap.svg +1 -0
- package/dist/illu-no-content-in-folder.svg +31 -0
- package/dist/illu-pad.svg +1 -0
- package/dist/illu-scrapbook.svg +1 -0
- package/dist/illu-search.svg +1 -0
- package/dist/illu-timeline.svg +1 -0
- package/dist/illu-timelinegenerator.svg +1 -0
- package/dist/illu-trash.svg +1 -0
- package/dist/illu-wiki.svg +15 -0
- package/dist/image-library.svg +188 -0
- package/dist/image-library2.svg +188 -0
- package/dist/index.html +2 -1
- package/dist/index.js +236 -231
- package/dist/ocean.jpg +0 -0
- package/dist/panda.jpg +0 -0
- package/dist/sparkly.jpg +0 -0
- package/dist/style.css +1 -0
- package/dist/version.txt +1 -1
- package/lib/components/OnboardingModal.d.ts +1 -1
- package/lib/config/explorer.d.ts +1 -1
- package/lib/features/AccessControl/AccessControl.d.ts +1 -1
- package/lib/features/AccessControl/useAccessControl.d.ts +1 -1
- package/lib/features/ActionBar/Move/useMoveModal.d.ts +1 -1
- package/lib/features/ActionBar/Publish/PublishModal.d.ts +1 -1
- package/lib/features/ActionBar/Resource/ResourceModal.d.ts +1 -1
- package/lib/features/ActionBar/Share/ShareModal.d.ts +1 -1
- package/lib/features/ActionBar/useActionBar.d.ts +2 -2
- package/lib/features/List/DraggableCard.d.ts +1 -1
- package/lib/features/List/FolderCard.d.ts +2 -2
- package/lib/features/List/FoldersList.d.ts +1 -1
- package/lib/features/List/ResourceCard.d.ts +2 -2
- package/lib/features/List/ResourcesList.d.ts +1 -1
- package/lib/index.js +57525 -3
- package/lib/services/api/index.d.ts +14 -14
- package/lib/services/queries/actions.d.ts +1 -1
- package/lib/services/queries/index.d.ts +9 -9
- package/lib/services/resource/service.d.ts +1 -1
- package/lib/store/index.d.ts +2 -2
- package/lib/utils/getChildrenIds.d.ts +1 -1
- package/lib/utils/isResourceShared.d.ts +1 -1
- package/package.json +4 -5
- package/lib/ActionBarContainer.js +0 -312
- package/lib/AppAction.js +0 -35
- package/lib/DeleteModal.js +0 -46
- package/lib/DisableModal.js +0 -20
- package/lib/DraggableCard.js +0 -25
- package/lib/EmptyScreenApp.js +0 -40
- package/lib/EmptyScreenError.js +0 -12
- package/lib/EmptyScreenNoContentInFolder.js +0 -18
- package/lib/EmptyScreenSearch.js +0 -18
- package/lib/EmptyScreenTrash.js +0 -16
- package/lib/ExportModal.js +0 -47
- package/lib/FolderModal.js +0 -116
- package/lib/FoldersList.js +0 -104
- package/lib/Library.js +0 -36
- package/lib/MoveModal.js +0 -87
- package/lib/OnboardingModal.js +0 -5
- package/lib/PublishModal.js +0 -5
- package/lib/ResourceModal.js +0 -5
- package/lib/ResourcesList.js +0 -133
- package/lib/TrashModal.js +0 -20
- package/lib/index2.js +0 -1531
package/dist/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ode-explorer=
|
|
1
|
+
ode-explorer= 06/12/2024 11:35:03
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { OnboardingModal } from '@edifice
|
|
1
|
+
import { OnboardingModal } from '@edifice.io/react/modals';
|
|
2
2
|
export default OnboardingModal;
|
package/lib/config/explorer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { IAction, RightRole } from 'edifice
|
|
2
|
+
import { IAction, RightRole } from '@edifice.io/ts-client';
|
|
3
3
|
import { IObjectWithRights } from './useAccessControl';
|
|
4
4
|
interface AccessControlProps {
|
|
5
5
|
roleExpected: RightRole | RightRole[];
|
|
@@ -2,7 +2,7 @@ interface ModalProps {
|
|
|
2
2
|
onSuccess?: () => void;
|
|
3
3
|
}
|
|
4
4
|
export declare function useMoveModal({ onSuccess }: ModalProps): {
|
|
5
|
-
treeData: import('@edifice
|
|
5
|
+
treeData: import('@edifice.io/react').TreeData;
|
|
6
6
|
disableSubmit: boolean;
|
|
7
7
|
handleTreeItemSelect: (folderId: string) => void;
|
|
8
8
|
handleOnTreeItemUnfold: (nodeId: string) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PublishModal } from '@edifice
|
|
1
|
+
import { PublishModal } from '@edifice.io/react/modals';
|
|
2
2
|
export default PublishModal;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ResourceModal } from '@edifice
|
|
1
|
+
import { ResourceModal } from '@edifice.io/react/modals';
|
|
2
2
|
export default ResourceModal;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ShareModal } from '@edifice
|
|
1
|
+
import { ShareModal } from '@edifice.io/react/modals';
|
|
2
2
|
export default ShareModal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IAction } from 'edifice
|
|
1
|
+
import { IAction } from '@edifice.io/ts-client';
|
|
2
2
|
export default function useActionBar(): {
|
|
3
3
|
onRestore: () => Promise<void>;
|
|
4
4
|
actions: IAction[] | undefined;
|
|
5
|
-
selectedElement: (import('edifice
|
|
5
|
+
selectedElement: (import('@edifice.io/ts-client').IResource | import('@edifice.io/ts-client').IFolder)[];
|
|
6
6
|
currentFolderId: string | undefined;
|
|
7
7
|
overrideLabel: (action: IAction) => string;
|
|
8
8
|
handleClick: (action: IAction) => Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CardProps } from '@edifice
|
|
2
|
-
import { ID, IWebApp } from 'edifice
|
|
1
|
+
import { CardProps } from '@edifice.io/react';
|
|
2
|
+
import { ID, IWebApp } from '@edifice.io/ts-client';
|
|
3
3
|
export interface FolderCardProps extends Omit<CardProps, 'children'> {
|
|
4
4
|
/**
|
|
5
5
|
* IWeb App
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ISearchResults } from '@edifice.io/ts-client';
|
|
1
2
|
import { InfiniteData } from '@tanstack/react-query';
|
|
2
|
-
import { ISearchResults } from 'edifice-ts-client';
|
|
3
3
|
declare const FoldersList: ({ data, }: {
|
|
4
4
|
data: InfiniteData<ISearchResults> | undefined;
|
|
5
5
|
isFetching: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CardProps } from '@edifice
|
|
2
|
-
import { IResource, IWebApp } from 'edifice
|
|
1
|
+
import { CardProps } from '@edifice.io/react';
|
|
2
|
+
import { IResource, IWebApp } from '@edifice.io/ts-client';
|
|
3
3
|
type OmitChildren = Omit<CardProps, 'children'>;
|
|
4
4
|
export interface ResourceCardProps extends OmitChildren {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ISearchResults } from '@edifice.io/ts-client';
|
|
1
2
|
import { InfiniteData } from '@tanstack/react-query';
|
|
2
|
-
import { ISearchResults } from 'edifice-ts-client';
|
|
3
3
|
declare const ResourcesList: ({ data, fetchNextPage, }: {
|
|
4
4
|
data: InfiniteData<ISearchResults> | undefined;
|
|
5
5
|
isFetching: boolean;
|