@progress/kendo-angular-upload 9.0.4 → 11.0.0-develop.79

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 (130) hide show
  1. package/NOTICE.txt +3 -3
  2. package/common/action-buttons-layout.d.ts +1 -1
  3. package/common/util.d.ts +1 -1
  4. package/common/validation-util.d.ts +1 -1
  5. package/dropzone-base.d.ts +2 -2
  6. package/dropzone-external.directive.d.ts +1 -1
  7. package/dropzone-internal.directive.d.ts +1 -1
  8. package/dropzone.component.d.ts +1 -1
  9. package/dropzone.service.d.ts +1 -1
  10. package/{esm2015/types/chunk-metadata.js → esm2020/common/action-buttons-layout.mjs} +1 -1
  11. package/{esm2015/common/util.js → esm2020/common/util.mjs} +9 -9
  12. package/{esm2015/common/validation-util.js → esm2020/common/validation-util.mjs} +2 -2
  13. package/{esm2015/dropzone-base.js → esm2020/dropzone-base.mjs} +5 -5
  14. package/{esm2015/dropzone-external.directive.js → esm2020/dropzone-external.directive.mjs} +5 -5
  15. package/{esm2015/dropzone-internal.directive.js → esm2020/dropzone-internal.directive.mjs} +11 -7
  16. package/{esm2015/dropzone.component.js → esm2020/dropzone.component.mjs} +5 -5
  17. package/{esm2015/dropzone.service.js → esm2020/dropzone.service.mjs} +5 -5
  18. package/{esm2015/events/cancel-event.js → esm2020/events/cancel-event.mjs} +1 -1
  19. package/{esm2015/events/clear-event.js → esm2020/events/clear-event.mjs} +1 -1
  20. package/{esm2015/events/error-event.js → esm2020/events/error-event.mjs} +1 -1
  21. package/{esm2015/events/pause-event.js → esm2020/events/pause-event.mjs} +1 -1
  22. package/{esm2015/events/preventable-event.js → esm2020/events/preventable-event.mjs} +1 -1
  23. package/{esm2015/events/remove-event.js → esm2020/events/remove-event.mjs} +1 -1
  24. package/{esm2015/events/resume-event.js → esm2020/events/resume-event.mjs} +1 -1
  25. package/{esm2015/events/select-event.js → esm2020/events/select-event.mjs} +1 -1
  26. package/{esm2015/events/success-event.js → esm2020/events/success-event.mjs} +1 -1
  27. package/{esm2015/events/upload-event.js → esm2020/events/upload-event.mjs} +1 -1
  28. package/{esm2015/events/upload-progress-event.js → esm2020/events/upload-progress-event.mjs} +1 -1
  29. package/{esm2015/events.js → esm2020/events.mjs} +1 -1
  30. package/{esm2015/file-select.directive.js → esm2020/file-select.directive.mjs} +7 -5
  31. package/{esm2015/fileselect.component.js → esm2020/fileselect.component.mjs} +100 -60
  32. package/{esm2015/fileselect.module.js → esm2020/fileselect.module.mjs} +5 -5
  33. package/{esm2015/main.js → esm2020/index.mjs} +2 -1
  34. package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
  35. package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
  36. package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
  37. package/{esm2015/navigation.service.js → esm2020/navigation.service.mjs} +56 -40
  38. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  39. package/{esm2015/kendo-angular-upload.js → esm2020/progress-kendo-angular-upload.mjs} +2 -2
  40. package/{esm2015/rendering/file-list-item-action-button.component.js → esm2020/rendering/file-list-item-action-button.component.mjs} +11 -8
  41. package/{esm2015/rendering/file-list-item-base.js → esm2020/rendering/file-list-item-base.mjs} +5 -4
  42. package/{esm2015/rendering/file-list-item.js → esm2020/rendering/file-list-item.mjs} +7 -5
  43. package/{esm2015/rendering/file-list-multiple-items.component.js → esm2020/rendering/file-list-multiple-items.component.mjs} +84 -83
  44. package/{esm2015/rendering/file-list-single-item.component.js → esm2020/rendering/file-list-single-item.component.mjs} +76 -69
  45. package/{esm2015/rendering/file-list.component.js → esm2020/rendering/file-list.component.mjs} +16 -11
  46. package/{esm2015/rendering/upload-action-buttons.component.js → esm2020/rendering/upload-action-buttons.component.mjs} +8 -5
  47. package/{esm2015/rendering/upload-status-total.component.js → esm2020/rendering/upload-status-total.component.mjs} +6 -4
  48. package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +14 -9
  49. package/{esm2015/templates/file-info-template.directive.js → esm2020/templates/file-info-template.directive.mjs} +5 -5
  50. package/{esm2015/templates/file-template.directive.js → esm2020/templates/file-template.directive.mjs} +5 -5
  51. package/{esm2015/templates/template-context.directive.js → esm2020/templates/template-context.directive.mjs} +5 -5
  52. package/{esm2015/common/action-buttons-layout.js → esm2020/types/async-settings.mjs} +1 -1
  53. package/{esm2015/types/chunk-info.js → esm2020/types/chunk-info.mjs} +1 -1
  54. package/{esm2015/types/chunk-map.js → esm2020/types/chunk-map.mjs} +1 -1
  55. package/{esm2015/types/async-settings.js → esm2020/types/chunk-metadata.mjs} +1 -1
  56. package/esm2020/types/chunk-settings.mjs +5 -0
  57. package/esm2020/types/direction.mjs +5 -0
  58. package/{esm2015/types/file-groups.js → esm2020/types/file-groups.mjs} +1 -1
  59. package/esm2020/types/file-info.mjs +5 -0
  60. package/{esm2015/types/file-map.js → esm2020/types/file-map.mjs} +26 -26
  61. package/esm2020/types/file-restrictions.mjs +5 -0
  62. package/{esm2015/types/file-state.js → esm2020/types/file-state.mjs} +1 -1
  63. package/esm2020/types/operation-type.mjs +5 -0
  64. package/{esm2015/types.js → esm2020/types.mjs} +1 -1
  65. package/{esm2015/upload.component.js → esm2020/upload.component.mjs} +125 -80
  66. package/{esm2015/upload.module.js → esm2020/upload.module.mjs} +5 -5
  67. package/{esm2015/upload.service.js → esm2020/upload.service.mjs} +35 -35
  68. package/{esm2015/uploads.module.js → esm2020/uploads.module.mjs} +5 -5
  69. package/events/cancel-event.d.ts +1 -1
  70. package/events/clear-event.d.ts +1 -1
  71. package/events/error-event.d.ts +1 -1
  72. package/events/pause-event.d.ts +1 -1
  73. package/events/preventable-event.d.ts +1 -1
  74. package/events/remove-event.d.ts +1 -1
  75. package/events/resume-event.d.ts +1 -1
  76. package/events/select-event.d.ts +1 -1
  77. package/events/success-event.d.ts +1 -1
  78. package/events/upload-event.d.ts +1 -1
  79. package/events/upload-progress-event.d.ts +3 -3
  80. package/events.d.ts +1 -1
  81. package/fesm2015/progress-kendo-angular-upload.mjs +4864 -0
  82. package/{fesm2015/kendo-angular-upload.js → fesm2020/progress-kendo-angular-upload.mjs} +571 -467
  83. package/file-select.directive.d.ts +1 -1
  84. package/fileselect.component.d.ts +13 -8
  85. package/fileselect.module.d.ts +1 -1
  86. package/{main.d.ts → index.d.ts} +2 -1
  87. package/localization/custom-messages.component.d.ts +1 -1
  88. package/localization/localized-messages.directive.d.ts +1 -1
  89. package/localization/messages.d.ts +1 -1
  90. package/navigation.service.d.ts +4 -3
  91. package/package-metadata.d.ts +1 -1
  92. package/package.json +29 -55
  93. package/{kendo-angular-upload.d.ts → progress-kendo-angular-upload.d.ts} +2 -2
  94. package/rendering/file-list-item-action-button.component.d.ts +2 -2
  95. package/rendering/file-list-item-base.d.ts +2 -2
  96. package/rendering/file-list-item.d.ts +1 -1
  97. package/rendering/file-list-multiple-items.component.d.ts +1 -1
  98. package/rendering/file-list-single-item.component.d.ts +1 -1
  99. package/rendering/file-list.component.d.ts +1 -1
  100. package/rendering/upload-action-buttons.component.d.ts +1 -1
  101. package/rendering/upload-status-total.component.d.ts +1 -1
  102. package/schematics/ngAdd/index.js +6 -6
  103. package/shared.module.d.ts +4 -2
  104. package/templates/file-info-template.directive.d.ts +1 -1
  105. package/templates/file-template.directive.d.ts +1 -1
  106. package/templates/template-context.directive.d.ts +1 -1
  107. package/types/async-settings.d.ts +1 -1
  108. package/types/chunk-info.d.ts +1 -1
  109. package/types/chunk-map.d.ts +1 -1
  110. package/types/chunk-metadata.d.ts +1 -1
  111. package/types/chunk-settings.d.ts +1 -1
  112. package/types/direction.d.ts +1 -1
  113. package/types/file-groups.d.ts +1 -1
  114. package/types/file-info.d.ts +1 -1
  115. package/types/file-map.d.ts +1 -1
  116. package/types/file-restrictions.d.ts +1 -1
  117. package/types/file-state.d.ts +1 -1
  118. package/types/operation-type.d.ts +1 -1
  119. package/types.d.ts +1 -1
  120. package/upload.component.d.ts +15 -10
  121. package/upload.module.d.ts +1 -1
  122. package/upload.service.d.ts +1 -1
  123. package/uploads.module.d.ts +1 -1
  124. package/bundles/kendo-angular-upload.umd.js +0 -5
  125. package/esm2015/types/chunk-settings.js +0 -5
  126. package/esm2015/types/direction.js +0 -5
  127. package/esm2015/types/file-info.js +0 -5
  128. package/esm2015/types/file-restrictions.js +0 -5
  129. package/esm2015/types/operation-type.js +0 -5
  130. 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 © 2022 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 © 2022 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,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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",
