@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.
Files changed (136) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +4 -4
  3. package/README.md +1 -1
  4. package/common/action-buttons-layout.d.ts +1 -1
  5. package/common/util.d.ts +1 -1
  6. package/common/validation-util.d.ts +1 -1
  7. package/dropzone-base.d.ts +2 -2
  8. package/dropzone-external.directive.d.ts +1 -1
  9. package/dropzone-internal.directive.d.ts +1 -1
  10. package/dropzone.component.d.ts +11 -3
  11. package/dropzone.service.d.ts +1 -1
  12. package/{esm2015/types/chunk-metadata.js → esm2020/common/action-buttons-layout.mjs} +1 -1
  13. package/{esm2015/common/util.js → esm2020/common/util.mjs} +13 -10
  14. package/{esm2015/common/validation-util.js → esm2020/common/validation-util.mjs} +2 -2
  15. package/{esm2015/dropzone-base.js → esm2020/dropzone-base.mjs} +5 -5
  16. package/{esm2015/dropzone-external.directive.js → esm2020/dropzone-external.directive.mjs} +5 -5
  17. package/{esm2015/dropzone-internal.directive.js → esm2020/dropzone-internal.directive.mjs} +11 -7
  18. package/esm2020/dropzone.component.mjs +134 -0
  19. package/{esm2015/dropzone.service.js → esm2020/dropzone.service.mjs} +5 -5
  20. package/{esm2015/events/cancel-event.js → esm2020/events/cancel-event.mjs} +1 -1
  21. package/{esm2015/events/clear-event.js → esm2020/events/clear-event.mjs} +1 -1
  22. package/{esm2015/events/error-event.js → esm2020/events/error-event.mjs} +1 -1
  23. package/{esm2015/events/pause-event.js → esm2020/events/pause-event.mjs} +1 -1
  24. package/{esm2015/events/preventable-event.js → esm2020/events/preventable-event.mjs} +1 -1
  25. package/{esm2015/events/remove-event.js → esm2020/events/remove-event.mjs} +1 -1
  26. package/{esm2015/events/resume-event.js → esm2020/events/resume-event.mjs} +1 -1
  27. package/{esm2015/events/select-event.js → esm2020/events/select-event.mjs} +1 -1
  28. package/{esm2015/events/success-event.js → esm2020/events/success-event.mjs} +1 -1
  29. package/{esm2015/events/upload-event.js → esm2020/events/upload-event.mjs} +1 -1
  30. package/{esm2015/events/upload-progress-event.js → esm2020/events/upload-progress-event.mjs} +1 -1
  31. package/{esm2015/events.js → esm2020/events.mjs} +1 -1
  32. package/{esm2015/file-select.directive.js → esm2020/file-select.directive.mjs} +7 -5
  33. package/{esm2015/fileselect.component.js → esm2020/fileselect.component.mjs} +100 -60
  34. package/{esm2015/fileselect.module.js → esm2020/fileselect.module.mjs} +7 -6
  35. package/{esm2015/main.js → esm2020/index.mjs} +2 -1
  36. package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
  37. package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
  38. package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
  39. package/{esm2015/navigation.service.js → esm2020/navigation.service.mjs} +56 -40
  40. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  41. package/{esm2015/kendo-angular-upload.js → esm2020/progress-kendo-angular-upload.mjs} +2 -2
  42. package/esm2020/rendering/file-list-item-action-button.component.mjs +262 -0
  43. package/{esm2015/rendering/file-list-item-base.js → esm2020/rendering/file-list-item-base.mjs} +5 -4
  44. package/{esm2015/rendering/file-list-item.js → esm2020/rendering/file-list-item.mjs} +7 -5
  45. package/esm2020/rendering/file-list-multiple-items.component.mjs +186 -0
  46. package/esm2020/rendering/file-list-single-item.component.mjs +185 -0
  47. package/{esm2015/rendering/file-list.component.js → esm2020/rendering/file-list.component.mjs} +16 -11
  48. package/{esm2015/rendering/upload-action-buttons.component.js → esm2020/rendering/upload-action-buttons.component.mjs} +8 -5
  49. package/{esm2015/rendering/upload-status-total.component.js → esm2020/rendering/upload-status-total.component.mjs} +51 -22
  50. package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +15 -9
  51. package/{esm2015/templates/file-info-template.directive.js → esm2020/templates/file-info-template.directive.mjs} +5 -5
  52. package/{esm2015/templates/file-template.directive.js → esm2020/templates/file-template.directive.mjs} +5 -5
  53. package/{esm2015/templates/template-context.directive.js → esm2020/templates/template-context.directive.mjs} +5 -5
  54. package/{esm2015/common/action-buttons-layout.js → esm2020/types/async-settings.mjs} +1 -1
  55. package/{esm2015/types/chunk-info.js → esm2020/types/chunk-info.mjs} +1 -1
  56. package/{esm2015/types/chunk-map.js → esm2020/types/chunk-map.mjs} +1 -1
  57. package/{esm2015/types/async-settings.js → esm2020/types/chunk-metadata.mjs} +1 -1
  58. package/esm2020/types/chunk-settings.mjs +5 -0
  59. package/esm2020/types/direction.mjs +5 -0
  60. package/{esm2015/types/file-groups.js → esm2020/types/file-groups.mjs} +19 -1
  61. package/esm2020/types/file-info.mjs +5 -0
  62. package/{esm2015/types/file-map.js → esm2020/types/file-map.mjs} +26 -26
  63. package/esm2020/types/file-restrictions.mjs +5 -0
  64. package/{esm2015/types/file-state.js → esm2020/types/file-state.mjs} +1 -1
  65. package/esm2020/types/operation-type.mjs +5 -0
  66. package/{esm2015/types.js → esm2020/types.mjs} +1 -1
  67. package/{esm2015/upload.component.js → esm2020/upload.component.mjs} +125 -80
  68. package/{esm2015/upload.module.js → esm2020/upload.module.mjs} +8 -7
  69. package/{esm2015/upload.service.js → esm2020/upload.service.mjs} +35 -35
  70. package/{esm2015/uploads.module.js → esm2020/uploads.module.mjs} +5 -5
  71. package/events/cancel-event.d.ts +1 -1
  72. package/events/clear-event.d.ts +1 -1
  73. package/events/error-event.d.ts +1 -1
  74. package/events/pause-event.d.ts +1 -1
  75. package/events/preventable-event.d.ts +1 -1
  76. package/events/remove-event.d.ts +1 -1
  77. package/events/resume-event.d.ts +1 -1
  78. package/events/select-event.d.ts +1 -1
  79. package/events/success-event.d.ts +1 -1
  80. package/events/upload-event.d.ts +1 -1
  81. package/events/upload-progress-event.d.ts +3 -3
  82. package/events.d.ts +1 -1
  83. package/fesm2015/progress-kendo-angular-upload.mjs +4997 -0
  84. package/{fesm2015/kendo-angular-upload.js → fesm2020/progress-kendo-angular-upload.mjs} +829 -592
  85. package/file-select.directive.d.ts +1 -1
  86. package/fileselect.component.d.ts +13 -8
  87. package/fileselect.module.d.ts +8 -7
  88. package/{main.d.ts → index.d.ts} +2 -1
  89. package/localization/custom-messages.component.d.ts +1 -1
  90. package/localization/localized-messages.directive.d.ts +1 -1
  91. package/localization/messages.d.ts +1 -1
  92. package/navigation.service.d.ts +4 -3
  93. package/package-metadata.d.ts +1 -1
  94. package/package.json +30 -55
  95. package/{kendo-angular-upload.d.ts → progress-kendo-angular-upload.d.ts} +2 -2
  96. package/rendering/file-list-item-action-button.component.d.ts +8 -2
  97. package/rendering/file-list-item-base.d.ts +2 -2
  98. package/rendering/file-list-item.d.ts +1 -1
  99. package/rendering/file-list-multiple-items.component.d.ts +3 -1
  100. package/rendering/file-list-single-item.component.d.ts +3 -1
  101. package/rendering/file-list.component.d.ts +1 -1
  102. package/rendering/upload-action-buttons.component.d.ts +1 -1
  103. package/rendering/upload-status-total.component.d.ts +8 -1
  104. package/schematics/ngAdd/index.js +8 -6
  105. package/shared.module.d.ts +5 -2
  106. package/templates/file-info-template.directive.d.ts +1 -1
  107. package/templates/file-template.directive.d.ts +1 -1
  108. package/templates/template-context.directive.d.ts +1 -1
  109. package/types/async-settings.d.ts +1 -1
  110. package/types/chunk-info.d.ts +1 -1
  111. package/types/chunk-map.d.ts +1 -1
  112. package/types/chunk-metadata.d.ts +1 -1
  113. package/types/chunk-settings.d.ts +1 -1
  114. package/types/direction.d.ts +1 -1
  115. package/types/file-groups.d.ts +22 -1
  116. package/types/file-info.d.ts +1 -1
  117. package/types/file-map.d.ts +1 -1
  118. package/types/file-restrictions.d.ts +1 -1
  119. package/types/file-state.d.ts +1 -1
  120. package/types/operation-type.d.ts +1 -1
  121. package/types.d.ts +1 -1
  122. package/upload.component.d.ts +15 -10
  123. package/upload.module.d.ts +8 -7
  124. package/upload.service.d.ts +1 -1
  125. package/uploads.module.d.ts +1 -1
  126. package/bundles/kendo-angular-upload.umd.js +0 -5
  127. package/esm2015/dropzone.component.js +0 -112
  128. package/esm2015/rendering/file-list-item-action-button.component.js +0 -226
  129. package/esm2015/rendering/file-list-multiple-items.component.js +0 -172
  130. package/esm2015/rendering/file-list-single-item.component.js +0 -154
  131. package/esm2015/types/chunk-settings.js +0 -5
  132. package/esm2015/types/direction.js +0 -5
  133. package/esm2015/types/file-info.js +0 -5
  134. package/esm2015/types/file-restrictions.js +0 -5
  135. package/esm2015/types/operation-type.js +0 -5
  136. package/schematics/ngAdd/index.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { ElementRef } from '@angular/core';
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { OnDestroy, Renderer2, ElementRef, EventEmitter, NgZone, OnInit, ChangeDetectorRef } from "@angular/core";
5
+ import { OnDestroy, Renderer2, ElementRef, EventEmitter, NgZone, OnInit, ChangeDetectorRef, AfterViewInit } from "@angular/core";
6
6
  import { FileRestrictions, FileInfo } from './types';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { UploadService } from './upload.service';
