@progress/kendo-angular-upload 17.0.0-develop.8 → 17.0.0

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 (87) hide show
  1. package/common/action-buttons-layout.d.ts +1 -1
  2. package/common/base.d.ts +1 -1
  3. package/dropzone-external.directive.d.ts +1 -1
  4. package/dropzone-internal.directive.d.ts +1 -1
  5. package/dropzone.component.d.ts +1 -1
  6. package/{esm2020 → esm2022}/common/base.mjs +96 -67
  7. package/{esm2020 → esm2022}/dropzone-base.mjs +13 -9
  8. package/{esm2020 → esm2022}/dropzone-external.directive.mjs +16 -5
  9. package/{esm2020 → esm2022}/dropzone-internal.directive.mjs +14 -6
  10. package/{esm2020 → esm2022}/dropzone.component.mjs +38 -19
  11. package/{esm2020 → esm2022}/dropzone.service.mjs +3 -3
  12. package/{esm2020 → esm2022}/events/cancel-event.mjs +4 -0
  13. package/{esm2020 → esm2022}/events/error-event.mjs +12 -0
  14. package/{esm2020 → esm2022}/events/pause-event.mjs +4 -0
  15. package/{esm2020 → esm2022}/events/preventable-event.mjs +1 -3
  16. package/{esm2020 → esm2022}/events/remove-event.mjs +12 -0
  17. package/{esm2020 → esm2022}/events/resume-event.mjs +4 -0
  18. package/{esm2020 → esm2022}/events/select-event.mjs +4 -0
  19. package/{esm2020 → esm2022}/events/success-event.mjs +12 -0
  20. package/{esm2020 → esm2022}/events/upload-event.mjs +35 -0
  21. package/{esm2020 → esm2022}/events/upload-progress-event.mjs +8 -0
  22. package/{esm2020 → esm2022}/file-select.directive.mjs +17 -8
  23. package/{esm2020 → esm2022}/fileselect.component.mjs +60 -42
  24. package/{esm2020 → esm2022}/fileselect.module.mjs +8 -8
  25. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +12 -11
  26. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  27. package/esm2022/localization/messages.mjs +143 -0
  28. package/{esm2020 → esm2022}/navigation.service.mjs +17 -14
  29. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  30. package/{esm2020 → esm2022}/rendering/file-list-item-action-button.component.mjs +15 -9
  31. package/{esm2020 → esm2022}/rendering/file-list-item-base.mjs +7 -4
  32. package/{esm2020 → esm2022}/rendering/file-list-item.mjs +10 -5
  33. package/{esm2020 → esm2022}/rendering/file-list-multiple-items.component.mjs +18 -13
  34. package/{esm2020 → esm2022}/rendering/file-list-single-item.component.mjs +16 -12
  35. package/{esm2020 → esm2022}/rendering/file-list.component.mjs +14 -5
  36. package/{esm2020 → esm2022}/rendering/upload-action-buttons.component.mjs +17 -10
  37. package/{esm2020 → esm2022}/rendering/upload-status-total.component.mjs +14 -8
  38. package/esm2022/templates/file-info-template.directive.mjs +40 -0
  39. package/esm2022/templates/file-template.directive.mjs +40 -0
  40. package/{esm2020 → esm2022}/types/chunk-map.mjs +1 -0
  41. package/{esm2020 → esm2022}/types/file-map.mjs +1 -0
  42. package/{esm2020 → esm2022}/upload.component.mjs +113 -95
  43. package/{esm2020 → esm2022}/upload.module.mjs +8 -8
  44. package/{esm2020 → esm2022}/upload.service.mjs +50 -49
  45. package/{esm2020 → esm2022}/uploads.module.mjs +8 -8
  46. package/{fesm2020 → fesm2022}/progress-kendo-angular-upload.mjs +822 -442
  47. package/file-select.directive.d.ts +1 -1
  48. package/fileselect.component.d.ts +1 -1
  49. package/localization/messages.d.ts +1 -1
  50. package/package.json +16 -22
  51. package/rendering/file-list-item-action-button.component.d.ts +1 -1
  52. package/rendering/file-list-item.d.ts +1 -1
  53. package/rendering/file-list-multiple-items.component.d.ts +1 -1
  54. package/rendering/file-list-single-item.component.d.ts +1 -1
  55. package/rendering/file-list.component.d.ts +1 -1
  56. package/rendering/upload-action-buttons.component.d.ts +1 -1
  57. package/rendering/upload-status-total.component.d.ts +1 -1
  58. package/schematics/ngAdd/index.js +4 -4
  59. package/templates/file-info-template.directive.d.ts +17 -1
  60. package/templates/file-template.directive.d.ts +17 -1
  61. package/types/direction.d.ts +1 -1
  62. package/types/operation-type.d.ts +1 -1
  63. package/upload.component.d.ts +1 -1
  64. package/upload.service.d.ts +1 -1
  65. package/esm2020/localization/messages.mjs +0 -59
  66. package/esm2020/templates/file-info-template.directive.mjs +0 -23
  67. package/esm2020/templates/file-template.directive.mjs +0 -23
  68. package/fesm2015/progress-kendo-angular-upload.mjs +0 -4808
  69. /package/{esm2020 → esm2022}/common/action-buttons-layout.mjs +0 -0
  70. /package/{esm2020 → esm2022}/common/util.mjs +0 -0
  71. /package/{esm2020 → esm2022}/common/validation-util.mjs +0 -0
  72. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  73. /package/{esm2020 → esm2022}/events/clear-event.mjs +0 -0
  74. /package/{esm2020 → esm2022}/events.mjs +0 -0
  75. /package/{esm2020 → esm2022}/index.mjs +0 -0
  76. /package/{esm2020 → esm2022}/progress-kendo-angular-upload.mjs +0 -0
  77. /package/{esm2020 → esm2022}/types/async-settings.mjs +0 -0
  78. /package/{esm2020 → esm2022}/types/chunk-info.mjs +0 -0
  79. /package/{esm2020 → esm2022}/types/chunk-metadata.mjs +0 -0
  80. /package/{esm2020 → esm2022}/types/chunk-settings.mjs +0 -0
  81. /package/{esm2020 → esm2022}/types/direction.mjs +0 -0
  82. /package/{esm2020 → esm2022}/types/file-groups.mjs +0 -0
  83. /package/{esm2020 → esm2022}/types/file-info.mjs +0 -0
  84. /package/{esm2020 → esm2022}/types/file-restrictions.mjs +0 -0
  85. /package/{esm2020 → esm2022}/types/file-state.mjs +0 -0
  86. /package/{esm2020 → esm2022}/types/operation-type.mjs +0 -0
  87. /package/{esm2020 → esm2022}/types.mjs +0 -0
