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

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
@@ -11,13 +11,12 @@ import { FileListItemDirective } from './file-list-item';
11
11
  import { NavigationService } from '../navigation.service';
12
12
  import { UploadService } from '../upload.service';
13
13
  import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
14
+ import { FileListMultipleItemsComponent } from './file-list-multiple-items.component';
15
+ import { FileListSingleItemComponent } from './file-list-single-item.component';
16
+ import { NgFor, NgIf, NgTemplateOutlet } from '@angular/common';
14
17
  import * as i0 from "@angular/core";
15
18
  import * as i1 from "../upload.service";
16
19
  import * as i2 from "../navigation.service";
17
- import * as i3 from "@angular/common";
18
- import * as i4 from "./file-list-item";
19
- import * as i5 from "./file-list-multiple-items.component";
20
- import * as i6 from "./file-list-single-item.component";
21
20
  /**
22
21
  * @hidden
23
22
  */
@@ -93,7 +92,7 @@ export class FileListComponent {
93
92
  }
94
93
  }
95
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 });
96
- FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileListComponent, 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: `
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: `
97
96
  <ng-template ngFor
98
97
  [ngForOf]="fileList"
99
98
  let-files
@@ -119,7 +118,7 @@ FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
119
118
  }"></ng-container>
120
119
  </li>
121
120
  </ng-template>
122
- `, isInline: true, dependencies: [{ 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: "directive", type: i4.FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: ["files", "index"] }, { kind: "component", type: i5.FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: ["disabled", "files", "fileInfoTemplate"] }, { kind: "component", type: i6.FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: ["disabled", "file", "fileInfoTemplate"] }] });
121
+ `, 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"] }] });
123
122
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileListComponent, decorators: [{
124
123
  type: Component,
125
124
  args: [{
@@ -150,7 +149,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
150
149
  }"></ng-container>
151
150
  </li>
152
151
  </ng-template>
153
- `
152
+ `,
153
+ standalone: true,
154
+ imports: [NgFor, FileListItemDirective, NgIf, FileListSingleItemComponent, FileListMultipleItemsComponent, NgTemplateOutlet]
154
155
  }]
155
156
  }], ctorParameters: function () { return [{ type: i1.UploadService }, { type: i2.NavigationService }]; }, propDecorators: { disabled: [{
156
157
  type: Input
@@ -63,7 +63,7 @@ export class UploadActionButtonsComponent {
63
63
  }
64
64
  }
65
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, 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: `
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: `
67
67
  <button #clearButton role="button" class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-clear-selected"
68
68
  (click)="onClearButtonClick($event)">
69
69
  {{textFor('clearSelectedFiles')}}
@@ -88,7 +88,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
88
88
  (click)="onUploadButtonClick($event)">
89
89
  {{textFor('uploadSelectedFiles')}}
90
90
  </button>
91
- `
91
+ `,
92
+ standalone: true
92
93
  }]