@@ -18,7 +18,7 @@ import * as i0 from "@angular/core";
18
18
  * @hidden
19
19
  */
20
20
  export declare const FILESELECT_VALUE_ACCESSOR: any;
21
- export declare class FileSelectComponent implements OnInit, OnDestroy {
21
+ export declare class FileSelectComponent implements OnInit, AfterViewInit, OnDestroy {
22
22
  private uploadService;
23
23
  private localization;
24
24
  private navigation;
@@ -69,7 +69,7 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
69
69
  focusableId: string;
70
70
  fileTemplate: FileTemplateDirective;
71
71
  fileInfoTemplate: FileInfoTemplateDirective;
72
- fileSelect: ElementRef;
72
+ fileSelectInput: ElementRef;
73
73
  fileSelectButton: ElementRef;
74
74
  /**
75
75
  * Fires when the user navigates outside the component.
@@ -115,6 +115,7 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
115
115
  private subs;
116
116
  constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService, dropZoneService: DropZoneService, ngZone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, wrapper: ElementRef);
117
117
  ngOnInit(): void;
118
+ ngAfterViewInit(): void;
118
119
  /**
119
120
  * @hidden
120
121
  */
@@ -124,10 +125,6 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
124
125
  */
125
126
  focus(): void;
126
127
  ngOnDestroy(): void;
127
- /**
128
- * @hidden
129
- */
130
- handleKeydown(event: any): void;
131
128
  /**
132
129
  * @hidden
133
130
  */
@@ -168,6 +165,13 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
168
165
  * @hidden
169
166
  */
170
167
  get selectButtonTabIndex(): number;
168
+ /**
169
+ * @hidden
170
+ */
171
+ getIds(): {
172
+ buttonId: string;
173
+ inputId: string;
174
+ };
171
175
  /**
172
176
  * @hidden
173
177
  */
@@ -178,6 +182,7 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
178
182
  onFileSelectButtonBlur(_event?: any): void;
179
183
  private subscribeBlur;
180
184
  private subscribeFocus;
185
+ private handleKeydown;
181
186
  private attachEventHandlers;
182
187
  private setDefaultSettings;
183
188
  static ɵfac: i0.ɵɵFactoryDeclaration<FileSelectComponent, never>;
@@ -1,20 +1,21 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 * 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 "./templates/file-template.directive";
9
- import * as i4 from "./templates/file-info-template.directive";
10
- import * as i5 from "./localization/custom-messages.component";
11
- import * as i6 from "./dropzone-external.directive";
12
- import * as i7 from "./dropzone.component";
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 i3.FileTemplateDirective, typeof i4.FileInfoTemplateDirective, typeof i5.CustomMessagesComponent, typeof i6.UploadDropZoneDirective, typeof i7.UploadDropZoneComponent, typeof i1.FileSelectComponent]>;
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
  }
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { UploadService } from './upload.service';
@@ -24,5 +24,6 @@ export { UploadActionButtonsComponent } from './rendering/upload-action-buttons.
24
24
  export { UploadDropZoneDirective } from './dropzone-external.directive';
