@progress/kendo-angular-upload 24.2.2 → 25.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/fesm2022/progress-kendo-angular-upload.mjs +86 -86
  2. package/index.d.ts +1994 -29
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +13 -13
  5. package/schematics/ngAdd/index.js +3 -3
  6. package/common/action-buttons-layout.d.ts +0 -8
  7. package/common/base.d.ts +0 -172
  8. package/common/fileselect-settings.d.ts +0 -50
  9. package/common/util.d.ts +0 -87
  10. package/common/validation-util.d.ts +0 -20
  11. package/directives.d.ts +0 -70
  12. package/dropzone-base.d.ts +0 -30
  13. package/dropzone-external.directive.d.ts +0 -48
  14. package/dropzone-internal.directive.d.ts +0 -35
  15. package/dropzone.component.d.ts +0 -64
  16. package/dropzone.service.d.ts +0 -18
  17. package/events/cancel-event.d.ts +0 -34
  18. package/events/clear-event.d.ts +0 -29
  19. package/events/error-event.d.ts +0 -46
  20. package/events/pause-event.d.ts +0 -37
  21. package/events/preventable-event.d.ts +0 -21
  22. package/events/remove-event.d.ts +0 -47
  23. package/events/resume-event.d.ts +0 -37
  24. package/events/select-event.d.ts +0 -35
  25. package/events/success-event.d.ts +0 -46
  26. package/events/upload-event.d.ts +0 -47
  27. package/events/upload-progress-event.d.ts +0 -39
  28. package/events.d.ts +0 -14
  29. package/file-select.directive.d.ts +0 -39
  30. package/fileselect.component.d.ts +0 -111
  31. package/fileselect.module.d.ts +0 -19
  32. package/localization/custom-messages.component.d.ts +0 -44
  33. package/localization/localized-messages.directive.d.ts +0 -16
  34. package/localization/messages.d.ts +0 -139
  35. package/navigation.service.d.ts +0 -43
  36. package/package-metadata.d.ts +0 -9
  37. package/rendering/file-list-item-action-button.component.d.ts +0 -40
  38. package/rendering/file-list-item-base.d.ts +0 -31
  39. package/rendering/file-list-item.d.ts +0 -35
  40. package/rendering/file-list-multiple-items.component.d.ts +0 -32
  41. package/rendering/file-list-single-item.component.d.ts +0 -31
  42. package/rendering/file-list.component.d.ts +0 -41
  43. package/rendering/upload-action-buttons.component.d.ts +0 -37
  44. package/rendering/upload-status-total.component.d.ts +0 -30
  45. package/templates/file-info-template.directive.d.ts +0 -30
  46. package/templates/file-template.directive.d.ts +0 -30
  47. package/types/async-settings.d.ts +0 -24
  48. package/types/chunk-info.d.ts +0 -25
  49. package/types/chunk-map.d.ts +0 -16
  50. package/types/chunk-metadata.d.ts +0 -34
  51. package/types/chunk-settings.d.ts +0 -33
  52. package/types/direction.d.ts +0 -8
  53. package/types/file-groups.d.ts +0 -45
  54. package/types/file-info.d.ts +0 -45
  55. package/types/file-map.d.ts +0 -26
  56. package/types/file-restrictions.d.ts +0 -25
  57. package/types/file-state.d.ts +0 -33
  58. package/types/operation-type.d.ts +0 -8
  59. package/types.d.ts +0 -11
  60. package/upload.component.d.ts +0 -298
  61. package/upload.module.d.ts +0 -21
  62. package/upload.service.d.ts +0 -85
  63. package/uploads.module.d.ts +0 -44
