@progress/kendo-angular-upload 16.5.0 → 16.6.0-develop.2

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 (51) hide show
  1. package/directives.d.ts +25 -0
  2. package/dropzone-external.directive.d.ts +1 -1
  3. package/dropzone-internal.directive.d.ts +1 -1
  4. package/dropzone.component.d.ts +1 -1
  5. package/esm2020/directives.mjs +44 -0
  6. package/esm2020/dropzone-external.directive.mjs +3 -2
  7. package/esm2020/dropzone-internal.directive.mjs +3 -2
  8. package/esm2020/dropzone.component.mjs +8 -6
  9. package/esm2020/file-select.directive.mjs +3 -2
  10. package/esm2020/fileselect.component.mjs +11 -9
  11. package/esm2020/fileselect.module.mjs +24 -19
  12. package/esm2020/index.mjs +1 -0
  13. package/esm2020/localization/custom-messages.component.mjs +3 -2
  14. package/esm2020/localization/localized-messages.directive.mjs +3 -2
  15. package/esm2020/package-metadata.mjs +2 -2
  16. package/esm2020/rendering/file-list-item-action-button.component.mjs +7 -5
  17. package/esm2020/rendering/file-list-item.mjs +3 -2
  18. package/esm2020/rendering/file-list-multiple-items.component.mjs +9 -7
  19. package/esm2020/rendering/file-list-single-item.component.mjs +9 -7
  20. package/esm2020/rendering/file-list.component.mjs +8 -7
  21. package/esm2020/rendering/upload-action-buttons.component.mjs +3 -2
  22. package/esm2020/rendering/upload-status-total.component.mjs +6 -4
  23. package/esm2020/templates/file-info-template.directive.mjs +3 -2
  24. package/esm2020/templates/file-template.directive.mjs +3 -2
  25. package/esm2020/upload.component.mjs +13 -11
  26. package/esm2020/upload.module.mjs +26 -27
  27. package/esm2020/uploads.module.mjs +26 -9
  28. package/fesm2015/progress-kendo-angular-upload.mjs +1124 -1136
  29. package/fesm2020/progress-kendo-angular-upload.mjs +1122 -1134
  30. package/file-select.directive.d.ts +1 -1
  31. package/fileselect.component.d.ts +1 -1
  32. package/fileselect.module.d.ts +6 -8
  33. package/index.d.ts +1 -0
  34. package/localization/custom-messages.component.d.ts +1 -1
  35. package/localization/localized-messages.directive.d.ts +1 -1
  36. package/package.json +7 -7
  37. package/rendering/file-list-item-action-button.component.d.ts +1 -1
  38. package/rendering/file-list-item.d.ts +1 -1
  39. package/rendering/file-list-multiple-items.component.d.ts +1 -1
  40. package/rendering/file-list-single-item.component.d.ts +1 -1
  41. package/rendering/file-list.component.d.ts +1 -1
  42. package/rendering/upload-action-buttons.component.d.ts +1 -1
  43. package/rendering/upload-status-total.component.d.ts +1 -1
  44. package/schematics/ngAdd/index.js +3 -3
  45. package/templates/file-info-template.directive.d.ts +1 -1
  46. package/templates/file-template.directive.d.ts +1 -1
  47. package/upload.component.d.ts +1 -1
  48. package/upload.module.d.ts +6 -8
  49. package/uploads.module.d.ts +10 -3
  50. package/esm2020/shared.module.mjs +0 -94
  51. package/shared.module.d.ts +0 -38
