@coolon/angular-ui-powerups 14.5.0 → 14.5.2

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.
@@ -1,6 +1,7 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
1
+ import { AfterViewInit, OnInit, TemplateRef } from "@angular/core";
2
2
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
3
- import { ListModel, ListModelChain, MutableValueModel, Predicate } from '@coolon/pectin';
3
+ import { MatInput } from "@angular/material/input";
4
+ import { ListModel, ListModelChain, MutableValueModel, Predicate } from "@coolon/pectin";
4
5
  import { AbstractValueInputComponent } from '../abstract-value-input.component';
5
6
  import * as i0 from "@angular/core";
6
7
  /**
@@ -9,21 +10,24 @@ import * as i0 from "@angular/core";
9
10
  * <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
10
11
  * </aup-autocomplete-input>
11
12
  */
12
- export declare class AutocompleteInputComponent<T = any> extends AbstractValueInputComponent<T> implements OnInit {
13
+ export declare class AutocompleteInputComponent<T = any> extends AbstractValueInputComponent<T> implements OnInit, AfterViewInit {
13
14
  rawTextContent$: MutableValueModel<string>;
14
15
  optionsModel: ListModel<T>;
15
16
  options: T[];
16
17
  optionLabel: keyof T;
17
18
  allowNil: boolean;
18
19
  autoFilter: boolean;
20
+ matInputComponent: MatInput;
19
21
  optionTemplateRef: TemplateRef<any>;
20
22
  nilOptionTemplateRef: TemplateRef<any>;
23
+ private readonly inSearchUpdate$;
21
24
  private filterValue;
22
25
  readonly filteredOptions: ListModelChain<T>;
23
26
  optionLabelFormat: (option: T) => any;
24
27
  filterFactory: (filterText: string) => Predicate<T>;
25
28
  constructor();
26
29
  ngOnInit(): void;
30
+ ngAfterViewInit(): void;
27
31
  formatOption(option: T): any;
28
32
  updateFilter($event: string): void;
29
33
  onSelect($event: MatAutocompleteSelectedEvent): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "14.5.0",
3
+ "version": "14.5.2",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^14.1.2",