93
94
  }], ctorParameters: function () { return [{ type: i1.UploadService }, { type: i2.LocalizationService }, { type: i3.NavigationService }]; }, propDecorators: { disabled: [{
94
95
  type: Input
@@ -7,9 +7,9 @@ import { FileMap } from '../types/file-map';
7
7
  import { FileState } from '../types';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
9
9
  import { checkIcon, exclamationCircleIcon, pauseSmIcon, uploadIcon } from '@progress/kendo-svg-icons';
10
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "@progress/kendo-angular-l10n";
12
- import * as i2 from "@progress/kendo-angular-icons";
13
13
  /**
14
14
  * @hidden
15
15
  */
@@ -63,14 +63,14 @@ export class UploadStatusTotalComponent {
63
63
  }
64
64
  }
65
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, selector: "kendo-upload-status-total", inputs: { fileList: "fileList" }, ngImport: i0, template: `
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: `
67
67
  <kendo-icon-wrapper
68
68
  [name]="iconClass"
69
69
  [svgIcon]="SVGIconClass"
70
70
  >
71
71
  </kendo-icon-wrapper>
72
72
  {{statusText}}
73
- `, isInline: true, dependencies: [{ kind: "component", type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
73
+ `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
74
74
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadStatusTotalComponent, decorators: [{
75
75
  type: Component,
76
76
  args: [{
@@ -82,7 +82,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
82
82
  >
83
83
  </kendo-icon-wrapper>
84
84
  {{statusText}}
85
- `
85
+ `,
86
+ standalone: true,
87
+ imports: [IconWrapperComponent]
86
88
  }]
87
89
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { fileList: [{
88
90
  type: Input
@@ -13,10 +13,11 @@ export class FileInfoTemplateDirective {
13
13
  }
14
14
  }
15
15
  FileInfoTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileInfoTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
16
- FileInfoTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FileInfoTemplateDirective, selector: "[kendoUploadFileInfoTemplate], [kendoFileSelectFileInfoTemplate]", ngImport: i0 });
16
+ FileInfoTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FileInfoTemplateDirective, isStandalone: true, selector: "[kendoUploadFileInfoTemplate], [kendoFileSelectFileInfoTemplate]", ngImport: i0 });
17
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileInfoTemplateDirective, decorators: [{
18
18
  type: Directive,
19
19
  args: [{
20
- selector: '[kendoUploadFileInfoTemplate], [kendoFileSelectFileInfoTemplate]'
20
+ selector: '[kendoUploadFileInfoTemplate], [kendoFileSelectFileInfoTemplate]',
21
+ standalone: true
21
22
  }]
22
23
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -13,10 +13,11 @@ export class FileTemplateDirective {
13
13
  }
14
14
  }
15
15
  FileTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
16
- FileTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FileTemplateDirective, selector: "[kendoUploadFileTemplate], [kendoFileSelectFileTemplate]", ngImport: i0 });
16
+ FileTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FileTemplateDirective, isStandalone: true, selector: "[kendoUploadFileTemplate], [kendoFileSelectFileTemplate]", ngImport: i0 });
17
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileTemplateDirective, decorators: [{
18
18
  type: Directive,
19
19
  args: [{
20
- selector: '[kendoUploadFileTemplate], [kendoFileSelectFileTemplate]'
20
+ selector: '[kendoUploadFileTemplate], [kendoFileSelectFileTemplate]',
21
+ standalone: true
21
22
  }]
22
23
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -19,19 +19,19 @@ import { UploadService } from './upload.service';
19
19
  import { hasClasses, IGNORE_TARGET_CLASSES, isFocusable, UPLOAD_CLASSES, validateInitialFileInfo } from './common/util';
20
20
  import { DropZoneService } from './dropzone.service';
21
21
  import { UploadFileSelectBase } from './common/base';
22
+ import { UploadActionButtonsComponent } from './rendering/upload-action-buttons.component';
23
+ import { FileListComponent } from './rendering/file-list.component';
24
+ import { UploadStatusTotalComponent } from './rendering/upload-status-total.component';
25
+ import { NgIf } from '@angular/common';
26
+ import { FileSelectDirective } from './file-select.directive';
27
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
28
+ import { DropZoneInternalDirective } from './dropzone-internal.directive';
29
+ import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
22
30
  import * as i0 from "@angular/core";
23
31
  import * as i1 from "./upload.service";
24
32
  import * as i2 from "@progress/kendo-angular-l10n";
25
33
  import * as i3 from "./navigation.service";
26
34
  import * as i4 from "./dropzone.service";
27
- import * as i5 from "./dropzone-internal.directive";
28
- import * as i6 from "./rendering/file-list.component";
29
- import * as i7 from "./file-select.directive";
30
- import * as i8 from "./localization/localized-messages.directive";
31
- import * as i9 from "@angular/common";
32
- import * as i10 from "@progress/kendo-angular-buttons";
33
- import * as i11 from "./rendering/upload-action-buttons.component";
34
- import * as i12 from "./rendering/upload-status-total.component";
35
35
  /**
36
36
  * @hidden
37
37
  */
@@ -523,7 +523,7 @@ export class UploadComponent extends UploadFileSelectBase {
523
523
  }
524
524
  }
525
525
  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 });