25
25
  export { CustomMessagesComponent } from './localization/custom-messages.component';
26
26
  export { ActionsLayout } from './common/action-buttons-layout';
27
+ export { validateFiles } from './common/validation-util';
27
28
  export * from './events';
28
29
  export * from './types';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { Messages } from './messages';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { Messages } from './messages';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { ComponentMessages } from '@progress/kendo-angular-l10n';
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { EventEmitter } from '@angular/core';
5
+ import { EventEmitter, NgZone } from '@angular/core';
6
6
  import { UploadService } from './upload.service';
7
7
  import { Direction } from './types/direction';
8
8
  import * as i0 from "@angular/core";
@@ -11,6 +11,7 @@ import * as i0 from "@angular/core";
11
11
  */
12
12
  export declare class NavigationService {
13
13
  private uploadService;
14
+ private zone;
14
15
  onActionButtonAction: EventEmitter<string>;
15
16
  onActionButtonFocus: EventEmitter<string>;
16
17
  onFileAction: EventEmitter<number>;
@@ -22,7 +23,7 @@ export declare class NavigationService {
22
23
  focused: boolean;
23
24
  keyBindings: Object;
24
25
  private _focusedIndex;
25
- constructor(uploadService: UploadService);
26
+ constructor(uploadService: UploadService, zone: NgZone);
26
27
  action(event: any): Function;
27
28
  process(event: KeyboardEvent): void;
28
29
  computeKeys(direction: Direction): void;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { PackageMetadata } from '@progress/kendo-licensing';
package/package.json CHANGED
@@ -1,14 +1,10 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-upload",
3
- "version": "9.0.4-dev.202211170816",
3
+ "version": "11.0.0-develop.100",
4
4
  "description": "Kendo UI Angular Upload Component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
7
7
  "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/telerik/kendo-angular-upload.git"
11
- },
12
8
  "bugs": {
13
9
  "url": "https://github.com/telerik/kendo-angular"
14
10
  },
@@ -21,63 +17,42 @@
21
17
  "@progress": {
22
18
  "friendlyName": "Upload"
23
19
  },
24
- "dependencies": {
25
- "@progress/kendo-schematics": "^3.0.0",
26
- "tslib": "^2.3.1"
27
- },
28
20
  "peerDependencies": {
29
- "@angular/animations": "12 - 15",
30
- "@angular/common": "12 - 15",
31
- "@angular/core": "12 - 15",
32
- "@angular/forms": "12 - 15",
33
- "@progress/kendo-angular-common": "^3.0.0",
34
- "@progress/kendo-angular-l10n": "^4.0.0",
21
+ "@angular/animations": "13 - 15",
22
+ "@angular/common": "13 - 15",
23
+ "@angular/core": "13 - 15",
24
+ "@angular/platform-browser": "13 - 15",
35
25
  "@progress/kendo-licensing": "^1.0.2",
26
+ "@progress/kendo-angular-common": "11.0.0-develop.100",
27
+ "@progress/kendo-angular-l10n": "11.0.0-develop.100",
28
+ "@progress/kendo-angular-schematics": "11.0.0-develop.100",
29
+ "@progress/kendo-angular-icons": "11.0.0-develop.100",
30
+ "@progress/kendo-angular-buttons": "11.0.0-develop.100",
31
+ "@progress/kendo-angular-progressbar": "11.0.0-develop.100",
36
32
  "rxjs": "^6.5.3 || ^7.0.0"
37
33
  },
38
- "config": {
39
- "commitizen": {
40
- "path": "./node_modules/cz-conventional-changelog"
41
- },
42
- "ghooks": {
43
- "commit-msg": "validate-commit-msg"
44
- },
45
- "validate-commit-msg": {
46
- "types": [
47
- "feat",
48
- "fix",
49
- "docs",
50
- "style",
51
- "refactor",
52
- "perf",
53
- "test",
54
- "chore",
55
- "revert"
56
- ],
57
- "warnOnFail": false,
58
- "maxSubjectLength": 100
59
- }
34
+ "dependencies": {
35
+ "tslib": "^2.3.1"
60
36
  },
61
37
  "schematics": "./schematics/collection.json",
62
- "release": {
63
- "debug": false,
64
- "branchTags": {
65
- "develop": "dev"
38
+ "module": "fesm2015/progress-kendo-angular-upload.mjs",
39
+ "es2020": "fesm2020/progress-kendo-angular-upload.mjs",
40
+ "esm2020": "esm2020/progress-kendo-angular-upload.mjs",
41
+ "fesm2020": "fesm2020/progress-kendo-angular-upload.mjs",
42
+ "fesm2015": "fesm2015/progress-kendo-angular-upload.mjs",
43
+ "typings": "progress-kendo-angular-upload.d.ts",
44
+ "exports": {
45
+ "./package.json": {
46
+ "default": "./package.json"
66
47
  },
67
- "fallbackTags": {
68
- "dev": "latest"
69
- },
70
- "analyzeCommits": "@progress/semantic-prerelease/analyzeCommits",
71
- "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
72
- "getLastRelease": "@progress/semantic-prerelease/getLastRelease",
73
- "verifyConditions": "@progress/semantic-prerelease/verifyConditions",
74
- "verifyRelease": "@progress/semantic-prerelease/verifyRelease"
48
+ ".": {
49
+ "types": "./progress-kendo-angular-upload.d.ts",
50
+ "esm2020": "./esm2020/progress-kendo-angular-upload.mjs",
51
+ "es2020": "./fesm2020/progress-kendo-angular-upload.mjs",
52
+ "es2015": "./fesm2015/progress-kendo-angular-upload.mjs",
53
+ "node": "./fesm2015/progress-kendo-angular-upload.mjs",
54
+ "default": "./fesm2020/progress-kendo-angular-upload.mjs"
55
+ }
75
56
  },
76
- "main": "bundles/kendo-angular-upload.umd.js",
77
- "module": "fesm2015/kendo-angular-upload.js",
78
- "es2015": "fesm2015/kendo-angular-upload.js",
79
- "esm2015": "esm2015/kendo-angular-upload.js",
80
- "fesm2015": "fesm2015/kendo-angular-upload.js",
81
- "typings": "kendo-angular-upload.d.ts",
82
57
  "sideEffects": false
83
58
  }
@@ -1,9 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
8
  /// <amd-module name="@progress/kendo-angular-upload" />
9
- export * from './main';
9
+ export * from './index';
@@ -1,11 +1,12 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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';
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
@@ -16,10 +17,15 @@ export declare class FileListItemActionButtonComponent {
16
17
  private navigation;
17
18
  file: FileInfo;
18
19
  disabled: boolean;
19
- progress: Number;
20
+ progress: number;
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;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { OnDestroy } from '@angular/core';
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
14
14
  */
15
15
  export declare class FileListItemBase implements OnDestroy {
16
16
  protected uploadService: UploadService;
17
- progressComplete: Number;
17
+ progressComplete: number;
18
18
  protected localization: LocalizationService;
19
19
  protected uploadProgressSubscription: Subscription;
20
20
  constructor(uploadService: UploadService);
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { ElementRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { OnInit } from '@angular/core';
@@ -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;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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';
@@ -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;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { OnDestroy, QueryList } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { ElementRef, OnDestroy } from '@angular/core';
@@ -1,10 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { 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>;
@@ -1,7 +1,3 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
1
  "use strict";
6
2
  Object.defineProperty(exports, "__esModule", { value: true });
7
3
  const schematics_1 = require("@angular-devkit/schematics");
@@ -11,7 +7,13 @@ function default_1(options) {
11
7
  import: 'HttpClientModule',
12
8
  from: '@angular/common/http'
13
9
  }
14
- ] });
15
- return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
10
+ ], peerDependencies: {
11
+ // peer dep of the icons
12
+ '@progress/kendo-svg-icons': '^1.0.0',
13
+ '@progress/kendo-angular-buttons': '0.0.0-PLACEHOLDER',
14
+ '@progress/kendo-angular-progressbar': '0.0.0-PLACEHOLDER',
15
+ "@progress/kendo-angular-popup": "0.0.0-PLACEHOLDER",
16
+ } });
17
+ return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
16
18
  }
17
19
  exports.default = default_1;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 * as i0 from "@angular/core";
@@ -18,6 +18,9 @@ import * as i12 from "./file-select.directive";
18
18
  import * as i13 from "./localization/localized-messages.directive";
19
19
  import * as i14 from "./templates/template-context.directive";
20
20
  import * as i15 from "@angular/common";
21
+ import * as i16 from "@progress/kendo-angular-buttons";
22
+ import * as i17 from "@progress/kendo-angular-progressbar";
23
+ import * as i18 from "@progress/kendo-angular-icons";
21
24
  /**
22
25
  * @hidden
23
26
  */
@@ -31,6 +34,6 @@ export declare const PUBLIC_DIRECTIVES: any[];
31
34
  */
32
35
  export declare class SharedModule {
33
36
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
34
- 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 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]>;
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]>;
35
38
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
36
39
  }
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { TemplateRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { TemplateRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { ViewContainerRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 © 2021 Progress Software Corporation. All rights reserved.
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
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { ChunkInfo } from './chunk-info';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
  /**
@@ -1,7 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { Subscription } from 'rxjs';