@ieeesa-npm/presentation 0.12.6 → 0.12.8
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/card/card.component.mjs +1 -1
- package/esm2022/lib/components/data-table/data-table.component.mjs +4 -29
- package/esm2022/lib/components/filter/filter.component.mjs +1 -1
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +7 -4
- package/esm2022/lib/components/notification/notification.component.mjs +7 -3
- package/esm2022/lib/models/table-schema.model.mjs +1 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +15 -31
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/data-table/data-table.component.d.ts +2 -14
- package/lib/components/icon-button/icon-button.component.d.ts +2 -1
- package/lib/components/notification/notification.component.d.ts +3 -1
- package/lib/models/table-schema.model.d.ts +0 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { PageEvent } from '@angular/material/paginator';
|
|
|
4
4
|
import { MatSort, Sort, SortDirection } from '@angular/material/sort';
|
|
5
5
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
|
-
import { BreakpointObserverService
|
|
7
|
+
import { BreakpointObserverService } from '@ieeesa-npm/utility';
|
|
8
8
|
import { TableColumnSchema, TableColumnType } from '../../models/table-schema.model';
|
|
9
9
|
import { PaginatorConfig } from '../../models/paginator-config.model';
|
|
10
10
|
import { CheckboxOption } from '../../models/checkbox-option.model';
|
|
@@ -14,7 +14,6 @@ import { ChipOption } from '../../models/chip-option.model';
|
|
|
14
14
|
import { SearchType } from '../../models/search.model';
|
|
15
15
|
import { FiltersAndOptions } from '../../models/filters-options.model';
|
|
16
16
|
import { Menu } from '../../models/menu.model';
|
|
17
|
-
import { Legend } from '../../models/legend.model';
|
|
18
17
|
import * as i0 from "@angular/core";
|
|
19
18
|
/**
|
|
20
19
|
* Provides a Material Design styled data-table that can be used to display rows of data with sortBy, filterBy, add/edit/delete table row data, pagination, search table data.
|
|
@@ -51,9 +50,6 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
51
50
|
private nestedPaginatorConfiguration;
|
|
52
51
|
set nestedPaginatorConfig(value: PaginatorConfig);
|
|
53
52
|
get nestedPaginatorConfig(): PaginatorConfig;
|
|
54
|
-
private legendsInfo;
|
|
55
|
-
set legends(value: Legend[]);
|
|
56
|
-
get legends(): Legend[];
|
|
57
53
|
searchPlaceHolderText: string;
|
|
58
54
|
rowEditButton: IconButton;
|
|
59
55
|
rowDeleteButton: IconButton;
|
|
@@ -106,7 +102,6 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
106
102
|
noRecordFound: any;
|
|
107
103
|
destroy$: Subject<boolean>;
|
|
108
104
|
showNestedTablePaginationInfo: string;
|
|
109
|
-
safeType: SafeType;
|
|
110
105
|
constructor(breakpointObserverService: BreakpointObserverService);
|
|
111
106
|
/**
|
|
112
107
|
* Initializes the data table component and sets the table action buttons.
|
|
@@ -243,18 +238,11 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
243
238
|
* @memberof DataTableComponent
|
|
244
239
|
*/
|
|
245
240
|
trackById(index: number, column: TableColumnSchema): number;
|
|
246
|
-
/**
|
|
247
|
-
* Sets the table row left border as per the legend color
|
|
248
|
-
* @param {string} color
|
|
249
|
-
* @return {*}
|
|
250
|
-
* @memberof DataTableComponent
|
|
251
|
-
*/
|
|
252
|
-
getRowBorderLeftColor(color: string): any;
|
|
253
241
|
/**
|
|
254
242
|
* NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
|
|
255
243
|
* @memberof DataTableComponent
|
|
256
244
|
*/
|
|
257
245
|
ngOnDestroy(): void;
|
|
258
246
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
259
|
-
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; }; "
|
|
247
|
+
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; }; "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; }; "inbuiltSortingNeeded": { "alias": "inbuiltSortingNeeded"; "required": false; }; "isCellTextOverflowEllipsis": { "alias": "isCellTextOverflowEllipsis"; "required": false; }; "isTableHeaderNeeded": { "alias": "isTableHeaderNeeded"; "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>;
|
|
260
248
|
}
|
|
@@ -8,6 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class IconButtonComponent {
|
|
10
10
|
iconButton: IconButton;
|
|
11
|
+
isLabelNeeded: boolean;
|
|
11
12
|
iconButtonClick: EventEmitter<IconButton>;
|
|
12
13
|
/**
|
|
13
14
|
* Emits the clicked icon button information.
|
|
@@ -16,5 +17,5 @@ export declare class IconButtonComponent {
|
|
|
16
17
|
*/
|
|
17
18
|
onClick(event: IconButton): void;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "ieeesa-icon-button", never, { "iconButton": { "alias": "iconButton"; "required": false; }; }, { "iconButtonClick": "iconButtonClick"; }, never, never, true, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "ieeesa-icon-button", never, { "iconButton": { "alias": "iconButton"; "required": false; }; "isLabelNeeded": { "alias": "isLabelNeeded"; "required": false; }; }, { "iconButtonClick": "iconButtonClick"; }, never, never, true, never>;
|
|
20
21
|
}
|
|
@@ -11,6 +11,8 @@ export declare class NotificationComponent {
|
|
|
11
11
|
content: string;
|
|
12
12
|
buttonLabel: string;
|
|
13
13
|
buttonIcon: boolean;
|
|
14
|
+
headingIconURL: string;
|
|
15
|
+
buttonIconURL: string;
|
|
14
16
|
notify: EventEmitter<any>;
|
|
15
17
|
safeType: string;
|
|
16
18
|
/**
|
|
@@ -18,5 +20,5 @@ export declare class NotificationComponent {
|
|
|
18
20
|
*/
|
|
19
21
|
onClick(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "ieeesa-notification", never, { "heading": { "alias": "heading"; "required": false; }; "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; }, { "notify": "notify"; }, never, never, true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "ieeesa-notification", never, { "heading": { "alias": "heading"; "required": false; }; "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "headingIconURL": { "alias": "headingIconURL"; "required": false; }; "buttonIconURL": { "alias": "buttonIconURL"; "required": false; }; }, { "notify": "notify"; }, never, never, true, never>;
|
|
22
24
|
}
|