@@ -0,0 +1,25 @@
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 { UploadDropZoneDirective } from "./dropzone-external.directive";
6
+ import { UploadDropZoneComponent } from "./dropzone.component";
7
+ import { FileSelectComponent } from "./fileselect.component";
8
+ import { CustomMessagesComponent } from "./localization/custom-messages.component";
9
+ import { UploadActionButtonsComponent } from "./rendering/upload-action-buttons.component";
10
+ import { UploadStatusTotalComponent } from "./rendering/upload-status-total.component";
11
+ import { FileInfoTemplateDirective } from "./templates/file-info-template.directive";
12
+ import { FileTemplateDirective } from "./templates/file-template.directive";
13
+ import { UploadComponent } from "./upload.component";
14
+ /**
15
+ * Utility array that contains all `FileSelect` related components and directives
16
+ */
17
+ export declare const KENDO_FILESELECT: readonly [typeof FileSelectComponent, typeof FileTemplateDirective, typeof FileInfoTemplateDirective, typeof CustomMessagesComponent, typeof UploadDropZoneDirective, typeof UploadDropZoneComponent];
18
+ /**
19
+ * Utility array that contains all `Upload` related components and directives
20
+ */
21
+ export declare const KENDO_UPLOAD: readonly [typeof UploadComponent, typeof UploadActionButtonsComponent, typeof UploadStatusTotalComponent, typeof FileTemplateDirective, typeof FileInfoTemplateDirective, typeof CustomMessagesComponent, typeof UploadDropZoneDirective, typeof UploadDropZoneComponent];
22
+ /**
23
+ * Utility array that contains all `@progress/kendo-angular-upload` related components and directives
24
+ */
25
+ export declare const KENDO_UPLOADS: readonly [typeof FileSelectComponent, typeof FileTemplateDirective, typeof FileInfoTemplateDirective, typeof CustomMessagesComponent, typeof UploadDropZoneDirective, typeof UploadDropZoneComponent, typeof UploadComponent, typeof UploadActionButtonsComponent, typeof UploadStatusTotalComponent, typeof FileTemplateDirective, typeof FileInfoTemplateDirective, typeof CustomMessagesComponent, typeof UploadDropZoneDirective, typeof UploadDropZoneComponent];
@@ -31,5 +31,5 @@ export declare class UploadDropZoneDirective {
31
31
  */
32
32
  get componentInstance(): Array<UploadComponent | FileSelectComponent>;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadDropZoneDirective, never>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<UploadDropZoneDirective, "[kendoUploadDropZone], [kendoFileSelectDropZone]", never, { "zoneId": "kendoUploadDropZone"; }, {}, never, never, false, never>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UploadDropZoneDirective, "[kendoUploadDropZone], [kendoFileSelectDropZone]", never, { "zoneId": "kendoUploadDropZone"; }, {}, never, never, true, never>;
35
35
  }
@@ -31,5 +31,5 @@ export declare class DropZoneInternalDirective extends DropZoneBase {
31
31
  onDocumentDragOver(): boolean;
32
32
  onDropListener(event: any): boolean;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<DropZoneInternalDirective, never>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropZoneInternalDirective, " [kendoUploadInternalDropZone], [kendoFileSelectInternalDropZone] ", never, { "disabled": "disabled"; "multiple": "multiple"; "restrictions": "restrictions"; }, {}, never, never, false, never>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropZoneInternalDirective, " [kendoUploadInternalDropZone], [kendoFileSelectInternalDropZone] ", never, { "disabled": "disabled"; "multiple": "multiple"; "restrictions": "restrictions"; }, {}, never, never, true, never>;
35
35
  }
@@ -50,5 +50,5 @@ export declare class UploadDropZoneComponent extends DropZoneBase {
50
50
  get iconClasses(): string;
51
51
  ngOnDestroy(): void;
52
52
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadDropZoneComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadDropZoneComponent, "kendo-uploaddropzone", ["kendoUploadDropZone"], { "zoneId": "zoneId"; "icon": "icon"; "iconClass": "iconClass"; "svgIcon": "svgIcon"; }, {}, never, ["*"], false, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadDropZoneComponent, "kendo-uploaddropzone", ["kendoUploadDropZone"], { "zoneId": "zoneId"; "icon": "icon"; "iconClass": "iconClass"; "svgIcon": "svgIcon"; }, {}, never, ["*"], true, never>;
54
54
  }
