@ieeesa-npm/presentation 0.14.8 → 0.14.9
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/components/accordion/accordion.component.mjs +4 -15
- package/esm2022/lib/components/data-table/data-table.component.mjs +7 -51
- package/esm2022/lib/components/header/header.component.mjs +2 -2
- package/esm2022/lib/components/list/list.component.mjs +2 -2
- package/esm2022/lib/components/menu/menu.component.mjs +3 -6
- package/esm2022/lib/models/list-item.model.mjs +1 -1
- package/esm2022/lib/models/table-schema.model.mjs +1 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +12 -70
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/accordion/accordion.component.d.ts +2 -9
- package/lib/components/data-table/data-table.component.d.ts +4 -14
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +1 -1
- package/lib/components/file-upload/file-upload.component.d.ts +2 -2
- package/lib/components/menu/menu.component.d.ts +1 -2
- package/lib/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +1 -1
- package/lib/directives/file-upload/file-upload.directive.d.ts +1 -1
- package/lib/models/list-item.model.d.ts +1 -0
- package/lib/models/table-schema.model.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { MatAccordion } from '@angular/material/expansion';
|
|
3
3
|
import { AccordionInfo } from '../../models/accordion-info.model';
|
|
4
4
|
import { BreakpointObserverService } from '@ieeesa-npm/utility';
|
|
@@ -12,19 +12,12 @@ export declare class AccordionComponent implements OnDestroy {
|
|
|
12
12
|
private accordionDetails;
|
|
13
13
|
set accordionInfo(value: AccordionInfo);
|
|
14
14
|
get accordionInfo(): AccordionInfo;
|
|
15
|
-
accordionOpened: EventEmitter<boolean>;
|
|
16
15
|
constructor(breakpointObserverService: BreakpointObserverService);
|
|
17
|
-
/**
|
|
18
|
-
* Emits accordionOpened event with true when accordion is expanded or false if accordion is collapsed.
|
|
19
|
-
* @param {boolean} isExpanded
|
|
20
|
-
* @memberof AccordionComponent
|
|
21
|
-
*/
|
|
22
|
-
setOpenedStatus(isExpanded: boolean): void;
|
|
23
16
|
/**
|
|
24
17
|
* Performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
|
|
25
18
|
* @memberof AccordionComponent
|
|
26
19
|
*/
|
|
27
20
|
ngOnDestroy(): void;
|
|
28
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ieeesa-accordion", never, { "accordionInfo": { "alias": "accordionInfo"; "required": false; }; }, {
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ieeesa-accordion", never, { "accordionInfo": { "alias": "accordionInfo"; "required": false; }; }, {}, never, ["[component]"], true, never>;
|
|
30
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, AfterViewInit, OnDestroy
|
|
1
|
+
import { EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { MatTableDataSource } from '@angular/material/table';
|
|
3
3
|
import { PageEvent } from '@angular/material/paginator';
|
|
4
4
|
import { MatSort, Sort, SortDirection } from '@angular/material/sort';
|
|
@@ -26,7 +26,6 @@ import * as i0 from "@angular/core";
|
|
|
26
26
|
*/
|
|
27
27
|
export declare class DataTableComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
28
28
|
private breakpointObserverService;
|
|
29
|
-
private elRef;
|
|
30
29
|
private tableData;
|
|
31
30
|
private nestedTableData;
|
|
32
31
|
expandedElement: any;
|
|
@@ -42,8 +41,6 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
42
41
|
get nestedTableColumnSchemaInfo(): TableColumnSchema[];
|
|
43
42
|
constants: any;
|
|
44
43
|
tableActions: TableActions;
|
|
45
|
-
tableColumnActions: Menu[];
|
|
46
|
-
tableColumnActionMenuSize: string;
|
|
47
44
|
tableRowActions: Menu[];
|
|
48
45
|
nestedTableRowActions: Menu[];
|
|
49
46
|
caption: string;
|
|
@@ -78,10 +75,6 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
78
75
|
inbuiltSortingNeeded: boolean;
|
|
79
76
|
isCellTextOverflowEllipsis: boolean;
|
|
80
77
|
isTableHeaderNeeded: boolean;
|
|
81
|
-
tableColumnsHeaderText: string;
|
|
82
|
-
verticalColumnHeaderNumber: number;
|
|
83
|
-
scrollbarSupportMessage: string;
|
|
84
|
-
isScrollSupportMessageNeeded: boolean;
|
|
85
78
|
rowSelected: EventEmitter<any>;
|
|
86
79
|
selectedRowToEdit: EventEmitter<any>;
|
|
87
80
|
selectedRowToDelete: EventEmitter<any>;
|
|
@@ -100,12 +93,9 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
100
93
|
selectedRowsInfo: EventEmitter<TableColumnSchema[]>;
|
|
101
94
|
rowExpansionClick: EventEmitter<any>;
|
|
102
95
|
sort: MatSort;
|
|
103
|
-
tableContent: ElementRef<HTMLElement>;
|
|
104
96
|
displayedColumns: string[];
|
|
105
97
|
nestedTableDisplayedColumns: string[];
|
|
106
98
|
isMobileView: boolean;
|
|
107
|
-
isScrollingEnabled: boolean;
|
|
108
|
-
resizeObserver: ResizeObserver;
|
|
109
99
|
dataSource: MatTableDataSource<any>;
|
|
110
100
|
nestedTableDataSource: MatTableDataSource<any>;
|
|
111
101
|
selectedRows: SelectionModel<TableColumnSchema>;
|
|
@@ -121,14 +111,14 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
121
111
|
set searchResultMessage(value: string);
|
|
122
112
|
get searchResultMessage(): string;
|
|
123
113
|
safeType: SafeType;
|
|
124
|
-
constructor(breakpointObserverService: BreakpointObserverService
|
|
114
|
+
constructor(breakpointObserverService: BreakpointObserverService);
|
|
125
115
|
/**
|
|
126
116
|
* Initializes the data table component and sets the table action buttons.
|
|
127
117
|
* @memberof DataTableComponent
|
|
128
118
|
*/
|
|
129
119
|
ngOnInit(): void;
|
|
130
120
|
/**
|
|
131
|
-
* Initializes the sort feature of dataSource
|
|
121
|
+
* Initializes the sort feature of dataSource
|
|
132
122
|
* @memberof DataTableComponent
|
|
133
123
|
*/
|
|
134
124
|
ngAfterViewInit(): void;
|
|
@@ -270,5 +260,5 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
270
260
|
*/
|
|
271
261
|
ngOnDestroy(): void;
|
|
272
262
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
273
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ieeesa-data-table", never, { "tableDataInfo": { "alias": "tableDataInfo"; "required": false; }; "nestedTableDataInfo": { "alias": "nestedTableDataInfo"; "required": false; }; "columnSchemaInfo": { "alias": "columnSchemaInfo"; "required": false; }; "nestedTableColumnSchemaInfo": { "alias": "nestedTableColumnSchemaInfo"; "required": false; }; "tableActions": { "alias": "tableActions"; "required": false; }; "
|
|
263
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ieeesa-data-table", never, { "tableDataInfo": { "alias": "tableDataInfo"; "required": false; }; "nestedTableDataInfo": { "alias": "nestedTableDataInfo"; "required": false; }; "columnSchemaInfo": { "alias": "columnSchemaInfo"; "required": false; }; "nestedTableColumnSchemaInfo": { "alias": "nestedTableColumnSchemaInfo"; "required": false; }; "tableActions": { "alias": "tableActions"; "required": false; }; "tableRowActions": { "alias": "tableRowActions"; "required": false; }; "nestedTableRowActions": { "alias": "nestedTableRowActions"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "viewAll": { "alias": "viewAll"; "required": false; }; "paginatorConfig": { "alias": "paginatorConfig"; "required": false; }; "nestedPaginatorConfig": { "alias": "nestedPaginatorConfig"; "required": false; }; "legends": { "alias": "legends"; "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; }; "rowExpandButton": { "alias": "rowExpandButton"; "required": false; }; "rowCollapseButton": { "alias": "rowCollapseButton"; "required": false; }; "isNestedTableHeaderNeeded": { "alias": "isNestedTableHeaderNeeded"; "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; }; "searchSupportMessage": { "alias": "searchSupportMessage"; "required": false; }; "inbuiltSortingNeeded": { "alias": "inbuiltSortingNeeded"; "required": false; }; "isCellTextOverflowEllipsis": { "alias": "isCellTextOverflowEllipsis"; "required": false; }; "isTableHeaderNeeded": { "alias": "isTableHeaderNeeded"; "required": false; }; "searchResultMessage": { "alias": "searchResultMessage"; "required": false; }; }, { "rowSelected": "rowSelected"; "selectedRowToEdit": "selectedRowToEdit"; "selectedRowToDelete": "selectedRowToDelete"; "selectedRowsToDelete": "selectedRowsToDelete"; "rowLink": "rowLink"; "addRow": "addRow"; "columnDataOnRowLinkClick": "columnDataOnRowLinkClick"; "menuActionClick": "menuActionClick"; "selectActionMenu": "selectActionMenu"; "paginationChange": "paginationChange"; "selectedFilter": "selectedFilter"; "removeFilteredOption": "removeFilteredOption"; "filteredOptions": "filteredOptions"; "searchedValue": "searchedValue"; "sortChange": "sortChange"; "selectedRowsInfo": "selectedRowsInfo"; "rowExpansionClick": "rowExpansionClick"; }, never, never, true, never>;
|
|
274
264
|
}
|
|
@@ -79,7 +79,7 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
|
|
|
79
79
|
formTimeSelected: EventEmitter<SelectedTime>;
|
|
80
80
|
supportTextLinkClick: EventEmitter<LinkEventEmitType>;
|
|
81
81
|
formSlideToggleChange: EventEmitter<SlideToggleOption>;
|
|
82
|
-
formFileUpload: EventEmitter<
|
|
82
|
+
formFileUpload: EventEmitter<File | FileList>;
|
|
83
83
|
dropdownOpenedChange: EventEmitter<SelectOpenedState>;
|
|
84
84
|
formColorPickerChange: EventEmitter<string>;
|
|
85
85
|
formRadioOptionSelected: EventEmitter<RadioOption>;
|
|
@@ -285,8 +285,8 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
285
285
|
private uploadedSizeValue;
|
|
286
286
|
get uploadedSize(): number;
|
|
287
287
|
set uploadedSize(value: number);
|
|
288
|
-
uploadSelectedFiles: EventEmitter<
|
|
289
|
-
downloadSelectedFile: EventEmitter<
|
|
288
|
+
uploadSelectedFiles: EventEmitter<File | FileList>;
|
|
289
|
+
downloadSelectedFile: EventEmitter<File | FileList>;
|
|
290
290
|
constructor(formUtilityService: FormUtilityService, fileUploadService: FileUploadService);
|
|
291
291
|
/**
|
|
292
292
|
* Initializes component properties and retrieves configuration.
|
|
@@ -11,7 +11,6 @@ export declare class MenuComponent {
|
|
|
11
11
|
constants: any;
|
|
12
12
|
menuItems: Menu[];
|
|
13
13
|
button: IconButton;
|
|
14
|
-
defaultIconSize: string;
|
|
15
14
|
isMarginBottomZero: boolean;
|
|
16
15
|
menuItemClick: EventEmitter<Menu>;
|
|
17
16
|
/**
|
|
@@ -29,5 +28,5 @@ export declare class MenuComponent {
|
|
|
29
28
|
*/
|
|
30
29
|
trackByFn(index: number, menu: Menu): number;
|
|
31
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "ieeesa-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "button": { "alias": "button"; "required": false; }; "
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "ieeesa-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "button": { "alias": "button"; "required": false; }; "isMarginBottomZero": { "alias": "isMarginBottomZero"; "required": false; }; }, { "menuItemClick": "menuItemClick"; }, never, never, true, never>;
|
|
33
32
|
}
|
|
@@ -72,7 +72,7 @@ export declare class DynamicFormFieldDirective implements FormField, OnInit, OnD
|
|
|
72
72
|
formSlideToggleChange: EventEmitter<SlideToggleOption>;
|
|
73
73
|
dropdownOpenedChange: EventEmitter<SelectOpenedState>;
|
|
74
74
|
formColorPickerChange: EventEmitter<string>;
|
|
75
|
-
formFileUpload: EventEmitter<
|
|
75
|
+
formFileUpload: EventEmitter<File | FileList>;
|
|
76
76
|
formRadioOptionSelected: EventEmitter<RadioOption>;
|
|
77
77
|
component: ComponentRef<any>;
|
|
78
78
|
constructor(container: ViewContainerRef);
|
|
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class FileUploadDirective {
|
|
9
9
|
allowedFileTypes: string[];
|
|
10
10
|
isMultiFileUpload: boolean;
|
|
11
|
-
fileDropped: EventEmitter<
|
|
11
|
+
fileDropped: EventEmitter<File | FileList>;
|
|
12
12
|
/**
|
|
13
13
|
* Binds the 'multiple' attribute based on the value of allowMultiple property.
|
|
14
14
|
* @readonly
|