ode-explorer 1.5.2 → 1.5.3-develop-rc.202412091521

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 (89) hide show
  1. package/dist/EcritureA-Romain-Orne.woff2 +0 -0
  2. package/dist/KGJuneBug.ttf +0 -0
  3. package/dist/OpenDyslexic.woff +0 -0
  4. package/dist/christmas.png +0 -0
  5. package/dist/circus.jpg +0 -0
  6. package/dist/desert.jpg +0 -0
  7. package/dist/hills.svg +360 -0
  8. package/dist/illu-blog.svg +1 -0
  9. package/dist/illu-collaborativewall.svg +1 -0
  10. package/dist/illu-empty-search-blog.svg +25 -0
  11. package/dist/illu-empty-search-blog2.svg +25 -0
  12. package/dist/illu-empty-search-collaborativewall.svg +25 -0
  13. package/dist/illu-empty-search-collaborativewall2.svg +25 -0
  14. package/dist/illu-empty-search-formulaire.svg +27 -0
  15. package/dist/illu-empty-search-formulaire2.svg +27 -0
  16. package/dist/illu-empty-search-forum.svg +25 -0
  17. package/dist/illu-empty-search-forum2.svg +25 -0
  18. package/dist/illu-empty-search-homeworks.svg +25 -0
  19. package/dist/illu-empty-search-homeworks2.svg +25 -0
  20. package/dist/illu-empty-search-wiki.svg +26 -0
  21. package/dist/illu-empty-search-wiki2.svg +26 -0
  22. package/dist/illu-empty-search.svg +62 -0
  23. package/dist/illu-empty-search2.svg +62 -0
  24. package/dist/illu-error.svg +60 -0
  25. package/dist/illu-exercizer.svg +1 -0
  26. package/dist/illu-mindmap.svg +1 -0
  27. package/dist/illu-no-content-in-folder.svg +31 -0
  28. package/dist/illu-pad.svg +1 -0
  29. package/dist/illu-scrapbook.svg +1 -0
  30. package/dist/illu-search.svg +1 -0
  31. package/dist/illu-timeline.svg +1 -0
  32. package/dist/illu-timelinegenerator.svg +1 -0
  33. package/dist/illu-trash.svg +1 -0
  34. package/dist/illu-wiki.svg +15 -0
  35. package/dist/image-library.svg +188 -0
  36. package/dist/image-library2.svg +188 -0
  37. package/dist/image-placeholder.png +0 -0
  38. package/dist/index.html +2 -1
  39. package/dist/index.js +236 -231
  40. package/dist/ocean.jpg +0 -0
  41. package/dist/panda.jpg +0 -0
  42. package/dist/screen-loading.gif +0 -0
  43. package/dist/sparkly.jpg +0 -0
  44. package/dist/style.css +1 -0
  45. package/dist/version.txt +1 -1
  46. package/lib/components/OnboardingModal.d.ts +1 -1
  47. package/lib/config/explorer.d.ts +1 -1
  48. package/lib/features/AccessControl/AccessControl.d.ts +1 -1
  49. package/lib/features/AccessControl/useAccessControl.d.ts +1 -1
  50. package/lib/features/ActionBar/Move/useMoveModal.d.ts +1 -1
  51. package/lib/features/ActionBar/Publish/PublishModal.d.ts +1 -1
  52. package/lib/features/ActionBar/Resource/ResourceModal.d.ts +1 -1
  53. package/lib/features/ActionBar/Share/ShareModal.d.ts +1 -1
  54. package/lib/features/ActionBar/useActionBar.d.ts +2 -2
  55. package/lib/features/List/DraggableCard.d.ts +1 -1
  56. package/lib/features/List/FolderCard.d.ts +2 -2
  57. package/lib/features/List/FoldersList.d.ts +1 -1
  58. package/lib/features/List/ResourceCard.d.ts +2 -2
  59. package/lib/features/List/ResourcesList.d.ts +1 -1
  60. package/lib/index.js +58529 -3
  61. package/lib/services/api/index.d.ts +14 -14
  62. package/lib/services/queries/actions.d.ts +1 -1
  63. package/lib/services/queries/index.d.ts +9 -9
  64. package/lib/services/resource/service.d.ts +1 -1
  65. package/lib/store/index.d.ts +2 -2
  66. package/lib/utils/getChildrenIds.d.ts +1 -1
  67. package/lib/utils/isResourceShared.d.ts +1 -1
  68. package/package.json +4 -5
  69. package/lib/ActionBarContainer.js +0 -312
  70. package/lib/AppAction.js +0 -35
  71. package/lib/DeleteModal.js +0 -46
  72. package/lib/DisableModal.js +0 -20
  73. package/lib/DraggableCard.js +0 -25
  74. package/lib/EmptyScreenApp.js +0 -40
  75. package/lib/EmptyScreenError.js +0 -12
  76. package/lib/EmptyScreenNoContentInFolder.js +0 -18
  77. package/lib/EmptyScreenSearch.js +0 -18
  78. package/lib/EmptyScreenTrash.js +0 -16
  79. package/lib/ExportModal.js +0 -47
  80. package/lib/FolderModal.js +0 -116
  81. package/lib/FoldersList.js +0 -104
  82. package/lib/Library.js +0 -36
  83. package/lib/MoveModal.js +0 -87
  84. package/lib/OnboardingModal.js +0 -5
  85. package/lib/PublishModal.js +0 -5
  86. package/lib/ResourceModal.js +0 -5
  87. package/lib/ResourcesList.js +0 -133
  88. package/lib/TrashModal.js +0 -20
  89. package/lib/index2.js +0 -1531
