UNPKG

@arudovwen/react-form-builder

Version:
38 lines (37 loc) 2.52 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FileTypes = void 0; /* eslint-disable import/prefer-default-export */ const FileTypes = exports.FileTypes = [{ type: ['image/jpeg', 'image/png', 'image/gif', 'image/webp', 'image/svg+xml', 'image/bmp', 'image/tiff', 'image/x-icon', 'image/heic', 'application/pdf', 'application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-powerpoint', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'video/mp4', 'video/x-m4v', 'video/*', 'text/csv'].join(', '), typeName: 'General File Types' }, { type: ['image/jpeg', 'image/png', 'image/gif', 'image/webp', 'image/svg+xml', 'image/bmp', 'image/tiff', 'image/x-icon', 'image/heic', 'application/pdf', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'text/csv'].join(', '), typeName: 'Image, PDF, Excel & CSV' }, { type: ['image/jpeg', 'image/png', 'image/gif', 'image/webp', 'image/svg+xml', 'image/bmp', 'image/tiff', 'image/x-icon', 'image/heic', 'application/pdf'].join(', '), typeName: 'Image & PDF' }, { type: ['application/pdf', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'text/csv'].join(', '), typeName: 'PDF, Excel & CSV' }, { type: ['image/jpeg', 'image/png', 'image/gif', 'image/webp', 'image/svg+xml', 'image/bmp', 'image/tiff', 'image/x-icon', 'image/heic'].join(', '), typeName: 'Image' }, { type: 'application/pdf', typeName: 'PDF' }, { type: ['application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'].join(', '), typeName: 'Word' }, { type: ['application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'].join(', '), typeName: 'Excel' }, { type: ['application/vnd.ms-powerpoint', 'application/vnd.openxmlformats-officedocument.presentationml.presentation'].join(', '), typeName: 'PowerPoint' }, { type: ['video/mp4', 'video/x-m4v', 'video/*'].join(', '), typeName: 'Videos' }];