@progress/kendo-angular-notification 25.0.0-develop.1 → 25.0.0-develop.13
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.
- package/fesm2022/progress-kendo-angular-notification.mjs +121 -44
- package/index.d.ts +39 -15
- package/package-metadata.mjs +2 -2
- package/package.json +6 -6
|
@@ -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 { forwardRef, Input, Directive, EventEmitter, ViewContainerRef, HostBinding, ViewChild, Component, TemplateRef, InjectionToken, EnvironmentInjector, createComponent, ApplicationRef, Inject, Optional, Injectable, NgModule } from '@angular/core';
|
|
6
|
+
import { signal, forwardRef, Input, Directive, EventEmitter, ViewContainerRef, HostBinding, ViewChild, ChangeDetectionStrategy, Component, afterNextRender, TemplateRef, InjectionToken, EnvironmentInjector, createComponent, ApplicationRef, Inject, Optional, Injectable, NgModule } from '@angular/core';
|
|
7
7
|
import { NgClass, NgTemplateOutlet } from '@angular/common';
|
|
8
8
|
import * as i1$1 from '@angular/animations';
|
|
9
9
|
import { style, animate } from '@angular/animations';
|
|
@@ -132,8 +132,8 @@ const packageMetadata = {
|
|
|
132
132
|
productName: 'Kendo UI for Angular',
|
|
133
133
|
productCode: 'KENDOUIANGULAR',
|
|
134
134
|
productCodes: ['KENDOUIANGULAR'],
|
|
135
|
-
publishDate:
|
|
136
|
-
version: '25.0.0-develop.
|
|
135
|
+
publishDate: 1785426869,
|
|
136
|
+
version: '25.0.0-develop.13',
|
|
137
137
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
138
138
|
};
|
|
139
139
|
|
|
@@ -182,20 +182,26 @@ class LocalizedMessagesDirective extends ComponentMessages {
|
|
|
182
182
|
/**
|
|
183
183
|
* The title of the close button.
|
|
184
184
|
*/
|
|
185
|
-
closeTitle
|
|
185
|
+
set closeTitle(value) {
|
|
186
|
+
this._closeTitle.set(value);
|
|
187
|
+
}
|
|
188
|
+
get closeTitle() {
|
|
189
|
+
return this._closeTitle();
|
|
190
|
+
}
|
|
191
|
+
_closeTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_closeTitle" }] : []));
|
|
186
192
|
constructor(service) {
|
|
187
193
|
super();
|
|
188
194
|
this.service = service;
|
|
189
195
|
}
|
|
190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
191
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
197
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoNotificationLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
|
|
192
198
|
{
|
|
193
199
|
provide: ComponentMessages,
|
|
194
200
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
195
201
|
}
|
|
196
202
|
], usesInheritance: true, ngImport: i0 });
|
|
197
203
|
}
|
|
198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
199
205
|
type: Directive,
|
|
200
206
|
args: [{
|
|
201
207
|
providers: [
|
|
@@ -229,17 +235,72 @@ class NotificationComponent {
|
|
|
229
235
|
container;
|
|
230
236
|
closeClickSubscription;
|
|
231
237
|
close = new EventEmitter();
|
|
232
|
-
templateRef
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
238
|
+
set templateRef(value) {
|
|
239
|
+
this._templateRef.set(value ?? undefined);
|
|
240
|
+
}
|
|
241
|
+
get templateRef() {
|
|
242
|
+
return this._templateRef();
|
|
243
|
+
}
|
|
244
|
+
set templateString(value) {
|
|
245
|
+
this._templateString.set(value ?? undefined);
|
|
246
|
+
}
|
|
247
|
+
get templateString() {
|
|
248
|
+
return this._templateString();
|
|
249
|
+
}
|
|
250
|
+
set width(value) {
|
|
251
|
+
this._width.set(value ?? null);
|
|
252
|
+
}
|
|
253
|
+
get width() {
|
|
254
|
+
return this._width();
|
|
255
|
+
}
|
|
256
|
+
set height(value) {
|
|
257
|
+
this._height.set(value ?? null);
|
|
258
|
+
}
|
|
259
|
+
get height() {
|
|
260
|
+
return this._height();
|
|
261
|
+
}
|
|
262
|
+
set notificationLabel(value) {
|
|
263
|
+
this._notificationLabel.set(value);
|
|
264
|
+
}
|
|
265
|
+
get notificationLabel() {
|
|
266
|
+
return this._notificationLabel();
|
|
267
|
+
}
|
|
268
|
+
set notificationRole(value) {
|
|
269
|
+
this._notificationRole.set(value);
|
|
270
|
+
}
|
|
271
|
+
get notificationRole() {
|
|
272
|
+
return this._notificationRole();
|
|
273
|
+
}
|
|
274
|
+
set cssClass(value) {
|
|
275
|
+
this._cssClass.set(value);
|
|
276
|
+
}
|
|
277
|
+
get cssClass() {
|
|
278
|
+
return this._cssClass();
|
|
279
|
+
}
|
|
280
|
+
set hideAfter(value) {
|
|
281
|
+
this._hideAfter.set(value);
|
|
282
|
+
}
|
|
283
|
+
get hideAfter() {
|
|
284
|
+
return this._hideAfter();
|
|
285
|
+
}
|
|
286
|
+
set closable(value) {
|
|
287
|
+
this._closable.set(value);
|
|
288
|
+
}
|
|
289
|
+
get closable() {
|
|
290
|
+
return this._closable();
|
|
291
|
+
}
|
|
292
|
+
set type(value) {
|
|
293
|
+
this._type.set(value);
|
|
294
|
+
}
|
|
295
|
+
get type() {
|
|
296
|
+
return this._type();
|
|
297
|
+
}
|
|
298
|
+
set animation(value) {
|
|
299
|
+
this._animation.set(value ?? undefined);
|
|
300
|
+
}
|
|
301
|
+
get animation() {
|
|
302
|
+
return this._animation();
|
|
303
|
+
}
|
|
243
304
|
closeTitle;
|
|
244
305
|
/**
|
|
245
306
|
* @hidden
|
|
@@ -253,6 +314,17 @@ class NotificationComponent {
|
|
|
253
314
|
animationEnd = new EventEmitter();
|
|
254
315
|
dynamicRTLSubscription;
|
|
255
316
|
rtl = false;
|
|
317
|
+
_templateRef = signal(undefined, ...(ngDevMode ? [{ debugName: "_templateRef" }] : []));
|
|
318
|
+
_templateString = signal(undefined, ...(ngDevMode ? [{ debugName: "_templateString" }] : []));
|
|
319
|
+
_width = signal(null, ...(ngDevMode ? [{ debugName: "_width" }] : []));
|
|
320
|
+
_height = signal(null, ...(ngDevMode ? [{ debugName: "_height" }] : []));
|
|
321
|
+
_notificationLabel = signal('Notification', ...(ngDevMode ? [{ debugName: "_notificationLabel" }] : []));
|
|
322
|
+
_notificationRole = signal('status', ...(ngDevMode ? [{ debugName: "_notificationRole" }] : []));
|
|
323
|
+
_cssClass = signal(undefined, ...(ngDevMode ? [{ debugName: "_cssClass" }] : []));
|
|
324
|
+
_hideAfter = signal(undefined, ...(ngDevMode ? [{ debugName: "_hideAfter" }] : []));
|
|
325
|
+
_closable = signal(undefined, ...(ngDevMode ? [{ debugName: "_closable" }] : []));
|
|
326
|
+
_type = signal(undefined, ...(ngDevMode ? [{ debugName: "_type" }] : []));
|
|
327
|
+
_animation = signal(undefined, ...(ngDevMode ? [{ debugName: "_animation" }] : []));
|
|
256
328
|
constructor(cdr, element, renderer, builder, localizationService) {
|
|
257
329
|
this.cdr = cdr;
|
|
258
330
|
this.element = element;
|
|
@@ -387,8 +459,8 @@ class NotificationComponent {
|
|
|
387
459
|
fadeAnimation(duration, onclose) {
|
|
388
460
|
return onclose ? fadeCloseAnimation(duration) : fadeAnimation(duration);
|
|
389
461
|
}
|
|
390
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
391
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
462
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.AnimationBuilder }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
463
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: NotificationComponent, isStandalone: true, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", notificationRole: "notificationRole", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
392
464
|
LocalizationService,
|
|
393
465
|
{
|
|
394
466
|
provide: L10N_PREFIX,
|
|
@@ -437,9 +509,9 @@ class NotificationComponent {
|
|
|
437
509
|
</span>
|
|
438
510
|
}
|
|
439
511
|
</div>
|
|
440
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
512
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
441
513
|
}
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
443
515
|
type: Component,
|
|
444
516
|
args: [{
|
|
445
517
|
selector: 'kendo-notification',
|
|
@@ -495,7 +567,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
495
567
|
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => NotificationComponent) }
|
|
496
568
|
],
|
|
497
569
|
standalone: true,
|
|
498
|
-
imports: [LocalizedMessagesDirective, NgClass, IconWrapperComponent, NgTemplateOutlet]
|
|
570
|
+
imports: [LocalizedMessagesDirective, NgClass, IconWrapperComponent, NgTemplateOutlet],
|
|
571
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
499
572
|
}]
|
|
500
573
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.AnimationBuilder }, { type: i1.LocalizationService }], propDecorators: { container: [{
|
|
501
574
|
type: ViewChild,
|
|
@@ -533,16 +606,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
533
606
|
class NotificationContainerComponent {
|
|
534
607
|
element;
|
|
535
608
|
renderer;
|
|
536
|
-
|
|
609
|
+
injector;
|
|
537
610
|
container;
|
|
538
611
|
group;
|
|
539
|
-
id
|
|
612
|
+
set id(value) {
|
|
613
|
+
this._id.set(value);
|
|
614
|
+
}
|
|
615
|
+
get id() {
|
|
616
|
+
return this._id();
|
|
617
|
+
}
|
|
540
618
|
notifications = [];
|
|
619
|
+
_id = signal('', ...(ngDevMode ? [{ debugName: "_id" }] : []));
|
|
541
620
|
position;
|
|
542
|
-
constructor(element, renderer,
|
|
621
|
+
constructor(element, renderer, injector) {
|
|
543
622
|
this.element = element;
|
|
544
623
|
this.renderer = renderer;
|
|
545
|
-
this.
|
|
624
|
+
this.injector = injector;
|
|
546
625
|
/**/
|
|
547
626
|
}
|
|
548
627
|
ngOnDestroy() {
|
|
@@ -587,12 +666,9 @@ class NotificationContainerComponent {
|
|
|
587
666
|
instance.templateString = null;
|
|
588
667
|
notificationRef.destroy();
|
|
589
668
|
if (this.notifications.length > 0) {
|
|
590
|
-
|
|
591
|
-
.asObservable()
|
|
592
|
-
.pipe(take(1))
|
|
593
|
-
.subscribe(() => {
|
|
669
|
+
afterNextRender(() => {
|
|
594
670
|
this.applyPosition();
|
|
595
|
-
});
|
|
671
|
+
}, { injector: this.injector });
|
|
596
672
|
}
|
|
597
673
|
}
|
|
598
674
|
applyContainerWrap() {
|
|
@@ -666,14 +742,14 @@ class NotificationContainerComponent {
|
|
|
666
742
|
const vertical = positionLayout.vertical[position.vertical];
|
|
667
743
|
return Object.assign({}, horizontal, vertical);
|
|
668
744
|
}
|
|
669
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
670
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
745
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
746
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.26", type: NotificationContainerComponent, isStandalone: true, selector: "kendo-notification-container", inputs: { id: "id" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "group", first: true, predicate: ["group"], descendants: true, static: true }], ngImport: i0, template: `
|
|
671
747
|
<div #group class="k-notification-group">
|
|
672
748
|
<ng-container #container></ng-container>
|
|
673
749
|
</div>
|
|
674
|
-
`, isInline: true });
|
|
750
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
675
751
|
}
|
|
676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationContainerComponent, decorators: [{
|
|
677
753
|
type: Component,
|
|
678
754
|
args: [{
|
|
679
755
|
selector: 'kendo-notification-container',
|
|
@@ -683,8 +759,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
683
759
|
</div>
|
|
684
760
|
`,
|
|
685
761
|
standalone: true,
|
|
762
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
686
763
|
}]
|
|
687
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.
|
|
764
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }], propDecorators: { container: [{
|
|
688
765
|
type: ViewChild,
|
|
689
766
|
args: ['container', { read: ViewContainerRef, static: true }]
|
|
690
767
|
}], group: [{
|
|
@@ -809,10 +886,10 @@ class NotificationService {
|
|
|
809
886
|
}
|
|
810
887
|
return container;
|
|
811
888
|
}
|
|
812
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
813
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
889
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationService, deps: [{ token: i0.Injector }, { token: NOTIFICATION_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
890
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
814
891
|
}
|
|
815
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationService, decorators: [{
|
|
816
893
|
type: Injectable,
|
|
817
894
|
args: [{
|
|
818
895
|
providedIn: 'root'
|
|
@@ -886,11 +963,11 @@ const KENDO_NOTIFICATION = [
|
|
|
886
963
|
* ```
|
|
887
964
|
*/
|
|
888
965
|
class NotificationModule {
|
|
889
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
890
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
891
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
966
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
967
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: NotificationModule, imports: [NotificationComponent, NotificationContainerComponent], exports: [NotificationComponent, NotificationContainerComponent] });
|
|
968
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationModule, providers: [NotificationService, IconsService], imports: [NotificationComponent] });
|
|
892
969
|
}
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NotificationModule, decorators: [{
|
|
894
971
|
type: NgModule,
|
|
895
972
|
args: [{
|
|
896
973
|
imports: [...KENDO_NOTIFICATION],
|
package/index.d.ts
CHANGED
|
@@ -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 { ComponentRef, TemplateRef, ViewContainerRef, OnInit, OnDestroy, ChangeDetectorRef, EventEmitter, ElementRef, Renderer2, InjectionToken, Injector
|
|
6
|
+
import { ComponentRef, TemplateRef, ViewContainerRef, OnInit, OnDestroy, ChangeDetectorRef, EventEmitter, ElementRef, Renderer2, InjectionToken, Injector } from '@angular/core';
|
|
7
7
|
import { Observable, Subscription } from 'rxjs';
|
|
8
8
|
import { AnimationBuilder } from '@angular/animations';
|
|
9
9
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
@@ -215,17 +215,28 @@ declare class NotificationComponent implements OnInit, OnDestroy {
|
|
|
215
215
|
container: ViewContainerRef;
|
|
216
216
|
closeClickSubscription: Subscription;
|
|
217
217
|
close: EventEmitter<any>;
|
|
218
|
-
templateRef
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
218
|
+
set templateRef(value: TemplateRef<any> | undefined | null);
|
|
219
|
+
get templateRef(): TemplateRef<any> | undefined;
|
|
220
|
+
set templateString(value: string | undefined | null);
|
|
221
|
+
get templateString(): string | undefined;
|
|
222
|
+
set width(value: number | undefined | null);
|
|
223
|
+
get width(): number | null;
|
|
224
|
+
set height(value: number | undefined | null);
|
|
225
|
+
get height(): number | null;
|
|
226
|
+
set notificationLabel(value: string);
|
|
227
|
+
get notificationLabel(): string;
|
|
228
|
+
set notificationRole(value: string);
|
|
229
|
+
get notificationRole(): string;
|
|
230
|
+
set cssClass(value: string | Array<string> | object | undefined);
|
|
231
|
+
get cssClass(): string | Array<string> | object | undefined;
|
|
232
|
+
set hideAfter(value: number | undefined);
|
|
233
|
+
get hideAfter(): number | undefined;
|
|
234
|
+
set closable(value: boolean | undefined);
|
|
235
|
+
get closable(): boolean | undefined;
|
|
236
|
+
set type(value: Type | undefined);
|
|
237
|
+
get type(): Type | undefined;
|
|
238
|
+
set animation(value: Animation | undefined | null);
|
|
239
|
+
get animation(): Animation | undefined;
|
|
229
240
|
closeTitle: string;
|
|
230
241
|
/**
|
|
231
242
|
* @hidden
|
|
@@ -237,6 +248,17 @@ declare class NotificationComponent implements OnInit, OnDestroy {
|
|
|
237
248
|
private animationEnd;
|
|
238
249
|
private dynamicRTLSubscription;
|
|
239
250
|
private rtl;
|
|
251
|
+
private _templateRef;
|
|
252
|
+
private _templateString;
|
|
253
|
+
private _width;
|
|
254
|
+
private _height;
|
|
255
|
+
private _notificationLabel;
|
|
256
|
+
private _notificationRole;
|
|
257
|
+
private _cssClass;
|
|
258
|
+
private _hideAfter;
|
|
259
|
+
private _closable;
|
|
260
|
+
private _type;
|
|
261
|
+
private _animation;
|
|
240
262
|
constructor(cdr: ChangeDetectorRef, element: ElementRef, renderer: Renderer2, builder: AnimationBuilder, localizationService: LocalizationService);
|
|
241
263
|
notificationClasses(): string;
|
|
242
264
|
ngOnInit(): void;
|
|
@@ -328,13 +350,15 @@ declare class NotificationService {
|
|
|
328
350
|
declare class NotificationContainerComponent implements OnDestroy {
|
|
329
351
|
element: ElementRef;
|
|
330
352
|
renderer: Renderer2;
|
|
331
|
-
private
|
|
353
|
+
private injector;
|
|
332
354
|
container: ViewContainerRef;
|
|
333
355
|
group: ElementRef;
|
|
334
|
-
id: string;
|
|
356
|
+
set id(value: string);
|
|
357
|
+
get id(): string;
|
|
335
358
|
notifications: NotificationComponent[];
|
|
359
|
+
private _id;
|
|
336
360
|
private position;
|
|
337
|
-
constructor(element: ElementRef, renderer: Renderer2,
|
|
361
|
+
constructor(element: ElementRef, renderer: Renderer2, injector: Injector);
|
|
338
362
|
ngOnDestroy(): void;
|
|
339
363
|
addNotification(settings: NotificationSettings): NotificationRef;
|
|
340
364
|
hide(notificationRef: ComponentRef<NotificationComponent>): 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": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1785426869,
|
|
11
|
+
"version": "25.0.0-develop.13",
|
|
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-notification",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.13",
|
|
4
4
|
"description": "Kendo UI Notification for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"package": {
|
|
18
18
|
"productName": "Kendo UI for Angular",
|
|
19
19
|
"productCode": "KENDOUIANGULAR",
|
|
20
|
-
"publishDate":
|
|
20
|
+
"publishDate": 1785426869,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"@angular/core": "20 - 22",
|
|
28
28
|
"@angular/platform-browser": "20 - 22",
|
|
29
29
|
"@progress/kendo-licensing": "^1.11.0",
|
|
30
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
32
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
30
|
+
"@progress/kendo-angular-common": "25.0.0-develop.13",
|
|
31
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.13",
|
|
32
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.13",
|
|
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.0.0-develop.
|
|
37
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.13"
|
|
38
38
|
},
|
|
39
39
|
"schematics": "./schematics/collection.json",
|
|
40
40
|
"module": "fesm2022/progress-kendo-angular-notification.mjs",
|