@ieeesa-npm/presentation 0.33.0 → 1.0.0
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 +13 -561
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +28 -60
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +16 -77
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +10 -27
- package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +11 -6
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +14 -275
- package/esm2022/lib/components/form-error/form-error.component.mjs +6 -6
- package/esm2022/lib/components/input/input.component.mjs +13 -34
- package/esm2022/lib/components/notification/notification.component.mjs +6 -18
- package/esm2022/lib/components/radio/radio.component.mjs +6 -12
- package/esm2022/lib/components/search/search.component.mjs +10 -62
- package/esm2022/lib/components/select/select.component.mjs +9 -32
- package/esm2022/lib/components/text-area/text-area.component.mjs +7 -65
- package/esm2022/lib/date-formats.mjs +2 -2
- package/esm2022/lib/directives/dynamic-form-field/dynamic-form-field.directive.mjs +5 -206
- package/esm2022/lib/models/checkbox-option.model.mjs +2 -0
- package/esm2022/lib/models/confirmation-modal-data.model.mjs +2 -0
- package/esm2022/lib/models/date-picker.model.mjs +1 -1
- package/esm2022/lib/models/field-config.model.mjs +1 -1
- package/esm2022/lib/models/footer-config.model.mjs +1 -1
- package/esm2022/lib/models/form-control-types.model.mjs +9 -9
- package/esm2022/lib/models/header-config.model.mjs +1 -1
- package/esm2022/lib/models/navigation-menu.model.mjs +1 -1
- package/esm2022/lib/models/select-option.model.mjs +2 -0
- package/esm2022/lib/models/toggle-button.model.mjs +1 -1
- 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 +5 -17
- package/esm2022/public-api.mjs +17 -97
- package/fesm2022/ieeesa-npm-presentation.mjs +599 -7589
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/autocomplete/autocomplete.component.d.ts +13 -27
- package/lib/components/checkbox/checkbox.component.d.ts +6 -32
- package/lib/components/date-picker/date-picker.component.d.ts +2 -11
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +11 -157
- package/lib/components/input/input.component.d.ts +2 -9
- package/lib/components/notification/notification.component.d.ts +1 -4
- package/lib/components/radio/radio.component.d.ts +1 -3
- package/lib/components/search/search.component.d.ts +4 -13
- package/lib/components/select/select.component.d.ts +2 -5
- package/lib/components/text-area/text-area.component.d.ts +2 -24
- package/lib/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +3 -36
- package/lib/models/checkbox-option.model.d.ts +6 -0
- package/lib/models/confirmation-modal-data.model.d.ts +5 -0
- package/lib/models/date-picker.model.d.ts +0 -3
- package/lib/models/field-config.model.d.ts +2 -54
- package/lib/models/footer-config.model.d.ts +0 -1
- package/lib/models/form-control-types.model.d.ts +1 -8
- package/lib/models/header-config.model.d.ts +0 -6
- package/lib/models/navigation-menu.model.d.ts +1 -1
- package/lib/models/select-option.model.d.ts +5 -0
- package/lib/models/toggle-button.model.d.ts +0 -4
- package/lib/services/form-utility.service.d.ts +1 -1
- package/package.json +2 -4
- package/public-api.d.ts +16 -95
- package/src/lib/assets/constants.json +13 -561
- package/esm2022/lib/components/accordion/accordion.component.mjs +0 -61
- package/esm2022/lib/components/add-form-group/add-form-group.component.mjs +0 -34
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -129
- package/esm2022/lib/components/card/card.component.mjs +0 -74
- package/esm2022/lib/components/chips/chips.component.mjs +0 -162
- package/esm2022/lib/components/color-picker/color-picker.component.mjs +0 -314
- package/esm2022/lib/components/data-table/data-table.component.mjs +0 -781
- package/esm2022/lib/components/export-format-popover/export-format-popover.component.mjs +0 -75
- package/esm2022/lib/components/export-success-dialog/export-success-dialog.component.mjs +0 -39
- package/esm2022/lib/components/file-download/file-download.component.mjs +0 -176
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +0 -474
- package/esm2022/lib/components/filter/filter.component.mjs +0 -302
- package/esm2022/lib/components/filter-popover/filter-popover.component.mjs +0 -198
- package/esm2022/lib/components/footer/footer.component.mjs +0 -55
- package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +0 -63
- package/esm2022/lib/components/header/header.component.mjs +0 -193
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +0 -38
- package/esm2022/lib/components/image-preview/image-preview.component.mjs +0 -30
- package/esm2022/lib/components/inactive-tenant/inactive-tenant.component.mjs +0 -44
- package/esm2022/lib/components/legend/legend.component.mjs +0 -37
- package/esm2022/lib/components/list/list.component.mjs +0 -199
- package/esm2022/lib/components/loader/loader.component.mjs +0 -22
- package/esm2022/lib/components/menu/menu.component.mjs +0 -75
- package/esm2022/lib/components/modal/modal.component.mjs +0 -166
- package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +0 -45
- package/esm2022/lib/components/modal-info/modal-info.component.mjs +0 -41
- package/esm2022/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.mjs +0 -321
- package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +0 -89
- package/esm2022/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.mjs +0 -81
- package/esm2022/lib/components/rich-text-editor/rich-text-editor.component.mjs +0 -214
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -98
- package/esm2022/lib/components/stepper/stepper.component.mjs +0 -69
- package/esm2022/lib/components/tabs/tabs.component.mjs +0 -210
- package/esm2022/lib/components/tile/tile.component.mjs +0 -70
- package/esm2022/lib/components/time-picker/time-picker.component.mjs +0 -59
- package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +0 -76
- package/esm2022/lib/components/welcome/welcome.component.mjs +0 -85
- package/esm2022/lib/directives/file-upload/file-upload.directive.mjs +0 -85
- package/esm2022/lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive.mjs +0 -34
- package/esm2022/lib/directives/observe-dom-change/observe-dom-change.directive.mjs +0 -54
- package/esm2022/lib/directives/set-background/set-background.directive.mjs +0 -53
- package/esm2022/lib/directives/text-truncated/text-truncated.directive.mjs +0 -72
- package/esm2022/lib/models/accordion-info.model.mjs +0 -14
- package/esm2022/lib/models/align-browsed-files.model.mjs +0 -7
- package/esm2022/lib/models/allowed-file-types.model.mjs +0 -8
- package/esm2022/lib/models/app-config-info.model.mjs +0 -2
- package/esm2022/lib/models/breadcrumb.model.mjs +0 -2
- package/esm2022/lib/models/button-type.model.mjs +0 -7
- package/esm2022/lib/models/card-button.model.mjs +0 -2
- package/esm2022/lib/models/card-info.model.mjs +0 -2
- package/esm2022/lib/models/chip-option.model.mjs +0 -21
- package/esm2022/lib/models/color-format.model.mjs +0 -13
- package/esm2022/lib/models/custom-properties.model.mjs +0 -14
- package/esm2022/lib/models/download-file.model.mjs +0 -2
- package/esm2022/lib/models/event-emit-type.model.mjs +0 -2
- package/esm2022/lib/models/export-format-popover.model.mjs +0 -10
- package/esm2022/lib/models/export-success-dialog.model.mjs +0 -2
- package/esm2022/lib/models/file-download-config.model.mjs +0 -2
- package/esm2022/lib/models/file-info.model.mjs +0 -2
- package/esm2022/lib/models/file-upload-payload-model.mjs +0 -2
- package/esm2022/lib/models/file-upload-presigned-url-res.model.mjs +0 -2
- package/esm2022/lib/models/file-upload-response.model.mjs +0 -2
- package/esm2022/lib/models/file-upload-status.model.mjs +0 -2
- package/esm2022/lib/models/filter-popover.model.mjs +0 -2
- package/esm2022/lib/models/filters-options.model.mjs +0 -2
- package/esm2022/lib/models/inactive-tenant.model.mjs +0 -2
- package/esm2022/lib/models/input-field-type.model.mjs +0 -8
- package/esm2022/lib/models/legend.model.mjs +0 -2
- package/esm2022/lib/models/link-type.model.mjs +0 -6
- package/esm2022/lib/models/list-item.model.mjs +0 -2
- package/esm2022/lib/models/menu.model.mjs +0 -2
- package/esm2022/lib/models/paginator-config.model.mjs +0 -2
- package/esm2022/lib/models/policy-confirmation-dialog.model.mjs +0 -2
- package/esm2022/lib/models/profile-menu.model.mjs +0 -8
- package/esm2022/lib/models/select-opened-state.model.mjs +0 -2
- package/esm2022/lib/models/selected-date.model.mjs +0 -2
- package/esm2022/lib/models/selected-time.model.mjs +0 -2
- package/esm2022/lib/models/slide-toggle-options.model.mjs +0 -2
- package/esm2022/lib/models/tab.model.mjs +0 -2
- package/esm2022/lib/models/table-actions.model.mjs +0 -2
- package/esm2022/lib/models/table-column-menu-info.model.mjs +0 -2
- package/esm2022/lib/models/table-schema.model.mjs +0 -20
- package/esm2022/lib/models/tile.model.mjs +0 -2
- package/esm2022/lib/pipes/safe.pipe.mjs +0 -44
- package/esm2022/lib/services/break-point-observer.service.mjs +0 -36
- package/esm2022/lib/services/file-upload.service.mjs +0 -378
- package/lib/components/accordion/accordion.component.d.ts +0 -30
- package/lib/components/add-form-group/add-form-group.component.d.ts +0 -19
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -61
- package/lib/components/card/card.component.d.ts +0 -39
- package/lib/components/chips/chips.component.d.ts +0 -374
- package/lib/components/color-picker/color-picker.component.d.ts +0 -88
- package/lib/components/data-table/data-table.component.d.ts +0 -326
- package/lib/components/export-format-popover/export-format-popover.component.d.ts +0 -45
- package/lib/components/export-success-dialog/export-success-dialog.component.d.ts +0 -24
- package/lib/components/file-download/file-download.component.d.ts +0 -383
- package/lib/components/file-upload/file-upload.component.d.ts +0 -522
- package/lib/components/filter/filter.component.d.ts +0 -113
- package/lib/components/filter-popover/filter-popover.component.d.ts +0 -84
- package/lib/components/footer/footer.component.d.ts +0 -37
- package/lib/components/form-support-text/form-support-text.component.d.ts +0 -32
- package/lib/components/header/header.component.d.ts +0 -86
- package/lib/components/icon-button/icon-button.component.d.ts +0 -21
- package/lib/components/image-preview/image-preview.component.d.ts +0 -11
- package/lib/components/inactive-tenant/inactive-tenant.component.d.ts +0 -21
- package/lib/components/legend/legend.component.d.ts +0 -13
- package/lib/components/list/list.component.d.ts +0 -95
- package/lib/components/loader/loader.component.d.ts +0 -7
- package/lib/components/menu/menu.component.d.ts +0 -36
- package/lib/components/modal/modal.component.d.ts +0 -75
- package/lib/components/modal-confirmation/modal-confirmation.component.d.ts +0 -24
- package/lib/components/modal-info/modal-info.component.d.ts +0 -23
- package/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.d.ts +0 -130
- package/lib/components/navigation-menu/navigation-menu.component.d.ts +0 -45
- package/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.d.ts +0 -46
- package/lib/components/rich-text-editor/rich-text-editor.component.d.ts +0 -75
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -45
- package/lib/components/stepper/stepper.component.d.ts +0 -46
- package/lib/components/tabs/tabs.component.d.ts +0 -86
- package/lib/components/tile/tile.component.d.ts +0 -39
- package/lib/components/time-picker/time-picker.component.d.ts +0 -20
- package/lib/components/toggle-button/toggle-button.component.d.ts +0 -51
- package/lib/components/welcome/welcome.component.d.ts +0 -41
- package/lib/directives/file-upload/file-upload.directive.d.ts +0 -42
- package/lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive.d.ts +0 -18
- package/lib/directives/observe-dom-change/observe-dom-change.directive.d.ts +0 -23
- package/lib/directives/set-background/set-background.directive.d.ts +0 -28
- package/lib/directives/text-truncated/text-truncated.directive.d.ts +0 -30
- package/lib/models/accordion-info.model.d.ts +0 -12
- package/lib/models/align-browsed-files.model.d.ts +0 -4
- package/lib/models/allowed-file-types.model.d.ts +0 -5
- package/lib/models/app-config-info.model.d.ts +0 -16
- package/lib/models/breadcrumb.model.d.ts +0 -6
- package/lib/models/button-type.model.d.ts +0 -4
- package/lib/models/card-button.model.d.ts +0 -6
- package/lib/models/card-info.model.d.ts +0 -8
- package/lib/models/chip-option.model.d.ts +0 -25
- package/lib/models/color-format.model.d.ts +0 -13
- package/lib/models/custom-properties.model.d.ts +0 -11
- package/lib/models/download-file.model.d.ts +0 -4
- package/lib/models/event-emit-type.model.d.ts +0 -5
- package/lib/models/export-format-popover.model.d.ts +0 -15
- package/lib/models/export-success-dialog.model.d.ts +0 -8
- package/lib/models/file-download-config.model.d.ts +0 -9
- package/lib/models/file-info.model.d.ts +0 -12
- package/lib/models/file-upload-payload-model.d.ts +0 -10
- package/lib/models/file-upload-presigned-url-res.model.d.ts +0 -35
- package/lib/models/file-upload-response.model.d.ts +0 -13
- package/lib/models/file-upload-status.model.d.ts +0 -8
- package/lib/models/filter-popover.model.d.ts +0 -24
- package/lib/models/filters-options.model.d.ts +0 -4
- package/lib/models/inactive-tenant.model.d.ts +0 -5
- package/lib/models/input-field-type.model.d.ts +0 -5
- package/lib/models/legend.model.d.ts +0 -6
- package/lib/models/link-type.model.d.ts +0 -3
- package/lib/models/list-item.model.d.ts +0 -24
- package/lib/models/menu.model.d.ts +0 -9
- package/lib/models/paginator-config.model.d.ts +0 -5
- package/lib/models/policy-confirmation-dialog.model.d.ts +0 -13
- package/lib/models/profile-menu.model.d.ts +0 -4
- package/lib/models/select-opened-state.model.d.ts +0 -4
- package/lib/models/selected-date.model.d.ts +0 -4
- package/lib/models/selected-time.model.d.ts +0 -4
- package/lib/models/slide-toggle-options.model.d.ts +0 -6
- package/lib/models/tab.model.d.ts +0 -6
- package/lib/models/table-actions.model.d.ts +0 -8
- package/lib/models/table-column-menu-info.model.d.ts +0 -6
- package/lib/models/table-schema.model.d.ts +0 -32
- package/lib/models/tile.model.d.ts +0 -12
- package/lib/pipes/safe.pipe.d.ts +0 -16
- package/lib/services/break-point-observer.service.d.ts +0 -21
- package/lib/services/file-upload.service.d.ts +0 -462
|
@@ -1,522 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { FormUtilityService } from '../../services/form-utility.service';
|
|
4
|
-
import { FieldConfig } from '../../models/field-config.model';
|
|
5
|
-
import { AllowedFileTypes } from '../../models/allowed-file-types.model';
|
|
6
|
-
import { FileUploadService } from '../../services/file-upload.service';
|
|
7
|
-
import { AlignBrowsedFiles } from '../../models/align-browsed-files.model';
|
|
8
|
-
import { AlignType } from '@ieeesa-npm/models';
|
|
9
|
-
import { FileUploadStatus } from '../../models/file-upload-status.model';
|
|
10
|
-
import { FileDownloadAndDeleteConfig } from '../../models/file-download-config.model';
|
|
11
|
-
import { DownloadAttachment } from '../../models/download-file.model';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Provides functionality for uploading files to aws s3 bucket.
|
|
15
|
-
* @export
|
|
16
|
-
* @class FileUploadComponent
|
|
17
|
-
* @implements {OnInit}
|
|
18
|
-
*/
|
|
19
|
-
export declare class FileUploadComponent implements OnInit {
|
|
20
|
-
formUtilityService: FormUtilityService;
|
|
21
|
-
fileUploadService: FileUploadService;
|
|
22
|
-
fileField: ElementRef;
|
|
23
|
-
constants: {
|
|
24
|
-
ariaLabel: {
|
|
25
|
-
clear: string;
|
|
26
|
-
warning: string;
|
|
27
|
-
previousMonth: string;
|
|
28
|
-
nextMonth: string;
|
|
29
|
-
menuIcon: string;
|
|
30
|
-
close: string;
|
|
31
|
-
search: string;
|
|
32
|
-
addFormGroup: string;
|
|
33
|
-
};
|
|
34
|
-
button: {
|
|
35
|
-
cancel: string;
|
|
36
|
-
ok: string;
|
|
37
|
-
add: string;
|
|
38
|
-
};
|
|
39
|
-
modalConfig: {
|
|
40
|
-
ariaLabel: string;
|
|
41
|
-
autoFocus: string;
|
|
42
|
-
width: string;
|
|
43
|
-
};
|
|
44
|
-
chips: {
|
|
45
|
-
noOfDefaultVisibleChips: number;
|
|
46
|
-
label: {
|
|
47
|
-
viewAll: string;
|
|
48
|
-
viewLess: string;
|
|
49
|
-
};
|
|
50
|
-
ariaLabel: {
|
|
51
|
-
chipsList: string;
|
|
52
|
-
};
|
|
53
|
-
icons: {
|
|
54
|
-
arrow: {
|
|
55
|
-
id: number;
|
|
56
|
-
iconURL: string;
|
|
57
|
-
toolTip: string;
|
|
58
|
-
ariaLabel: string;
|
|
59
|
-
};
|
|
60
|
-
remove: {
|
|
61
|
-
id: number;
|
|
62
|
-
iconURL: string;
|
|
63
|
-
toolTip: string;
|
|
64
|
-
ariaLabel: string;
|
|
65
|
-
};
|
|
66
|
-
check: {
|
|
67
|
-
id: number;
|
|
68
|
-
iconURL: string;
|
|
69
|
-
toolTip: string;
|
|
70
|
-
ariaLabel: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
dataTable: {
|
|
75
|
-
label: {
|
|
76
|
-
clearAll: string;
|
|
77
|
-
};
|
|
78
|
-
message: {
|
|
79
|
-
noRecordFound: string;
|
|
80
|
-
};
|
|
81
|
-
ariaLabel: {
|
|
82
|
-
search: string;
|
|
83
|
-
selectAll: string;
|
|
84
|
-
select: string;
|
|
85
|
-
link: string;
|
|
86
|
-
pagination: string;
|
|
87
|
-
};
|
|
88
|
-
buttons: {
|
|
89
|
-
id: number;
|
|
90
|
-
iconURL: string;
|
|
91
|
-
toolTip: string;
|
|
92
|
-
ariaLabel: string;
|
|
93
|
-
}[];
|
|
94
|
-
};
|
|
95
|
-
datePicker: {
|
|
96
|
-
selectDateLabel: string;
|
|
97
|
-
dateFormatLabel: string;
|
|
98
|
-
startDateLabel: string;
|
|
99
|
-
endDateLabel: string;
|
|
100
|
-
datePickerIcon: string;
|
|
101
|
-
};
|
|
102
|
-
dropdown: {
|
|
103
|
-
placeholderText: string;
|
|
104
|
-
};
|
|
105
|
-
filter: {
|
|
106
|
-
label: {
|
|
107
|
-
filterBy: string;
|
|
108
|
-
applyButton: string;
|
|
109
|
-
clearAll: string;
|
|
110
|
-
};
|
|
111
|
-
buttons: {
|
|
112
|
-
id: number;
|
|
113
|
-
iconURL: string;
|
|
114
|
-
toolTip: string;
|
|
115
|
-
ariaLabel: string;
|
|
116
|
-
}[];
|
|
117
|
-
};
|
|
118
|
-
textarea: {
|
|
119
|
-
maxLengthDefault: number;
|
|
120
|
-
leftCharacters: string;
|
|
121
|
-
};
|
|
122
|
-
autocomplete: {
|
|
123
|
-
minCharToSearch: number;
|
|
124
|
-
debounceTime: number;
|
|
125
|
-
};
|
|
126
|
-
multiSelectAutoComplete: {
|
|
127
|
-
label: {
|
|
128
|
-
clearAll: string;
|
|
129
|
-
};
|
|
130
|
-
ariaLabel: {
|
|
131
|
-
selectedOption: string;
|
|
132
|
-
removeOption: string;
|
|
133
|
-
};
|
|
134
|
-
icons: {
|
|
135
|
-
remove: string;
|
|
136
|
-
clearAll: string;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
header: {
|
|
140
|
-
alt: {
|
|
141
|
-
logo: string;
|
|
142
|
-
};
|
|
143
|
-
ariaLabel: {
|
|
144
|
-
helpLink: string;
|
|
145
|
-
hamburgerMenu: string;
|
|
146
|
-
};
|
|
147
|
-
label: {
|
|
148
|
-
signOut: string;
|
|
149
|
-
};
|
|
150
|
-
buttons: {
|
|
151
|
-
id: number;
|
|
152
|
-
iconURL: string;
|
|
153
|
-
toolTip: string;
|
|
154
|
-
ariaLabel: string;
|
|
155
|
-
}[];
|
|
156
|
-
userProfileMenuOptions: {
|
|
157
|
-
id: number;
|
|
158
|
-
iconURL: string;
|
|
159
|
-
label: string;
|
|
160
|
-
ariaLabel: string;
|
|
161
|
-
toolTip: string;
|
|
162
|
-
isToolTipNeeded: boolean;
|
|
163
|
-
}[];
|
|
164
|
-
errors: {
|
|
165
|
-
"2029": string;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
footer: {
|
|
169
|
-
alt: {
|
|
170
|
-
logo: string;
|
|
171
|
-
};
|
|
172
|
-
links: {
|
|
173
|
-
label: string;
|
|
174
|
-
ariaLabel: string;
|
|
175
|
-
redirectUrl: string;
|
|
176
|
-
}[];
|
|
177
|
-
ieeeLogo: string;
|
|
178
|
-
copyright: {
|
|
179
|
-
link: string;
|
|
180
|
-
textPart1: string;
|
|
181
|
-
textPart2: string;
|
|
182
|
-
hyperLinkPart3: string;
|
|
183
|
-
textPart4: string;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
welcome: {
|
|
187
|
-
buttons: {
|
|
188
|
-
label: string;
|
|
189
|
-
ariaLabel: string;
|
|
190
|
-
url: string;
|
|
191
|
-
}[];
|
|
192
|
-
};
|
|
193
|
-
breadcrumb: {
|
|
194
|
-
label: {
|
|
195
|
-
initial: string;
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
loader: {
|
|
199
|
-
ariaLabel: {
|
|
200
|
-
spinner: string;
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
defaultWelcomeBgColor: string;
|
|
204
|
-
timePicker: {
|
|
205
|
-
defaultTimeFormat: number;
|
|
206
|
-
timePickerIcon: string;
|
|
207
|
-
};
|
|
208
|
-
colorPicker: {
|
|
209
|
-
label: {
|
|
210
|
-
select: string;
|
|
211
|
-
cancel: string;
|
|
212
|
-
};
|
|
213
|
-
ariaLabel: {
|
|
214
|
-
colorPicker: string;
|
|
215
|
-
next: string;
|
|
216
|
-
back: string;
|
|
217
|
-
select: string;
|
|
218
|
-
cancel: string;
|
|
219
|
-
hexCodeInput: string;
|
|
220
|
-
palette: string;
|
|
221
|
-
};
|
|
222
|
-
defaultColor: string;
|
|
223
|
-
ariaDescription: string;
|
|
224
|
-
ariaDescribedById: string;
|
|
225
|
-
paletteColors: {
|
|
226
|
-
name: string;
|
|
227
|
-
hexCode: string;
|
|
228
|
-
}[];
|
|
229
|
-
};
|
|
230
|
-
fileUpload: {
|
|
231
|
-
label: {
|
|
232
|
-
fileUpload: string;
|
|
233
|
-
allowedFileSize1: string;
|
|
234
|
-
allowedFileSize2: string;
|
|
235
|
-
allowedFileFormat: string; /**
|
|
236
|
-
* Emits downloadSelectedFile event.
|
|
237
|
-
* @memberof FileUploadComponent
|
|
238
|
-
*/
|
|
239
|
-
browseFiles: string;
|
|
240
|
-
uploadProgress: string;
|
|
241
|
-
upload: string;
|
|
242
|
-
mb: string;
|
|
243
|
-
uploadFor: string;
|
|
244
|
-
uploadErrorMsg: string;
|
|
245
|
-
of: string;
|
|
246
|
-
filesUploaded: string;
|
|
247
|
-
fileAlreadyExists: string;
|
|
248
|
-
};
|
|
249
|
-
ariaLabel: {
|
|
250
|
-
fileUpload: string;
|
|
251
|
-
browseFiles: string;
|
|
252
|
-
fileUploadIcon: string;
|
|
253
|
-
removeFileIcon: string;
|
|
254
|
-
deleteFileIcon: string;
|
|
255
|
-
fileDownload: string;
|
|
256
|
-
fileUploadInput: string;
|
|
257
|
-
};
|
|
258
|
-
iconUrl: {
|
|
259
|
-
fileUploadIcon: string;
|
|
260
|
-
fileRemoveIcon: string;
|
|
261
|
-
deleteIcon: string;
|
|
262
|
-
};
|
|
263
|
-
buttons: {
|
|
264
|
-
id: number;
|
|
265
|
-
ariaLabel: string;
|
|
266
|
-
iconURL: string;
|
|
267
|
-
toolTip: string;
|
|
268
|
-
disabled: boolean;
|
|
269
|
-
}[];
|
|
270
|
-
message: {
|
|
271
|
-
error: {
|
|
272
|
-
ER1002: string;
|
|
273
|
-
invalidFileFormat: string;
|
|
274
|
-
invalidFileSize: string;
|
|
275
|
-
"2026": string;
|
|
276
|
-
"2059": string;
|
|
277
|
-
"2060": string;
|
|
278
|
-
"2061": string;
|
|
279
|
-
"2062": string;
|
|
280
|
-
"2063": string;
|
|
281
|
-
"2064": string;
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
limit: {
|
|
285
|
-
maxFilesUploadedOnce: number;
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
list: {
|
|
289
|
-
defaultIndentation: number;
|
|
290
|
-
dragAndDropIconUrl: string;
|
|
291
|
-
};
|
|
292
|
-
search: {
|
|
293
|
-
minCharToSearch: number;
|
|
294
|
-
searchIcon: string;
|
|
295
|
-
};
|
|
296
|
-
richTextEditor: {
|
|
297
|
-
label: {
|
|
298
|
-
editor: string;
|
|
299
|
-
};
|
|
300
|
-
ariaLabel: {
|
|
301
|
-
editor: string;
|
|
302
|
-
colorPicker: string;
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
fileDownload: {
|
|
306
|
-
buttons: {
|
|
307
|
-
id: number;
|
|
308
|
-
ariaLabel: string;
|
|
309
|
-
iconURL: string;
|
|
310
|
-
toolTip: string;
|
|
311
|
-
disabled: boolean;
|
|
312
|
-
}[];
|
|
313
|
-
preSignedDuration: string;
|
|
314
|
-
message: {
|
|
315
|
-
errors: {
|
|
316
|
-
ER1002: string;
|
|
317
|
-
"5038": string;
|
|
318
|
-
"6027": string;
|
|
319
|
-
"6028": string;
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
breakPointMaxWidth: string;
|
|
324
|
-
};
|
|
325
|
-
fileUploadLabel: {
|
|
326
|
-
fileUpload: string;
|
|
327
|
-
allowedFileSize1: string;
|
|
328
|
-
allowedFileSize2: string;
|
|
329
|
-
allowedFileFormat: string; /**
|
|
330
|
-
* Emits downloadSelectedFile event.
|
|
331
|
-
* @memberof FileUploadComponent
|
|
332
|
-
*/
|
|
333
|
-
browseFiles: string;
|
|
334
|
-
uploadProgress: string;
|
|
335
|
-
upload: string;
|
|
336
|
-
mb: string;
|
|
337
|
-
uploadFor: string;
|
|
338
|
-
uploadErrorMsg: string;
|
|
339
|
-
of: string;
|
|
340
|
-
filesUploaded: string;
|
|
341
|
-
fileAlreadyExists: string;
|
|
342
|
-
};
|
|
343
|
-
fileUploadAriaLabel: {
|
|
344
|
-
fileUpload: string;
|
|
345
|
-
browseFiles: string;
|
|
346
|
-
fileUploadIcon: string;
|
|
347
|
-
removeFileIcon: string;
|
|
348
|
-
deleteFileIcon: string;
|
|
349
|
-
fileDownload: string;
|
|
350
|
-
fileUploadInput: string;
|
|
351
|
-
};
|
|
352
|
-
fileUploadIconUrl: {
|
|
353
|
-
fileUploadIcon: string;
|
|
354
|
-
fileRemoveIcon: string;
|
|
355
|
-
deleteIcon: string;
|
|
356
|
-
};
|
|
357
|
-
fileUploadBtn: {
|
|
358
|
-
id: number;
|
|
359
|
-
ariaLabel: string;
|
|
360
|
-
iconURL: string;
|
|
361
|
-
toolTip: string;
|
|
362
|
-
disabled: boolean;
|
|
363
|
-
};
|
|
364
|
-
allowedFileTypeErrorMessage: string;
|
|
365
|
-
maxFileSizeErrorMessage: string;
|
|
366
|
-
allowedFileTypesAndSizeText: string;
|
|
367
|
-
config: FieldConfig;
|
|
368
|
-
group: FormGroup;
|
|
369
|
-
isValidFileType: boolean;
|
|
370
|
-
isValidFileSize: boolean;
|
|
371
|
-
isValidMaxFileUploadLimit: boolean;
|
|
372
|
-
selectedFiles: FileList | File | any;
|
|
373
|
-
selectedFileNames: string;
|
|
374
|
-
isFormField: boolean;
|
|
375
|
-
totalSize: number;
|
|
376
|
-
uploadedFiles: FileList | File | any;
|
|
377
|
-
actionButtonAlign: AlignType;
|
|
378
|
-
alignmentType: typeof AlignType;
|
|
379
|
-
isUploadButtonDisabled: boolean;
|
|
380
|
-
formControlName: string;
|
|
381
|
-
isFileSelected: boolean;
|
|
382
|
-
supportMessage: string;
|
|
383
|
-
allowedFileTypes: AllowedFileTypes[];
|
|
384
|
-
isMultiFileUpload: boolean;
|
|
385
|
-
isUploadInProgress: boolean;
|
|
386
|
-
fileUploadHeading: string;
|
|
387
|
-
isAllowAnyFileType: boolean;
|
|
388
|
-
alignBrowsedFiles: AlignBrowsedFiles;
|
|
389
|
-
isUploadButtonNeeded: boolean;
|
|
390
|
-
maxUploadFileSize: number;
|
|
391
|
-
private uploadedSizeValue;
|
|
392
|
-
alignFileUploadErrorMessageTo: AlignType;
|
|
393
|
-
maxFilesUploadedOnce: number;
|
|
394
|
-
maxFilesUploadLimitErrorMessage: string;
|
|
395
|
-
private _fileUploadStatus;
|
|
396
|
-
get fileUploadStatus(): FileUploadStatus;
|
|
397
|
-
set fileUploadStatus(value: FileUploadStatus);
|
|
398
|
-
get uploadedSize(): number;
|
|
399
|
-
set uploadedSize(value: number);
|
|
400
|
-
private _fileDownloadAndDeleteConfig;
|
|
401
|
-
set fileDownloadAndDeleteConfig(value: FileDownloadAndDeleteConfig);
|
|
402
|
-
get fileDownloadAndDeleteConfig(): FileDownloadAndDeleteConfig;
|
|
403
|
-
uploadSelectedFiles: EventEmitter<File | FileList>;
|
|
404
|
-
downloadSelectedFile: EventEmitter<File | DownloadAttachment>;
|
|
405
|
-
apiBaseUrl: string;
|
|
406
|
-
selectedFileNamesCount: number;
|
|
407
|
-
constructor(formUtilityService: FormUtilityService, fileUploadService: FileUploadService);
|
|
408
|
-
/**
|
|
409
|
-
* Initializes component properties and retrieves configuration.
|
|
410
|
-
* @memberof FileUploadComponent
|
|
411
|
-
*/
|
|
412
|
-
ngOnInit(): void;
|
|
413
|
-
/**
|
|
414
|
-
* Formats allowed file format and size message in required format.
|
|
415
|
-
* @memberof FileUploadComponent
|
|
416
|
-
*/
|
|
417
|
-
getAllowedFileFormatSizeMessage(): void;
|
|
418
|
-
/**
|
|
419
|
-
* Handles the selected file(s) and emits FileUpload event emitter for uploading the file(s).
|
|
420
|
-
* @param {(File | FileList)} file
|
|
421
|
-
* @memberof FileUploadComponent
|
|
422
|
-
*/
|
|
423
|
-
getFile(file: File | FileList): void;
|
|
424
|
-
/**
|
|
425
|
-
* Validates the selected file(s) format and size.
|
|
426
|
-
* @param {(File | FileList)} file
|
|
427
|
-
* @return {boolean}
|
|
428
|
-
* @memberof FileUploadComponent
|
|
429
|
-
*/
|
|
430
|
-
validateFile(file: File | FileList): boolean;
|
|
431
|
-
/**
|
|
432
|
-
* Initiates the file upload process for independent file upload component.
|
|
433
|
-
* @memberof FileUploadComponent
|
|
434
|
-
*/
|
|
435
|
-
onUpload(): void;
|
|
436
|
-
/**
|
|
437
|
-
* Clears the form group control value of type input and resets other file upload properties.
|
|
438
|
-
* @memberof FileUploadComponent
|
|
439
|
-
*/
|
|
440
|
-
resetUpload(): void;
|
|
441
|
-
/**
|
|
442
|
-
* Removes the selected file from the uploaded files list.
|
|
443
|
-
* @param {number} index
|
|
444
|
-
* @memberof FileUploadComponent
|
|
445
|
-
*/
|
|
446
|
-
onDeleteFile(file: File, index: number): void;
|
|
447
|
-
/**
|
|
448
|
-
* For tab key keydown event it passes event and restricts other keys from keyboard.
|
|
449
|
-
* @param {KeyboardEvent} event -Keydown event object.
|
|
450
|
-
* @memberof FileUploadComponent
|
|
451
|
-
*/
|
|
452
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
453
|
-
/**
|
|
454
|
-
* Emits downloadSelectedFile event.
|
|
455
|
-
* @memberof FileUploadComponent
|
|
456
|
-
*/
|
|
457
|
-
downloadFile(file: File | DownloadAttachment): void;
|
|
458
|
-
/**
|
|
459
|
-
* Returns unique identifier for the file list.
|
|
460
|
-
* @param {number} index
|
|
461
|
-
* @return {(number | string)}
|
|
462
|
-
* @memberof FileUploadComponent
|
|
463
|
-
*/
|
|
464
|
-
trackByFn(index: number): number | string;
|
|
465
|
-
/**
|
|
466
|
-
* Triggers and opens the file browse window when the Browse button is clicked.
|
|
467
|
-
* @memberof FileUploadComponent
|
|
468
|
-
*/
|
|
469
|
-
fileClick(): void;
|
|
470
|
-
/**
|
|
471
|
-
* Returns the failed file names with comma separation.
|
|
472
|
-
* @param {string[]} fileNames
|
|
473
|
-
* @return {*} {string}
|
|
474
|
-
* @memberof FileUploadComponent
|
|
475
|
-
*/
|
|
476
|
-
displayFileNames(fileNames: string[]): string;
|
|
477
|
-
/**
|
|
478
|
-
* Removes the unselected file from the browsed or selected files and emits uploadSelectedFiles event with the selected files.
|
|
479
|
-
* @param {number} index
|
|
480
|
-
* @memberof FileUploadComponent
|
|
481
|
-
*/
|
|
482
|
-
removeFile(index: number): void;
|
|
483
|
-
/**
|
|
484
|
-
* Enables or disables the file upload button.
|
|
485
|
-
* @param {boolean} enable
|
|
486
|
-
* @memberof FileUploadComponent
|
|
487
|
-
*/
|
|
488
|
-
canEnableUploadButton(enable: boolean): void;
|
|
489
|
-
/**
|
|
490
|
-
* Based on isMultiFileUpload flag return files to download.
|
|
491
|
-
* @memberof FileUploadComponent
|
|
492
|
-
*/
|
|
493
|
-
getFilesToDownload(): DownloadAttachment[];
|
|
494
|
-
/**
|
|
495
|
-
* TrackByFunction is called for each file in the collection and return a unique identifier for that file.
|
|
496
|
-
* @param {number} index
|
|
497
|
-
* @param {File} file
|
|
498
|
-
* @return {File}
|
|
499
|
-
* @memberof FileUploadComponent
|
|
500
|
-
*/
|
|
501
|
-
trackByFunc(index: number, file: File): File;
|
|
502
|
-
/**
|
|
503
|
-
* Sets empty value to file form control once it is clicked.
|
|
504
|
-
* @param {Event} event
|
|
505
|
-
* @memberof FileUploadComponent
|
|
506
|
-
*/
|
|
507
|
-
setEmptyValue(event: Event): void;
|
|
508
|
-
/**
|
|
509
|
-
* Removes the file from selectedFiles once the file uploaded successfully to AWS S3.
|
|
510
|
-
* @param {File} file
|
|
511
|
-
* @memberof FileUploadComponent
|
|
512
|
-
*/
|
|
513
|
-
removeSelectedFileInUploadedFiles(fileName: string): void;
|
|
514
|
-
/**
|
|
515
|
-
* Returns the count of files selected for the upload.
|
|
516
|
-
* @return {number}
|
|
517
|
-
* @memberof FileUploadComponent
|
|
518
|
-
*/
|
|
519
|
-
getSelectedFileCount(): number;
|
|
520
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
521
|
-
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>;
|
|
522
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { BreakpointObserverService } from '../../services/break-point-observer.service';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { CheckboxOption, IconButton, SelectOption } from '@ieeesa-npm/models';
|
|
5
|
-
import { ChipOption, FilterOptionType } from '../../models/chip-option.model';
|
|
6
|
-
import { FiltersAndOptions } from '../../models/filters-options.model';
|
|
7
|
-
import { SelectComponent } from '../../components/select/select.component';
|
|
8
|
-
import { SelectOpenedState } from '../../models/select-opened-state.model';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Provides an implementation for group of filter.
|
|
12
|
-
* @export
|
|
13
|
-
* @class FilterComponent
|
|
14
|
-
* @implements {OnDestroy}
|
|
15
|
-
*/
|
|
16
|
-
export declare class FilterComponent implements OnDestroy {
|
|
17
|
-
private breakpointObserverService;
|
|
18
|
-
private changeDetectorReference;
|
|
19
|
-
constants: any;
|
|
20
|
-
arrow: IconButton;
|
|
21
|
-
check: IconButton;
|
|
22
|
-
removeIcon: IconButton;
|
|
23
|
-
isFilterOpened: boolean;
|
|
24
|
-
selectedCheckboxes: CheckboxOption[];
|
|
25
|
-
onFilterToggle: boolean;
|
|
26
|
-
isFilterActive: boolean;
|
|
27
|
-
isMobileView: boolean;
|
|
28
|
-
isApplyButtonDisabled: boolean;
|
|
29
|
-
filtersAndOptions: Map<string | number, CheckboxOption[]>;
|
|
30
|
-
destroy$: Subject<boolean>;
|
|
31
|
-
recreateCheckboxOptionsControl: CheckboxOption[];
|
|
32
|
-
selectComponent: SelectComponent;
|
|
33
|
-
private filteredTypeOptionsInfo;
|
|
34
|
-
private selectedFilterOptionType;
|
|
35
|
-
set filterOptionType(optionType: FilterOptionType);
|
|
36
|
-
get filterOptionType(): FilterOptionType;
|
|
37
|
-
optionsType: typeof FilterOptionType;
|
|
38
|
-
set appliedFilterOptions(options: ChipOption[]);
|
|
39
|
-
get appliedFilterOptions(): ChipOption[];
|
|
40
|
-
filterButton: IconButton;
|
|
41
|
-
filters: ChipOption[];
|
|
42
|
-
canShowSelection: boolean;
|
|
43
|
-
private selectedFilterOptionsList;
|
|
44
|
-
selectedFilterDropDownList: SelectOption[];
|
|
45
|
-
defaultSelectedFilterDropDownOptions: SelectOption[];
|
|
46
|
-
selectedFilterId: string | number;
|
|
47
|
-
prevSelectedFilterOptionsList: CheckboxOption[];
|
|
48
|
-
set selectedFilterOptions(options: CheckboxOption[]);
|
|
49
|
-
get selectedFilterOptions(): CheckboxOption[];
|
|
50
|
-
selectedFilter: EventEmitter<ChipOption>;
|
|
51
|
-
filteredOptions: EventEmitter<FiltersAndOptions[]>;
|
|
52
|
-
removeFilteredOption: EventEmitter<any>;
|
|
53
|
-
filterDropdownSearch: EventEmitter<string>;
|
|
54
|
-
constructor(breakpointObserverService: BreakpointObserverService, changeDetectorReference: ChangeDetectorRef);
|
|
55
|
-
/**
|
|
56
|
-
* OnFilterSelected receives the selected filter from chip component, emits the selected filter and toggle the isFilterByOptionsVisible state.
|
|
57
|
-
* @param {ChipOption} type
|
|
58
|
-
* @memberof FilterComponent
|
|
59
|
-
*/
|
|
60
|
-
onFilterSelected(type: ChipOption): void;
|
|
61
|
-
/**
|
|
62
|
-
* OnRemovalOfFilteredOption method receives removed chip from chip component and emits the event with removed chip.
|
|
63
|
-
* @param {ChipOption} option
|
|
64
|
-
* @memberof FilterComponent
|
|
65
|
-
*/
|
|
66
|
-
onRemovalOfFilteredOption(option: ChipOption): void;
|
|
67
|
-
getListOfSelectedCheckboxes(): FiltersAndOptions[];
|
|
68
|
-
/**
|
|
69
|
-
* OnFilterApply toggles the isFilterByOptionsVisible state, emits the selected filter options and toggles the filter stateO
|
|
70
|
-
* @memberof FilterComponent
|
|
71
|
-
*/
|
|
72
|
-
onFilterApply(): void;
|
|
73
|
-
/**
|
|
74
|
-
* SelectedFilterOptions method is called for every selection and deselection of filter option and stores the selected filter options.
|
|
75
|
-
* @param {FiltersAndOptions[]} values
|
|
76
|
-
* @memberof FilterComponent
|
|
77
|
-
*/
|
|
78
|
-
selectedFilterOptionsInfo(values: CheckboxOption[]): void;
|
|
79
|
-
/**
|
|
80
|
-
* OnFilterByIconClick method toggles the isFilterActive value.
|
|
81
|
-
* @memberof FilterComponent
|
|
82
|
-
*/
|
|
83
|
-
onFilterByIconClick(): void;
|
|
84
|
-
/**
|
|
85
|
-
* NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
|
|
86
|
-
* @memberof FilterComponent
|
|
87
|
-
*/
|
|
88
|
-
ngOnDestroy(): void;
|
|
89
|
-
/**
|
|
90
|
-
* OnDropdownSelectionChange() is called for every drop down selection changes and sets selectedFilterOptionsList.
|
|
91
|
-
* @memberof FilterComponent
|
|
92
|
-
*/
|
|
93
|
-
onDropdownSelectionChange(option: SelectOption): void;
|
|
94
|
-
/**
|
|
95
|
-
* SetFilterSelectionOnOptionChange() called on every selection and deselection of filter option and sets canShowSelection flag to show or hide the tick mark of selected filter option.
|
|
96
|
-
* @memberof FilterComponent
|
|
97
|
-
*/
|
|
98
|
-
setFilterSelectionOnOptionChange(): void;
|
|
99
|
-
/**
|
|
100
|
-
* Emits the filterDropdownSearch event with the searched text value.
|
|
101
|
-
* @param {string} searchText
|
|
102
|
-
* @memberof FilterComponent
|
|
103
|
-
*/
|
|
104
|
-
onDropdownSearch(searchText: string): void;
|
|
105
|
-
/**
|
|
106
|
-
* Emits filterDropdownSearch event to reset the dropdown options to default when the dropdown is closed and sets search term empty.
|
|
107
|
-
* @param {SelectOpenedState} event
|
|
108
|
-
* @memberof FilterComponent
|
|
109
|
-
*/
|
|
110
|
-
onDropdownOpenedChange(event: SelectOpenedState): void;
|
|
111
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "ieeesa-filter", never, { "filterOptionType": { "alias": "filterOptionType"; "required": false; }; "appliedFilterOptions": { "alias": "appliedFilterOptions"; "required": false; }; "filterButton": { "alias": "filterButton"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "canShowSelection": { "alias": "canShowSelection"; "required": false; }; "selectedFilterOptions": { "alias": "selectedFilterOptions"; "required": false; }; }, { "selectedFilter": "selectedFilter"; "filteredOptions": "filteredOptions"; "removeFilteredOption": "removeFilteredOption"; "filterDropdownSearch": "filterDropdownSearch"; }, never, never, true, never>;
|
|
113
|
-
}
|