UNPKG

wlpacks-ontimize-web-ngx-filemanager

Version:
18 lines (17 loc) 769 B
import { IFileService, OFileItem, OFileUploader, OFormComponent } from 'wlpacks-ontimize-web-ngx'; import { FileManagerService } from '../../services/filemanager.service'; export declare class OFileUploaderExtended extends OFileUploader { protected form: OFormComponent; protected workspaceKey: string; parentKey: string; protected filemanagerService: FileManagerService; protected parentItem: any; constructor(service: IFileService, entity: string, form: OFormComponent, workspaceKey: string, parentKey: string, filemanagerService: any); setParentItem(val: any): void; getParentItem(): any; /** * Uploads a single file on a single request. * @param item the file to upload */ uploadItem(item: OFileItem): void; }