suis 0.32.4 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +5 -5
- package/esm2022/lib/components/suis-notification/suis-notification.component.mjs +8 -3
- package/esm2022/lib/components/suis-notification/suis-notification.interfaces.mjs +1 -1
- package/esm2022/lib/components/suis-pagination/suis-pagination.component.mjs +4 -4
- package/esm2022/lib/services/suis-notification.service.mjs +15 -11
- package/fesm2022/suis.mjs +28 -19
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/suis-navigation/suis-navigation.component.d.ts +2 -2
- package/lib/components/suis-notification/suis-notification.component.d.ts +1 -1
- package/lib/components/suis-notification/suis-notification.interfaces.d.ts +1 -0
- package/lib/components/suis-pagination/suis-pagination.component.d.ts +3 -3
- package/lib/services/suis-notification.service.d.ts +9 -6
- package/package.json +1 -1
@@ -18,11 +18,11 @@ export declare class SuisNavigationComponent {
|
|
18
18
|
*/
|
19
19
|
expandable: boolean;
|
20
20
|
/**
|
21
|
-
* Adds collapse /
|
21
|
+
* Adds collapse / expand logic to navigiaton. By default set to false.
|
22
22
|
*/
|
23
23
|
collapsable: boolean;
|
24
24
|
/**
|
25
|
-
* Collapses the navigiation. By default set to false.
|
25
|
+
* Collapses the navigiation, when collapsable is enabled. By default set to false.
|
26
26
|
*/
|
27
27
|
collapsed: boolean;
|
28
28
|
/**
|
@@ -13,7 +13,7 @@ export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
|
13
13
|
*/
|
14
14
|
page: number;
|
15
15
|
/**
|
16
|
-
* Number of items presented per page. By default set to 15.
|
16
|
+
* Number of items presented per page. Value must be included in perPageOptions. By default set to 15.
|
17
17
|
*/
|
18
18
|
perPage: number;
|
19
19
|
/**
|
@@ -25,11 +25,11 @@ export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
|
25
25
|
*/
|
26
26
|
totalItems: number;
|
27
27
|
/**
|
28
|
-
* Sets the of label "1 'of' 25". By default set to 'of'.
|
28
|
+
* Sets the of label in "1 'of' 25". By default set to 'of'.
|
29
29
|
*/
|
30
30
|
ofLabel: string;
|
31
31
|
/**
|
32
|
-
* Sets the
|
32
|
+
* Sets the items label in "1-10 'of' 25 'items'". By default set to 'Page'.
|
33
33
|
*/
|
34
34
|
itemsLabel: string;
|
35
35
|
/**
|
@@ -9,22 +9,25 @@ export declare class SuisNotificationService {
|
|
9
9
|
getNotifications(): Signal<SuisNotification[]>;
|
10
10
|
/**
|
11
11
|
* Adds success notification
|
12
|
-
* @param
|
12
|
+
* @param header text displayed in the notification header
|
13
|
+
* @param message text displayed in the notification message
|
13
14
|
* @param delay time in ms after notification will be destroyed
|
14
15
|
*/
|
15
|
-
success(message: string, delay?: number): void;
|
16
|
+
success(header: string, message: string, delay?: number): void;
|
16
17
|
/**
|
17
18
|
* Adds warning notification
|
18
|
-
* @param
|
19
|
+
* @param header text displayed in the notification header
|
20
|
+
* @param message text displayed in the notification message
|
19
21
|
* @param delay time in ms after notification will be destroyed
|
20
22
|
*/
|
21
|
-
warning(message: string, delay?: number): void;
|
23
|
+
warning(header: string, message: string, delay?: number): void;
|
22
24
|
/**
|
23
25
|
* Adds danger notification
|
24
|
-
* @param
|
26
|
+
* @param header text displayed in the notification header
|
27
|
+
* @param message text displayed in the notification message
|
25
28
|
* @param delay time in ms after notification will be destroyed
|
26
29
|
*/
|
27
|
-
danger(message: string, delay?: number): void;
|
30
|
+
danger(header: string, message: string, delay?: number): void;
|
28
31
|
/**
|
29
32
|
* Removes notification immediately
|
30
33
|
* @param id id of the notification to be removed
|