@progress/kendo-angular-upload 9.0.4-dev.202211170816 → 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,9 +1,12 @@
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 { Input, Component } from '@angular/core';
6
6
  import { FileState } from '../types';
7
+ import { UploadService } from '../upload.service';
8
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
9
+ import { NavigationService } from './../navigation.service';
7
10
  import * as i0 from "@angular/core";
8
11
  import * as i1 from "../upload.service";
9
12
  import * as i2 from "@progress/kendo-angular-l10n";
@@ -113,9 +116,9 @@ export class FileListItemActionButtonComponent {
113
116
  return true;
114
117
  }
115
118
  }
116
- FileListItemActionButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListItemActionButtonComponent, deps: [{ token: i1.UploadService }, { token: i2.LocalizationService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
117
- FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: { file: "file", disabled: "disabled", progress: "progress" }, ngImport: i0, template: `
118
- <strong class="k-upload-status">
119
+ FileListItemActionButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemActionButtonComponent, deps: [{ token: i1.UploadService }, { token: i2.LocalizationService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
120
+ FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: { file: "file", disabled: "disabled", progress: "progress" }, ngImport: i0, template: `
121
+ <span class="k-upload-actions">
119
122
  <span class="k-upload-pct" *ngIf="isUploading || isPaused">{{progress}}%</span>
120
123
 
121
124
  <button type="button" *ngIf="isFailed" class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
@@ -161,14 +164,14 @@ FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
161
164
  [attr.title]='actionButtonTitle'>
162
165
  </span>
163
166
  </button>
164
- </strong>
167
+ </span>
165
168
  `, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListItemActionButtonComponent, decorators: [{
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemActionButtonComponent, decorators: [{
167
170
  type: Component,
168
171
  args: [{
169
172
  selector: 'kendo-upload-file-list-item-action-button',
170
173
  template: `
171
- <strong class="k-upload-status">
174
+ <span class="k-upload-actions">
172
175
  <span class="k-upload-pct" *ngIf="isUploading || isPaused">{{progress}}%</span>
173
176
 
174
177
  <button type="button" *ngIf="isFailed" class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
@@ -214,7 +217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
214
217
  [attr.title]='actionButtonTitle'>
215
218
  </span>
216
219
  </button>
217
- </strong>
220
+ </span>
218
221
  `
219
222
  }]
220
223
  }], ctorParameters: function () { return [{ type: i1.UploadService }, { type: i2.LocalizationService }, { type: i3.NavigationService }]; }, propDecorators: { file: [{
@@ -1,8 +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 { Component } from '@angular/core';
6
+ import { UploadService } from '../upload.service';
6
7
  import { fileHasValidationErrors, filesHaveValidationErrors, getTotalFilesSizeMessage } from '../common/util';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "../upload.service";
@@ -40,9 +41,9 @@ export class FileListItemBase {
40
41
  return this.localization.get(key);
41
42
  }
42
43
  }
43
- FileListItemBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListItemBase, deps: [{ token: i1.UploadService }], target: i0.ɵɵFactoryTarget.Component });
44
- FileListItemBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileListItemBase, selector: "ng-component", ngImport: i0, template: '', isInline: true });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListItemBase, decorators: [{
44
+ FileListItemBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemBase, deps: [{ token: i1.UploadService }], target: i0.ɵɵFactoryTarget.Component });
45
+ FileListItemBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListItemBase, selector: "ng-component", ngImport: i0, template: '', isInline: true });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemBase, decorators: [{
46
47
  type: Component,
47
48
  args: [{ template: '' }]
48
49
  }], ctorParameters: function () { return [{ type: i1.UploadService }]; } });
@@ -1,10 +1,12 @@
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 { Directive, HostBinding, HostListener, Input } from '@angular/core';
5
+ import { Directive, ElementRef, HostBinding, HostListener, Input } from '@angular/core';
6
6
  import { FileState } from '../types';
7
+ import { NavigationService } from '../navigation.service';
7
8
  import { filesHaveValidationErrors, hasClasses, IGNORE_TARGET_CLASSES, isFocusable } from '../common/util';
9
+ import { UploadService } from '../upload.service';
8
10
  import * as i0 from "@angular/core";
9
11
  import * as i1 from "../navigation.service";
10
12
  import * as i2 from "../upload.service";
@@ -60,9 +62,9 @@ export class FileListItemDirective {
60
62
  }
61
63
  }
62
64
  }
63
- FileListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListItemDirective, deps: [{ token: i0.ElementRef }, { token: i1.NavigationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Directive });
64
- FileListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: { files: "files", index: "index" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()", "click": "onClick($event)" }, properties: { "class.k-file": "this.fileClass", "attr.data-uid": "this.uidAttribute", "attr.tabIndex": "this.tabIndex", "class.k-file-error": "this.kFileError", "class.k-file-invalid": "this.kFileInvalid", "class.k-file-progress": "this.kFileProgress", "class.k-file-success": "this.kFileSuccess", "class.k-focus": "this.kStateFocused" } }, ngImport: i0 });
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListItemDirective, decorators: [{
65
+ FileListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemDirective, deps: [{ token: i0.ElementRef }, { token: i1.NavigationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Directive });
66
+ FileListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: { files: "files", index: "index" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()", "click": "onClick($event)" }, properties: { "class.k-file": "this.fileClass", "attr.data-uid": "this.uidAttribute", "attr.tabIndex": "this.tabIndex", "class.k-file-error": "this.kFileError", "class.k-file-invalid": "this.kFileInvalid", "class.k-file-progress": "this.kFileProgress", "class.k-file-success": "this.kFileSuccess", "class.k-focus": "this.kStateFocused" } }, ngImport: i0 });
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemDirective, decorators: [{
66
68
  type: Directive,
67
69
  args: [{
68
70
  selector: '[kendoUploadFileListItem]'
@@ -1,18 +1,23 @@
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 { Input, Component } from '@angular/core';
6
- import { animate, state, style, transition, trigger } from '@angular/animations';
7
6
  import { FileState } from '../types';
8
7
  import { FileListItemBase } from './file-list-item-base';
8
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
9
+ import { UploadService } from '../upload.service';
9
10
  import { isPresent } from '../common/util';
11
+ import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
12
+ import { animate, state, style, transition, trigger } from '@angular/animations';
10
13
  import * as i0 from "@angular/core";
11
14
  import * as i1 from "@progress/kendo-angular-l10n";
12
15
  import * as i2 from "../upload.service";
13
- import * as i3 from "./file-list-item-action-button.component";
14
- import * as i4 from "@angular/common";
15
- import * as i5 from "../templates/template-context.directive";
16
+ import * as i3 from "@progress/kendo-angular-progressbar";
17
+ import * as i4 from "./file-list-item-action-button.component";
18
+ import * as i5 from "@angular/common";
19
+ import * as i6 from "@progress/kendo-angular-buttons";
20
+ import * as i7 from "../templates/template-context.directive";
16
21
  /**
17
22
  * @hidden
18
23
  */
@@ -58,48 +63,46 @@ export class FileListMultipleItemsComponent extends FileListItemBase {
58
63
  return this.files[0].state === FileState.Failed;
59
64
  }
60
65
  }
61
- FileListMultipleItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListMultipleItemsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
62
- FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: { disabled: "disabled", files: "files", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
63
- <div class="k-progressbar" [@progressState]="showProgress">
64
- <span class="k-progress" [style.width]="progressComplete + '%'"></span>
65
- </div>
66
- <span class="k-multiple-files-group-wrapper">
67
- <span class="k-file-group k-icon k-i-copy"></span>
68
- </span>
69
- <span class="k-multiple-files-wrapper">
70
- <ng-container *ngIf="!fileInfoTemplate">
71
- <span *ngFor="let file of files" class="k-file-name-size-wrapper">
72
- <span [title]="file.name" class="k-file-name">
73
- {{file.name}}
74
- </span>
75
- <span [ngClass]="{
76
- 'k-text-error': file.validationErrors,
66
+ FileListMultipleItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListMultipleItemsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
67
+ FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: { disabled: "disabled", files: "files", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
68
+ <kendo-progressbar
69
+ [@progressState]="showProgress"
70
+ [value]="progressComplete"
71
+ [label]="{ visible: false }"
72
+ >
73
+ </kendo-progressbar>
74
+ <span class="k-file-icon-wrapper">
75
+ <span class="k-file-icon k-icon k-i-copy"></span>
76
+ </span>
77
+ <span class="k-multiple-files-wrapper">
78
+ <ng-container *ngIf="!fileInfoTemplate">
79
+ <span *ngFor="let file of files" class="k-file-name-size-wrapper">
80
+ <span [title]="file.name" class="k-file-name">
81
+ {{file.name}}
82
+ </span>
83
+ <span [ngClass]="{
77
84
  'k-file-validation-message': file.validationErrors,
78
85
  'k-file-size': !file.validationErrors
79
- }"
80
- >{{fileStatusText(file)}}</span>
81
- </span>
82
- <span class="k-file-information"
83
- [ngClass]="{
84
- 'k-text-success': isUploadSuccessful,
85
- 'k-text-error': isUploadFailed
86
- }"
87
- >{{batchStatusText}}</span>
88
- </ng-container>
89
- <ng-template *ngIf="fileInfoTemplate"
90
- [templateContext]="{
91
- templateRef: fileInfoTemplate.templateRef,
92
- state: files[0].state,
93
- $implicit: files
94
- }">
95
- </ng-template>
96
- </span>
97
- <kendo-upload-file-list-item-action-button
98
- [file]='files[0]'
99
- [disabled]='disabled'
100
- [progress]='progressComplete'>
101
- </kendo-upload-file-list-item-action-button>
102
- `, isInline: true, components: [{ type: i3.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
86
+ }"
87
+ >{{fileStatusText(file)}}</span>
88
+ </span>
89
+ <span class="k-file-summary"
90
+ >{{batchStatusText}}</span>
91
+ </ng-container>
92
+ <ng-template *ngIf="fileInfoTemplate"
93
+ [templateContext]="{
94
+ templateRef: fileInfoTemplate.templateRef,
95
+ state: files[0].state,
96
+ $implicit: files
97
+ }">
98
+ </ng-template>
99
+ </span>
100
+ <kendo-upload-file-list-item-action-button
101
+ [file]='files[0]'
102
+ [disabled]='disabled'
103
+ [progress]='progressComplete'>
104
+ </kendo-upload-file-list-item-action-button>
105
+ `, isInline: true, components: [{ type: i3.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { type: i4.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
103
106
  trigger('progressState', [
104
107
  state('active', style({ opacity: 1 })),
105
108
  state('inactive', style({ opacity: 0 })),
@@ -108,7 +111,7 @@ FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
108
111
  transition('active => inactive', animate('1s 2s ease-out'))
109
112
  ])
110
113
  ] });
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListMultipleItemsComponent, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListMultipleItemsComponent, decorators: [{
112
115
  type: Component,
113
116
  args: [{
114
117
  animations: [
@@ -122,45 +125,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
122
125
  ],
123
126
  selector: 'kendo-upload-file-list-multiple-items',
124
127
  template: `
125
- <div class="k-progressbar" [@progressState]="showProgress">
126
- <span class="k-progress" [style.width]="progressComplete + '%'"></span>
127
- </div>
128
- <span class="k-multiple-files-group-wrapper">
129
- <span class="k-file-group k-icon k-i-copy"></span>
130
- </span>
131
- <span class="k-multiple-files-wrapper">
132
- <ng-container *ngIf="!fileInfoTemplate">
133
- <span *ngFor="let file of files" class="k-file-name-size-wrapper">
134
- <span [title]="file.name" class="k-file-name">
135
- {{file.name}}
136
- </span>
137
- <span [ngClass]="{
138
- 'k-text-error': file.validationErrors,
128
+ <kendo-progressbar
129
+ [@progressState]="showProgress"
130
+ [value]="progressComplete"
131
+ [label]="{ visible: false }"
132
+ >
133
+ </kendo-progressbar>
134
+ <span class="k-file-icon-wrapper">
135
+ <span class="k-file-icon k-icon k-i-copy"></span>
136
+ </span>
137
+ <span class="k-multiple-files-wrapper">
138
+ <ng-container *ngIf="!fileInfoTemplate">
139
+ <span *ngFor="let file of files" class="k-file-name-size-wrapper">
140
+ <span [title]="file.name" class="k-file-name">
141
+ {{file.name}}
142
+ </span>
143
+ <span [ngClass]="{
139
144
  'k-file-validation-message': file.validationErrors,
140
145
  'k-file-size': !file.validationErrors
141
- }"
142
- >{{fileStatusText(file)}}</span>
143
- </span>
144
- <span class="k-file-information"
145
- [ngClass]="{
146
- 'k-text-success': isUploadSuccessful,
147
- 'k-text-error': isUploadFailed
148
- }"
149
- >{{batchStatusText}}</span>
150
- </ng-container>
151
- <ng-template *ngIf="fileInfoTemplate"
152
- [templateContext]="{
153
- templateRef: fileInfoTemplate.templateRef,
154
- state: files[0].state,
155
- $implicit: files
156
- }">
157
- </ng-template>
158
- </span>
159
- <kendo-upload-file-list-item-action-button
160
- [file]='files[0]'
161
- [disabled]='disabled'
162
- [progress]='progressComplete'>
163
- </kendo-upload-file-list-item-action-button>
146
+ }"
147
+ >{{fileStatusText(file)}}</span>
148
+ </span>
149
+ <span class="k-file-summary"
150
+ >{{batchStatusText}}</span>
151
+ </ng-container>
152
+ <ng-template *ngIf="fileInfoTemplate"
153
+ [templateContext]="{
154
+ templateRef: fileInfoTemplate.templateRef,
155
+ state: files[0].state,
156
+ $implicit: files
157
+ }">
158
+ </ng-template>
159
+ </span>
160
+ <kendo-upload-file-list-item-action-button
161
+ [file]='files[0]'
162
+ [disabled]='disabled'
163
+ [progress]='progressComplete'>
164
+ </kendo-upload-file-list-item-action-button>
164
165
  `
165
166
  }]
166
167
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.UploadService }]; }, propDecorators: { disabled: [{
@@ -1,18 +1,23 @@
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 { Input, Component } from '@angular/core';
6
- import { animate, state, style, transition, trigger } from '@angular/animations';
7
6
  import { FileState } from '../types';
8
7
  import { FileListItemBase } from './file-list-item-base';
8
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
9
+ import { UploadService } from '../upload.service';
9
10
  import { getFileGroupCssClass, isPresent } from '../common/util';
11
+ import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
12
+ import { animate, state, style, transition, trigger } from '@angular/animations';
10
13
  import * as i0 from "@angular/core";
11
14
  import * as i1 from "@progress/kendo-angular-l10n";
12
15
  import * as i2 from "../upload.service";
13
- import * as i3 from "./file-list-item-action-button.component";
14
- import * as i4 from "@angular/common";
15
- import * as i5 from "../templates/template-context.directive";
16
+ import * as i3 from "@progress/kendo-angular-progressbar";
17
+ import * as i4 from "./file-list-item-action-button.component";
18
+ import * as i5 from "@angular/common";
19
+ import * as i6 from "@progress/kendo-angular-buttons";
20
+ import * as i7 from "../templates/template-context.directive";
16
21
  /**
17
22
  * @hidden
18
23
  */
@@ -56,40 +61,41 @@ export class FileListSingleItemComponent extends FileListItemBase {
56
61
  return !this.isUploadFailed && !this.isUploadSuccessful;
57
62
  }
58
63
  }
59
- FileListSingleItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListSingleItemComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
60
- FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: { disabled: "disabled", file: "file", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
61
- <div class="k-progressbar" [@progressState]="showProgress">
62
- <span class="k-progress" [style.width]="progressComplete + '%'"></span>
63
- </div>
64
- <span class="k-file-group-wrapper">
65
- <span class="k-file-group k-icon" [ngClass]="fileGroupClass"></span>
66
- </span>
67
- <span class="k-file-name-size-wrapper">
68
- <ng-container *ngIf="!fileInfoTemplate">
69
- <span class="k-file-name" [title]="file.name">{{ file.name }}</span>
70
- <span [ngClass]="{
71
- 'k-file-validation-message': file.validationErrors,
72
- 'k-file-size': !file.validationErrors && isNotYetUploaded,
73
- 'k-text-success': isUploadSuccessful,
74
- 'k-text-error': file.validationErrors || isUploadFailed,
75
- 'k-file-information': isUploadSuccessful || isUploadFailed
64
+ FileListSingleItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListSingleItemComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
65
+ FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: { disabled: "disabled", file: "file", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
66
+ <kendo-progressbar
67
+ [@progressState]="showProgress"
68
+ [value]="progressComplete"
69
+ [label]="{ visible: false }"
70
+ >
71
+ </kendo-progressbar>
72
+ <span class="k-file-icon-wrapper">
73
+ <span class="k-file-icon k-icon" [ngClass]="fileGroupClass"></span>
74
+ </span>
75
+ <span class="k-file-name-size-wrapper">
76
+ <ng-container *ngIf="!fileInfoTemplate">
77
+ <span class="k-file-name" [title]="file.name">{{ file.name }}</span>
78
+ <span [ngClass]="{
79
+ 'k-file-validation-message': file.validationErrors,
80
+ 'k-file-size': !file.validationErrors && isNotYetUploaded,
81
+ 'k-file-summary': isUploadSuccessful || isUploadFailed
76
82
  }"
77
- >{{fileStatusText}}</span>
78
- </ng-container>
79
- <ng-template *ngIf="fileInfoTemplate"
80
- [templateContext]="{
81
- templateRef: fileInfoTemplate.templateRef,
82
- state: file.state,
83
- $implicit: [file]
84
- }">
85
- </ng-template>
86
- </span>
87
- <kendo-upload-file-list-item-action-button
88
- [file]='file'
89
- [disabled]='disabled'
90
- [progress]='progressComplete'>
91
- </kendo-upload-file-list-item-action-button>
92
- `, isInline: true, components: [{ type: i3.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
83
+ >{{fileStatusText}}</span>
84
+ </ng-container>
85
+ <ng-template *ngIf="fileInfoTemplate"
86
+ [templateContext]="{
87
+ templateRef: fileInfoTemplate.templateRef,
88
+ state: file.state,
89
+ $implicit: [file]
90
+ }">
91
+ </ng-template>
92
+ </span>
93
+ <kendo-upload-file-list-item-action-button
94
+ [file]='file'
95
+ [disabled]='disabled'
96
+ [progress]='progressComplete'>
97
+ </kendo-upload-file-list-item-action-button>
98
+ `, isInline: true, components: [{ type: i3.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { type: i4.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
93
99
  trigger('progressState', [
94
100
  state('active', style({ opacity: 1 })),
95
101
  state('inactive', style({ opacity: 0 })),
@@ -98,7 +104,7 @@ FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
98
104
  transition('active => inactive', animate('1s 2s ease-out'))
99
105
  ])
100
106
  ] });
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListSingleItemComponent, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListSingleItemComponent, decorators: [{
102
108
  type: Component,
103
109
  args: [{
104
110
  animations: [
@@ -112,37 +118,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
112
118
  ],
113
119
  selector: 'kendo-upload-file-list-single-item',
114
120
  template: `
115
- <div class="k-progressbar" [@progressState]="showProgress">
116
- <span class="k-progress" [style.width]="progressComplete + '%'"></span>
117
- </div>
118
- <span class="k-file-group-wrapper">
119
- <span class="k-file-group k-icon" [ngClass]="fileGroupClass"></span>
120
- </span>
121
- <span class="k-file-name-size-wrapper">
122
- <ng-container *ngIf="!fileInfoTemplate">
123
- <span class="k-file-name" [title]="file.name">{{ file.name }}</span>
124
- <span [ngClass]="{
125
- 'k-file-validation-message': file.validationErrors,
126
- 'k-file-size': !file.validationErrors && isNotYetUploaded,
127
- 'k-text-success': isUploadSuccessful,
128
- 'k-text-error': file.validationErrors || isUploadFailed,
129
- 'k-file-information': isUploadSuccessful || isUploadFailed
121
+ <kendo-progressbar
122
+ [@progressState]="showProgress"
123
+ [value]="progressComplete"
124
+ [label]="{ visible: false }"
125
+ >
126
+ </kendo-progressbar>
127
+ <span class="k-file-icon-wrapper">
128
+ <span class="k-file-icon k-icon" [ngClass]="fileGroupClass"></span>
129
+ </span>
130
+ <span class="k-file-name-size-wrapper">
131
+ <ng-container *ngIf="!fileInfoTemplate">
132
+ <span class="k-file-name" [title]="file.name">{{ file.name }}</span>
133
+ <span [ngClass]="{
134
+ 'k-file-validation-message': file.validationErrors,
135
+ 'k-file-size': !file.validationErrors && isNotYetUploaded,
136
+ 'k-file-summary': isUploadSuccessful || isUploadFailed
130
137
  }"
