@progress/kendo-angular-navigation 26.2.0-develop.5 → 26.2.0-develop.7
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.
|
@@ -7,11 +7,9 @@ import { signal, Input, HostBinding, ChangeDetectionStrategy, Component, Optiona
|
|
|
7
7
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
|
-
import { focusableSelector, closestInScope as closestInScope$1, isPresent as isPresent$1, isDocumentAvailable, Keys, provideComponentName, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { focusableSelector, closestInScope as closestInScope$1, isPresent as isPresent$1, isDocumentAvailable, Keys, playAnimation, provideComponentName, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
11
|
import { NgTemplateOutlet, NgClass, NgStyle, AsyncPipe } from '@angular/common';
|
|
12
12
|
import { Subscription, fromEvent, merge, ReplaySubject, Subject } from 'rxjs';
|
|
13
|
-
import * as i2 from '@angular/animations';
|
|
14
|
-
import { style, animate } from '@angular/animations';
|
|
15
13
|
import { take, filter, map, startWith, share } from 'rxjs/operators';
|
|
16
14
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
17
15
|
import { ButtonDirective } from '@progress/kendo-angular-buttons';
|
|
@@ -25,8 +23,8 @@ const packageMetadata = {
|
|
|
25
23
|
productName: 'Kendo UI for Angular',
|
|
26
24
|
productCode: 'KENDOUIANGULAR',
|
|
27
25
|
productCodes: ['KENDOUIANGULAR'],
|
|
28
|
-
publishDate:
|
|
29
|
-
version: '26.2.0-develop.
|
|
26
|
+
publishDate: 1795444876,
|
|
27
|
+
version: '26.2.0-develop.7',
|
|
30
28
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
31
29
|
};
|
|
32
30
|
|
|
@@ -521,19 +519,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
521
519
|
* @hidden
|
|
522
520
|
*/
|
|
523
521
|
function slideUp(duration, height) {
|
|
524
|
-
return
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
522
|
+
return {
|
|
523
|
+
keyframes: [
|
|
524
|
+
{ overflow: 'hidden', display: 'block', height: 0 },
|
|
525
|
+
{ overflow: 'hidden', display: 'block', height }
|
|
526
|
+
],
|
|
527
|
+
options: { duration, easing: 'ease-in', fill: 'forwards' }
|
|
528
|
+
};
|
|
528
529
|
}
|
|
529
530
|
/**
|
|
530
531
|
* @hidden
|
|
531
532
|
*/
|
|
532
533
|
function slideDown(duration, height) {
|
|
533
|
-
return
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
534
|
+
return {
|
|
535
|
+
keyframes: [
|
|
536
|
+
{ overflow: 'hidden', height },
|
|
537
|
+
{ overflow: 'hidden', height: 0 }
|
|
538
|
+
],
|
|
539
|
+
options: { duration, easing: 'ease-in', fill: 'forwards' }
|
|
540
|
+
};
|
|
537
541
|
}
|
|
538
542
|
|
|
539
543
|
/**
|
|
@@ -785,7 +789,6 @@ class ActionSheetComponent {
|
|
|
785
789
|
ngZone;
|
|
786
790
|
renderer;
|
|
787
791
|
localizationService;
|
|
788
|
-
builder;
|
|
789
792
|
cdr;
|
|
790
793
|
/**
|
|
791
794
|
* @hidden
|
|
@@ -997,17 +1000,16 @@ class ActionSheetComponent {
|
|
|
997
1000
|
dynamicRTLSubscription;
|
|
998
1001
|
rtl = signal(false, ...(ngDevMode ? [{ debugName: "rtl" }] : []));
|
|
999
1002
|
domSubs = new Subscription();
|
|
1000
|
-
|
|
1003
|
+
activeAnimation;
|
|
1001
1004
|
animationEnd = new EventEmitter();
|
|
1002
1005
|
get _isFullscreen() {
|
|
1003
1006
|
return this.hasFullscreenClass(this._cssClass());
|
|
1004
1007
|
}
|
|
1005
|
-
constructor(element, ngZone, renderer, localizationService,
|
|
1008
|
+
constructor(element, ngZone, renderer, localizationService, cdr) {
|
|
1006
1009
|
this.element = element;
|
|
1007
1010
|
this.ngZone = ngZone;
|
|
1008
1011
|
this.renderer = renderer;
|
|
1009
1012
|
this.localizationService = localizationService;
|
|
1010
|
-
this.builder = builder;
|
|
1011
1013
|
this.cdr = cdr;
|
|
1012
1014
|
validatePackage(packageMetadata);
|
|
1013
1015
|
this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
|
|
@@ -1040,9 +1042,7 @@ class ActionSheetComponent {
|
|
|
1040
1042
|
if (this.dynamicRTLSubscription) {
|
|
1041
1043
|
this.dynamicRTLSubscription.unsubscribe();
|
|
1042
1044
|
}
|
|
1043
|
-
|
|
1044
|
-
this.player().destroy();
|
|
1045
|
-
}
|
|
1045
|
+
this.activeAnimation?.cancel();
|
|
1046
1046
|
}
|
|
1047
1047
|
/**
|
|
1048
1048
|
* @hidden
|
|
@@ -1244,19 +1244,17 @@ class ActionSheetComponent {
|
|
|
1244
1244
|
playAnimation(expanded) {
|
|
1245
1245
|
const duration = typeof this.animation !== 'boolean' && this.animation.duration ? this.animation.duration : DEFAULT_ANIMATION_CONFIG.duration;
|
|
1246
1246
|
const contentHeight = getComputedStyle(this.childContainer.nativeElement).height;
|
|
1247
|
-
const
|
|
1248
|
-
const
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
if (this.
|
|
1252
|
-
this.
|
|
1253
|
-
this.player().destroy();
|
|
1254
|
-
this.player.set(null);
|
|
1247
|
+
const { keyframes, options } = expanded ? slideUp(duration, contentHeight) : slideDown(duration, contentHeight);
|
|
1248
|
+
const animation = playAnimation(this.childContainer.nativeElement, keyframes, options, () => {
|
|
1249
|
+
this.ngZone.run(() => this.animationEnd.emit());
|
|
1250
|
+
animation.cancel();
|
|
1251
|
+
if (this.activeAnimation === animation) {
|
|
1252
|
+
this.activeAnimation = null;
|
|
1255
1253
|
}
|
|
1256
1254
|
});
|
|
1257
|
-
this.
|
|
1255
|
+
this.activeAnimation = animation;
|
|
1258
1256
|
}
|
|
1259
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token:
|
|
1257
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1260
1258
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: ActionSheetComponent, isStandalone: true, selector: "kendo-actionsheet", inputs: { actions: "actions", actionsLayout: "actionsLayout", overlayClickClose: "overlayClickClose", title: "title", subtitle: "subtitle", items: "items", cssClass: "cssClass", cssStyle: "cssStyle", animation: "animation", expanded: "expanded", titleId: "titleId", initialFocus: "initialFocus" }, outputs: { expandedChange: "expandedChange", action: "action", expand: "expand", collapse: "collapse", itemClick: "itemClick", overlayClick: "overlayClick" }, host: { properties: { "class.k-actionsheet-container": "this.hostClass", "attr.dir": "this.direction" } }, providers: [
|
|
1261
1259
|
LocalizationService,
|
|
1262
1260
|
{
|
|
@@ -1502,7 +1500,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
1502
1500
|
imports: [NgStyle, NgClass, NgTemplateOutlet, ActionSheetListComponent, ButtonDirective],
|
|
1503
1501
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1504
1502
|
}]
|
|
1505
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type:
|
|
1503
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }], propDecorators: { hostClass: [{
|
|
1506
1504
|
type: HostBinding,
|
|
1507
1505
|
args: ['class.k-actionsheet-container']
|
|
1508
1506
|
}], direction: [{
|
package/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { AfterViewInit, OnDestroy, ElementRef, Renderer2, TemplateRef, Injector,
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
9
|
import { ButtonSize, ButtonFillMode, ButtonThemeColor } from '@progress/kendo-angular-buttons';
|
|
10
|
-
import { AnimationBuilder } from '@angular/animations';
|
|
11
10
|
import { Observable } from 'rxjs';
|
|
12
11
|
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
13
12
|
import { SVGIcon as SVGIcon$1 } from '@progress/kendo-angular-icons';
|
|
@@ -508,7 +507,6 @@ declare class ActionSheetComponent implements AfterViewChecked, AfterViewInit, O
|
|
|
508
507
|
private ngZone;
|
|
509
508
|
private renderer;
|
|
510
509
|
private localizationService;
|
|
511
|
-
private builder;
|
|
512
510
|
private cdr;
|
|
513
511
|
/**
|
|
514
512
|
* @hidden
|
|
@@ -670,10 +668,10 @@ declare class ActionSheetComponent implements AfterViewChecked, AfterViewInit, O
|
|
|
670
668
|
private dynamicRTLSubscription;
|
|
671
669
|
private rtl;
|
|
672
670
|
private domSubs;
|
|
673
|
-
private
|
|
671
|
+
private activeAnimation;
|
|
674
672
|
private animationEnd;
|
|
675
673
|
private get _isFullscreen();
|
|
676
|
-
constructor(element: ElementRef, ngZone: NgZone, renderer: Renderer2, localizationService: LocalizationService,
|
|
674
|
+
constructor(element: ElementRef, ngZone: NgZone, renderer: Renderer2, localizationService: LocalizationService, cdr: ChangeDetectorRef);
|
|
677
675
|
ngAfterViewInit(): void;
|
|
678
676
|
ngAfterViewChecked(): void;
|
|
679
677
|
ngOnChanges(changes: SimpleChanges): void;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "26.2.0-develop.
|
|
10
|
+
"publishDate": 1795444876,
|
|
11
|
+
"version": "26.2.0-develop.7",
|
|
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-navigation",
|
|
3
|
-
"version": "26.2.0-develop.
|
|
3
|
+
"version": "26.2.0-develop.7",
|
|
4
4
|
"description": "Kendo UI Navigation for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -35,25 +35,24 @@
|
|
|
35
35
|
"package": {
|
|
36
36
|
"productName": "Kendo UI for Angular",
|
|
37
37
|
"productCode": "KENDOUIANGULAR",
|
|
38
|
-
"publishDate":
|
|
38
|
+
"publishDate": 1795444876,
|
|
39
39
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@angular/animations": "20 - 22",
|
|
44
43
|
"@angular/common": "20 - 22",
|
|
45
44
|
"@angular/core": "20 - 22",
|
|
46
45
|
"@angular/platform-browser": "20 - 22",
|
|
47
46
|
"@progress/kendo-licensing": "^1.13.1",
|
|
48
|
-
"@progress/kendo-angular-buttons": "26.2.0-develop.
|
|
49
|
-
"@progress/kendo-angular-common": "26.2.0-develop.
|
|
50
|
-
"@progress/kendo-angular-icons": "26.2.0-develop.
|
|
51
|
-
"@progress/kendo-angular-l10n": "26.2.0-develop.
|
|
47
|
+
"@progress/kendo-angular-buttons": "26.2.0-develop.7",
|
|
48
|
+
"@progress/kendo-angular-common": "26.2.0-develop.7",
|
|
49
|
+
"@progress/kendo-angular-icons": "26.2.0-develop.7",
|
|
50
|
+
"@progress/kendo-angular-l10n": "26.2.0-develop.7",
|
|
52
51
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
53
52
|
},
|
|
54
53
|
"dependencies": {
|
|
55
54
|
"tslib": "^2.3.1",
|
|
56
|
-
"@progress/kendo-angular-schematics": "26.2.0-develop.
|
|
55
|
+
"@progress/kendo-angular-schematics": "26.2.0-develop.7"
|
|
57
56
|
},
|
|
58
57
|
"schematics": "./schematics/collection.json",
|
|
59
58
|
"module": "fesm2022/progress-kendo-angular-navigation.mjs",
|