@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.
- package/esm2020/lib/components/select/elder-select/elder-select.component.mjs +14 -5
- package/esm2020/lib/components/select/elder-select-base.mjs +1 -1
- package/esm2020/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.mjs +7 -1
- package/fesm2015/elderbyte-ngx-starter.mjs +22 -3
- package/fesm2015/elderbyte-ngx-starter.mjs.map +1 -1
- package/fesm2020/elderbyte-ngx-starter.mjs +18 -3
- package/fesm2020/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/components/select/elder-select/elder-select.component.d.ts +4 -1
- package/lib/components/select/elder-select-base.d.ts +2 -0
- package/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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 *
|
package/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.d.ts
CHANGED
|
@@ -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 *
|