@progress/kendo-angular-treeview 18.5.0-develop.7 → 18.5.0-develop.8

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 © 2025 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 { ViewContainerRef, TemplateRef, ComponentFactoryResolver } from '@angular/core';
5
+ import { ViewContainerRef, TemplateRef } from '@angular/core';
6
6
  import { DragClueComponent } from './drag-clue.component';
7
7
  import { DragAndDropScrollSettings, DropAction } from '../models';
8
8
  import { DragAndDropAssetService } from '../editing-services/drag-and-drop-asset.service';
@@ -20,10 +20,9 @@ export declare const RETURN_ANIMATION_DURATION = 200;
20
20
  * @hidden
21
21
  */
22
22
  export declare class DragClueService extends DragAndDropAssetService<DragClueComponent> {
23
- private componentFactoryResolver;
24
23
  private returnAnimation;
25
24
  private scrollInterval;
26
- constructor(componentFactoryResolver: ComponentFactoryResolver);
25
+ constructor();
27
26
  initialize(container: ViewContainerRef, template?: TemplateRef<any>): void;
28
27
  ngOnDestroy(): void;
29
28
  move(left: number, top: number): void;
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2025 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 { ViewContainerRef, TemplateRef, ComponentFactoryResolver } from '@angular/core';
5
+ import { ViewContainerRef, TemplateRef } from '@angular/core';
6
6
  import { DropHintComponent } from './drop-hint.component';
7
7
  import { DragAndDropAssetService } from '../editing-services/drag-and-drop-asset.service';
8
8
  import { DropAction } from '../models';
@@ -12,8 +12,7 @@ import * as i0 from "@angular/core";
12
12
  * @hidden
13
13
  */
14
14
  export declare class DropHintService extends DragAndDropAssetService<DropHintComponent> {
15
- private componentFactoryResolver;
16
- constructor(componentFactoryResolver: ComponentFactoryResolver);
15
+ constructor();
17
16
  initialize(container: ViewContainerRef, template?: TemplateRef<any>): void;
18
17
  updateDropHintData(action: DropAction, sourceItem: TreeItemLookup, destinationItem: TreeItemLookup): void;
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DropHintService, never>;
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2025 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 { Injectable, ComponentFactoryResolver } from '@angular/core';
5
+ import { Injectable } from '@angular/core';
6
6
  import { DragClueComponent } from './drag-clue.component';
7
7
  import { ScrollDirection } from '../models';
8
8
  import { isPresent, dataItemsEqual } from '../../utils';
@@ -21,19 +21,16 @@ export const RETURN_ANIMATION_DURATION = 200;
21
21
  * @hidden
22
22
  */
23
23
  export class DragClueService extends DragAndDropAssetService {
24
- componentFactoryResolver;
25
24
  returnAnimation;
26
25
  scrollInterval;
27
- constructor(componentFactoryResolver) {
26
+ constructor() {
28
27
  super();
29
- this.componentFactoryResolver = componentFactoryResolver;
30
28
  }
31
29
  initialize(container, template) {
32
30
  if (isPresent(this._componentRef)) {
33
31
  this.ngOnDestroy();
34
32
  }
35
- const clueComponentFactory = this.componentFactoryResolver.resolveComponentFactory(DragClueComponent);
36
- this.componentRef = container.createComponent(clueComponentFactory);
33
+ this.componentRef = container.createComponent(DragClueComponent);
37
34
  this.hide();
38
35
  this.componentRef.instance.template = template;
39
36
  this.componentRef.changeDetectorRef.detectChanges();
@@ -118,9 +115,9 @@ export class DragClueService extends DragAndDropAssetService {
118
115
  this.scrollInterval = null;
119
116
  }
120
117
  }
121
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragClueService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
118
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragClueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
122
119
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragClueService });
123
120
  }
124
121
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragClueService, decorators: [{
125
122
  type: Injectable
126
- }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
123
+ }], ctorParameters: function () { return []; } });
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2025 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 { Injectable, ComponentFactoryResolver } from '@angular/core';
5
+ import { Injectable } from '@angular/core';
6
6
  import { dataItemsEqual, isPresent } from '../../utils';
