@progress/kendo-angular-upload
Version:
Kendo UI Angular Upload Component
88 lines (87 loc) • 2.29 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { SVGIcon } from '@progress/kendo-angular-icons';
/**
* Calculates the total size of the files in KB or MB.
*/
export declare const getTotalFilesSizeMessage: Function;
/**
* @hidden
*/
export declare const validateInitialFileInfo: Function;
/**
* @hidden
*/
export declare const validateInitialFileSelectFile: Function;
/**
* @hidden
*/
export declare const getInitialFileInfo: Function;
/**
* @hidden
*/
export declare const convertFileToFileInfo: Function;
/**
* @hidden
*/
export declare const getAllFileInfo: Function;
/**
* @hidden
*/
export declare const fileHasValidationErrors: Function;
/**
* @hidden
*/
export declare const filesHaveValidationErrors: Function;
/**
* @hidden
*/
export declare const inputFiles: Function;
/**
* @hidden
*/
export declare const assignGuidToFiles: Function;
/**
* @hidden
*/
export declare const supportsFormData: Function;
/**
* @hidden
*/
export declare const userAgent: Function;
/**
* @hidden
*/
export declare const IGNORE_TARGET_CLASSES = "k-icon k-select k-input k-multiselect-wrap";
/**
* @hidden
*/
export declare const UPLOAD_CLASSES = "k-upload-button k-clear-selected k-upload-selected k-upload-action k-file";
/**
* @hidden
*/
export declare const hasClasses: (element: HTMLElement, classNames: string) => boolean;
/**
* @hidden
*/
export declare const isFocusable: Function;
/**
* @hidden
*/
export declare const getFileGroupCssClass: Function;
/**
* @hidden
*/
export declare const isPresent: (value: any) => boolean;
/**
* Matches the file extension with the corresponding SVG icon.
* @returns The SVG icon that corresponds to the file extension.
*/
export declare const fileSVGGroupIcon: (extension: string) => SVGIcon;
/**
* Matches the file extension with the corresponding CSS class.
* @returns The CSS class name that corresponds to the file extension.
*/
export declare const fileGroupClass: (extension: string) => string;