@dereekb/dbx-form 9.18.5 → 9.18.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.
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.directive.mjs +12 -1
- package/esm2020/lib/formly/field/selection/searchable/searchable.text.field.component.mjs +3 -3
- package/fesm2015/dereekb-dbx-form.mjs +14 -2
- package/fesm2015/dereekb-dbx-form.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-form.mjs +13 -2
- package/fesm2020/dereekb-dbx-form.mjs.map +1 -1
- package/lib/formly/field/selection/searchable/searchable.field.directive.d.ts +13 -0
- package/mapbox/package.json +4 -4
- package/package.json +4 -4
|
@@ -61,6 +61,16 @@ export interface SearchableValueFieldsFieldProps<T, M = unknown, H extends Prima
|
|
|
61
61
|
* Whether or not to show "Clear" in the autcomplete list.
|
|
62
62
|
*/
|
|
63
63
|
showClearValue?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Label for the search input.
|
|
66
|
+
*
|
|
67
|
+
* Defaults to "Search"
|
|
68
|
+
*/
|
|
69
|
+
searchLabel?: string;
|
|
70
|
+
/**
|
|
71
|
+
* (Optional) observable that will trigger the clearing of all cached display values.
|
|
72
|
+
*/
|
|
73
|
+
refreshDisplayValues$?: Observable<unknown>;
|
|
64
74
|
}
|
|
65
75
|
/**
|
|
66
76
|
* Abstract searchable field that provides a feature for searching for values, and for displaying values using Observables.
|
|
@@ -81,6 +91,7 @@ export declare abstract class AbstractDbxSearchableValueFieldDirective<T, M = un
|
|
|
81
91
|
readonly inputCtrl: FormControl<string | null>;
|
|
82
92
|
private _formControlObs;
|
|
83
93
|
readonly formControl$: Observable<AbstractControl<any, any>>;
|
|
94
|
+
private _clearDisplayHashMapSub;
|
|
84
95
|
private _displayHashMap;
|
|
85
96
|
readonly inputValue$: Observable<string>;
|
|
86
97
|
readonly inputValueString$: Observable<string>;
|
|
@@ -108,6 +119,8 @@ export declare abstract class AbstractDbxSearchableValueFieldDirective<T, M = un
|
|
|
108
119
|
get allowStringValues(): boolean;
|
|
109
120
|
get convertStringValue(): Maybe<(text: string) => T>;
|
|
110
121
|
get showClearValue(): boolean;
|
|
122
|
+
get searchLabel(): string;
|
|
123
|
+
get refreshDisplayValues$(): Observable<unknown> | undefined;
|
|
111
124
|
loadDisplayValuesForValues(values: T[]): Observable<LoadingState<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>>;
|
|
112
125
|
loadDisplayValuesForFieldValues(values: SearchableValueFieldValue<T, M>[]): Observable<LoadingState<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>>;
|
|
113
126
|
getDisplayValuesForFieldValues(values: SearchableValueFieldValue<T, M>[]): Observable<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>;
|
package/mapbox/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-form/mapbox",
|
|
3
|
-
"version": "9.18.
|
|
3
|
+
"version": "9.18.6",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.1.0",
|
|
6
6
|
"@angular/core": "^14.1.0",
|
|
7
7
|
"@angular/forms": "^14.2.0",
|
|
8
|
-
"@dereekb/dbx-web": "9.18.
|
|
8
|
+
"@dereekb/dbx-web": "9.18.6",
|
|
9
9
|
"@ngx-formly/core": "^6.0.0",
|
|
10
10
|
"@ngx-formly/material": "^6.0.0",
|
|
11
11
|
"@ng-web-apis/geolocation": "^2.0.0",
|
|
12
12
|
"mapbox-gl": "^2.9.2",
|
|
13
|
-
"@dereekb/dbx-web/mapbox": "9.18.
|
|
14
|
-
"@dereekb/dbx-form": "9.18.
|
|
13
|
+
"@dereekb/dbx-web/mapbox": "9.18.6",
|
|
14
|
+
"@dereekb/dbx-form": "9.18.6"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"tslib": "^2.3.0"
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-form",
|
|
3
|
-
"version": "9.18.
|
|
3
|
+
"version": "9.18.6",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0",
|
|
7
7
|
"lodash.clonedeep": "^4.5.0",
|
|
8
|
-
"@dereekb/dbx-core": "9.18.
|
|
8
|
+
"@dereekb/dbx-core": "9.18.6",
|
|
9
9
|
"@angular/material": "^14.2.0",
|
|
10
|
-
"@dereekb/dbx-web": "9.18.
|
|
10
|
+
"@dereekb/dbx-web": "9.18.6",
|
|
11
11
|
"@angular/forms": "^14.2.0",
|
|
12
12
|
"@ngx-formly/core": "^6.0.0",
|
|
13
13
|
"@ngx-formly/material": "^6.0.0",
|
|
14
14
|
"change-case": "^4.1.2",
|
|
15
15
|
"ngx-editor": "^15.0.0",
|
|
16
16
|
"ngx-mat-intl-tel-input": "^5.0.0",
|
|
17
|
-
"@dereekb/model": "9.18.
|
|
17
|
+
"@dereekb/model": "9.18.6"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.3.0"
|