@@ -0,0 +1,44 @@
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 { UploadDropZoneDirective } from "./dropzone-external.directive";
6
+ import { UploadDropZoneComponent } from "./dropzone.component";
7
+ import { FileSelectComponent } from "./fileselect.component";
8
+ import { CustomMessagesComponent } from "./localization/custom-messages.component";
9
+ import { UploadActionButtonsComponent } from "./rendering/upload-action-buttons.component";
10
+ import { UploadStatusTotalComponent } from "./rendering/upload-status-total.component";
11
+ import { FileInfoTemplateDirective } from "./templates/file-info-template.directive";
12
+ import { FileTemplateDirective } from "./templates/file-template.directive";
13
+ import { UploadComponent } from "./upload.component";
14
+ /**
15
+ * Utility array that contains all `FileSelect` related components and directives
16
+ */
17
+ export const KENDO_FILESELECT = [
18
+ FileSelectComponent,
19
+ FileTemplateDirective,
20
+ FileInfoTemplateDirective,
21
+ CustomMessagesComponent,
22
+ UploadDropZoneDirective,
23
+ UploadDropZoneComponent
24
+ ];
25
+ /**
26
+ * Utility array that contains all `Upload` related components and directives
27
+ */
28
+ export const KENDO_UPLOAD = [
29
+ UploadComponent,
30
+ UploadActionButtonsComponent,
31
+ UploadStatusTotalComponent,
32
+ FileTemplateDirective,
33
+ FileInfoTemplateDirective,
34
+ CustomMessagesComponent,
35
+ UploadDropZoneDirective,
36
+ UploadDropZoneComponent
37
+ ];
38
+ /**
39
+ * Utility array that contains all `@progress/kendo-angular-upload` related components and directives
40
+ */
41
+ export const KENDO_UPLOADS = [
42
+ ...KENDO_FILESELECT,
43
+ ...KENDO_UPLOAD
44
+ ];
@@ -61,7 +61,7 @@ export class UploadDropZoneDirective {
61
61
  }
62
62
  }
63
63
  UploadDropZoneDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadDropZoneDirective, deps: [{ token: i1.DropZoneService }], target: i0.ɵɵFactoryTarget.Directive });
64
- UploadDropZoneDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: UploadDropZoneDirective, selector: "[kendoUploadDropZone], [kendoFileSelectDropZone]", inputs: { zoneId: ["kendoUploadDropZone", "zoneId"] }, host: { listeners: { "dragenter": "onElementDragEnter()", "dragover": "onElementDragOver()", "drop": "onDropListener($event)" } }, providers: [
64
+ UploadDropZoneDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: UploadDropZoneDirective, isStandalone: true, selector: "[kendoUploadDropZone], [kendoFileSelectDropZone]", inputs: { zoneId: ["kendoUploadDropZone", "zoneId"] }, host: { listeners: { "dragenter": "onElementDragEnter()", "dragover": "onElementDragOver()", "drop": "onDropListener($event)" } }, providers: [
65
65
  DropZoneService
66
66
  ], ngImport: i0 });
67
67
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadDropZoneDirective, decorators: [{
@@ -70,7 +70,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
70
70
  providers: [
71
71
  DropZoneService
72
72
  ],
73
- selector: '[kendoUploadDropZone], [kendoFileSelectDropZone]'
73
+ selector: '[kendoUploadDropZone], [kendoFileSelectDropZone]',
74
+ standalone: true
74
75
  }]
75
76
  }], ctorParameters: function () { return [{ type: i1.DropZoneService }]; }, propDecorators: { zoneId: [{
76
77
  type: Input,
@@ -73,14 +73,15 @@ export class DropZoneInternalDirective extends DropZoneBase {
73
73
  }
74
74
  }
75
75
  DropZoneInternalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropZoneInternalDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.UploadService }], target: i0.ɵɵFactoryTarget.Directive });