131
- >{{fileStatusText}}</span>
132
- </ng-container>
133
- <ng-template *ngIf="fileInfoTemplate"
134
- [templateContext]="{
135
- templateRef: fileInfoTemplate.templateRef,
136
- state: file.state,
137
- $implicit: [file]
138
- }">
139
- </ng-template>
140
- </span>
141
- <kendo-upload-file-list-item-action-button
142
- [file]='file'
143
- [disabled]='disabled'
144
- [progress]='progressComplete'>
145
- </kendo-upload-file-list-item-action-button>
138
+ >{{fileStatusText}}</span>
139
+ </ng-container>
140
+ <ng-template *ngIf="fileInfoTemplate"
141
+ [templateContext]="{
142
+ templateRef: fileInfoTemplate.templateRef,
143
+ state: file.state,
144
+ $implicit: [file]
145
+ }">
146
+ </ng-template>
147
+ </span>
148
+ <kendo-upload-file-list-item-action-button
149
+ [file]='file'
150
+ [disabled]='disabled'
151
+ [progress]='progressComplete'>
152
+ </kendo-upload-file-list-item-action-button>
146
153
  `
147
154
  }]
148
155
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.UploadService }]; }, propDecorators: { disabled: [{
@@ -1,12 +1,16 @@
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
  /* eslint-disable @angular-eslint/component-selector */
6
- import { Input, Component, ViewChildren } from '@angular/core';
6
+ import { Input, Component, ViewChildren, QueryList } from '@angular/core';
7
7
  import { Keys } from '@progress/kendo-angular-common';
8
8
  import { FileState } from '../types';
9
+ import { FileTemplateDirective } from '../templates/file-template.directive';
9
10
  import { FileListItemDirective } from './file-list-item';
11
+ import { NavigationService } from '../navigation.service';
12
+ import { UploadService } from '../upload.service';
13
+ import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
10
14
  import * as i0 from "@angular/core";
11
15
  import * as i1 from "../upload.service";
12
16
  import * as i2 from "../navigation.service";
@@ -14,7 +18,8 @@ import * as i3 from "./file-list-single-item.component";
14
18
  import * as i4 from "./file-list-multiple-items.component";
15
19
  import * as i5 from "@angular/common";
16
20
  import * as i6 from "./file-list-item";
17
- import * as i7 from "../templates/template-context.directive";
21
+ import * as i7 from "@progress/kendo-angular-buttons";
22
+ import * as i8 from "../templates/template-context.directive";
18
23
  /**
19
24
  * @hidden
20
25
  */
@@ -36,10 +41,10 @@ export class FileListComponent {
36
41
  });
37
42
  }
38
43
  itemActionHandler(key) {
39
- let index = this.navigation.focusedIndex;
40
- let item = this.fileListItems.toArray()[index];
41
- let uid = item.uidAttribute;
42
- let files = this.uploadService.files.get(uid);
44
+ const index = this.navigation.focusedIndex;
45
+ const item = this.fileListItems.toArray()[index];
46
+ const uid = item.uidAttribute;
47
+ const files = this.uploadService.files.get(uid);
43
48
  if (key === Keys.Escape && files[0].state === FileState.Uploading) {
44
49
  this.uploadService.cancelFiles(uid);
45
50
  this.navigation.focusSelectButton();
@@ -67,8 +72,8 @@ export class FileListComponent {
67
72
  this.actionSubscription.unsubscribe();
68
73
  }
69
74
  }
70
- FileListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListComponent, deps: [{ token: i1.UploadService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
71
- FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileListComponent, selector: "[kendo-upload-file-list]", inputs: { disabled: "disabled", fileList: "fileList", fileTemplate: "fileTemplate", fileInfoTemplate: "fileInfoTemplate" }, viewQueries: [{ propertyName: "fileListItems", predicate: FileListItemDirective, descendants: true }], ngImport: i0, template: `
75
+ FileListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListComponent, deps: [{ token: i1.UploadService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
76
+ FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListComponent, selector: "[kendo-upload-file-list]", inputs: { disabled: "disabled", fileList: "fileList", fileTemplate: "fileTemplate", fileInfoTemplate: "fileInfoTemplate" }, viewQueries: [{ propertyName: "fileListItems", predicate: FileListItemDirective, descendants: true }], ngImport: i0, template: `
72
77
  <ng-template ngFor
73
78
  [ngForOf]="fileList"
74
79
  let-files
@@ -96,8 +101,8 @@ FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
96
101
  }"></ng-template>
97
102
  </li>
98
103
  </ng-template>
99
- `, isInline: true, components: [{ type: i3.FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: ["disabled", "file", "fileInfoTemplate"] }, { type: i4.FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: ["disabled", "files", "fileInfoTemplate"] }], directives: [{ type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: ["files", "index"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileListComponent, decorators: [{
104
+ `, isInline: true, components: [{ type: i3.FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: ["disabled", "file", "fileInfoTemplate"] }, { type: i4.FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: ["disabled", "files", "fileInfoTemplate"] }], directives: [{ type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: ["files", "index"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i8.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListComponent, decorators: [{
101
106
  type: Component,
102
107
  args: [{
103
108
  selector: '[kendo-upload-file-list]',