@progress/kendo-angular-upload 24.2.2-develop.9 → 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,25 +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
- /**
6
- * @hidden
7
- */
8
- export interface ChunkInfo {
9
- /**
10
- * The index of the current chunk
11
- */
12
- index: number;
13
- /**
14
- * The total number of chunks that the file is split in
15
- */
16
- totalChunks: number;
17
- /**
18
- * The bytes position up to which the file has been uploaded
19
- */
20
- position: number;
21
- /**
22
- * The number of retried upload attempts for the current chunk
23
- */
24
- retries: number;
25
- }
@@ -1,16 +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 { ChunkInfo } from './chunk-info';
6
- /**
7
- * @hidden
8
- */
9
- export declare class ChunkMap {
10
- private _files;
11
- constructor();
12
- add(uid: string, totalChunks: number): ChunkInfo;
13
- remove(uid: string): void;
14
- has(uid: string): boolean;
15
- get(uid: string): ChunkInfo;
16
- }
@@ -1,34 +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
- /**
6
- * Contains information related to the uploaded file.
7
- * Use this metadata to process file chunks and merge them into a file on the back-end.
8
- */
9
- export interface ChunkMetadata {
10
- /**
11
- * The MIME type of the file.
12
- */
13
- contentType: string;
14
- /**
15
- * The file name.
16
- */
17
- fileName: string;
18
- /**
19
- * The file size in bytes.
20
- */
21
- fileSize: number;
22
- /**
23
- * The unique identifier of the file.
24
- */
25
- fileUid: string;
26
- /**
27
- * The index of the currently uploaded chunk.
28
- */
29
- chunkIndex: number;
30
- /**
31
- * The total number of chunks that the file is split into.
32
- */
33
- totalChunks: number;
34
- }
@@ -1,33 +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
- /**
6
- * The settings for the Upload chunk functionality.
7
- */
8
- export interface ChunkSettings {
9
- /**
10
- * The size of the chunks in bytes.
11
- *
12
- * @default 1048576
13
- */
14
- size?: number;
15
- /**
16
- * The number of milliseconds to wait before retrying a failed chunk upload.
17
- *
18
- * @default 100
19
- */
20
- autoRetryAfter?: number;
21
- /**
22
- * The number of attempts to retry uploading a failed chunk.
23
- *
24
- * @default 1
25
- */
26
- maxAutoRetries?: number;
27
- /**
28
- * Specifies whether the file upload process can be paused and later resumed.
29
- *
30
- * @default true
31
- */
32
- resumable?: boolean;
33
- }
@@ -1,8 +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
- /**
6
- * @hidden
7
- */
8
- export type Direction = 'rtl' | 'ltr';
@@ -1,45 +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 { SVGIcon } from "@progress/kendo-svg-icons";
6
- /**
7
- * @hidden
8
- */
9
- export interface FileGroupMap {
10
- audio: Array<string>;
11
- video: Array<string>;
12
- image: Array<string>;
13
- txt: Array<string>;
14
- presentation: Array<string>;
15
- data: Array<string>;
16
- programming: Array<string>;
17
- pdf: Array<string>;
18
- config: Array<string>;
19
- zip: Array<string>;
20
- discImage: Array<string>;
21
- }
22
- /**
23
- * @hidden
24
- */
25
- export declare const fileGroupMap: FileGroupMap;
26
- /**
27
- * @hidden
28
- */
29
- export interface FileSVGGroupMap {
30
- audio: SVGIcon;
31
- video: SVGIcon;
32
- image: SVGIcon;
33
- txt: SVGIcon;
34
- presentation: SVGIcon;
35
- data: SVGIcon;
36
- programming: SVGIcon;
37
- pdf: SVGIcon;
38
- config: SVGIcon;
39
- zip: SVGIcon;
40
- discImage: SVGIcon;
41
- }
42
- /**
43
- * @hidden
44
- */
45
- export declare const fileSVGGroupMap: FileSVGGroupMap;
@@ -1,45 +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 { Subscription } from 'rxjs';
6
- import { FileState } from './file-state';
7
- /**
8
- * Contains information which is related to the selected file.
9
- */
10
- export interface FileInfo {
11
- /**
12
- * The unique identifier of the file or the batch of files.
13
- */
14
- uid?: string;
15
- /**
16
- * The file name.
17
- */
18
- name: string;
19
- /**
20
- * The file extension including the leading dot&mdash;for example, `.jpg`, `.png`, or other.
21
- */
22
- extension?: string;
23
- /**
24
- * The file size in bytes.
25
- */
26
- size?: number;
27
- /**
28
- * An in-memory representation of the file.
29
- */
30
- rawFile?: File;
31
- /**
32
- * A list containing the validation errors (if any).
33
- */
34
- validationErrors?: Array<string>;
35
- /**
36
- * The current state of the file&mdash;`Failed`, `Selected`, `Uploaded`, or `Uploading`.
37
- * `Initial` is a special value for `FileState`.
38
- * It is automatically applied to initial files without you having to explicitly set their state.
39
- */
40
- state?: FileState;
41
- /**
42
- * The observable subscription of the upload request.
43
- */
44
- httpSubscription?: Subscription;
45
- }
@@ -1,26 +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 { FileInfo, FileState } from '../types';
6
- /**
7
- * @hidden
8
- */
9
- export declare class FileMap {
10
- private _files;
11
- constructor();
12
- add(file: FileInfo): void;
13
- remove(uid: string): void;
14
- clear(): void;
15
- has(uid: string): boolean;
16
- get(uid: string): Array<FileInfo>;
17
- setFilesState(files: Array<FileInfo>, state: FileState): void;
18
- setFilesStateByUid(uid: string, state: FileState): void;
19
- get count(): number;
20
- get files(): Array<Array<FileInfo>>;
21
- get filesFlat(): Array<FileInfo>;
22
- get filesToUpload(): Array<Array<FileInfo>>;
23
- get firstFileToUpload(): Array<FileInfo>;
24
- getFilesWithState(state: FileState): Array<FileInfo>;
25
- hasFileWithState(fileStates: Array<FileState>): boolean;
26
- }
@@ -1,25 +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
- /**
6
- * Configures the restrictions for the files that can be uploaded.
7
- */
8
- export interface FileRestrictions {
9
- /**
10
- * The list of allowed file extensions
11
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/uploads/upload/restrictions#file-extension)).
12
- * Accepts entries of both `.type` (for example, `.docx`, `.png`, `.svg`, `.xls`) and `type` (for example, `docx`, `png`, `svg`, `xls`) values.
13
- */
14
- allowedExtensions?: Array<string>;
15
- /**
16
- * The maximum file size in bytes
17
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/uploads/upload/restrictions#maximum-file-size)).
18
- */
19
- maxFileSize?: number;
20
- /**
21
- * The minimum file size in bytes
22
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/uploads/upload/restrictions#minimum-file-size)).
23
- */
24
- minFileSize?: number;
25
- }
@@ -1,33 +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
- /**
6
- * Lists the possible states of a file.
7
- */
8
- export declare enum FileState {
9
- /**
10
- * The file upload process failed.
11
- */
12
- Failed = 0,
13
- /**
14
- * An initially selected file without a set state.
15
- */
16
- Initial = 1,
17
- /**
18
- * The file is selected.
19
- */
20
- Selected = 2,
21
- /**
22
- * The file uploaded successfully.
23
- */
24
- Uploaded = 3,
25
- /**
26
- * The file is uploading.
27
- */
28
- Uploading = 4,
29
- /**
30
- * The file upload process is paused.
31
- */
32
- Paused = 5
33
- }
@@ -1,8 +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
- /**
6
- * The operation (`upload` or `remove`) for which the `success` or `error` event is raised.
7
- */
8
- export type OperationType = "upload" | "remove";
package/types.d.ts DELETED
@@ -1,11 +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
- export { ChunkSettings } from './types/chunk-settings';
6
- export { ChunkMetadata } from './types/chunk-metadata';
7
- export { FileInfo } from './types/file-info';
8
- export { FileState } from './types/file-state';
9
- export { FileRestrictions } from './types/file-restrictions';
10
- export { OperationType } from './types/operation-type';
11
- export { FileMap } from './types/file-map';
@@ -1,298 +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 { HttpHeaders } from '@angular/common/http';
6
- import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2, ChangeDetectorRef, Injector } from '@angular/core';
7
- import { ControlValueAccessor } from '@angular/forms';
8
- import { LocalizationService } from '@progress/kendo-angular-l10n';
9
- import { Direction } from './types/direction';
10
- import { FileInfo } from './types';
11
- import { NavigationService } from './navigation.service';
12
- import { CancelEvent, ClearEvent, ErrorEvent, SuccessEvent, UploadEvent, UploadProgressEvent } from './events';
13
- import { UploadService } from './upload.service';
14
- import { ChunkSettings } from './types/chunk-settings';
15
- import { DropZoneService } from './dropzone.service';
16
- import { ActionsLayout } from './common/action-buttons-layout';
17
- import { UploadFileSelectBase } from './common/base';
18
- import * as i0 from "@angular/core";
19
- /**
20
- * @hidden
21
- */
22
- export declare const UPLOAD_VALUE_ACCESSOR: any;
23
- /**
24
- * Represents the [Kendo UI Upload component for Angular](https://www.telerik.com/kendo-angular-ui/components/uploads).
25
- *
26
- * @example
27
- * ```html
28
- * <kendo-upload
29
- * [saveUrl]="uploadSaveUrl"
30
- * [removeUrl]="uploadRemoveUrl">
31
- * </kendo-upload>
32
- * ```
33
- *
34
- * @remarks
35
- * Supported children components are: {@link CustomMessagesComponent}
36
- */
37
- export declare class UploadComponent extends UploadFileSelectBase implements OnInit, OnDestroy, ControlValueAccessor {
38
- protected uploadService: UploadService;
39
- private localization;
40
- protected navigation: NavigationService;
41
- private dropZoneService;
42
- protected zone: NgZone;
43
- private renderer;
44
- protected cdr: ChangeDetectorRef;
45
- protected injector: Injector;
46
- /**
47
- * Specifies whether selected files upload automatically
48
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/uploads/upload/file-processing#automatic-upload-of-files)).
49
- * Set `autoUpload` to `false` to change this behavior.
50
- *
51
- * @default true
52
- */
53
- set autoUpload(autoUpload: boolean);
54
- get autoUpload(): boolean;
55
- /**
56
- * Specifies whether all files in the selection upload in a single request
57
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/uploads/upload/file-processing#upload-of-batches-of-files)).
58
- * Files selected one after the other upload in separate requests.
59
- *
60
- * @default false
61
- */
62
- set batch(batch: boolean);
63
- get batch(): boolean;
64
- /**
65
- * Specifies whether credentials (cookies, headers) are sent for cross-site requests
66
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/uploads/upload/credentials#attaching-credentials-to-requests)).
67
- * Set `withCredentials` has no effect on same-site requests.
68
- * Use the `saveHeaders` or `removeHeaders` property to add credentials to the request.
69
- * You can also use the [`upload`](https://www.telerik.com/kendo-angular-ui/components/uploads/api/uploadevent) event.
70
- *
71
- * @default true
72
- */
73
- set withCredentials(withCredentials: boolean);
74
- get withCredentials(): boolean;
75
- /**
76
- * Specifies the [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) key which contains the files submitted to `saveUrl`.
77
- *
78
- */
79
- set saveField(saveField: string);
80
- get saveField(): string;
81
- /**
82
- * Specifies the [`HttpHeaders`](https://angular.io/api/common/http/HttpHeaders) attached to each upload request.
83
- */
84
- set saveHeaders(saveHeaders: HttpHeaders);
85
- get saveHeaders(): HttpHeaders;
86
- /**
87
- * Specifies the [`RequestMethod`](https://angular.io/api/http/RequestMethod) of the upload request.
88
- *
89
- */
90
- set saveMethod(saveMethod: string);
91
- get saveMethod(): string;
92
- /**
93
- * Specifies the URL of the endpoint for the upload request.
94
- * The request [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) key uses the name from the `saveField` property.
95
- * This key contains the list of files to be uploaded.
96
- */
97
- set saveUrl(saveUrl: string);
98
- get saveUrl(): string;
99
- /**
100
- * Specifies the expected [`response type`](https://angular.io/api/common/http/HttpRequest#responseType) of the server.
101
- * The response type determines how the response is parsed.
102
- *
103
- * @default 'json'
104
- */
105
- set responseType(responseType: 'arraybuffer' | 'blob' | 'json' | 'text');
106
- get responseType(): 'arraybuffer' | 'blob' | 'json' | 'text';
107
- /**
108
- * Specifies the [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) key which contains the list of file names submitted to `removeUrl`.
109
- *
110
- */
111
- set removeField(removeField: string);
112
- get removeField(): string;
113
- /**
114
- * Specifies the [`HttpHeaders`](https://angular.io/api/common/http/HttpHeaders) attached to each `remove` request.
115
- */
116
- set removeHeaders(removeHeaders: HttpHeaders);
117
- get removeHeaders(): HttpHeaders;
118
- /**
119
- * Specifies the [`RequestMethod`](https://angular.io/api/http/RequestMethod) of the `remove` request.
120
- *
121
- */
122
- set removeMethod(removeMethod: string);
123
- get removeMethod(): string;
124
- /**
125
- * Specifies the URL of the endpoint for the `remove` request.
126
- * The [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) request key uses the name from the `removeField` property.
127
- * This key contains the list of file names to be removed.
128
- */
129
- set removeUrl(removeUrl: string);
130
- get removeUrl(): string;
131
- /**
132
- * Specifies whether the chunk functionality of the Upload is enabled.
133
- *
134
- * @default false
135
- */
136
- chunkable: ChunkSettings | boolean;
137
- /**
138
- * Specifies whether selected files upload simultaneously or one by one.
139
- *
140
- * @default true
141
- */
142
- set concurrent(concurrent: boolean);
143
- get concurrent(): boolean;
144
- /**
145
- * Specifies whether the file list is visible.
146
- *
147
- * @default true
148
- */
149
- showFileList: boolean;
150
- /**
151
- * @hidden
152
- */
153
- set tabIndex(tabIndex: number);
154
- get tabIndex(): number;
155
- /**
156
- * Specifies the layout of the action buttons.
157
- *
158
- * @default 'end'
159
- */
160
- actionsLayout: ActionsLayout;
161
- fileSelectInput: ElementRef;
162
- /**
163
- * Fires when the upload is canceled while in progress.
164
- */
165
- cancel: EventEmitter<CancelEvent>;
166
- /**
167
- * Fires when the file list is about to be cleared.
168
- * Prevent this event to keep the files in the list.
169
- */
170
- clear: EventEmitter<ClearEvent>;
171
- /**
172
- * Fires when all active uploads complete successfully or with errors.
173
- */
174
- complete: EventEmitter<any>;
175
- /**
176
- * Fires when an `upload` or `remove` operation fails.
177
- */
178
- error: EventEmitter<ErrorEvent>;
179
- /**
180
- * Fires when the upload of a file is paused.
181
- */
182
- pause: EventEmitter<any>;
183
- /**
184
- * Fires when the upload of a file is resumed.
185
- */
186
- resume: EventEmitter<any>;
187
- /**
188
- * Fires when an `upload` or `remove` operation completes successfully.
189
- */
190
- success: EventEmitter<SuccessEvent>;
191
- /**
192
- * Fires when one or more files are about to be uploaded.
193
- * Prevent this event to stop the files from uploading and being added to the file list.
194
- */
195
- upload: EventEmitter<UploadEvent>;
196
- /**
197
- * Fires when one or more files are uploading.
198
- */
199
- uploadProgress: EventEmitter<UploadProgressEvent>;
200
- /**
201
- * Fires when the component value changes after a successful `upload`, `remove`, or `clear` operation.
202
- */
203
- valueChange: EventEmitter<Array<FileInfo>>;
204
- get dir(): string;
205
- direction: Direction;
206
- wrapper: HTMLElement;
207
- fileListId: string;
208
- private documentClick;
209
- private blurSubscription;
210
- private wrapperFocusSubscription;
211
- private selectButtonFocusSubscription;
212
- private localizationChangeSubscription;
213
- private subs;
214
- constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService, dropZoneService: DropZoneService, zone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, wrapper: ElementRef, injector: Injector);
215
- ngOnInit(): void;
216
- ngOnChanges(changes: any): void;
217
- ngOnDestroy(): void;
218
- /**
219
- * @hidden
220
- */
221
- writeValue(newValue: any): void;
222
- /**
223
- * @hidden
224
- */
225
- get showActionButtons(): boolean;
226
- /**
227
- * @hidden
228
- */
229
- get showTotalStatus(): boolean;
230
- /**
231
- * @hidden
232
- */
233
- textFor(key: string): string;
234
- /**
235
- * @hidden
236
- */
237
- getIds(): {
238
- buttonId: string;
239
- fileListId: string;
240
- };
241
- /**
242
- * Pauses the upload process of a file that is currently uploading.
243
- * This method requires the `chunkable` option of the Upload to be enabled.
244
- *
245
- * @param uid The `uid` of the file that will be paused.
246
- */
247
- pauseFileByUid(uid: string): void;
248
- /**
249
- * Resumes the upload process for a file that was previously paused.
250
- * This method requires the `chunkable` option of the Upload to be enabled.
251
- *
252
- * @param uid The `uid` of the file that will be resumed.
253
- */
254
- resumeFileByUid(uid: string): void;
255
- /**
256
- * Removes a file or a batch of files.
257
- *
258
- * @param uid The `uid` of the file or a batch of files that will be removed.
259
- */
260
- removeFilesByUid(uid: string): void;
261
- /**
262
- * Retries the upload of a file or batch of files that failed to upload.
263
- *
264
- * @param uid The `uid` of the file or a batch of files to be retried.
265
- */
266
- retryUploadByUid(uid: string): void;
267
- /**
268
- * Cancels the upload of a file or a batch of files.
269
- *
270
- * @param uid The `uid` of the file or a batch of files that will be canceled.
271
- */
272
- cancelUploadByUid(uid: string): void;
273
- /**
274
- * Uploads the currently selected files that pass the set restrictions.
275
- */
276
- uploadFiles(): void;
277
- /**
278
- * Clears all files from the UI without sending requests to the remove handler.
279
- */
280
- clearFiles(): void;
281
- /**
282
- * @hidden
283
- * Used by the external dropzone to add files to the Upload
284
- */
285
- addFiles(files: FileInfo[]): void;
286
- /**
287
- * @hidden
288
- * Used to determine if the component is empty.
289
- */
290
- isEmpty(): boolean;
291
- private verifySettings;
292
- private subscribeBlur;
293
- private handleKeydown;
294
- private subscribeFocus;
295
- private attachEventHandlers;
296
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent, never>;
297
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent, "kendo-upload", ["kendoUpload"], { "autoUpload": { "alias": "autoUpload"; "required": false; }; "batch": { "alias": "batch"; "required": false; }; "withCredentials": { "alias": "withCredentials"; "required": false; }; "saveField": { "alias": "saveField"; "required": false; }; "saveHeaders": { "alias": "saveHeaders"; "required": false; }; "saveMethod": { "alias": "saveMethod"; "required": false; }; "saveUrl": { "alias": "saveUrl"; "required": false; }; "responseType": { "alias": "responseType"; "required": false; }; "removeField": { "alias": "removeField"; "required": false; }; "removeHeaders": { "alias": "removeHeaders"; "required": false; }; "removeMethod": { "alias": "removeMethod"; "required": false; }; "removeUrl": { "alias": "removeUrl"; "required": false; }; "chunkable": { "alias": "chunkable"; "required": false; }; "concurrent": { "alias": "concurrent"; "required": false; }; "showFileList": { "alias": "showFileList"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "actionsLayout": { "alias": "actionsLayout"; "required": false; }; }, { "cancel": "cancel"; "clear": "clear"; "complete": "complete"; "error": "error"; "pause": "pause"; "resume": "resume"; "success": "success"; "upload": "upload"; "uploadProgress": "uploadProgress"; "valueChange": "valueChange"; }, never, never, true, never>;
298
- }
@@ -1,21 +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 "./upload.component";
7
- import * as i2 from "./rendering/upload-action-buttons.component";
8
- import * as i3 from "./rendering/upload-status-total.component";
9
- import * as i4 from "./templates/file-template.directive";
10
- import * as i5 from "./templates/file-info-template.directive";
11
- import * as i6 from "./localization/custom-messages.component";
12
- import * as i7 from "./dropzone-external.directive";
13
- import * as i8 from "./dropzone.component";
14
- /**
15
- * Represents the [NgModule](https://angular.io/api/core/NgModule) definition for the Upload component.
16
- */
17
- export declare class UploadModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<UploadModule, never, [typeof i1.UploadComponent, typeof i2.UploadActionButtonsComponent, typeof i3.UploadStatusTotalComponent, typeof i4.FileTemplateDirective, typeof i5.FileInfoTemplateDirective, typeof i6.CustomMessagesComponent, typeof i7.UploadDropZoneDirective, typeof i8.UploadDropZoneComponent], [typeof i1.UploadComponent, typeof i2.UploadActionButtonsComponent, typeof i3.UploadStatusTotalComponent, typeof i4.FileTemplateDirective, typeof i5.FileInfoTemplateDirective, typeof i6.CustomMessagesComponent, typeof i7.UploadDropZoneDirective, typeof i8.UploadDropZoneComponent]>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<UploadModule>;
21
- }