76
- DropZoneInternalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropZoneInternalDirective, selector: "\n [kendoUploadInternalDropZone],\n [kendoFileSelectInternalDropZone]\n ", inputs: { disabled: "disabled", multiple: "multiple", restrictions: "restrictions" }, host: { listeners: { "drop": "onDropListener($event)" }, properties: { "class.k-dropzone": "this.initialClassName", "class.k-upload-dropzone": "this.initialClassName" } }, usesInheritance: true, ngImport: i0 });
76
+ DropZoneInternalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropZoneInternalDirective, isStandalone: true, selector: "\n [kendoUploadInternalDropZone],\n [kendoFileSelectInternalDropZone]\n ", inputs: { disabled: "disabled", multiple: "multiple", restrictions: "restrictions" }, host: { listeners: { "drop": "onDropListener($event)" }, properties: { "class.k-dropzone": "this.initialClassName", "class.k-upload-dropzone": "this.initialClassName" } }, usesInheritance: true, ngImport: i0 });
77
77
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropZoneInternalDirective, decorators: [{
78
78
  type: Directive,
79
79
  args: [{
80
80
  selector: `
81
81
  [kendoUploadInternalDropZone],
82
82
  [kendoFileSelectInternalDropZone]
83
- `
83
+ `,
84
+ standalone: true
84
85
  }]
85
86
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.UploadService }]; }, propDecorators: { disabled: [{
86
87
  type: Input
@@ -6,11 +6,11 @@ import { Component, ElementRef, HostBinding, Input, isDevMode, Renderer2 } from
6
6
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { DropZoneBase } from './dropzone-base';
8
8
  import { uploadIcon } from '@progress/kendo-svg-icons';
9
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
10
+ import { UploadDropZoneDirective } from './dropzone-external.directive';
11
+ import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
9
12
  import * as i0 from "@angular/core";
10
13
  import * as i1 from "@progress/kendo-angular-l10n";
11
- import * as i2 from "@progress/kendo-angular-icons";
12
- import * as i3 from "./dropzone-external.directive";
13
- import * as i4 from "./localization/localized-messages.directive";
14
14
  /**
15
15
  * Represents the [Kendo UI UploadDropZone component for Angular]({% slug overview_upload %}).
16
16
  */
@@ -64,7 +64,7 @@ export class UploadDropZoneComponent extends DropZoneBase {
64
64
  }
65
65
  }
66
66
  UploadDropZoneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadDropZoneComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
67
- UploadDropZoneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: UploadDropZoneComponent, selector: "kendo-uploaddropzone", inputs: { zoneId: "zoneId", icon: "icon", iconClass: "iconClass", svgIcon: "svgIcon" }, host: { properties: { "class.k-external-dropzone": "this.hostClass", "attr.dir": "this.dirAttribute" } }, providers: [
67
+ UploadDropZoneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: UploadDropZoneComponent, isStandalone: true, selector: "kendo-uploaddropzone", inputs: { zoneId: "zoneId", icon: "icon", iconClass: "iconClass", svgIcon: "svgIcon" }, host: { properties: { "class.k-external-dropzone": "this.hostClass", "attr.dir": "this.dirAttribute" } }, providers: [
68
68
  LocalizationService,
69
69
  {
70
70
  provide: L10N_PREFIX,
@@ -88,7 +88,7 @@ UploadDropZoneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
88
88
  <ng-content></ng-content>
89
89
  </span>
90
90
  </div>
91
- `, isInline: true, dependencies: [{ kind: "component", type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: i3.UploadDropZoneDirective, selector: "[kendoUploadDropZone], [kendoFileSelectDropZone]", inputs: ["kendoUploadDropZone"] }, { kind: "directive", type: i4.LocalizedMessagesDirective, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n " }] });
91
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n " }, { kind: "directive", type: UploadDropZoneDirective, selector: "[kendoUploadDropZone], [kendoFileSelectDropZone]", inputs: ["kendoUploadDropZone"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
92
92
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadDropZoneComponent, decorators: [{
93
93
  type: Component,
94
94
  args: [{
@@ -119,7 +119,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
119
119
  <ng-content></ng-content>
120
120
  </span>
121
121
  </div>
122
- `
122
+ `,
123
+ standalone: true,
124
+ imports: [LocalizedMessagesDirective, UploadDropZoneDirective, IconWrapperComponent]
123
125
  }]
124
126
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; }, propDecorators: { hostClass: [{
125
127
  type: HostBinding,
@@ -69,11 +69,12 @@ export class FileSelectDirective {
69
69
  }
70
70
  }
71
71
  FileSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileSelectDirective, deps: [{ token: i1.UploadService }, { token: i2.NavigationService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
72
- FileSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FileSelectDirective, selector: "[kendoFileSelect]", inputs: { dir: "dir", disabled: "disabled", multiple: "multiple", restrictions: "restrictions", accept: "accept", required: "required" }, host: { listeners: { "change": "onInputChange($event)" }, properties: { "attr.type": "this.type", "attr.autocomplete": "this.autocomplete", "attr.tabindex": "this.tabIndex", "attr.aria-hidden": "this.ariaHidden", "class.k-hidden": "this.classNames", "attr.name": "this.nameAttribute", "attr.multiple": "this.multipleAttribute", "attr.dir": "this.dirAttribute", "attr.disabled": "this.disabledAttribute", "attr.accept": "this.acceptAttribute", "attr.required": "this.requiredAttribute" } }, ngImport: i0 });
72
+ FileSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FileSelectDirective, isStandalone: true, selector: "[kendoFileSelect]", inputs: { dir: "dir", disabled: "disabled", multiple: "multiple", restrictions: "restrictions", accept: "accept", required: "required" }, host: { listeners: { "change": "onInputChange($event)" }, properties: { "attr.type": "this.type", "attr.autocomplete": "this.autocomplete", "attr.tabindex": "this.tabIndex", "attr.aria-hidden": "this.ariaHidden", "class.k-hidden": "this.classNames", "attr.name": "this.nameAttribute", "attr.multiple": "this.multipleAttribute", "attr.dir": "this.dirAttribute", "attr.disabled": "this.disabledAttribute", "attr.accept": "this.acceptAttribute", "attr.required": "this.requiredAttribute" } }, ngImport: i0 });
73
73
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileSelectDirective, decorators: [{
74
74
  type: Directive,
75
75
  args: [{
76
- selector: '[kendoFileSelect]'
76
+ selector: '[kendoFileSelect]',
77
+ standalone: true
77
78
  }]
78
79
  }], ctorParameters: function () { return [{ type: i1.UploadService }, { type: i2.NavigationService }, { type: i0.ElementRef }]; }, propDecorators: { dir: [{
79
80
  type: Input
@@ -16,17 +16,17 @@ import { UPLOAD_CLASSES, hasClasses, isFocusable, IGNORE_TARGET_CLASSES, validat
16
16
  import { FileState } from './types/file-state';
17
17
  import { DropZoneService } from './dropzone.service';
18
18
  import { UploadFileSelectBase } from "./common/base";
19
+ import { FileListComponent } from "./rendering/file-list.component";
20
+ import { NgIf } from "@angular/common";
21
+ import { FileSelectDirective } from "./file-select.directive";
22
+ import { ButtonComponent } from "@progress/kendo-angular-buttons";
23
+ import { DropZoneInternalDirective } from "./dropzone-internal.directive";
24
+ import { LocalizedMessagesDirective } from "./localization/localized-messages.directive";
19
25
  import * as i0 from "@angular/core";
20
26
  import * as i1 from "./upload.service";
21
27
  import * as i2 from "@progress/kendo-angular-l10n";
22
28
  import * as i3 from "./navigation.service";
23
29
  import * as i4 from "./dropzone.service";
24
- import * as i5 from "./dropzone-internal.directive";
25
- import * as i6 from "./rendering/file-list.component";
26
- import * as i7 from "./file-select.directive";
27
- import * as i8 from "./localization/localized-messages.directive";
28
- import * as i9 from "@angular/common";
29
- import * as i10 from "@progress/kendo-angular-buttons";
30
30
  /**
31
31
  * @hidden
32
32
  */
@@ -244,7 +244,7 @@ export class FileSelectComponent extends UploadFileSelectBase {
244
244
  }
245
245
  }
246
246
  FileSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileSelectComponent, 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 });
247
- FileSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileSelectComponent, selector: "kendo-fileselect", inputs: { name: "name" }, outputs: { valueChange: "valueChange" }, host: { properties: { "attr.dir": "this.dir" } }, providers: [
247
+ FileSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileSelectComponent, isStandalone: true, selector: "kendo-fileselect", inputs: { name: "name" }, outputs: { valueChange: "valueChange" }, host: { properties: { "attr.dir": "this.dir" } }, providers: [
248
248
  LocalizationService,
249
249
  NavigationService,
250
250
  UploadService,
@@ -320,7 +320,7 @@ FileSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
320
320
  [fileInfoTemplate]="fileInfoTemplate"
321
321
  [id]="fileListId">
322
322
  </ul>
323
- `, isInline: true, dependencies: [{ kind: "directive", type: i5.DropZoneInternalDirective, selector: "\n [kendoUploadInternalDropZone],\n [kendoFileSelectInternalDropZone]\n ", inputs: ["disabled", "multiple", "restrictions"] }, { kind: "component", type: i6.FileListComponent, selector: "[kendo-upload-file-list]", inputs: ["disabled", "fileList", "fileTemplate", "fileInfoTemplate"] }, { kind: "directive", type: i7.FileSelectDirective, selector: "[kendoFileSelect]", inputs: ["dir", "disabled", "multiple", "restrictions", "accept", "required"] }, { kind: "directive", type: i8.LocalizedMessagesDirective, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n " }, { kind: "directive", type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i10.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
323
+ `, 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], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "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: FileListComponent, selector: "[kendo-upload-file-list]", inputs: ["disabled", "fileList", "fileTemplate", "fileInfoTemplate"] }] });
324
324
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileSelectComponent, decorators: [{
325
325
  type: Component,
326
326
  args: [{
@@ -403,7 +403,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
403
403
  [fileInfoTemplate]="fileInfoTemplate"
404
404
  [id]="fileListId">
405
405
  </ul>
406
- `
406
+ `,
407
+ standalone: true,
408
+ imports: [LocalizedMessagesDirective, DropZoneInternalDirective, ButtonComponent, FileSelectDirective, NgIf, FileListComponent]
407
409
  }]
408
410
  }], ctorParameters: function () { return [{ type: i1.UploadService }, { type: i2.LocalizationService }, { type: i3.NavigationService }, { type: i4.DropZoneService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Injector }]; }, propDecorators: { fileSelectInput: [{
409
411
  type: ViewChild,
@@ -3,34 +3,39 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { FileSelectComponent } from './fileselect.component';
7
- import { IconsModule } from '@progress/kendo-angular-icons';
8
- import { SharedModule, PUBLIC_DIRECTIVES } from './shared.module';
6
+ import { KENDO_FILESELECT } from './directives';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
8
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
9
+ import { PopupService } from '@progress/kendo-angular-popup';
9
10
  import * as i0 from "@angular/core";
10
- import * as i1 from "./templates/file-template.directive";
11
- import * as i2 from "./templates/file-info-template.directive";
12
- import * as i3 from "./localization/custom-messages.component";
13
- import * as i4 from "./dropzone-external.directive";
14
- import * as i5 from "./dropzone.component";
15
- const FILESELECT_DECLARATIONS = [
16
- FileSelectComponent
17
- ];
11
+ import * as i1 from "./fileselect.component";
12
+ import * as i2 from "./templates/file-template.directive";
13
+ import * as i3 from "./templates/file-info-template.directive";
14
+ import * as i4 from "./localization/custom-messages.component";
15
+ import * as i5 from "./dropzone-external.directive";
16
+ import * as i6 from "./dropzone.component";
17
+ // IMPORTANT: NgModule export kept for backwards compatibility
18
18
  /**
19
19
  * Represents the [NgModule](https://angular.io/api/core/NgModule) definition for the FileSelect component.
20
20
  */
21
21
  export class FileSelectModule {
22
22
  }
23
23
  FileSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
24
- FileSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FileSelectModule, declarations: [FileSelectComponent], imports: [SharedModule, IconsModule], exports: [i1.FileTemplateDirective, i2.FileInfoTemplateDirective, i3.CustomMessagesComponent, i4.UploadDropZoneDirective, i5.UploadDropZoneComponent, FileSelectComponent] });
25
- FileSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileSelectModule, imports: [SharedModule, IconsModule] });
24
+ FileSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FileSelectModule, imports: [i1.FileSelectComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent], exports: [i1.FileSelectComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent] });
25
+ FileSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileSelectModule, providers: [
26
+ IconsService,
27
+ PopupService,
28
+ ResizeBatchService
29
+ ], imports: [i1.FileSelectComponent, i4.CustomMessagesComponent, i6.UploadDropZoneComponent] });
26
30
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileSelectModule, decorators: [{
27
31
  type: NgModule,
28
32
  args: [{
29
- declarations: [FILESELECT_DECLARATIONS],
30
- exports: [
31
- PUBLIC_DIRECTIVES,
32
- FILESELECT_DECLARATIONS
33
- ],
34
- imports: [SharedModule, IconsModule]
33
+ exports: [...KENDO_FILESELECT],
34
+ imports: [...KENDO_FILESELECT],
35
+ providers: [
36
+ IconsService,
37
+ PopupService,
38
+ ResizeBatchService
39
+ ]
35
40
  }]
36
41
  }] });
package/esm2020/index.mjs CHANGED
@@ -27,3 +27,4 @@ export { validateFiles } from './common/validation-util';
27
27
  export { UPLOAD_VALUE_ACCESSOR } from './upload.component';
28
28
  export * from './events';
29
29
  export * from './types';
30
+ export * from './directives';
@@ -30,7 +30,7 @@ export class CustomMessagesComponent extends Messages {
30
30
  }
31
31
  }
32
32
  CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
33
- CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages", providers: [
33
+ CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages", providers: [
34
34
  {
35
35
  provide: Messages,
36
36
  useExisting: forwardRef(() => CustomMessagesComponent)
@@ -46,6 +46,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
46
46
  }
47
47
  ],
