@ieeesa-npm/presentation 0.29.8 → 0.29.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/assets/constants.json +1 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +75 -73
- package/esm2022/lib/components/data-table/data-table.component.mjs +5 -39
- package/esm2022/lib/components/file-download/file-download.component.mjs +6 -6
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +4 -29
- package/esm2022/lib/components/list/list.component.mjs +6 -31
- package/esm2022/lib/models/file-attachment.model.mjs +2 -0
- package/esm2022/lib/models/list-item.model.mjs +1 -1
- package/esm2022/lib/services/breadcrumb.service.mjs +1 -1
- package/esm2022/lib/services/file-upload.service.mjs +1 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +100 -184
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +10 -2
- package/lib/components/chips/chips.component.d.ts +0 -2
- package/lib/components/data-table/data-table.component.d.ts +3 -11
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +1 -1
- package/lib/components/file-download/file-download.component.d.ts +7 -3
- package/lib/components/file-upload/file-upload.component.d.ts +2 -25
- package/lib/components/list/list.component.d.ts +1 -11
- 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/file-attachment.model.d.ts +21 -0
- package/lib/models/list-item.model.d.ts +0 -1
- package/lib/services/breadcrumb.service.d.ts +3 -3
- package/lib/services/file-upload.service.d.ts +7 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/lib/assets/constants.json +1 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { ActivatedRoute, ActivatedRouteSnapshot, Router } from '@angular/router';
|
|
4
4
|
import { Breadcrumb } from '../../models/breadcrumb.model';
|
|
5
5
|
import { BreadcrumbService } from '../../services/breadcrumb.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class BreadcrumbComponent implements OnDestroy {
|
|
12
12
|
activatedRoute: ActivatedRoute;
|
|
13
|
-
|
|
13
|
+
router: Router;
|
|
14
14
|
breadcrumbService: BreadcrumbService;
|
|
15
15
|
breadcrumbTexts: any;
|
|
16
16
|
rootParentCount: number;
|
|
@@ -29,6 +29,7 @@ export declare class BreadcrumbComponent implements OnDestroy {
|
|
|
29
29
|
*/
|
|
30
30
|
breadcrumbInitialRouteLabel: any;
|
|
31
31
|
breadcrumbs: Breadcrumb[];
|
|
32
|
+
breadcrumbLevel: number;
|
|
32
33
|
destroy$: Subject<boolean>;
|
|
33
34
|
constructor(activatedRoute: ActivatedRoute, router: Router, breadcrumbService: BreadcrumbService);
|
|
34
35
|
/**
|
|
@@ -45,6 +46,13 @@ export declare class BreadcrumbComponent implements OnDestroy {
|
|
|
45
46
|
* @memberof BreadcrumbComponent
|
|
46
47
|
*/
|
|
47
48
|
getBreadcrumbs(route: ActivatedRoute, url?: string, breadcrumbs?: Breadcrumb[]): Breadcrumb[];
|
|
49
|
+
/**
|
|
50
|
+
* Returns breadcrumb label.
|
|
51
|
+
* @param {ActivatedRouteSnapshot} snapshot
|
|
52
|
+
* @return {*}
|
|
53
|
+
* @memberof BreadcrumbComponent
|
|
54
|
+
*/
|
|
55
|
+
getExtrasState(snapshot: ActivatedRouteSnapshot): any;
|
|
48
56
|
/**
|
|
49
57
|
* Navigates to the specified breadcrumb item.
|
|
50
58
|
* @param {Breadcrumb} breadcrumb -The breadcrumb item to navigate to.
|
|
@@ -287,10 +287,8 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
|
|
|
287
287
|
};
|
|
288
288
|
list: {
|
|
289
289
|
defaultIndentation: number;
|
|
290
|
-
dragAndDropIconUrl: string;
|
|
291
290
|
};
|
|
292
291
|
search: {
|
|
293
|
-
minCharToSearch: number;
|
|
294
292
|
searchIcon: string;
|
|
295
293
|
};
|
|
296
294
|
richTextEditor: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, AfterViewInit, OnDestroy, ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { MatTableDataSource } from '@angular/material/table';
|
|
3
|
-
import {
|
|
3
|
+
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';
|
|
@@ -61,12 +61,6 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
61
61
|
private legendsInfo;
|
|
62
62
|
set legends(value: Legend[]);
|
|
63
63
|
get legends(): Legend[];
|
|
64
|
-
private currentPageIndex;
|
|
65
|
-
set pageIndex(value: number);
|
|
66
|
-
get pageIndex(): number;
|
|
67
|
-
private currentPageSize;
|
|
68
|
-
set pageSize(value: number);
|
|
69
|
-
get pageSize(): number;
|
|
70
64
|
searchPlaceHolderText: string;
|
|
71
65
|
rowEditButton: IconButton;
|
|
72
66
|
rowDeleteButton: IconButton;
|
|
@@ -95,7 +89,6 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
95
89
|
isStickyHeaderNeeded: boolean;
|
|
96
90
|
customStickyHeaderNeeded: boolean;
|
|
97
91
|
headerElementClassName: string;
|
|
98
|
-
minCharToSearch: any;
|
|
99
92
|
rowSelected: EventEmitter<any>;
|
|
100
93
|
selectedRowToEdit: EventEmitter<any>;
|
|
101
94
|
selectedRowToDelete: EventEmitter<any>;
|
|
@@ -120,7 +113,6 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
120
113
|
rowData: any;
|
|
121
114
|
}>;
|
|
122
115
|
sort: MatSort;
|
|
123
|
-
paginator: MatPaginator;
|
|
124
116
|
headerCellElement: HTMLElement;
|
|
125
117
|
headerHeight: DOMRect;
|
|
126
118
|
tableContent: ElementRef<HTMLElement>;
|
|
@@ -279,7 +271,7 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
279
271
|
*/
|
|
280
272
|
onRemovalOfFilteredOption(options: FiltersAndOptions[]): void;
|
|
281
273
|
/**
|
|
282
|
-
* SearchValue method emits the searched value
|
|
274
|
+
* SearchValue method emits the searched value.
|
|
283
275
|
* @param {string} value
|
|
284
276
|
* @memberof DataTableComponent
|
|
285
277
|
*/
|
|
@@ -323,5 +315,5 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
323
315
|
*/
|
|
324
316
|
ngOnDestroy(): void;
|
|
325
317
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
326
|
-
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; }; "hasNestedTable": { "alias": "hasNestedTable"; "required": false; }; "tableColumnActions": { "alias": "tableColumnActions"; "required": false; }; "tableColumnActionMenuSize": { "alias": "tableColumnActionMenuSize"; "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; }; "
|
|
318
|
+
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; }; "hasNestedTable": { "alias": "hasNestedTable"; "required": false; }; "tableColumnActions": { "alias": "tableColumnActions"; "required": false; }; "tableColumnActionMenuSize": { "alias": "tableColumnActionMenuSize"; "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; }; "tableColumnsHeaderText": { "alias": "tableColumnsHeaderText"; "required": false; }; "verticalColumnHeaderNumber": { "alias": "verticalColumnHeaderNumber"; "required": false; }; "scrollbarSupportMessage": { "alias": "scrollbarSupportMessage"; "required": false; }; "isScrollSupportMessageNeeded": { "alias": "isScrollSupportMessageNeeded"; "required": false; }; "isStickyHeaderNeeded": { "alias": "isStickyHeaderNeeded"; "required": false; }; "customStickyHeaderNeeded": { "alias": "customStickyHeaderNeeded"; "required": false; }; "headerElementClassName": { "alias": "headerElementClassName"; "required": false; }; "searchResultMessage": { "alias": "searchResultMessage"; "required": false; }; "rowMenuActionIcon": { "alias": "rowMenuActionIcon"; "required": false; }; "canDisableCheckbox": { "alias": "canDisableCheckbox"; "required": false; }; "isEllipsisRequiredForLink": { "alias": "isEllipsisRequiredForLink"; "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"; "tableColumnMenuActionClick": "tableColumnMenuActionClick"; "tableColumnMenuToggleButton": "tableColumnMenuToggleButton"; "rowSlideToggle": "rowSlideToggle"; }, never, never, true, never>;
|
|
327
319
|
}
|
|
@@ -91,7 +91,7 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit, A
|
|
|
91
91
|
formTimeSelected: EventEmitter<SelectedTime>;
|
|
92
92
|
supportTextLinkClick: EventEmitter<LinkEventEmitType>;
|
|
93
93
|
formSlideToggleChange: EventEmitter<SlideToggleOption>;
|
|
94
|
-
formFileUpload: EventEmitter<
|
|
94
|
+
formFileUpload: EventEmitter<File | FileList>;
|
|
95
95
|
dropdownOpenedChange: EventEmitter<SelectOpenedState>;
|
|
96
96
|
formColorPickerChange: EventEmitter<string>;
|
|
97
97
|
formRadioOptionSelected: EventEmitter<RadioOption>;
|
|
@@ -166,6 +166,12 @@ export declare class FileDownloadComponent implements OnInit, OnDestroy {
|
|
|
166
166
|
redirectUrl: string;
|
|
167
167
|
}[];
|
|
168
168
|
ieeeLogo: string;
|
|
169
|
+
/**
|
|
170
|
+
* Download the file using generated presigned Url.
|
|
171
|
+
* @param {string} fileDownloadPresignedUrl
|
|
172
|
+
* @param {string} fileName
|
|
173
|
+
* @memberof FileDownloadComponent
|
|
174
|
+
*/
|
|
169
175
|
copyright: {
|
|
170
176
|
link: string;
|
|
171
177
|
textPart1: string;
|
|
@@ -275,10 +281,8 @@ export declare class FileDownloadComponent implements OnInit, OnDestroy {
|
|
|
275
281
|
};
|
|
276
282
|
list: {
|
|
277
283
|
defaultIndentation: number;
|
|
278
|
-
dragAndDropIconUrl: string;
|
|
279
284
|
};
|
|
280
285
|
search: {
|
|
281
|
-
minCharToSearch: number;
|
|
282
286
|
searchIcon: string;
|
|
283
287
|
};
|
|
284
288
|
richTextEditor: {
|
|
@@ -376,7 +380,7 @@ export declare class FileDownloadComponent implements OnInit, OnDestroy {
|
|
|
376
380
|
* @param {string} fileName
|
|
377
381
|
* @memberof FileDownloadComponent
|
|
378
382
|
*/
|
|
379
|
-
downloadFileFromS3(fileDownloadPresignedUrl: string): void;
|
|
383
|
+
downloadFileFromS3(fileDownloadPresignedUrl: string, fileName: string): void;
|
|
380
384
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadComponent, never>;
|
|
381
385
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadComponent, "ieeesa-file-download", never, { "downloadFiles": { "alias": "downloadFiles"; "required": false; }; "fileDownloadAndDeleteConfig": { "alias": "fileDownloadAndDeleteConfig"; "required": false; }; "isPublicAPI": { "alias": "isPublicAPI"; "required": false; }; "domainUrl": { "alias": "domainUrl"; "required": false; }; "apiBaseUrl": { "alias": "apiBaseUrl"; "required": false; }; }, { "downloadSelectedFile": "downloadSelectedFile"; "deleteSelectedFile": "deleteSelectedFile"; }, never, never, true, never>;
|
|
382
386
|
}
|
|
@@ -282,16 +282,10 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
282
282
|
maxFilesUploadedOnce: number;
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
|
-
/**
|
|
286
|
-
* Based on isMultiFileUpload flag return files to download.
|
|
287
|
-
* @memberof FileUploadComponent
|
|
288
|
-
*/
|
|
289
285
|
list: {
|
|
290
286
|
defaultIndentation: number;
|
|
291
|
-
dragAndDropIconUrl: string;
|
|
292
287
|
};
|
|
293
288
|
search: {
|
|
294
|
-
minCharToSearch: number;
|
|
295
289
|
searchIcon: string;
|
|
296
290
|
};
|
|
297
291
|
richTextEditor: {
|
|
@@ -307,11 +301,7 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
307
301
|
buttons: {
|
|
308
302
|
id: number;
|
|
309
303
|
ariaLabel: string;
|
|
310
|
-
iconURL: string;
|
|
311
|
-
* Sets empty value to file form control once it is clicked.
|
|
312
|
-
* @param {Event} event
|
|
313
|
-
* @memberof FileUploadComponent
|
|
314
|
-
*/
|
|
304
|
+
iconURL: string;
|
|
315
305
|
toolTip: string;
|
|
316
306
|
disabled: boolean;
|
|
317
307
|
}[];
|
|
@@ -401,10 +391,9 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
401
391
|
private _fileDownloadAndDeleteConfig;
|
|
402
392
|
set fileDownloadAndDeleteConfig(value: FileDownloadAndDeleteConfig);
|
|
403
393
|
get fileDownloadAndDeleteConfig(): FileDownloadAndDeleteConfig;
|
|
404
|
-
uploadSelectedFiles: EventEmitter<
|
|
394
|
+
uploadSelectedFiles: EventEmitter<File | FileList>;
|
|
405
395
|
downloadSelectedFile: EventEmitter<File | DownloadAttachment>;
|
|
406
396
|
apiBaseUrl: string;
|
|
407
|
-
selectedFileNamesCount: number;
|
|
408
397
|
constructor(formUtilityService: FormUtilityService, fileUploadService: FileUploadService);
|
|
409
398
|
/**
|
|
410
399
|
* Initializes component properties and retrieves configuration.
|
|
@@ -506,18 +495,6 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
506
495
|
* @memberof FileUploadComponent
|
|
507
496
|
*/
|
|
508
497
|
setEmptyValue(event: Event): void;
|
|
509
|
-
/**
|
|
510
|
-
* Removes the file from selectedFiles once the file uploaded successfully to AWS S3.
|
|
511
|
-
* @param {File} file
|
|
512
|
-
* @memberof FileUploadComponent
|
|
513
|
-
*/
|
|
514
|
-
removeSelectedFileInUploadedFiles(fileName: string): void;
|
|
515
|
-
/**
|
|
516
|
-
* Returns the count of files selected for the upload.
|
|
517
|
-
* @return {number}
|
|
518
|
-
* @memberof FileUploadComponent
|
|
519
|
-
*/
|
|
520
|
-
getSelectedFileCount(): number;
|
|
521
498
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
522
499
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ieeesa-file-upload", never, { "maxFileSizeErrorMessage": { "alias": "maxFileSizeErrorMessage"; "required": false; }; "actionButtonAlign": { "alias": "actionButtonAlign"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "isFileSelected": { "alias": "isFileSelected"; "required": false; }; "supportMessage": { "alias": "supportMessage"; "required": false; }; "allowedFileTypes": { "alias": "allowedFileTypes"; "required": false; }; "isMultiFileUpload": { "alias": "isMultiFileUpload"; "required": false; }; "isUploadInProgress": { "alias": "isUploadInProgress"; "required": false; }; "fileUploadHeading": { "alias": "fileUploadHeading"; "required": false; }; "isAllowAnyFileType": { "alias": "isAllowAnyFileType"; "required": false; }; "alignBrowsedFiles": { "alias": "alignBrowsedFiles"; "required": false; }; "isUploadButtonNeeded": { "alias": "isUploadButtonNeeded"; "required": false; }; "maxUploadFileSize": { "alias": "maxUploadFileSize"; "required": false; }; "alignFileUploadErrorMessageTo": { "alias": "alignFileUploadErrorMessageTo"; "required": false; }; "maxFilesUploadedOnce": { "alias": "maxFilesUploadedOnce"; "required": false; }; "maxFilesUploadLimitErrorMessage": { "alias": "maxFilesUploadLimitErrorMessage"; "required": false; }; "fileUploadStatus": { "alias": "fileUploadStatus"; "required": false; }; "uploadedSize": { "alias": "uploadedSize"; "required": false; }; "fileDownloadAndDeleteConfig": { "alias": "fileDownloadAndDeleteConfig"; "required": false; }; }, { "uploadSelectedFiles": "uploadSelectedFiles"; "downloadSelectedFile": "downloadSelectedFile"; }, never, never, true, never>;
|
|
523
500
|
}
|
|
@@ -4,7 +4,6 @@ import { Menu } from '../../models/menu.model';
|
|
|
4
4
|
import { IconButton } from '../../models/icon-button.model';
|
|
5
5
|
import { FileDownloadAndDeleteConfig } from '../../models/file-download-config.model';
|
|
6
6
|
import { DownloadAttachment } from '../../models/download-file.model';
|
|
7
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class ListComponent implements OnDestroy {
|
|
10
9
|
elementRef: ElementRef;
|
|
@@ -23,7 +22,6 @@ export declare class ListComponent implements OnDestroy {
|
|
|
23
22
|
downloadSelectedFile: EventEmitter<File | DownloadAttachment>;
|
|
24
23
|
constants: any;
|
|
25
24
|
indentation: any;
|
|
26
|
-
dragAndDropIconUrl: any;
|
|
27
25
|
addListButton: IconButton;
|
|
28
26
|
safeType: string;
|
|
29
27
|
set addListButtonConfig(addListButton: IconButton);
|
|
@@ -32,7 +30,6 @@ export declare class ListComponent implements OnDestroy {
|
|
|
32
30
|
private _fileDownloadAndDeleteConfig;
|
|
33
31
|
set fileDownloadAndDeleteConfig(value: FileDownloadAndDeleteConfig);
|
|
34
32
|
get fileDownloadAndDeleteConfig(): FileDownloadAndDeleteConfig;
|
|
35
|
-
isReorderRequired: boolean;
|
|
36
33
|
constructor(elementRef: ElementRef);
|
|
37
34
|
/**
|
|
38
35
|
* Emits hyperLinkAndButtonClick event on click of hyper link.
|
|
@@ -78,18 +75,11 @@ export declare class ListComponent implements OnDestroy {
|
|
|
78
75
|
* @memberof ListComponent
|
|
79
76
|
*/
|
|
80
77
|
downloadFile(file: File | DownloadAttachment): void;
|
|
81
|
-
/**
|
|
82
|
-
* Triggers when the item is dropped.
|
|
83
|
-
* @param {CdkDragDrop} event
|
|
84
|
-
* @param {ListItem[]} items
|
|
85
|
-
* @param {number} nestingLevel
|
|
86
|
-
*/
|
|
87
|
-
drop(event: CdkDragDrop<any>, items: ListItem[], nestingLevel: number): void;
|
|
88
78
|
/**
|
|
89
79
|
* Removing the event listeners on destroy.
|
|
90
80
|
* @memberof ListComponent
|
|
91
81
|
*/
|
|
92
82
|
ngOnDestroy(): void;
|
|
93
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "ieeesa-list", never, { "listDataItems": { "alias": "listDataItems"; "required": false; }; "listHeaderConfig": { "alias": "listHeaderConfig"; "required": false; }; "indentation": { "alias": "indentation"; "required": false; }; "addListButtonConfig": { "alias": "addListButtonConfig"; "required": false; }; "fileDownloadAndDeleteConfig": { "alias": "fileDownloadAndDeleteConfig"; "required": false; };
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "ieeesa-list", never, { "listDataItems": { "alias": "listDataItems"; "required": false; }; "listHeaderConfig": { "alias": "listHeaderConfig"; "required": false; }; "indentation": { "alias": "indentation"; "required": false; }; "addListButtonConfig": { "alias": "addListButtonConfig"; "required": false; }; "fileDownloadAndDeleteConfig": { "alias": "fileDownloadAndDeleteConfig"; "required": false; }; }, { "selectedItemAndAction": "selectedItemAndAction"; "reorderedList": "reorderedList"; "hyperLinkAndButtonClick": "hyperLinkAndButtonClick"; "downloadSelectedFile": "downloadSelectedFile"; "domChangeEvent": "domChangeEvent"; }, never, never, true, never>;
|
|
95
85
|
}
|
|
@@ -82,7 +82,7 @@ export declare class DynamicFormFieldDirective implements FormField, OnInit, OnD
|
|
|
82
82
|
formSlideToggleChange: EventEmitter<SlideToggleOption>;
|
|
83
83
|
dropdownOpenedChange: EventEmitter<SelectOpenedState>;
|
|
84
84
|
formColorPickerChange: EventEmitter<string>;
|
|
85
|
-
formFileUpload: EventEmitter<
|
|
85
|
+
formFileUpload: EventEmitter<File | FileList>;
|
|
86
86
|
formRadioOptionSelected: EventEmitter<RadioOption>;
|
|
87
87
|
ctaButtonClick: EventEmitter<IconButton>;
|
|
88
88
|
formMultiSelectAutoCompleteSearch: EventEmitter<string>;
|
|
@@ -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
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface FileAttachment {
|
|
2
|
+
agendaItemId: string;
|
|
3
|
+
agendaId: string;
|
|
4
|
+
s3FilePath: string;
|
|
5
|
+
fileName: string;
|
|
6
|
+
}
|
|
7
|
+
export interface FileAttachmentPayload {
|
|
8
|
+
payload: FileAttachment[];
|
|
9
|
+
}
|
|
10
|
+
export interface AgendaItemAttachment {
|
|
11
|
+
fileName: string;
|
|
12
|
+
agendaItemAttachmentId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface FileAttachmentResponse {
|
|
15
|
+
status: boolean;
|
|
16
|
+
message: string;
|
|
17
|
+
body: {
|
|
18
|
+
totalRecords: number;
|
|
19
|
+
agendaItemAttachmentList: AgendaItemAttachment[];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class BreadcrumbService {
|
|
3
|
-
isPreviousExtrasPresent: boolean;
|
|
3
|
+
isPreviousExtrasPresent: boolean | undefined;
|
|
4
4
|
/**
|
|
5
5
|
* Sets the status of whether previous extras are present.
|
|
6
6
|
* @param {boolean} flag -Boolean flag indicating if previous extras are present.
|
|
7
7
|
* @memberof BreadcrumbService
|
|
8
8
|
*/
|
|
9
|
-
setPreviousExtras(flag: boolean): void;
|
|
9
|
+
setPreviousExtras(flag: boolean | undefined): void;
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves the status of whether previous extras are present.
|
|
12
12
|
* @return {boolean} -Boolean indicating if previous extras are present.
|
|
13
13
|
* @memberof BreadcrumbService
|
|
14
14
|
*/
|
|
15
|
-
getPreviousExtras(): boolean;
|
|
15
|
+
getPreviousExtras(): boolean | undefined;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbService, never>;
|
|
17
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
18
18
|
}
|
|
@@ -206,7 +206,13 @@ export declare class FileUploadService implements OnDestroy {
|
|
|
206
206
|
label: {
|
|
207
207
|
select: string;
|
|
208
208
|
cancel: string;
|
|
209
|
-
};
|
|
209
|
+
}; /**
|
|
210
|
+
* Return distinct message for sent, upload progress, & response events.
|
|
211
|
+
* @param {HttpEvent<any>} event
|
|
212
|
+
* @param {(File | FileList)} file
|
|
213
|
+
* @return {*}
|
|
214
|
+
* @memberof FileUploadService
|
|
215
|
+
*/
|
|
210
216
|
ariaLabel: {
|
|
211
217
|
colorPicker: string;
|
|
212
218
|
next: string;
|
|
@@ -281,10 +287,8 @@ export declare class FileUploadService implements OnDestroy {
|
|
|
281
287
|
};
|
|
282
288
|
list: {
|
|
283
289
|
defaultIndentation: number;
|
|
284
|
-
dragAndDropIconUrl: string;
|
|
285
290
|
};
|
|
286
291
|
search: {
|
|
287
|
-
minCharToSearch: number;
|
|
288
292
|
searchIcon: string;
|
|
289
293
|
};
|
|
290
294
|
richTextEditor: {
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export * from './lib/models/date-picker.model';
|
|
|
59
59
|
export * from './lib/models/download-file.model';
|
|
60
60
|
export * from './lib/models/event-emit-type.model';
|
|
61
61
|
export * from './lib/models/field-config.model';
|
|
62
|
+
export * from './lib/models/file-attachment.model';
|
|
62
63
|
export * from './lib/models/footer-config.model';
|
|
63
64
|
export * from './lib/models/form-control-types.model';
|
|
64
65
|
export * from './lib/models/form-field.model';
|
|
@@ -599,11 +599,9 @@
|
|
|
599
599
|
}
|
|
600
600
|
},
|
|
601
601
|
"list": {
|
|
602
|
-
"defaultIndentation": 12
|
|
603
|
-
"dragAndDropIconUrl": "assets/images/sprites/sprites.svg#icon-drag-indicator"
|
|
602
|
+
"defaultIndentation": 12
|
|
604
603
|
},
|
|
605
604
|
"search": {
|
|
606
|
-
"minCharToSearch": 3,
|
|
607
605
|
"searchIcon": "assets/images/sprites/sprites.svg#icon-search"
|
|
608
606
|
},
|
|
609
607
|
"richTextEditor": {
|