@ieeesa-npm/presentation 0.22.4 → 0.22.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.
Files changed (49) hide show
  1. package/esm2022/lib/assets/constants.json +4 -1
  2. package/esm2022/lib/components/accordion/accordion.component.mjs +3 -3
  3. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +3 -3
  4. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +3 -3
  5. package/esm2022/lib/components/card/card.component.mjs +3 -3
  6. package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -3
  7. package/esm2022/lib/components/chips/chips.component.mjs +3 -3
  8. package/esm2022/lib/components/data-table/data-table.component.mjs +3 -3
  9. package/esm2022/lib/components/date-picker/date-picker.component.mjs +3 -3
  10. package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +3 -3
  11. package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +3 -3
  12. package/esm2022/lib/components/file-upload/file-upload.component.mjs +3 -3
  13. package/esm2022/lib/components/filter/filter.component.mjs +21 -5
  14. package/esm2022/lib/components/footer/footer.component.mjs +3 -3
  15. package/esm2022/lib/components/form-error/form-error.component.mjs +3 -3
  16. package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +3 -3
  17. package/esm2022/lib/components/header/header.component.mjs +3 -3
  18. package/esm2022/lib/components/icon-button/icon-button.component.mjs +3 -3
  19. package/esm2022/lib/components/image-preview/image-preview.component.mjs +3 -3
  20. package/esm2022/lib/components/inactive-tenant/inactive-tenant.component.mjs +3 -3
  21. package/esm2022/lib/components/input/input.component.mjs +3 -3
  22. package/esm2022/lib/components/list/list.component.mjs +3 -3
  23. package/esm2022/lib/components/loader/loader.component.mjs +3 -3
  24. package/esm2022/lib/components/menu/menu.component.mjs +3 -3
  25. package/esm2022/lib/components/modal/modal.component.mjs +3 -3
  26. package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +3 -3
  27. package/esm2022/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.mjs +7 -3
  28. package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +3 -3
  29. package/esm2022/lib/components/notification/notification.component.mjs +3 -3
  30. package/esm2022/lib/components/radio/radio.component.mjs +3 -3
  31. package/esm2022/lib/components/rich-text-editor/rich-text-editor.component.mjs +3 -3
  32. package/esm2022/lib/components/search/search.component.mjs +3 -3
  33. package/esm2022/lib/components/select/select.component.mjs +3 -3
  34. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +3 -3
  35. package/esm2022/lib/components/tabs/tabs.component.mjs +3 -3
  36. package/esm2022/lib/components/text-area/text-area.component.mjs +3 -3
  37. package/esm2022/lib/components/tile/tile.component.mjs +3 -3
  38. package/esm2022/lib/components/time-picker/time-picker.component.mjs +3 -3
  39. package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  40. package/esm2022/lib/components/welcome/welcome.component.mjs +3 -3
  41. package/fesm2022/ieeesa-npm-presentation.mjs +101 -80
  42. package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
  43. package/lib/components/chips/chips.component.d.ts +10 -1
  44. package/lib/components/file-upload/file-upload.component.d.ts +3 -0
  45. package/lib/components/filter/filter.component.d.ts +9 -0
  46. package/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.d.ts +1 -0
  47. package/lib/services/file-upload.service.d.ts +9 -6
  48. package/package.json +1 -1
  49. package/src/lib/assets/constants.json +4 -1
@@ -121,6 +121,9 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
121
121
  debounceTime: number;
122
122
  };
