@progress/kendo-angular-upload 8.0.2 → 9.0.0-dev.202204191139
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/bundles/kendo-angular-upload.umd.js +5 -0
- package/{dist/es2015/common → common}/action-buttons-layout.d.ts +0 -0
- package/{dist/es2015/common → common}/util.d.ts +0 -0
- package/{dist/es2015/common → common}/validation-util.d.ts +0 -0
- package/{dist/es2015/dropzone-base.d.ts → dropzone-base.d.ts} +4 -1
- package/{dist/es2015/dropzone-external.directive.d.ts → dropzone-external.directive.d.ts} +4 -1
- package/{dist/es2015/dropzone-internal.directive.d.ts → dropzone-internal.directive.d.ts} +3 -0
- package/{dist/es2015/dropzone.component.d.ts → dropzone.component.d.ts} +5 -2
- package/{dist/es2015/dropzone.service.d.ts → dropzone.service.d.ts} +3 -0
- package/{dist/es2015 → esm2015}/common/action-buttons-layout.js +1 -0
- package/{dist/es2015 → esm2015}/common/util.js +1 -7
- package/{dist/es2015 → esm2015}/common/validation-util.js +0 -4
- package/{dist/es2015 → esm2015}/dropzone-base.js +18 -16
- package/{dist/es2015 → esm2015}/dropzone-external.directive.js +29 -35
- package/{dist/es2015 → esm2015}/dropzone-internal.directive.js +25 -37
- package/esm2015/dropzone.component.js +112 -0
- package/{dist/es2015 → esm2015}/dropzone.service.js +8 -7
- package/{dist/es2015 → esm2015}/events/cancel-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/clear-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/error-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/pause-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/events/remove-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/resume-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/select-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/success-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/upload-event.js +1 -0
- package/{dist/es2015 → esm2015}/events/upload-progress-event.js +1 -0
- package/{dist/es → esm2015}/events.js +0 -0
- package/esm2015/file-select.directive.js +100 -0
- package/{dist/es2015 → esm2015}/fileselect.component.js +160 -132
- package/esm2015/fileselect.module.js +35 -0
- package/{dist/es/types/chunk-info.js → esm2015/kendo-angular-upload.js} +4 -0
- package/esm2015/localization/custom-messages.component.js +50 -0
- package/esm2015/localization/localized-messages.directive.js +40 -0
- package/esm2015/localization/messages.js +59 -0
- package/{dist/es → esm2015}/main.js +0 -0
- package/{dist/es2015 → esm2015}/navigation.service.js +9 -9
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/rendering/file-list-item-action-button.component.js +70 -28
- package/{dist/es2015 → esm2015}/rendering/file-list-item-base.js +9 -0
- package/esm2015/rendering/file-list-item.js +107 -0
- package/esm2015/rendering/file-list-multiple-items.component.js +172 -0
- package/esm2015/rendering/file-list-single-item.component.js +154 -0
- package/esm2015/rendering/file-list.component.js +145 -0
- package/esm2015/rendering/upload-action-buttons.component.js +136 -0
- package/esm2015/rendering/upload-status-total.component.js +60 -0
- package/{dist/es2015 → esm2015}/shared.module.js +45 -18
- package/esm2015/templates/file-info-template.directive.js +22 -0
- package/esm2015/templates/file-template.directive.js +22 -0
- package/esm2015/templates/template-context.directive.js +34 -0
- package/{dist/es2015 → esm2015}/types/async-settings.js +1 -0
- package/{dist/es2015 → esm2015}/types/chunk-info.js +1 -0
- package/{dist/es2015 → esm2015}/types/chunk-map.js +0 -0
- package/{dist/es → esm2015}/types/chunk-metadata.js +1 -0
- package/{dist/es → esm2015}/types/chunk-settings.js +1 -0
- package/{dist/es → esm2015}/types/direction.js +1 -0
- package/{dist/es2015 → esm2015}/types/file-groups.js +3 -5
- package/{dist/es → esm2015}/types/file-info.js +1 -0
- package/{dist/es2015 → esm2015}/types/file-map.js +0 -0
- package/{dist/es → esm2015}/types/file-restrictions.js +1 -0
- package/{dist/es → esm2015}/types/file-state.js +0 -0
- package/{dist/es → esm2015}/types/operation-type.js +1 -0
- package/{dist/es → esm2015}/types.js +0 -0
- package/{dist/es2015 → esm2015}/upload.component.js +262 -243
- package/esm2015/upload.module.js +43 -0
- package/{dist/es2015 → esm2015}/upload.service.js +10 -9
- package/{dist/es2015 → esm2015}/uploads.module.js +17 -12
- package/{dist/es2015/events → events}/cancel-event.d.ts +4 -0
- package/{dist/es2015/events → events}/clear-event.d.ts +1 -0
- package/{dist/es2015/events → events}/error-event.d.ts +10 -0
- package/{dist/es2015/events → events}/pause-event.d.ts +4 -0
- package/{dist/es2015/events → events}/preventable-event.d.ts +0 -0
- package/{dist/es2015/events → events}/remove-event.d.ts +9 -2
- package/{dist/es2015/events → events}/resume-event.d.ts +4 -0
- package/{dist/es2015/events → events}/select-event.d.ts +4 -0
- package/{dist/es2015/events → events}/success-event.d.ts +10 -0
- package/{dist/es2015/events → events}/upload-event.d.ts +9 -2
- package/{dist/es2015/events → events}/upload-progress-event.d.ts +7 -0
- package/{dist/es2015/events.d.ts → events.d.ts} +0 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-upload.js} +2192 -2010
- package/{dist/es2015/file-select.directive.d.ts → file-select.directive.d.ts} +7 -4
- package/{dist/es2015/fileselect.component.d.ts → fileselect.component.d.ts} +14 -6
- package/fileselect.module.d.ts +20 -0
- package/{dist/es/common/action-buttons-layout.js → kendo-angular-upload.d.ts} +5 -0
- package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/localization → localization}/messages.d.ts +3 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
- package/{dist/es2015/navigation.service.d.ts → navigation.service.d.ts} +7 -3
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +32 -102
- package/{dist/es2015/rendering → rendering}/file-list-item-action-button.component.d.ts +11 -8
- package/{dist/es2015/rendering → rendering}/file-list-item-base.d.ts +3 -0
- package/{dist/es2015/rendering → rendering}/file-list-item.d.ts +10 -7
- package/{dist/es2015/rendering → rendering}/file-list-multiple-items.component.d.ts +7 -4
- package/{dist/es2015/rendering → rendering}/file-list-single-item.component.d.ts +9 -6
- package/{dist/es2015/rendering → rendering}/file-list.component.d.ts +3 -0
- package/{dist/es2015/rendering → rendering}/upload-action-buttons.component.d.ts +7 -4
- package/{dist/es2015/rendering → rendering}/upload-status-total.component.d.ts +3 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/shared.module.d.ts +36 -0
- package/{dist/es2015/templates → templates}/file-info-template.directive.d.ts +3 -0
- package/{dist/es2015/templates → templates}/file-template.directive.d.ts +3 -0
- package/{dist/es2015/templates → templates}/template-context.directive.d.ts +4 -1
- package/{dist/es2015/types → types}/async-settings.d.ts +0 -0
- package/{dist/es2015/types → types}/chunk-info.d.ts +0 -0
- package/{dist/es2015/types → types}/chunk-map.d.ts +0 -0
- package/{dist/es2015/types → types}/chunk-metadata.d.ts +0 -0
- package/{dist/es2015/types → types}/chunk-settings.d.ts +0 -0
- package/{dist/es2015/types → types}/direction.d.ts +0 -0
- package/{dist/es2015/types → types}/file-groups.d.ts +0 -0
- package/{dist/es2015/types → types}/file-info.d.ts +0 -0
- package/{dist/es2015/types → types}/file-map.d.ts +5 -5
- package/{dist/es2015/types → types}/file-restrictions.d.ts +0 -0
- package/{dist/es2015/types → types}/file-state.d.ts +0 -0
- package/{dist/es2015/types → types}/operation-type.d.ts +0 -0
- package/{dist/es2015/types.d.ts → types.d.ts} +0 -0
- package/{dist/es2015/upload.component.d.ts → upload.component.d.ts} +42 -21
- package/upload.module.d.ts +22 -0
- package/{dist/es2015/upload.service.d.ts → upload.service.d.ts} +4 -1
- package/{dist/es2015/uploads.module.d.ts → uploads.module.d.ts} +6 -0
- package/dist/cdn/js/kendo-angular-upload.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/common/util.js +0 -234
- package/dist/es/common/validation-util.js +0 -64
- package/dist/es/dropzone-base.js +0 -66
- package/dist/es/dropzone-external.directive.js +0 -98
- package/dist/es/dropzone-internal.directive.js +0 -110
- package/dist/es/dropzone.component.js +0 -99
- package/dist/es/dropzone.service.js +0 -33
- package/dist/es/events/cancel-event.js +0 -41
- package/dist/es/events/clear-event.js +0 -43
- package/dist/es/events/error-event.js +0 -45
- package/dist/es/events/pause-event.js +0 -42
- package/dist/es/events/preventable-event.js +0 -29
- package/dist/es/events/remove-event.js +0 -47
- package/dist/es/events/resume-event.js +0 -42
- package/dist/es/events/select-event.js +0 -45
- package/dist/es/events/success-event.js +0 -49
- package/dist/es/events/upload-event.js +0 -47
- package/dist/es/events/upload-progress-event.js +0 -42
- package/dist/es/file-select.directive.js +0 -141
- package/dist/es/fileselect.component.js +0 -484
- package/dist/es/fileselect.module.js +0 -30
- package/dist/es/index.js +0 -21
- package/dist/es/localization/custom-messages.component.js +0 -53
- package/dist/es/localization/localized-messages.directive.js +0 -35
- package/dist/es/localization/messages.js +0 -102
- package/dist/es/navigation.service.js +0 -166
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/rendering/file-list-item-action-button.component.js +0 -169
- package/dist/es/rendering/file-list-item-base.js +0 -41
- package/dist/es/rendering/file-list-item.js +0 -165
- package/dist/es/rendering/file-list-multiple-items.component.js +0 -107
- package/dist/es/rendering/file-list-single-item.component.js +0 -112
- package/dist/es/rendering/file-list.component.js +0 -98
- package/dist/es/rendering/upload-action-buttons.component.js +0 -149
- package/dist/es/rendering/upload-status-total.component.js +0 -42
- package/dist/es/shared.module.js +0 -68
- package/dist/es/templates/file-info-template.directive.js +0 -22
- package/dist/es/templates/file-template.directive.js +0 -22
- package/dist/es/templates/template-context.directive.js +0 -40
- package/dist/es/types/async-settings.js +0 -4
- package/dist/es/types/chunk-map.js +0 -36
- package/dist/es/types/file-groups.js +0 -45
- package/dist/es/types/file-map.js +0 -170
- package/dist/es/upload.component.js +0 -967
- package/dist/es/upload.module.js +0 -34
- package/dist/es/upload.service.js +0 -448
- package/dist/es/uploads.module.js +0 -47
- package/dist/es2015/dropzone.component.js +0 -100
- package/dist/es2015/events.js +0 -14
- package/dist/es2015/file-select.directive.js +0 -123
- package/dist/es2015/fileselect.module.d.ts +0 -9
- package/dist/es2015/fileselect.module.js +0 -27
- package/dist/es2015/index.d.ts +0 -21
- package/dist/es2015/index.js +0 -21
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/localization/custom-messages.component.js +0 -45
- package/dist/es2015/localization/localized-messages.directive.js +0 -35
- package/dist/es2015/localization/messages.js +0 -96
- package/dist/es2015/main.js +0 -24
- package/dist/es2015/rendering/file-list-item.js +0 -136
- package/dist/es2015/rendering/file-list-multiple-items.component.js +0 -128
- package/dist/es2015/rendering/file-list-single-item.component.js +0 -117
- package/dist/es2015/rendering/file-list.component.js +0 -123
- package/dist/es2015/rendering/upload-action-buttons.component.js +0 -141
- package/dist/es2015/rendering/upload-status-total.component.js +0 -51
- package/dist/es2015/shared.module.d.ts +0 -17
- package/dist/es2015/templates/file-info-template.directive.js +0 -21
- package/dist/es2015/templates/file-template.directive.js +0 -21
- package/dist/es2015/templates/template-context.directive.js +0 -35
- package/dist/es2015/types/chunk-metadata.js +0 -4
- package/dist/es2015/types/chunk-settings.js +0 -4
- package/dist/es2015/types/direction.js +0 -4
- package/dist/es2015/types/file-info.js +0 -4
- package/dist/es2015/types/file-restrictions.js +0 -4
- package/dist/es2015/types/file-state.js +0 -34
- package/dist/es2015/types/operation-type.js +0 -4
- package/dist/es2015/types.js +0 -5
- package/dist/es2015/upload.module.d.ts +0 -9
- package/dist/es2015/upload.module.js +0 -31
- package/dist/fesm5/index.js +0 -4653
- package/dist/npm/common/action-buttons-layout.js +0 -6
- package/dist/npm/common/util.js +0 -240
- package/dist/npm/common/validation-util.js +0 -68
- package/dist/npm/dropzone-base.js +0 -68
- package/dist/npm/dropzone-external.directive.js +0 -100
- package/dist/npm/dropzone-internal.directive.js +0 -112
- package/dist/npm/dropzone.component.js +0 -101
- package/dist/npm/dropzone.service.js +0 -35
- package/dist/npm/events/cancel-event.js +0 -43
- package/dist/npm/events/clear-event.js +0 -45
- package/dist/npm/events/error-event.js +0 -47
- package/dist/npm/events/pause-event.js +0 -44
- package/dist/npm/events/preventable-event.js +0 -31
- package/dist/npm/events/remove-event.js +0 -49
- package/dist/npm/events/resume-event.js +0 -44
- package/dist/npm/events/select-event.js +0 -47
- package/dist/npm/events/success-event.js +0 -51
- package/dist/npm/events/upload-event.js +0 -49
- package/dist/npm/events/upload-progress-event.js +0 -44
- package/dist/npm/events.js +0 -26
- package/dist/npm/file-select.directive.js +0 -143
- package/dist/npm/fileselect.component.js +0 -486
- package/dist/npm/fileselect.module.js +0 -32
- package/dist/npm/index.js +0 -39
- package/dist/npm/localization/custom-messages.component.js +0 -55
- package/dist/npm/localization/localized-messages.directive.js +0 -37
- package/dist/npm/localization/messages.js +0 -104
- package/dist/npm/main.js +0 -45
- package/dist/npm/navigation.service.js +0 -168
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/rendering/file-list-item-action-button.component.js +0 -171
- package/dist/npm/rendering/file-list-item-base.js +0 -43
- package/dist/npm/rendering/file-list-item.js +0 -167
- package/dist/npm/rendering/file-list-multiple-items.component.js +0 -109
- package/dist/npm/rendering/file-list-single-item.component.js +0 -114
- package/dist/npm/rendering/file-list.component.js +0 -100
- package/dist/npm/rendering/upload-action-buttons.component.js +0 -151
- package/dist/npm/rendering/upload-status-total.component.js +0 -44
- package/dist/npm/shared.module.js +0 -70
- package/dist/npm/templates/file-info-template.directive.js +0 -24
- package/dist/npm/templates/file-template.directive.js +0 -24
- package/dist/npm/templates/template-context.directive.js +0 -42
- package/dist/npm/types/async-settings.js +0 -6
- package/dist/npm/types/chunk-info.js +0 -6
- package/dist/npm/types/chunk-map.js +0 -38
- package/dist/npm/types/chunk-metadata.js +0 -6
- package/dist/npm/types/chunk-settings.js +0 -6
- package/dist/npm/types/direction.js +0 -6
- package/dist/npm/types/file-groups.js +0 -47
- package/dist/npm/types/file-info.js +0 -6
- package/dist/npm/types/file-map.js +0 -172
- package/dist/npm/types/file-restrictions.js +0 -6
- package/dist/npm/types/file-state.js +0 -36
- package/dist/npm/types/operation-type.js +0 -6
- package/dist/npm/types.js +0 -8
- package/dist/npm/upload.component.js +0 -969
- package/dist/npm/upload.module.js +0 -36
- package/dist/npm/upload.service.js +0 -450
- package/dist/npm/uploads.module.js +0 -49
- package/dist/systemjs/kendo-angular-upload.js +0 -5
|
@@ -7,6 +7,7 @@ import { Direction } from './types/direction';
|
|
|
7
7
|
import { FileRestrictions } from './types';
|
|
8
8
|
import { NavigationService } from './navigation.service';
|
|
9
9
|
import { UploadService } from './upload.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
12
13
|
*/
|
|
@@ -22,9 +23,11 @@ export declare class FileSelectDirective {
|
|
|
22
23
|
tabIndex: number;
|
|
23
24
|
element: ElementRef;
|
|
24
25
|
constructor(uploadService: UploadService, navigation: NavigationService, el: ElementRef);
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
get nameAttribute(): string;
|
|
27
|
+
get multipleAttribute(): string;
|
|
28
|
+
get dirAttribute(): string;
|
|
29
|
+
get disabledAttribute(): string;
|
|
29
30
|
onInputChange(event: any): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileSelectDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileSelectDirective, "[kendoFileSelect]", never, { "dir": "dir"; "disabled": "disabled"; "multiple": "multiple"; "restrictions": "restrictions"; }, {}, never>;
|
|
30
33
|
}
|
|
@@ -13,6 +13,7 @@ import { NavigationService } from './navigation.service';
|
|
|
13
13
|
import { FileTemplateDirective } from './templates/file-template.directive';
|
|
14
14
|
import { DropZoneService } from './dropzone.service';
|
|
15
15
|
import { FileInfoTemplateDirective } from './templates/file-info-template.directive';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
16
17
|
/**
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
@@ -43,7 +44,8 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
|
|
|
43
44
|
/**
|
|
44
45
|
* Sets the `name` attribute of the `input` element of the FileSelect.
|
|
45
46
|
*/
|
|
46
|
-
name: string;
|
|
47
|
+
set name(name: string);
|
|
48
|
+
get name(): string;
|
|
47
49
|
/**
|
|
48
50
|
* Toggles the visibility of the file list.
|
|
49
51
|
*/
|
|
@@ -55,7 +57,8 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
|
|
|
55
57
|
/**
|
|
56
58
|
* Sets the restrictions for selected files.
|
|
57
59
|
*/
|
|
58
|
-
restrictions: FileRestrictions;
|
|
60
|
+
set restrictions(restrictions: FileRestrictions);
|
|
61
|
+
get restrictions(): FileRestrictions;
|
|
59
62
|
/**
|
|
60
63
|
* Specifies the id of the external drop zone to associate with the FileSelect.
|
|
61
64
|
*/
|
|
@@ -89,8 +92,8 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
|
|
|
89
92
|
*/
|
|
90
93
|
valueChange: EventEmitter<Array<File>>;
|
|
91
94
|
hostDefaultClasses: boolean;
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
get hostDisabledClass(): boolean;
|
|
96
|
+
get dir(): string;
|
|
94
97
|
/**
|
|
95
98
|
* @hidden
|
|
96
99
|
*/
|
|
@@ -100,7 +103,10 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
|
|
|
100
103
|
*/
|
|
101
104
|
fileList: FileMap;
|
|
102
105
|
direction: Direction;
|
|
103
|
-
|
|
106
|
+
/**
|
|
107
|
+
* @hidden
|
|
108
|
+
*/
|
|
109
|
+
wrapper: HTMLElement;
|
|
104
110
|
private documentClick;
|
|
105
111
|
private blurSubscription;
|
|
106
112
|
private wrapperFocusSubscription;
|
|
@@ -161,7 +167,7 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
|
|
|
161
167
|
/**
|
|
162
168
|
* @hidden
|
|
163
169
|
*/
|
|
164
|
-
|
|
170
|
+
get selectButtonTabIndex(): number;
|
|
165
171
|
/**
|
|
166
172
|
* @hidden
|
|
167
173
|
*/
|
|
@@ -174,4 +180,6 @@ export declare class FileSelectComponent implements OnInit, OnDestroy {
|
|
|
174
180
|
private subscribeFocus;
|
|
175
181
|
private attachEventHandlers;
|
|
176
182
|
private setDefaultSettings;
|
|
183
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileSelectComponent, never>;
|
|
184
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileSelectComponent, "kendo-fileselect", ["kendoFileSelect"], { "accept": "accept"; "disabled": "disabled"; "multiple": "multiple"; "name": "name"; "showFileList": "showFileList"; "tabindex": "tabindex"; "restrictions": "restrictions"; "zoneId": "zoneId"; "focusableId": "focusableId"; }, { "onBlur": "blur"; "onFocus": "focus"; "select": "select"; "remove": "remove"; "valueChange": "valueChange"; }, ["fileTemplate", "fileInfoTemplate"], never>;
|
|
177
185
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./fileselect.component";
|
|
7
|
+
import * as i2 from "./shared.module";
|
|
8
|
+
import * as i3 from "./templates/file-template.directive";
|
|
9
|
+
import * as i4 from "./templates/file-info-template.directive";
|
|
10
|
+
import * as i5 from "./localization/custom-messages.component";
|
|
11
|
+
import * as i6 from "./dropzone-external.directive";
|
|
12
|
+
import * as i7 from "./dropzone.component";
|
|
13
|
+
/**
|
|
14
|
+
* Represents the [NgModule](https://angular.io/api/core/NgModule) definition for the FileSelect component.
|
|
15
|
+
*/
|
|
16
|
+
export declare class FileSelectModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileSelectModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FileSelectModule, [typeof i1.FileSelectComponent], [typeof i2.SharedModule], [typeof i3.FileTemplateDirective, typeof i4.FileInfoTemplateDirective, typeof i5.CustomMessagesComponent, typeof i6.UploadDropZoneDirective, typeof i7.UploadDropZoneComponent, typeof i1.FileSelectComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FileSelectModule>;
|
|
20
|
+
}
|
|
@@ -2,3 +2,8 @@
|
|
|
2
2
|
* Copyright © 2021 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
|
+
/**
|
|
6
|
+
* Generated bundle index. Do not edit.
|
|
7
|
+
*/
|
|
8
|
+
/// <amd-module name="@progress/kendo-angular-upload" />
|
|
9
|
+
export * from './main';
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Messages } from './messages';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Custom component messages override default component messages ([more information and example]({% slug globalization_upload %})).
|
|
9
10
|
*
|
|
@@ -19,6 +20,8 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
19
20
|
*/
|
|
20
21
|
export declare class CustomMessagesComponent extends Messages {
|
|
21
22
|
protected service: LocalizationService;
|
|
23
|
+
protected get override(): boolean;
|
|
22
24
|
constructor(service: LocalizationService);
|
|
23
|
-
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages", never, {}, {}, never, never>;
|
|
24
27
|
}
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Messages } from './messages';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
10
11
|
export declare class LocalizedMessagesDirective extends Messages {
|
|
11
12
|
protected service: LocalizationService;
|
|
12
13
|
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, " [kendoUploadLocalizedMessages], [kendoFileSelectLocalizedMessages], [kendoUploadDropZoneLocalizedMessages] ", never, {}, {}, never>;
|
|
13
16
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @hidden
|
|
8
9
|
*/
|
|
@@ -91,4 +92,6 @@ export declare class Messages extends ComponentMessages {
|
|
|
91
92
|
* Sets the text for the **Upload files** button.
|
|
92
93
|
*/
|
|
93
94
|
uploadSelectedFiles: string;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
96
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, never, never, { "cancel": "cancel"; "clearSelectedFiles": "clearSelectedFiles"; "dropFilesHere": "dropFilesHere"; "externalDropFilesHere": "externalDropFilesHere"; "filesBatchStatus": "filesBatchStatus"; "filesBatchStatusFailed": "filesBatchStatusFailed"; "filesBatchStatusUploaded": "filesBatchStatusUploaded"; "fileStatusFailed": "fileStatusFailed"; "fileStatusUploaded": "fileStatusUploaded"; "headerStatusPaused": "headerStatusPaused"; "headerStatusUploaded": "headerStatusUploaded"; "headerStatusUploading": "headerStatusUploading"; "invalidFileExtension": "invalidFileExtension"; "invalidMaxFileSize": "invalidMaxFileSize"; "invalidMinFileSize": "invalidMinFileSize"; "pause": "pause"; "remove": "remove"; "resume": "resume"; "retry": "retry"; "select": "select"; "uploadSelectedFiles": "uploadSelectedFiles"; }, {}, never>;
|
|
94
97
|
}
|
|
File without changes
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
6
|
import { UploadService } from './upload.service';
|
|
7
7
|
import { Direction } from './types/direction';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -35,7 +36,10 @@ export declare class NavigationService {
|
|
|
35
36
|
handleTab(shifted: boolean): void;
|
|
36
37
|
handleDown(): void;
|
|
37
38
|
handleUp(): void;
|
|
38
|
-
focusedIndex: number;
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
get focusedIndex(): number;
|
|
40
|
+
set focusedIndex(index: number);
|
|
41
|
+
get lastFileIndex(): number;
|
|
42
|
+
get lastIndex(): number;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
44
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
41
45
|
}
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,98 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-upload",
|
|
3
|
+
"version": "9.0.0-dev.202204191139",
|
|
3
4
|
"description": "Kendo UI Angular Upload Component",
|
|
4
|
-
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"jsdelivr": "dist/cdn/main.js",
|
|
15
|
-
"unpkg": "dist/cdn/main.js",
|
|
16
|
-
"sideEffects": false,
|
|
17
|
-
"scripts": {
|
|
18
|
-
"test": "jest",
|
|
19
|
-
"test:watch": "jest --watch",
|
|
20
|
-
"test:ci": "ci-angular-test",
|
|
21
|
-
"start": "gulp start",
|
|
22
|
-
"e2e:ci": "ci-angular-e2e",
|
|
23
|
-
"lint": "gulp lint && gulp lint-docs",
|
|
24
|
-
"api-check": "gulp api-check",
|
|
25
|
-
"build-package": "gulp build-package",
|
|
26
|
-
"semantic-release": "semantic-release pre && semantic-prerelease publish && semantic-release post"
|
|
6
|
+
"author": "Progress",
|
|
7
|
+
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/telerik/kendo-angular-upload.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/telerik/kendo-angular"
|
|
27
14
|
},
|
|
28
15
|
"keywords": [
|
|
29
|
-
"Kendo UI",
|
|
30
16
|
"Angular",
|
|
31
|
-
"
|
|
17
|
+
"Kendo UI",
|
|
18
|
+
"Upload",
|
|
19
|
+
"Progress"
|
|
32
20
|
],
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"@angular/common": "8 - 13",
|
|
36
|
-
"@angular/core": "8 - 13",
|
|
37
|
-
"@angular/forms": "8 - 13",
|
|
38
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
39
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
40
|
-
"@progress/kendo-licensing": "^1.0.2",
|
|
41
|
-
"rxjs": "^6.4.0 || ^7.0.0"
|
|
21
|
+
"@progress": {
|
|
22
|
+
"friendlyName": "Upload"
|
|
42
23
|
},
|
|
43
24
|
"dependencies": {
|
|
44
|
-
"@progress/kendo-schematics": "^
|
|
45
|
-
"tslib": "^
|
|
25
|
+
"@progress/kendo-schematics": "^3.0.0",
|
|
26
|
+
"tslib": "^2.3.1"
|
|
46
27
|
},
|
|
47
|
-
"
|
|
48
|
-
"@angular
|
|
49
|
-
"@angular
|
|
50
|
-
"@angular/
|
|
51
|
-
"@angular/
|
|
52
|
-
"@angular
|
|
53
|
-
"@
|
|
54
|
-
"@angular/core": "^8.2.0",
|
|
55
|
-
"@angular/forms": "^8.2.0",
|
|
56
|
-
"@angular/platform-browser": "^8.2.0",
|
|
57
|
-
"@angular/platform-browser-dynamic": "^8.2.0",
|
|
58
|
-
"@angular/platform-server": "^8.2.0",
|
|
59
|
-
"@angular/router": "^8.2.0",
|
|
60
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
61
|
-
"@progress/kendo-angular-e2e": "^3.0.0",
|
|
62
|
-
"@progress/kendo-angular-inputs": "^7.0.0",
|
|
63
|
-
"@progress/kendo-angular-buttons": "^6.0.0",
|
|
64
|
-
"@progress/kendo-angular-intl": "^3.0.0",
|
|
65
|
-
"@progress/kendo-angular-jest-preset": "^2.0.0",
|
|
66
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
67
|
-
"@progress/kendo-angular-label": "^3.0.0",
|
|
68
|
-
"@progress/kendo-angular-popup": "^4.0.0",
|
|
69
|
-
"@progress/kendo-angular-tasks": "^19.3.2",
|
|
70
|
-
"@progress/kendo-drawing": "^1.0.0",
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@angular/animations": "12 - 14",
|
|
30
|
+
"@angular/common": "12 - 14",
|
|
31
|
+
"@angular/core": "12 - 14",
|
|
32
|
+
"@angular/forms": "12 - 14",
|
|
33
|
+
"@progress/kendo-angular-common": "^3.0.0",
|
|
34
|
+
"@progress/kendo-angular-l10n": "^4.0.0",
|
|
71
35
|
"@progress/kendo-licensing": "^1.0.2",
|
|
72
|
-
"
|
|
73
|
-
"@progress/kendo-theme-bootstrap": "^5.0.0",
|
|
74
|
-
"@progress/kendo-theme-default": "^5.0.0",
|
|
75
|
-
"@progress/kendo-theme-material": "^5.0.0",
|
|
76
|
-
"@telerik/semantic-prerelease": "^1.1.5",
|
|
77
|
-
"@types/jest": "^21.0.0",
|
|
78
|
-
"@types/node": "ts3.4",
|
|
79
|
-
"@types/zone.js": "0.0.27",
|
|
80
|
-
"codelyzer": "^5.0.0",
|
|
81
|
-
"core-js": "^2.2.2",
|
|
82
|
-
"cz-conventional-changelog": "^1.1.5",
|
|
83
|
-
"ghooks": "^1.0.3",
|
|
84
|
-
"gulp": "^4.0.0",
|
|
85
|
-
"jest": "^21.0.0",
|
|
86
|
-
"jest-cli": "^21.0.0",
|
|
87
|
-
"jest-junit": "^12.2.0",
|
|
88
|
-
"rxjs": "~6.4.0",
|
|
89
|
-
"rxjs-tslint-rules": "^4.23.1",
|
|
90
|
-
"semantic-release": "^6.3.6",
|
|
91
|
-
"ts-jest": "^21.0.0",
|
|
92
|
-
"tslint": "^5.20.1",
|
|
93
|
-
"typescript": "~3.4.5",
|
|
94
|
-
"validate-commit-msg": "^1.1.1",
|
|
95
|
-
"zone.js": "~0.9.1"
|
|
36
|
+
"rxjs": "^6.5.3 || ^7.0.0"
|
|
96
37
|
},
|
|
97
38
|
"config": {
|
|
98
39
|
"commitizen": {
|
|
@@ -117,20 +58,7 @@
|
|
|
117
58
|
"maxSubjectLength": 100
|
|
118
59
|
}
|
|
119
60
|
},
|
|
120
|
-
"
|
|
121
|
-
"preset": "@progress/kendo-angular-jest-preset"
|
|
122
|
-
},
|
|
123
|
-
"repository": {
|
|
124
|
-
"type": "git",
|
|
125
|
-
"url": "https://github.com/telerik/kendo-angular-upload.git"
|
|
126
|
-
},
|
|
127
|
-
"bugs": {
|
|
128
|
-
"url": "https://github.com/telerik/kendo-angular"
|
|
129
|
-
},
|
|
130
|
-
"@progress": {
|
|
131
|
-
"friendlyName": "Upload"
|
|
132
|
-
},
|
|
133
|
-
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
61
|
+
"schematics": "./schematics/collection.json",
|
|
134
62
|
"release": {
|
|
135
63
|
"debug": false,
|
|
136
64
|
"branchTags": {
|
|
@@ -145,9 +73,11 @@
|
|
|
145
73
|
"verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
|
|
146
74
|
"verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
|
|
147
75
|
},
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
76
|
+
"main": "bundles/kendo-angular-upload.umd.js",
|
|
77
|
+
"module": "fesm2015/kendo-angular-upload.js",
|
|
78
|
+
"es2015": "fesm2015/kendo-angular-upload.js",
|
|
79
|
+
"esm2015": "esm2015/kendo-angular-upload.js",
|
|
80
|
+
"fesm2015": "fesm2015/kendo-angular-upload.js",
|
|
81
|
+
"typings": "kendo-angular-upload.d.ts",
|
|
82
|
+
"sideEffects": false
|
|
153
83
|
}
|
|
@@ -6,6 +6,7 @@ import { FileInfo } from '../types';
|
|
|
6
6
|
import { UploadService } from '../upload.service';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { NavigationService } from './../navigation.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
@@ -25,12 +26,14 @@ export declare class FileListItemActionButtonComponent {
|
|
|
25
26
|
onRetryClick(): void;
|
|
26
27
|
onRemoveCancelClick(event?: any): void;
|
|
27
28
|
onPauseResumeClick(): void;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
get actionButtonTitle(): string;
|
|
30
|
+
get retryButtonTitle(): string;
|
|
31
|
+
get pauseResumeButtonTitle(): string;
|
|
32
|
+
get isUploading(): boolean;
|
|
33
|
+
get isFailed(): boolean;
|
|
34
|
+
get isPaused(): boolean;
|
|
35
|
+
get isResumable(): boolean;
|
|
36
|
+
get isActionButtonVisible(): boolean;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileListItemActionButtonComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileListItemActionButtonComponent, "kendo-upload-file-list-item-action-button", never, { "file": "file"; "disabled": "disabled"; "progress": "progress"; }, {}, never, never>;
|
|
36
39
|
}
|
|
@@ -8,6 +8,7 @@ import { Subscription } from 'rxjs';
|
|
|
8
8
|
import { FileInfo } from '../types';
|
|
9
9
|
import { UploadProgressEvent } from '../events';
|
|
10
10
|
import { UploadService } from '../upload.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
@@ -24,4 +25,6 @@ export declare class FileListItemBase implements OnDestroy {
|
|
|
24
25
|
getFileValidationMessage(file: FileInfo): string;
|
|
25
26
|
getTotalFilesSizeMessage(files: Array<FileInfo>): string;
|
|
26
27
|
textFor(key: string): string;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileListItemBase, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileListItemBase, "ng-component", never, {}, {}, never, never>;
|
|
27
30
|
}
|
|
@@ -6,6 +6,7 @@ import { ElementRef } from '@angular/core';
|
|
|
6
6
|
import { FileInfo } from '../types';
|
|
7
7
|
import { NavigationService } from '../navigation.service';
|
|
8
8
|
import { UploadService } from '../upload.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
@@ -19,14 +20,16 @@ export declare class FileListItemDirective {
|
|
|
19
20
|
element: ElementRef;
|
|
20
21
|
constructor(el: ElementRef, navigationService: NavigationService, uploadService: UploadService);
|
|
21
22
|
focus(): void;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
get uidAttribute(): string;
|
|
24
|
+
get tabIndex(): string;
|
|
25
|
+
get kFileError(): boolean;
|
|
26
|
+
get kFileInvalid(): boolean;
|
|
27
|
+
get kFileProgress(): boolean;
|
|
28
|
+
get kFileSuccess(): boolean;
|
|
29
|
+
get kStateFocused(): boolean;
|
|
29
30
|
onFocus(): void;
|
|
30
31
|
onBlur(): void;
|
|
31
32
|
onClick(event: any): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileListItemDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileListItemDirective, "[kendoUploadFileListItem]", never, { "files": "files"; "index": "index"; }, {}, never>;
|
|
32
35
|
}
|
|
@@ -8,6 +8,7 @@ import { FileListItemBase } from './file-list-item-base';
|
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { UploadService } from '../upload.service';
|
|
10
10
|
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
@@ -18,10 +19,12 @@ export declare class FileListMultipleItemsComponent extends FileListItemBase imp
|
|
|
18
19
|
fileInfoTemplate: FileInfoTemplateDirective;
|
|
19
20
|
filesHaveErrors: boolean;
|
|
20
21
|
constructor(localization: LocalizationService, uploadService: UploadService);
|
|
21
|
-
|
|
22
|
+
get showProgress(): string;
|
|
22
23
|
ngOnInit(): void;
|
|
23
24
|
fileStatusText(file: FileInfo): any;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
get batchStatusText(): string;
|
|
26
|
+
get isUploadSuccessful(): boolean;
|
|
27
|
+
get isUploadFailed(): boolean;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileListMultipleItemsComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileListMultipleItemsComponent, "kendo-upload-file-list-multiple-items", never, { "disabled": "disabled"; "files": "files"; "fileInfoTemplate": "fileInfoTemplate"; }, {}, never, never>;
|
|
27
30
|
}
|
|
@@ -7,6 +7,7 @@ import { FileListItemBase } from './file-list-item-base';
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { UploadService } from '../upload.service';
|
|
9
9
|
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
12
13
|
*/
|
|
@@ -16,10 +17,12 @@ export declare class FileListSingleItemComponent extends FileListItemBase {
|
|
|
16
17
|
file: FileInfo;
|
|
17
18
|
fileInfoTemplate: FileInfoTemplateDirective;
|
|
18
19
|
constructor(localization: LocalizationService, uploadService: UploadService);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
get fileStatusText(): string;
|
|
21
|
+
get showProgress(): string;
|
|
22
|
+
get fileGroupClass(): string;
|
|
23
|
+
get isUploadSuccessful(): boolean;
|
|
24
|
+
get isUploadFailed(): boolean;
|
|
25
|
+
get isNotYetUploaded(): boolean;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileListSingleItemComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileListSingleItemComponent, "kendo-upload-file-list-single-item", never, { "disabled": "disabled"; "file": "file"; "fileInfoTemplate": "fileInfoTemplate"; }, {}, never, never>;
|
|
25
28
|
}
|
|
@@ -9,6 +9,7 @@ import { FileListItemDirective } from './file-list-item';
|
|
|
9
9
|
import { NavigationService } from '../navigation.service';
|
|
10
10
|
import { UploadService } from '../upload.service';
|
|
11
11
|
import { FileInfoTemplateDirective } from '../templates/file-info-template.directive';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
14
15
|
*/
|
|
@@ -28,4 +29,6 @@ export declare class FileListComponent implements OnDestroy {
|
|
|
28
29
|
itemActionHandler(key: number): void;
|
|
29
30
|
hasDelete(item: FileListItemDirective): boolean;
|
|
30
31
|
ngOnDestroy(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileListComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileListComponent, "[kendo-upload-file-list]", never, { "disabled": "disabled"; "fileList": "fileList"; "fileTemplate": "fileTemplate"; "fileInfoTemplate": "fileInfoTemplate"; }, {}, never, never>;
|
|
31
34
|
}
|
|
@@ -7,6 +7,7 @@ import { UploadService } from '../upload.service';
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { NavigationService } from '../navigation.service';
|
|
9
9
|
import { ActionsLayout } from '../common/action-buttons-layout';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
12
13
|
*/
|
|
@@ -19,10 +20,10 @@ export declare class UploadActionButtonsComponent implements OnDestroy {
|
|
|
19
20
|
clearButton: ElementRef;
|
|
20
21
|
uploadButton: ElementRef;
|
|
21
22
|
hostDefaultClass: boolean;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
get actionButtonsEndClassName(): boolean;
|
|
24
|
+
get actionButtonsStretchedClassName(): boolean;
|
|
25
|
+
get actionButtonsStartClassName(): boolean;
|
|
26
|
+
get actionButtonsCenterClassName(): boolean;
|
|
26
27
|
private actionSubscription;
|
|
27
28
|
private focusSubscription;
|
|
28
29
|
constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService);
|
|
@@ -35,4 +36,6 @@ export declare class UploadActionButtonsComponent implements OnDestroy {
|
|
|
35
36
|
onClearButtonClick(event?: any): void;
|
|
36
37
|
clearFiles(): void;
|
|
37
38
|
textFor(key: string): string;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadActionButtonsComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadActionButtonsComponent, "kendo-upload-action-buttons", never, { "disabled": "disabled"; "actionsLayout": "actionsLayout"; }, {}, never, never>;
|
|
38
41
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { DoCheck } from '@angular/core';
|
|
6
6
|
import { FileMap } from '../types/file-map';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -17,4 +18,6 @@ export declare class UploadStatusTotalComponent implements DoCheck {
|
|
|
17
18
|
statusText: string;
|
|
18
19
|
constructor(localization: LocalizationService);
|
|
19
20
|
ngDoCheck(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadStatusTotalComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadStatusTotalComponent, "kendo-upload-status-total", never, { "fileList": "fileList"; }, {}, never, never>;
|
|
20
23
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
1
5
|
"use strict";
|
|
2
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
7
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
8
|
function default_1(options) {
|
|
5
|
-
const finalOptions = Object.assign({}, options, { mainNgModule: 'UploadsModule', package: 'upload', dependencies: [
|
|
9
|
+
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'UploadsModule', package: 'upload', dependencies: [
|
|
6
10
|
{
|
|
7
11
|
import: 'HttpClientModule',
|
|
8
12
|
from: '@angular/common/http'
|
|
@@ -11,4 +15,3 @@ function default_1(options) {
|
|
|
11
15
|
return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
|
|
12
16
|
}
|
|
13
17
|
exports.default = default_1;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,eAAe,EAC7B,OAAO,EAAE,QAAQ,EACjB,YAAY,EAAE;YACV;gBACI,MAAM,EAAE,kBAAkB;gBAC1B,IAAI,EAAE,sBAAsB;aAC/B;SACJ,GACJ,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AAdD,4BAcC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./templates/file-template.directive";
|
|
7
|
+
import * as i2 from "./templates/file-info-template.directive";
|
|
8
|
+
import * as i3 from "./localization/custom-messages.component";
|
|
9
|
+
import * as i4 from "./dropzone-external.directive";
|
|
10
|
+
import * as i5 from "./dropzone.component";
|
|
11
|
+
import * as i6 from "./dropzone-internal.directive";
|
|
12
|
+
import * as i7 from "./rendering/file-list.component";
|
|
13
|
+
import * as i8 from "./rendering/file-list-item";
|
|
14
|
+
import * as i9 from "./rendering/file-list-item-action-button.component";
|
|
15
|
+
import * as i10 from "./rendering/file-list-multiple-items.component";
|
|
16
|
+
import * as i11 from "./rendering/file-list-single-item.component";
|
|
17
|
+
import * as i12 from "./file-select.directive";
|
|
18
|
+
import * as i13 from "./localization/localized-messages.directive";
|
|
19
|
+
import * as i14 from "./templates/template-context.directive";
|
|
20
|
+
import * as i15 from "@angular/common";
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export declare const SHARED_DECLARATIONS: any[];
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
export declare const PUBLIC_DIRECTIVES: any[];
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
export declare class SharedModule {
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.FileTemplateDirective, typeof i2.FileInfoTemplateDirective, typeof i3.CustomMessagesComponent, typeof i4.UploadDropZoneDirective, typeof i5.UploadDropZoneComponent, typeof i6.DropZoneInternalDirective, typeof i7.FileListComponent, typeof i8.FileListItemDirective, typeof i9.FileListItemActionButtonComponent, typeof i10.FileListMultipleItemsComponent, typeof i11.FileListSingleItemComponent, typeof i12.FileSelectDirective, typeof i13.LocalizedMessagesDirective, typeof i14.TemplateContextDirective], [typeof i15.CommonModule], [typeof i1.FileTemplateDirective, typeof i2.FileInfoTemplateDirective, typeof i3.CustomMessagesComponent, typeof i4.UploadDropZoneDirective, typeof i5.UploadDropZoneComponent, typeof i6.DropZoneInternalDirective, typeof i7.FileListComponent, typeof i8.FileListItemDirective, typeof i9.FileListItemActionButtonComponent, typeof i10.FileListMultipleItemsComponent, typeof i11.FileListSingleItemComponent, typeof i12.FileSelectDirective, typeof i13.LocalizedMessagesDirective, typeof i14.TemplateContextDirective, typeof i15.CommonModule]>;
|
|
35
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
36
|
+
}
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* Used to customize the rendering of the file info section in the list. All other elements of the default template, such as file icon, action buttons, upload progress etc. will be preserved in place. ([see example]({% slug templates_upload %}#toc-file-info-template)).
|
|
8
9
|
*/
|
|
9
10
|
export declare class FileInfoTemplateDirective {
|
|
10
11
|
templateRef: TemplateRef<any>;
|
|
11
12
|
constructor(templateRef: TemplateRef<any>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileInfoTemplateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileInfoTemplateDirective, "[kendoUploadFileInfoTemplate], [kendoFileSelectFileInfoTemplate]", never, {}, {}, never>;
|
|
12
15
|
}
|