@emailmaker/filemanager 0.0.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.
Files changed (84) hide show
  1. package/app/themeProvider/ThemeProvider.d.ts +7 -0
  2. package/app/themeProvider/index.d.ts +1 -0
  3. package/components/CloseButton/CloseButton.d.ts +10 -0
  4. package/components/EmIcons/EmIcons.d.ts +14 -0
  5. package/components/FileContent/FileContent.d.ts +30 -0
  6. package/components/FileContent/GridView.d.ts +11 -0
  7. package/components/FileManagerApp/ActionsHeader.d.ts +14 -0
  8. package/components/FileManagerApp/FileManagerApp.d.ts +29 -0
  9. package/components/FileModals/FileModals.d.ts +37 -0
  10. package/components/FolderSidebar/FolderSidebar.d.ts +20 -0
  11. package/components/ImageAI/ImageAI.d.ts +4 -0
  12. package/components/ImageAI/SlideShowForImageAI/SlideShowForImageAI.d.ts +7 -0
  13. package/components/ImageAI/useImageAIGeneration/useImageAIGeneration.d.ts +2 -0
  14. package/components/ImageGif/ImageGif.d.ts +4 -0
  15. package/components/ImageStock/ImageStock.d.ts +4 -0
  16. package/components/LimitsCounter/LimitsCounter.d.ts +10 -0
  17. package/components/PixieEditor/PixieEditorIframe.d.ts +10 -0
  18. package/components/PixieEditor/index.d.ts +1 -0
  19. package/components/SearchInput/SearchInput.d.ts +8 -0
  20. package/components/SearchInput/index.d.ts +1 -0
  21. package/components/Tag/index.d.ts +11 -0
  22. package/components/UploadProgress/UploadProgress.d.ts +20 -0
  23. package/components/UploadProgress/index.d.ts +2 -0
  24. package/components/ViewModeToggle/ViewModeToggle.d.ts +9 -0
  25. package/components/index.d.ts +5 -0
  26. package/config/config.d.ts +5 -0
  27. package/config/usersConfigs/index.d.ts +26 -0
  28. package/constants/index.d.ts +11 -0
  29. package/debug-script.js +1 -0
  30. package/dev/index.d.ts +4 -0
  31. package/file-manager.css +1 -0
  32. package/file-manager.d.ts +46 -0
  33. package/file-manager.esm.js +2 -0
  34. package/file-manager.esm.js.map +1 -0
  35. package/file-manager.js +2 -0
  36. package/file-manager.js.LICENSE.txt +110 -0
  37. package/helpers/gtm.d.ts +16 -0
  38. package/hooks/core/context.d.ts +15 -0
  39. package/hooks/core/files/index.d.ts +4 -0
  40. package/hooks/core/files/useFilesAPI.d.ts +16 -0
  41. package/hooks/core/files/useFilesAPIHelpers.d.ts +18 -0
  42. package/hooks/core/files/useFilesModals.d.ts +20 -0
  43. package/hooks/core/files/useFilesSelection.d.ts +10 -0
  44. package/hooks/core/index.d.ts +11 -0
  45. package/hooks/core/temp/context.d.ts +0 -0
  46. package/hooks/core/types.d.ts +160 -0
  47. package/hooks/core/useFiles.d.ts +37 -0
  48. package/hooks/core/useFolderModals.d.ts +13 -0
  49. package/hooks/core/useFolders.d.ts +19 -0
  50. package/hooks/core/useModals.d.ts +17 -0
  51. package/hooks/core/useNavigation.d.ts +15 -0
  52. package/hooks/core/usePagination.d.ts +12 -0
  53. package/hooks/core/useSortAndFilter.d.ts +20 -0
  54. package/hooks/index.d.ts +5 -0
  55. package/hooks/useCustomIcons.d.ts +17 -0
  56. package/hooks/useFileActions.d.ts +21 -0
  57. package/hooks/useFileUpload.d.ts +16 -0
  58. package/hooks/useLastDirectory.d.ts +18 -0
  59. package/hooks/usePixieEditor.d.ts +15 -0
  60. package/hooks/useSidebarResize.d.ts +9 -0
  61. package/hooks/useViewMode.d.ts +7 -0
  62. package/i18n.d.ts +3 -0
  63. package/index.d.ts +13 -0
  64. package/index.html +141 -0
  65. package/loacal_module/pixie/dist/images/empty-canvas-bg.png +0 -0
  66. package/loacal_module/pixie/dist/pixie.es.js +2 -0
  67. package/loacal_module/pixie/dist/pixie.es.js.LICENSE.txt +86 -0
  68. package/loacal_module/pixie/dist/pixie.es.js.map +1 -0
  69. package/loacal_module/pixie/dist/pixie.umd.js +2 -0
  70. package/loacal_module/pixie/dist/pixie.umd.js.LICENSE.txt +116 -0
  71. package/loacal_module/pixie/dist/pixie.umd.js.map +1 -0
  72. package/mockServiceWorker.js +1 -0
  73. package/package.json +30 -0
  74. package/pixie-editor.html +187 -0
  75. package/shared/config.d.ts +13 -0
  76. package/shared/helpers/getParendFolderPath.d.ts +1 -0
  77. package/shared/helpers/index.d.ts +1 -0
  78. package/suppress-resize-observer-errors.js +1 -0
  79. package/test-pixie-loading.html +108 -0
  80. package/types.d.ts +379 -0
  81. package/utils/fileValidation.d.ts +34 -0
  82. package/utils/resizeObserverHandler.d.ts +6 -0
  83. package/utils/themeUtils.d.ts +17 -0
  84. package/widgets/layout/errorBoundary/errorBoundary.d.ts +19 -0
@@ -0,0 +1,46 @@
1
+ import type { Config, CustomIcons, File, FileManagerDataProviders } from './types';
2
+ import 'antd/dist/reset.css';
3
+ import './styles/index.scss';
4
+ export declare const FileManagerAppWithContext: (props: FileManagerAppProps) => import("react/jsx-runtime").JSX.Element;
5
+ export interface Options {
6
+ element: HTMLElement;
7
+ config?: Config;
8
+ currentPath?: string;
9
+ onPathChange?: (path: string[]) => void;
10
+ searchQuery?: string;
11
+ sortBySize?: string;
12
+ apiEndpoints?: {
13
+ getFolders?: string;
14
+ getFiles?: string;
15
+ createFolder?: string;
16
+ addFile?: string;
17
+ deleteFile?: string;
18
+ renameFile?: string;
19
+ moveFile?: string;
20
+ };
21
+ }
22
+ export interface FileManagerAppProps {
23
+ publicPath?: string;
24
+ config?: Config;
25
+ currentPath?: string;
26
+ onPathChange?: (path: string[]) => void;
27
+ onChangeSelection?: (files: File[]) => void;
28
+ searchQuery?: string;
29
+ sortBySize?: string;
30
+ dataProviders?: FileManagerDataProviders;
31
+ apiEndpoints?: {
32
+ getFolders?: string;
33
+ getFiles?: string;
34
+ createFolder?: string;
35
+ deleteFolder?: string;
36
+ addFile?: string;
37
+ deleteFile?: string;
38
+ renameFile?: string;
39
+ moveFile?: string;
40
+ updateFile?: string;
41
+ };
42
+ customIcons?: CustomIcons;
43
+ dragDropIcon?: string;
44
+ }
45
+ export declare const init: (containerOrOptions: HTMLElement | Options, config?: Config) => void;
46
+ export declare const unmount: (container: HTMLElement) => void;