@ieeesa-npm/presentation 0.4.4 → 0.4.6

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.
@@ -0,0 +1,194 @@
1
+ import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { BreakpointObserverService } from '@ieeesa-npm/utility';
4
+ import { ChipOption, ChipOrientation, ChipsType } from '../../models/chip-option.model';
5
+ import { IconButton } from '../../models/icon-button.model';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Chips component allow users to view information, make selections, filter content.
9
+ * @export
10
+ * @class ChipComponent
11
+ * @implements {OnInit}
12
+ * @implements {OnDestroy}
13
+ */
14
+ export declare class ChipsComponent implements OnInit, OnDestroy {
15
+ breakpointObserverService: BreakpointObserverService;
16
+ defaultVisibleChips: ChipOption[];
17
+ isViewMoreActive: boolean;
18
+ isMobileView: boolean;
19
+ labelViewAllOrLess: string;
20
+ constants: {
21
+ ariaLabel: {
22
+ clear: string;
23
+ warning: string;
24
+ previousMonth: string;
25
+ nextMonth: string;
26
+ menuIcon: string;
27
+ close: string;
28
+ };
29
+ button: {
30
+ cancel: string;
31
+ ok: string;
32
+ };
33
+ chips: {
34
+ noOfDefaultVisibleChips: number;
35
+ label: {
36
+ viewAll: string;
37
+ viewLess: string;
38
+ };
39
+ ariaLabel: {
40
+ chipsList: string;
41
+ };
42
+ icons: {
43
+ arrow: {
44
+ id: number;
45
+ iconURL: string;
46
+ toolTip: string;
47
+ ariaLabel: string;
48
+ };
49
+ remove: {
50
+ id: number;
51
+ iconURL: string;
52
+ toolTip: string;
53
+ ariaLabel: string;
54
+ };
55
+ };
56
+ };
57
+ dataTable: {
58
+ label: {
59
+ clearAll: string;
60
+ };
61
+ ariaLabel: {
62
+ search: string;
63
+ selectAll: string;
64
+ select: string;
65
+ link: string;
66
+ pagination: string;
67
+ };
68
+ buttons: {
69
+ id: number;
70
+ iconURL: string;
71
+ toolTip: string;
72
+ ariaLabel: string;
73
+ }[];
74
+ };
75
+ datePicker: {
76
+ selectDateLabel: string;
77
+ dateFormatLabel: string;
78
+ startDateLabel: string;
79
+ endDateLabel: string;
80
+ };
81
+ dropdown: {
82
+ placeholderText: string;
83
+ };
84
+ filter: {
85
+ label: {
86
+ filterBy: string;
87
+ applyButton: string;
88
+ };
89
+ buttons: {
90
+ id: number;
91
+ iconURL: string;
92
+ toolTip: string;
93
+ ariaLabel: string;
94
+ }[];
95
+ };
96
+ textarea: {
97
+ maxLengthDefault: number;
98
+ };
99
+ autocomplete: {
100
+ minCharToSearch: number;
101
+ debounceTime: number;
102
+ };
103
+ header: {
104
+ alt: {
105
+ logo: string;
106
+ };
107
+ ariaLabel: {
108
+ helpLink: string;
109
+ userProfile: string;
110
+ hamburgerMenu: string;
111
+ };
112
+ label: {
113
+ signOut: string;
114
+ };
115
+ };
116
+ footer: {
117
+ alt: {
118
+ logo: string;
119
+ };
120
+ links: {
121
+ label: string;
122
+ ariaLabel: string;
123
+ redirectUrl: string;
124
+ }[];
125
+ ieeeLogo: string;
126
+ copyright: {
127
+ link: string;
128
+ textPart1: string;
129
+ textPart2: string;
130
+ hyperLinkPart3: string;
131
+ textPart4: string;
132
+ };
133
+ };
134
+ welcome: {
135
+ buttons: {
136
+ label: string;
137
+ ariaLabel: string;
138
+ url: string;
139
+ }[];
140
+ };
141
+ defaultWelcomeBgColor: string;
142
+ };
143
+ chipsType: typeof ChipsType;
144
+ orientations: typeof ChipOrientation;
145
+ destroy$: Subject<boolean>;
146
+ private chips;
147
+ set chipGroup(value: ChipOption[]);
148
+ get chipGroup(): ChipOption[];
149
+ chipOrientation: ChipOrientation;
150
+ noOfDefaultVisibleChips: number;
151
+ hasViewMoreForDesktop: boolean;
152
+ hasViewMoreForMobile: boolean;
153
+ avatar: IconButton;
154
+ arrow: IconButton;
155
+ typeOfChip: ChipsType;
156
+ isViewMoreNeeded: boolean;
157
+ hasChipToggled: boolean;
158
+ viewAllLabel: string;
159
+ viewLessLabel: string;
160
+ selectedChip: EventEmitter<any>;
161
+ constructor(breakpointObserverService: BreakpointObserverService);
162
+ ngOnInit(): void;
163
+ /**
164
+ * Onclick the chip, it emits selectedChip event with selected chip.
165
+ * @param {ChipOption} chip
166
+ * @memberof ChipComponent
167
+ */
168
+ onChipClick(chip: ChipOption): void;
169
+ /**
170
+ * Shows list of chips on the basis of view more/less button state.
171
+ * @memberof ChipComponent
172
+ */
173
+ viewChips(): void;
174
+ /**
175
+ * Sets the isViewMoreNeeded value based on hasViewMore and isMobileView values.
176
+ * @memberof ChipsComponent
177
+ */
178
+ getViewMore(): void;
179
+ /**
180
+ * Allows Angular to detect the specific chip option that needs to change or be added by tracking option unique Id.
181
+ * @param {number} index
182
+ * @param {ChipOption} option
183
+ * @return {*} {(number | string)}
184
+ * @memberof ChipComponent
185
+ */
186
+ trackById(index: number, option: ChipOption): number | string;
187
+ /**
188
+ * NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
189
+ * @memberof GroupsComponent
190
+ */
191
+ ngOnDestroy(): void;
192
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipsComponent, never>;
193
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipsComponent, "ieeesa-chips", never, { "chipGroup": { "alias": "chipGroup"; "required": false; }; "chipOrientation": { "alias": "chipOrientation"; "required": false; }; "noOfDefaultVisibleChips": { "alias": "noOfDefaultVisibleChips"; "required": false; }; "hasViewMoreForDesktop": { "alias": "hasViewMoreForDesktop"; "required": false; }; "hasViewMoreForMobile": { "alias": "hasViewMoreForMobile"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "arrow": { "alias": "arrow"; "required": false; }; "typeOfChip": { "alias": "typeOfChip"; "required": false; }; "isViewMoreNeeded": { "alias": "isViewMoreNeeded"; "required": false; }; "hasChipToggled": { "alias": "hasChipToggled"; "required": false; }; "viewAllLabel": { "alias": "viewAllLabel"; "required": false; }; "viewLessLabel": { "alias": "viewLessLabel"; "required": false; }; }, { "selectedChip": "selectedChip"; }, never, never, true, never>;
194
+ }
@@ -0,0 +1,193 @@
1
+ import { EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
2
+ import { MatTableDataSource } from '@angular/material/table';
3
+ import { MatPaginator, PageEvent } from '@angular/material/paginator';
4
+ import { MatSort, SortDirection } from '@angular/material/sort';
5
+ import { SelectionModel } from '@angular/cdk/collections';
6
+ import { Subject } from 'rxjs';
7
+ import { BreakpointObserverService } from '@ieeesa-npm/utility';
8
+ import { TableColumnSchema, TableColumnType } from '../../models/table-schema.model';
9
+ import { PaginatorConfig } from '../../models/paginator-config.model';
10
+ import { CheckboxOption } from '../../models/checkbox-option.model';
11
+ import { IconButton } from '../../models/icon-button.model';
12
+ import { TableActions } from '../../models/table-actions.model';
13
+ import { ChipOption } from '../../models/chip-option.model';
14
+ import * as i0 from "@angular/core";
15
+ /**
16
+ * 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.
17
+ * @export
18
+ * @class DataTableComponent
19
+ * @implements {OnInit}
20
+ * @implements {AfterViewInit}
21
+ * @implements {OnDestroy}
22
+ */
23
+ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDestroy {
24
+ private breakpointObserverService;
25
+ private tableData;
26
+ set tableDataInfo(value: any[]);
27
+ get tableDataInfo(): any[];
28
+ private columnSchema;
29
+ set columnSchemaInfo(value: TableColumnSchema[]);
30
+ get columnSchemaInfo(): TableColumnSchema[];
31
+ constants: any;
32
+ tableActions: TableActions;
33
+ caption: string;
34
+ paginatorConfig: PaginatorConfig;
35
+ searchPlaceHolderText: string;
36
+ rowEditButton: IconButton;
37
+ rowDeleteButton: IconButton;
38
+ tableEditButton: IconButton;
39
+ tableDeleteButton: IconButton;
40
+ addButton: IconButton;
41
+ defaultColumnSortDirection: SortDirection;
42
+ defaultSortedColumn: string;
43
+ filters: ChipOption[];
44
+ selectedFilterOptions: CheckboxOption[];
45
+ appliedFilterOptions: ChipOption[];
46
+ rowSelected: EventEmitter<any>;
47
+ selectedRowToEdit: EventEmitter<any>;
48
+ selectedRowToDelete: EventEmitter<any>;
49
+ selectedRowsToDelete: EventEmitter<TableColumnSchema[]>;
50
+ rowLink: EventEmitter<any>;
51
+ addRow: EventEmitter<any>;
52
+ columnDataOnRowLinkClick: EventEmitter<any>;
53
+ paginationChange: EventEmitter<{
54
+ pageOffset: number;
55
+ pageLimit: number;
56
+ }>;
57
+ selectedFilter: EventEmitter<ChipOption>;
58
+ removeFilteredOption: EventEmitter<any>;
59
+ filteredOptions: EventEmitter<CheckboxOption[]>;
60
+ searchedValue: EventEmitter<string>;
61
+ displayedColumns: string[];
62
+ isMobileView: boolean;
63
+ dataSource: MatTableDataSource<any>;
64
+ selectedRows: SelectionModel<TableColumnSchema>;
65
+ pageLimit: number;
66
+ pageOffset: number;
67
+ columnType: typeof TableColumnType;
68
+ isSearchActive: boolean;
69
+ clearAll: any;
70
+ destroy$: Subject<boolean>;
71
+ sort: MatSort;
72
+ paginator: MatPaginator;
73
+ constructor(breakpointObserverService: BreakpointObserverService);
74
+ /**
75
+ * Initializes the data table component and sets the table action buttons.
76
+ * @memberof DataTableComponent
77
+ */
78
+ ngOnInit(): void;
79
+ /**
80
+ * Initializes the sort feature of dataSource
81
+ * @memberof DataTableComponent
82
+ */
83
+ ngAfterViewInit(): void;
84
+ /**
85
+ * Sets the dataSource whenever the table data changes.
86
+ * @memberof DataTableComponent
87
+ */
88
+ tableDataChanges(): void;
89
+ /**
90
+ * OnSelectClick method emits the rowSelected event with selected row data.
91
+ * @param {*} row
92
+ * @param {boolean} checked
93
+ * @memberof DataTableComponent
94
+ */
95
+ onSelectClick(row: any): void;
96
+ /**
97
+ * OnEditClick method emits the selectedRowToEdit event with the selected row data.
98
+ * @param {*} row
99
+ * @memberof DataTableComponent
100
+ */
101
+ onEditClick(row: any): void;
102
+ /**
103
+ * OnDeleteClick method emits the selectedRowToDelete event with the selected row data.
104
+ * @param {*} row
105
+ * @memberof DataTableComponent
106
+ */
107
+ onDeleteClick(row: any): void;
108
+ /**
109
+ *OnLinkClick method emits the event with row and column.
110
+ * @param {*} row
111
+ * @param {TableColumnSchema} [column]
112
+ * @memberof DataTableComponent
113
+ */
114
+ onLinkClick(row: any, column?: TableColumnSchema): void;
115
+ /**
116
+ * OnTableEditClick method emits event with selected rows data when edit button clicked.
117
+ * @memberof DataTableComponent
118
+ */
119
+ onTableEditClick(): void;
120
+ /**
121
+ * OnDeleteTableClick method emits event with selected row data when delete button clicked.
122
+ * @memberof DataTableComponent
123
+ */
124
+ onDeleteTableClick(): void;
125
+ /**
126
+ * OnAddClick method emits the add event when add button clicked.
127
+ * @memberof DataTableComponent
128
+ */
129
+ onAddClick(): void;
130
+ /**
131
+ * OnTableSearchClick method toggles the isSearchActive state when the search icon is clicked for the mobile view.
132
+ * @memberof DataTableComponent
133
+ */
134
+ onTableSearchClick(): void;
135
+ /**
136
+ * SelectedFilterInfo method emits the selectedFilter event with selected filter information.
137
+ * @param {ChipOption} option
138
+ * @memberof DataTableComponent
139
+ */
140
+ selectedFilterTypeInfo(option: ChipOption): void;
141
+ /**
142
+ * OnSelectedFilterOptions method emits the filteredOptions event with the selected options and adds "Clear all" option to clear the all selections.
143
+ * @param {CheckboxOption[]} options
144
+ * @memberof DataTableComponent
145
+ */
146
+ onSelectedFilterOptions(options: CheckboxOption[]): void;
147
+ /**
148
+ * OnRemovalOfFilteredOption method emits the removeFilteredOption event with removed option.
149
+ * Sets the new appliedFilterOptions without removed option.
150
+ * @param {ChipOption} option
151
+ * @memberof DataTableComponent
152
+ */
153
+ onRemovalOfFilteredOption(option: ChipOption): void;
154
+ /**
155
+ * SearchValue method emits the searched value.
156
+ * @param {string} value
157
+ * @memberof DataTableComponent
158
+ */
159
+ searchValue(value: string): void;
160
+ /**
161
+ * Handles the pagination for every page.
162
+ * @param {PageEvent} event
163
+ * @memberof DataTableComponent
164
+ */
165
+ handlePagination(event: PageEvent): void;
166
+ /**
167
+ * IsAllRowSelected method returns the boolean value by checking selectedRows and totalRows length.
168
+ * @return {*} {boolean}
169
+ * @memberof DataTableComponent
170
+ */
171
+ isAllRowsSelected(): boolean;
172
+ /**
173
+ * ToggleAllRowsSelection method clears selectedRows when all rows are selected else selects the all rows.
174
+ * @return {*} {void}
175
+ * @memberof DataTableComponent
176
+ */
177
+ toggleAllRowsSelection(): void;
178
+ /**
179
+ * Allows Angular to detect the specific table row that needs to change or be added by tracking row unique Id.
180
+ * @param {number} index
181
+ * @param {TableColumnSchema} column
182
+ * @return {*} {number}
183
+ * @memberof DataTableComponent
184
+ */
185
+ trackById(index: number, column: TableColumnSchema): number;
186
+ /**
187
+ * NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
188
+ * @memberof DataTableComponent
189
+ */
190
+ ngOnDestroy(): void;
191
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
192
+ 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; }; }, { "rowSelected": "rowSelected"; "selectedRowToEdit": "selectedRowToEdit"; "selectedRowToDelete": "selectedRowToDelete"; "selectedRowsToDelete": "selectedRowsToDelete"; "rowLink": "rowLink"; "addRow": "addRow"; "columnDataOnRowLinkClick": "columnDataOnRowLinkClick"; "paginationChange": "paginationChange"; "selectedFilter": "selectedFilter"; "removeFilteredOption": "removeFilteredOption"; "filteredOptions": "filteredOptions"; "searchedValue": "searchedValue"; }, never, never, true, never>;
193
+ }
@@ -0,0 +1,71 @@
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
2
+ import { BreakpointObserverService } from '@ieeesa-npm/utility';
3
+ import { Subject } from 'rxjs';
4
+ import { CheckboxOption } from '../../models/checkbox-option.model';
5
+ import { IconButton } from '../../models/icon-button.model';
6
+ import { ChipOption, ChipsType } from '../../models/chip-option.model';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Provides an implementation for group of filter.
10
+ * @export
11
+ * @class FilterComponent
12
+ * @implements {OnDestroy}
13
+ */
14
+ export declare class FilterComponent implements OnDestroy {
15
+ private breakpointObserverService;
16
+ constants: any;
17
+ arrow: IconButton;
18
+ removeIcon: IconButton;
19
+ isFilterOpened: boolean;
20
+ selectedCheckboxes: CheckboxOption[];
21
+ onFilterToggle: boolean;
22
+ isFilterActive: boolean;
23
+ isMobileView: boolean;
24
+ typeOfChip: ChipsType;
25
+ destroy$: Subject<boolean>;
26
+ private filteredTypeOptionsInfo;
27
+ set appliedFilterOptions(options: ChipOption[]);
28
+ get appliedFilterOptions(): ChipOption[];
29
+ filterButton: IconButton;
30
+ filters: ChipOption[];
31
+ selectedFilterOptions: CheckboxOption[];
32
+ selectedFilter: EventEmitter<ChipOption>;
33
+ filteredOptions: EventEmitter<CheckboxOption[]>;
34
+ removeFilteredOption: EventEmitter<ChipOption>;
35
+ constructor(breakpointObserverService: BreakpointObserverService);
36
+ /**
37
+ * OnFilterSelected receives the selected filter from chip component, emits the selected filter and toggle the isFilterByOptionsVisible state.
38
+ * @param {ChipOption} type
39
+ * @memberof FilterComponent
40
+ */
41
+ onFilterSelected(type: ChipOption): void;
42
+ /**
43
+ * OnRemovalOfFilteredOption method receives removed chip from chip component and emits the event with removed chip.
44
+ * @param {ChipOption} option
45
+ * @memberof FilterComponent
46
+ */
47
+ onRemovalOfFilteredOption(option: ChipOption): void;
48
+ /**
49
+ * OnFilterApply toggles the isFilterByOptionsVisible state, emits the selected filter options and toggles the filter stateO
50
+ * @memberof FilterComponent
51
+ */
52
+ onFilterApply(): void;
53
+ /**
54
+ * SelectedFilterOptions method is called for every selection and deselection of filter option and stores the selected filter options.
55
+ * @param {CheckboxOption[]} values
56
+ * @memberof FilterComponent
57
+ */
58
+ selectedFilterOptionsInfo(values: CheckboxOption[]): void;
59
+ /**
60
+ * OnFilterByIconClick method toggles the isFilterActive value.
61
+ * @memberof FilterComponent
62
+ */
63
+ onFilterByIconClick(): void;
64
+ /**
65
+ * NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
66
+ * @memberof FilterComponent
67
+ */
68
+ ngOnDestroy(): void;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "ieeesa-filter", never, { "appliedFilterOptions": { "alias": "appliedFilterOptions"; "required": false; }; "filterButton": { "alias": "filterButton"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "selectedFilterOptions": { "alias": "selectedFilterOptions"; "required": false; }; }, { "selectedFilter": "selectedFilter"; "filteredOptions": "filteredOptions"; "removeFilteredOption": "removeFilteredOption"; }, never, never, true, never>;
71
+ }
@@ -0,0 +1,18 @@
1
+ export declare enum ChipOrientation {
2
+ HORIZONTAL = "HORIZONTAL",
3
+ VERTICAL = "VERTICAL"
4
+ }
5
+ export declare enum ChipsType {
6
+ STATIC = " STATIC",
7
+ TOGGLE = "TOGGLE",
8
+ INPUT = "INPUT",
9
+ AUTOCOMPLETE = "AUTOCOMPLETE",
10
+ FORM_CONTROL = "FORM_CONTROL",
11
+ AVATAR = "AVATAR"
12
+ }
13
+ export interface ChipOption {
14
+ id: number | string;
15
+ name: string;
16
+ checked: boolean;
17
+ disabled?: boolean;
18
+ }
@@ -0,0 +1,5 @@
1
+ export interface PaginatorConfig {
2
+ recordsPerPage: number;
3
+ pageSizeOptions: number[];
4
+ totalRecords: number;
5
+ }
@@ -0,0 +1,8 @@
1
+ export interface TableActions {
2
+ isSearchNeeded?: boolean;
3
+ isFilterNeeded?: boolean;
4
+ isAddNeeded?: boolean;
5
+ isEditNeeded?: boolean;
6
+ isDeleteNeeded?: boolean;
7
+ isPaginationNeeded?: boolean;
8
+ }
@@ -0,0 +1,18 @@
1
+ export declare enum TableColumnType {
2
+ TEXT = "TEXT",
3
+ LINK = "LINK",
4
+ SELECT = "SELECT",
5
+ ADD = "ADD",
6
+ EDIT = "EDIT",
7
+ DELETE = "DELETE"
8
+ }
9
+ export interface TableColumnSchema {
10
+ id: number;
11
+ columnDef: string;
12
+ heading: string;
13
+ columnType: TableColumnType;
14
+ cellData: any;
15
+ isDateColumn?: boolean;
16
+ isStickyColumn?: boolean;
17
+ isSortableColumn?: boolean;
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
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.1",
22
- "@ieeesa-npm/feature": "^0.2.6"
21
+ "@ieeesa-npm/shared-styles": "^0.1.2",
22
+ "@ieeesa-npm/feature": "^0.2.8"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -21,6 +21,9 @@ export * from './lib/components/select/select.component';
21
21
  export * from './lib/components/text-area/text-area.component';
22
22
  export * from './lib/components/toggle-button/toggle-button.component';
23
23
  export * from './lib/components/welcome/welcome.component';
24
+ export * from './lib/components/chips/chips.component';
25
+ export * from './lib/components/filter/filter.component';
26
+ export * from './lib/components/data-table/data-table.component';
24
27
  export * from './lib/directives/dynamic-form-field/dynamic-form-field.directive';
25
28
  export * from './lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive';
26
29
  export * from './lib/directives/set-background/set-background.directive';
@@ -46,6 +49,10 @@ export * from './lib/models/radio-option.model';
46
49
  export * from './lib/models/search.model';
47
50
  export * from './lib/models/select-option.model';
48
51
  export * from './lib/models/toggle-button.model';
52
+ export * from './lib/models/chip-option.model';
53
+ export * from './lib/models/paginator-config.model';
54
+ export * from './lib/models/table-actions.model';
55
+ export * from './lib/models/table-schema.model';
49
56
  export * from './lib/services/datepicker.service';
50
57
  export * from './lib/services/form-utility.service';
51
58
  export * from './lib/presentation.module';
@@ -51,21 +51,31 @@
51
51
  "id": 1,
52
52
  "iconURL": "assets/images/sprites/sprites.svg#icon-data-table-edit",
53
53
  "toolTip": "",
54
- "ariaLabel": "Edit",
55
- "disabled": true
54
+ "ariaLabel": "Edit"
56
55
  },
57
56
  {
58
57
  "id": 2,
59
58
  "iconURL": "assets/images/sprites/sprites.svg#icon-data-table-delete",
60
59
  "toolTip": "",
61
- "ariaLabel": "Delete",
62
- "disabled": true
60
+ "ariaLabel": "Delete"
63
61
  },
64
62
  {
65
63
  "id": 3,
66
64
  "iconURL": "assets/images/sprites/sprites.svg#icon-add-member",
67
65
  "toolTip": "",
68
66
  "ariaLabel": "Add user(s)"
67
+ },
68
+ {
69
+ "id": 4,
70
+ "iconURL": "assets/images/sprites/sprites.svg#icon-data-table-row-edit",
71
+ "toolTip": "",
72
+ "ariaLabel": "Edit"
73
+ },
74
+ {
75
+ "id": 5,
76
+ "iconURL": "assets/images/sprites/sprites.svg#icon-data-table-row-delete",
77
+ "toolTip": "",
78
+ "ariaLabel": "Delete"
69
79
  }
70
80
  ]
71
81
  },