@ieeesa-npm/presentation 0.22.5 → 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 (43) hide show
  1. package/esm2022/lib/components/accordion/accordion.component.mjs +3 -3
  2. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +3 -3
  3. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +3 -3
  4. package/esm2022/lib/components/card/card.component.mjs +3 -3
  5. package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -3
  6. package/esm2022/lib/components/chips/chips.component.mjs +3 -3
  7. package/esm2022/lib/components/data-table/data-table.component.mjs +3 -3
  8. package/esm2022/lib/components/date-picker/date-picker.component.mjs +3 -3
  9. package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +3 -3
  10. package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +3 -3
  11. package/esm2022/lib/components/file-upload/file-upload.component.mjs +3 -3
  12. package/esm2022/lib/components/filter/filter.component.mjs +21 -5
  13. package/esm2022/lib/components/footer/footer.component.mjs +3 -3
  14. package/esm2022/lib/components/form-error/form-error.component.mjs +3 -3
  15. package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +3 -3
  16. package/esm2022/lib/components/header/header.component.mjs +3 -3
  17. package/esm2022/lib/components/icon-button/icon-button.component.mjs +3 -3
  18. package/esm2022/lib/components/image-preview/image-preview.component.mjs +3 -3
  19. package/esm2022/lib/components/inactive-tenant/inactive-tenant.component.mjs +3 -3
  20. package/esm2022/lib/components/input/input.component.mjs +3 -3
  21. package/esm2022/lib/components/list/list.component.mjs +3 -3
  22. package/esm2022/lib/components/loader/loader.component.mjs +3 -3
  23. package/esm2022/lib/components/menu/menu.component.mjs +3 -3
  24. package/esm2022/lib/components/modal/modal.component.mjs +3 -3
  25. package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +3 -3
  26. package/esm2022/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.mjs +3 -3
  27. package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +3 -3
  28. package/esm2022/lib/components/notification/notification.component.mjs +3 -3
  29. package/esm2022/lib/components/radio/radio.component.mjs +3 -3
  30. package/esm2022/lib/components/rich-text-editor/rich-text-editor.component.mjs +3 -3
  31. package/esm2022/lib/components/search/search.component.mjs +3 -3
  32. package/esm2022/lib/components/select/select.component.mjs +3 -3
  33. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +3 -3
  34. package/esm2022/lib/components/tabs/tabs.component.mjs +3 -3
  35. package/esm2022/lib/components/text-area/text-area.component.mjs +3 -3
  36. package/esm2022/lib/components/tile/tile.component.mjs +3 -3
  37. package/esm2022/lib/components/time-picker/time-picker.component.mjs +3 -3
  38. package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  39. package/esm2022/lib/components/welcome/welcome.component.mjs +3 -3
  40. package/fesm2022/ieeesa-npm-presentation.mjs +95 -79
  41. package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
  42. package/lib/components/filter/filter.component.d.ts +9 -0
  43. package/package.json +1 -1
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.22.5",
3
+ "version": "0.22.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",