48
48
  selector: 'kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages',
49
- template: ``
49
+ template: ``,
50
+ standalone: true
50
51
  }]
51
52
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends Messages {
17
17
  }
18
18
  }
19
19
  LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n ", providers: [
20
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoUploadLocalizedMessages],\n [kendoFileSelectLocalizedMessages],\n [kendoUploadDropZoneLocalizedMessages]\n ", providers: [
21
21
  {
22
22
  provide: Messages,
23
23
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  [kendoUploadLocalizedMessages],
37
37
  [kendoFileSelectLocalizedMessages],
38
38
  [kendoUploadDropZoneLocalizedMessages]
39
- `
39
+ `,
40
+ standalone: true
40
41
  }]
41
42
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-upload',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721814019,
13
- version: '16.5.0',
12
+ publishDate: 1721846910,
13
+ version: '16.6.0-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -8,12 +8,12 @@ import { UploadService } from '../upload.service';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
9
9
  import { NavigationService } from './../navigation.service';
10
10
  import { arrowRotateCwSmallIcon, cancelIcon, pauseSmIcon, playSmIcon, xIcon } from '@progress/kendo-svg-icons';
11
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
12
+ import { NgIf } from '@angular/common';
11
13
  import * as i0 from "@angular/core";
12
14
  import * as i1 from "../upload.service";