526
- UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: UploadComponent, 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: [
526
+ 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: [
527
527
  LocalizationService,
528
528
  NavigationService,
529
529
  UploadService,
@@ -648,7 +648,7 @@ UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
648
648
  [disabled]="disabled"
649
649
  [actionsLayout]="actionsLayout">
650
650
  </kendo-upload-action-buttons>
651
- `, 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"] }, { kind: "component", type: i11.UploadActionButtonsComponent, selector: "kendo-upload-action-buttons", inputs: ["disabled", "actionsLayout"] }, { kind: "component", type: i12.UploadStatusTotalComponent, selector: "kendo-upload-status-total", inputs: ["fileList"] }] });
651
+ `, 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: 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"] }] });
652
652
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadComponent, decorators: [{
653
653
  type: Component,
654
654
  args: [{
@@ -780,7 +780,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
780
780
  [disabled]="disabled"
781
781
  [actionsLayout]="actionsLayout">
782
782
  </kendo-upload-action-buttons>
783
- `
783
+ `,
784
+ standalone: true,
785
+ imports: [LocalizedMessagesDirective, DropZoneInternalDirective, ButtonComponent, FileSelectDirective, NgIf, UploadStatusTotalComponent, FileListComponent, UploadActionButtonsComponent]
784
786
  }]
785
787
  }], 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: { autoUpload: [{
786
788
  type: Input
@@ -3,42 +3,41 @@
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 { UploadComponent } from './upload.component';
7
- import { UploadActionButtonsComponent } from './rendering/upload-action-buttons.component';
8
- import { UploadStatusTotalComponent } from './rendering/upload-status-total.component';
9
- import { IconsModule } from '@progress/kendo-angular-icons';
10
- import { SharedModule, PUBLIC_DIRECTIVES } from './shared.module';
6
+ import { KENDO_UPLOAD } 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';
11
10
  import * as i0 from "@angular/core";
12
- import * as i1 from "./templates/file-template.directive";
13
- import * as i2 from "./templates/file-info-template.directive";
14
- import * as i3 from "./localization/custom-messages.component";
15
- import * as i4 from "./dropzone-external.directive";
16
- import * as i5 from "./dropzone.component";
17
- const UPLOAD_DECLARATIONS = [
18
- UploadComponent,
19
- UploadActionButtonsComponent,
20
- UploadStatusTotalComponent
21
- ];
11
+ import * as i1 from "./upload.component";
12
+ import * as i2 from "./rendering/upload-action-buttons.component";
13
+ import * as i3 from "./rendering/upload-status-total.component";
14
+ import * as i4 from "./templates/file-template.directive";
15
+ import * as i5 from "./templates/file-info-template.directive";
16
+ import * as i6 from "./localization/custom-messages.component";
17
+ import * as i7 from "./dropzone-external.directive";
18
+ import * as i8 from "./dropzone.component";
19
+ // IMPORTANT: NgModule export kept for backwards compatibility
22
20
  /**
23
21
  * Represents the [NgModule](https://angular.io/api/core/NgModule) definition for the Upload component.
24
22
  */
25
23
  export class UploadModule {
26
24
  }
27
25
  UploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
28
- UploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: UploadModule, declarations: [UploadComponent,
29
- UploadActionButtonsComponent,
30
- UploadStatusTotalComponent], imports: [SharedModule, IconsModule], exports: [i1.FileTemplateDirective, i2.FileInfoTemplateDirective, i3.CustomMessagesComponent, i4.UploadDropZoneDirective, i5.UploadDropZoneComponent, UploadComponent,
31
- UploadActionButtonsComponent,
32
- UploadStatusTotalComponent] });
33
- UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadModule, imports: [SharedModule, IconsModule] });
26
+ UploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: UploadModule, imports: [i1.UploadComponent, i2.UploadActionButtonsComponent, i3.UploadStatusTotalComponent, i4.FileTemplateDirective, i5.FileInfoTemplateDirective, i6.CustomMessagesComponent, i7.UploadDropZoneDirective, i8.UploadDropZoneComponent], exports: [i1.UploadComponent, i2.UploadActionButtonsComponent, i3.UploadStatusTotalComponent, i4.FileTemplateDirective, i5.FileInfoTemplateDirective, i6.CustomMessagesComponent, i7.UploadDropZoneDirective, i8.UploadDropZoneComponent] });
27
+ UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadModule, providers: [
28
+ IconsService,
29
+ PopupService,
30
+ ResizeBatchService
31
+ ], imports: [i1.UploadComponent, i2.UploadActionButtonsComponent, i3.UploadStatusTotalComponent, i6.CustomMessagesComponent, i8.UploadDropZoneComponent] });
34
32
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadModule, decorators: [{
35
33
  type: NgModule,
36
34
  args: [{
37
- declarations: [UPLOAD_DECLARATIONS],
38
- exports: [
39
- PUBLIC_DIRECTIVES,
40
- UPLOAD_DECLARATIONS
41
- ],
42
- imports: [SharedModule, IconsModule]
35
+ exports: [...KENDO_UPLOAD],
36
+ imports: [...KENDO_UPLOAD],
37
+ providers: [
38
+ IconsService,
39
+ PopupService,
40
+ ResizeBatchService
41
+ ]
43
42
  }]
44
43
  }] });