123
123
  multiSelectAutoComplete: {
124
+ label: {
125
+ clearAll: string;
126
+ };
124
127
  ariaLabel: {
125
128
  selectedOption: string;
126
129
  removeOption: string;
@@ -152,7 +155,13 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
152
155
  iconURL: string;
153
156
  label: string;
154
157
  ariaLabel: string;
155
- toolTip: string;
158
+ toolTip: string; /**
159
+ * Allows Angular to detect the specific chip option that needs to change or be added by tracking option unique Id.
160
+ * @param {number} index
161
+ * @param {ChipOption} option
162
+ * @return {*} {(number | string)}
163
+ * @memberof ChipComponent
164
+ */
156
165
  isToolTipNeeded: boolean;
157
166
  }[];
158
167
  errors: {
@@ -118,6 +118,9 @@ export declare class FileUploadComponent implements OnInit {
118
118
  debounceTime: number;
119
119
  };
120
120
  multiSelectAutoComplete: {
121
+ label: {
122
+ clearAll: string;
123
+ };
121
124
  ariaLabel: {
122
125
  selectedOption: string;
123
126
  removeOption: string;
@@ -6,6 +6,8 @@ import { IconButton } from '../../models/icon-button.model';
6
6
  import { ChipOption, FilterOptionType } from '../../models/chip-option.model';
7
7
  import { FiltersAndOptions } from '../../models/filters-options.model';
8
8
  import { SelectOption } from '../../models/select-option.model';
9
+ import { SelectComponent } from '../../components/select/select.component';
10
+ import { SelectOpenedState } from '../../models/select-opened-state.model';
9
11
  import * as i0 from "@angular/core";
10
12
  /**
11
13
  * Provides an implementation for group of filter.
@@ -29,6 +31,7 @@ export declare class FilterComponent implements OnDestroy {
29
31
  filtersAndOptions: Map<string | number, CheckboxOption[]>;
30
32
  destroy$: Subject<boolean>;
31
33
  recreateCheckboxOptionsControl: CheckboxOption[];
34
+ selectComponent: SelectComponent;
32
35
  private filteredTypeOptionsInfo;
33
36
  private selectedFilterOptionType;
34
37
  set filterOptionType(optionType: FilterOptionType);
@@ -100,6 +103,12 @@ export declare class FilterComponent implements OnDestroy {
100
103
  * @memberof FilterComponent
101
104
  */
102
105
  onDropdownSearch(searchText: string): void;
106
+ /**
107
+ * Emits filterDropdownSearch event to reset the dropdown options to default when the dropdown is closed and sets search term empty.
108
+ * @param {SelectOpenedState} event
109
+ * @memberof FilterComponent
110
+ */
111
+ onDropdownOpenedChange(event: SelectOpenedState): void;
103
112
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
104
113
  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>;
105
114
  }
@@ -45,6 +45,7 @@ export declare class MultiSelectAutocompleteComponent implements OnInit, FormFie
45
45
  autocompleteConstInfo: any;
46
46
  removeIconURL: any;
47
47
  clearAllIconURL: any;
48
+ clearAll: any;
48
49
  constructor(formUtilityService: FormUtilityService);
49
50
  /**
50
51
  * Implementation of ngOnInit lifecycle hook method to initialize components instance properties.
@@ -117,6 +117,9 @@ export declare class FileUploadService implements OnDestroy {
117
117
  debounceTime: number;
118
118
  };
119
119
  multiSelectAutoComplete: {
120
+ label: {
121
+ clearAll: string;
122
+ };
120
123
  ariaLabel: {
121
124
  selectedOption: string;
122
125
  removeOption: string;
@@ -181,11 +184,6 @@ export declare class FileUploadService implements OnDestroy {
181
184
  }[];
182
185
  };
183
186
  breadcrumb: {
184
- /**
185
- * Returns file upload status.
186
- * @return {boolean}
187
- * @memberof FileUploadService
188
- */
189
187
  label: {
190
188
  initial: string;
191
189
  };
@@ -194,7 +192,12 @@ export declare class FileUploadService implements OnDestroy {
194
192
  ariaLabel: {
195
193
  spinner: string;
196
194
  };
197
- };
195
+ }; /**
196
+ * Retrieves presigned URL for downloading files to Amazon S3 bucket.
197
+ * @param {(File | FileList)} file
198
+ * @return {Observable<string>}
199
+ * @memberof FileUploadService
200
+ */
198
201
  defaultWelcomeBgColor: string;
199
202
  timePicker: {
200
203
  defaultTimeFormat: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.22.4",
3
+ "version": "0.22.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -142,13 +142,16 @@
142
142
  "debounceTime": 1000
143
143
  },
144
144
  "multiSelectAutoComplete": {
145
+ "label": {
146
+ "clearAll": "Clear all"
147
+ },
145
148
  "ariaLabel": {
146
149
  "selectedOption": "Selected option",
147
150
  "removeOption": "Remove"
148
151
  },
149
152
  "icons": {
150
153
  "remove": "assets/images/sprites/sprites.svg#icon-trailing",
151
- "clearAll": "assets/images/sprites/sprites.svg#icon-cancel_24px"
154
+ "clearAll": "assets/images/sprites/sprites.svg#icon-clear-all"
152
155
  }
153
156
  },
154
157
  "header": {