13
15
  import * as i2 from "@progress/kendo-angular-l10n";
14
16
  import * as i3 from "./../navigation.service";
15
- import * as i4 from "@angular/common";
16
- import * as i5 from "@progress/kendo-angular-buttons";
17
17
  /**
18
18
  * @hidden
19
19
  */
@@ -99,7 +99,7 @@ export class FileListItemActionButtonComponent {
99
99
  }
100
100
  }
101
101
  FileListItemActionButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListItemActionButtonComponent, deps: [{ token: i1.UploadService }, { token: i2.LocalizationService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
102
- FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: { file: "file", disabled: "disabled", progress: "progress" }, ngImport: i0, template: `
102
+ FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileListItemActionButtonComponent, isStandalone: true, selector: "kendo-upload-file-list-item-action-button", inputs: { file: "file", disabled: "disabled", progress: "progress" }, ngImport: i0, template: `
103
103
  <span class="k-upload-actions">
104
104
  <span class="k-upload-pct" *ngIf="isUploading || isPaused">{{progress}}%</span>
105
105
 
@@ -148,7 +148,7 @@ FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
148
148
  (click)="onRemoveCancelClick($event)"
149
149
  ></button>
150
150
  </span>
151
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
151
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
152
152
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListItemActionButtonComponent, decorators: [{
153
153
  type: Component,
154
154
  args: [{
@@ -202,7 +202,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
202
202
  (click)="onRemoveCancelClick($event)"
203
203
  ></button>
204
204
  </span>
205
- `
205
+ `,
206
+ standalone: true,
207
+ imports: [NgIf, ButtonComponent]
206
208
  }]
207
209
  }], ctorParameters: function () { return [{ type: i1.UploadService }, { type: i2.LocalizationService }, { type: i3.NavigationService }]; }, propDecorators: { file: [{
208
210
  type: Input
@@ -63,11 +63,12 @@ export class FileListItemDirective {
63
63
  }
64
64
  }
65
65
  FileListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListItemDirective, deps: [{ token: i0.ElementRef }, { token: i1.NavigationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Directive });
66
- FileListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
66
+ FileListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FileListItemDirective, isStandalone: true, 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
67
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListItemDirective, decorators: [{
68
68
  type: Directive,
69
69
  args: [{
70
- selector: '[kendoUploadFileListItem]'
70
+ selector: '[kendoUploadFileListItem]',
71
+ standalone: true
71
72
  }]
72
73
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.NavigationService }, { type: i2.UploadService }]; }, propDecorators: { files: [{
73
74
  type: Input
@@ -11,13 +11,13 @@ import { isPresent } from '../common/util';
11
11
  import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
12
12
  import { animate, state, style, transition, trigger } from '@angular/animations';
13
13
  import { copyIcon } from '@progress/kendo-svg-icons';
14
+ import { FileListItemActionButtonComponent } from './file-list-item-action-button.component';
15
+ import { NgIf, NgFor, NgClass, NgTemplateOutlet } from '@angular/common';
16
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
17
+ import { ProgressBarComponent } from '@progress/kendo-angular-progressbar';
14
18
  import * as i0 from "@angular/core";
15
19
  import * as i1 from "@progress/kendo-angular-l10n";
16
20
  import * as i2 from "../upload.service";
17
- import * as i3 from "@angular/common";
18
- import * as i4 from "@progress/kendo-angular-progressbar";
19
- import * as i5 from "@progress/kendo-angular-icons";
20
- import * as i6 from "./file-list-item-action-button.component";
21
21
  /**
22
22
  * @hidden
23
23
  */
@@ -65,7 +65,7 @@ export class FileListMultipleItemsComponent extends FileListItemBase {
65
65
  }
66
66
  }
67
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, selector: "kendo-upload-file-list-multiple-items", inputs: { disabled: "disabled", files: "files", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
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: `
69
69
  <kendo-progressbar
70
70
  [@progressState]="showProgress"
71
71
  [value]="progressComplete"
@@ -110,7 +110,7 @@ FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
110
110
  [disabled]='disabled'
111
111
  [progress]='progressComplete'>
112
112
  </kendo-upload-file-list-item-action-button>
113
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { kind: "component", type: i5.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i6.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], animations: [
113
+ `, 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
114
  trigger('progressState', [
115
115
  state('active', style({ opacity: 1 })),
116
116
  state('inactive', style({ opacity: 0 })),
@@ -177,7 +177,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
177
177
  [disabled]='disabled'
178
178
  [progress]='progressComplete'>
179
179
  </kendo-upload-file-list-item-action-button>
180
- `
180
+ `,
181
+ standalone: true,
182
+ imports: [ProgressBarComponent, IconWrapperComponent, NgIf, NgFor, NgClass, NgTemplateOutlet, FileListItemActionButtonComponent]
181
183
  }]
182
184
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.UploadService }]; }, propDecorators: { disabled: [{
183
185
  type: Input
@@ -12,13 +12,13 @@ import { FileInfoTemplateDirective } from '../templates/file-info-template.direc
12
12
  import { animate, state, style, transition, trigger } from '@angular/animations';
13
13
  import { fileIcon } from '@progress/kendo-svg-icons';
14
14
  import { fileGroupMap, fileSVGGroupMap } from '../types/file-groups';
15
+ import { FileListItemActionButtonComponent } from './file-list-item-action-button.component';
16
+ import { NgIf, NgClass, NgTemplateOutlet } from '@angular/common';
17
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
18
+ import { ProgressBarComponent } from '@progress/kendo-angular-progressbar';
15
19
  import * as i0 from "@angular/core";
16
20
  import * as i1 from "@progress/kendo-angular-l10n";
17
21
  import * as i2 from "../upload.service";
18
- import * as i3 from "@angular/common";
19
- import * as i4 from "@progress/kendo-angular-progressbar";
20
- import * as i5 from "@progress/kendo-angular-icons";
21
- import * as i6 from "./file-list-item-action-button.component";
22
22
  /**
23
23
  * @hidden
24
24
  */
@@ -74,7 +74,7 @@ export class FileListSingleItemComponent extends FileListItemBase {
74
74
  }
75
75
  }
76
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, selector: "kendo-upload-file-list-single-item", inputs: { disabled: "disabled", file: "file", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
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: `
78
78
  <kendo-progressbar
79
79
  [@progressState]="showProgress"
80
80
  [value]="progressComplete"
@@ -111,7 +111,7 @@ FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
111
111
  [disabled]='disabled'
112
112
  [progress]='progressComplete'>
113
113
  </kendo-upload-file-list-item-action-button>
114
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { kind: "component", type: i5.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i6.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], animations: [
114
+ `, 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
115
  trigger('progressState', [
116
116
  state('active', style({ opacity: 1 })),
117
117
  state('inactive', style({ opacity: 0 })),
@@ -170,7 +170,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
170
170
  [disabled]='disabled'
171
171
  [progress]='progressComplete'>
172
172
  </kendo-upload-file-list-item-action-button>
173
- `
173
+ `,
174
+ standalone: true,
175
+ imports: [ProgressBarComponent, IconWrapperComponent, NgIf, NgClass, NgTemplateOutlet, FileListItemActionButtonComponent]
174
176
  }]
175
177
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.UploadService }]; }, propDecorators: { disabled: [{
176
178
  type: Input