@progress/kendo-angular-upload 9.0.4 → 11.0.0-develop.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +3 -3
- package/common/action-buttons-layout.d.ts +1 -1
- package/common/util.d.ts +1 -1
- package/common/validation-util.d.ts +1 -1
- package/dropzone-base.d.ts +2 -2
- package/dropzone-external.directive.d.ts +1 -1
- package/dropzone-internal.directive.d.ts +1 -1
- package/dropzone.component.d.ts +1 -1
- package/dropzone.service.d.ts +1 -1
- package/{esm2015/types/chunk-metadata.js → esm2020/common/action-buttons-layout.mjs} +1 -1
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +9 -9
- package/{esm2015/common/validation-util.js → esm2020/common/validation-util.mjs} +2 -2
- package/{esm2015/dropzone-base.js → esm2020/dropzone-base.mjs} +5 -5
- package/{esm2015/dropzone-external.directive.js → esm2020/dropzone-external.directive.mjs} +5 -5
- package/{esm2015/dropzone-internal.directive.js → esm2020/dropzone-internal.directive.mjs} +11 -7
- package/{esm2015/dropzone.component.js → esm2020/dropzone.component.mjs} +5 -5
- package/{esm2015/dropzone.service.js → esm2020/dropzone.service.mjs} +5 -5
- package/{esm2015/events/cancel-event.js → esm2020/events/cancel-event.mjs} +1 -1
- package/{esm2015/events/clear-event.js → esm2020/events/clear-event.mjs} +1 -1
- package/{esm2015/events/error-event.js → esm2020/events/error-event.mjs} +1 -1
- package/{esm2015/events/pause-event.js → esm2020/events/pause-event.mjs} +1 -1
- package/{esm2015/events/preventable-event.js → esm2020/events/preventable-event.mjs} +1 -1
- package/{esm2015/events/remove-event.js → esm2020/events/remove-event.mjs} +1 -1
- package/{esm2015/events/resume-event.js → esm2020/events/resume-event.mjs} +1 -1
- package/{esm2015/events/select-event.js → esm2020/events/select-event.mjs} +1 -1
- package/{esm2015/events/success-event.js → esm2020/events/success-event.mjs} +1 -1
- package/{esm2015/events/upload-event.js → esm2020/events/upload-event.mjs} +1 -1
- package/{esm2015/events/upload-progress-event.js → esm2020/events/upload-progress-event.mjs} +1 -1
- package/{esm2015/events.js → esm2020/events.mjs} +1 -1
- package/{esm2015/file-select.directive.js → esm2020/file-select.directive.mjs} +7 -5
- package/{esm2015/fileselect.component.js → esm2020/fileselect.component.mjs} +100 -60
- package/{esm2015/fileselect.module.js → esm2020/fileselect.module.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +2 -1
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/navigation.service.js → esm2020/navigation.service.mjs} +56 -40
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-upload.js → esm2020/progress-kendo-angular-upload.mjs} +2 -2
- package/{esm2015/rendering/file-list-item-action-button.component.js → esm2020/rendering/file-list-item-action-button.component.mjs} +11 -8
- package/{esm2015/rendering/file-list-item-base.js → esm2020/rendering/file-list-item-base.mjs} +5 -4
- package/{esm2015/rendering/file-list-item.js → esm2020/rendering/file-list-item.mjs} +7 -5
- package/{esm2015/rendering/file-list-multiple-items.component.js → esm2020/rendering/file-list-multiple-items.component.mjs} +84 -83
- package/{esm2015/rendering/file-list-single-item.component.js → esm2020/rendering/file-list-single-item.component.mjs} +76 -69
- package/{esm2015/rendering/file-list.component.js → esm2020/rendering/file-list.component.mjs} +16 -11
- package/{esm2015/rendering/upload-action-buttons.component.js → esm2020/rendering/upload-action-buttons.component.mjs} +8 -5
- package/{esm2015/rendering/upload-status-total.component.js → esm2020/rendering/upload-status-total.component.mjs} +6 -4
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +14 -9
- package/{esm2015/templates/file-info-template.directive.js → esm2020/templates/file-info-template.directive.mjs} +5 -5
- package/{esm2015/templates/file-template.directive.js → esm2020/templates/file-template.directive.mjs} +5 -5
- package/{esm2015/templates/template-context.directive.js → esm2020/templates/template-context.directive.mjs} +5 -5
- package/{esm2015/common/action-buttons-layout.js → esm2020/types/async-settings.mjs} +1 -1
- package/{esm2015/types/chunk-info.js → esm2020/types/chunk-info.mjs} +1 -1
- package/{esm2015/types/chunk-map.js → esm2020/types/chunk-map.mjs} +1 -1
- package/{esm2015/types/async-settings.js → esm2020/types/chunk-metadata.mjs} +1 -1
- package/esm2020/types/chunk-settings.mjs +5 -0
- package/esm2020/types/direction.mjs +5 -0
- package/{esm2015/types/file-groups.js → esm2020/types/file-groups.mjs} +1 -1
- package/esm2020/types/file-info.mjs +5 -0
- package/{esm2015/types/file-map.js → esm2020/types/file-map.mjs} +26 -26
- package/esm2020/types/file-restrictions.mjs +5 -0
- package/{esm2015/types/file-state.js → esm2020/types/file-state.mjs} +1 -1
- package/esm2020/types/operation-type.mjs +5 -0
- package/{esm2015/types.js → esm2020/types.mjs} +1 -1
- package/{esm2015/upload.component.js → esm2020/upload.component.mjs} +125 -80
- package/{esm2015/upload.module.js → esm2020/upload.module.mjs} +5 -5
- package/{esm2015/upload.service.js → esm2020/upload.service.mjs} +35 -35
- package/{esm2015/uploads.module.js → esm2020/uploads.module.mjs} +5 -5
- package/events/cancel-event.d.ts +1 -1
- package/events/clear-event.d.ts +1 -1
- package/events/error-event.d.ts +1 -1
- package/events/pause-event.d.ts +1 -1
- package/events/preventable-event.d.ts +1 -1
- package/events/remove-event.d.ts +1 -1
- package/events/resume-event.d.ts +1 -1
- package/events/select-event.d.ts +1 -1
- package/events/success-event.d.ts +1 -1
- package/events/upload-event.d.ts +1 -1
- package/events/upload-progress-event.d.ts +3 -3
- package/events.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-upload.mjs +4864 -0
- package/{fesm2015/kendo-angular-upload.js → fesm2020/progress-kendo-angular-upload.mjs} +571 -467
- package/file-select.directive.d.ts +1 -1
- package/fileselect.component.d.ts +13 -8
- package/fileselect.module.d.ts +1 -1
- package/{main.d.ts → index.d.ts} +2 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/navigation.service.d.ts +4 -3
- package/package-metadata.d.ts +1 -1
- package/package.json +29 -55
- package/{kendo-angular-upload.d.ts → progress-kendo-angular-upload.d.ts} +2 -2
- package/rendering/file-list-item-action-button.component.d.ts +2 -2
- package/rendering/file-list-item-base.d.ts +2 -2
- package/rendering/file-list-item.d.ts +1 -1
- package/rendering/file-list-multiple-items.component.d.ts +1 -1
- package/rendering/file-list-single-item.component.d.ts +1 -1
- package/rendering/file-list.component.d.ts +1 -1
- package/rendering/upload-action-buttons.component.d.ts +1 -1
- package/rendering/upload-status-total.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +6 -6
- package/shared.module.d.ts +4 -2
- package/templates/file-info-template.directive.d.ts +1 -1
- package/templates/file-template.directive.d.ts +1 -1
- package/templates/template-context.directive.d.ts +1 -1
- package/types/async-settings.d.ts +1 -1
- package/types/chunk-info.d.ts +1 -1
- package/types/chunk-map.d.ts +1 -1
- package/types/chunk-metadata.d.ts +1 -1
- package/types/chunk-settings.d.ts +1 -1
- package/types/direction.d.ts +1 -1
- package/types/file-groups.d.ts +1 -1
- package/types/file-info.d.ts +1 -1
- package/types/file-map.d.ts +1 -1
- package/types/file-restrictions.d.ts +1 -1
- package/types/file-state.d.ts +1 -1
- package/types/operation-type.d.ts +1 -1
- package/types.d.ts +1 -1
- package/upload.component.d.ts +15 -10
- package/upload.module.d.ts +1 -1
- package/upload.service.d.ts +1 -1
- package/uploads.module.d.ts +1 -1
- package/bundles/kendo-angular-upload.umd.js +0 -5
- package/esm2015/types/chunk-settings.js +0 -5
- package/esm2015/types/direction.js +0 -5
- package/esm2015/types/file-info.js +0 -5
- package/esm2015/types/file-restrictions.js +0 -5
- package/esm2015/types/operation-type.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Input, Component } from '@angular/core';
|
|
6
6
|
import { FileState } from '../types';
|
|
7
|
+
import { UploadService } from '../upload.service';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { NavigationService } from './../navigation.service';
|
|
7
10
|
import * as i0 from "@angular/core";
|
|
8
11
|
import * as i1 from "../upload.service";
|
|
9
12
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -113,9 +116,9 @@ export class FileListItemActionButtonComponent {
|
|
|
113
116
|
return true;
|
|
114
117
|
}
|
|
115
118
|
}
|
|
116
|
-
FileListItemActionButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
117
|
-
FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
118
|
-
<
|
|
119
|
+
FileListItemActionButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemActionButtonComponent, deps: [{ token: i1.UploadService }, { token: i2.LocalizationService }, { token: i3.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
120
|
+
FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: { file: "file", disabled: "disabled", progress: "progress" }, ngImport: i0, template: `
|
|
121
|
+
<span class="k-upload-actions">
|
|
119
122
|
<span class="k-upload-pct" *ngIf="isUploading || isPaused">{{progress}}%</span>
|
|
120
123
|
|
|
121
124
|
<button type="button" *ngIf="isFailed" class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
|
|
@@ -161,14 +164,14 @@ FileListItemActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
|
|
|
161
164
|
[attr.title]='actionButtonTitle'>
|
|
162
165
|
</span>
|
|
163
166
|
</button>
|
|
164
|
-
</
|
|
167
|
+
</span>
|
|
165
168
|
`, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemActionButtonComponent, decorators: [{
|
|
167
170
|
type: Component,
|
|
168
171
|
args: [{
|
|
169
172
|
selector: 'kendo-upload-file-list-item-action-button',
|
|
170
173
|
template: `
|
|
171
|
-
<
|
|
174
|
+
<span class="k-upload-actions">
|
|
172
175
|
<span class="k-upload-pct" *ngIf="isUploading || isPaused">{{progress}}%</span>
|
|
173
176
|
|
|
174
177
|
<button type="button" *ngIf="isFailed" class="k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action"
|
|
@@ -214,7 +217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
214
217
|
[attr.title]='actionButtonTitle'>
|
|
215
218
|
</span>
|
|
216
219
|
</button>
|
|
217
|
-
</
|
|
220
|
+
</span>
|
|
218
221
|
`
|
|
219
222
|
}]
|
|
220
223
|
}], ctorParameters: function () { return [{ type: i1.UploadService }, { type: i2.LocalizationService }, { type: i3.NavigationService }]; }, propDecorators: { file: [{
|
package/{esm2015/rendering/file-list-item-base.js → esm2020/rendering/file-list-item-base.mjs}
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component } from '@angular/core';
|
|
6
|
+
import { UploadService } from '../upload.service';
|
|
6
7
|
import { fileHasValidationErrors, filesHaveValidationErrors, getTotalFilesSizeMessage } from '../common/util';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "../upload.service";
|
|
@@ -40,9 +41,9 @@ export class FileListItemBase {
|
|
|
40
41
|
return this.localization.get(key);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
|
-
FileListItemBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
44
|
-
FileListItemBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
FileListItemBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemBase, deps: [{ token: i1.UploadService }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
FileListItemBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListItemBase, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemBase, decorators: [{
|
|
46
47
|
type: Component,
|
|
47
48
|
args: [{ template: '' }]
|
|
48
49
|
}], ctorParameters: function () { return [{ type: i1.UploadService }]; } });
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, HostBinding, HostListener, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ElementRef, HostBinding, HostListener, Input } from '@angular/core';
|
|
6
6
|
import { FileState } from '../types';
|
|
7
|
+
import { NavigationService } from '../navigation.service';
|
|
7
8
|
import { filesHaveValidationErrors, hasClasses, IGNORE_TARGET_CLASSES, isFocusable } from '../common/util';
|
|
9
|
+
import { UploadService } from '../upload.service';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
import * as i1 from "../navigation.service";
|
|
10
12
|
import * as i2 from "../upload.service";
|
|
@@ -60,9 +62,9 @@ export class FileListItemDirective {
|
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
|
-
FileListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
64
|
-
FileListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
65
|
+
FileListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemDirective, deps: [{ token: i0.ElementRef }, { token: i1.NavigationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
66
|
+
FileListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: { files: "files", index: "index" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()", "click": "onClick($event)" }, properties: { "class.k-file": "this.fileClass", "attr.data-uid": "this.uidAttribute", "attr.tabIndex": "this.tabIndex", "class.k-file-error": "this.kFileError", "class.k-file-invalid": "this.kFileInvalid", "class.k-file-progress": "this.kFileProgress", "class.k-file-success": "this.kFileSuccess", "class.k-focus": "this.kStateFocused" } }, ngImport: i0 });
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListItemDirective, decorators: [{
|
|
66
68
|
type: Directive,
|
|
67
69
|
args: [{
|
|
68
70
|
selector: '[kendoUploadFileListItem]'
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Input, Component } from '@angular/core';
|
|
6
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
7
6
|
import { FileState } from '../types';
|
|
8
7
|
import { FileListItemBase } from './file-list-item-base';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { UploadService } from '../upload.service';
|
|
9
10
|
import { isPresent } from '../common/util';
|
|
11
|
+
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
12
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
10
13
|
import * as i0 from "@angular/core";
|
|
11
14
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
15
|
import * as i2 from "../upload.service";
|
|
13
|
-
import * as i3 from "
|
|
14
|
-
import * as i4 from "
|
|
15
|
-
import * as i5 from "
|
|
16
|
+
import * as i3 from "@progress/kendo-angular-progressbar";
|
|
17
|
+
import * as i4 from "./file-list-item-action-button.component";
|
|
18
|
+
import * as i5 from "@angular/common";
|
|
19
|
+
import * as i6 from "@progress/kendo-angular-buttons";
|
|
20
|
+
import * as i7 from "../templates/template-context.directive";
|
|
16
21
|
/**
|
|
17
22
|
* @hidden
|
|
18
23
|
*/
|
|
@@ -58,48 +63,46 @@ export class FileListMultipleItemsComponent extends FileListItemBase {
|
|
|
58
63
|
return this.files[0].state === FileState.Failed;
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
|
-
FileListMultipleItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
62
|
-
FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
66
|
+
FileListMultipleItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListMultipleItemsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
|
|
67
|
+
FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: { disabled: "disabled", files: "files", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
|
|
68
|
+
<kendo-progressbar
|
|
69
|
+
[@progressState]="showProgress"
|
|
70
|
+
[value]="progressComplete"
|
|
71
|
+
[label]="{ visible: false }"
|
|
72
|
+
>
|
|
73
|
+
</kendo-progressbar>
|
|
74
|
+
<span class="k-file-icon-wrapper">
|
|
75
|
+
<span class="k-file-icon k-icon k-i-copy"></span>
|
|
76
|
+
</span>
|
|
77
|
+
<span class="k-multiple-files-wrapper">
|
|
78
|
+
<ng-container *ngIf="!fileInfoTemplate">
|
|
79
|
+
<span *ngFor="let file of files" class="k-file-name-size-wrapper">
|
|
80
|
+
<span [title]="file.name" class="k-file-name">
|
|
81
|
+
{{file.name}}
|
|
82
|
+
</span>
|
|
83
|
+
<span [ngClass]="{
|
|
77
84
|
'k-file-validation-message': file.validationErrors,
|
|
78
85
|
'k-file-size': !file.validationErrors
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
[disabled]='disabled'
|
|
100
|
-
[progress]='progressComplete'>
|
|
101
|
-
</kendo-upload-file-list-item-action-button>
|
|
102
|
-
`, isInline: true, components: [{ type: i3.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
|
|
86
|
+
}"
|
|
87
|
+
>{{fileStatusText(file)}}</span>
|
|
88
|
+
</span>
|
|
89
|
+
<span class="k-file-summary"
|
|
90
|
+
>{{batchStatusText}}</span>
|
|
91
|
+
</ng-container>
|
|
92
|
+
<ng-template *ngIf="fileInfoTemplate"
|
|
93
|
+
[templateContext]="{
|
|
94
|
+
templateRef: fileInfoTemplate.templateRef,
|
|
95
|
+
state: files[0].state,
|
|
96
|
+
$implicit: files
|
|
97
|
+
}">
|
|
98
|
+
</ng-template>
|
|
99
|
+
</span>
|
|
100
|
+
<kendo-upload-file-list-item-action-button
|
|
101
|
+
[file]='files[0]'
|
|
102
|
+
[disabled]='disabled'
|
|
103
|
+
[progress]='progressComplete'>
|
|
104
|
+
</kendo-upload-file-list-item-action-button>
|
|
105
|
+
`, isInline: true, components: [{ type: i3.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { type: i4.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
|
|
103
106
|
trigger('progressState', [
|
|
104
107
|
state('active', style({ opacity: 1 })),
|
|
105
108
|
state('inactive', style({ opacity: 0 })),
|
|
@@ -108,7 +111,7 @@ FileListMultipleItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
108
111
|
transition('active => inactive', animate('1s 2s ease-out'))
|
|
109
112
|
])
|
|
110
113
|
] });
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListMultipleItemsComponent, decorators: [{
|
|
112
115
|
type: Component,
|
|
113
116
|
args: [{
|
|
114
117
|
animations: [
|
|
@@ -122,45 +125,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
122
125
|
],
|
|
123
126
|
selector: 'kendo-upload-file-list-multiple-items',
|
|
124
127
|
template: `
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
128
|
+
<kendo-progressbar
|
|
129
|
+
[@progressState]="showProgress"
|
|
130
|
+
[value]="progressComplete"
|
|
131
|
+
[label]="{ visible: false }"
|
|
132
|
+
>
|
|
133
|
+
</kendo-progressbar>
|
|
134
|
+
<span class="k-file-icon-wrapper">
|
|
135
|
+
<span class="k-file-icon k-icon k-i-copy"></span>
|
|
136
|
+
</span>
|
|
137
|
+
<span class="k-multiple-files-wrapper">
|
|
138
|
+
<ng-container *ngIf="!fileInfoTemplate">
|
|
139
|
+
<span *ngFor="let file of files" class="k-file-name-size-wrapper">
|
|
140
|
+
<span [title]="file.name" class="k-file-name">
|
|
141
|
+
{{file.name}}
|
|
142
|
+
</span>
|
|
143
|
+
<span [ngClass]="{
|
|
139
144
|
'k-file-validation-message': file.validationErrors,
|
|
140
145
|
'k-file-size': !file.validationErrors
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
[file]='files[0]'
|
|
161
|
-
[disabled]='disabled'
|
|
162
|
-
[progress]='progressComplete'>
|
|
163
|
-
</kendo-upload-file-list-item-action-button>
|
|
146
|
+
}"
|
|
147
|
+
>{{fileStatusText(file)}}</span>
|
|
148
|
+
</span>
|
|
149
|
+
<span class="k-file-summary"
|
|
150
|
+
>{{batchStatusText}}</span>
|
|
151
|
+
</ng-container>
|
|
152
|
+
<ng-template *ngIf="fileInfoTemplate"
|
|
153
|
+
[templateContext]="{
|
|
154
|
+
templateRef: fileInfoTemplate.templateRef,
|
|
155
|
+
state: files[0].state,
|
|
156
|
+
$implicit: files
|
|
157
|
+
}">
|
|
158
|
+
</ng-template>
|
|
159
|
+
</span>
|
|
160
|
+
<kendo-upload-file-list-item-action-button
|
|
161
|
+
[file]='files[0]'
|
|
162
|
+
[disabled]='disabled'
|
|
163
|
+
[progress]='progressComplete'>
|
|
164
|
+
</kendo-upload-file-list-item-action-button>
|
|
164
165
|
`
|
|
165
166
|
}]
|
|
166
167
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.UploadService }]; }, propDecorators: { disabled: [{
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Input, Component } from '@angular/core';
|
|
6
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
7
6
|
import { FileState } from '../types';
|
|
8
7
|
import { FileListItemBase } from './file-list-item-base';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { UploadService } from '../upload.service';
|
|
9
10
|
import { getFileGroupCssClass, isPresent } from '../common/util';
|
|
11
|
+
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
12
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
10
13
|
import * as i0 from "@angular/core";
|
|
11
14
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
15
|
import * as i2 from "../upload.service";
|
|
13
|
-
import * as i3 from "
|
|
14
|
-
import * as i4 from "
|
|
15
|
-
import * as i5 from "
|
|
16
|
+
import * as i3 from "@progress/kendo-angular-progressbar";
|
|
17
|
+
import * as i4 from "./file-list-item-action-button.component";
|
|
18
|
+
import * as i5 from "@angular/common";
|
|
19
|
+
import * as i6 from "@progress/kendo-angular-buttons";
|
|
20
|
+
import * as i7 from "../templates/template-context.directive";
|
|
16
21
|
/**
|
|
17
22
|
* @hidden
|
|
18
23
|
*/
|
|
@@ -56,40 +61,41 @@ export class FileListSingleItemComponent extends FileListItemBase {
|
|
|
56
61
|
return !this.isUploadFailed && !this.isUploadSuccessful;
|
|
57
62
|
}
|
|
58
63
|
}
|
|
59
|
-
FileListSingleItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
60
|
-
FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
64
|
+
FileListSingleItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListSingleItemComponent, deps: [{ token: i1.LocalizationService }, { token: i2.UploadService }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: { disabled: "disabled", file: "file", fileInfoTemplate: "fileInfoTemplate" }, usesInheritance: true, ngImport: i0, template: `
|
|
66
|
+
<kendo-progressbar
|
|
67
|
+
[@progressState]="showProgress"
|
|
68
|
+
[value]="progressComplete"
|
|
69
|
+
[label]="{ visible: false }"
|
|
70
|
+
>
|
|
71
|
+
</kendo-progressbar>
|
|
72
|
+
<span class="k-file-icon-wrapper">
|
|
73
|
+
<span class="k-file-icon k-icon" [ngClass]="fileGroupClass"></span>
|
|
74
|
+
</span>
|
|
75
|
+
<span class="k-file-name-size-wrapper">
|
|
76
|
+
<ng-container *ngIf="!fileInfoTemplate">
|
|
77
|
+
<span class="k-file-name" [title]="file.name">{{ file.name }}</span>
|
|
78
|
+
<span [ngClass]="{
|
|
79
|
+
'k-file-validation-message': file.validationErrors,
|
|
80
|
+
'k-file-size': !file.validationErrors && isNotYetUploaded,
|
|
81
|
+
'k-file-summary': isUploadSuccessful || isUploadFailed
|
|
76
82
|
}"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
`, isInline: true, components: [{ type: i3.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type:
|
|
83
|
+
>{{fileStatusText}}</span>
|
|
84
|
+
</ng-container>
|
|
85
|
+
<ng-template *ngIf="fileInfoTemplate"
|
|
86
|
+
[templateContext]="{
|
|
87
|
+
templateRef: fileInfoTemplate.templateRef,
|
|
88
|
+
state: file.state,
|
|
89
|
+
$implicit: [file]
|
|
90
|
+
}">
|
|
91
|
+
</ng-template>
|
|
92
|
+
</span>
|
|
93
|
+
<kendo-upload-file-list-item-action-button
|
|
94
|
+
[file]='file'
|
|
95
|
+
[disabled]='disabled'
|
|
96
|
+
[progress]='progressComplete'>
|
|
97
|
+
</kendo-upload-file-list-item-action-button>
|
|
98
|
+
`, isInline: true, components: [{ type: i3.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { type: i4.FileListItemActionButtonComponent, selector: "kendo-upload-file-list-item-action-button", inputs: ["file", "disabled", "progress"] }], directives: [{ type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }], animations: [
|
|
93
99
|
trigger('progressState', [
|
|
94
100
|
state('active', style({ opacity: 1 })),
|
|
95
101
|
state('inactive', style({ opacity: 0 })),
|
|
@@ -98,7 +104,7 @@ FileListSingleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
98
104
|
transition('active => inactive', animate('1s 2s ease-out'))
|
|
99
105
|
])
|
|
100
106
|
] });
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListSingleItemComponent, decorators: [{
|
|
102
108
|
type: Component,
|
|
103
109
|
args: [{
|
|
104
110
|
animations: [
|
|
@@ -112,37 +118,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
112
118
|
],
|
|
113
119
|
selector: 'kendo-upload-file-list-single-item',
|
|
114
120
|
template: `
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
121
|
+
<kendo-progressbar
|
|
122
|
+
[@progressState]="showProgress"
|
|
123
|
+
[value]="progressComplete"
|
|
124
|
+
[label]="{ visible: false }"
|
|
125
|
+
>
|
|
126
|
+
</kendo-progressbar>
|
|
127
|
+
<span class="k-file-icon-wrapper">
|
|
128
|
+
<span class="k-file-icon k-icon" [ngClass]="fileGroupClass"></span>
|
|
129
|
+
</span>
|
|
130
|
+
<span class="k-file-name-size-wrapper">
|
|
131
|
+
<ng-container *ngIf="!fileInfoTemplate">
|
|
132
|
+
<span class="k-file-name" [title]="file.name">{{ file.name }}</span>
|
|
133
|
+
<span [ngClass]="{
|
|
134
|
+
'k-file-validation-message': file.validationErrors,
|
|
135
|
+
'k-file-size': !file.validationErrors && isNotYetUploaded,
|
|
136
|
+
'k-file-summary': isUploadSuccessful || isUploadFailed
|
|
130
137
|
}"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
138
|
+
>{{fileStatusText}}</span>
|
|
139
|
+
</ng-container>
|
|
140
|
+
<ng-template *ngIf="fileInfoTemplate"
|
|
141
|
+
[templateContext]="{
|
|
142
|
+
templateRef: fileInfoTemplate.templateRef,
|
|
143
|
+
state: file.state,
|
|
144
|
+
$implicit: [file]
|
|
145
|
+
}">
|
|
146
|
+
</ng-template>
|
|
147
|
+
</span>
|
|
148
|
+
<kendo-upload-file-list-item-action-button
|
|
149
|
+
[file]='file'
|
|
150
|
+
[disabled]='disabled'
|
|
151
|
+
[progress]='progressComplete'>
|
|
152
|
+
</kendo-upload-file-list-item-action-button>
|
|
146
153
|
`
|
|
147
154
|
}]
|
|
148
155
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.UploadService }]; }, propDecorators: { disabled: [{
|
package/{esm2015/rendering/file-list.component.js → esm2020/rendering/file-list.component.mjs}
RENAMED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/* eslint-disable @angular-eslint/component-selector */
|
|
6
|
-
import { Input, Component, ViewChildren } from '@angular/core';
|
|
6
|
+
import { Input, Component, ViewChildren, QueryList } from '@angular/core';
|
|
7
7
|
import { Keys } from '@progress/kendo-angular-common';
|
|
8
8
|
import { FileState } from '../types';
|
|
9
|
+
import { FileTemplateDirective } from '../templates/file-template.directive';
|
|
9
10
|
import { FileListItemDirective } from './file-list-item';
|
|
11
|
+
import { NavigationService } from '../navigation.service';
|
|
12
|
+
import { UploadService } from '../upload.service';
|
|
13
|
+
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
10
14
|
import * as i0 from "@angular/core";
|
|
11
15
|
import * as i1 from "../upload.service";
|
|
12
16
|
import * as i2 from "../navigation.service";
|
|
@@ -14,7 +18,8 @@ import * as i3 from "./file-list-single-item.component";
|
|
|
14
18
|
import * as i4 from "./file-list-multiple-items.component";
|
|
15
19
|
import * as i5 from "@angular/common";
|
|
16
20
|
import * as i6 from "./file-list-item";
|
|
17
|
-
import * as i7 from "
|
|
21
|
+
import * as i7 from "@progress/kendo-angular-buttons";
|
|
22
|
+
import * as i8 from "../templates/template-context.directive";
|
|
18
23
|
/**
|
|
19
24
|
* @hidden
|
|
20
25
|
*/
|
|
@@ -36,10 +41,10 @@ export class FileListComponent {
|
|
|
36
41
|
});
|
|
37
42
|
}
|
|
38
43
|
itemActionHandler(key) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
const index = this.navigation.focusedIndex;
|
|
45
|
+
const item = this.fileListItems.toArray()[index];
|
|
46
|
+
const uid = item.uidAttribute;
|
|
47
|
+
const files = this.uploadService.files.get(uid);
|
|
43
48
|
if (key === Keys.Escape && files[0].state === FileState.Uploading) {
|
|
44
49
|
this.uploadService.cancelFiles(uid);
|
|
45
50
|
this.navigation.focusSelectButton();
|
|
@@ -67,8 +72,8 @@ export class FileListComponent {
|
|
|
67
72
|
this.actionSubscription.unsubscribe();
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
|
-
FileListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
75
|
+
FileListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListComponent, deps: [{ token: i1.UploadService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
+
FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileListComponent, selector: "[kendo-upload-file-list]", inputs: { disabled: "disabled", fileList: "fileList", fileTemplate: "fileTemplate", fileInfoTemplate: "fileInfoTemplate" }, viewQueries: [{ propertyName: "fileListItems", predicate: FileListItemDirective, descendants: true }], ngImport: i0, template: `
|
|
72
77
|
<ng-template ngFor
|
|
73
78
|
[ngForOf]="fileList"
|
|
74
79
|
let-files
|
|
@@ -96,8 +101,8 @@ FileListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
96
101
|
}"></ng-template>
|
|
97
102
|
</li>
|
|
98
103
|
</ng-template>
|
|
99
|
-
`, isInline: true, components: [{ type: i3.FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: ["disabled", "file", "fileInfoTemplate"] }, { type: i4.FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: ["disabled", "files", "fileInfoTemplate"] }], directives: [{ type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: ["files", "index"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
104
|
+
`, isInline: true, components: [{ type: i3.FileListSingleItemComponent, selector: "kendo-upload-file-list-single-item", inputs: ["disabled", "file", "fileInfoTemplate"] }, { type: i4.FileListMultipleItemsComponent, selector: "kendo-upload-file-list-multiple-items", inputs: ["disabled", "files", "fileInfoTemplate"] }], directives: [{ type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.FileListItemDirective, selector: "[kendoUploadFileListItem]", inputs: ["files", "index"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i8.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileListComponent, decorators: [{
|
|
101
106
|
type: Component,
|
|
102
107
|
args: [{
|
|
103
108
|
selector: '[kendo-upload-file-list]',
|