/*! * devextreme-angular * Version: 25.2.6 * Build date: Mon Mar 30 2026 * * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/DevExtreme */ import { TransferState, ElementRef, NgZone, OnDestroy, EventEmitter, OnChanges, DoCheck, SimpleChanges, QueryList } from '@angular/core'; import FileSystemItem from 'devextreme/file_management/file_system_item'; import { dxFileManagerContextMenu, dxFileManagerDetailsColumn, FileManagerItemViewMode, ContentReadyEvent, ContextMenuItemClickEvent, ContextMenuShowingEvent, CurrentDirectoryChangedEvent, DirectoryCreatedEvent, DirectoryCreatingEvent, DisposingEvent, ErrorOccurredEvent, FileUploadedEvent, FileUploadingEvent, FocusedItemChangedEvent, InitializedEvent, ItemCopiedEvent, ItemCopyingEvent, ItemDeletedEvent, ItemDeletingEvent, ItemDownloadingEvent, ItemMovedEvent, ItemMovingEvent, ItemRenamedEvent, ItemRenamingEvent, OptionChangedEvent, SelectedFileOpenedEvent, SelectionChangedEvent, ToolbarItemClickEvent, dxFileManagerToolbar } from 'devextreme/ui/file_manager'; import { SingleOrMultiple } from 'devextreme/common'; import DxFileManager from 'devextreme/ui/file_manager'; import { DxComponent, DxTemplateHost, NestedOptionHost, IterableDifferHelper, WatcherHelper, CollectionNestedOption } from 'devextreme-angular/core'; import type * as DxFileManagerTypes from "devextreme/ui/file_manager_types"; import * as i0 from "@angular/core"; import * as i1 from "devextreme-angular/ui/nested"; import * as i2 from "devextreme-angular/ui/file-manager/nested"; import * as i3 from "devextreme-angular/core"; /** * The FileManager is a UI component that allows users to upload, select, and manage files and directories in different file storages. */ export declare class DxFileManagerComponent extends DxComponent implements OnDestroy, OnChanges, DoCheck { private _watcherHelper; private _idh; set _columnsContentChildren(value: QueryList); set _itemsContentChildren(value: QueryList); set _fileSelectionItemsContentChildren(value: QueryList); instance: DxFileManager; /** * Specifies the shortcut key that sets focus on the UI component. */ get accessKey(): string | undefined; set accessKey(value: string | undefined); /** * Specifies whether the UI component changes its visual state as a result of user interaction. */ get activeStateEnabled(): boolean; set activeStateEnabled(value: boolean); /** * Specifies the allowed upload file extensions. */ get allowedFileExtensions(): Array; set allowedFileExtensions(value: Array); /** * Configures the context menu settings. */ get contextMenu(): dxFileManagerContextMenu; set contextMenu(value: dxFileManagerContextMenu); /** * Specifies the path that is used when the FileManager is initialized. */ get currentPath(): string; set currentPath(value: string); /** * Specifies an array of path keys to the current location. */ get currentPathKeys(): Array; set currentPathKeys(value: Array); /** * Customizes columns in details view. Applies only if itemView.mode is 'details'. */ get customizeDetailColumns(): ((columns: Array) => Array); set customizeDetailColumns(value: ((columns: Array) => Array)); /** * Allows you to provide custom icons to be used as thumbnails. */ get customizeThumbnail(): ((fileSystemItem: FileSystemItem) => string); set customizeThumbnail(value: ((fileSystemItem: FileSystemItem) => string)); /** * Specifies whether the UI component responds to user interaction. */ get disabled(): boolean; set disabled(value: boolean); /** * Specifies the global attributes to be attached to the UI component's container element. */ get elementAttr(): Record; set elementAttr(value: Record); /** * Specifies the file system provider. */ get fileSystemProvider(): any; set fileSystemProvider(value: any); /** * Specifies a key of the initially or currently focused item. */ get focusedItemKey(): string; set focusedItemKey(value: string); /** * Specifies whether the UI component can be focused using keyboard navigation. */ get focusStateEnabled(): boolean; set focusStateEnabled(value: boolean); /** * Specifies the UI component's height. */ get height(): number | string | undefined; set height(value: number | string | undefined); /** * Specifies text for a hint that appears when a user pauses on the UI component. */ get hint(): string | undefined; set hint(value: string | undefined); /** * Specifies whether the UI component changes its state when a user pauses on it. */ get hoverStateEnabled(): boolean; set hoverStateEnabled(value: boolean); /** * Configures the file and directory view. */ get itemView(): { details?: { columns?: Array; }; mode?: FileManagerItemViewMode; showFolders?: boolean; showParentFolder?: boolean; }; set itemView(value: { details?: { columns?: Array; }; mode?: FileManagerItemViewMode; showFolders?: boolean; showParentFolder?: boolean; }); /** * Configures notification settings. */ get notifications(): { showPanel?: boolean; showPopup?: boolean; }; set notifications(value: { showPanel?: boolean; showPopup?: boolean; }); /** * Specifies actions that a user is allowed to perform on files and directories. */ get permissions(): { copy?: boolean; create?: boolean; delete?: boolean; download?: boolean; move?: boolean; rename?: boolean; upload?: boolean; }; set permissions(value: { copy?: boolean; create?: boolean; delete?: boolean; download?: boolean; move?: boolean; rename?: boolean; upload?: boolean; }); /** * Specifies the root directory display name. */ get rootFolderName(): string; set rootFolderName(value: string); /** * Switches the UI component to a right-to-left representation. */ get rtlEnabled(): boolean; set rtlEnabled(value: boolean); /** * Contains an array of initially or currently selected files and directories' keys. */ get selectedItemKeys(): Array; set selectedItemKeys(value: Array); /** * Specifies whether a user can select a single or multiple files and directories in the item view simultaneously. */ get selectionMode(): SingleOrMultiple; set selectionMode(value: SingleOrMultiple); /** * Specifies the number of the element when the Tab key is used for navigating. */ get tabIndex(): number; set tabIndex(value: number); /** * Configures toolbar settings. */ get toolbar(): dxFileManagerToolbar; set toolbar(value: dxFileManagerToolbar); /** * Configures upload settings. */ get upload(): { chunkSize?: number; maxFileSize?: number; }; set upload(value: { chunkSize?: number; maxFileSize?: number; }); /** * Specifies whether the UI component is visible. */ get visible(): boolean; set visible(value: boolean); /** * Specifies the UI component's width. */ get width(): number | string | undefined; set width(value: number | string | undefined); /** * A function that is executed when the UI component is rendered and each time the component is repainted. */ onContentReady: EventEmitter; /** * A function that is executed when a context menu item is clicked. */ onContextMenuItemClick: EventEmitter; /** * A function that is executed before a context menu is displayed. */ onContextMenuShowing: EventEmitter; /** * A function that is executed when the current directory is changed. */ onCurrentDirectoryChanged: EventEmitter; /** * A function that is executed when a directory is created. */ onDirectoryCreated: EventEmitter; /** * A function that is executed before a directory is created. */ onDirectoryCreating: EventEmitter; /** * A function that is executed before the UI component is disposed of. */ onDisposing: EventEmitter; /** * A function that is executed when an error occurs. */ onErrorOccurred: EventEmitter; /** * A function that is executed when a file is successfully uploaded. */ onFileUploaded: EventEmitter; /** * A function that is executed before the file is uploaded. */ onFileUploading: EventEmitter; /** * A function that is executed when the focused item is changed. */ onFocusedItemChanged: EventEmitter; /** * A function used in JavaScript frameworks to save the UI component instance. */ onInitialized: EventEmitter; /** * A function that is executed when a file or directory is copied. */ onItemCopied: EventEmitter; /** * A function that is executed before a file or directory is copied. */ onItemCopying: EventEmitter; /** * A function that is executed when a file or directory is deleted. */ onItemDeleted: EventEmitter; /** * A function that is executed before a file or directory is deleted. */ onItemDeleting: EventEmitter; /** * A function that is executed before a file is downloaded. */ onItemDownloading: EventEmitter; /** * A function that is executed when a file or directory is moved. */ onItemMoved: EventEmitter; /** * A function that is executed before a file or directory is moved. */ onItemMoving: EventEmitter; /** * A function that is executed when a file or directory is renamed. */ onItemRenamed: EventEmitter; /** * A function that is executed before a file or directory is renamed. */ onItemRenaming: EventEmitter; /** * A function that is executed after a UI component property is changed. */ onOptionChanged: EventEmitter; /** * A function that is executed when the selected file is opened. */ onSelectedFileOpened: EventEmitter; /** * A function that is executed when a file system item is selected or selection is canceled. */ onSelectionChanged: EventEmitter; /** * A function that is executed when a toolbar item is clicked. */ onToolbarItemClick: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ accessKeyChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ activeStateEnabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ allowedFileExtensionsChange: EventEmitter>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ contextMenuChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ currentPathChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ currentPathKeysChange: EventEmitter>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ customizeDetailColumnsChange: EventEmitter<((columns: Array) => Array)>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ customizeThumbnailChange: EventEmitter<((fileSystemItem: FileSystemItem) => string)>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ disabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ elementAttrChange: EventEmitter>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ fileSystemProviderChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ focusedItemKeyChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ focusStateEnabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ heightChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ hintChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ hoverStateEnabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ itemViewChange: EventEmitter<{ details?: { columns?: Array; }; mode?: FileManagerItemViewMode; showFolders?: boolean; showParentFolder?: boolean; }>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ notificationsChange: EventEmitter<{ showPanel?: boolean; showPopup?: boolean; }>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ permissionsChange: EventEmitter<{ copy?: boolean; create?: boolean; delete?: boolean; download?: boolean; move?: boolean; rename?: boolean; upload?: boolean; }>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ rootFolderNameChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ rtlEnabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ selectedItemKeysChange: EventEmitter>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ selectionModeChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ tabIndexChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ toolbarChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ uploadChange: EventEmitter<{ chunkSize?: number; maxFileSize?: number; }>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ visibleChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ widthChange: EventEmitter; constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, _idh: IterableDifferHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any); protected _createInstance(element: any, options: any): DxFileManager; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; setupChanges(prop: string, changes: SimpleChanges): void; ngDoCheck(): void; _setOption(name: string, value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class DxFileManagerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export * from 'devextreme-angular/ui/file-manager/nested'; export { DxFileManagerTypes };