@progress/kendo-angular-notification 22.1.0-develop.8 → 23.0.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.
- package/fesm2022/progress-kendo-angular-notification.mjs +12 -12
- package/models/animation.d.ts +1 -1
- package/models/notification-ref.d.ts +2 -2
- package/models/notification-settings.d.ts +7 -7
- package/models/position.d.ts +1 -1
- package/models/type.d.ts +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +7 -7
- package/services/notification.service.d.ts +2 -2
|
@@ -23,14 +23,14 @@ class NotificationSettings {
|
|
|
23
23
|
/**
|
|
24
24
|
* Specifies the time in milliseconds after which the
|
|
25
25
|
* Notification will hide
|
|
26
|
-
* ([see example](
|
|
26
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/hiding-notifications#defining-a-delay-before-hiding)).
|
|
27
27
|
*
|
|
28
28
|
* @default 5000
|
|
29
29
|
*/
|
|
30
30
|
hideAfter = 5000;
|
|
31
31
|
/**
|
|
32
32
|
* Defines the position of the Notification
|
|
33
|
-
* ([see example](
|
|
33
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/positioning)).
|
|
34
34
|
*
|
|
35
35
|
* The possible values are:
|
|
36
36
|
* * `horizontal: 'left'|'center'|'right'`
|
|
@@ -41,7 +41,7 @@ class NotificationSettings {
|
|
|
41
41
|
position = { horizontal: 'right', vertical: 'top' };
|
|
42
42
|
/**
|
|
43
43
|
* Specifies the animation settings of the Notification
|
|
44
|
-
* ([see example](
|
|
44
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/animations)).
|
|
45
45
|
*
|
|
46
46
|
* The possible values are:
|
|
47
47
|
* * `duration`—Accepts a number in milliseconds. Defaults to `500ms`.
|
|
@@ -53,7 +53,7 @@ class NotificationSettings {
|
|
|
53
53
|
/**
|
|
54
54
|
* Specifies if the Notification will require a user action to hide.
|
|
55
55
|
* If you set the property to `true`, the Notification renders a **Close** button
|
|
56
|
-
* ([see example](
|
|
56
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/hiding-notifications#defining-a-closable-notification)).
|
|
57
57
|
*
|
|
58
58
|
* The possible values are:
|
|
59
59
|
* * (Default) `false`
|
|
@@ -68,7 +68,7 @@ class NotificationSettings {
|
|
|
68
68
|
closeTitle;
|
|
69
69
|
/**
|
|
70
70
|
* Specifies the type of the Notification
|
|
71
|
-
* ([see example](
|
|
71
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/types)).
|
|
72
72
|
*
|
|
73
73
|
* The possible values are:
|
|
74
74
|
* * `style: (Default) 'none'|'success'|'error'|'warning'|'info'`
|
|
@@ -94,14 +94,14 @@ class NotificationSettings {
|
|
|
94
94
|
/**
|
|
95
95
|
* Specifies a list of CSS classes that you add to the Notification.
|
|
96
96
|
* To apply CSS rules to the component, set `encapsulation` to `ViewEncapsulation.None`
|
|
97
|
-
* ([see example](
|
|
97
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification)).
|
|
98
98
|
*
|
|
99
99
|
* > To style the content of the Notification, use the `cssClass` property binding.
|
|
100
100
|
*/
|
|
101
101
|
cssClass;
|
|
102
102
|
/**
|
|
103
103
|
* Defines the container to which the Notification will be appended
|
|
104
|
-
* ([see example](
|
|
104
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/dynamic-containers)).
|
|
105
105
|
*
|
|
106
106
|
* If not provided, the Notification will be placed in the root component
|
|
107
107
|
* of the application or in the `body` element of the document.
|
|
@@ -118,7 +118,7 @@ const packageMetadata = {
|
|
|
118
118
|
productCode: 'KENDOUIANGULAR',
|
|
119
119
|
productCodes: ['KENDOUIANGULAR'],
|
|
120
120
|
publishDate: 0,
|
|
121
|
-
version: '
|
|
121
|
+
version: '23.0.0-develop.1',
|
|
122
122
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
123
123
|
};
|
|
124
124
|
|
|
@@ -369,7 +369,7 @@ class NotificationComponent {
|
|
|
369
369
|
closeTitle="Close"
|
|
370
370
|
>
|
|
371
371
|
</ng-container>
|
|
372
|
-
<div class="k-notification
|
|
372
|
+
<div class="k-notification {{ notificationClasses() }}"
|
|
373
373
|
[ngClass]="cssClass"
|
|
374
374
|
[style.height.px]="height"
|
|
375
375
|
[style.width.px]="width"
|
|
@@ -417,7 +417,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
417
417
|
closeTitle="Close"
|
|
418
418
|
>
|
|
419
419
|
</ng-container>
|
|
420
|
-
<div class="k-notification
|
|
420
|
+
<div class="k-notification {{ notificationClasses() }}"
|
|
421
421
|
[ngClass]="cssClass"
|
|
422
422
|
[style.height.px]="height"
|
|
423
423
|
[style.width.px]="width"
|
|
@@ -664,7 +664,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
664
664
|
* Injects the Notification container. When not provided, uses the first root component of
|
|
665
665
|
* the application.
|
|
666
666
|
*
|
|
667
|
-
* > Use `NOTIFICATION_CONTAINER` only with the [`NotificationService`](
|
|
667
|
+
* > Use `NOTIFICATION_CONTAINER` only with the [`NotificationService`](https://www.telerik.com/kendo-angular-ui/components/notification/api/notificationservice) class.
|
|
668
668
|
*
|
|
669
669
|
* @example
|
|
670
670
|
*
|
|
@@ -695,7 +695,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
695
695
|
const NOTIFICATION_CONTAINER = new InjectionToken('Notification Container');
|
|
696
696
|
/**
|
|
697
697
|
* A service for opening Notification components dynamically
|
|
698
|
-
* ([see example](
|
|
698
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification)).
|
|
699
699
|
*
|
|
700
700
|
* @export
|
|
701
701
|
* @class NotificationService
|
package/models/animation.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the animation settings of the Notification
|
|
7
|
-
* ([see example](
|
|
7
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/animations)).
|
|
8
8
|
*
|
|
9
9
|
* The possible values are:
|
|
10
10
|
* * `duration`—Accepts a number in milliseconds (default: 500ms).
|
|
@@ -9,7 +9,7 @@ import { Observable } from 'rxjs';
|
|
|
9
9
|
* Holds references to the object instance of the Notification.
|
|
10
10
|
* Controls the Notifications which you open through `NotificationService`.
|
|
11
11
|
* For an example on sample usage, refer to the
|
|
12
|
-
* [`NotificationService.show`](
|
|
12
|
+
* [`NotificationService.show`](https://www.telerik.com/kendo-angular-ui/components/notification/api/notificationservice#show) method.
|
|
13
13
|
*/
|
|
14
14
|
export interface NotificationRef {
|
|
15
15
|
/**
|
|
@@ -23,7 +23,7 @@ export interface NotificationRef {
|
|
|
23
23
|
/**
|
|
24
24
|
* A reference to the child component of the Notification.
|
|
25
25
|
* Available when you show the Notification with
|
|
26
|
-
* [`content`](
|
|
26
|
+
* [`content`](https://www.telerik.com/kendo-angular-ui/components/notification/content#rendering-a-component).
|
|
27
27
|
*/
|
|
28
28
|
content?: ComponentRef<any>;
|
|
29
29
|
/**
|
|
@@ -14,14 +14,14 @@ export declare class NotificationSettings {
|
|
|
14
14
|
/**
|
|
15
15
|
* Specifies the time in milliseconds after which the
|
|
16
16
|
* Notification will hide
|
|
17
|
-
* ([see example](
|
|
17
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/hiding-notifications#defining-a-delay-before-hiding)).
|
|
18
18
|
*
|
|
19
19
|
* @default 5000
|
|
20
20
|
*/
|
|
21
21
|
hideAfter?: number;
|
|
22
22
|
/**
|
|
23
23
|
* Defines the position of the Notification
|
|
24
|
-
* ([see example](
|
|
24
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/positioning)).
|
|
25
25
|
*
|
|
26
26
|
* The possible values are:
|
|
27
27
|
* * `horizontal: 'left'|'center'|'right'`
|
|
@@ -32,7 +32,7 @@ export declare class NotificationSettings {
|
|
|
32
32
|
position?: Position;
|
|
33
33
|
/**
|
|
34
34
|
* Specifies the animation settings of the Notification
|
|
35
|
-
* ([see example](
|
|
35
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/animations)).
|
|
36
36
|
*
|
|
37
37
|
* The possible values are:
|
|
38
38
|
* * `duration`—Accepts a number in milliseconds. Defaults to `500ms`.
|
|
@@ -44,7 +44,7 @@ export declare class NotificationSettings {
|
|
|
44
44
|
/**
|
|
45
45
|
* Specifies if the Notification will require a user action to hide.
|
|
46
46
|
* If you set the property to `true`, the Notification renders a **Close** button
|
|
47
|
-
* ([see example](
|
|
47
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/hiding-notifications#defining-a-closable-notification)).
|
|
48
48
|
*
|
|
49
49
|
* The possible values are:
|
|
50
50
|
* * (Default) `false`
|
|
@@ -59,7 +59,7 @@ export declare class NotificationSettings {
|
|
|
59
59
|
closeTitle?: string;
|
|
60
60
|
/**
|
|
61
61
|
* Specifies the type of the Notification
|
|
62
|
-
* ([see example](
|
|
62
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/types)).
|
|
63
63
|
*
|
|
64
64
|
* The possible values are:
|
|
65
65
|
* * `style: (Default) 'none'|'success'|'error'|'warning'|'info'`
|
|
@@ -85,14 +85,14 @@ export declare class NotificationSettings {
|
|
|
85
85
|
/**
|
|
86
86
|
* Specifies a list of CSS classes that you add to the Notification.
|
|
87
87
|
* To apply CSS rules to the component, set `encapsulation` to `ViewEncapsulation.None`
|
|
88
|
-
* ([see example](
|
|
88
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification)).
|
|
89
89
|
*
|
|
90
90
|
* > To style the content of the Notification, use the `cssClass` property binding.
|
|
91
91
|
*/
|
|
92
92
|
cssClass?: string | Array<string> | object;
|
|
93
93
|
/**
|
|
94
94
|
* Defines the container to which the Notification will be appended
|
|
95
|
-
* ([see example](
|
|
95
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/dynamic-containers)).
|
|
96
96
|
*
|
|
97
97
|
* If not provided, the Notification will be placed in the root component
|
|
98
98
|
* of the application or in the `body` element of the document.
|
package/models/position.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the position of the Notification in relation to the attached container
|
|
7
|
-
* ([see example](
|
|
7
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/positioning)).
|
|
8
8
|
*
|
|
9
9
|
* The available options are:
|
|
10
10
|
* * `{ horizontal: 'left'|'center'|'right', vertical: 'top'|'bottom' }`
|
package/models/type.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the Notification type
|
|
7
|
-
* ([see example](
|
|
7
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/types)).
|
|
8
8
|
*
|
|
9
9
|
* The possible values are:
|
|
10
10
|
* * `style: (Default) 'none'|'success'|'error'|'warning'|'info'`
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1770287114,
|
|
11
|
+
"version": "23.0.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-notification",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0-develop.1",
|
|
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": 1770287114,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"@angular/common": "19 - 21",
|
|
27
27
|
"@angular/core": "19 - 21",
|
|
28
28
|
"@angular/platform-browser": "19 - 21",
|
|
29
|
-
"@progress/kendo-licensing": "^1.
|
|
30
|
-
"@progress/kendo-angular-common": "
|
|
31
|
-
"@progress/kendo-angular-l10n": "
|
|
32
|
-
"@progress/kendo-angular-icons": "
|
|
29
|
+
"@progress/kendo-licensing": "^1.10.0",
|
|
30
|
+
"@progress/kendo-angular-common": "23.0.0-develop.1",
|
|
31
|
+
"@progress/kendo-angular-l10n": "23.0.0-develop.1",
|
|
32
|
+
"@progress/kendo-angular-icons": "23.0.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": "
|
|
37
|
+
"@progress/kendo-angular-schematics": "23.0.0-develop.1"
|
|
38
38
|
},
|
|
39
39
|
"schematics": "./schematics/collection.json",
|
|
40
40
|
"module": "fesm2022/progress-kendo-angular-notification.mjs",
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* Injects the Notification container. When not provided, uses the first root component of
|
|
11
11
|
* the application.
|
|
12
12
|
*
|
|
13
|
-
* > Use `NOTIFICATION_CONTAINER` only with the [`NotificationService`](
|
|
13
|
+
* > Use `NOTIFICATION_CONTAINER` only with the [`NotificationService`](https://www.telerik.com/kendo-angular-ui/components/notification/api/notificationservice) class.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
*
|
|
@@ -41,7 +41,7 @@ import * as i0 from "@angular/core";
|
|
|
41
41
|
export declare const NOTIFICATION_CONTAINER: InjectionToken<ElementRef<any>>;
|
|
42
42
|
/**
|
|
43
43
|
* A service for opening Notification components dynamically
|
|
44
|
-
* ([see example](
|
|
44
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification)).
|
|
45
45
|
*
|
|
46
46
|
* @export
|
|
47
47
|
* @class NotificationService
|