7
7
  import { DropHintComponent } from './drop-hint.component';
8
8
  import { DragAndDropAssetService } from '../editing-services/drag-and-drop-asset.service';
@@ -11,17 +11,14 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export class DropHintService extends DragAndDropAssetService {
14
- componentFactoryResolver;
15
- constructor(componentFactoryResolver) {
14
+ constructor() {
16
15
  super();
17
- this.componentFactoryResolver = componentFactoryResolver;
18
16
  }
19
17
  initialize(container, template) {
20
18
  if (isPresent(this._componentRef)) {
21
19
  this.ngOnDestroy();
22
20
  }
23
- const hintComponentFactory = this.componentFactoryResolver.resolveComponentFactory(DropHintComponent);
24
- this.componentRef = container.createComponent(hintComponentFactory);
21
+ this.componentRef = container.createComponent(DropHintComponent);
25
22
  this.hide();
26
23
  this.componentRef.instance.template = template;
27
24
  this.componentRef.changeDetectorRef.detectChanges();
@@ -36,9 +33,9 @@ export class DropHintService extends DragAndDropAssetService {
36
33
  dropHint.destinationItem = destinationItem;
37
34
  dropHint.detectChanges();
38
35
  }
39
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropHintService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropHintService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
40
37
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropHintService });
41
38
  }
42
39
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropHintService, decorators: [{
43
40
  type: Injectable
44
- }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
41
+ }], ctorParameters: function () { return []; } });
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1744027177,
14
- version: '18.5.0-develop.7',
13
+ publishDate: 1744028945,
14
+ version: '18.5.0-develop.8',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -28,8 +28,8 @@ const packageMetadata = {
28
28
  productName: 'Kendo UI for Angular',
29
29
  productCode: 'KENDOUIANGULAR',
30
30
  productCodes: ['KENDOUIANGULAR'],
31
- publishDate: 1744027177,
32
- version: '18.5.0-develop.7',
31
+ publishDate: 1744028945,
32
+ version: '18.5.0-develop.8',
33
33
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
34
34
  };
35
35
 
@@ -4085,19 +4085,16 @@ const RETURN_ANIMATION_DURATION = 200;
4085
4085
  * @hidden
4086
4086
  */
4087
4087
  class DragClueService extends DragAndDropAssetService {
4088
- componentFactoryResolver;
4089
4088
  returnAnimation;
4090
4089
  scrollInterval;
4091
- constructor(componentFactoryResolver) {
4090
+ constructor() {
4092
4091
  super();
4093
- this.componentFactoryResolver = componentFactoryResolver;
4094
4092
  }
4095
4093
  initialize(container, template) {
4096
4094
  if (isPresent(this._componentRef)) {
4097
4095
  this.ngOnDestroy();
4098
4096
  }
4099
- const clueComponentFactory = this.componentFactoryResolver.resolveComponentFactory(DragClueComponent);
4100
- this.componentRef = container.createComponent(clueComponentFactory);
4097
+ this.componentRef = container.createComponent(DragClueComponent);
4101
4098
  this.hide();
4102
4099
  this.componentRef.instance.template = template;
4103
4100
  this.componentRef.changeDetectorRef.detectChanges();
@@ -4182,12 +4179,12 @@ class DragClueService extends DragAndDropAssetService {
4182
4179
  this.scrollInterval = null;
4183
4180
  }
4184
4181
  }
4185
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragClueService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
4182
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragClueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4186
4183
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragClueService });
4187
4184
  }
4188
4185
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragClueService, decorators: [{
4189
4186
  type: Injectable
4190
- }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
4187
+ }], ctorParameters: function () { return []; } });
4191
4188
 
4192
4189
  /**
4193
4190
  * @hidden
@@ -4285,17 +4282,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4285
4282
  * @hidden
4286
4283
  */
