@progress/kendo-angular-upload 11.1.0-develop.3 → 11.1.0-develop.5

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.
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2023 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 { OnDestroy, Renderer2, ElementRef, EventEmitter, NgZone, OnInit, ChangeDetectorRef, AfterViewInit } from "@angular/core";
5
+ import { OnDestroy, Renderer2, ElementRef, EventEmitter, NgZone, OnInit, ChangeDetectorRef } from "@angular/core";
6
6
  import { FileRestrictions, FileInfo } from './types';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { UploadService } from './upload.service';
@@ -18,7 +18,7 @@ import * as i0 from "@angular/core";
18
18
  * @hidden
19
19
  */
20
20
  export declare const FILESELECT_VALUE_ACCESSOR: any;
21
- export declare class FileSelectComponent implements OnInit, AfterViewInit, OnDestroy {
21
+ export declare class FileSelectComponent implements OnInit, OnDestroy {
22
22
  private uploadService;
23
23
  private localization;
24
24
  private navigation;
@@ -98,15 +98,10 @@ export declare class FileSelectComponent implements OnInit, AfterViewInit, OnDes
98
98
  * @hidden
99
99
  */
100
100
  _restrictions: FileRestrictions;
101
- /**
102
- * @hidden
103
- */
104
101
  fileList: FileMap;
105
102
  direction: Direction;
106
- /**
107
- * @hidden
108
- */
109
103
  wrapper: HTMLElement;
104
+ inputElementId: string;
110
105
  private documentClick;
111
106
  private blurSubscription;
112
107
  private wrapperFocusSubscription;
@@ -115,7 +110,6 @@ export declare class FileSelectComponent implements OnInit, AfterViewInit, OnDes
115
110
  private subs;
116
111
  constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService, dropZoneService: DropZoneService, ngZone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, wrapper: ElementRef);
117
112
  ngOnInit(): void;
118
- ngAfterViewInit(): void;
119
113
  /**
120
114
  * @hidden
121
115
  */
package/index.d.ts CHANGED
@@ -18,7 +18,6 @@ export { FileListItemActionButtonComponent } from './rendering/file-list-item-ac
18
18
  export { FileListMultipleItemsComponent } from './rendering/file-list-multiple-items.component';
19
19
  export { FileTemplateDirective } from './templates/file-template.directive';
20
20
  export { FileInfoTemplateDirective } from './templates/file-info-template.directive';
21
- export { TemplateContextDirective } from './templates/template-context.directive';
22
21
  export { UploadStatusTotalComponent } from './rendering/upload-status-total.component';
23
22
  export { UploadActionButtonsComponent } from './rendering/upload-action-buttons.component';
24
23
  export { UploadDropZoneDirective } from './dropzone-external.directive';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-upload",
3
- "version": "11.1.0-develop.3",
3
+ "version": "11.1.0-develop.5",
4
4
  "description": "Kendo UI Angular Upload Component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,16 +23,16 @@
23
23
  "@angular/core": "13 - 15",
24
24
  "@angular/platform-browser": "13 - 15",
25
25
  "@progress/kendo-licensing": "^1.0.2",
26
- "@progress/kendo-angular-common": "11.1.0-develop.3",
27
- "@progress/kendo-angular-l10n": "11.1.0-develop.3",
28
- "@progress/kendo-angular-icons": "11.1.0-develop.3",
29
- "@progress/kendo-angular-buttons": "11.1.0-develop.3",
30
- "@progress/kendo-angular-progressbar": "11.1.0-develop.3",
26
+ "@progress/kendo-angular-common": "11.1.0-develop.5",
27
+ "@progress/kendo-angular-l10n": "11.1.0-develop.5",
28
+ "@progress/kendo-angular-icons": "11.1.0-develop.5",
29
+ "@progress/kendo-angular-buttons": "11.1.0-develop.5",
30
+ "@progress/kendo-angular-progressbar": "11.1.0-develop.5",
31
31
  "rxjs": "^6.5.3 || ^7.0.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "tslib": "^2.3.1",
35
- "@progress/kendo-angular-schematics": "11.1.0-develop.3"
35
+ "@progress/kendo-angular-schematics": "11.1.0-develop.5"
36
36
  },
37
37
  "schematics": "./schematics/collection.json",
38
38
  "module": "fesm2015/progress-kendo-angular-upload.mjs",
@@ -10,9 +10,9 @@ function default_1(options) {
10
10
  ], peerDependencies: {
11
11
  // peer dep of the icons
12
12
  '@progress/kendo-svg-icons': '^1.0.0',
13
- '@progress/kendo-angular-buttons': '11.1.0-develop.3',
14
- '@progress/kendo-angular-progressbar': '11.1.0-develop.3',
15
- '@progress/kendo-angular-popup': '11.1.0-develop.3',
13
+ '@progress/kendo-angular-buttons': '11.1.0-develop.5',
14
+ '@progress/kendo-angular-progressbar': '11.1.0-develop.5',
15
+ '@progress/kendo-angular-popup': '11.1.0-develop.5',
16
16
  } });
