@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.
- package/app/themeProvider/ThemeProvider.d.ts +7 -0
- package/app/themeProvider/index.d.ts +1 -0
- package/components/CloseButton/CloseButton.d.ts +10 -0
- package/components/EmIcons/EmIcons.d.ts +14 -0
- package/components/FileContent/FileContent.d.ts +30 -0
- package/components/FileContent/GridView.d.ts +11 -0
- package/components/FileManagerApp/ActionsHeader.d.ts +14 -0
- package/components/FileManagerApp/FileManagerApp.d.ts +29 -0
- package/components/FileModals/FileModals.d.ts +37 -0
- package/components/FolderSidebar/FolderSidebar.d.ts +20 -0
- package/components/ImageAI/ImageAI.d.ts +4 -0
- package/components/ImageAI/SlideShowForImageAI/SlideShowForImageAI.d.ts +7 -0
- package/components/ImageAI/useImageAIGeneration/useImageAIGeneration.d.ts +2 -0
- package/components/ImageGif/ImageGif.d.ts +4 -0
- package/components/ImageStock/ImageStock.d.ts +4 -0
- package/components/LimitsCounter/LimitsCounter.d.ts +10 -0
- package/components/PixieEditor/PixieEditorIframe.d.ts +10 -0
- package/components/PixieEditor/index.d.ts +1 -0
- package/components/SearchInput/SearchInput.d.ts +8 -0
- package/components/SearchInput/index.d.ts +1 -0
- package/components/Tag/index.d.ts +11 -0
- package/components/UploadProgress/UploadProgress.d.ts +20 -0
- package/components/UploadProgress/index.d.ts +2 -0
- package/components/ViewModeToggle/ViewModeToggle.d.ts +9 -0
- package/components/index.d.ts +5 -0
- package/config/config.d.ts +5 -0
- package/config/usersConfigs/index.d.ts +26 -0
- package/constants/index.d.ts +11 -0
- package/debug-script.js +1 -0
- package/dev/index.d.ts +4 -0
- package/file-manager.css +1 -0
- package/file-manager.d.ts +46 -0
- package/file-manager.esm.js +2 -0
- package/file-manager.esm.js.map +1 -0
- package/file-manager.js +2 -0
- package/file-manager.js.LICENSE.txt +110 -0
- package/helpers/gtm.d.ts +16 -0
- package/hooks/core/context.d.ts +15 -0
- package/hooks/core/files/index.d.ts +4 -0
- package/hooks/core/files/useFilesAPI.d.ts +16 -0
- package/hooks/core/files/useFilesAPIHelpers.d.ts +18 -0
- package/hooks/core/files/useFilesModals.d.ts +20 -0
- package/hooks/core/files/useFilesSelection.d.ts +10 -0
- package/hooks/core/index.d.ts +11 -0
- package/hooks/core/temp/context.d.ts +0 -0
- package/hooks/core/types.d.ts +160 -0
- package/hooks/core/useFiles.d.ts +37 -0
- package/hooks/core/useFolderModals.d.ts +13 -0
- package/hooks/core/useFolders.d.ts +19 -0
- package/hooks/core/useModals.d.ts +17 -0
- package/hooks/core/useNavigation.d.ts +15 -0
- package/hooks/core/usePagination.d.ts +12 -0
- package/hooks/core/useSortAndFilter.d.ts +20 -0
- package/hooks/index.d.ts +5 -0
- package/hooks/useCustomIcons.d.ts +17 -0
- package/hooks/useFileActions.d.ts +21 -0
- package/hooks/useFileUpload.d.ts +16 -0
- package/hooks/useLastDirectory.d.ts +18 -0
- package/hooks/usePixieEditor.d.ts +15 -0
- package/hooks/useSidebarResize.d.ts +9 -0
- package/hooks/useViewMode.d.ts +7 -0
- package/i18n.d.ts +3 -0
- package/index.d.ts +13 -0
- package/index.html +141 -0
- package/loacal_module/pixie/dist/images/empty-canvas-bg.png +0 -0
- package/loacal_module/pixie/dist/pixie.es.js +2 -0
- package/loacal_module/pixie/dist/pixie.es.js.LICENSE.txt +86 -0
- package/loacal_module/pixie/dist/pixie.es.js.map +1 -0
- package/loacal_module/pixie/dist/pixie.umd.js +2 -0
- package/loacal_module/pixie/dist/pixie.umd.js.LICENSE.txt +116 -0
- package/loacal_module/pixie/dist/pixie.umd.js.map +1 -0
- package/mockServiceWorker.js +1 -0
- package/package.json +30 -0
- package/pixie-editor.html +187 -0
- package/shared/config.d.ts +13 -0
- package/shared/helpers/getParendFolderPath.d.ts +1 -0
- package/shared/helpers/index.d.ts +1 -0
- package/suppress-resize-observer-errors.js +1 -0
- package/test-pixie-loading.html +108 -0
- package/types.d.ts +379 -0
- package/utils/fileValidation.d.ts +34 -0
- package/utils/resizeObserverHandler.d.ts +6 -0
- package/utils/themeUtils.d.ts +17 -0
- 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;
|