@progress/kendo-angular-upload 25.1.0-develop.1 → 25.1.0-develop.10
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 +462 -145
- package/index.d.ts +165 -75
- package/package-metadata.mjs +2 -2
- package/package.json +8 -8
- package/schematics/ngAdd/index.js +3 -3
package/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { HttpHeaders, HttpResponse, HttpClient } from '@angular/common/http';
|
|
6
6
|
import * as i0 from '@angular/core';
|
|
7
|
-
import { EventEmitter, NgZone, TemplateRef, ChangeDetectorRef, Injector, ElementRef, OnInit, OnDestroy, Renderer2,
|
|
7
|
+
import { EventEmitter, NgZone, TemplateRef, ChangeDetectorRef, Injector, ElementRef, OnInit, OnDestroy, Renderer2, QueryList } from '@angular/core';
|
|
8
8
|
import { Subscription } from 'rxjs';
|
|
9
9
|
import { FormControl, ControlValueAccessor } from '@angular/forms';
|
|
10
10
|
import { LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
@@ -773,32 +773,37 @@ declare abstract class UploadFileSelectBase {
|
|
|
773
773
|
/**
|
|
774
774
|
* Sets the `accept` attribute of the internal `input` element of the component.
|
|
775
775
|
*/
|
|
776
|
-
accept: string;
|
|
776
|
+
set accept(value: string);
|
|
777
|
+
get accept(): string;
|
|
777
778
|
/**
|
|
778
779
|
* Disables the component.
|
|
779
780
|
*
|
|
780
781
|
* @default false
|
|
781
782
|
*/
|
|
782
|
-
disabled: boolean;
|
|
783
|
+
set disabled(value: boolean);
|
|
784
|
+
get disabled(): boolean;
|
|
783
785
|
/**
|
|
784
786
|
* Allows you to select multiple files.
|
|
785
787
|
* When you set this to `false`, you can select only one file at a time.
|
|
786
788
|
*
|
|
787
789
|
* @default true
|
|
788
790
|
*/
|
|
789
|
-
multiple: boolean;
|
|
791
|
+
set multiple(value: boolean);
|
|
792
|
+
get multiple(): boolean;
|
|
790
793
|
/**
|
|
791
794
|
* Controls the visibility of the file list.
|
|
792
795
|
*
|
|
793
796
|
* @default true
|
|
794
797
|
*/
|
|
795
|
-
showFileList: boolean;
|
|
798
|
+
set showFileList(value: boolean);
|
|
799
|
+
get showFileList(): boolean;
|
|
796
800
|
/**
|
|
797
801
|
* Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
798
802
|
*
|
|
799
803
|
* @default 0
|
|
800
804
|
*/
|
|
801
|
-
tabindex: number;
|
|
805
|
+
set tabindex(value: number);
|
|
806
|
+
get tabindex(): number;
|
|
802
807
|
/**
|
|
803
808
|
* Sets the restrictions for selected files.
|
|
804
809
|
*/
|
|
@@ -807,11 +812,13 @@ declare abstract class UploadFileSelectBase {
|
|
|
807
812
|
/**
|
|
808
813
|
* Sets the `id` of the external drop zone that you want to associate with the component.
|
|
809
814
|
*/
|
|
810
|
-
zoneId: string;
|
|
815
|
+
set zoneId(value: string);
|
|
816
|
+
get zoneId(): string;
|
|
811
817
|
/**
|
|
812
818
|
* @hidden
|
|
813
819
|
*/
|
|
814
|
-
focusableId: string;
|
|
820
|
+
set focusableId(value: string);
|
|
821
|
+
get focusableId(): string;
|
|
815
822
|
/**
|
|
816
823
|
* @hidden
|
|
817
824
|
*/
|
|
@@ -844,10 +851,14 @@ declare abstract class UploadFileSelectBase {
|
|
|
844
851
|
* Fires when you are about to remove a file. If you prevent this event, the file will remain in the list.
|
|
845
852
|
*/
|
|
846
853
|
remove: EventEmitter<RemoveEvent>;
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
854
|
+
private _accept;
|
|
855
|
+
private _disabled;
|
|
856
|
+
private _multiple;
|
|
857
|
+
private _showFileList;
|
|
858
|
+
private _tabindex;
|
|
859
|
+
private _restrictionsSignal;
|
|
860
|
+
private _zoneId;
|
|
861
|
+
private _focusableId;
|
|
851
862
|
/**
|
|
852
863
|
* @hidden
|
|
853
864
|
*/
|
|
@@ -1026,7 +1037,8 @@ declare class UploadComponent extends UploadFileSelectBase implements OnInit, On
|
|
|
1026
1037
|
*
|
|
1027
1038
|
* @default false
|
|
1028
1039
|
*/
|
|
1029
|
-
chunkable: ChunkSettings | boolean;
|
|
1040
|
+
set chunkable(value: ChunkSettings | boolean);
|
|
1041
|
+
get chunkable(): ChunkSettings | boolean;
|
|
1030
1042
|
/**
|
|
1031
1043
|
* Specifies whether selected files upload simultaneously or one by one.
|
|
1032
1044
|
*
|
|
@@ -1034,12 +1046,6 @@ declare class UploadComponent extends UploadFileSelectBase implements OnInit, On
|
|
|
1034
1046
|
*/
|
|
1035
1047
|
set concurrent(concurrent: boolean);
|
|
1036
1048
|
get concurrent(): boolean;
|
|
1037
|
-
/**
|
|
1038
|
-
* Specifies whether the file list is visible.
|
|
1039
|
-
*
|
|
1040
|
-
* @default true
|
|
1041
|
-
*/
|
|
1042
|
-
showFileList: boolean;
|
|
1043
1049
|
/**
|
|
1044
1050
|
* @hidden
|
|
1045
1051
|
*/
|
|
@@ -1050,7 +1056,8 @@ declare class UploadComponent extends UploadFileSelectBase implements OnInit, On
|
|
|
1050
1056
|
*
|
|
1051
1057
|
* @default 'end'
|
|
1052
1058
|
*/
|
|
1053
|
-
actionsLayout: ActionsLayout;
|
|
1059
|
+
set actionsLayout(value: ActionsLayout);
|
|
1060
|
+
get actionsLayout(): ActionsLayout;
|
|
1054
1061
|
fileSelectInput: ElementRef;
|
|
1055
1062
|
/**
|
|
1056
1063
|
* Fires when the upload is canceled while in progress.
|
|
@@ -1098,6 +1105,8 @@ declare class UploadComponent extends UploadFileSelectBase implements OnInit, On
|
|
|
1098
1105
|
direction: Direction;
|
|
1099
1106
|
wrapper: HTMLElement;
|
|
1100
1107
|
fileListId: string;
|
|
1108
|
+
private _chunkable;
|
|
1109
|
+
private _actionsLayout;
|
|
1101
1110
|
private documentClick;
|
|
1102
1111
|
private blurSubscription;
|
|
1103
1112
|
private wrapperFocusSubscription;
|
|
@@ -1106,7 +1115,6 @@ declare class UploadComponent extends UploadFileSelectBase implements OnInit, On
|
|
|
1106
1115
|
private subs;
|
|
1107
1116
|
constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService, dropZoneService: DropZoneService, zone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, wrapper: ElementRef, injector: Injector);
|
|
1108
1117
|
ngOnInit(): void;
|
|
1109
|
-
ngOnChanges(changes: any): void;
|
|
1110
1118
|
ngOnDestroy(): void;
|
|
1111
1119
|
/**
|
|
1112
1120
|
* @hidden
|
|
@@ -1187,7 +1195,7 @@ declare class UploadComponent extends UploadFileSelectBase implements OnInit, On
|
|
|
1187
1195
|
private subscribeFocus;
|
|
1188
1196
|
private attachEventHandlers;
|
|
1189
1197
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent, never>;
|
|
1190
|
-
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; }; "
|
|
1198
|
+
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; }; "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>;
|
|
1191
1199
|
}
|
|
1192
1200
|
|
|
1193
1201
|
/**
|
|
@@ -1221,10 +1229,6 @@ declare class FileSelectComponent extends UploadFileSelectBase implements OnInit
|
|
|
1221
1229
|
* Fires when the component value changes after a successful `select` or `remove` operation.
|
|
1222
1230
|
*/
|
|
1223
1231
|
valueChange: EventEmitter<Array<File>>;
|
|
1224
|
-
/**
|
|
1225
|
-
* @hidden
|
|
1226
|
-
*/
|
|
1227
|
-
_restrictions: FileRestrictions;
|
|
1228
1232
|
direction: Direction;
|
|
1229
1233
|
wrapper: HTMLElement;
|
|
1230
1234
|
fileListId: string;
|
|
@@ -1306,127 +1310,169 @@ declare class Messages extends ComponentMessages {
|
|
|
1306
1310
|
*
|
|
1307
1311
|
* @default 'Cancel'
|
|
1308
1312
|
*/
|
|
1309
|
-
cancel: string;
|
|
1313
|
+
set cancel(value: string);
|
|
1314
|
+
get cancel(): string;
|
|
1310
1315
|
/**
|
|
1311
1316
|
* Sets the text for the **Clear** button.
|
|
1312
1317
|
*
|
|
1313
1318
|
* @default 'Clear'
|
|
1314
1319
|
*/
|
|
1315
|
-
clearSelectedFiles: string;
|
|
1320
|
+
set clearSelectedFiles(value: string);
|
|
1321
|
+
get clearSelectedFiles(): string;
|
|
1316
1322
|
/**
|
|
1317
1323
|
* Sets the drop-zone hint.
|
|
1318
1324
|
*
|
|
1319
1325
|
* @default 'Drop files here to upload'
|
|
1320
1326
|
*/
|
|
1321
|
-
dropFilesHere: string;
|
|
1327
|
+
set dropFilesHere(value: string);
|
|
1328
|
+
get dropFilesHere(): string;
|
|
1322
1329
|
/**
|
|
1323
1330
|
* Sets the external drop-zone hint.
|
|
1324
1331
|
*
|
|
1325
1332
|
* @default 'Drag and drop files here to upload'
|
|
1326
1333
|
*/
|
|
1327
|
-
externalDropFilesHere: string;
|
|
1334
|
+
set externalDropFilesHere(value: string);
|
|
1335
|
+
get externalDropFilesHere(): string;
|
|
1328
1336
|
/**
|
|
1329
1337
|
* Sets the status message for a batch of files.
|
|
1330
1338
|
*
|
|
1331
1339
|
* @default 'files'
|
|
1332
1340
|
*/
|
|
1333
|
-
filesBatchStatus: string;
|
|
1341
|
+
set filesBatchStatus(value: string);
|
|
1342
|
+
get filesBatchStatus(): string;
|
|
1334
1343
|
/**
|
|
1335
1344
|
* Sets the status message for a batch of files after failed upload.
|
|
1336
1345
|
*
|
|
1337
1346
|
* @default 'files failed to upload.'
|
|
1338
1347
|
*/
|
|
1339
|
-
filesBatchStatusFailed: string;
|
|
1348
|
+
set filesBatchStatusFailed(value: string);
|
|
1349
|
+
get filesBatchStatusFailed(): string;
|
|
1340
1350
|
/**
|
|
1341
1351
|
* Sets the status message for a batch of files after successful upload.
|
|
1342
1352
|
*
|
|
1343
1353
|
* @default 'files successfully uploaded.'
|
|
1344
1354
|
*/
|
|
1345
|
-
filesBatchStatusUploaded: string;
|
|
1355
|
+
set filesBatchStatusUploaded(value: string);
|
|
1356
|
+
get filesBatchStatusUploaded(): string;
|
|
1346
1357
|
/**
|
|
1347
1358
|
* Sets the file status message after failed upload.
|
|
1348
1359
|
*
|
|
1349
1360
|
* @default 'File failed to upload.'
|
|
1350
1361
|
*/
|
|
1351
|
-
fileStatusFailed: string;
|
|
1362
|
+
set fileStatusFailed(value: string);
|
|
1363
|
+
get fileStatusFailed(): string;
|
|
1352
1364
|
/**
|
|
1353
1365
|
* Sets the file status message after successful upload.
|
|
1354
1366
|
*
|
|
1355
1367
|
* @default 'File successfully uploaded.'
|
|
1356
1368
|
*/
|
|
1357
|
-
fileStatusUploaded: string;
|
|
1369
|
+
set fileStatusUploaded(value: string);
|
|
1370
|
+
get fileStatusUploaded(): string;
|
|
1358
1371
|
/**
|
|
1359
1372
|
* Sets the header status message when the file upload is paused.
|
|
1360
1373
|
*
|
|
1361
1374
|
* @default 'Paused'
|
|
1362
1375
|
*/
|
|
1363
|
-
headerStatusPaused: string;
|
|
1376
|
+
set headerStatusPaused(value: string);
|
|
1377
|
+
get headerStatusPaused(): string;
|
|
1364
1378
|
/**
|
|
1365
1379
|
* Sets the header status message after the file upload completes.
|
|
1366
1380
|
*
|
|
1367
1381
|
* @default 'Done'
|
|
1368
1382
|
*/
|
|
1369
|
-
headerStatusUploaded: string;
|
|
1383
|
+
set headerStatusUploaded(value: string);
|
|
1384
|
+
get headerStatusUploaded(): string;
|
|
1370
1385
|
/**
|
|
1371
1386
|
* Sets the header status message during the upload of the file.
|
|
1372
1387
|
*
|
|
1373
1388
|
* @default 'Uploading...'
|
|
1374
1389
|
*/
|
|
1375
|
-
headerStatusUploading: string;
|
|
1390
|
+
set headerStatusUploading(value: string);
|
|
1391
|
+
get headerStatusUploading(): string;
|
|
1376
1392
|
/**
|
|
1377
1393
|
* Sets the text for the invalid `allowedExtensions` restriction message.
|
|
1378
1394
|
*
|
|
1379
1395
|
* @default 'File type not allowed.'
|
|
1380
1396
|
*/
|
|
1381
|
-
invalidFileExtension: string;
|
|
1397
|
+
set invalidFileExtension(value: string);
|
|
1398
|
+
get invalidFileExtension(): string;
|
|
1382
1399
|
/**
|
|
1383
1400
|
* Sets the text for the invalid `maxFileSize` restriction message.
|
|
1384
1401
|
*
|
|
1385
1402
|
* @default 'File size too large.'
|
|
1386
1403
|
*/
|
|
1387
|
-
invalidMaxFileSize: string;
|
|
1404
|
+
set invalidMaxFileSize(value: string);
|
|
1405
|
+
get invalidMaxFileSize(): string;
|
|
1388
1406
|
/**
|
|
1389
1407
|
* Sets the text for the invalid `minFileSize` restriction message.
|
|
1390
1408
|
*
|
|
1391
1409
|
* @default 'File size too small.'
|
|
1392
1410
|
*/
|
|
1393
|
-
invalidMinFileSize: string;
|
|
1411
|
+
set invalidMinFileSize(value: string);
|
|
1412
|
+
get invalidMinFileSize(): string;
|
|
1394
1413
|
/**
|
|
1395
1414
|
* Sets the text for the **Pause** button.
|
|
1396
1415
|
*
|
|
1397
1416
|
* @default 'Pause'
|
|
1398
1417
|
*/
|
|
1399
|
-
pause: string;
|
|
1418
|
+
set pause(value: string);
|
|
1419
|
+
get pause(): string;
|
|
1400
1420
|
/**
|
|
1401
1421
|
* Sets the text for the **Remove** button.
|
|
1402
1422
|
*
|
|
1403
1423
|
* @default 'Remove'
|
|
1404
1424
|
*/
|
|
1405
|
-
remove: string;
|
|
1425
|
+
set remove(value: string);
|
|
1426
|
+
get remove(): string;
|
|
1406
1427
|
/**
|
|
1407
1428
|
* Sets the text for the **Resume** button.
|
|
1408
1429
|
*
|
|
1409
1430
|
* @default 'Resume'
|
|
1410
1431
|
*/
|
|
1411
|
-
resume: string;
|
|
1432
|
+
set resume(value: string);
|
|
1433
|
+
get resume(): string;
|
|
1412
1434
|
/**
|
|
1413
1435
|
* Sets the text for the **Retry** button.
|
|
1414
1436
|
*
|
|
1415
1437
|
* @default 'Retry'
|
|
1416
1438
|
*/
|
|
1417
|
-
retry: string;
|
|
1439
|
+
set retry(value: string);
|
|
1440
|
+
get retry(): string;
|
|
1418
1441
|
/**
|
|
1419
1442
|
* Sets the text for the **Select** button.
|
|
1420
1443
|
*
|
|
1421
1444
|
* @default 'Select files...'
|
|
1422
1445
|
*/
|
|
1423
|
-
select: string;
|
|
1446
|
+
set select(value: string);
|
|
1447
|
+
get select(): string;
|
|
1424
1448
|
/**
|
|
1425
1449
|
* Sets the text for the **Upload files** button.
|
|
1426
1450
|
*
|
|
1427
1451
|
* @default 'Upload'
|
|
1428
1452
|
*/
|
|
1429
|
-
uploadSelectedFiles: string;
|
|
1453
|
+
set uploadSelectedFiles(value: string);
|
|
1454
|
+
get uploadSelectedFiles(): string;
|
|
1455
|
+
private _cancel;
|
|
1456
|
+
private _clearSelectedFiles;
|
|
1457
|
+
private _dropFilesHere;
|
|
1458
|
+
private _externalDropFilesHere;
|
|
1459
|
+
private _filesBatchStatus;
|
|
1460
|
+
private _filesBatchStatusFailed;
|
|
1461
|
+
private _filesBatchStatusUploaded;
|
|
1462
|
+
private _fileStatusFailed;
|
|
1463
|
+
private _fileStatusUploaded;
|
|
1464
|
+
private _headerStatusPaused;
|
|
1465
|
+
private _headerStatusUploaded;
|
|
1466
|
+
private _headerStatusUploading;
|
|
1467
|
+
private _invalidFileExtension;
|
|
1468
|
+
private _invalidMaxFileSize;
|
|
1469
|
+
private _invalidMinFileSize;
|
|
1470
|
+
private _pause;
|
|
1471
|
+
private _remove;
|
|
1472
|
+
private _resume;
|
|
1473
|
+
private _retry;
|
|
1474
|
+
private _select;
|
|
1475
|
+
private _uploadSelectedFiles;
|
|
1430
1476
|
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
1431
1477
|
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>;
|
|
1432
1478
|
}
|
|
@@ -1557,17 +1603,20 @@ declare class UploadDropZoneComponent extends DropZoneBase {
|
|
|
1557
1603
|
* Specifies the id of the component.
|
|
1558
1604
|
* Use this id to associate the DropZone with an existing Upload or FileSelect component.
|
|
1559
1605
|
*/
|
|
1560
|
-
zoneId: string;
|
|
1606
|
+
set zoneId(value: string);
|
|
1607
|
+
get zoneId(): string;
|
|
1561
1608
|
/**
|
|
1562
1609
|
* Specifies the name for an existing icon in a Kendo UI theme.
|
|
1563
1610
|
* The icon renders inside the DropZone.
|
|
1564
1611
|
*/
|
|
1565
|
-
icon: string;
|
|
1612
|
+
set icon(value: string);
|
|
1613
|
+
get icon(): string;
|
|
1566
1614
|
/**
|
|
1567
1615
|
* Specifies a CSS class or multiple classes separated by spaces which apply to a span element.
|
|
1568
1616
|
* Use this property to apply custom icons.
|
|
1569
1617
|
*/
|
|
1570
|
-
iconClass: string;
|
|
1618
|
+
set iconClass(value: string);
|
|
1619
|
+
get iconClass(): string;
|
|
1571
1620
|
/**
|
|
1572
1621
|
* Specifies an SVGIcon to render inside the DropZone.
|
|
1573
1622
|
* The input accepts either an [existing Kendo SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) or a custom one.
|
|
@@ -1576,6 +1625,9 @@ declare class UploadDropZoneComponent extends DropZoneBase {
|
|
|
1576
1625
|
get svgIcon(): SVGIcon;
|
|
1577
1626
|
private direction;
|
|
1578
1627
|
private localizationChangeSubscription;
|
|
1628
|
+
private _zoneId;
|
|
1629
|
+
private _icon;
|
|
1630
|
+
private _iconClass;
|
|
1579
1631
|
private _svgIcon;
|
|
1580
1632
|
constructor(element: ElementRef, renderer: Renderer2, localization: LocalizationService);
|
|
1581
1633
|
/**
|
|
@@ -1607,8 +1659,10 @@ declare class UploadActionButtonsComponent {
|
|
|
1607
1659
|
private uploadService;
|
|
1608
1660
|
private localization;
|
|
1609
1661
|
private navigation;
|
|
1610
|
-
disabled: boolean;
|
|
1611
|
-
|
|
1662
|
+
set disabled(value: boolean);
|
|
1663
|
+
get disabled(): boolean;
|
|
1664
|
+
set actionsLayout(value: ActionsLayout);
|
|
1665
|
+
get actionsLayout(): ActionsLayout;
|
|
1612
1666
|
clearButton: ElementRef;
|
|
1613
1667
|
uploadButton: ElementRef;
|
|
1614
1668
|
hostDefaultClass: boolean;
|
|
@@ -1617,6 +1671,8 @@ declare class UploadActionButtonsComponent {
|
|
|
1617
1671
|
get actionButtonsStretchedClassName(): boolean;
|
|
1618
1672
|
get actionButtonsStartClassName(): boolean;
|
|
1619
1673
|
get actionButtonsCenterClassName(): boolean;
|
|
1674
|
+
private _disabled;
|
|
1675
|
+
private _actionsLayout;
|
|
1620
1676
|
constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService);
|
|
1621
1677
|
onUploadButtonFocus(): void;
|
|
1622
1678
|
onUploadButtonClick(event?: any): void;
|
|
@@ -1631,21 +1687,24 @@ declare class UploadActionButtonsComponent {
|
|
|
1631
1687
|
/**
|
|
1632
1688
|
* @hidden
|
|
1633
1689
|
*/
|
|
1634
|
-
declare class UploadStatusTotalComponent implements
|
|
1690
|
+
declare class UploadStatusTotalComponent implements OnInit, OnDestroy {
|
|
1635
1691
|
private localization;
|
|
1692
|
+
private uploadService;
|
|
1636
1693
|
fileList: FileMap;
|
|
1637
|
-
isFailed: boolean;
|
|
1638
|
-
isPaused: boolean;
|
|
1639
|
-
isUploading: boolean;
|
|
1640
|
-
statusText: string;
|
|
1641
1694
|
checkmarkIcon: SVGIcon;
|
|
1642
1695
|
exceptionSVGIcon: SVGIcon;
|
|
1643
1696
|
uploadSVGIcon: SVGIcon;
|
|
1644
1697
|
pauseSVGIcon: SVGIcon;
|
|
1645
|
-
|
|
1698
|
+
private _isFailed;
|
|
1699
|
+
private _isPaused;
|
|
1700
|
+
private _isUploading;
|
|
1701
|
+
private subs;
|
|
1702
|
+
constructor(localization: LocalizationService, uploadService: UploadService);
|
|
1703
|
+
ngOnInit(): void;
|
|
1704
|
+
ngOnDestroy(): void;
|
|
1646
1705
|
get iconClass(): string;
|
|
1647
1706
|
get SVGIconClass(): SVGIcon;
|
|
1648
|
-
|
|
1707
|
+
get statusText(): string;
|
|
1649
1708
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadStatusTotalComponent, never>;
|
|
1650
1709
|
static ɵcmp: i0.ɵɵComponentDeclaration<UploadStatusTotalComponent, "kendo-upload-status-total", never, { "fileList": { "alias": "fileList"; "required": false; }; }, {}, never, never, true, never>;
|
|
1651
1710
|
}
|
|
@@ -1753,12 +1812,20 @@ declare class FileListItemDirective {
|
|
|
1753
1812
|
declare class FileListComponent implements OnDestroy {
|
|
1754
1813
|
private uploadService;
|
|
1755
1814
|
private navigation;
|
|
1756
|
-
disabled: boolean;
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1815
|
+
set disabled(value: boolean);
|
|
1816
|
+
get disabled(): boolean;
|
|
1817
|
+
set fileList(value: Array<Array<FileInfo>>);
|
|
1818
|
+
get fileList(): Array<Array<FileInfo>>;
|
|
1819
|
+
set fileTemplate(value: FileTemplateDirective);
|
|
1820
|
+
get fileTemplate(): FileTemplateDirective;
|
|
1821
|
+
set fileInfoTemplate(value: FileInfoTemplateDirective);
|
|
1822
|
+
get fileInfoTemplate(): FileInfoTemplateDirective;
|
|
1760
1823
|
fileListItems: QueryList<FileListItemDirective>;
|
|
1761
1824
|
fileListRole: string;
|
|
1825
|
+
private _disabled;
|
|
1826
|
+
private _fileList;
|
|
1827
|
+
private _fileTemplate;
|
|
1828
|
+
private _fileInfoTemplate;
|
|
1762
1829
|
private focusSubscription;
|
|
1763
1830
|
private actionSubscription;
|
|
1764
1831
|
constructor(uploadService: UploadService, navigation: NavigationService);
|
|
@@ -1783,7 +1850,9 @@ declare class FileListComponent implements OnDestroy {
|
|
|
1783
1850
|
declare class FileListItemBase implements OnDestroy {
|
|
1784
1851
|
protected uploadService: UploadService;
|
|
1785
1852
|
protected cdr: ChangeDetectorRef;
|
|
1786
|
-
|
|
1853
|
+
private _progressComplete;
|
|
1854
|
+
get progressComplete(): number;
|
|
1855
|
+
set progressComplete(value: number);
|
|
1787
1856
|
protected localization: LocalizationService;
|
|
1788
1857
|
protected uploadProgressSubscription: Subscription;
|
|
1789
1858
|
constructor(uploadService: UploadService, cdr: ChangeDetectorRef);
|
|
@@ -1803,9 +1872,15 @@ declare class FileListItemBase implements OnDestroy {
|
|
|
1803
1872
|
*/
|
|
1804
1873
|
declare class FileListSingleItemComponent extends FileListItemBase {
|
|
1805
1874
|
protected localization: LocalizationService;
|
|
1806
|
-
disabled: boolean;
|
|
1807
|
-
|
|
1808
|
-
|
|
1875
|
+
set disabled(value: boolean);
|
|
1876
|
+
get disabled(): boolean;
|
|
1877
|
+
set file(value: FileInfo);
|
|
1878
|
+
get file(): FileInfo;
|
|
1879
|
+
set fileInfoTemplate(value: FileInfoTemplateDirective);
|
|
1880
|
+
get fileInfoTemplate(): FileInfoTemplateDirective;
|
|
1881
|
+
private _disabled;
|
|
1882
|
+
private _file;
|
|
1883
|
+
private _fileInfoTemplate;
|
|
1809
1884
|
constructor(localization: LocalizationService, uploadService: UploadService, cdr: ChangeDetectorRef);
|
|
1810
1885
|
get fileStatusText(): string;
|
|
1811
1886
|
get showProgress(): string;
|
|
@@ -1821,19 +1896,28 @@ declare class FileListSingleItemComponent extends FileListItemBase {
|
|
|
1821
1896
|
/**
|
|
1822
1897
|
* @hidden
|
|
1823
1898
|
*/
|
|
1824
|
-
declare class FileListItemActionButtonComponent {
|
|
1899
|
+
declare class FileListItemActionButtonComponent implements OnDestroy {
|
|
1825
1900
|
private uploadService;
|
|
1826
1901
|
private localization;
|
|
1827
1902
|
private navigation;
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1903
|
+
private cdr;
|
|
1904
|
+
set file(value: FileInfo);
|
|
1905
|
+
get file(): FileInfo;
|
|
1906
|
+
set disabled(value: boolean);
|
|
1907
|
+
get disabled(): boolean;
|
|
1908
|
+
set progress(value: number);
|
|
1909
|
+
get progress(): number;
|
|
1831
1910
|
retrySVGIcon: SVGIcon;
|
|
1832
1911
|
playSVGIcon: SVGIcon;
|
|
1833
1912
|
pauseSVGIcon: SVGIcon;
|
|
1834
1913
|
cancelSVGIcon: SVGIcon;
|
|
1835
1914
|
deleteSVGIcon: SVGIcon;
|
|
1836
|
-
|
|
1915
|
+
private _file;
|
|
1916
|
+
private _disabled;
|
|
1917
|
+
private _progress;
|
|
1918
|
+
private subs;
|
|
1919
|
+
constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService, cdr: ChangeDetectorRef);
|
|
1920
|
+
ngOnDestroy(): void;
|
|
1837
1921
|
onRetryClick(): void;
|
|
1838
1922
|
onRemoveCancelClick(event?: any): void;
|
|
1839
1923
|
onPauseResumeClick(): void;
|
|
@@ -1854,11 +1938,17 @@ declare class FileListItemActionButtonComponent {
|
|
|
1854
1938
|
*/
|
|
1855
1939
|
declare class FileListMultipleItemsComponent extends FileListItemBase implements OnInit {
|
|
1856
1940
|
protected localization: LocalizationService;
|
|
1857
|
-
disabled: boolean;
|
|
1858
|
-
|
|
1859
|
-
|
|
1941
|
+
set disabled(value: boolean);
|
|
1942
|
+
get disabled(): boolean;
|
|
1943
|
+
set files(value: Array<FileInfo>);
|
|
1944
|
+
get files(): Array<FileInfo>;
|
|
1945
|
+
set fileInfoTemplate(value: FileInfoTemplateDirective);
|
|
1946
|
+
get fileInfoTemplate(): FileInfoTemplateDirective;
|
|
1860
1947
|
filesHaveErrors: boolean;
|
|
1861
1948
|
copySVGIcon: SVGIcon;
|
|
1949
|
+
private _disabled;
|
|
1950
|
+
private _files;
|
|
1951
|
+
private _fileInfoTemplate;
|
|
1862
1952
|
constructor(localization: LocalizationService, uploadService: UploadService, cdr: ChangeDetectorRef);
|
|
1863
1953
|
get showProgress(): string;
|
|
1864
1954
|
ngOnInit(): void;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.1.0-develop.
|
|
10
|
+
"publishDate": 1787669927,
|
|
11
|
+
"version": "25.1.0-develop.10",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-upload",
|
|
3
|
-
"version": "25.1.0-develop.
|
|
3
|
+
"version": "25.1.0-develop.10",
|
|
4
4
|
"description": "Kendo UI Angular Upload Component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"package": {
|
|
35
35
|
"productName": "Kendo UI for Angular",
|
|
36
36
|
"productCode": "KENDOUIANGULAR",
|
|
37
|
-
"publishDate":
|
|
37
|
+
"publishDate": 1787669927,
|
|
38
38
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"@angular/forms": "20 - 22",
|
|
46
46
|
"@angular/platform-browser": "20 - 22",
|
|
47
47
|
"@progress/kendo-licensing": "^1.11.0",
|
|
48
|
-
"@progress/kendo-angular-common": "25.1.0-develop.
|
|
49
|
-
"@progress/kendo-angular-l10n": "25.1.0-develop.
|
|
50
|
-
"@progress/kendo-angular-icons": "25.1.0-develop.
|
|
51
|
-
"@progress/kendo-angular-buttons": "25.1.0-develop.
|
|
52
|
-
"@progress/kendo-angular-progressbar": "25.1.0-develop.
|
|
48
|
+
"@progress/kendo-angular-common": "25.1.0-develop.10",
|
|
49
|
+
"@progress/kendo-angular-l10n": "25.1.0-develop.10",
|
|
50
|
+
"@progress/kendo-angular-icons": "25.1.0-develop.10",
|
|
51
|
+
"@progress/kendo-angular-buttons": "25.1.0-develop.10",
|
|
52
|
+
"@progress/kendo-angular-progressbar": "25.1.0-develop.10",
|
|
53
53
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"tslib": "^2.3.1",
|
|
57
|
-
"@progress/kendo-angular-schematics": "25.1.0-develop.
|
|
57
|
+
"@progress/kendo-angular-schematics": "25.1.0-develop.10"
|
|
58
58
|
},
|
|
59
59
|
"schematics": "./schematics/collection.json",
|
|
60
60
|
"module": "fesm2022/progress-kendo-angular-upload.mjs",
|
|
@@ -15,9 +15,9 @@ function default_1(options) {
|
|
|
15
15
|
], peerDependencies: {
|
|
16
16
|
// peer dep of the icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
18
|
-
'@progress/kendo-angular-buttons': '25.1.0-develop.
|
|
19
|
-
'@progress/kendo-angular-progressbar': '25.1.0-develop.
|
|
20
|
-
'@progress/kendo-angular-popup': '25.1.0-develop.
|
|
18
|
+
'@progress/kendo-angular-buttons': '25.1.0-develop.10',
|
|
19
|
+
'@progress/kendo-angular-progressbar': '25.1.0-develop.10',
|
|
20
|
+
'@progress/kendo-angular-popup': '25.1.0-develop.10',
|
|
21
21
|
} });
|
|
22
22
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
23
23
|
}
|