@progress/kendo-angular-upload 24.2.2 → 25.0.0-develop.12
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.
- package/fesm2022/progress-kendo-angular-upload.mjs +99 -91
- package/index.d.ts +1994 -29
- package/package-metadata.mjs +2 -2
- package/package.json +13 -13
- package/schematics/ngAdd/index.js +3 -3
- package/common/action-buttons-layout.d.ts +0 -8
- package/common/base.d.ts +0 -172
- package/common/fileselect-settings.d.ts +0 -50
- package/common/util.d.ts +0 -87
- package/common/validation-util.d.ts +0 -20
- package/directives.d.ts +0 -70
- package/dropzone-base.d.ts +0 -30
- package/dropzone-external.directive.d.ts +0 -48
- package/dropzone-internal.directive.d.ts +0 -35
- package/dropzone.component.d.ts +0 -64
- package/dropzone.service.d.ts +0 -18
- package/events/cancel-event.d.ts +0 -34
- package/events/clear-event.d.ts +0 -29
- package/events/error-event.d.ts +0 -46
- package/events/pause-event.d.ts +0 -37
- package/events/preventable-event.d.ts +0 -21
- package/events/remove-event.d.ts +0 -47
- package/events/resume-event.d.ts +0 -37
- package/events/select-event.d.ts +0 -35
- package/events/success-event.d.ts +0 -46
- package/events/upload-event.d.ts +0 -47
- package/events/upload-progress-event.d.ts +0 -39
- package/events.d.ts +0 -14
- package/file-select.directive.d.ts +0 -39
- package/fileselect.component.d.ts +0 -111
- package/fileselect.module.d.ts +0 -19
- package/localization/custom-messages.component.d.ts +0 -44
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -139
- package/navigation.service.d.ts +0 -43
- package/package-metadata.d.ts +0 -9
- package/rendering/file-list-item-action-button.component.d.ts +0 -40
- package/rendering/file-list-item-base.d.ts +0 -31
- package/rendering/file-list-item.d.ts +0 -35
- package/rendering/file-list-multiple-items.component.d.ts +0 -32
- package/rendering/file-list-single-item.component.d.ts +0 -31
- package/rendering/file-list.component.d.ts +0 -41
- package/rendering/upload-action-buttons.component.d.ts +0 -37
- package/rendering/upload-status-total.component.d.ts +0 -30
- package/templates/file-info-template.directive.d.ts +0 -30
- package/templates/file-template.directive.d.ts +0 -30
- package/types/async-settings.d.ts +0 -24
- package/types/chunk-info.d.ts +0 -25
- package/types/chunk-map.d.ts +0 -16
- package/types/chunk-metadata.d.ts +0 -34
- package/types/chunk-settings.d.ts +0 -33
- package/types/direction.d.ts +0 -8
- package/types/file-groups.d.ts +0 -45
- package/types/file-info.d.ts +0 -45
- package/types/file-map.d.ts +0 -26
- package/types/file-restrictions.d.ts +0 -25
- package/types/file-state.d.ts +0 -33
- package/types/operation-type.d.ts +0 -8
- package/types.d.ts +0 -11
- package/upload.component.d.ts +0 -298
- package/upload.module.d.ts +0 -21
- package/upload.service.d.ts +0 -85
- package/uploads.module.d.ts +0 -44
|
@@ -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 { Messages } from './messages';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Custom component messages override default component messages ([more information and example](https://www.telerik.com/kendo-angular-ui/components/uploads/globalization)).
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <!-- Custom messages for FileSelect -->
|
|
14
|
-
* <kendo-fileselect>
|
|
15
|
-
* <kendo-fileselect-messages
|
|
16
|
-
* dropFilesHere="Drop your file here"
|
|
17
|
-
* select="Upload file">
|
|
18
|
-
* </kendo-fileselect-messages>
|
|
19
|
-
* </kendo-fileselect>
|
|
20
|
-
*
|
|
21
|
-
* <!-- Custom messages for Upload -->
|
|
22
|
-
* <kendo-upload>
|
|
23
|
-
* <kendo-upload-messages
|
|
24
|
-
* dropFilesHere="Drop your file here"
|
|
25
|
-
* fileStatusFailed="File upload failed"
|
|
26
|
-
* fileStatusSuccessful="File upload successful">
|
|
27
|
-
* </kendo-upload-messages>
|
|
28
|
-
* </kendo-upload>
|
|
29
|
-
*
|
|
30
|
-
* <!-- Custom messages for UploadDropZone -->
|
|
31
|
-
* <kendo-uploaddropzone>
|
|
32
|
-
* <kendo-uploaddropzone-messages
|
|
33
|
-
* externalDropFilesHere="Drag and your file here">
|
|
34
|
-
* </kendo-uploaddropzone-messages>
|
|
35
|
-
* </kendo-uploaddropzone>
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
export declare class CustomMessagesComponent extends Messages {
|
|
39
|
-
protected service: LocalizationService;
|
|
40
|
-
protected get override(): boolean;
|
|
41
|
-
constructor(service: LocalizationService);
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages", never, {}, {}, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -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 { Messages } from './messages';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class LocalizedMessagesDirective extends Messages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, " [kendoUploadLocalizedMessages], [kendoFileSelectLocalizedMessages], [kendoUploadDropZoneLocalizedMessages] ", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,139 +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 { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class Messages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the text for the **Cancel** button.
|
|
13
|
-
*
|
|
14
|
-
* @default 'Cancel'
|
|
15
|
-
*/
|
|
16
|
-
cancel: string;
|
|
17
|
-
/**
|
|
18
|
-
* Sets the text for the **Clear** button.
|
|
19
|
-
*
|
|
20
|
-
* @default 'Clear'
|
|
21
|
-
*/
|
|
22
|
-
clearSelectedFiles: string;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the drop-zone hint.
|
|
25
|
-
*
|
|
26
|
-
* @default 'Drop files here to upload'
|
|
27
|
-
*/
|
|
28
|
-
dropFilesHere: string;
|
|
29
|
-
/**
|
|
30
|
-
* Sets the external drop-zone hint.
|
|
31
|
-
*
|
|
32
|
-
* @default 'Drag and drop files here to upload'
|
|
33
|
-
*/
|
|
34
|
-
externalDropFilesHere: string;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the status message for a batch of files.
|
|
37
|
-
*
|
|
38
|
-
* @default 'files'
|
|
39
|
-
*/
|
|
40
|
-
filesBatchStatus: string;
|
|
41
|
-
/**
|
|
42
|
-
* Sets the status message for a batch of files after failed upload.
|
|
43
|
-
*
|
|
44
|
-
* @default 'files failed to upload.'
|
|
45
|
-
*/
|
|
46
|
-
filesBatchStatusFailed: string;
|
|
47
|
-
/**
|
|
48
|
-
* Sets the status message for a batch of files after successful upload.
|
|
49
|
-
*
|
|
50
|
-
* @default 'files successfully uploaded.'
|
|
51
|
-
*/
|
|
52
|
-
filesBatchStatusUploaded: string;
|
|
53
|
-
/**
|
|
54
|
-
* Sets the file status message after failed upload.
|
|
55
|
-
*
|
|
56
|
-
* @default 'File failed to upload.'
|
|
57
|
-
*/
|
|
58
|
-
fileStatusFailed: string;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the file status message after successful upload.
|
|
61
|
-
*
|
|
62
|
-
* @default 'File successfully uploaded.'
|
|
63
|
-
*/
|
|
64
|
-
fileStatusUploaded: string;
|
|
65
|
-
/**
|
|
66
|
-
* Sets the header status message when the file upload is paused.
|
|
67
|
-
*
|
|
68
|
-
* @default 'Paused'
|
|
69
|
-
*/
|
|
70
|
-
headerStatusPaused: string;
|
|
71
|
-
/**
|
|
72
|
-
* Sets the header status message after the file upload completes.
|
|
73
|
-
*
|
|
74
|
-
* @default 'Done'
|
|
75
|
-
*/
|
|
76
|
-
headerStatusUploaded: string;
|
|
77
|
-
/**
|
|
78
|
-
* Sets the header status message during the upload of the file.
|
|
79
|
-
*
|
|
80
|
-
* @default 'Uploading...'
|
|
81
|
-
*/
|
|
82
|
-
headerStatusUploading: string;
|
|
83
|
-
/**
|
|
84
|
-
* Sets the text for the invalid `allowedExtensions` restriction message.
|
|
85
|
-
*
|
|
86
|
-
* @default 'File type not allowed.'
|
|
87
|
-
*/
|
|
88
|
-
invalidFileExtension: string;
|
|
89
|
-
/**
|
|
90
|
-
* Sets the text for the invalid `maxFileSize` restriction message.
|
|
91
|
-
*
|
|
92
|
-
* @default 'File size too large.'
|
|
93
|
-
*/
|
|
94
|
-
invalidMaxFileSize: string;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the text for the invalid `minFileSize` restriction message.
|
|
97
|
-
*
|
|
98
|
-
* @default 'File size too small.'
|
|
99
|
-
*/
|
|
100
|
-
invalidMinFileSize: string;
|
|
101
|
-
/**
|
|
102
|
-
* Sets the text for the **Pause** button.
|
|
103
|
-
*
|
|
104
|
-
* @default 'Pause'
|
|
105
|
-
*/
|
|
106
|
-
pause: string;
|
|
107
|
-
/**
|
|
108
|
-
* Sets the text for the **Remove** button.
|
|
109
|
-
*
|
|
110
|
-
* @default 'Remove'
|
|
111
|
-
*/
|
|
112
|
-
remove: string;
|
|
113
|
-
/**
|
|
114
|
-
* Sets the text for the **Resume** button.
|
|
115
|
-
*
|
|
116
|
-
* @default 'Resume'
|
|
117
|
-
*/
|
|
118
|
-
resume: string;
|
|
119
|
-
/**
|
|
120
|
-
* Sets the text for the **Retry** button.
|
|
121
|
-
*
|
|
122
|
-
* @default 'Retry'
|
|
123
|
-
*/
|
|
124
|
-
retry: string;
|
|
125
|
-
/**
|
|
126
|
-
* Sets the text for the **Select** button.
|
|
127
|
-
*
|
|
128
|
-
* @default 'Select files...'
|
|
129
|
-
*/
|
|
130
|
-
select: string;
|
|
131
|
-
/**
|
|
132
|
-
* Sets the text for the **Upload files** button.
|
|
133
|
-
*
|
|
134
|
-
* @default 'Upload'
|
|
135
|
-
*/
|
|
136
|
-
uploadSelectedFiles: string;
|
|
137
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
138
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, never, never, { "cancel": { "alias": "cancel"; "required": false; }; "clearSelectedFiles": { "alias": "clearSelectedFiles"; "required": false; }; "dropFilesHere": { "alias": "dropFilesHere"; "required": false; }; "externalDropFilesHere": { "alias": "externalDropFilesHere"; "required": false; }; "filesBatchStatus": { "alias": "filesBatchStatus"; "required": false; }; "filesBatchStatusFailed": { "alias": "filesBatchStatusFailed"; "required": false; }; "filesBatchStatusUploaded": { "alias": "filesBatchStatusUploaded"; "required": false; }; "fileStatusFailed": { "alias": "fileStatusFailed"; "required": false; }; "fileStatusUploaded": { "alias": "fileStatusUploaded"; "required": false; }; "headerStatusPaused": { "alias": "headerStatusPaused"; "required": false; }; "headerStatusUploaded": { "alias": "headerStatusUploaded"; "required": false; }; "headerStatusUploading": { "alias": "headerStatusUploading"; "required": false; }; "invalidFileExtension": { "alias": "invalidFileExtension"; "required": false; }; "invalidMaxFileSize": { "alias": "invalidMaxFileSize"; "required": false; }; "invalidMinFileSize": { "alias": "invalidMinFileSize"; "required": false; }; "pause": { "alias": "pause"; "required": false; }; "remove": { "alias": "remove"; "required": false; }; "resume": { "alias": "resume"; "required": false; }; "retry": { "alias": "retry"; "required": false; }; "select": { "alias": "select"; "required": false; }; "uploadSelectedFiles": { "alias": "uploadSelectedFiles"; "required": false; }; }, {}, never, never, true, never>;
|
|
139
|
-
}
|
package/navigation.service.d.ts
DELETED
|
@@ -1,43 +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 { EventEmitter, NgZone } from '@angular/core';
|
|
6
|
-
import { UploadService } from './upload.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class NavigationService {
|
|
12
|
-
private uploadService;
|
|
13
|
-
private zone;
|
|
14
|
-
onActionButtonFocus: EventEmitter<string>;
|
|
15
|
-
onFileAction: EventEmitter<string>;
|
|
16
|
-
onFileFocus: EventEmitter<number>;
|
|
17
|
-
onTabOut: EventEmitter<any>;
|
|
18
|
-
onWrapperFocus: EventEmitter<any>;
|
|
19
|
-
onSelectButtonFocus: EventEmitter<any>;
|
|
20
|
-
actionButtonsVisible: boolean;
|
|
21
|
-
fileListVisible: boolean;
|
|
22
|
-
focused: boolean;
|
|
23
|
-
keyBindings: object;
|
|
24
|
-
focusedFileIndex: number;
|
|
25
|
-
private _focusedIndex;
|
|
26
|
-
constructor(uploadService: UploadService, zone: NgZone);
|
|
27
|
-
action(event: KeyboardEvent): Function;
|
|
28
|
-
process(event: KeyboardEvent, component?: string): void;
|
|
29
|
-
computeKeys(): void;
|
|
30
|
-
focusSelectButton(): void;
|
|
31
|
-
handleEnter(): void;
|
|
32
|
-
handleSpace(): void;
|
|
33
|
-
handleDelete(): void;
|
|
34
|
-
handleEscape(): void;
|
|
35
|
-
handleTab(event: any, component: any): void;
|
|
36
|
-
handleUpDown(event: any, direction: any): void;
|
|
37
|
-
get focusedIndex(): number;
|
|
38
|
-
set focusedIndex(index: number);
|
|
39
|
-
get lastFileIndex(): number;
|
|
40
|
-
get lastIndex(): number;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
42
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
43
|
-
}
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +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 { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
|
@@ -1,40 +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 } from '../types';
|
|
6
|
-
import { UploadService } from '../upload.service';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { NavigationService } from './../navigation.service';
|
|
9
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class FileListItemActionButtonComponent {
|
|
15
|
-
private uploadService;
|
|
16
|
-
private localization;
|
|
17
|
-
private navigation;
|
|
18
|
-
file: FileInfo;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
progress: number;
|
|
21
|
-
retrySVGIcon: SVGIcon;
|
|
22
|
-
playSVGIcon: SVGIcon;
|
|
23
|
-
pauseSVGIcon: SVGIcon;
|
|
24
|
-
cancelSVGIcon: SVGIcon;
|
|
25
|
-
deleteSVGIcon: SVGIcon;
|
|
26
|
-
constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService);
|
|
27
|
-
onRetryClick(): void;
|
|
28
|
-
onRemoveCancelClick(event?: any): void;
|
|
29
|
-
onPauseResumeClick(): void;
|
|
30
|
-
get actionButtonTitle(): string;
|
|
31
|
-
get retryButtonTitle(): string;
|
|
32
|
-
get pauseResumeButtonTitle(): string;
|
|
33
|
-
get isUploading(): boolean;
|
|
34
|
-
get isFailed(): boolean;
|
|
35
|
-
get isPaused(): boolean;
|
|
36
|
-
get isResumable(): boolean;
|
|
37
|
-
get isActionButtonVisible(): boolean;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileListItemActionButtonComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileListItemActionButtonComponent, "kendo-upload-file-list-item-action-button", never, { "file": { "alias": "file"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,31 +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 { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { Subscription } from 'rxjs';
|
|
8
|
-
import { FileInfo } from '../types';
|
|
9
|
-
import { UploadProgressEvent } from '../events';
|
|
10
|
-
import { UploadService } from '../upload.service';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export declare class FileListItemBase implements OnDestroy {
|
|
16
|
-
protected uploadService: UploadService;
|
|
17
|
-
protected cdr: ChangeDetectorRef;
|
|
18
|
-
progressComplete: number;
|
|
19
|
-
protected localization: LocalizationService;
|
|
20
|
-
protected uploadProgressSubscription: Subscription;
|
|
21
|
-
constructor(uploadService: UploadService, cdr: ChangeDetectorRef);
|
|
22
|
-
protected subscribeUploadProgress(uploadProgressHandler: (args: UploadProgressEvent) => void): void;
|
|
23
|
-
protected fileHasValidationErrors(file: FileInfo): boolean;
|
|
24
|
-
protected filesHaveValidationErrors(files: Array<FileInfo>): boolean;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
getFileValidationMessage(file: FileInfo): string;
|
|
27
|
-
getTotalFilesSizeMessage(files: Array<FileInfo>): string;
|
|
28
|
-
textFor(key: string): string;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileListItemBase, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileListItemBase, "ng-component", never, {}, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,35 +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 { ElementRef } from '@angular/core';
|
|
6
|
-
import { FileInfo } from '../types';
|
|
7
|
-
import { NavigationService } from '../navigation.service';
|
|
8
|
-
import { UploadService } from '../upload.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class FileListItemDirective {
|
|
14
|
-
private navigationService;
|
|
15
|
-
private uploadService;
|
|
16
|
-
files: Array<FileInfo>;
|
|
17
|
-
index: number;
|
|
18
|
-
fileClass: boolean;
|
|
19
|
-
focused: boolean;
|
|
20
|
-
element: ElementRef;
|
|
21
|
-
constructor(el: ElementRef, navigationService: NavigationService, uploadService: UploadService);
|
|
22
|
-
focus(): void;
|
|
23
|
-
get uidAttribute(): string;
|
|
24
|
-
get tabIndex(): string;
|
|
25
|
-
get kFileError(): boolean;
|
|
26
|
-
get kFileInvalid(): boolean;
|
|
27
|
-
get kFileProgress(): boolean;
|
|
28
|
-
get kFileSuccess(): boolean;
|
|
29
|
-
get kStateFocused(): boolean;
|
|
30
|
-
onFocus(): void;
|
|
31
|
-
onBlur(): void;
|
|
32
|
-
onClick(event: any): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileListItemDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FileListItemDirective, "[kendoUploadFileListItem]", never, { "files": { "alias": "files"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,32 +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 { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
6
|
-
import { FileInfo } from '../types';
|
|
7
|
-
import { FileListItemBase } from './file-list-item-base';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { UploadService } from '../upload.service';
|
|
10
|
-
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
11
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class FileListMultipleItemsComponent extends FileListItemBase implements OnInit {
|
|
17
|
-
protected localization: LocalizationService;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
files: Array<FileInfo>;
|
|
20
|
-
fileInfoTemplate: FileInfoTemplateDirective;
|
|
21
|
-
filesHaveErrors: boolean;
|
|
22
|
-
copySVGIcon: SVGIcon;
|
|
23
|
-
constructor(localization: LocalizationService, uploadService: UploadService, cdr: ChangeDetectorRef);
|
|
24
|
-
get showProgress(): string;
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
fileStatusText(file: FileInfo): any;
|
|
27
|
-
get batchStatusText(): string;
|
|
28
|
-
get isUploadSuccessful(): boolean;
|
|
29
|
-
get isUploadFailed(): boolean;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileListMultipleItemsComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileListMultipleItemsComponent, "kendo-upload-file-list-multiple-items", never, { "disabled": { "alias": "disabled"; "required": false; }; "files": { "alias": "files"; "required": false; }; "fileInfoTemplate": { "alias": "fileInfoTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,31 +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 { ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { FileInfo } from '../types';
|
|
7
|
-
import { FileListItemBase } from './file-list-item-base';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { UploadService } from '../upload.service';
|
|
10
|
-
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
11
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class FileListSingleItemComponent extends FileListItemBase {
|
|
17
|
-
protected localization: LocalizationService;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
file: FileInfo;
|
|
20
|
-
fileInfoTemplate: FileInfoTemplateDirective;
|
|
21
|
-
constructor(localization: LocalizationService, uploadService: UploadService, cdr: ChangeDetectorRef);
|
|
22
|
-
get fileStatusText(): string;
|
|
23
|
-
get showProgress(): string;
|
|
24
|
-
get fileGroupClass(): string;
|
|
25
|
-
get fileSVGGroupIcon(): SVGIcon;
|
|
26
|
-
get isUploadSuccessful(): boolean;
|
|
27
|
-
get isUploadFailed(): boolean;
|
|
28
|
-
get isNotYetUploaded(): boolean;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileListSingleItemComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileListSingleItemComponent, "kendo-upload-file-list-single-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "fileInfoTemplate": { "alias": "fileInfoTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,41 +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 { OnDestroy, QueryList } from '@angular/core';
|
|
6
|
-
import { FileInfo } from '../types';
|
|
7
|
-
import { FileTemplateDirective } from '../templates/file-template.directive';
|
|
8
|
-
import { FileListItemDirective } from './file-list-item';
|
|
9
|
-
import { NavigationService } from '../navigation.service';
|
|
10
|
-
import { UploadService } from '../upload.service';
|
|
11
|
-
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class FileListComponent implements OnDestroy {
|
|
17
|
-
private uploadService;
|
|
18
|
-
private navigation;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
fileList: Array<Array<FileInfo>>;
|
|
21
|
-
fileTemplate: FileTemplateDirective;
|
|
22
|
-
fileInfoTemplate: FileInfoTemplateDirective;
|
|
23
|
-
fileListItems: QueryList<FileListItemDirective>;
|
|
24
|
-
fileListRole: string;
|
|
25
|
-
private focusSubscription;
|
|
26
|
-
private actionSubscription;
|
|
27
|
-
constructor(uploadService: UploadService, navigation: NavigationService);
|
|
28
|
-
onItemFocus(): void;
|
|
29
|
-
onItemAction(): void;
|
|
30
|
-
itemActionHandler(key: string): void;
|
|
31
|
-
hasDelete(item: FileListItemDirective): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Tracks files array by the UID of the first file in the batch.
|
|
34
|
-
* Each batch of files shares the same UID, which remains stable
|
|
35
|
-
* throughout the file lifecycle until the batch is removed.
|
|
36
|
-
*/
|
|
37
|
-
trackByUid(index: number, files: Array<FileInfo>): string;
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileListComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileListComponent, "[kendo-upload-file-list]", never, { "disabled": { "alias": "disabled"; "required": false; }; "fileList": { "alias": "fileList"; "required": false; }; "fileTemplate": { "alias": "fileTemplate"; "required": false; }; "fileInfoTemplate": { "alias": "fileInfoTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1,37 +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 { ElementRef } from '@angular/core';
|
|
6
|
-
import { UploadService } from '../upload.service';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { NavigationService } from '../navigation.service';
|
|
9
|
-
import { ActionsLayout } from '../common/action-buttons-layout';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class UploadActionButtonsComponent {
|
|
15
|
-
private uploadService;
|
|
16
|
-
private localization;
|
|
17
|
-
private navigation;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
actionsLayout: ActionsLayout;
|
|
20
|
-
clearButton: ElementRef;
|
|
21
|
-
uploadButton: ElementRef;
|
|
22
|
-
hostDefaultClass: boolean;
|
|
23
|
-
hostHorizontalClass: boolean;
|
|
24
|
-
get actionButtonsEndClassName(): boolean;
|
|
25
|
-
get actionButtonsStretchedClassName(): boolean;
|
|
26
|
-
get actionButtonsStartClassName(): boolean;
|
|
27
|
-
get actionButtonsCenterClassName(): boolean;
|
|
28
|
-
constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService);
|
|
29
|
-
onUploadButtonFocus(): void;
|
|
30
|
-
onUploadButtonClick(event?: any): void;
|
|
31
|
-
performUpload(): void;
|
|
32
|
-
onClearButtonClick(event?: any): void;
|
|
33
|
-
clearFiles(): void;
|
|
34
|
-
textFor(key: string): string;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UploadActionButtonsComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadActionButtonsComponent, "kendo-upload-action-buttons", never, { "disabled": { "alias": "disabled"; "required": false; }; "actionsLayout": { "alias": "actionsLayout"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,30 +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 { DoCheck } from '@angular/core';
|
|
6
|
-
import { FileMap } from '../types/file-map';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class UploadStatusTotalComponent implements DoCheck {
|
|
14
|
-
private localization;
|
|
15
|
-
fileList: FileMap;
|
|
16
|
-
isFailed: boolean;
|
|
17
|
-
isPaused: boolean;
|
|
18
|
-
isUploading: boolean;
|
|
19
|
-
statusText: string;
|
|
20
|
-
checkmarkIcon: SVGIcon;
|
|
21
|
-
exceptionSVGIcon: SVGIcon;
|
|
22
|
-
uploadSVGIcon: SVGIcon;
|
|
23
|
-
pauseSVGIcon: SVGIcon;
|
|
24
|
-
constructor(localization: LocalizationService);
|
|
25
|
-
get iconClass(): string;
|
|
26
|
-
get SVGIconClass(): SVGIcon;
|
|
27
|
-
ngDoCheck(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UploadStatusTotalComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadStatusTotalComponent, "kendo-upload-status-total", never, { "fileList": { "alias": "fileList"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,30 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Customizes the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, and upload progress, are preserved in place. ([See example](https://www.telerik.com/kendo-angular-ui/components/uploads/upload/templates#file-info-template)).
|
|
9
|
-
*
|
|
10
|
-
* The following context variables are available in the template:
|
|
11
|
-
*
|
|
12
|
-
* * `let-files`—A reference to the files associated with the current item.
|
|
13
|
-
* * `let-state`—A reference to the current state of each file. If the [`batch`](https://www.telerik.com/kendo-angular-ui/components/uploads/api/uploadcomponent#batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
|
|
14
|
-
* * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`—A reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-upload #myUpload="kendoUpload">
|
|
19
|
-
* <ng-template kendoUploadFileInfoTemplate let-files let-state>
|
|
20
|
-
* <div>Name: {{ files[0].name }}</div>
|
|
21
|
-
* </ng-template>
|
|
22
|
-
* </kendo-upload>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare class FileInfoTemplateDirective {
|
|
26
|
-
templateRef: TemplateRef<any>;
|
|
27
|
-
constructor(templateRef: TemplateRef<any>);
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileInfoTemplateDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FileInfoTemplateDirective, "[kendoUploadFileInfoTemplate], [kendoFileSelectFileInfoTemplate]", never, {}, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,30 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Customizes the rendering of files in the list. ([See example.](https://www.telerik.com/kendo-angular-ui/components/uploads/upload/templates#file-template))
|
|
9
|
-
*
|
|
10
|
-
* The following context variables are available in the template:
|
|
11
|
-
*
|
|
12
|
-
* * `let-files`—A reference to the files associated with the current item.
|
|
13
|
-
* * `let-state`—A reference to the current state of each file. If the [`batch`](https://www.telerik.com/kendo-angular-ui/components/uploads/api/uploadcomponent#batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
|
|
14
|
-
* * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`—A reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-upload #myUpload="kendoUpload">
|
|
19
|
-
* <ng-template kendoUploadFileTemplate let-files let-state>
|
|
20
|
-
* <div>Name: {{ files[0].name }} Size: {{ files[0].size }} bytes</div>
|
|
21
|
-
* </ng-template>
|
|
22
|
-
* </kendo-upload>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare class FileTemplateDirective {
|
|
26
|
-
templateRef: TemplateRef<any>;
|
|
27
|
-
constructor(templateRef: TemplateRef<any>);
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileTemplateDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FileTemplateDirective, "[kendoUploadFileTemplate], [kendoFileSelectFileTemplate]", never, {}, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,24 +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
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface AsyncSettings {
|
|
10
|
-
autoUpload?: boolean;
|
|
11
|
-
batch?: boolean;
|
|
12
|
-
chunk?: boolean;
|
|
13
|
-
concurrent?: boolean;
|
|
14
|
-
removeField?: string;
|
|
15
|
-
removeHeaders?: HttpHeaders;
|
|
16
|
-
removeMethod?: string;
|
|
17
|
-
removeUrl?: string;
|
|
18
|
-
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
19
|
-
saveField?: string;
|
|
20
|
-
saveHeaders?: HttpHeaders;
|
|
21
|
-
saveMethod?: string;
|
|
22
|
-
saveUrl: string;
|
|
23
|
-
withCredentials?: boolean;
|
|
24
|
-
}
|