3
+ "version": "11.0.0-develop.79",
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,41 @@
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.79",
27
+ "@progress/kendo-angular-l10n": "11.0.0-develop.79",
28
+ "@progress/kendo-angular-schematics": "11.0.0-develop.79",
29
+ "@progress/kendo-angular-buttons": "11.0.0-develop.79",
30
+ "@progress/kendo-angular-progressbar": "11.0.0-develop.79",
36
31
  "rxjs": "^6.5.3 || ^7.0.0"
37
32
  },
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
- }
33
+ "dependencies": {
34
+ "tslib": "^2.3.1"
60
35
  },
61
36
  "schematics": "./schematics/collection.json",
62
- "release": {
63
- "debug": false,
64
- "branchTags": {
65
- "develop": "dev"
37
+ "module": "fesm2015/progress-kendo-angular-upload.mjs",
38
+ "es2020": "fesm2020/progress-kendo-angular-upload.mjs",
39
+ "esm2020": "esm2020/progress-kendo-angular-upload.mjs",
40
+ "fesm2020": "fesm2020/progress-kendo-angular-upload.mjs",
41
+ "fesm2015": "fesm2015/progress-kendo-angular-upload.mjs",
42
+ "typings": "progress-kendo-angular-upload.d.ts",
43
+ "exports": {
44
+ "./package.json": {
45
+ "default": "./package.json"
66
46
  },
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"
47
+ ".": {
48
+ "types": "./progress-kendo-angular-upload.d.ts",
49
+ "esm2020": "./esm2020/progress-kendo-angular-upload.mjs",
50
+ "es2020": "./fesm2020/progress-kendo-angular-upload.mjs",
51
+ "es2015": "./fesm2015/progress-kendo-angular-upload.mjs",
52
+ "node": "./fesm2015/progress-kendo-angular-upload.mjs",
53
+ "default": "./fesm2020/progress-kendo-angular-upload.mjs"
54
+ }
75
55
  },
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
56
  "sideEffects": false
83
57
  }
@@ -1,9 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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';
@@ -16,7 +16,7 @@ export declare class FileListItemActionButtonComponent {
16
16
  private navigation;
17
17
  file: FileInfo;
18
18
  disabled: boolean;
19
- progress: Number;
19
+ progress: number;
20
20
  actionFocused: boolean;
21
21
  retryFocused: boolean;
22
22
  pauseResumeFocused: boolean;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 © 2022 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 © 2022 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';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 © 2022 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,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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';
@@ -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,11 @@ 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
+ '@progress/kendo-angular-buttons': '0.0.0-PLACEHOLDER',
12
+ '@progress/kendo-angular-progressbar': '0.0.0-PLACEHOLDER',
13
+ "@progress/kendo-angular-popup": "0.0.0-PLACEHOLDER",
14
+ } });
15
+ return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
16
16
  }
