@progress/kendo-angular-upload
Version:
Kendo UI Angular Upload Component
45 lines (44 loc) • 1.91 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 { Messages } from './messages';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import * as i0 from "@angular/core";
/**
* Custom component messages override default component messages ([more information and example]({% slug globalization_upload %})).
*
* @example
* ```html
* <!-- Custom messages for FileSelect -->
* <kendo-fileselect>
* <kendo-fileselect-messages
* dropFilesHere="Drop your file here"
* select="Upload file">
* </kendo-fileselect-messages>
* </kendo-fileselect>
*
* <!-- Custom messages for Upload -->
* <kendo-upload>
* <kendo-upload-messages
* dropFilesHere="Drop your file here"
* fileStatusFailed="File upload failed"
* fileStatusSuccessful="File upload successful">
* </kendo-upload-messages>
* </kendo-upload>
*
* <!-- Custom messages for UploadDropZone -->
* <kendo-uploaddropzone>
* <kendo-uploaddropzone-messages
* externalDropFilesHere="Drag and your file here">
* </kendo-uploaddropzone-messages>
* </kendo-uploaddropzone>
* ```
*/
export declare class CustomMessagesComponent extends Messages {
protected service: LocalizationService;
protected get override(): boolean;
constructor(service: LocalizationService);
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages", never, {}, {}, never, never, true, never>;
}