import { CoreModel } from '../core/core.model'; import { ButtonModel } from '../button/button.model'; export declare class FileUploaderModel extends CoreModel { /** *
It is an object of type Transfer with next properties:
*url: string
Path to server where the files be uploaded. Optional. Default: ''.
alias: string
File alias. Optional. Default: 'file'.
headers: Object
An object with header informations. Optional. Default: {{'{'}}{{'}'}}.
filters: FileFilter[]
A list of filters which are extend the default list. Optional. Default: [].
formData: Object[]
A list of data to be sent along with the files. Optional. Default: [].
autoUpload: boolean
Automatically upload new * files when they are adding to the queue. Optional. Default: false.
method: string
Request methode - HTML5 only. Optional. Default: 'POST'.
removeBySuccess: boolean
Remove file from queue * when upload was successfull. Optional. Default: false.
queueLimit: number
Limitation of files at the queue (-1 is unlimited). Optional. Default: -1.
enableCors: boolean
Activate CORS - HTML5 only. Optional. Default: false.
withCredentials: boolean
If to use credentials. Optional. Default: false.
uniqueFiles: boolean
To add only unique files to files list. Optional. Default: false.