17
17
  exports.default = default_1;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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,8 @@ 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";
21
23
  /**
22
24
  * @hidden
23
25
  */
@@ -31,6 +33,6 @@ export declare const PUBLIC_DIRECTIVES: any[];
31
33
  */
32
34
  export declare class SharedModule {
33
35
  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]>;
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]>;
35
37
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
36
38
  }
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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, FileState } from '../types';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 © 2022 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 © 2022 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/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 { ChunkSettings } from './types/chunk-settings';
@@ -1,9 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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';
6
- import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2, ChangeDetectorRef } from '@angular/core';
6
+ import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2, ChangeDetectorRef, AfterViewInit } from '@angular/core';
7
7
  import { ControlValueAccessor } from '@angular/forms';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
9
9
  import { Direction } from './types/direction';
@@ -25,12 +25,12 @@ export declare const UPLOAD_VALUE_ACCESSOR: any;
25
25
  /**
26
26
  * Represents the [Kendo UI Upload component for Angular]({% slug overview_upload %}).
27
27
  */
28
- export declare class UploadComponent implements OnInit, OnDestroy, ControlValueAccessor {
28
+ export declare class UploadComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
29
29
  private uploadService;
30
30
  private localization;
31
31
  private navigation;
32
32
  private dropZoneService;
33
- private _ngZone;
33
+ private zone;
34
34
  private renderer;
35
35
  private cdr;
36
36
  /**
@@ -174,7 +174,7 @@ export declare class UploadComponent implements OnInit, OnDestroy, ControlValueA
174
174
  actionsLayout: ActionsLayout;
175
175
  fileTemplate: FileTemplateDirective;
176
176
  fileInfoTemplate: FileInfoTemplateDirective;
177
- fileSelect: ElementRef;
177
+ fileSelectInput: ElementRef;
178
178
  fileSelectButton: ElementRef;
179
179
  /**
180
180
  * Fires when the user navigates outside the component.
@@ -254,14 +254,11 @@ export declare class UploadComponent implements OnInit, OnDestroy, ControlValueA
254
254
  private selectButtonFocusSubscription;
255
255
  private localizationChangeSubscription;
256
256
  private subs;
257
- constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService, dropZoneService: DropZoneService, _ngZone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, wrapper: ElementRef);
257
+ constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService, dropZoneService: DropZoneService, zone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, wrapper: ElementRef);
258
258
  ngOnInit(): void;
259
+ ngAfterViewInit(): void;
259
260
  ngOnChanges(changes: any): void;
260
261
  ngOnDestroy(): void;
261
- /**
262
- * @hidden
263
- */
264
- handleKeydown(event: any): void;
265
262
  /**
266
263
  * @hidden
267
264
  */
@@ -304,6 +301,13 @@ export declare class UploadComponent implements OnInit, OnDestroy, ControlValueA
304
301
  * @hidden
305
302
  */
306
303
  textFor(key: string): string;
304
+ /**
305
+ * @hidden
306
+ */
307
+ getIds(): {
308
+ buttonId: string;
309
+ inputId: string;
310
+ };
307
311
  /**
308
312
  * Focuses the underlying input element.
309
313
  */
@@ -371,6 +375,7 @@ export declare class UploadComponent implements OnInit, OnDestroy, ControlValueA
371
375
  isEmpty(): boolean;
372
376
  private verifySettings;
373
377
  private subscribeBlur;
378
+ private handleKeydown;
374
379
  private subscribeFocus;
375
380
  private attachEventHandlers;
376
381
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent, never>;