@elderbyte/ngx-starter 14.4.0-beta.12 → 14.4.0-beta.13
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/multi/elder-multi-select-chips/elder-multi-select-chips.component.mjs +1 -1
- package/esm2020/lib/components/select/single/elder-select/elder-select.component.mjs +5 -18
- package/fesm2015/elderbyte-ngx-starter.mjs +5 -18
- package/fesm2015/elderbyte-ngx-starter.mjs.map +1 -1
- package/fesm2020/elderbyte-ngx-starter.mjs +5 -18
- package/fesm2020/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/components/select/single/elder-select/elder-select.component.d.ts +3 -7
- package/package.json +1 -1
|
@@ -3,16 +3,15 @@ import { IDataContext } from '../../../../common/data/data-context/data-context'
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
5
|
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
6
|
-
import { ElderSelectBase
|
|
6
|
+
import { ElderSelectBase } from '../../elder-select-base';
|
|
7
7
|
import { IElderEntityValueAccessor } from '../../../../common/forms/elder-entity-value-accessor';
|
|
8
8
|
import { NgControl } from '@angular/forms';
|
|
9
9
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
declare class EntityContext<T> {
|
|
12
12
|
readonly value: T;
|
|
13
|
-
readonly hintText: string;
|
|
14
13
|
readonly displayText: string;
|
|
15
|
-
constructor(value: T,
|
|
14
|
+
constructor(value: T, displayText: string);
|
|
16
15
|
}
|
|
17
16
|
/**
|
|
18
17
|
* The elder-select control allows to select a single
|
|
@@ -32,7 +31,6 @@ export declare class ElderSelectComponent<TEntity = any, TId = any, TValue = TEn
|
|
|
32
31
|
* *
|
|
33
32
|
**************************************************************************/
|
|
34
33
|
private readonly logger;
|
|
35
|
-
private readonly hintPropertyResolver$;
|
|
36
34
|
private _allowNull;
|
|
37
35
|
inputRef: ElementRef<HTMLInputElement>;
|
|
38
36
|
/**
|
|
@@ -103,8 +101,6 @@ export declare class ElderSelectComponent<TEntity = any, TId = any, TValue = TEn
|
|
|
103
101
|
get entity$(): Observable<TEntity>;
|
|
104
102
|
set entityId(id: TId);
|
|
105
103
|
get entityId(): TId;
|
|
106
|
-
set hintProperty(property: string);
|
|
107
|
-
set hintPropertyResolver(resolver: TextResolverFn);
|
|
108
104
|
/***************************************************************************
|
|
109
105
|
* *
|
|
110
106
|
* Public API *
|
|
@@ -152,6 +148,6 @@ export declare class ElderSelectComponent<TEntity = any, TId = any, TValue = TEn
|
|
|
152
148
|
*/
|
|
153
149
|
protected writeToControl(value: TValue): void;
|
|
154
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderSelectComponent<any, any, any>, [null, null, null, { optional: true; self: true; }]>;
|
|
155
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderSelectComponent<any, any, any>, "elder-select", never, { "nullDisplay": "nullDisplay"; "autocomplete": "autocomplete"; "allowNull": "allowNull"; "entity": "entity"; "entityId": "entityId";
|
|
151
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderSelectComponent<any, any, any>, "elder-select", never, { "nullDisplay": "nullDisplay"; "autocomplete": "autocomplete"; "allowNull": "allowNull"; "entity": "entity"; "entityId": "entityId"; }, { "entityIdChange": "entityIdChange"; "entityIdUpdated": "entityIdUpdated"; "entityChange": "entityChange"; "entityUpdated": "entityUpdated"; }, never, never, false>;
|
|
156
152
|
}
|
|
157
153
|
export {};
|