package/dist/version.txt CHANGED
@@ -1 +1 @@
1
- ode-explorer= 25/11/2024 16:35:19
1
+ ode-explorer= 09/12/2024 15:21:56
@@ -1,2 +1,2 @@
1
- import { OnboardingModal } from '@edifice-ui/react';
1
+ import { OnboardingModal } from '@edifice.io/react/modals';
2
2
  export default OnboardingModal;
@@ -1,4 +1,4 @@
1
- import { ResourceService, App, IAction, IFilter, IOrder, ResourceType } from 'edifice-ts-client';
1
+ import { ResourceService, App, IAction, IFilter, IOrder, ResourceType } from '@edifice.io/ts-client';
2
2
  export interface AppParams {
3
3
  /** Application code */
4
4
  app: App;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
- import { IAction, RightRole } from 'edifice-ts-client';
2
+ import { IAction, RightRole } from '@edifice.io/ts-client';
3
3
  import { IObjectWithRights } from './useAccessControl';
4
4
  interface AccessControlProps {
5
5
  roleExpected: RightRole | RightRole[];
@@ -1,4 +1,4 @@
1
- import { RightRole } from 'edifice-ts-client';
1
+ import { RightRole } from '@edifice.io/ts-client';
2
2
  export interface IObjectWithRights {
3
3
  rights: string[];
4
4
  }
@@ -2,7 +2,7 @@ interface ModalProps {
2
2
  onSuccess?: () => void;
3
3
  }
4
4
  export declare function useMoveModal({ onSuccess }: ModalProps): {
5
- treeData: import('@edifice-ui/react').TreeData;
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-ui/react';
1
+ import { PublishModal } from '@edifice.io/react/modals';
2
2
  export default PublishModal;
@@ -1,2 +1,2 @@
1
- import { ResourceModal } from '@edifice-ui/react';
1
+ import { ResourceModal } from '@edifice.io/react/modals';
2
2
  export default ResourceModal;
@@ -1,2 +1,2 @@
1
- import { ShareModal } from '@edifice-ui/react';
1
+ import { ShareModal } from '@edifice.io/react/modals';
2
2
  export default ShareModal;
@@ -1,8 +1,8 @@
1
- import { IAction } from 'edifice-ts-client';
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-ts-client').IResource | import('edifice-ts-client').IFolder)[];
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,4 +1,4 @@
1
- import { IWebApp } from 'edifice-ts-client';
1
+ import { IWebApp } from '@edifice.io/ts-client';
2
2
  export declare const DraggableCard: ({ app, type, name, }: {
3
3
  app?: IWebApp;
4
4
  type: "folder" | "resource";
@@ -1,5 +1,5 @@
1
- import { CardProps } from '@edifice-ui/react';
2
- import { ID, IWebApp } from 'edifice-ts-client';
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-ui/react';
2
- import { IResource, IWebApp } from 'edifice-ts-client';
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;