@@ -22,10 +22,15 @@ import * as i2 from "../upload.service";
22
22
  * @hidden
23
23
  */
24
24
  export class FileListMultipleItemsComponent extends FileListItemBase {
25
+ localization;
26
+ disabled;
27
+ files;
28
+ fileInfoTemplate;
29
+ filesHaveErrors;
30
+ copySVGIcon = copyIcon;
25
31
  constructor(localization, uploadService) {
26
32
  super(uploadService);
27
33
  this.localization = localization;
28
- this.copySVGIcon = copyIcon;
29
34
  this.subscribeUploadProgress((args) => {
30
35
  if (args.files[0].uid === this.files[0].uid) {
31
36
  this.progressComplete = args.percentComplete;
@@ -63,9 +68,8 @@ export class FileListMultipleItemsComponent extends FileListItemBase {
63
68
  get isUploadFailed() {
64
69
  return this.files[0].state === FileState.Failed;
65
70
  }
66
- }
67
- FileListMultipleItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListMultipleItemsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
68
- FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileListMultipleItemsComponent, isStandalone: true, selector: "kendo-upload-file-list-multiple-items", inputs: { disabled: "disabled", files: "files", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
71
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileListMultipleItemsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
72
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FileListMultipleItemsComponent, isStandalone: true, selector: "kendo-upload-file-list-multiple-items", inputs: { disabled: "disabled", files: "files", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
69
73
  <kendo-progressbar
70
74
  [@progressState]="showProgress"
71
75
  [value]="progressComplete"
@@ -111,15 +115,16 @@ FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
111
115
  [progress]='progressComplete'>
112
116
  </kendo-upload-file-list-item-action-button>
113
117
  `, isInline: true, dependencies: [{ kind: "component", type: ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], animations: [
114
- trigger('progressState', [
115
- state('active', style({ opacity: 1 })),
116
- state('inactive', style({ opacity: 0 })),
117
- transition('void => active', style({ opacity: 0 })),
118
- transition('inactive => active', style({ opacity: 1 })),
119
- transition('active => inactive', animate('1s 2s ease-out'))
120
- ])
121
- ] });
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListMultipleItemsComponent, decorators: [{
118
+ trigger('progressState', [
119
+ state('active', style({ opacity: 1 })),
120
+ state('inactive', style({ opacity: 0 })),
121
+ transition('void => active', style({ opacity: 0 })),
122
+ transition('inactive => active', style({ opacity: 1 })),
123
+ transition('active => inactive', animate('1s 2s ease-out'))
124
+ ])
125
+ ] });
126
+ }
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileListMultipleItemsComponent, decorators: [{
123
128
  type: Component,
124
129
  args: [{
125
130
  animations: [
@@ -23,6 +23,10 @@ import * as i2 from "../upload.service";
23
23
  * @hidden
24
24
  */
25
25
  export class FileListSingleItemComponent extends FileListItemBase {
26
+ localization;
27
+ disabled;
28
+ file;
29
+ fileInfoTemplate;
26
30
  constructor(localization, uploadService) {
27
31
  super(uploadService);
28
32
  this.localization = localization;
@@ -72,9 +76,8 @@ export class FileListSingleItemComponent extends FileListItemBase {
72
76
  get isNotYetUploaded() {
73
77
  return !this.isUploadFailed && !this.isUploadSuccessful;
74
78
  }
75
- }
76
- FileListSingleItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListSingleItemComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
77
- FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileListSingleItemComponent, isStandalone: true, selector: "kendo-upload-file-list-single-item", inputs: { disabled: "disabled", file: "file", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileListSingleItemComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
80
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FileListSingleItemComponent, isStandalone: true, selector: "kendo-upload-file-list-single-item", inputs: { disabled: "disabled", file: "file", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
78
81
  <kendo-progressbar
79
82
  [@progressState]="showProgress"
80
83
  [value]="progressComplete"
@@ -112,15 +115,16 @@ FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
112
115
  [progress]='progressComplete'>
113
116
  </kendo-upload-file-list-item-action-button>
114
117
  `, isInline: true, dependencies: [{ kind: "component", type: ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], animations: [
115
- trigger('progressState', [
116
- state('active', style({ opacity: 1 })),
117
- state('inactive', style({ opacity: 0 })),
118
- transition('void => active', style({ opacity: 0 })),
119
- transition('inactive => active', style({ opacity: 1 })),
120
- transition('active => inactive', animate('1s 2s ease-out'))
121
- ])
122
- ] });
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListSingleItemComponent, decorators: [{
118
+ trigger('progressState', [
119
+ state('active', style({ opacity: 1 })),
120
+ state('inactive', style({ opacity: 0 })),
121
+ transition('void => active', style({ opacity: 0 })),
122
+ transition('inactive => active', style({ opacity: 1 })),
123
+ transition('active => inactive', animate('1s 2s ease-out'))
124
+ ])
125
+ ] });
126
+ }
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileListSingleItemComponent, decorators: [{
124
128
  type: Component,
125
129
  args: [{
126
130
  animations: [
@@ -21,10 +21,19 @@ import * as i2 from "../navigation.service";
21
21
  * @hidden
22
22
  */
23
23
  export class FileListComponent {
24
+ uploadService;
25
+ navigation;
26
+ disabled;
27
+ fileList;
28
+ fileTemplate;
29
+ fileInfoTemplate;
30
+ fileListItems;
31
+ fileListRole = 'list';
32
+ focusSubscription;
33
+ actionSubscription;
24
34
  constructor(uploadService, navigation) {
25
35
  this.uploadService = uploadService;
26
36
  this.navigation = navigation;
27
- this.fileListRole = 'list';
28
37
  this.onItemFocus();
29
38
  this.onItemAction();
30
39
  }
@@ -90,9 +99,8 @@ export class FileListComponent {
90
99
  this.focusSubscription.unsubscribe();
91
100
  this.actionSubscription.unsubscribe();
92
101
  }
93
- }
94
- FileListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListComponent, deps: [{ token: i1.UploadService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
95
- FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileListComponent, isStandalone: true, selector: "[kendo-upload-file-list]", inputs: { disabled: "disabled", fileList: "fileList", fileTemplate: "fileTemplate", fileInfoTemplate: "fileInfoTemplate" }, host: { properties: { "attr.role": "this.fileListRole" } }, viewQueries: [{ propertyName: "fileListItems", predicate: FileListItemDirective, descendants: true }], ngImport: i0, template: `
102
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileListComponent, deps: [{ token: i1.UploadService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
103
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FileListComponent, isStandalone: true, selector: "[kendo-upload-file-list]", inputs: { disabled: "disabled", fileList: "fileList", fileTemplate: "fileTemplate", fileInfoTemplate: "fileInfoTemplate" }, host: { properties: { "attr.role": "this.fileListRole" } }, viewQueries: [{ propertyName: "fileListItems", predicate: FileListItemDirective, descendants: true }], ngImport: i0, template: `
96
104
  <ng-template ngFor
97
105
  [ngForOf]="fileList"
98
106
  let-files
@@ -119,7 +127,8 @@ FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
119
127
  </li>
120
128
  </ng-template>
121
129
  `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: ["files", "index"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: ["disabled", "file", "fileInfoTemplate"] }, { kind: "component", type: FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: ["disabled", "files", "fileInfoTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListComponent, decorators: [{
130
+ }
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileListComponent, decorators: [{
123
132
  type: Component,
124
133
  args: [{
125
134
  selector: '[kendo-upload-file-list]',
@@ -15,12 +15,14 @@ import * as i3 from "../navigation.service";
15
15
  * @hidden
16
16
  */
17
17
  export class UploadActionButtonsComponent {
18
- constructor(uploadService, localization, navigation) {
19
- this.uploadService = uploadService;
20
- this.localization = localization;
21
- this.navigation = navigation;
22
- this.hostDefaultClass = true;
23
- }
18
+ uploadService;
19
+ localization;
20
+ navigation;
21
+ disabled;
22
+ actionsLayout;
23
+ clearButton;
24
+ uploadButton;
25
+ hostDefaultClass = true;
24
26
  get actionButtonsEndClassName() {
25
27
  return this.actionsLayout === 'end';
26
28
  }
@@ -33,6 +35,11 @@ export class UploadActionButtonsComponent {
33
35
  get actionButtonsCenterClassName() {
34
36
  return this.actionsLayout === 'center';
35
37
  }
38
+ constructor(uploadService, localization, navigation) {
39
+ this.uploadService = uploadService;
40
+ this.localization = localization;
41
+ this.navigation = navigation;
42
+ }
36
43
  onUploadButtonFocus() {
37
44
  if (!this.navigation.focused) {
38
45
  this.navigation.focusedIndex = this.navigation.lastIndex;
@@ -61,9 +68,8 @@ export class UploadActionButtonsComponent {
61
68
  textFor(key) {
62
69
  return this.localization.get(key);
63
70
  }
64
- }
65
- UploadActionButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadActionButtonsComponent, deps: [{ token: i1.UploadService }, { token: i2.LocalizationService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
66
- UploadActionButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: UploadActionButtonsComponent, isStandalone: true, selector: "kendo-upload-action-buttons", inputs: { disabled: "disabled", actionsLayout: "actionsLayout" }, host: { properties: { "class.k-actions": "this.hostDefaultClass", "class.k-actions-end": "this.actionButtonsEndClassName", "class.k-actions-stretched": "this.actionButtonsStretchedClassName", "class.k-actions-start": "this.actionButtonsStartClassName", "class.k-actions-center": "this.actionButtonsCenterClassName" } }, viewQueries: [{ propertyName: "clearButton", first: true, predicate: ["clearButton"], descendants: true, static: true }, { propertyName: "uploadButton", first: true, predicate: ["uploadButton"], descendants: true, static: true }], ngImport: i0, template: `
71
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadActionButtonsComponent, deps: [{ token: i1.UploadService }, { token: i2.LocalizationService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
72
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: UploadActionButtonsComponent, isStandalone: true, selector: "kendo-upload-action-buttons", inputs: { disabled: "disabled", actionsLayout: "actionsLayout" }, host: { properties: { "class.k-actions": "this.hostDefaultClass", "class.k-actions-end": "this.actionButtonsEndClassName", "class.k-actions-stretched": "this.actionButtonsStretchedClassName", "class.k-actions-start": "this.actionButtonsStartClassName", "class.k-actions-center": "this.actionButtonsCenterClassName" } }, viewQueries: [{ propertyName: "clearButton", first: true, predicate: ["clearButton"], descendants: true, static: true }, { propertyName: "uploadButton", first: true, predicate: ["uploadButton"], descendants: true, static: true }], ngImport: i0, template: `
67
73
  <button #clearButton role="button" class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-clear-selected"
68
74
  (click)="onClearButtonClick($event)">
69
75
  {{textFor('clearSelectedFiles')}}
@@ -74,7 +80,8 @@ UploadActionButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
74
80
  {{textFor('uploadSelectedFiles')}}
75
81
  </button>
76
82
  `, isInline: true });
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadActionButtonsComponent, decorators: [{
83
+ }
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadActionButtonsComponent, decorators: [{
78
85
  type: Component,
79
86
  args: [{
80
87
  selector: 'kendo-upload-action-buttons',
@@ -14,12 +14,18 @@ import * as i1 from "@progress/kendo-angular-l10n";
14
14
  * @hidden
15
15
  */
16
16
  export class UploadStatusTotalComponent {
17
+ localization;
18
+ fileList;
19
+ isFailed;
20
+ isPaused;
21
+ isUploading;
22
+ statusText;
23
+ checkmarkIcon = checkIcon;
24
+ exceptionSVGIcon = exclamationCircleIcon;
25
+ uploadSVGIcon = uploadIcon;
26
+ pauseSVGIcon = pauseSmIcon;
17
27
  constructor(localization) {
18
28
  this.localization = localization;
19
- this.checkmarkIcon = checkIcon;
20
- this.exceptionSVGIcon = exclamationCircleIcon;
21
- this.uploadSVGIcon = uploadIcon;
22
- this.pauseSVGIcon = pauseSmIcon;
23
29
  }
24
30
  get iconClass() {
25
31
  if (!this.isUploading && !this.isFailed) {
@@ -61,9 +67,8 @@ export class UploadStatusTotalComponent {
61
67
  : this.localization.get('headerStatusUploaded');
62
68
  }
63
69
  }
64
- }
65
- UploadStatusTotalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadStatusTotalComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
66
- UploadStatusTotalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: UploadStatusTotalComponent, isStandalone: true, selector: "kendo-upload-status-total", inputs: { fileList: "fileList" }, ngImport: i0, template: `
70
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadStatusTotalComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
71
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: UploadStatusTotalComponent, isStandalone: true, selector: "kendo-upload-status-total", inputs: { fileList: "fileList" }, ngImport: i0, template: `
67
72
  <kendo-icon-wrapper
68
73
  [name]="iconClass"
69
74
  [svgIcon]="SVGIconClass"
@@ -71,7 +76,8 @@ UploadStatusTotalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
71
76
  </kendo-icon-wrapper>
72
77
  {{statusText}}
73
78
  `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadStatusTotalComponent, decorators: [{
79
+ }
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadStatusTotalComponent, decorators: [{
75
81
  type: Component,
76
82
  args: [{
77
83
  selector: 'kendo-upload-status-total',
@@ -0,0 +1,40 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, TemplateRef } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Used to customize the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, upload progress etc. will be preserved in place. ([See example.](slug:templates_upload#toc-file-info-template))
9
+ *
10
+ * The following context variables are available in the template:
11
+ *
12
+ * * `let-files`&mdash;Provides a reference to the files which are associated with the current item.
13
+ * * `let-state`&mdash;Gets a reference to the current state of each file. If the [`batch`](slug:api_upload_uploadcomponent#toc-batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
14
+ * * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`&mdash;Provides a reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
15
+ *
16
+ * @example
17
+ * ```html
18
+ * <kendo-upload #myUpload="kendoUpload" ... >
19
+ * <ng-template kendoUploadFileInfoTemplate let-files let-state>
20
+ * <div>Name: {{ files[0].name }}</div>
21
+ * ...
22
+ * </ng-template>
23
+ * </kendo-upload>
24
+ * ```
25
+ */
26
+ export class FileInfoTemplateDirective {
27
+ templateRef;
28
+ constructor(templateRef) {
29
+ this.templateRef = templateRef;
30
+ }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileInfoTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FileInfoTemplateDirective, isStandalone: true, selector: "[kendoUploadFileInfoTemplate], [kendoFileSelectFileInfoTemplate]", ngImport: i0 });
33
+ }
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileInfoTemplateDirective, decorators: [{
35
+ type: Directive,
36
+ args: [{
37
+ selector: '[kendoUploadFileInfoTemplate], [kendoFileSelectFileInfoTemplate]',
38
+ standalone: true
39
+ }]
40
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -0,0 +1,40 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, TemplateRef } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Used to customize the rendering of the files in the list. ([See example.](slug:templates_upload#toc-file-template))
9
+ *
10
+ * The following context variables are available in the template:
11
+ *
12
+ * * `let-files`&mdash;Provides a reference to the files which are associated with the current item.
13
+ * * `let-state`&mdash;Gets a reference to the current state of each file. If the [`batch`](slug:api_upload_uploadcomponent#toc-batch) option of the Upload is set to `true`, the field reflects the state of the whole batch.
14
+ * * `#myUpload="kendoUpload"` or `#myFileSelect="kendoFileSelect"`&mdash;Provides a reference to the instance of the Upload/FileSelect component. It is exported as `kendoUpload`/`kendoFileSelect` by using the [`exportAs`](https://angular.io/api/core/Component) metadata property.
15
+ *
16
+ * @example
17
+ * ```html
18
+ * <kendo-upload #myUpload="kendoUpload" ... >
19
+ * <ng-template kendoUploadFileTemplate let-files let-state>
20
+ * <div>Name: {{ files[0].name }} Size: {{ files[0].size }} bytes</div>
21
+ * ...
22
+ * </ng-template>
23
+ * </kendo-upload>
24
+ * ```
25
+ */
26
+ export class FileTemplateDirective {
27
+ templateRef;
28
+ constructor(templateRef) {
29
+ this.templateRef = templateRef;
30
+ }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FileTemplateDirective, isStandalone: true, selector: "[kendoUploadFileTemplate], [kendoFileSelectFileTemplate]", ngImport: i0 });
33
+ }
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileTemplateDirective, decorators: [{
35
+ type: Directive,
36
+ args: [{
37
+ selector: '[kendoUploadFileTemplate], [kendoFileSelectFileTemplate]',
38
+ standalone: true
39
+ }]
40
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -6,6 +6,7 @@
6
6
  * @hidden
7
7
  */
8
8
  export class ChunkMap {
9
+ _files;
9
10
  constructor() {
10
11
  this._files = {};
11
12
  }
@@ -7,6 +7,7 @@ import { FileState } from '../types';
7
7
  * @hidden
8
8
  */
9
9
  export class FileMap {
10
+ _files;
10
11
  constructor() {
11
12
  this._files = {};
12
13
  }
@@ -45,83 +45,14 @@ let idx = 0;
45
45
  * Represents the [Kendo UI Upload component for Angular]({% slug overview_upload %}).
46
46
  */
47
47
  export class UploadComponent extends UploadFileSelectBase {
48
- constructor(uploadService, localization, navigation, dropZoneService, zone, renderer, cdr, wrapper, injector) {
49
- super(uploadService, navigation, cdr, injector, zone);
50
- this.uploadService = uploadService;
51
- this.localization = localization;
52
- this.navigation = navigation;
53
- this.dropZoneService = dropZoneService;
54
- this.zone = zone;
55
- this.renderer = renderer;
56
- this.cdr = cdr;
57
- this.injector = injector;
58
- /**
59
- * Enables the chunk functionality of the Upload.
60
- *
61
- * @default false
62
- */
63
- this.chunkable = false;
64
- /**
65
- * Toggles the visibility of the file list.
66
- * @default true
67
- */
68
- this.showFileList = true;
69
- /**
70
- * Specifies the possible layout of the action buttons.
71
- */
72
- this.actionsLayout = 'end';
73
- /**
74
- * Fires when the upload is canceled while in progress.
75
- */
76
- this.cancel = new EventEmitter();
77
- /**
78
- * Fires when the file list is about to be cleared. If prevented, the files will not be cleared.
79
- */
80
- this.clear = new EventEmitter();
81
- /**
82
- * Fires when all active uploads are completed either successfully or with errors.
83
- */
84
- this.complete = new EventEmitter();
85
- /**
86
- * Fires when an `upload` or `remove` operation has failed.
87
- */
88
- this.error = new EventEmitter();
89
- /**
90
- * Fires when the upload of a file has been paused.
91
- */
92
- this.pause = new EventEmitter();
93
- /**
94
- * Fires when the upload of a file has been resumed.
95
- */
96
- this.resume = new EventEmitter();
97
- /**
98
- * Fires when an `upload` or `remove` operation is successfully completed.
99
- */
100
- this.success = new EventEmitter();
101
- /**
102
- * Fires when one or more files are about to be uploaded. If prevented, the files will neither be uploaded, nor added to the file list.
103
- */
104
- this.upload = new EventEmitter();
105
- /**
106
- * Fires when one or more files are being uploaded.
107
- */
108
- this.uploadProgress = new EventEmitter();
109
- /**
110
- * Fires when the value of the component has changed as a result of a successful `upload`, `remove` or `clear` operation.
111
- */
112
- this.valueChange = new EventEmitter();
113
- validatePackage(packageMetadata);
114
- this.fileList = this.uploadService.files;
115
- this.localizationChangeSubscription = localization.changes.subscribe(({ rtl }) => {
116
- this.direction = rtl ? 'rtl' : 'ltr';
117
- });
118
- this.direction = localization.rtl ? 'rtl' : 'ltr';
119
- this.navigation.computeKeys();
120
- this.wrapper = wrapper.nativeElement;
121
- this.subscribeBlur();
122
- this.subscribeFocus();
123
- this.attachEventHandlers();
124
- }
48
+ uploadService;
49
+ localization;
50
+ navigation;
51
+ dropZoneService;
52
+ zone;
53
+ renderer;
54
+ cdr;
55
+ injector;
125
56
  /**
126
57
  * By default, the selected files are immediately uploaded
127
58
  * ([see example]({% slug fileprocessing_upload %}#toc-automatic-upload-of-files)).
@@ -247,6 +178,12 @@ export class UploadComponent extends UploadFileSelectBase {
247
178
  get removeUrl() {
248
179
  return this.uploadService.async.removeUrl;
249
180
  }
181
+ /**
182
+ * Enables the chunk functionality of the Upload.
183
+ *
184
+ * @default false
185
+ */
186
+ chunkable = false;
250
187
  /**
251
188
  * Specifies if the selected files are uploaded simultaneously or one by one.
252
189
  *
@@ -258,6 +195,11 @@ export class UploadComponent extends UploadFileSelectBase {
258
195
  get concurrent() {
259
196
  return this.uploadService.async.concurrent;
260
197
  }
198
+ /**
199
+ * Toggles the visibility of the file list.
200
+ * @default true
201
+ */
202
+ showFileList = true;
261
203
  /**
262
204
  * @hidden
263
205
  */
@@ -267,9 +209,85 @@ export class UploadComponent extends UploadFileSelectBase {
267
209
  get tabIndex() {
268
210
  return this.tabindex;
269
211
  }
212
+ /**
213
+ * Specifies the possible layout of the action buttons.
214
+ */
215
+ actionsLayout = 'end';
216
+ fileSelectInput;
217
+ /**
218
+ * Fires when the upload is canceled while in progress.
219
+ */
220
+ cancel = new EventEmitter();
221
+ /**
222
+ * Fires when the file list is about to be cleared. If prevented, the files will not be cleared.
223
+ */
224
+ clear = new EventEmitter();
225
+ /**
226
+ * Fires when all active uploads are completed either successfully or with errors.
227
+ */
228
+ complete = new EventEmitter();
229
+ /**
230
+ * Fires when an `upload` or `remove` operation has failed.
231
+ */
232
+ error = new EventEmitter();
233
+ /**
234
+ * Fires when the upload of a file has been paused.
235
+ */
236
+ pause = new EventEmitter();
237
+ /**
238
+ * Fires when the upload of a file has been resumed.
239
+ */
240
+ resume = new EventEmitter();
241
+ /**
242
+ * Fires when an `upload` or `remove` operation is successfully completed.
243
+ */
244
+ success = new EventEmitter();
245
+ /**
246
+ * Fires when one or more files are about to be uploaded. If prevented, the files will neither be uploaded, nor added to the file list.
247
+ */
248
+ upload = new EventEmitter();
249
+ /**
250
+ * Fires when one or more files are being uploaded.
251
+ */
252
+ uploadProgress = new EventEmitter();
253
+ /**
254
+ * Fires when the value of the component has changed as a result of a successful `upload`, `remove` or `clear` operation.
255
+ */
256
+ valueChange = new EventEmitter();
270
257
  get dir() {
271
258
  return this.direction;
272
259
  }
260
+ direction;
261
+ wrapper;
262
+ fileListId;
263
+ documentClick; // eslint-disable-line @typescript-eslint/ban-types
264
+ blurSubscription;
265
+ wrapperFocusSubscription;
266
+ selectButtonFocusSubscription;
267
+ localizationChangeSubscription;
268
+ subs;
269
+ constructor(uploadService, localization, navigation, dropZoneService, zone, renderer, cdr, wrapper, injector) {
270
+ super(uploadService, navigation, cdr, injector, zone);
271
+ this.uploadService = uploadService;
272
+ this.localization = localization;
273
+ this.navigation = navigation;
274
+ this.dropZoneService = dropZoneService;
275
+ this.zone = zone;
276
+ this.renderer = renderer;
277
+ this.cdr = cdr;
278
+ this.injector = injector;
279
+ validatePackage(packageMetadata);
280
+ this.fileList = this.uploadService.files;
281
+ this.localizationChangeSubscription = localization.changes.subscribe(({ rtl }) => {
282
+ this.direction = rtl ? 'rtl' : 'ltr';
283
+ });
284
+ this.direction = localization.rtl ? 'rtl' : 'ltr';
285
+ this.navigation.computeKeys();
286
+ this.wrapper = wrapper.nativeElement;
287
+ this.subscribeBlur();
288
+ this.subscribeFocus();
289
+ this.attachEventHandlers();
290
+ }
273
291
  ngOnInit() {
274
292
  this.verifySettings();
275
293
  const { buttonId, fileListId } = this.getIds();
@@ -524,23 +542,22 @@ export class UploadComponent extends UploadFileSelectBase {
524
542
  this.uploadProgress.emit(args);
525
543
  }));
526
544
  }
527
- }
528
- UploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadComponent, deps: [{ token: i1.UploadService }, { token: i2.LocalizationService }, { token: i3.NavigationService }, { token: i4.DropZoneService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
529
- UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: UploadComponent, isStandalone: true, selector: "kendo-upload", inputs: { autoUpload: "autoUpload", batch: "batch", withCredentials: "withCredentials", saveField: "saveField", saveHeaders: "saveHeaders", saveMethod: "saveMethod", saveUrl: "saveUrl", responseType: "responseType", removeField: "removeField", removeHeaders: "removeHeaders", removeMethod: "removeMethod", removeUrl: "removeUrl", chunkable: "chunkable", concurrent: "concurrent", showFileList: "showFileList", tabIndex: "tabIndex", actionsLayout: "actionsLayout" }, outputs: { cancel: "cancel", clear: "clear", complete: "complete", error: "error", pause: "pause", resume: "resume", success: "success", upload: "upload", uploadProgress: "uploadProgress", valueChange: "valueChange" }, host: { properties: { "attr.dir": "this.dir" } }, providers: [
530
- LocalizationService,
531
- NavigationService,
532
- UploadService,
533
- DropZoneService,
534
- UPLOAD_VALUE_ACCESSOR,
535
- {
536
- provide: L10N_PREFIX,
537
- useValue: 'kendo.upload'
538
- },
539
- {
540
- provide: KendoInput,
541
- useExisting: forwardRef(() => UploadComponent)
542
- }
543
- ], viewQueries: [{ propertyName: "fileSelectInput", first: true, predicate: ["fileSelectInput"], descendants: true, static: true }], exportAs: ["kendoUpload"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
545
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadComponent, deps: [{ token: i1.UploadService }, { token: i2.LocalizationService }, { token: i3.NavigationService }, { token: i4.DropZoneService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
546
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: UploadComponent, isStandalone: true, selector: "kendo-upload", inputs: { autoUpload: "autoUpload", batch: "batch", withCredentials: "withCredentials", saveField: "saveField", saveHeaders: "saveHeaders", saveMethod: "saveMethod", saveUrl: "saveUrl", responseType: "responseType", removeField: "removeField", removeHeaders: "removeHeaders", removeMethod: "removeMethod", removeUrl: "removeUrl", chunkable: "chunkable", concurrent: "concurrent", showFileList: "showFileList", tabIndex: "tabIndex", actionsLayout: "actionsLayout" }, outputs: { cancel: "cancel", clear: "clear", complete: "complete", error: "error", pause: "pause", resume: "resume", success: "success", upload: "upload", uploadProgress: "uploadProgress", valueChange: "valueChange" }, host: { properties: { "attr.dir": "this.dir" } }, providers: [
547
+ LocalizationService,
548
+ NavigationService,
549
+ UploadService,
550
+ DropZoneService,
551
+ UPLOAD_VALUE_ACCESSOR,
552
+ {
553
+ provide: L10N_PREFIX,
554
+ useValue: 'kendo.upload'
555
+ },
556
+ {
557
+ provide: KendoInput,
558
+ useExisting: forwardRef(() => UploadComponent)
559
+ }
560
+ ], viewQueries: [{ propertyName: "fileSelectInput", first: true, predicate: ["fileSelectInput"], descendants: true, static: true }], exportAs: ["kendoUpload"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
544
561
  <ng-container kendoUploadLocalizedMessages
545
562
  i18n-cancel="kendo.upload.cancel|The text for the Cancel button"
546
563
  cancel="Cancel"
@@ -652,7 +669,8 @@ UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
652
669
  [actionsLayout]="actionsLayout">
653
670
  </kendo-upload-action-buttons>
654
671
  `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n " }, { kind: "directive", type: DropZoneInternalDirective, selector: "\n [kendoUploadInternalDropZone],\n [kendoFileSelectInternalDropZone]\n ", inputs: ["disabled", "multiple", "restrictions"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FileSelectDirective, selector: "[kendoFileSelect]", inputs: ["dir", "disabled", "multiple", "restrictions", "accept", "required"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UploadStatusTotalComponent, selector: "kendo-upload-status-total", inputs: ["fileList"] }, { kind: "component", type: FileListComponent, selector: "[kendo-upload-file-list]", inputs: ["disabled", "fileList", "fileTemplate", "fileInfoTemplate"] }, { kind: "component", type: UploadActionButtonsComponent, selector: "kendo-upload-action-buttons", inputs: ["disabled", "actionsLayout"] }] });
655
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadComponent, decorators: [{
672
+ }
673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UploadComponent, decorators: [{
656
674
  type: Component,
657
675
  args: [{
658
676
  exportAs: 'kendoUpload',