"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.previewFileUploaderClassnames = exports.fileUploaderClassnames = exports.EXTENSIONS_IN_NEW_TAB = exports.VIEW_NEW_TAB_ERROR_MESSAGE = exports.UPLOAD_ERROR_MESSAGE = exports.ABORT_ERROR_MESSAGE = exports.ABORT_ERROR_CODE = exports.DEFAULT_FILE_STATUS = void 0;
const createUIKitClassname_1 = require("../utils/createUIKitClassname");
exports.DEFAULT_FILE_STATUS = {
    isLoading: false,
    isUploadError: false,
    isRestrictionError: false,
};
exports.ABORT_ERROR_CODE = 'ERR_CANCELED';
exports.ABORT_ERROR_MESSAGE = 'Загрузка прервана';
exports.UPLOAD_ERROR_MESSAGE = 'Ошибка загрузки';
exports.VIEW_NEW_TAB_ERROR_MESSAGE = 'Файл с таким расширением нельзя просмотреть в браузере.';
exports.EXTENSIONS_IN_NEW_TAB = ['jpg', 'jpeg', 'png', 'txt', 'pdf'];
exports.fileUploaderClassnames = {
    dropzone: (0, createUIKitClassname_1.createUIKitClassname)('file-uploader__dropzone'),
};
exports.previewFileUploaderClassnames = {
    dropzone: (0, createUIKitClassname_1.createUIKitClassname)('preview-file-uploader__dropzone'),
    details: (0, createUIKitClassname_1.createUIKitClassname)('preview-file-uploader__details'),
};