@@ -3,9 +3,21 @@
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 { FileSelectModule } from './fileselect.module';
7
- import { UploadModule } from './upload.module';
6
+ import { KENDO_UPLOADS } from './directives';
7
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
8
+ import { IconsService } from '@progress/kendo-angular-icons';
9
+ import { PopupService } from '@progress/kendo-angular-popup';
8
10
  import * as i0 from "@angular/core";
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
+ import * as i7 from "./upload.component";
18
+ import * as i8 from "./rendering/upload-action-buttons.component";
19
+ import * as i9 from "./rendering/upload-status-total.component";
20
+ // IMPORTANT: NgModule export kept for backwards compatibility
9
21
  /**
10
22
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
23
  * definition for the Uploads components.
@@ -34,16 +46,21 @@ import * as i0 from "@angular/core";
34
46
  export class UploadsModule {
35
47
  }
36
48
  UploadsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
37
- UploadsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: UploadsModule, exports: [FileSelectModule,
38
- UploadModule] });
39
- UploadsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadsModule, imports: [FileSelectModule,
40
- UploadModule] });
49
+ UploadsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: UploadsModule, imports: [i1.FileSelectComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent, i7.UploadComponent, i8.UploadActionButtonsComponent, i9.UploadStatusTotalComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent], exports: [i1.FileSelectComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent, i7.UploadComponent, i8.UploadActionButtonsComponent, i9.UploadStatusTotalComponent, i2.FileTemplateDirective, i3.FileInfoTemplateDirective, i4.CustomMessagesComponent, i5.UploadDropZoneDirective, i6.UploadDropZoneComponent] });
50
+ UploadsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadsModule, providers: [
51
+ IconsService,
52
+ PopupService,
53
+ ResizeBatchService
54
+ ], imports: [i1.FileSelectComponent, i4.CustomMessagesComponent, i6.UploadDropZoneComponent, i7.UploadComponent, i8.UploadActionButtonsComponent, i9.UploadStatusTotalComponent, i4.CustomMessagesComponent, i6.UploadDropZoneComponent] });
41
55
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UploadsModule, decorators: [{
42
56
  type: NgModule,
43
57
  args: [{
44
- exports: [
45
- FileSelectModule,
46
- UploadModule
58
+ exports: [...KENDO_UPLOADS],
59
+ imports: [...KENDO_UPLOADS],
60
+ providers: [
61
+ IconsService,
62
+ PopupService,
63
+ ResizeBatchService
47
64
  ]
48
65
  }]
49
66
  }] });