@progress/kendo-angular-upload 11.0.0-develop.96 → 11.0.0-develop.98
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/dropzone.component.d.ts +10 -2
- package/esm2020/common/util.mjs +4 -1
- package/esm2020/dropzone.component.mjs +57 -35
- package/esm2020/fileselect.module.mjs +4 -3
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/rendering/file-list-item-action-button.component.mjs +115 -82
- package/esm2020/rendering/file-list-multiple-items.component.mjs +20 -7
- package/esm2020/rendering/file-list-single-item.component.mjs +31 -7
- package/esm2020/rendering/upload-status-total.component.mjs +45 -18
- package/esm2020/shared.module.mjs +4 -3
- package/esm2020/types/file-groups.mjs +18 -0
- package/esm2020/upload.module.mjs +4 -3
- package/fesm2015/progress-kendo-angular-upload.mjs +284 -151
- package/fesm2020/progress-kendo-angular-upload.mjs +284 -151
- package/fileselect.module.d.ts +7 -6
- package/package.json +7 -6
- package/rendering/file-list-item-action-button.component.d.ts +6 -0
- package/rendering/file-list-multiple-items.component.d.ts +2 -0
- package/rendering/file-list-single-item.component.d.ts +2 -0
- package/rendering/upload-status-total.component.d.ts +7 -0
- package/schematics/ngAdd/index.js +2 -0
- package/shared.module.d.ts +2 -1
- package/types/file-groups.d.ts +21 -0
- package/upload.module.d.ts +7 -6
package/fileselect.module.d.ts
CHANGED
|
@@ -5,16 +5,17 @@
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./fileselect.component";
|
|
7
7
|
import * as i2 from "./shared.module";
|
|
8
|
-
import * as i3 from "
|
|
9
|
-
import * as i4 from "./templates/file-
|
|
10
|
-
import * as i5 from "./
|
|
11
|
-
import * as i6 from "./
|
|
12
|
-
import * as i7 from "./dropzone.
|
|
8
|
+
import * as i3 from "@progress/kendo-angular-icons";
|
|
9
|
+
import * as i4 from "./templates/file-template.directive";
|
|
10
|
+
import * as i5 from "./templates/file-info-template.directive";
|
|
11
|
+
import * as i6 from "./localization/custom-messages.component";
|
|
12
|
+
import * as i7 from "./dropzone-external.directive";
|
|
13
|
+
import * as i8 from "./dropzone.component";
|
|
13
14
|
/**
|
|
14
15
|
* Represents the [NgModule](https://angular.io/api/core/NgModule) definition for the FileSelect component.
|
|
15
16
|
*/
|
|
16
17
|
export declare class FileSelectModule {
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileSelectModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FileSelectModule, [typeof i1.FileSelectComponent], [typeof i2.SharedModule], [typeof
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FileSelectModule, [typeof i1.FileSelectComponent], [typeof i2.SharedModule, typeof i3.IconsModule], [typeof i4.FileTemplateDirective, typeof i5.FileInfoTemplateDirective, typeof i6.CustomMessagesComponent, typeof i7.UploadDropZoneDirective, typeof i8.UploadDropZoneComponent, typeof i1.FileSelectComponent]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<FileSelectModule>;
|
|
20
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-upload",
|
|
3
|
-
"version": "11.0.0-develop.
|
|
3
|
+
"version": "11.0.0-develop.98",
|
|
4
4
|
"description": "Kendo UI Angular Upload Component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,11 +23,12 @@
|
|
|
23
23
|
"@angular/core": "13 - 15",
|
|
24
24
|
"@angular/platform-browser": "13 - 15",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-common": "11.0.0-develop.
|
|
27
|
-
"@progress/kendo-angular-l10n": "11.0.0-develop.
|
|
28
|
-
"@progress/kendo-angular-schematics": "11.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-
|
|
30
|
-
"@progress/kendo-angular-
|
|
26
|
+
"@progress/kendo-angular-common": "11.0.0-develop.98",
|
|
27
|
+
"@progress/kendo-angular-l10n": "11.0.0-develop.98",
|
|
28
|
+
"@progress/kendo-angular-schematics": "11.0.0-develop.98",
|
|
29
|
+
"@progress/kendo-angular-icons": "11.0.0-develop.98",
|
|
30
|
+
"@progress/kendo-angular-buttons": "11.0.0-develop.98",
|
|
31
|
+
"@progress/kendo-angular-progressbar": "11.0.0-develop.98",
|
|
31
32
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
@@ -6,6 +6,7 @@ import { FileInfo } from '../types';
|
|
|
6
6
|
import { UploadService } from '../upload.service';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { NavigationService } from './../navigation.service';
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -20,6 +21,11 @@ export declare class FileListItemActionButtonComponent {
|
|
|
20
21
|
actionFocused: boolean;
|
|
21
22
|
retryFocused: boolean;
|
|
22
23
|
pauseResumeFocused: boolean;
|
|
24
|
+
retrySVGIcon: SVGIcon;
|
|
25
|
+
playSVGIcon: SVGIcon;
|
|
26
|
+
pauseSVGIcon: SVGIcon;
|
|
27
|
+
cancelSVGIcon: SVGIcon;
|
|
28
|
+
deleteSVGIcon: SVGIcon;
|
|
23
29
|
constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService);
|
|
24
30
|
onFocus(type: string): void;
|
|
25
31
|
onBlur(type: string): void;
|
|
@@ -8,6 +8,7 @@ import { FileListItemBase } from './file-list-item-base';
|
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { UploadService } from '../upload.service';
|
|
10
10
|
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
11
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
@@ -18,6 +19,7 @@ export declare class FileListMultipleItemsComponent extends FileListItemBase imp
|
|
|
18
19
|
files: Array<FileInfo>;
|
|
19
20
|
fileInfoTemplate: FileInfoTemplateDirective;
|
|
20
21
|
filesHaveErrors: boolean;
|
|
22
|
+
copySVGIcon: SVGIcon;
|
|
21
23
|
constructor(localization: LocalizationService, uploadService: UploadService);
|
|
22
24
|
get showProgress(): string;
|
|
23
25
|
ngOnInit(): void;
|
|
@@ -7,6 +7,7 @@ import { FileListItemBase } from './file-list-item-base';
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { UploadService } from '../upload.service';
|
|
9
9
|
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
10
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
@@ -20,6 +21,7 @@ export declare class FileListSingleItemComponent extends FileListItemBase {
|
|
|
20
21
|
get fileStatusText(): string;
|
|
21
22
|
get showProgress(): string;
|
|
22
23
|
get fileGroupClass(): string;
|
|
24
|
+
get fileSVGGroupIcon(): SVGIcon;
|
|
23
25
|
get isUploadSuccessful(): boolean;
|
|
24
26
|
get isUploadFailed(): boolean;
|
|
25
27
|
get isNotYetUploaded(): boolean;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { DoCheck } from '@angular/core';
|
|
6
6
|
import { FileMap } from '../types/file-map';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
@@ -16,7 +17,13 @@ export declare class UploadStatusTotalComponent implements DoCheck {
|
|
|
16
17
|
isPaused: boolean;
|
|
17
18
|
isUploading: boolean;
|
|
18
19
|
statusText: string;
|
|
20
|
+
checkmarkIcon: SVGIcon;
|
|
21
|
+
exceptionSVGIcon: SVGIcon;
|
|
22
|
+
uploadSVGIcon: SVGIcon;
|
|
23
|
+
pauseSVGIcon: SVGIcon;
|
|
19
24
|
constructor(localization: LocalizationService);
|
|
25
|
+
get iconClass(): string;
|
|
26
|
+
get SVGIconClass(): SVGIcon;
|
|
20
27
|
ngDoCheck(): void;
|
|
21
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadStatusTotalComponent, never>;
|
|
22
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<UploadStatusTotalComponent, "kendo-upload-status-total", never, { "fileList": "fileList"; }, {}, never, never>;
|
|
@@ -8,6 +8,8 @@ function default_1(options) {
|
|
|
8
8
|
from: '@angular/common/http'
|
|
9
9
|
}
|
|
10
10
|
], peerDependencies: {
|
|
11
|
+
// peer dep of the icons
|
|
12
|
+
'@progress/kendo-svg-icons': '^1.0.0',
|
|
11
13
|
'@progress/kendo-angular-buttons': '0.0.0-PLACEHOLDER',
|
|
12
14
|
'@progress/kendo-angular-progressbar': '0.0.0-PLACEHOLDER',
|
|
13
15
|
"@progress/kendo-angular-popup": "0.0.0-PLACEHOLDER",
|
package/shared.module.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import * as i14 from "./templates/template-context.directive";
|
|
|
20
20
|
import * as i15 from "@angular/common";
|
|
21
21
|
import * as i16 from "@progress/kendo-angular-buttons";
|
|
22
22
|
import * as i17 from "@progress/kendo-angular-progressbar";
|
|
23
|
+
import * as i18 from "@progress/kendo-angular-icons";
|
|
23
24
|
/**
|
|
24
25
|
* @hidden
|
|
25
26
|
*/
|
|
@@ -33,6 +34,6 @@ export declare const PUBLIC_DIRECTIVES: any[];
|
|
|
33
34
|
*/
|
|
34
35
|
export declare class SharedModule {
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.FileTemplateDirective, typeof i2.FileInfoTemplateDirective, typeof i3.CustomMessagesComponent, typeof i4.UploadDropZoneDirective, typeof i5.UploadDropZoneComponent, typeof i6.DropZoneInternalDirective, typeof i7.FileListComponent, typeof i8.FileListItemDirective, typeof i9.FileListItemActionButtonComponent, typeof i10.FileListMultipleItemsComponent, typeof i11.FileListSingleItemComponent, typeof i12.FileSelectDirective, typeof i13.LocalizedMessagesDirective, typeof i14.TemplateContextDirective], [typeof i15.CommonModule, typeof i16.ButtonsModule, typeof i17.ProgressBarModule], [typeof i1.FileTemplateDirective, typeof i2.FileInfoTemplateDirective, typeof i3.CustomMessagesComponent, typeof i4.UploadDropZoneDirective, typeof i5.UploadDropZoneComponent, typeof i6.DropZoneInternalDirective, typeof i7.FileListComponent, typeof i8.FileListItemDirective, typeof i9.FileListItemActionButtonComponent, typeof i10.FileListMultipleItemsComponent, typeof i11.FileListSingleItemComponent, typeof i12.FileSelectDirective, typeof i13.LocalizedMessagesDirective, typeof i14.TemplateContextDirective, typeof i15.CommonModule, typeof i16.ButtonsModule]>;
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.FileTemplateDirective, typeof i2.FileInfoTemplateDirective, typeof i3.CustomMessagesComponent, typeof i4.UploadDropZoneDirective, typeof i5.UploadDropZoneComponent, typeof i6.DropZoneInternalDirective, typeof i7.FileListComponent, typeof i8.FileListItemDirective, typeof i9.FileListItemActionButtonComponent, typeof i10.FileListMultipleItemsComponent, typeof i11.FileListSingleItemComponent, typeof i12.FileSelectDirective, typeof i13.LocalizedMessagesDirective, typeof i14.TemplateContextDirective], [typeof i15.CommonModule, typeof i16.ButtonsModule, typeof i17.ProgressBarModule, typeof i18.IconsModule], [typeof i1.FileTemplateDirective, typeof i2.FileInfoTemplateDirective, typeof i3.CustomMessagesComponent, typeof i4.UploadDropZoneDirective, typeof i5.UploadDropZoneComponent, typeof i6.DropZoneInternalDirective, typeof i7.FileListComponent, typeof i8.FileListItemDirective, typeof i9.FileListItemActionButtonComponent, typeof i10.FileListMultipleItemsComponent, typeof i11.FileListSingleItemComponent, typeof i12.FileSelectDirective, typeof i13.LocalizedMessagesDirective, typeof i14.TemplateContextDirective, typeof i15.CommonModule, typeof i16.ButtonsModule]>;
|
|
37
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
38
39
|
}
|
package/types/file-groups.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
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 { SVGIcon } from "@progress/kendo-svg-icons";
|
|
5
6
|
/**
|
|
6
7
|
* @hidden
|
|
7
8
|
*/
|
|
@@ -22,3 +23,23 @@ export interface FileGroupMap {
|
|
|
22
23
|
* @hidden
|
|
23
24
|
*/
|
|
24
25
|
export declare const fileGroupMap: FileGroupMap;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export interface FileSVGGroupMap {
|
|
30
|
+
audio: SVGIcon;
|
|
31
|
+
video: SVGIcon;
|
|
32
|
+
image: SVGIcon;
|
|
33
|
+
txt: SVGIcon;
|
|
34
|
+
presentation: SVGIcon;
|
|
35
|
+
data: SVGIcon;
|
|
36
|
+
programming: SVGIcon;
|
|
37
|
+
pdf: SVGIcon;
|
|
38
|
+
config: SVGIcon;
|
|
39
|
+
zip: SVGIcon;
|
|
40
|
+
discImage: SVGIcon;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
export declare const fileSVGGroupMap: FileSVGGroupMap;
|
package/upload.module.d.ts
CHANGED
|
@@ -7,16 +7,17 @@ import * as i1 from "./upload.component";
|
|
|
7
7
|
import * as i2 from "./rendering/upload-action-buttons.component";
|
|
8
8
|
import * as i3 from "./rendering/upload-status-total.component";
|
|
9
9
|
import * as i4 from "./shared.module";
|
|
10
|
-
import * as i5 from "
|
|
11
|
-
import * as i6 from "./templates/file-
|
|
12
|
-
import * as i7 from "./
|
|
13
|
-
import * as i8 from "./
|
|
14
|
-
import * as i9 from "./dropzone.
|
|
10
|
+
import * as i5 from "@progress/kendo-angular-icons";
|
|
11
|
+
import * as i6 from "./templates/file-template.directive";
|
|
12
|
+
import * as i7 from "./templates/file-info-template.directive";
|
|
13
|
+
import * as i8 from "./localization/custom-messages.component";
|
|
14
|
+
import * as i9 from "./dropzone-external.directive";
|
|
15
|
+
import * as i10 from "./dropzone.component";
|
|
15
16
|
/**
|
|
16
17
|
* Represents the [NgModule](https://angular.io/api/core/NgModule) definition for the Upload component.
|
|
17
18
|
*/
|
|
18
19
|
export declare class UploadModule {
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UploadModule, [typeof i1.UploadComponent, typeof i2.UploadActionButtonsComponent, typeof i3.UploadStatusTotalComponent], [typeof i4.SharedModule], [typeof
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UploadModule, [typeof i1.UploadComponent, typeof i2.UploadActionButtonsComponent, typeof i3.UploadStatusTotalComponent], [typeof i4.SharedModule, typeof i5.IconsModule], [typeof i6.FileTemplateDirective, typeof i7.FileInfoTemplateDirective, typeof i8.CustomMessagesComponent, typeof i9.UploadDropZoneDirective, typeof i10.UploadDropZoneComponent, typeof i1.UploadComponent, typeof i2.UploadActionButtonsComponent, typeof i3.UploadStatusTotalComponent]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<UploadModule>;
|
|
22
23
|
}
|