@ieeesa-npm/presentation 0.4.6 → 0.4.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.
- package/esm2022/lib/assets/constants.json +2 -1
- package/esm2022/lib/components/data-table/data-table.component.mjs +3 -3
- package/esm2022/lib/components/filter/filter.component.mjs +3 -3
- package/esm2022/lib/components/search/search.component.mjs +11 -4
- package/esm2022/lib/models/table-schema.model.mjs +7 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +23 -9
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/chips/chips.component.d.ts +5 -0
- package/lib/components/search/search.component.d.ts +5 -0
- package/lib/models/table-schema.model.d.ts +5 -0
- package/package.json +2 -2
- package/src/lib/assets/constants.json +12 -11
|
@@ -25,6 +25,7 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
|
|
|
25
25
|
nextMonth: string;
|
|
26
26
|
menuIcon: string;
|
|
27
27
|
close: string;
|
|
28
|
+
search: string;
|
|
28
29
|
};
|
|
29
30
|
button: {
|
|
30
31
|
cancel: string;
|
|
@@ -107,6 +108,10 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
|
|
|
107
108
|
ariaLabel: {
|
|
108
109
|
helpLink: string;
|
|
109
110
|
userProfile: string;
|
|
111
|
+
/**
|
|
112
|
+
* Shows list of chips on the basis of view more/less button state.
|
|
113
|
+
* @memberof ChipComponent
|
|
114
|
+
*/
|
|
110
115
|
hamburgerMenu: string;
|
|
111
116
|
};
|
|
112
117
|
label: {
|
|
@@ -56,6 +56,11 @@ export declare class SearchComponent implements OnInit, AfterViewInit, OnDestroy
|
|
|
56
56
|
* @memberof SearchComponent
|
|
57
57
|
*/
|
|
58
58
|
onSearchInputChange(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Emits the searchValue event along with the searched term while clicking on the search icon
|
|
61
|
+
* @memberof SearchComponent
|
|
62
|
+
*/
|
|
63
|
+
onSearchClick(): void;
|
|
59
64
|
/**
|
|
60
65
|
* Implementation of ngOnDestroy lifecycle hook method to unsubscribe the open observable subscriptions.
|
|
61
66
|
* @memberof SearchComponent
|
|
@@ -6,6 +6,11 @@ export declare enum TableColumnType {
|
|
|
6
6
|
EDIT = "EDIT",
|
|
7
7
|
DELETE = "DELETE"
|
|
8
8
|
}
|
|
9
|
+
export declare enum TableColumnSortDirection {
|
|
10
|
+
ASCENDING = "asc",
|
|
11
|
+
DESCENDING = "desc",
|
|
12
|
+
NO_SORT = ""
|
|
13
|
+
}
|
|
9
14
|
export interface TableColumnSchema {
|
|
10
15
|
id: number;
|
|
11
16
|
columnDef: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/presentation",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.1.0",
|
|
6
6
|
"@angular/core": "^16.1.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"rxjs": "~7.8.0",
|
|
20
20
|
"zone.js": "~0.13.0",
|
|
21
21
|
"@ieeesa-npm/shared-styles": "^0.1.2",
|
|
22
|
-
"@ieeesa-npm/feature": "^0.2.
|
|
22
|
+
"@ieeesa-npm/feature": "^0.2.9"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.3.0"
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
"previousMonth": "Previous month",
|
|
6
6
|
"nextMonth": "Next month",
|
|
7
7
|
"menuIcon": "Menu",
|
|
8
|
-
"close": "Close"
|
|
8
|
+
"close": "Close",
|
|
9
|
+
"search": "Search"
|
|
9
10
|
},
|
|
10
11
|
"button": {
|
|
11
12
|
"cancel": "Cancel",
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
},
|
|
14
15
|
"chips": {
|
|
15
16
|
"noOfDefaultVisibleChips": 3,
|
|
16
|
-
"label"
|
|
17
|
+
"label": {
|
|
17
18
|
"viewAll": "View all",
|
|
18
19
|
"viewLess": "View less"
|
|
19
20
|
},
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
|
-
"dataTable"
|
|
39
|
+
"dataTable": {
|
|
39
40
|
"label": {
|
|
40
41
|
"clearAll": "Clear All"
|
|
41
42
|
},
|
|
@@ -93,14 +94,14 @@
|
|
|
93
94
|
"filterBy": "Filter By:",
|
|
94
95
|
"applyButton": "Apply"
|
|
95
96
|
},
|
|
96
|
-
"buttons": [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
"buttons": [
|
|
98
|
+
{
|
|
99
|
+
"id": 4,
|
|
100
|
+
"iconURL": "assets/images/sprites/sprites.svg#icon-filter-list",
|
|
101
|
+
"toolTip": "",
|
|
102
|
+
"ariaLabel": "Filter"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
104
105
|
},
|
|
105
106
|
"textarea": {
|
|
106
107
|
"maxLengthDefault": 1000
|