@@ -1,85 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { HttpClient } from '@angular/common/http';
6
- import { EventEmitter } from '@angular/core';
7
- import { AsyncSettings } from './types/async-settings';
8
- import { FileInfo } from './types';
9
- import { FileMap } from './types/file-map';
10
- import { CancelEvent, ClearEvent, ErrorEvent, PauseEvent, RemoveEvent, ResumeEvent, SelectEvent, SuccessEvent, UploadEvent, UploadProgressEvent } from './events';
11
- import { ChunkSettings } from './types';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * @hidden
15
- */
16
- export type ComponentType = 'FileSelect' | 'Upload';
17
- /**
18
- * @hidden
19
- */
20
- export declare class UploadService {
21
- private http;
22
- cancelEvent: EventEmitter<CancelEvent>;
23
- clearEvent: EventEmitter<ClearEvent>;
24
- completeEvent: EventEmitter<any>;
25
- errorEvent: EventEmitter<ErrorEvent>;
26
- pauseEvent: EventEmitter<PauseEvent>;
27
- removeEvent: EventEmitter<RemoveEvent>;
28
- resumeEvent: EventEmitter<ResumeEvent>;
29
- selectEvent: EventEmitter<SelectEvent>;
30
- successEvent: EventEmitter<SuccessEvent>;
31
- uploadEvent: EventEmitter<UploadEvent>;
32
- uploadProgressEvent: EventEmitter<UploadProgressEvent>;
33
- /**
34
- * Required for the `ControlValueAccessor` integration
35
- */
36
- changeEvent: EventEmitter<Array<FileInfo>>;
37
- /**
38
- * Default async settings
39
- */
40
- async: AsyncSettings;
41
- /**
42
- * Default chunk settings
43
- */
44
- chunk: ChunkSettings;
45
- component: ComponentType;
46
- private chunkMap;
47
- private fileList;
48
- constructor(http: HttpClient);
49
- get files(): FileMap;
50
- setChunkSettings(settings: ChunkSettings | boolean): void;
51
- onChange(): void;
52
- addFiles(files: Array<FileInfo>): void;
53
- addInitialFiles(initialFiles: Array<FileInfo>): void;
54
- addInitialFileSelectFiles(initialFiles: Array<any>): void;
55
- resumeFile(uid: string): void;
56
- pauseFile(uid: string): void;
57
- removeFiles(uid: string): void;
58
- cancelFiles(uid: string): void;
59
- clearFiles(): void;
60
- uploadFiles(): void;
61
- retryFiles(uid: string): void;
62
- private _uploadFiles;
63
- private performRemove;
64
- private performUpload;
65
- private onSuccess;
66
- private onError;
67
- private onProgress;
68
- private onChunkProgress;
69
- private checkAllComplete;
70
- private shouldUploadNextFile;
71
- private areAllSelectedFilesHandled;
72
- private cloneRequestHeaders;
73
- private populateRequestOptions;
74
- private populateUploadFormData;
75
- private populateRemoveFormData;
76
- private populateClientFormData;
77
- private getNextChunk;
78
- private getChunkInfo;
79
- private updateChunkInfo;
80
- private removeChunkInfo;
81
- private getChunkMetadata;
82
- private isChunkUploadComplete;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadService, never>;
84
- static ɵprov: i0.ɵɵInjectableDeclaration<UploadService>;
85
- }
@@ -1,44 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./fileselect.component";
7
- import * as i2 from "./templates/file-template.directive";
8
- import * as i3 from "./templates/file-info-template.directive";
9
- import * as i4 from "./localization/custom-messages.component";
10
- import * as i5 from "./dropzone-external.directive";
11
- import * as i6 from "./dropzone.component";
12
- import * as i7 from "./upload.component";
13
- import * as i8 from "./rendering/upload-action-buttons.component";
14
- import * as i9 from "./rendering/upload-status-total.component";
15
- /**
16
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
- * definition for the Uploads components.
18
- *
19
- * @example
20
- *
21
- * ```ts-no-run
22
- * import { UploadsModule } from '@progress/kendo-angular-upload';
23
- *
24
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
25
- * import { NgModule } from '@angular/core';
26
- *
27
- * import { AppComponent } from './app.component';
28
- *
29
- * _@NgModule({
30
- * declarations: [AppComponent],
31
- * imports: [BrowserModule, UploadsModule],
32
- * bootstrap: [AppComponent]
33
- * })
34
- * export class AppModule {}
35
- *
36
- * platformBrowserDynamic().bootstrapModule(AppModule);
37
- *
38
- * ```
39
- */
40
- export declare class UploadsModule {
41
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadsModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<UploadsModule, never, [typeof i1.FileSelectComponent, typeof i2.FileTemplateDirective, typeof i3.FileInfoTemplateDirective, typeof i4.CustomMessagesComponent, typeof i5.UploadDropZoneDirective, typeof i6.UploadDropZoneComponent, typeof i7.UploadComponent, typeof i8.UploadActionButtonsComponent, typeof i9.UploadStatusTotalComponent, typeof i2.FileTemplateDirective, typeof i3.FileInfoTemplateDirective, typeof i4.CustomMessagesComponent, typeof i5.UploadDropZoneDirective, typeof i6.UploadDropZoneComponent], [typeof i1.FileSelectComponent, typeof i2.FileTemplateDirective, typeof i3.FileInfoTemplateDirective, typeof i4.CustomMessagesComponent, typeof i5.UploadDropZoneDirective, typeof i6.UploadDropZoneComponent, typeof i7.UploadComponent, typeof i8.UploadActionButtonsComponent, typeof i9.UploadStatusTotalComponent, typeof i2.FileTemplateDirective, typeof i3.FileInfoTemplateDirective, typeof i4.CustomMessagesComponent, typeof i5.UploadDropZoneDirective, typeof i6.UploadDropZoneComponent]>;
43
- static ɵinj: i0.ɵɵInjectorDeclaration<UploadsModule>;
44
- }