2023-10-02 10:46:09 +00:00
|
|
|
import BaseStyle from 'primevue/base/style';
|
|
|
|
|
|
|
|
const classes = {
|
|
|
|
root: ({ props }) => [`p-fileupload p-fileupload-${props.mode} p-component`],
|
2024-04-30 09:58:12 +00:00
|
|
|
header: 'p-fileupload-header',
|
|
|
|
chooseButton: 'p-fileupload-choose-button',
|
|
|
|
uploadButton: 'p-fileupload-upload-button',
|
|
|
|
clearButton: 'p-fileupload-clear-button',
|
2023-10-02 10:46:09 +00:00
|
|
|
content: 'p-fileupload-content',
|
2024-04-20 12:45:44 +00:00
|
|
|
fileList: 'p-fileupload-file-list',
|
2023-10-02 10:46:09 +00:00
|
|
|
file: 'p-fileupload-file',
|
2024-04-30 09:58:12 +00:00
|
|
|
fileThumbnail: 'p-fileupload-file-thumbnail',
|
|
|
|
fileInfo: 'p-fileupload-file-info',
|
2023-10-02 10:46:09 +00:00
|
|
|
fileName: 'p-fileupload-file-name',
|
|
|
|
fileSize: 'p-fileupload-file-size',
|
2024-04-30 09:58:12 +00:00
|
|
|
fileBadge: 'p-fileupload-file-badge',
|
|
|
|
fileActions: 'p-fileupload-file-actions',
|
|
|
|
fileRemoveButton: 'p-fileupload-file-remove-button'
|
2023-10-02 10:46:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default BaseStyle.extend({
|
|
|
|
name: 'fileupload',
|
|
|
|
classes
|
|
|
|
});
|