@progress/kendo-angular-upload 9.0.4-dev.202211170816 → 11.0.0-develop.100
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +1 -1
- package/common/action-buttons-layout.d.ts +1 -1
- package/common/util.d.ts +1 -1
- package/common/validation-util.d.ts +1 -1
- package/dropzone-base.d.ts +2 -2
- package/dropzone-external.directive.d.ts +1 -1
- package/dropzone-internal.directive.d.ts +1 -1
- package/dropzone.component.d.ts +11 -3
- package/dropzone.service.d.ts +1 -1
- package/{esm2015/types/chunk-metadata.js → esm2020/common/action-buttons-layout.mjs} +1 -1
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +13 -10
- package/{esm2015/common/validation-util.js → esm2020/common/validation-util.mjs} +2 -2
- package/{esm2015/dropzone-base.js → esm2020/dropzone-base.mjs} +5 -5
- package/{esm2015/dropzone-external.directive.js → esm2020/dropzone-external.directive.mjs} +5 -5
- package/{esm2015/dropzone-internal.directive.js → esm2020/dropzone-internal.directive.mjs} +11 -7
- package/esm2020/dropzone.component.mjs +134 -0
- package/{esm2015/dropzone.service.js → esm2020/dropzone.service.mjs} +5 -5
- package/{esm2015/events/cancel-event.js → esm2020/events/cancel-event.mjs} +1 -1
- package/{esm2015/events/clear-event.js → esm2020/events/clear-event.mjs} +1 -1
- package/{esm2015/events/error-event.js → esm2020/events/error-event.mjs} +1 -1
- package/{esm2015/events/pause-event.js → esm2020/events/pause-event.mjs} +1 -1
- package/{esm2015/events/preventable-event.js → esm2020/events/preventable-event.mjs} +1 -1
- package/{esm2015/events/remove-event.js → esm2020/events/remove-event.mjs} +1 -1
- package/{esm2015/events/resume-event.js → esm2020/events/resume-event.mjs} +1 -1
- package/{esm2015/events/select-event.js → esm2020/events/select-event.mjs} +1 -1
- package/{esm2015/events/success-event.js → esm2020/events/success-event.mjs} +1 -1
- package/{esm2015/events/upload-event.js → esm2020/events/upload-event.mjs} +1 -1
- package/{esm2015/events/upload-progress-event.js → esm2020/events/upload-progress-event.mjs} +1 -1
- package/{esm2015/events.js → esm2020/events.mjs} +1 -1
- package/{esm2015/file-select.directive.js → esm2020/file-select.directive.mjs} +7 -5
- package/{esm2015/fileselect.component.js → esm2020/fileselect.component.mjs} +100 -60
- package/{esm2015/fileselect.module.js → esm2020/fileselect.module.mjs} +7 -6
- package/{esm2015/main.js → esm2020/index.mjs} +2 -1
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/navigation.service.js → esm2020/navigation.service.mjs} +56 -40
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-upload.js → esm2020/progress-kendo-angular-upload.mjs} +2 -2
- package/esm2020/rendering/file-list-item-action-button.component.mjs +262 -0
- package/{esm2015/rendering/file-list-item-base.js → esm2020/rendering/file-list-item-base.mjs} +5 -4
- package/{esm2015/rendering/file-list-item.js → esm2020/rendering/file-list-item.mjs} +7 -5
- package/esm2020/rendering/file-list-multiple-items.component.mjs +186 -0
- package/esm2020/rendering/file-list-single-item.component.mjs +185 -0
- package/{esm2015/rendering/file-list.component.js → esm2020/rendering/file-list.component.mjs} +16 -11
- package/{esm2015/rendering/upload-action-buttons.component.js → esm2020/rendering/upload-action-buttons.component.mjs} +8 -5
- package/{esm2015/rendering/upload-status-total.component.js → esm2020/rendering/upload-status-total.component.mjs} +51 -22
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +15 -9
- package/{esm2015/templates/file-info-template.directive.js → esm2020/templates/file-info-template.directive.mjs} +5 -5
- package/{esm2015/templates/file-template.directive.js → esm2020/templates/file-template.directive.mjs} +5 -5
- package/{esm2015/templates/template-context.directive.js → esm2020/templates/template-context.directive.mjs} +5 -5
- package/{esm2015/common/action-buttons-layout.js → esm2020/types/async-settings.mjs} +1 -1
- package/{esm2015/types/chunk-info.js → esm2020/types/chunk-info.mjs} +1 -1
- package/{esm2015/types/chunk-map.js → esm2020/types/chunk-map.mjs} +1 -1
- package/{esm2015/types/async-settings.js → esm2020/types/chunk-metadata.mjs} +1 -1
- package/esm2020/types/chunk-settings.mjs +5 -0
- package/esm2020/types/direction.mjs +5 -0
- package/{esm2015/types/file-groups.js → esm2020/types/file-groups.mjs} +19 -1
- package/esm2020/types/file-info.mjs +5 -0
- package/{esm2015/types/file-map.js → esm2020/types/file-map.mjs} +26 -26
- package/esm2020/types/file-restrictions.mjs +5 -0
- package/{esm2015/types/file-state.js → esm2020/types/file-state.mjs} +1 -1
- package/esm2020/types/operation-type.mjs +5 -0
- package/{esm2015/types.js → esm2020/types.mjs} +1 -1
- package/{esm2015/upload.component.js → esm2020/upload.component.mjs} +125 -80
- package/{esm2015/upload.module.js → esm2020/upload.module.mjs} +8 -7
- package/{esm2015/upload.service.js → esm2020/upload.service.mjs} +35 -35
- package/{esm2015/uploads.module.js → esm2020/uploads.module.mjs} +5 -5
- package/events/cancel-event.d.ts +1 -1
- package/events/clear-event.d.ts +1 -1
- package/events/error-event.d.ts +1 -1
- package/events/pause-event.d.ts +1 -1
- package/events/preventable-event.d.ts +1 -1
- package/events/remove-event.d.ts +1 -1
- package/events/resume-event.d.ts +1 -1
- package/events/select-event.d.ts +1 -1
- package/events/success-event.d.ts +1 -1
- package/events/upload-event.d.ts +1 -1
- package/events/upload-progress-event.d.ts +3 -3
- package/events.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-upload.mjs +4997 -0
- package/{fesm2015/kendo-angular-upload.js → fesm2020/progress-kendo-angular-upload.mjs} +829 -592
- package/file-select.directive.d.ts +1 -1
- package/fileselect.component.d.ts +13 -8
- package/fileselect.module.d.ts +8 -7
- package/{main.d.ts → index.d.ts} +2 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/navigation.service.d.ts +4 -3
- package/package-metadata.d.ts +1 -1
- package/package.json +30 -55
- package/{kendo-angular-upload.d.ts → progress-kendo-angular-upload.d.ts} +2 -2
- package/rendering/file-list-item-action-button.component.d.ts +8 -2
- package/rendering/file-list-item-base.d.ts +2 -2
- package/rendering/file-list-item.d.ts +1 -1
- package/rendering/file-list-multiple-items.component.d.ts +3 -1
- package/rendering/file-list-single-item.component.d.ts +3 -1
- package/rendering/file-list.component.d.ts +1 -1
- package/rendering/upload-action-buttons.component.d.ts +1 -1
- package/rendering/upload-status-total.component.d.ts +8 -1
- package/schematics/ngAdd/index.js +8 -6
- package/shared.module.d.ts +5 -2
- package/templates/file-info-template.directive.d.ts +1 -1
- package/templates/file-template.directive.d.ts +1 -1
- package/templates/template-context.directive.d.ts +1 -1
- package/types/async-settings.d.ts +1 -1
- package/types/chunk-info.d.ts +1 -1
- package/types/chunk-map.d.ts +1 -1
- package/types/chunk-metadata.d.ts +1 -1
- package/types/chunk-settings.d.ts +1 -1
- package/types/direction.d.ts +1 -1
- package/types/file-groups.d.ts +22 -1
- package/types/file-info.d.ts +1 -1
- package/types/file-map.d.ts +1 -1
- package/types/file-restrictions.d.ts +1 -1
- package/types/file-state.d.ts +1 -1
- package/types/operation-type.d.ts +1 -1
- package/types.d.ts +1 -1
- package/upload.component.d.ts +15 -10
- package/upload.module.d.ts +8 -7
- package/upload.service.d.ts +1 -1
- package/uploads.module.d.ts +1 -1
- package/bundles/kendo-angular-upload.umd.js +0 -5
- package/esm2015/dropzone.component.js +0 -112
- package/esm2015/rendering/file-list-item-action-button.component.js +0 -226
- package/esm2015/rendering/file-list-multiple-items.component.js +0 -172
- package/esm2015/rendering/file-list-single-item.component.js +0 -154
- package/esm2015/types/chunk-settings.js +0 -5
- package/esm2015/types/direction.js +0 -5
- package/esm2015/types/file-info.js +0 -5
- package/esm2015/types/file-restrictions.js +0 -5
- package/esm2015/types/operation-type.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { HttpEventType, HttpHeaders, HttpRequest, HttpResponse } from '@angular/common/http';
|
|
5
|
+
import { HttpClient, HttpEventType, HttpHeaders, HttpRequest, HttpResponse } from '@angular/common/http';
|
|
6
6
|
import { EventEmitter, Injectable } from '@angular/core';
|
|
7
7
|
import { FileState } from './types';
|
|
8
8
|
import { FileMap } from './types/file-map';
|
|
@@ -76,17 +76,17 @@ export class UploadService {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
onChange() {
|
|
79
|
-
|
|
79
|
+
const files = this.fileList.filesFlat.filter((file) => {
|
|
80
80
|
return file.state === FileState.Initial ||
|
|
81
81
|
file.state === FileState.Uploaded;
|
|
82
82
|
});
|
|
83
83
|
this.changeEvent.emit(files.length > 0 ? files : null);
|
|
84
84
|
}
|
|
85
85
|
addFiles(files) {
|
|
86
|
-
|
|
86
|
+
const selectEventArgs = new SelectEvent(files);
|
|
87
87
|
this.selectEvent.emit(selectEventArgs);
|
|
88
88
|
if (!selectEventArgs.isDefaultPrevented()) {
|
|
89
|
-
for (
|
|
89
|
+
for (const file of files) {
|
|
90
90
|
this.fileList.add(file);
|
|
91
91
|
}
|
|
92
92
|
if (this.async.autoUpload) {
|
|
@@ -101,7 +101,7 @@ export class UploadService {
|
|
|
101
101
|
addInitialFiles(initialFiles) {
|
|
102
102
|
this.fileList.clear();
|
|
103
103
|
initialFiles.forEach((file) => {
|
|
104
|
-
|
|
104
|
+
const fakeFile = getInitialFileInfo(file);
|
|
105
105
|
this.fileList.add(fakeFile);
|
|
106
106
|
});
|
|
107
107
|
}
|
|
@@ -123,14 +123,14 @@ export class UploadService {
|
|
|
123
123
|
this._uploadFiles([fileToResume]);
|
|
124
124
|
}
|
|
125
125
|
pauseFile(uid) {
|
|
126
|
-
|
|
126
|
+
const pausedFile = this.fileList.get(uid)[0];
|
|
127
127
|
this.pauseEvent.emit(new PauseEvent(pausedFile));
|
|
128
128
|
this.fileList.setFilesStateByUid(uid, FileState.Paused);
|
|
129
129
|
}
|
|
130
130
|
removeFiles(uid) {
|
|
131
|
-
|
|
131
|
+
const removedFiles = this.fileList.get(uid);
|
|
132
132
|
// Clone the Headers so that the default ones are not overridden
|
|
133
|
-
|
|
133
|
+
const removeEventArgs = new RemoveEvent(removedFiles, this.cloneRequestHeaders(this.async.removeHeaders));
|
|
134
134
|
this.removeEvent.emit(removeEventArgs);
|
|
135
135
|
if (!removeEventArgs.isDefaultPrevented()) {
|
|
136
136
|
if (this.component === 'Upload' &&
|
|
@@ -148,10 +148,10 @@ export class UploadService {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
cancelFiles(uid) {
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
const canceledFiles = this.fileList.get(uid);
|
|
152
|
+
const cancelEventArgs = new CancelEvent(canceledFiles);
|
|
153
153
|
this.cancelEvent.emit(cancelEventArgs);
|
|
154
|
-
for (
|
|
154
|
+
for (const file of canceledFiles) {
|
|
155
155
|
if (file.httpSubscription) {
|
|
156
156
|
file.httpSubscription.unsubscribe();
|
|
157
157
|
}
|
|
@@ -160,10 +160,10 @@ export class UploadService {
|
|
|
160
160
|
this.checkAllComplete();
|
|
161
161
|
}
|
|
162
162
|
clearFiles() {
|
|
163
|
-
|
|
163
|
+
const clearEventArgs = new ClearEvent();
|
|
164
164
|
this.clearEvent.emit(clearEventArgs);
|
|
165
165
|
if (!clearEventArgs.isDefaultPrevented()) {
|
|
166
|
-
|
|
166
|
+
const triggerChange = this.fileList.hasFileWithState([
|
|
167
167
|
FileState.Initial,
|
|
168
168
|
FileState.Uploaded
|
|
169
169
|
]);
|
|
@@ -186,22 +186,22 @@ export class UploadService {
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
retryFiles(uid) {
|
|
189
|
-
|
|
189
|
+
const filesToRetry = [this.fileList.get(uid)];
|
|
190
190
|
if (filesToRetry) {
|
|
191
191
|
this._uploadFiles(filesToRetry);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
_uploadFiles(allFiles) {
|
|
195
|
-
for (
|
|
195
|
+
for (const filesToUpload of allFiles) {
|
|
196
196
|
if (filesToUpload[0].state === FileState.Paused) {
|
|
197
197
|
return;
|
|
198
198
|
}
|
|
199
199
|
// Clone the Headers so that the default ones are not overridden
|
|
200
|
-
|
|
200
|
+
const uploadEventArgs = new UploadEvent(filesToUpload, this.cloneRequestHeaders(this.async.saveHeaders));
|
|
201
201
|
this.uploadEvent.emit(uploadEventArgs);
|
|
202
202
|
if (!uploadEventArgs.isDefaultPrevented()) {
|
|
203
203
|
this.fileList.setFilesState(filesToUpload, FileState.Uploading);
|
|
204
|
-
|
|
204
|
+
const httpSubcription = this.performUpload(filesToUpload, uploadEventArgs);
|
|
205
205
|
filesToUpload.forEach((file) => {
|
|
206
206
|
file.httpSubscription = httpSubcription;
|
|
207
207
|
});
|
|
@@ -213,12 +213,12 @@ export class UploadService {
|
|
|
213
213
|
}
|
|
214
214
|
performRemove(files, removeEventArgs) {
|
|
215
215
|
const async = this.async;
|
|
216
|
-
|
|
216
|
+
const fileNames = files.map((file) => {
|
|
217
217
|
return file.name;
|
|
218
218
|
});
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
const formData = this.populateRemoveFormData(fileNames, removeEventArgs.data);
|
|
220
|
+
const options = this.populateRequestOptions(removeEventArgs.headers, false);
|
|
221
|
+
const removeRequest = new HttpRequest(async.removeMethod, async.removeUrl, formData, options);
|
|
222
222
|
this.http.request(removeRequest)
|
|
223
223
|
.subscribe(success => {
|
|
224
224
|
this.onSuccess(success, files, "remove");
|
|
@@ -228,10 +228,10 @@ export class UploadService {
|
|
|
228
228
|
}
|
|
229
229
|
performUpload(files, uploadEventArgs) {
|
|
230
230
|
const async = this.async;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
const formData = this.populateUploadFormData(files, uploadEventArgs.data);
|
|
232
|
+
const options = this.populateRequestOptions(uploadEventArgs.headers);
|
|
233
|
+
const uploadRequest = new HttpRequest(async.saveMethod, async.saveUrl, formData, options);
|
|
234
|
+
const httpSubscription = this.http.request(uploadRequest)
|
|
235
235
|
.subscribe(event => {
|
|
236
236
|
if (event.type === HttpEventType.UploadProgress && !this.async.chunk) {
|
|
237
237
|
this.onProgress(event, files);
|
|
@@ -330,7 +330,7 @@ export class UploadService {
|
|
|
330
330
|
return validSelectedFiles.length === 0;
|
|
331
331
|
}
|
|
332
332
|
cloneRequestHeaders(headers) {
|
|
333
|
-
|
|
333
|
+
const cloned = {};
|
|
334
334
|
if (headers) {
|
|
335
335
|
headers.keys().forEach((key) => {
|
|
336
336
|
cloned[key] = headers.get(key);
|
|
@@ -348,29 +348,29 @@ export class UploadService {
|
|
|
348
348
|
}
|
|
349
349
|
populateUploadFormData(files, clientData) {
|
|
350
350
|
const saveField = this.async.saveField;
|
|
351
|
-
|
|
351
|
+
const data = new FormData();
|
|
352
352
|
this.populateClientFormData(data, clientData);
|
|
353
353
|
if (this.async.chunk) {
|
|
354
354
|
data.append(saveField, this.getNextChunk(files[0]));
|
|
355
355
|
data.append("metadata", this.getChunkMetadata(files[0]));
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
358
|
-
for (
|
|
358
|
+
for (const file of files) {
|
|
359
359
|
data.append(saveField, file.rawFile);
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
return data;
|
|
363
363
|
}
|
|
364
364
|
populateRemoveFormData(fileNames, clientData) {
|
|
365
|
-
|
|
365
|
+
const data = new FormData();
|
|
366
366
|
this.populateClientFormData(data, clientData);
|
|
367
|
-
for (
|
|
367
|
+
for (const fileName of fileNames) {
|
|
368
368
|
data.append(this.async.removeField, fileName);
|
|
369
369
|
}
|
|
370
370
|
return data;
|
|
371
371
|
}
|
|
372
372
|
populateClientFormData(data, clientData) {
|
|
373
|
-
for (
|
|
373
|
+
for (const key in clientData) {
|
|
374
374
|
if (clientData.hasOwnProperty(key)) {
|
|
375
375
|
data.append(key, clientData[key]);
|
|
376
376
|
}
|
|
@@ -421,8 +421,8 @@ export class UploadService {
|
|
|
421
421
|
return false;
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
UploadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
425
|
-
UploadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
424
|
+
UploadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
425
|
+
UploadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadService });
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadService, decorators: [{
|
|
427
427
|
type: Injectable
|
|
428
428
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -33,12 +33,12 @@ import * as i0 from "@angular/core";
|
|
|
33
33
|
*/
|
|
34
34
|
export class UploadsModule {
|
|
35
35
|
}
|
|
36
|
-
UploadsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
UploadsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
36
|
+
UploadsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
+
UploadsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadsModule, exports: [FileSelectModule,
|
|
38
38
|
UploadModule] });
|
|
39
|
-
UploadsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
39
|
+
UploadsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadsModule, imports: [FileSelectModule,
|
|
40
40
|
UploadModule] });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UploadsModule, decorators: [{
|
|
42
42
|
type: NgModule,
|
|
43
43
|
args: [{
|
|
44
44
|
exports: [
|
package/events/cancel-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { FileInfo } from '../types';
|
package/events/clear-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
package/events/error-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { HttpResponse } from '@angular/common/http';
|
package/events/pause-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { FileInfo } from '../types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/events/remove-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { HttpHeaders } from '@angular/common/http';
|
package/events/resume-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { FileInfo } from '../types';
|
package/events/select-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { HttpResponse } from '@angular/common/http';
|
package/events/upload-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { HttpHeaders } from '@angular/common/http';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { FileInfo } from '../types';
|
|
@@ -36,12 +36,12 @@ export declare class UploadProgressEvent {
|
|
|
36
36
|
/**
|
|
37
37
|
* The portion that has been uploaded.
|
|
38
38
|
*/
|
|
39
|
-
percentComplete:
|
|
39
|
+
percentComplete: number;
|
|
40
40
|
/**
|
|
41
41
|
* @hidden
|
|
42
42
|
* Constructs the event arguments for the `uploadprogress` event.
|
|
43
43
|
* @param files - The list of files that are being uploaded.
|
|
44
44
|
* @param percentComplete - The portion that has been uploaded.
|
|
45
45
|
*/
|
|
46
|
-
constructor(files: Array<FileInfo>, percentComplete:
|
|
46
|
+
constructor(files: Array<FileInfo>, percentComplete: number);
|
|
47
47
|
}
|
package/events.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { CancelEvent } from './events/cancel-event';
|