17
17
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
18
18
  }
@@ -16,11 +16,10 @@ import * as i10 from "./rendering/file-list-multiple-items.component";
16
16
  import * as i11 from "./rendering/file-list-single-item.component";
17
17
  import * as i12 from "./file-select.directive";
18
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
- import * as i16 from "@progress/kendo-angular-buttons";
22
- import * as i17 from "@progress/kendo-angular-progressbar";
23
- import * as i18 from "@progress/kendo-angular-icons";
19
+ import * as i14 from "@angular/common";
20
+ import * as i15 from "@progress/kendo-angular-buttons";
21
+ import * as i16 from "@progress/kendo-angular-progressbar";
22
+ import * as i17 from "@progress/kendo-angular-icons";
24
23
  /**
25
24
  * @hidden
26
25
  */
@@ -34,6 +33,6 @@ export declare const PUBLIC_DIRECTIVES: any[];
34
33
  */
35
34
  export declare class SharedModule {
36
35
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
37
- 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 i16.ButtonsModule, typeof i17.ProgressBarModule, typeof i18.IconsModule], [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 i16.ButtonsModule]>;
36
+ 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.CommonModule, typeof i15.ButtonsModule, typeof i16.ProgressBarModule, typeof i17.IconsModule], [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.CommonModule, typeof i15.ButtonsModule]>;
38
37
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
39
38
  }
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { HttpHeaders } from '@angular/common/http';
6
- import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2, ChangeDetectorRef, AfterViewInit } from '@angular/core';
6
+ import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2, ChangeDetectorRef } from '@angular/core';
7
7
  import { ControlValueAccessor } from '@angular/forms';
8
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
9
9
  import { Direction } from './types/direction';
@@ -25,7 +25,7 @@ export declare const UPLOAD_VALUE_ACCESSOR: any;
25
25
  /**
26
26
  * Represents the [Kendo UI Upload component for Angular]({% slug overview_upload %}).
27
27
  */
28
- export declare class UploadComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
28
+ export declare class UploadComponent implements OnInit, OnDestroy, ControlValueAccessor {
29
29
  private uploadService;
30
30
  private localization;
31
31
  private navigation;
@@ -239,15 +239,10 @@ export declare class UploadComponent implements OnInit, AfterViewInit, OnDestroy
239
239
  * @hidden
240
240
  */
241
241
  _restrictions: FileRestrictions;
242
- /**
243
- * @hidden
244
- */
245
242
  fileList: FileMap;
246
243
  direction: Direction;
247
- /**
248
- * @hidden
249
- */
250
244
  wrapper: HTMLElement;
245
+ inputElementId: string;
251
246
  private documentClick;
252
247
  private blurSubscription;
253
248
  private wrapperFocusSubscription;
@@ -256,7 +251,6 @@ export declare class UploadComponent implements OnInit, AfterViewInit, OnDestroy
256
251
  private subs;
257
252
  constructor(uploadService: UploadService, localization: LocalizationService, navigation: NavigationService, dropZoneService: DropZoneService, zone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, wrapper: ElementRef);
258
253
  ngOnInit(): void;
259
- ngAfterViewInit(): void;
260
254
  ngOnChanges(changes: any): void;
261
255
  ngOnDestroy(): void;
262
256
  /**
@@ -277,10 +271,6 @@ export declare class UploadComponent implements OnInit, AfterViewInit, OnDestroy
277
271
  * @hidden
278
272
  */
279
273
  setDisabledState(isDisabled: boolean): void;
280
- /**
281
- * @hidden
282
- */
283
- get selectButtonTabIndex(): number;
284
274
  /**
285
275
  * @hidden
286
276
  */
@@ -1,34 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, ViewContainerRef, Input } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export class TemplateContextDirective {
11
- constructor(viewContainerRef) {
12
- this.viewContainerRef = viewContainerRef;
13
- }
14
- set templateContext(context) {
15
- if (this.insertedViewRef) {
16
- this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
17
- this.insertedViewRef = undefined;
18
- }
19
- if (context.templateRef) {
20
- this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
21
- }
22
- }
23
- }
24
- TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
25
- TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, decorators: [{
27
- type: Directive,
28
- args: [{
29
- // eslint-disable-next-line @angular-eslint/directive-selector
30
- selector: '[templateContext]'
31
- }]
32
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
33
- type: Input
34
- }] } });
@@ -1,17 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ViewContainerRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class TemplateContextDirective {
11
- private viewContainerRef;
12
- private insertedViewRef;
13
- constructor(viewContainerRef: ViewContainerRef);
14
- set templateContext(context: any);
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContextDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateContextDirective, "[templateContext]", never, { "templateContext": "templateContext"; }, {}, never>;
17
- }