@progress/kendo-angular-common 25.3.1-develop.1 → 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 { afterNextRender, EventEmitter, signal, Output, Input, Directive, Injectable, ChangeDetectionStrategy, Component, InjectionToken, HostBinding, ViewChild, Optional, isDevMode,
|
|
6
|
+
import { afterNextRender, EventEmitter, signal, Output, Input, Directive, Injectable, ChangeDetectionStrategy, Component, InjectionToken, HostBinding, ViewChild, Optional, isDevMode, Injector } from '@angular/core';
|
|
7
7
|
import { detectDesktopBrowser, detectMobileOS } from '@progress/kendo-common';
|
|
8
8
|
import { Draggable } from '@progress/kendo-draggable';
|
|
9
9
|
import { auditTime } from 'rxjs/operators';
|
|
@@ -303,8 +303,8 @@ class DraggableDirective {
|
|
|
303
303
|
kendoPress = new EventEmitter();
|
|
304
304
|
kendoDrag = new EventEmitter();
|
|
305
305
|
kendoRelease = new EventEmitter();
|
|
306
|
-
draggable = signal(undefined, ...(ngDevMode ? [{ debugName: "draggable" }] : []));
|
|
307
|
-
_enableDrag = signal(true, ...(ngDevMode ? [{ debugName: "_enableDrag" }] : []));
|
|
306
|
+
draggable = signal(undefined, ...(ngDevMode ? [{ debugName: "draggable" }] : /* istanbul ignore next */ []));
|
|
307
|
+
_enableDrag = signal(true, ...(ngDevMode ? [{ debugName: "_enableDrag" }] : /* istanbul ignore next */ []));
|
|
308
308
|
constructor(element, ngZone) {
|
|
309
309
|
this.element = element;
|
|
310
310
|
this.ngZone = ngZone;
|
|
@@ -332,10 +332,10 @@ class DraggableDirective {
|
|
|
332
332
|
this.draggable.set(undefined);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
336
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
335
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: DraggableDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
336
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: DraggableDirective, isStandalone: true, selector: "[kendoDraggable]", inputs: { enableDrag: "enableDrag" }, outputs: { kendoPress: "kendoPress", kendoDrag: "kendoDrag", kendoRelease: "kendoRelease" }, ngImport: i0 });
|
|
337
337
|
}
|
|
338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: DraggableDirective, decorators: [{
|
|
339
339
|
type: Directive,
|
|
340
340
|
args: [{
|
|
341
341
|
selector: '[kendoDraggable]',
|
|
@@ -504,7 +504,7 @@ class EventsOutsideAngularDirective {
|
|
|
504
504
|
renderer;
|
|
505
505
|
set events(value) { this._events.set(value); }
|
|
506
506
|
get events() { return this._events(); }
|
|
507
|
-
_scope = signal(undefined, ...(ngDevMode ? [{ debugName: "_scope" }] : []));
|
|
507
|
+
_scope = signal(undefined, ...(ngDevMode ? [{ debugName: "_scope" }] : /* istanbul ignore next */ []));
|
|
508
508
|
set scope(value) { this._scope.set(value); }
|
|
509
509
|
get scope() { return this._scope(); }
|
|
510
510
|
subscriptions;
|
|
@@ -513,7 +513,7 @@ class EventsOutsideAngularDirective {
|
|
|
513
513
|
this.ngZone = ngZone;
|
|
514
514
|
this.renderer = renderer;
|
|
515
515
|
}
|
|
516
|
-
_events = signal({}, ...(ngDevMode ? [{ debugName: "_events" }] : []));
|
|
516
|
+
_events = signal({}, ...(ngDevMode ? [{ debugName: "_events" }] : /* istanbul ignore next */ []));
|
|
517
517
|
ngOnInit() {
|
|
518
518
|
if (!this.element?.nativeElement) {
|
|
519
519
|
return;
|
|
@@ -536,10 +536,10 @@ class EventsOutsideAngularDirective {
|
|
|
536
536
|
this.subscriptions = null;
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
540
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
539
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EventsOutsideAngularDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
540
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EventsOutsideAngularDirective, isStandalone: true, selector: "[kendoEventsOutsideAngular]", inputs: { events: ["kendoEventsOutsideAngular", "events"], scope: "scope" }, ngImport: i0 });
|
|
541
541
|
}
|
|
542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EventsOutsideAngularDirective, decorators: [{
|
|
543
543
|
type: Directive,
|
|
544
544
|
args: [{
|
|
545
545
|
selector: '[kendoEventsOutsideAngular]',
|
|
@@ -565,11 +565,11 @@ class ResizeService {
|
|
|
565
565
|
get state() { return this._state(); }
|
|
566
566
|
set parentElement(value) { this._parentElement.set(value); }
|
|
567
567
|
get parentElement() { return this._parentElement(); }
|
|
568
|
-
_acceptedSize = signal(false, ...(ngDevMode ? [{ debugName: "_acceptedSize" }] : []));
|
|
569
|
-
_lastWidth = signal(undefined, ...(ngDevMode ? [{ debugName: "_lastWidth" }] : []));
|
|
570
|
-
_lastHeight = signal(undefined, ...(ngDevMode ? [{ debugName: "_lastHeight" }] : []));
|
|
571
|
-
_state = signal(0 /* ServiceState.Initial */, ...(ngDevMode ? [{ debugName: "_state" }] : []));
|
|
572
|
-
_parentElement = signal(null, ...(ngDevMode ? [{ debugName: "_parentElement" }] : []));
|
|
568
|
+
_acceptedSize = signal(false, ...(ngDevMode ? [{ debugName: "_acceptedSize" }] : /* istanbul ignore next */ []));
|
|
569
|
+
_lastWidth = signal(undefined, ...(ngDevMode ? [{ debugName: "_lastWidth" }] : /* istanbul ignore next */ []));
|
|
570
|
+
_lastHeight = signal(undefined, ...(ngDevMode ? [{ debugName: "_lastHeight" }] : /* istanbul ignore next */ []));
|
|
571
|
+
_state = signal(0 /* ServiceState.Initial */, ...(ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []));
|
|
572
|
+
_parentElement = signal(null, ...(ngDevMode ? [{ debugName: "_parentElement" }] : /* istanbul ignore next */ []));
|
|
573
573
|
constructor(resizeBatchService) {
|
|
574
574
|
this.resizeBatchService = resizeBatchService;
|
|
575
575
|
}
|
|
@@ -665,9 +665,9 @@ class ResizeCompatService extends ResizeService {
|
|
|
665
665
|
get expandChild() { return this._expandChild(); }
|
|
666
666
|
set shrink(value) { this._shrink.set(value); }
|
|
667
667
|
get shrink() { return this._shrink(); }
|
|
668
|
-
_expand = signal(null, ...(ngDevMode ? [{ debugName: "_expand" }] : []));
|
|
669
|
-
_expandChild = signal(null, ...(ngDevMode ? [{ debugName: "_expandChild" }] : []));
|
|
670
|
-
_shrink = signal(null, ...(ngDevMode ? [{ debugName: "_shrink" }] : []));
|
|
668
|
+
_expand = signal(null, ...(ngDevMode ? [{ debugName: "_expand" }] : /* istanbul ignore next */ []));
|
|
669
|
+
_expandChild = signal(null, ...(ngDevMode ? [{ debugName: "_expandChild" }] : /* istanbul ignore next */ []));
|
|
670
|
+
_shrink = signal(null, ...(ngDevMode ? [{ debugName: "_shrink" }] : /* istanbul ignore next */ []));
|
|
671
671
|
subscription;
|
|
672
672
|
constructor(resizeBatchService, element, ngZone) {
|
|
673
673
|
super(resizeBatchService);
|
|
@@ -768,7 +768,7 @@ class ResizeObserverService extends ResizeService {
|
|
|
768
768
|
static supported() {
|
|
769
769
|
return HAS_OBSERVER;
|
|
770
770
|
}
|
|
771
|
-
_resizeObserver = signal(null, ...(ngDevMode ? [{ debugName: "_resizeObserver" }] : []));
|
|
771
|
+
_resizeObserver = signal(null, ...(ngDevMode ? [{ debugName: "_resizeObserver" }] : /* istanbul ignore next */ []));
|
|
772
772
|
constructor(resizeBatchService, element, ngZone) {
|
|
773
773
|
super(resizeBatchService);
|
|
774
774
|
this.element = element;
|
|
@@ -802,7 +802,7 @@ class ResizeBatchService {
|
|
|
802
802
|
ngZone;
|
|
803
803
|
set scheduled(value) { this._scheduled.set(value); }
|
|
804
804
|
get scheduled() { return this._scheduled(); }
|
|
805
|
-
_scheduled = signal([], ...(ngDevMode ? [{ debugName: "_scheduled" }] : []));
|
|
805
|
+
_scheduled = signal([], ...(ngDevMode ? [{ debugName: "_scheduled" }] : /* istanbul ignore next */ []));
|
|
806
806
|
resolvedPromise = Promise.resolve(null);
|
|
807
807
|
subscription;
|
|
808
808
|
constructor(ngZone) {
|
|
@@ -852,10 +852,10 @@ class ResizeBatchService {
|
|
|
852
852
|
this.scheduled = [];
|
|
853
853
|
this.unsubscribe();
|
|
854
854
|
}
|
|
855
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
856
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
855
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ResizeBatchService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
856
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ResizeBatchService, providedIn: 'root' });
|
|
857
857
|
}
|
|
858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ResizeBatchService, decorators: [{
|
|
859
859
|
type: Injectable,
|
|
860
860
|
args: [{
|
|
861
861
|
providedIn: 'root'
|
|
@@ -899,8 +899,8 @@ class ResizeSensorComponent {
|
|
|
899
899
|
}
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
_rateLimit = signal(DEFAULT_RATE_LIMIT, ...(ngDevMode ? [{ debugName: "_rateLimit" }] : []));
|
|
903
|
-
_resizeService = signal(undefined, ...(ngDevMode ? [{ debugName: "_resizeService" }] : []));
|
|
902
|
+
_rateLimit = signal(DEFAULT_RATE_LIMIT, ...(ngDevMode ? [{ debugName: "_rateLimit" }] : /* istanbul ignore next */ []));
|
|
903
|
+
_resizeService = signal(undefined, ...(ngDevMode ? [{ debugName: "_resizeService" }] : /* istanbul ignore next */ []));
|
|
904
904
|
ngAfterViewChecked() {
|
|
905
905
|
this.resizeService.checkChanges();
|
|
906
906
|
}
|
|
@@ -911,10 +911,10 @@ class ResizeSensorComponent {
|
|
|
911
911
|
acceptSize(size) {
|
|
912
912
|
this.resizeService.acceptSize(size);
|
|
913
913
|
}
|
|
914
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
915
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
914
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ResizeSensorComponent, deps: [{ token: ResizeBatchService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
915
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ResizeSensorComponent, isStandalone: true, selector: "kendo-resize-sensor", inputs: { rateLimit: "rateLimit" }, outputs: { resize: "resize" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
916
916
|
}
|
|
917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ResizeSensorComponent, decorators: [{
|
|
918
918
|
type: Component,
|
|
919
919
|
args: [{
|
|
920
920
|
selector: 'kendo-resize-sensor',
|
|
@@ -1263,14 +1263,14 @@ class WatermarkOverlayComponent {
|
|
|
1263
1263
|
});
|
|
1264
1264
|
}
|
|
1265
1265
|
licenseKeyUrl = licenseKeyUrl;
|
|
1266
|
-
_isOpen = signal(true, ...(ngDevMode ? [{ debugName: "_isOpen" }] : []));
|
|
1267
|
-
_isMobile = signal(false, ...(ngDevMode ? [{ debugName: "_isMobile" }] : []));
|
|
1268
|
-
_isNarrow = signal(false, ...(ngDevMode ? [{ debugName: "_isNarrow" }] : []));
|
|
1269
|
-
_isCloseHovered = signal(false, ...(ngDevMode ? [{ debugName: "_isCloseHovered" }] : []));
|
|
1270
|
-
_isCTAHovered = signal(false, ...(ngDevMode ? [{ debugName: "_isCTAHovered" }] : []));
|
|
1271
|
-
_bannerMounted = signal(false, ...(ngDevMode ? [{ debugName: "_bannerMounted" }] : []));
|
|
1272
|
-
_licenseMessage = signal(undefined, ...(ngDevMode ? [{ debugName: "_licenseMessage" }] : []));
|
|
1273
|
-
_extraMessages = signal([], ...(ngDevMode ? [{ debugName: "_extraMessages" }] : []));
|
|
1266
|
+
_isOpen = signal(true, ...(ngDevMode ? [{ debugName: "_isOpen" }] : /* istanbul ignore next */ []));
|
|
1267
|
+
_isMobile = signal(false, ...(ngDevMode ? [{ debugName: "_isMobile" }] : /* istanbul ignore next */ []));
|
|
1268
|
+
_isNarrow = signal(false, ...(ngDevMode ? [{ debugName: "_isNarrow" }] : /* istanbul ignore next */ []));
|
|
1269
|
+
_isCloseHovered = signal(false, ...(ngDevMode ? [{ debugName: "_isCloseHovered" }] : /* istanbul ignore next */ []));
|
|
1270
|
+
_isCTAHovered = signal(false, ...(ngDevMode ? [{ debugName: "_isCTAHovered" }] : /* istanbul ignore next */ []));
|
|
1271
|
+
_bannerMounted = signal(false, ...(ngDevMode ? [{ debugName: "_bannerMounted" }] : /* istanbul ignore next */ []));
|
|
1272
|
+
_licenseMessage = signal(undefined, ...(ngDevMode ? [{ debugName: "_licenseMessage" }] : /* istanbul ignore next */ []));
|
|
1273
|
+
_extraMessages = signal([], ...(ngDevMode ? [{ debugName: "_extraMessages" }] : /* istanbul ignore next */ []));
|
|
1274
1274
|
getContent(msg) {
|
|
1275
1275
|
const iconContent = msg.notificationIcon?.content;
|
|
1276
1276
|
return {
|
|
@@ -1334,8 +1334,8 @@ class WatermarkOverlayComponent {
|
|
|
1334
1334
|
resetPresenceCheck() {
|
|
1335
1335
|
bannerPresentOnPage = false;
|
|
1336
1336
|
}
|
|
1337
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1338
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1337
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: WatermarkOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1338
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: WatermarkOverlayComponent, isStandalone: true, selector: "div[kendoWatermarkOverlay], kendo-watermark-overlay", inputs: { licenseMessage: "licenseMessage" }, host: { properties: { "style": "this.watermarkStyle" } }, viewQueries: [{ propertyName: "banner", first: true, predicate: ["banner"], descendants: true }], ngImport: i0, template: `
|
|
1339
1339
|
<ng-template #buttonTemplate>
|
|
1340
1340
|
<button
|
|
1341
1341
|
[ngStyle]="{
|
|
@@ -1489,7 +1489,7 @@ class WatermarkOverlayComponent {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1491
1491
|
}
|
|
1492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: WatermarkOverlayComponent, decorators: [{
|
|
1493
1493
|
type: Component,
|
|
1494
1494
|
args: [{
|
|
1495
1495
|
selector: 'div[kendoWatermarkOverlay], kendo-watermark-overlay',
|
|
@@ -1711,10 +1711,10 @@ class PrefixTemplateDirective {
|
|
|
1711
1711
|
constructor(templateRef) {
|
|
1712
1712
|
this.templateRef = templateRef;
|
|
1713
1713
|
}
|
|
1714
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1715
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1714
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: PrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1715
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: PrefixTemplateDirective, isStandalone: true, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
|
|
1716
1716
|
}
|
|
1717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: PrefixTemplateDirective, decorators: [{
|
|
1718
1718
|
type: Directive,
|
|
1719
1719
|
args: [{
|
|
1720
1720
|
selector: '[kendoPrefixTemplate]',
|
|
@@ -1765,10 +1765,10 @@ class SuffixTemplateDirective {
|
|
|
1765
1765
|
constructor(templateRef) {
|
|
1766
1766
|
this.templateRef = templateRef;
|
|
1767
1767
|
}
|
|
1768
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1769
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1768
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1769
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: SuffixTemplateDirective, isStandalone: true, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
|
|
1770
1770
|
}
|
|
1771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SuffixTemplateDirective, decorators: [{
|
|
1772
1772
|
type: Directive,
|
|
1773
1773
|
args: [{
|
|
1774
1774
|
selector: '[kendoSuffixTemplate]',
|
|
@@ -1822,10 +1822,10 @@ class SeparatorComponent {
|
|
|
1822
1822
|
* @hidden
|
|
1823
1823
|
*/
|
|
1824
1824
|
hostClass = true;
|
|
1825
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1826
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1825
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1826
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: SeparatorComponent, isStandalone: true, selector: "kendo-separator", inputs: { orientation: "orientation" }, host: { properties: { "class.k-input-separator-vertical": "this.vertical", "class.k-input-separator-horizontal": "this.horizontal", "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
|
|
1827
1827
|
}
|
|
1828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SeparatorComponent, decorators: [{
|
|
1829
1829
|
type: Component,
|
|
1830
1830
|
args: [{
|
|
1831
1831
|
selector: 'kendo-separator',
|
|
@@ -1950,10 +1950,10 @@ class ScrollbarService {
|
|
|
1950
1950
|
this.subscription?.unsubscribe();
|
|
1951
1951
|
this.subscription = null;
|
|
1952
1952
|
}
|
|
1953
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1954
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1953
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ScrollbarService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1954
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ScrollbarService, providedIn: 'root' });
|
|
1955
1955
|
}
|
|
1956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ScrollbarService, decorators: [{
|
|
1957
1957
|
type: Injectable,
|
|
1958
1958
|
args: [{
|
|
1959
1959
|
providedIn: 'root'
|
|
@@ -2017,8 +2017,8 @@ class ToggleButtonTabStopDirective {
|
|
|
2017
2017
|
focusButton;
|
|
2018
2018
|
isSplitButton;
|
|
2019
2019
|
observer;
|
|
2020
|
-
_active = signal(undefined, ...(ngDevMode ? [{ debugName: "_active" }] : []));
|
|
2021
|
-
_toggleButtonAriaLabel = signal('toggle popup', ...(ngDevMode ? [{ debugName: "_toggleButtonAriaLabel" }] : []));
|
|
2020
|
+
_active = signal(undefined, ...(ngDevMode ? [{ debugName: "_active" }] : /* istanbul ignore next */ []));
|
|
2021
|
+
_toggleButtonAriaLabel = signal('toggle popup', ...(ngDevMode ? [{ debugName: "_toggleButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
2022
2022
|
/**
|
|
2023
2023
|
* @hidden
|
|
2024
2024
|
*/
|
|
@@ -2210,10 +2210,10 @@ class ToggleButtonTabStopDirective {
|
|
|
2210
2210
|
this.observer.observe(mainFocusableElement, mutationConfig);
|
|
2211
2211
|
});
|
|
2212
2212
|
}
|
|
2213
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2214
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2213
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ToggleButtonTabStopDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.Injector }, { token: MultiTabStop }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2214
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: ToggleButtonTabStopDirective, isStandalone: true, selector: "[kendoToggleButtonTabStop]", inputs: { active: ["kendoToggleButtonTabStop", "active"], toggleButtonAriaLabel: "toggleButtonAriaLabel" }, usesOnChanges: true, ngImport: i0 });
|
|
2215
2215
|
}
|
|
2216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ToggleButtonTabStopDirective, decorators: [{
|
|
2217
2217
|
type: Directive,
|
|
2218
2218
|
args: [{
|
|
2219
2219
|
selector: '[kendoToggleButtonTabStop]',
|
|
@@ -2244,10 +2244,10 @@ class TemplateContextDirective {
|
|
|
2244
2244
|
constructor(viewContainerRef) {
|
|
2245
2245
|
this.viewContainerRef = viewContainerRef;
|
|
2246
2246
|
}
|
|
2247
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2248
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2247
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2248
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: TemplateContextDirective, isStandalone: true, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
2249
2249
|
}
|
|
2250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
2251
2251
|
type: Directive,
|
|
2252
2252
|
args: [{
|
|
2253
2253
|
selector: '[templateContext]',
|
|
@@ -2318,6 +2318,20 @@ const KENDO_TEMPLATE_CONTEXT = [
|
|
|
2318
2318
|
*/
|
|
2319
2319
|
const replaceMessagePlaceholder = (message, name, value) => (message ?? '').replace(new RegExp(`\\[\\[\\s*${name}\\s*]]|{\\s*${name}\\s*}`, 'g'), value);
|
|
2320
2320
|
|
|
2321
|
+
const COMPONENT_NAME_CONTEXT = new InjectionToken('Kendo Component Name Context');
|
|
2322
|
+
function componentNameChain(context) {
|
|
2323
|
+
// Resolve ancestors only after each context factory has returned: recursive embedded views
|
|
2324
|
+
// may share a provider factory while their individual node injectors are still being created.
|
|
2325
|
+
const names = [];
|
|
2326
|
+
let current = context;
|
|
2327
|
+
while (current) {
|
|
2328
|
+
if (current.name) {
|
|
2329
|
+
names.unshift(current.name);
|
|
2330
|
+
}
|
|
2331
|
+
current = current.injector.get(COMPONENT_NAME_CONTEXT, null, { skipSelf: true });
|
|
2332
|
+
}
|
|
2333
|
+
return names;
|
|
2334
|
+
}
|
|
2321
2335
|
/**
|
|
2322
2336
|
* An injection token that holds the accumulated component ancestry chain (outermost -> innermost).
|
|
2323
2337
|
* Kendo components add their identifier to the chain through `provideComponentName`.
|
|
@@ -2334,11 +2348,18 @@ const KENDO_COMPONENT_NAME = new InjectionToken('Kendo Component Name');
|
|
|
2334
2348
|
* @hidden
|
|
2335
2349
|
*/
|
|
2336
2350
|
function provideComponentName(name) {
|
|
2337
|
-
return
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2351
|
+
return [
|
|
2352
|
+
{
|
|
2353
|
+
provide: COMPONENT_NAME_CONTEXT,
|
|
2354
|
+
useFactory: (injector) => ({ name, injector }),
|
|
2355
|
+
deps: [Injector]
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
provide: KENDO_COMPONENT_NAME,
|
|
2359
|
+
useFactory: componentNameChain,
|
|
2360
|
+
deps: [COMPONENT_NAME_CONTEXT]
|
|
2361
|
+
}
|
|
2362
|
+
];
|
|
2342
2363
|
}
|
|
2343
2364
|
|
|
2344
2365
|
/**
|
|
@@ -2354,47 +2375,45 @@ function provideComponentName(name) {
|
|
|
2354
2375
|
* @hidden
|
|
2355
2376
|
*/
|
|
2356
2377
|
class ComponentNameDirective {
|
|
2378
|
+
injector;
|
|
2357
2379
|
/**
|
|
2358
2380
|
* The component identifier to append to the ancestry chain.
|
|
2359
2381
|
*/
|
|
2360
2382
|
name;
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
this.parentChain = parentChain;
|
|
2383
|
+
constructor(injector) {
|
|
2384
|
+
this.injector = injector;
|
|
2364
2385
|
}
|
|
2365
2386
|
/**
|
|
2366
2387
|
* The accumulated ancestry chain including this component identifier.
|
|
2367
2388
|
*/
|
|
2368
2389
|
get chain() {
|
|
2369
|
-
|
|
2370
|
-
return this.name ? [...parent, this.name] : parent;
|
|
2390
|
+
return componentNameChain(this);
|
|
2371
2391
|
}
|
|
2372
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2373
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2392
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ComponentNameDirective, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2393
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: ComponentNameDirective, isStandalone: true, selector: "[kendoComponentName]", inputs: { name: ["kendoComponentName", "name"] }, providers: [
|
|
2394
|
+
{ provide: COMPONENT_NAME_CONTEXT, useExisting: ComponentNameDirective },
|
|
2395
|
+
{
|
|
2374
2396
|
provide: KENDO_COMPONENT_NAME,
|
|
2375
|
-
useFactory:
|
|
2376
|
-
deps: [
|
|
2377
|
-
}
|
|
2397
|
+
useFactory: componentNameChain,
|
|
2398
|
+
deps: [COMPONENT_NAME_CONTEXT]
|
|
2399
|
+
}
|
|
2400
|
+
], ngImport: i0 });
|
|
2378
2401
|
}
|
|
2379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ComponentNameDirective, decorators: [{
|
|
2380
2403
|
type: Directive,
|
|
2381
2404
|
args: [{
|
|
2382
2405
|
selector: '[kendoComponentName]',
|
|
2383
2406
|
standalone: true,
|
|
2384
|
-
providers: [
|
|
2407
|
+
providers: [
|
|
2408
|
+
{ provide: COMPONENT_NAME_CONTEXT, useExisting: ComponentNameDirective },
|
|
2409
|
+
{
|
|
2385
2410
|
provide: KENDO_COMPONENT_NAME,
|
|
2386
|
-
useFactory:
|
|
2387
|
-
deps: [
|
|
2388
|
-
}
|
|
2411
|
+
useFactory: componentNameChain,
|
|
2412
|
+
deps: [COMPONENT_NAME_CONTEXT]
|
|
2413
|
+
}
|
|
2414
|
+
]
|
|
2389
2415
|
}]
|
|
2390
|
-
}], ctorParameters: () => [{ type:
|
|
2391
|
-
type: Optional
|
|
2392
|
-
}, {
|
|
2393
|
-
type: SkipSelf
|
|
2394
|
-
}, {
|
|
2395
|
-
type: Inject,
|
|
2396
|
-
args: [KENDO_COMPONENT_NAME]
|
|
2397
|
-
}] }], propDecorators: { name: [{
|
|
2416
|
+
}], ctorParameters: () => [{ type: i0.Injector }], propDecorators: { name: [{
|
|
2398
2417
|
type: Input,
|
|
2399
2418
|
args: ['kendoComponentName']
|
|
2400
2419
|
}] } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-common",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.4.0-develop.1",
|
|
4
4
|
"description": "Kendo UI for Angular - Utility Package",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@progress/kendo-common": "^1.0.1",
|
|
24
24
|
"@progress/kendo-draggable": "^3.0.2",
|
|
25
25
|
"tslib": "^2.3.1",
|
|
26
|
-
"@progress/kendo-angular-schematics": "25.
|
|
26
|
+
"@progress/kendo-angular-schematics": "25.4.0-develop.1"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
@@ -36,11 +36,12 @@
|
|
|
36
36
|
"default": "./package.json"
|
|
37
37
|
},
|
|
38
38
|
".": {
|
|
39
|
-
"types": "./
|
|
39
|
+
"types": "./types/progress-kendo-angular-common.d.ts",
|
|
40
40
|
"default": "./fesm2022/progress-kendo-angular-common.mjs"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"module": "fesm2022/progress-kendo-angular-common.mjs",
|
|
44
|
-
"typings": "
|
|
45
|
-
"sideEffects": false
|
|
44
|
+
"typings": "types/progress-kendo-angular-common.d.ts",
|
|
45
|
+
"sideEffects": false,
|
|
46
|
+
"type": "module"
|
|
46
47
|
}
|
|
@@ -818,17 +818,17 @@ declare function provideComponentName(name: string): Provider;
|
|
|
818
818
|
* @hidden
|
|
819
819
|
*/
|
|
820
820
|
declare class ComponentNameDirective {
|
|
821
|
+
injector: Injector;
|
|
821
822
|
/**
|
|
822
823
|
* The component identifier to append to the ancestry chain.
|
|
823
824
|
*/
|
|
824
825
|
name: string;
|
|
825
|
-
|
|
826
|
-
constructor(parentChain: string[]);
|
|
826
|
+
constructor(injector: Injector);
|
|
827
827
|
/**
|
|
828
828
|
* The accumulated ancestry chain including this component identifier.
|
|
829
829
|
*/
|
|
830
830
|
get chain(): string[];
|
|
831
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentNameDirective,
|
|
831
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentNameDirective, never>;
|
|
832
832
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentNameDirective, "[kendoComponentName]", never, { "name": { "alias": "kendoComponentName"; "required": false; }; }, {}, never, never, true, never>;
|
|
833
833
|
}
|
|
834
834
|
|