4287
4284
  class DropHintService extends DragAndDropAssetService {
4288
- componentFactoryResolver;
4289
- constructor(componentFactoryResolver) {
4285
+ constructor() {
4290
4286
  super();
4291
- this.componentFactoryResolver = componentFactoryResolver;
4292
4287
  }
4293
4288
  initialize(container, template) {
4294
4289
  if (isPresent(this._componentRef)) {
4295
4290
  this.ngOnDestroy();
4296
4291
  }
4297
- const hintComponentFactory = this.componentFactoryResolver.resolveComponentFactory(DropHintComponent);
4298
- this.componentRef = container.createComponent(hintComponentFactory);
4292
+ this.componentRef = container.createComponent(DropHintComponent);
4299
4293
  this.hide();
4300
4294
  this.componentRef.instance.template = template;
4301
4295
  this.componentRef.changeDetectorRef.detectChanges();
@@ -4310,12 +4304,12 @@ class DropHintService extends DragAndDropAssetService {
4310
4304
  dropHint.destinationItem = destinationItem;
4311
4305
  dropHint.detectChanges();
4312
4306
  }
4313
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropHintService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
4307
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropHintService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4314
4308
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropHintService });
4315
4309
  }
4316
4310
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropHintService, decorators: [{
4317
4311
  type: Injectable
4318
- }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
4312
+ }], ctorParameters: function () { return []; } });
4319
4313
 
4320
4314
  /**
4321
4315
  * Represents the template for the TreeView drag clue when an item is dragged. To define the clue template,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-treeview",
3
- "version": "18.5.0-develop.7",
3
+ "version": "18.5.0-develop.8",
4
4
  "description": "Kendo UI TreeView for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,7 +19,7 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1744027177,
22
+ "publishDate": 1744028945,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
24
24
  }
25
25
  },
@@ -29,15 +29,15 @@
29
29
  "@angular/core": "16 - 19",
30
30
  "@angular/platform-browser": "16 - 19",
31
31
  "@progress/kendo-licensing": "^1.5.0",
32
- "@progress/kendo-angular-common": "18.5.0-develop.7",
33
- "@progress/kendo-angular-inputs": "18.5.0-develop.7",
34
- "@progress/kendo-angular-icons": "18.5.0-develop.7",
35
- "@progress/kendo-angular-l10n": "18.5.0-develop.7",
32
+ "@progress/kendo-angular-common": "18.5.0-develop.8",
33
+ "@progress/kendo-angular-inputs": "18.5.0-develop.8",
34
+ "@progress/kendo-angular-icons": "18.5.0-develop.8",
35
+ "@progress/kendo-angular-l10n": "18.5.0-develop.8",
36
36
  "rxjs": "^6.5.3 || ^7.0.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "tslib": "^2.3.1",
40
- "@progress/kendo-angular-schematics": "18.5.0-develop.7",
40
+ "@progress/kendo-angular-schematics": "18.5.0-develop.8",
41
41
  "@progress/kendo-common": "^1.0.1",
42
42
  "@progress/kendo-draggable": "^3.0.2"
43
43
  },
@@ -4,10 +4,10 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeViewModule', package: 'treeview', peerDependencies: {
6
6
  // Peers of kendo-angular-inputs
7
- '@progress/kendo-angular-buttons': '18.5.0-develop.7',
8
- '@progress/kendo-angular-dialog': '18.5.0-develop.7',
9
- '@progress/kendo-angular-intl': '18.5.0-develop.7',
10
- '@progress/kendo-angular-popup': '18.5.0-develop.7',
7
+ '@progress/kendo-angular-buttons': '18.5.0-develop.8',
8
+ '@progress/kendo-angular-dialog': '18.5.0-develop.8',
9
+ '@progress/kendo-angular-intl': '18.5.0-develop.8',
10
+ '@progress/kendo-angular-popup': '18.5.0-develop.8',
11
11
  '@progress/kendo-drawing': '^1.9.3',
12
12
  // Peer dependency of icons
13
13
  '@progress/kendo-svg-icons': '^4.0.0'