@ieeesa-npm/presentation 0.7.0 → 0.7.2
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 +3 -5
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/chips/chips.component.mjs +3 -3
- package/esm2022/lib/components/data-table/data-table.component.mjs +4 -3
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +3 -3
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +3 -3
- package/esm2022/lib/components/filter/filter.component.mjs +3 -3
- package/esm2022/lib/components/footer/footer.component.mjs +5 -4
- package/esm2022/lib/components/form-error/form-error.component.mjs +3 -3
- package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +3 -3
- package/esm2022/lib/components/header/header.component.mjs +3 -3
- package/esm2022/lib/components/input/input.component.mjs +3 -3
- package/esm2022/lib/components/menu/menu.component.mjs +3 -3
- package/esm2022/lib/components/modal/modal.component.mjs +3 -3
- package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +3 -3
- package/esm2022/lib/components/notification/notification.component.mjs +3 -3
- package/esm2022/lib/components/radio/radio.component.mjs +3 -3
- package/esm2022/lib/components/search/search.component.mjs +15 -3
- package/esm2022/lib/components/select/select.component.mjs +3 -3
- package/esm2022/lib/components/text-area/text-area.component.mjs +3 -3
- package/esm2022/lib/components/tile/tile.component.mjs +70 -0
- package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +3 -3
- package/esm2022/lib/components/welcome/welcome.component.mjs +3 -3
- package/esm2022/lib/models/app-config-info.model.mjs +1 -1
- package/esm2022/lib/models/footer-config.model.mjs +1 -1
- package/esm2022/lib/models/tile.model.mjs +2 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +164 -90
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/chips/chips.component.d.ts +8 -1
- package/lib/components/data-table/data-table.component.d.ts +1 -0
- package/lib/components/tile/tile.component.d.ts +39 -0
- package/lib/models/app-config-info.model.d.ts +1 -0
- package/lib/models/footer-config.model.d.ts +1 -0
- package/lib/models/tile.model.d.ts +12 -0
- package/package.json +3 -3
- package/public-api.d.ts +2 -0
- package/src/lib/assets/constants.json +3 -5
|
@@ -66,6 +66,9 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
|
|
|
66
66
|
label: {
|
|
67
67
|
clearAll: string;
|
|
68
68
|
};
|
|
69
|
+
message: {
|
|
70
|
+
noRecordFound: string;
|
|
71
|
+
};
|
|
69
72
|
ariaLabel: {
|
|
70
73
|
search: string;
|
|
71
74
|
selectAll: string;
|
|
@@ -120,7 +123,11 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
|
|
|
120
123
|
label: {
|
|
121
124
|
signOut: string;
|
|
122
125
|
};
|
|
123
|
-
};
|
|
126
|
+
}; /**
|
|
127
|
+
* Onclick the chip, it emits selectedChip event with selected chip.
|
|
128
|
+
* @param {ChipOption} chip
|
|
129
|
+
* @memberof ChipComponent
|
|
130
|
+
*/
|
|
124
131
|
footer: {
|
|
125
132
|
alt: {
|
|
126
133
|
logo: string;
|
|
@@ -69,6 +69,7 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
69
69
|
columnType: typeof TableColumnType;
|
|
70
70
|
isSearchActive: boolean;
|
|
71
71
|
clearAll: any;
|
|
72
|
+
noRecordFound: any;
|
|
72
73
|
destroy$: Subject<boolean>;
|
|
73
74
|
sort: MatSort;
|
|
74
75
|
paginator: MatPaginator;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Button, Tile } from '../../models/tile.model';
|
|
3
|
+
import { AlignType } from '../../models/align-type.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Creates tile component.
|
|
7
|
+
* @export
|
|
8
|
+
* @class TileComponent
|
|
9
|
+
*/
|
|
10
|
+
export declare class TileComponent {
|
|
11
|
+
alignmentType: typeof AlignType;
|
|
12
|
+
private tilesInfo;
|
|
13
|
+
/**
|
|
14
|
+
* Input property to get the tiles info.
|
|
15
|
+
* @type {Tile}
|
|
16
|
+
* @memberof TileComponent
|
|
17
|
+
*/
|
|
18
|
+
set tiles(value: Tile[]);
|
|
19
|
+
get tiles(): Tile[];
|
|
20
|
+
/**
|
|
21
|
+
* Emits the click event
|
|
22
|
+
* @type {EventEmitter}
|
|
23
|
+
* @memberof TileComponent
|
|
24
|
+
*/
|
|
25
|
+
tileClicked: EventEmitter<Tile>;
|
|
26
|
+
private buttonAlignment;
|
|
27
|
+
/**
|
|
28
|
+
* Sets tile buttons alignment type..
|
|
29
|
+
* @type {string} accepts Left, Right and Middle as values
|
|
30
|
+
* @memberof TileComponent
|
|
31
|
+
*/
|
|
32
|
+
set buttonAlignmentInfo(value: AlignType);
|
|
33
|
+
get buttonAlignmentInfo(): AlignType;
|
|
34
|
+
trackByFn(index: number, item: Tile): string;
|
|
35
|
+
trackByButtonFn(index: number, item: Button): string;
|
|
36
|
+
onTileButtonClicked(tile: Tile): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TileComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TileComponent, "ieeesa-tile", never, { "tiles": { "alias": "tiles"; "required": false; }; "buttonAlignmentInfo": { "alias": "buttonAlignmentInfo"; "required": false; }; }, { "tileClicked": "tileClicked"; }, never, never, true, never>;
|
|
39
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/presentation",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.1.0",
|
|
6
6
|
"@angular/core": "^16.1.0",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"moment": "^2.29.4",
|
|
19
19
|
"rxjs": "~7.8.0",
|
|
20
20
|
"zone.js": "~0.13.0",
|
|
21
|
-
"@ieeesa-npm/shared-styles": "^0.1.
|
|
22
|
-
"@ieeesa-npm/feature": "^0.5.
|
|
21
|
+
"@ieeesa-npm/shared-styles": "^0.1.8",
|
|
22
|
+
"@ieeesa-npm/feature": "^0.5.5"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from './lib/components/chips/chips.component';
|
|
|
25
25
|
export * from './lib/components/filter/filter.component';
|
|
26
26
|
export * from './lib/components/data-table/data-table.component';
|
|
27
27
|
export * from './lib/components/breadcrumb/breadcrumb.component';
|
|
28
|
+
export * from './lib/components/tile/tile.component';
|
|
28
29
|
export * from './lib/directives/dynamic-form-field/dynamic-form-field.directive';
|
|
29
30
|
export * from './lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive';
|
|
30
31
|
export * from './lib/directives/set-background/set-background.directive';
|
|
@@ -56,6 +57,7 @@ export * from './lib/models/paginator-config.model';
|
|
|
56
57
|
export * from './lib/models/table-actions.model';
|
|
57
58
|
export * from './lib/models/table-schema.model';
|
|
58
59
|
export * from './lib/models/breadcrumb.model';
|
|
60
|
+
export * from './lib/models/tile.model';
|
|
59
61
|
export * from './lib/services/datepicker.service';
|
|
60
62
|
export * from './lib/services/form-utility.service';
|
|
61
63
|
export * from './lib/presentation.module';
|
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
"label": {
|
|
41
41
|
"clearAll": "Clear All"
|
|
42
42
|
},
|
|
43
|
+
"message": {
|
|
44
|
+
"noRecordFound": "No record(s) found."
|
|
45
|
+
},
|
|
43
46
|
"ariaLabel": {
|
|
44
47
|
"search": "Search",
|
|
45
48
|
"selectAll": "Select All",
|
|
@@ -128,11 +131,6 @@
|
|
|
128
131
|
"logo": "IEEE Logo"
|
|
129
132
|
},
|
|
130
133
|
"links": [
|
|
131
|
-
{
|
|
132
|
-
"label": "Dashboard",
|
|
133
|
-
"ariaLabel": "Dashboard",
|
|
134
|
-
"redirectUrl": "#"
|
|
135
|
-
},
|
|
136
134
|
{
|
|
137
135
|
"label": "Contact & Support",
|
|
138
136
|
"ariaLabel": "Contact & Support",
|