UNPKG

@progress/kendo-angular-upload

Version:

Kendo UI Angular Upload Component

67 lines (66 loc) 3.88 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { NgModule } from '@angular/core'; import { KENDO_UPLOADS } from './directives'; import { ResizeBatchService } from '@progress/kendo-angular-common'; import { IconsService } from '@progress/kendo-angular-icons'; import { PopupService } from '@progress/kendo-angular-popup'; import * as i0 from "@angular/core"; import * as i1 from "./fileselect.component"; import * as i2 from "./templates/file-template.directive"; import * as i3 from "./templates/file-info-template.directive"; import * as i4 from "./localization/custom-messages.component"; import * as i5 from "./dropzone-external.directive"; import * as i6 from "./dropzone.component"; import * as i7 from "./upload.component"; import * as i8 from "./rendering/upload-action-buttons.component"; import * as i9 from "./rendering/upload-status-total.component"; // IMPORTANT: NgModule export kept for backwards compatibility /** * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) * definition for the Uploads components. * * @example * * ```ts-no-run * import { UploadsModule } from '@progress/kendo-angular-upload'; * * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; * import { NgModule } from '@angular/core'; * * import { AppComponent } from './app.component'; * * _@NgModule({ * declarations: [AppComponent], * imports: [BrowserModule, UploadsModule], * bootstrap: [AppComponent] * }) * export class AppModule {} * * platformBrowserDynamic().bootstrapModule(AppModule); * * ``` */ export class UploadsModule { static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: UploadsModule, imports: [i1.FileSelectComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent, i7.UploadComponent, i8.UploadActionButtonsComponent, i9.UploadStatusTotalComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent], exports: [i1.FileSelectComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent, i7.UploadComponent, i8.UploadActionButtonsComponent, i9.UploadStatusTotalComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent] }); static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadsModule, providers: [ IconsService, PopupService, ResizeBatchService ], imports: [i1.FileSelectComponent, i6.UploadDropZoneComponent, i7.UploadComponent, i9.UploadStatusTotalComponent, i6.UploadDropZoneComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadsModule, decorators: [{ type: NgModule, args: [{ exports: [...KENDO_UPLOADS], imports: [...KENDO_UPLOADS], providers: [ IconsService, PopupService, ResizeBatchService ] }] }] });