2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/fileupload/)
|
|
|
|
*
|
|
|
|
* @module fileuploadstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum FileUploadClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-fileupload',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
header = 'p-fileupload-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the choose button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcChooseButton = 'p-fileupload-choose-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the upload button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcUploadButton = 'p-fileupload-upload-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the cancel button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcCancelButton = 'p-fileupload-cancel-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
content = 'p-fileupload-content',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
fileList = 'p-fileupload-file-list',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
file = 'p-fileupload-file',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file thumbnail element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
fileThumbnail = 'p-fileupload-file-thumbnail',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file info element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
fileInfo = 'p-fileupload-file-info',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file name element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
fileName = 'p-fileupload-file-name',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file size element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
fileSize = 'p-fileupload-file-size',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file badge element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFileBadge = 'p-fileupload-file-badge',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file actions element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
fileActions = 'p-fileupload-file-actions',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the file remove button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcFileRemoveButton = 'p-fileupload-file-remove-button'
|
|
|
|
}
|
|
|
|
|
2024-03-03 21:29:25 +00:00
|
|
|
export interface FileUploadStyle extends BaseStyle {}
|