@progress/kendo-angular-utils 25.3.1-develop.2 → 25.4.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 * as i0 from '@angular/core';
6
- import { HostBinding, Input, Directive, Injectable, ChangeDetectionStrategy, Component, isDevMode, EventEmitter, Output, ContentChildren, NgModule, InjectionToken, Optional, Inject } from '@angular/core';
6
+ import { HostBinding, Input, Directive, Injectable, ChangeDetectionStrategy, Component, isDevMode, EventEmitter, Output, ContentChildren, NgModule, InjectionToken, signal, Optional, Inject } from '@angular/core';
7
7
  import { validatePackage } from '@progress/kendo-licensing';
8
8
  import { dispatchDragAndDrop, getScrollableParent, autoScroll } from '@progress/kendo-draggable-common';
9
9
  import { PreventableEvent, contains, isDocumentAvailable, parseCSSClassNames, isPresent as isPresent$1, areObjectsEqual } from '@progress/kendo-angular-common';
@@ -63,8 +63,8 @@ const packageMetadata = {
63
63
  productName: 'Kendo UI for Angular',
64
64
  productCode: 'KENDOUIANGULAR',
65
65
  productCodes: ['KENDOUIANGULAR'],
66
- publishDate: 1791536819,
67
- version: '25.3.1-develop.2',
66
+ publishDate: 1791873084,
67
+ version: '25.4.0-develop.1',
68
68
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
69
69
  };
70
70
 
@@ -2462,7 +2462,7 @@ class AdaptiveService {
2462
2462
  */
2463
2463
  sizeChanges = new BehaviorSubject(this.size);
2464
2464
  subs = new Subscription();
2465
- previousSize;
2465
+ previousSize = signal(null, ...(ngDevMode ? [{ debugName: "previousSize" }] : /* istanbul ignore next */ []));
2466
2466
  /**
2467
2467
  * @hidden
2468
2468
  */
@@ -2478,12 +2478,12 @@ class AdaptiveService {
2478
2478
  this.changes.next(this.adaptiveSettings);
2479
2479
  }
2480
2480
  if (isDocumentAvailable()) {
2481
- this.previousSize = this.size;
2481
+ this.previousSize.set(this.size);
2482
2482
  this.zone.runOutsideAngular(() => {
2483
2483
  this.subs.add(fromEvent(window, 'resize')
2484
- .pipe(filter(() => this.previousSize !== this.size))
2484
+ .pipe(tap(() => !this.previousSize() && (this.previousSize.set(this.size))), filter(() => this.previousSize() !== this.size))
2485
2485
  .subscribe(() => {
2486
- this.previousSize = this.size;
2486
+ this.previousSize.set(this.size);
2487
2487
  this.zone.run(() => {
2488
2488
  this.sizeChanges.next(this.size);
2489
2489
  });
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1791536819,
11
- "version": "25.3.1-develop.2",
10
+ "publishDate": 1791873084,
11
+ "version": "25.4.0-develop.1",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-utils",
3
- "version": "25.3.1-develop.2",
3
+ "version": "25.4.0-develop.1",
4
4
  "description": "Kendo UI Angular utils component",
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": 1791536819,
22
+ "publishDate": 1791873084,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
24
24
  }
25
25
  },
@@ -29,12 +29,12 @@
29
29
  "@angular/core": "20 - 22",
30
30
  "@angular/platform-browser": "20 - 22",
31
31
  "@progress/kendo-licensing": "^1.11.0",
32
- "@progress/kendo-angular-common": "25.3.1-develop.2",
32
+ "@progress/kendo-angular-common": "25.4.0-develop.1",
33
33
  "rxjs": "^6.5.3 || ^7.0.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "tslib": "^2.3.1",
37
- "@progress/kendo-angular-schematics": "25.3.1-develop.2",
37
+ "@progress/kendo-angular-schematics": "25.4.0-develop.1",
38
38
  "@progress/kendo-draggable-common": "^0.2.3"
39
39
  },
40
40
  "schematics": "./schematics/collection.json",