@ieeesa-npm/presentation 0.9.5 → 0.9.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 +1 -1
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +6 -6
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +5 -5
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +5 -5
- package/esm2022/lib/components/chips/chips.component.mjs +5 -5
- package/esm2022/lib/components/data-table/data-table.component.mjs +10 -6
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +9 -9
- package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +5 -5
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +5 -5
- package/esm2022/lib/components/filter/filter.component.mjs +5 -5
- package/esm2022/lib/components/footer/footer.component.mjs +5 -5
- package/esm2022/lib/components/form-error/form-error.component.mjs +5 -5
- package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +5 -5
- package/esm2022/lib/components/header/header.component.mjs +11 -5
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +4 -4
- package/esm2022/lib/components/input/input.component.mjs +5 -5
- package/esm2022/lib/components/legend/legend.component.mjs +4 -4
- package/esm2022/lib/components/loader/loader.component.mjs +5 -5
- package/esm2022/lib/components/menu/menu.component.mjs +5 -5
- package/esm2022/lib/components/modal/modal.component.mjs +5 -5
- package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +5 -5
- package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +5 -5
- package/esm2022/lib/components/notification/notification.component.mjs +5 -5
- package/esm2022/lib/components/radio/radio.component.mjs +5 -5
- package/esm2022/lib/components/search/search.component.mjs +5 -5
- package/esm2022/lib/components/select/select.component.mjs +6 -6
- package/esm2022/lib/components/text-area/text-area.component.mjs +5 -5
- package/esm2022/lib/components/tile/tile.component.mjs +5 -5
- package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +5 -5
- package/esm2022/lib/components/welcome/welcome.component.mjs +5 -5
- package/esm2022/lib/directives/dynamic-form-field/dynamic-form-field.directive.mjs +4 -4
- package/esm2022/lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive.mjs +4 -4
- package/esm2022/lib/directives/set-background/set-background.directive.mjs +4 -4
- package/esm2022/lib/directives/text-truncated/text-truncated.directive.mjs +43 -11
- package/esm2022/lib/presentation.module.mjs +5 -5
- package/esm2022/lib/services/datepicker.service.mjs +4 -4
- package/esm2022/lib/services/form-utility.service.mjs +4 -4
- package/fesm2022/ieeesa-npm-presentation.mjs +191 -149
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/data-table/data-table.component.d.ts +2 -1
- package/lib/components/header/header.component.d.ts +2 -1
- package/lib/directives/text-truncated/text-truncated.directive.d.ts +16 -4
- package/package.json +3 -3
- package/src/lib/assets/constants.json +1 -1
|
@@ -42,6 +42,7 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
42
42
|
addButton: IconButton;
|
|
43
43
|
defaultColumnSortDirection: SortDirection;
|
|
44
44
|
defaultSortedColumn: string;
|
|
45
|
+
isClearSortNeeded: boolean;
|
|
45
46
|
filters: ChipOption[];
|
|
46
47
|
selectedFilterOptions: CheckboxOption[];
|
|
47
48
|
appliedFilterOptions: ChipOption[];
|
|
@@ -202,5 +203,5 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
202
203
|
*/
|
|
203
204
|
ngOnDestroy(): void;
|
|
204
205
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
205
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ieeesa-data-table", never, { "tableDataInfo": { "alias": "tableDataInfo"; "required": false; }; "columnSchemaInfo": { "alias": "columnSchemaInfo"; "required": false; }; "tableActions": { "alias": "tableActions"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "paginatorConfig": { "alias": "paginatorConfig"; "required": false; }; "searchPlaceHolderText": { "alias": "searchPlaceHolderText"; "required": false; }; "rowEditButton": { "alias": "rowEditButton"; "required": false; }; "rowDeleteButton": { "alias": "rowDeleteButton"; "required": false; }; "tableEditButton": { "alias": "tableEditButton"; "required": false; }; "tableDeleteButton": { "alias": "tableDeleteButton"; "required": false; }; "addButton": { "alias": "addButton"; "required": false; }; "defaultColumnSortDirection": { "alias": "defaultColumnSortDirection"; "required": false; }; "defaultSortedColumn": { "alias": "defaultSortedColumn"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "selectedFilterOptions": { "alias": "selectedFilterOptions"; "required": false; }; "appliedFilterOptions": { "alias": "appliedFilterOptions"; "required": false; }; "searchType": { "alias": "searchType"; "required": false; }; "className": { "alias": "className"; "required": false; }; "inbuiltSortingNeeded": { "alias": "inbuiltSortingNeeded"; "required": false; }; "isCellTextOverflowEllipsis": { "alias": "isCellTextOverflowEllipsis"; "required": false; }; }, { "rowSelected": "rowSelected"; "selectedRowToEdit": "selectedRowToEdit"; "selectedRowToDelete": "selectedRowToDelete"; "selectedRowsToDelete": "selectedRowsToDelete"; "rowLink": "rowLink"; "addRow": "addRow"; "columnDataOnRowLinkClick": "columnDataOnRowLinkClick"; "paginationChange": "paginationChange"; "selectedFilter": "selectedFilter"; "removeFilteredOption": "removeFilteredOption"; "filteredOptions": "filteredOptions"; "searchedValue": "searchedValue"; "sortChange": "sortChange"; }, never, never, true, never>;
|
|
206
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ieeesa-data-table", never, { "tableDataInfo": { "alias": "tableDataInfo"; "required": false; }; "columnSchemaInfo": { "alias": "columnSchemaInfo"; "required": false; }; "tableActions": { "alias": "tableActions"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "paginatorConfig": { "alias": "paginatorConfig"; "required": false; }; "searchPlaceHolderText": { "alias": "searchPlaceHolderText"; "required": false; }; "rowEditButton": { "alias": "rowEditButton"; "required": false; }; "rowDeleteButton": { "alias": "rowDeleteButton"; "required": false; }; "tableEditButton": { "alias": "tableEditButton"; "required": false; }; "tableDeleteButton": { "alias": "tableDeleteButton"; "required": false; }; "addButton": { "alias": "addButton"; "required": false; }; "defaultColumnSortDirection": { "alias": "defaultColumnSortDirection"; "required": false; }; "defaultSortedColumn": { "alias": "defaultSortedColumn"; "required": false; }; "isClearSortNeeded": { "alias": "isClearSortNeeded"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "selectedFilterOptions": { "alias": "selectedFilterOptions"; "required": false; }; "appliedFilterOptions": { "alias": "appliedFilterOptions"; "required": false; }; "searchType": { "alias": "searchType"; "required": false; }; "className": { "alias": "className"; "required": false; }; "inbuiltSortingNeeded": { "alias": "inbuiltSortingNeeded"; "required": false; }; "isCellTextOverflowEllipsis": { "alias": "isCellTextOverflowEllipsis"; "required": false; }; }, { "rowSelected": "rowSelected"; "selectedRowToEdit": "selectedRowToEdit"; "selectedRowToDelete": "selectedRowToDelete"; "selectedRowsToDelete": "selectedRowsToDelete"; "rowLink": "rowLink"; "addRow": "addRow"; "columnDataOnRowLinkClick": "columnDataOnRowLinkClick"; "paginationChange": "paginationChange"; "selectedFilter": "selectedFilter"; "removeFilteredOption": "removeFilteredOption"; "filteredOptions": "filteredOptions"; "searchedValue": "searchedValue"; "sortChange": "sortChange"; }, never, never, true, never>;
|
|
206
207
|
}
|
|
@@ -28,6 +28,7 @@ export declare class HeaderComponent implements OnDestroy {
|
|
|
28
28
|
screenTexts: any;
|
|
29
29
|
isMobileView: boolean;
|
|
30
30
|
toggleNavMenuClick: EventEmitter<Event>;
|
|
31
|
+
profileMenuClick: EventEmitter<Menu>;
|
|
31
32
|
private profileMenuOptions;
|
|
32
33
|
userProfileIconButton: IconButton;
|
|
33
34
|
menuItems: Menu[];
|
|
@@ -57,5 +58,5 @@ export declare class HeaderComponent implements OnDestroy {
|
|
|
57
58
|
*/
|
|
58
59
|
ngOnDestroy(): void;
|
|
59
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "ieeesa-header", never, { "headerConfig": { "alias": "headerConfig"; "required": false; }; "menuConfig": { "alias": "menuConfig"; "required": false; }; }, { "toggleNavMenuClick": "toggleNavMenuClick"; }, never, never, true, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "ieeesa-header", never, { "headerConfig": { "alias": "headerConfig"; "required": false; }; "menuConfig": { "alias": "menuConfig"; "required": false; }; }, { "toggleNavMenuClick": "toggleNavMenuClick"; "profileMenuClick": "profileMenuClick"; }, never, never, true, never>;
|
|
61
62
|
}
|
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
import { ElementRef
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { MatTooltip } from '@angular/material/tooltip';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Checks the text is truncated
|
|
6
6
|
* @export
|
|
7
7
|
* @class TextTruncatedDirective
|
|
8
|
-
* @implements {AfterViewInit}
|
|
9
8
|
*/
|
|
10
|
-
export declare class TextTruncatedDirective
|
|
9
|
+
export declare class TextTruncatedDirective {
|
|
11
10
|
tooltip: MatTooltip;
|
|
12
11
|
elementRef: ElementRef<HTMLElement>;
|
|
13
12
|
constructor(tooltip: MatTooltip, elementRef: ElementRef<HTMLElement>);
|
|
14
|
-
|
|
13
|
+
mouseOver(): void;
|
|
14
|
+
mouseOut(): void;
|
|
15
|
+
touchStart(): void;
|
|
16
|
+
touchEnd(): void;
|
|
17
|
+
/**
|
|
18
|
+
* Shows the tooltip based on text overflow exists or not
|
|
19
|
+
* @memberof TextTruncatedDirective
|
|
20
|
+
*/
|
|
21
|
+
showTooltip(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Disables the tooltip
|
|
24
|
+
* @memberof TextTruncatedDirective
|
|
25
|
+
*/
|
|
26
|
+
hideTooltip(): void;
|
|
15
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextTruncatedDirective, never>;
|
|
16
28
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TextTruncatedDirective, "[matTooltip][ieeesaTextTruncated]", never, {}, {}, never, never, true, never>;
|
|
17
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/presentation",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
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.2.
|
|
22
|
-
"@ieeesa-npm/feature": "^0.7.
|
|
21
|
+
"@ieeesa-npm/shared-styles": "^0.2.2",
|
|
22
|
+
"@ieeesa-npm/feature": "^0.7.8"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.3.0"
|