@elderbyte/ngx-starter 13.9.0 → 13.9.1

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,4 +1,4 @@
1
- import { NgZone, OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
2
2
  import { IDataContext } from '../../../common/data/data-context/data-context';
3
3
  import { Observable } from 'rxjs';
4
4
  import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
@@ -30,6 +30,7 @@ export declare class ElderSelectComponent<TEntity = any, TId = any, TValue = TEn
30
30
  private readonly logger;
31
31
  private readonly hintPropertyResolver$;
32
32
  private _allowNull;
33
+ inputRef: ElementRef<HTMLInputElement>;
33
34
  /**
34
35
  * String to display for the 'nothing' / null value.
35
36
  */
@@ -107,6 +108,8 @@ export declare class ElderSelectComponent<TEntity = any, TId = any, TValue = TEn
107
108
  clear(event: Event): void;
108
109
  forceReloadFirst(): void;
109
110
  updateValueByEntity(entity: TEntity): void;
111
+ focus(options?: FocusOptions): void;
112
+ blur(): void;
110
113
  /***************************************************************************
111
114
  * *
112
115
  * Abstract Implementation *
@@ -122,6 +122,8 @@ export declare abstract class ElderSelectBase<TId, TEntity, TValue> extends Form
122
122
  * Occurs when the suggestions data-context has changed
123
123
  */
124
124
  protected abstract onSuggestionsDcChanged(data: IDataContext<TEntity>): void;
125
+ abstract focus(options?: FocusOptions): void;
126
+ abstract blur(): void;
125
127
  /***************************************************************************
126
128
  * *
127
129
  * Internal API *
@@ -55,6 +55,8 @@ export declare class ElderMultiSelectChipsComponent<TId = any, TEntity = any, TV
55
55
  * *
56
56
  **************************************************************************/
57
57
  onOptionSelected(selectedValue: TEntity): void;
58
+ focus(options?: FocusOptions): void;
59
+ blur(): void;
58
60
  /***************************************************************************
59
61
  * *
60
62
  * Private methods *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "13.9.0",
3
+ "version": "13.9.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.0.0",
6
6
  "@angular/core": "^13.0.0",